PV_ITM_TEMPL_VW

(SQL View)
Index Back

Item Template View


SELECT A.SETID , A.INV_ITEM_ID , REQ.BUSINESS_UNIT , REQ.REQ_ID , REQ.LINE_NBR , REQ.VENDOR_SETID , REQ.VENDOR_ID FROM PS_REQ_LINE REQ ,PS_MASTER_ITEM_TBL A , PS_PV_PERF_VNDR_VW B , PS_PURCH_ITEM_ATTR F WHERE REQ.INV_ITEM_ID = A.INV_ITEM_ID AND REQ.ITM_SETID = A.SETID AND REQ.INV_ITEM_ID = B.INV_ITEM_ID AND REQ.ITM_SETID = B.SETID AND REQ.VENDOR_SETID = B.VENDOR_SETID AND REQ.VENDOR_ID = B.VENDOR_ID AND A.SETID = F.SETID AND A.INV_ITEM_ID = F.INV_ITEM_ID AND ((%CurrentDateIn >= F.PO_AVAIL_DT) AND (F.PO_UNAVAIL_DT > %CurrentDateIn )) AND A.INV_ITEM_ID NOT IN( SELECT INV_ITEM_ID FROM PS_MASTER_ITEM_TBL WHERE A.ITM_STAT_DT_FUTURE <= %CurrentDateIn AND A.ITM_STATUS_FUTURE <> '1') AND A.ITM_STATUS_CURRENT = '1'

# 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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
5 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
6 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
7 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier