LM_PG_CTG_0XLVW

(SQL View)
Index Back

Categories for Program Rel Lng

This view will join each program that has categories. For each category, it will build a row where the category exists.

SELECT T.LM_PRG_ID , 0 , MSGL.LANGUAGE_CD , MSGL.MESSAGE_TEXT FROM PS_LM_PRG T , PSMSGCATDEFN MSG , PSMSGCATLANG MSGL WHERE T.LM_PRG_STATUS = '10' AND %CurrentDateIn BETWEEN T.EFFDT AND T.LM_END_EFFDT AND NOT EXISTS ( SELECT 'X' FROM PS_LM_PRG_CATG CTGX WHERE CTGX.LM_PRG_ID = T.LM_PRG_ID AND CTGX.EFFDT = T.EFFDT) AND MSG.MESSAGE_SET_NBR = 18088 AND MSG.MESSAGE_NBR = 303 AND MSGL.MESSAGE_SET_NBR = MSG.MESSAGE_SET_NBR AND MSGL.MESSAGE_NBR = MSG.MESSAGE_NBR

  • Related Language Record for LM_PG_CTG_0X_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LM_PRG_ID Number(10,0) DECIMAL(10) NOT NULL Program ID is a unique identifier for curriculum and certification Programs.
    2 LM_CATG_ID Number(10,0) DECIMAL(10) NOT NULL Category ID - System generated number used to uniquely identify a Category.
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 LM_CATG_NAME_LVL0 Character(200) VARCHAR2(200) NOT NULL Category Name