PO_EXDT_PLGP_VW

(SQL View)
Index Back

Planned orders by group

cel 05/01/2002 Sum of planned orders by group code ...by DATE, that are within a capacity range .. used to be able to find the specific date that capacity exceeded. (used to populate po_cap_excd_tmp and then looped through).

SELECT DISTINCT A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.SETID , A.SCHED_GROUP_CD , D.DUE_DT , SUM(D.QTY_PO) FROM PS_ITM_VND_BU_ATTR A , PS_PO_BUY_PLAN_VW D WHERE D.VENDOR_SETID = A.VENDOR_SETID AND D.VENDOR_ID = A.VENDOR_ID AND D.VNDR_LOC = A.VNDR_LOC AND D.INV_ITEM_ID = A.INV_ITEM_ID AND D.ITM_SETID = A.SETID AND D.BUSINESS_UNIT_IN = A.BUSINESS_UNIT_IN GROUP BY A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.SETID ,A.SCHED_GROUP_CD , D.DUE_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
4 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
5 SCHED_GROUP_CD Character(6) VARCHAR2(6) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
6 DUE_DATE Date(10) DATE Delivery Due Date from PO
7 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity