IN_PO_PEGV_VW

(SQL View)
Index Back

IN Peg PO Search View

06/22/04 EGS: Created

SELECT D.BUSINESS_UNIT , D.PO_ID , D.LINE_NBR , D.SCHED_NBR , D.DISTRIB_LINE_NUM , D.BUSINESS_UNIT_IN , L.INV_ITEM_ID , D.QTY_PO_STD_EXP , D.PEG_STATUS FROM PS_PO_LINE_DISTRIB D , PS_PO_LINE L WHERE D.BUSINESS_UNIT = L.BUSINESS_UNIT AND D.PO_ID = L.PO_ID AND D.LINE_NBR = L.LINE_NBR AND D.DST_ACCT_TYPE = 'DST' AND D.DISTRIB_LN_STATUS = 'O'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
5 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
6 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 QTY_ORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/21/04 EGS: Created
9 PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Not Pegged