OM_LINE_QTY_VW(SQL View) |
Index Back |
---|---|
Claimback Total Line Quantity092304 sfc Created |
SELECT OH.BUSINESS_UNIT , OL.PRODUCT_ID , OL.CB_CONTRACT_ID , OL.UNIT_OF_MEASURE , SUM(OL.QTY_ORDERED) FROM PS_ORD_HEADER OH , PS_ORD_LINE OL WHERE OH.BUSINESS_UNIT = OL.BUSINESS_UNIT AND OH.ORDER_NO = OL.ORDER_NO AND OH.ORDER_TYPE_CD = 'SO' AND OL.ORD_LINE_STATUS IN ('C', 'O', 'P') GROUP BY OH.BUSINESS_UNIT, OL.PRODUCT_ID, OL.CB_CONTRACT_ID, OL.UNIT_OF_MEASURE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | CB_CONTRACT_ID | Character(25) | VARCHAR2(25) NOT NULL | Claimback Contract ID |
4 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
5 | QTY_ORDERED | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Order Qty |