LM_CI_CTG_0X_VW(SQL View) |
Index Back |
---|---|
Categories for Catalog ItemThis view will join each catalog item that has categories. For each category, it will build a row where the category exists. |
SELECT T.LM_CI_ID , 0 , MSG.MESSAGE_TEXT FROM PS_LM_CI_TBL T , PS_INSTALLATION %Sql(LM_CATG_MSG_TEXT_SQL) WHERE %CurrentDateIn BETWEEN T.EFFDT AND T.LM_END_EFFDT AND T.LM_CI_STATUS = '10' AND NOT EXISTS ( SELECT 'X' FROM PS_LM_CATG_CI_TBL CTGX WHERE CTGX.LM_CI_ID = T.LM_CI_ID AND CTGX.EFFDT = T.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_CI_ID | Number(10,0) | DECIMAL(10) NOT NULL | Catalog Item ID - System Generated ID Number associated with each Catalog Item |
2 | LM_CATG_ID | Number(10,0) | DECIMAL(10) NOT NULL | Category ID - System generated number used to uniquely identify a Category. |
3 | LM_CATG_NAME_LVL0 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |