PO_DISTRIB_STVW

(SQL View)
Index Back

Summed by schedule


SELECT PROCESS_INSTANCE, BUSINESS_UNIT, PO_STG_TYPE, PO_STG_ID, LINE_NBR, SCHED_NBR, SUM(QTY_PO), SUM(QTY_PO_STD), SUM(QTY_DEMAND) FROM PS_PO_DISTRIB_STG GROUP BY PROCESS_INSTANCE, BUSINESS_UNIT, PO_STG_TYPE, PO_STG_ID, LINE_NBR, SCHED_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PO_STG_TYPE Character(1) VARCHAR2(1) NOT NULL Used in conjunction with PO_STG_ID to make a unique key on the stage tables.
O=Other
R=Requisition
4 PO_STG_ID Character(10) VARCHAR2(10) NOT NULL Uniqye key to the PO Staging table
5 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
6 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
7 QTY_REQ Number(16,4) DECIMAL(15,4) NOT NULL Requisition Quantity
8 QTY_REQ_STD Number(16,4) DECIMAL(15,4) NOT NULL Quantity Requested Stand. UOM
9 QTY_DEMAND Number(16,4) DECIMAL(15,4) NOT NULL Qty Sourced from Demand