CAT_ITM_VW(SQL View) |
Index Back |
---|---|
Category Items Search |
SELECT A.VENDOR_SETID , A.VENDOR_ID , A.SETID , I.CATEGORY_TYPE , D.CATEGORY_ID , A.INV_ITEM_ID , B.DESCR FROM PS_ITM_VENDOR A , PS_PURCH_ITEM_ATTR B , PS_MASTER_ITEM_TBL D , PS_INV_ITEMS E , PS_ITM_CAT_TBL I , PS_INSTALLATION_PO P WHERE A.SETID = B.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.SETID = D.SETID AND A.INV_ITEM_ID = D.INV_ITEM_ID AND D.ITM_STATUS_CURRENT = '1' AND A.SETID = E.SETID AND A.INV_ITEM_ID = E.INV_ITEM_ID AND E.EFFDT = ( SELECT MAX(EFFDT) FROM PS_INV_ITEMS F WHERE F.SETID = B.SETID AND F.INV_ITEM_ID = B.INV_ITEM_ID AND EFFDT <= %CurrentDateIn) AND ((%CurrentDateIn >= B.PO_AVAIL_DT) AND (B.PO_UNAVAIL_DT > %CurrentDateIn)) AND A.SETID = I.SETID AND P.CATEGORY_TYPE = I.CATEGORY_TYPE AND D.CATEGORY_ID = I.CATEGORY_ID AND I.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ITM_CAT_TBL WHERE SETID = I.SETID AND CATEGORY_ID = I.CATEGORY_ID AND EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
4 | CATEGORY_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Category Type
PSF=User Def UNS=UN/SPSC Default Value: INSTALLATION_PO.CATEGORY_TYPE |
5 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
6 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |