PV_OS_ITM_VW2(SQL View) |
Index Back |
---|---|
Supplier Item (Itm_SetID) ViewThis view is to populate Item description from related language table. |
SELECT B.SETID , B.INV_ITEM_ID , B.DESCR FROM PS_PURCH_ITEM_ATTR B , PS_MASTER_ITEM_TBL D , PS_INV_ITEMS E WHERE B.SETID = D.SETID AND B.INV_ITEM_ID = D.INV_ITEM_ID AND B.SETID = E.SETID AND B.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)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Item SetID
Default Value: OPR_DEF_TBL_FS.SETID |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | ITM_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Item Description |