ITEM_PROD_VW1(SQL View) |
Index Back |
---|
SELECT A.SETID , A.INV_ITEM_ID , A.DESCR , A.INV_ITEM_GROUP , A.INV_PROD_FAM_CD , A.CATEGORY_ID , B.PRODUCT_ID , B.DESCR , C.CATEGORY_CD FROM PS_MASTER_ITEM_TBL A , PS_PROD_ITEM B , PS_ITM_CAT_TBL C WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.SETID = C.SETID AND A.CATEGORY_ID = C.CATEGORY_ID AND C.EFFDT = ( SELECT MAX (CC.EFFDT) FROM PS_ITM_CAT_TBL CC WHERE CC.SETID = C.SETID AND CC.CATEGORY_TYPE = C.CATEGORY_TYPE AND CC.CATEGORY_CD = C.CATEGORY_CD AND CC.CATEGORY_ID = C.CATEGORY_ID AND CC.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | INV_ITEM_GROUP | Character(15) | VARCHAR2(15) NOT NULL | Item Group |
5 | INV_PROD_FAM_CD | Character(10) | VARCHAR2(10) NOT NULL | Family |
6 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
7 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
8 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |
9 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |