PV_OS_ITM_VW

(SQL View)
Index Back

Supplier Item (Itm_SetID) View

This view is to populate Item description from related language table.

SELECT B.SETID , B.INV_ITEM_ID , B.DESCR , D.CATEGORY_ID , D.UNIT_MEASURE_STD 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 D.ITM_STATUS_CURRENT = '1' AND B.SUBITEM_ONLY <> 'Y' 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
4 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
5 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure