ORD_SCHEDSHK_VW(SQL View) |
Index Back |
---|---|
Order Entry KitEst ship totalsOrder Entry Kit Est ship totals |
SELECT S.BUSINESS_UNIT , S.ORDER_NO , S.DELIVERY_ID , %Round(SUM(%DecMult(S.QTY_SCHEDULED, S.NET_UNIT_PRICE)), 4) , %Round(SUM(%DecMult(S.QTY_SCHEDULED, S.NET_UNIT_PRICE_BSE)), 4) , %Round(SUM(S.SHIPPING_KIT_QTY), 2) , SUM(S.SHIPPING_QTY) , %Round(SUM(S.SHIPPING_VOLUME), 4) , %Round(SUM(S.SHIPPING_WEIGHT), 4) , L.UNIT_OF_MEASURE , S.UNIT_MEASURE_SHIP , S.UNIT_MEASURE_VOL , S.UNIT_MEASURE_WT , S.FRT_RULE_CD , COUNT(*) FROM PS_ORD_LINE L , PS_ORD_SCHEDULE S WHERE L.BUSINESS_UNIT = S.BUSINESS_UNIT AND L.ORDER_NO = S.ORDER_NO AND L.ORDER_INT_LINE_NO = S.ORDER_INT_LINE_NO AND S.ORD_SCH_STATUS <> 'X' AND S.SHIPPING_KIT_QTY > 0 GROUP BY S.BUSINESS_UNIT, S.ORDER_NO, S.DELIVERY_ID, L.UNIT_OF_MEASURE, S.UNIT_MEASURE_SHIP, S.UNIT_MEASURE_VOL, S.UNIT_MEASURE_WT, S.FRT_RULE_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
3 | DELIVERY_ID | Character(10) | VARCHAR2(10) NOT NULL | Delivery ID |
4 | EXTENDED_NET_PRICE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext Net Amount |
5 | EXT_NET_PRC_BASE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Extended Net Price (base) |
6 | QTY_TOTAL | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Quantity Total |
7 | SHIPPING_QTY | Number(17,4) | DECIMAL(16,4) NOT NULL | Shipping Quantity |
8 | SHIPPING_VOLUME | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Shipping Volume |
9 | SHIPPING_WEIGHT | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Shipping Weight |
10 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
11 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL | Shipment Unit of Measure |
12 | UNIT_MEASURE_VOL | Character(3) | VARCHAR2(3) NOT NULL | Volume UOM |
13 | UNIT_MEASURE_WT | Character(3) | VARCHAR2(3) NOT NULL | Weight UOM |
14 | FRT_RULE_CD | Character(10) | VARCHAR2(10) NOT NULL | Freight Rule Code |
15 | NBR_SCHED_LINES | Number(6,0) | INTEGER NOT NULL | Number of Sched Lines |