PV_ITM_CAT3_VW(SQL View) |
Index Back |
---|---|
Category Codes |
SELECT A.SETID ,A.CATEGORY_ID ,A.CATEGORY_CD FROM PS_ITM_CAT_TBL A , PS_INSTALLATION_PO P WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ITM_CAT_TBL A1 WHERE A1.SETID = A.SETID AND A1.CATEGORY_TYPE = A.CATEGORY_TYPE AND A1.CATEGORY_ID = A.CATEGORY_ID AND A1.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.CATEGORY_TYPE = P.CATEGORY_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
2 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
3 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |