PV_GHP_SHP_VW5

(SQL View)
Index Back

PO Ship View Summ by PO ID


SELECT A.BUSINESS_UNIT , A.vendor_id , A.BUYER_id , C.shipto_id , SUM(C.qty_po) , SUM(C.merchandise_amt) FROM PS_PO_HDR A , PS_PO_LINE_SHIP C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PO_ID = C.PO_ID GROUP BY A.BUSINESS_UNIT, A.VENDOR_ID, A.BUYER_ID, C.shipto_id

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VENDOR_PO_VW

3 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer

Prompt Table: %EDIT_BUYER

4 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location

Prompt Table: %EDIT_SHIPTO

5 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity
6 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label