PV_GRAPH_CAT_VW

(SQL View)
Index Back

PO Ship View Summ by PO ID


SELECT A.business_unit , B.category_id , SUM(C.qty_po) , SUM(C.merchandise_amt) FROM PS_PO_HDR A , PS_PO_LINE B , PS_PO_LINE_SHIP C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.po_ID = B.PO_ID AND A.PO_ID = C.PO_ID AND b.LINE_NBR = C.LINE_NBR GROUP BY A.BUSINESS_UNIT, B.category_id

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID

Prompt Table: ITM_CAT_TBL

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