LM_NEST_PRG_VW

(SQL View)
Index Back

Nested Program View

Nested Program View

SELECT DISTINCT C.OPRID , E.LM_PRG_ID , E.EFFDT , CASE WHEN E.LM_PRG_STATUS = '10' THEN 'A' ELSE 'I' END , E.LM_PRG_CD , E.LM_PRG_SHORT_NM , E.LM_PRG_LONG_NM FROM PS_LM_PRG E , PS_LM_OPRID_LE_VW C , PS_LM_PRG_LE D WHERE NOT EXISTS ( SELECT 1 FROM PS_LM_PRG A , PS_LM_PRG_ITEM B WHERE E.LM_PRG_ID = A.LM_PRG_ID AND E.EFFDT = A.EFFDT AND A.LM_PRG_ID = B.LM_PRG_ID AND A.EFFDT = B.EFFDT AND B.LM_OBJ_TYPE = '30') AND C.LM_LE_ID = D.LM_LE_ID AND E.LM_PRG_ID = D.LM_PRG_ID AND E.EFFDT = D.EFFDT

  • Related Language Record: LM_NEST_PRG_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 LM_PRG_ID Number(10,0) DECIMAL(10) NOT NULL Program ID is a unique identifier for curriculum and certification Programs.
    3 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    5 LM_PRG_CD Character(30) VARCHAR2(30) NOT NULL Program Code is a user defined field. This field allows duplicates and is not part of the primary key structure.
    6 LM_PRG_SHORT_NM Character(10) VARCHAR2(10) NOT NULL Program Short Name
    7 LM_PRG_LONG_NM Character(200) VARCHAR2(200) NOT NULL Program Long Name