IN_WO_PO_VW

(SQL View)
Index Back

Inventory scheduled resources


SELECT B.BUSINESS_UNIT , B.WO_ID , B.WO_TASK_ID , B.RES_LN_NBR , B.INV_ITEM_ID , B.DESCR254_MIXED , C.CATEGORY_CD FROM PS_WM_WO_SCHED_PO B , PS_ITM_CAT_TBL C , PS_SET_CNTRL_REC D WHERE PEG_STATUS < '40' AND B.CATEGORY_ID = C.CATEGORY_ID AND C.SETID = D.SETID AND D.SETCNTRLVALUE = B.BUSINESS_UNIT AND D.RECNAME = 'ITM_CAT_TBL' AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ITM_CAT_TBL C1 WHERE C.SETID = C1.SETID AND C.CATEGORY_TYPE = C1.CATEGORY_TYPE AND C.CATEGORY_CD = C1.CATEGORY_CD AND C.CATEGORY_ID = C1.CATEGORY_ID AND C1.EFFDT <= %CurrentDateIn )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_WO Character(5) VARCHAR2(5) NOT NULL Business Unit Work Order
2 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
3 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
4 RES_LN_NBR Number(5,0) INTEGER NOT NULL Resource Line No.
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
7 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code