ORD_FRT_CHRG_VW(SQL View) |
Index Back |
---|
SELECT H.BUSINESS_UNIT , H.ORDER_NO , SUM(IDO.FREIGHT_CHARGE_CNV) , H.CURRENCY_CD , SUM(IDO.FREIGHT_CHARGE_BSE) , H.CURRENCY_CD_BASE FROM PS_ORD_HEADER H , PS_IN_DELIVERY_ORD IDO WHERE H.BUSINESS_UNIT = IDO.SOURCE_BUS_UNIT AND H.ORDER_NO = IDO.ORDER_NO AND IDO.DEMAND_SOURCE = 'OM' AND IDO.FREIGHT_APP = 'OM' AND IDO.CHARGE_TYPE = 'F' GROUP BY H.BUSINESS_UNIT , H.ORDER_NO , H.CURRENCY_CD , H.CURRENCY_CD_BASE |
# | 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 | FREIGHT_CHARGE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Charge |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | FREIGHT_CHARGE_BSE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Charge (base) |
6 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |