REQ_LINE_SH_VWO

(SQL View)
Index Back

Req Shipping View


SELECT S.BUSINESS_UNIT , S.REQ_ID , S.LINE_NBR , S.SCHED_NBR , SUM(D.QTY_OPEN) , SUM(D.AMT_OPEN) , SUM(D.QTY_OPEN_STD) FROM PS_REQ_LINE_SHIP S , PS_REQ_LN_DISTRIB D WHERE S.BUSINESS_UNIT = D.BUSINESS_UNIT AND S.REQ_ID = D.REQ_ID AND S.LINE_NBR = D.LINE_NBR AND S.SCHED_NBR = D.SCHED_NBR AND D.KK_CLOSE_FLAG <> 'Y' AND (D.QTY_OPEN <> 0 OR D.AMT_OPEN <> 0) GROUP BY S.BUSINESS_UNIT, S.REQ_ID, S.LINE_NBR, S.SCHED_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID

Default Value: NEXT

3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]

Default Value: 1

4 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number

Default Value: 1

5 QTY_OPEN Number(16,4) DECIMAL(15,4) NOT NULL Open Quantity
6 AMT_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Open Amount
7 QTY_OPEN_STD Number(16,4) DECIMAL(15,4) NOT NULL Quantity Open Standard UOM