LM_CI_CTG_09LVW(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 , L.LM_CATG_ID , L.LM_CATG_ID_1 , L.LM_CATG_ID_2 , L.LM_CATG_ID_3 , L.LM_CATG_ID_4 , L.LM_CATG_ID_5 , L.LM_CATG_ID_6 , L.LM_CATG_ID_7 , L.LM_CATG_ID_8 , L.LM_CATG_ID_9 , RLANG.LANGUAGE_CD , L.LM_CATG_NAME_LVL0 , L.LM_CATG_NAME_LVL1 , L.LM_CATG_NAME_LVL2 , L.LM_CATG_NAME_LVL3 , L.LM_CATG_NAME_LVL4 , L.LM_CATG_NAME_LVL5 , L.LM_CATG_NAME_LVL6 , L.LM_CATG_NAME_LVL7 , L.LM_CATG_NAME_LVL8 , L.LM_CATG_NAME_LVL9 %Sql(LM_CI_CATG_LVL_RLNG_SQL,LM_CATG_ID_9,PS_LM_CI_TBL,PS_LM_CATG_CI_TBL,LM_CI_ID,LM_CI_STATUS) UNION SELECT T.LM_CI_ID , L.LM_CATG_ID , L.LM_CATG_ID_1 , L.LM_CATG_ID_2 , L.LM_CATG_ID_3 , L.LM_CATG_ID_4 , L.LM_CATG_ID_5 , L.LM_CATG_ID_6 , L.LM_CATG_ID_7 , L.LM_CATG_ID_8 , L.LM_CATG_ID_9 , RLANG.LANGUAGE_CD , L.LM_CATG_NAME_LVL0 , L.LM_CATG_NAME_LVL1 , L.LM_CATG_NAME_LVL2 , L.LM_CATG_NAME_LVL3 , L.LM_CATG_NAME_LVL4 , L.LM_CATG_NAME_LVL5 , L.LM_CATG_NAME_LVL6 , L.LM_CATG_NAME_LVL7 , L.LM_CATG_NAME_LVL8 , L.LM_CATG_NAME_LVL9 %Sql(LM_CI_CATG_LVL_RLNG_FL_SQL,LM_CATG_ID_9,PS_LM_CI_TBL,PS_LM_CATG_CI_TBL,LM_CI_ID,LM_CI_STATUS) |
# | 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_ID_1 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
4 | LM_CATG_ID_2 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
5 | LM_CATG_ID_3 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
6 | LM_CATG_ID_4 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
7 | LM_CATG_ID_5 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
8 | LM_CATG_ID_6 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
9 | LM_CATG_ID_7 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
10 | LM_CATG_ID_8 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
11 | LM_CATG_ID_9 | Number(10,0) | DECIMAL(10) NOT NULL | Category ID |
12 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
13 | LM_CATG_NAME_LVL0 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
14 | LM_CATG_NAME_LVL1 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
15 | LM_CATG_NAME_LVL2 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
16 | LM_CATG_NAME_LVL3 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
17 | LM_CATG_NAME_LVL4 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
18 | LM_CATG_NAME_LVL5 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
19 | LM_CATG_NAME_LVL6 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
20 | LM_CATG_NAME_LVL7 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
21 | LM_CATG_NAME_LVL8 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |
22 | LM_CATG_NAME_LVL9 | Character(200) | VARCHAR2(200) NOT NULL | Category Name |