IN_WSM_MPEG_VW

(SQL View)
Index Back

Pegging Table

06/16/04 EGS: Created.

SELECT C.HASH_KEY , C.BUSINESS_UNIT , C.WO_ID , C.WO_TASK_ID , C.RES_LN_NBR , MIN(B.PEG_STATUS) FROM PS_IN_PEGGING B , PS_WM_WO_MAT_HASH C WHERE B.DEMAND_HASH = C.HASH_KEY AND B.DMD_ORDER_TYPE = '110' GROUP BY C.HASH_KEY, C.BUSINESS_UNIT, C.WO_ID, C.WO_TASK_ID, C.RES_LN_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 HASH_KEY Character(28) VARCHAR2(28) NOT NULL 08/11/04 EGS: Created
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
4 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
5 RES_LN_NBR Number(5,0) INTEGER NOT NULL Resource Line No.
6 PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Not Pegged

Default Value: 10