PO_EXDT_CUR_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.ITM_SETID , A.INV_ITEM_ID , A.BUSINESS_UNIT_IN , A.SCHED_GROUP_CD , A.DUE_DT , SUM(A.COLLAB_TEMPQTY) FROM PS_PO_COLL_SCH_DET A WHERE A.COLLAB_SCH_STATUS = '20' GROUP BY A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.ITM_SETID ,A.INV_ITEM_ID, A.BUSINESS_UNIT_IN, A.SCHED_GROUP_CD , A.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 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
7 SCHED_GROUP_CD Character(6) VARCHAR2(6) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
8 DUE_DATE Date(10) DATE Delivery Due Date from PO
9 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity