IN_WO_PEG_VW

(SQL View)
Index Back

Work Order Peg Search View


SELECT MAT.BUSINESS_UNIT , MAT.WO_ID , MAT.WO_TASK_ID , MAT.RES_LN_NBR , MAT.INV_ITEM_ID , MAT.BUSINESS_UNIT_IN , SUM(PEG.QTY_PEGGED - PEG.QTY_COMPLETE) FROM PS_WM_WO_SCHED_MAT MAT , PS_IN_PEGGING PEG , PS_WM_WO_MAT_HASH HSH WHERE MAT.BUSINESS_UNIT = HSH.BUSINESS_UNIT AND MAT.WO_ID = HSH.WO_ID AND MAT.WO_TASK_ID = HSH.WO_TASK_ID AND MAT.RES_LN_NBR = HSH.RES_LN_NBR AND PEG.DEMAND_HASH = HSH.HASH_KEY AND PEG.DMD_ORDER_TYPE = '110' AND PEG.PEG_STATUS = '10' GROUP BY MAT.BUSINESS_UNIT, MAT.BUSINESS_UNIT_IN, MAT.WO_ID, MAT.WO_TASK_ID, MAT.RES_LN_NBR, MAT.INV_ITEM_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
2 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
3 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
4 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
7 QTY_PEGGED Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/16/04 EGS: Created.