REQ_DISTRIB_SUM

(SQL View)
Index Back

Sum of Open Qty/Amt for RFQ


SELECT BUSINESS_UNIT , REQ_ID , LINE_NBR , SCHED_NBR , SUM(QTY_OPEN) , SUM(AMT_OPEN) FROM PS_REQ_LN_DISTRIB WHERE KK_CLOSE_FLAG <> 'Y' AND (QTY_OPEN <> 0 OR AMT_OPEN <> 0) GROUP BY BUSINESS_UNIT , REQ_ID , LINE_NBR , 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
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 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