PL_BW_SCHPOCVW

(SQL View)
Index Back

Closed Sched PO - Buyer WB

Closed Scheduled PO for Buyer WB

SELECT P.PROBINST , M.BUSINESS_UNIT_IN , M.INV_ITEM_ID , M.CONFIG_CODE , P.VENDOR_SETID , P.VENDOR_ID , P.VNDR_LOC , %Dttm(%DatePart(M.PLAN_DUE_DTTM) , %TimeIn('00.00.00.000000')) , SUM(M.QTY_MOVED_INV) FROM PS_PL_PO_HDR_C P , PS_PL_PO_DISTRIB_C M WHERE P.PROBINST = M.PROBINST AND P.PO_ID = M.PO_ID AND P.BUSINESS_UNIT = M.BUSINESS_UNIT GROUP BY P.PROBINST , M.BUSINESS_UNIT_IN , M.INV_ITEM_ID , M.CONFIG_CODE , P.VENDOR_SETID , P.VENDOR_ID , P.VNDR_LOC , M.PLAN_DUE_DTTM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROBINST Character(20) VARCHAR2(20) NOT NULL Optimization Problem Instance
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: %EDITTABLE

3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: %EDITTABLE2

4 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator

Prompt Table: %EDITTABLE5

5 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
6 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
7 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
8 DUE_DTTM DateTime(26) TIMESTAMP Due Datetime
9 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity