IN_PO_MPEG_VW

(SQL View)
Index Back

Pegging Table

06/16/04 EGS: Created.

SELECT C.HASH_KEY , C.BUSINESS_UNIT , C.PO_ID , C.LINE_NBR , C.SCHED_NBR , C.DISTRIB_LINE_NUM , MIN(B.PEG_STATUS) FROM PS_IN_PEGGING B , PS_PO_HASH C WHERE B.SUPPLY_HASH = C.HASH_KEY AND B.SUP_ORDER_TYPE = '010' GROUP BY C.HASH_KEY, C.BUSINESS_UNIT, C.PO_ID, C.LINE_NBR, C.SCHED_NBR, C.DISTRIB_LINE_NUM

# 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 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
4 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
5 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
6 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
7 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