OM_DEL_QORD_VW(SQL View) |
Index Back |
---|---|
Order-level delivery infoOM view of order-level delivery info |
SELECT O.BUSINESS_UNIT , O.DEMAND_SOURCE , O.SOURCE_BUS_UNIT , O.ORDER_NO , O.SHIP_ID , O.DELIVERY_ID , O.CHARGE_TYPE , O.SEQ_NUM , O.FREIGHT_APP , %subrec(IN_DEL_ORD_SBR, O) , H.RATE_DATE , H.RATE_MULT , H.RATE_DIV , H.RT_TYPE , ' ' , ' ' , ' ' , ' ' , ' ' , ' ' , %DateNull , ' ' , ' ' , ' ' , ' ' , 0 , 0 , 0 , 0 , 'N' , 'N' , 'X' , ( SELECT COUNT(*) FROM PS_ORD_SCHEDULE D WHERE D.BUSINESS_UNIT = O.SOURCE_BUS_UNIT AND D.SHIP_FROM_BU = O.BUSINESS_UNIT AND D.ORDER_NO = O.ORDER_NO AND D.DELIVERY_ID = O.DELIVERY_ID) FROM PS_IN_DELIVERY_ORD O JOIN PS_ORD_HEADER H ON H.BUSINESS_UNIT = O.SOURCE_BUS_UNIT AND H.ORDER_NO = O.ORDER_NO WHERE O.DEMAND_SOURCE = 'OM' AND O.SHIP_ID = ' ' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | 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 |
5 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shipping ID |
6 | DELIVERY_ID | Character(10) | VARCHAR2(10) NOT NULL | Delivery ID |
7 | CHARGE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Shipping Charge Type
F=Freight M=Misc Chrgs N=Non-stock Default Value: F |
8 | SEQ_NUM | Number(3,0) | SMALLINT NOT NULL |
Sequence
Default Value: 0 |
9 | FREIGHT_APP | Character(2) | VARCHAR2(2) NOT NULL |
Identifier with regards to which product calculated freight for a delivery
IN=Inventory OM=Order Management Default Value: OM |
10 | FREIGHT_BILLD_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Freight Amount Billed/Posted
Default Value: N |
11 | FREIGHT_CHARGE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Charge |
12 | FREIGHT_CHARGE_BSE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Charge (base) |
13 | FREIGHT_CHARGE_CNV | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Charge (base) |
14 | FREIGHT_CURRNCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
15 | FRT_CURR_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Base Freight Currency Code |
16 | FREIGHT_CALC_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Freight Calculate Flag
Default Value: N |
17 | CURRENCY_CD_DEF | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
18 | FREIGHT_TAX_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Freight Tax Amount |
19 | FREIGHT_TAX_BASE | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Freight Tax Amount Base |
20 | FREIGHT_TAX_PCT | Number(7,4) | DECIMAL(6,4) NOT NULL | Freight Tax Percent |
21 | FRT_REF_NO | Character(30) | VARCHAR2(30) NOT NULL | Freight Reference Number |
22 | FRT_CHRG_OPEN | Character(1) | VARCHAR2(1) NOT NULL |
Freight can be modified
Default Value: Y |
23 | FRT_CHRG_OVERRIDE | Character(1) | VARCHAR2(1) NOT NULL |
Freight Charge Override
Default Value: N |
24 | RATE_DATE | Date(10) | DATE | Exchange Rate Date |
25 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
26 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
27 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
28 | FREIGHT_NET_PRC | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Freight Net Value |
29 | FREIGHT_QUANTITY | Number(17,4) | DECIMAL(16,4) NOT NULL | Freight Quantity |
30 | FREIGHT_PRC_BASE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Freight Net Value (base) |
31 | FREIGHT_VOLUME | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Volume |
32 | FREIGHT_WEIGHT | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Freight Weight |
33 | ADDTL_ADJ_BILLED | Character(1) | VARCHAR2(1) NOT NULL |
Adjustment Amount Billed
Default Value: N |
34 | ADJUSTMENT_PCT | Signed Number(7,2) | DECIMAL(5,2) NOT NULL | Adjustment Percent |
35 | OM_ADJST_AMT | Signed Number(19,4) | DECIMAL(17,4) NOT NULL | Order Adjustment Amount |
36 | OM_ADJST_AMT_BSE | Signed Number(19,4) | DECIMAL(17,4) NOT NULL | Adjustment Amount (Base) |
37 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
38 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
39 | VAT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount of VAT associated with a transaction such as an invoice or a purchase order. In PeopleSoft Receivables this field is populated when the VAT declaration point is set to Invoice. |
40 | VAT_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Amount in Base Curr |
41 | VAT_AMT_RVC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Reverse Charge VAT Amount |
42 | VAT_AMT_RVC_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Reverse Charge Amount in Base Currency |
43 | VAT_BASIS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the amount on a sale (receivables item) or purchase (Payables voucher) transaction that is subject to VAT taxation. Depending on other parameters this amount may represent the gross or net amount of the transaction and may or may not include freight charges. |
44 | VAT_BASIS_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | VAT Basis Amt in Base Curr |
45 | VAT_TRANS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Represents the sale or purchase amount against which the VAT is applicable. |
46 | VAT_TRANS_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Represents the sale or purchase amount in base currency against which the VAT is applicable |
47 | TAX_CD_VAT_PCT | Signed Number(9,4) | DECIMAL(7,4) NOT NULL | Specifies the tax percentage that corresponds to the VAT code. If more than one VAT authority is linked to a VAT code this will represent an aggregate percentage. |
48 | TAX_CD_VAT_RVC_PCT | Signed Number(9,4) | DECIMAL(7,4) NOT NULL | Customer VAT Rate |
49 | COUNTRY_LOC_BUYER | Character(3) | VARCHAR2(3) NOT NULL | Buyer's Location Country - May be either the VAT Entity or the Trading Partner |
50 | COUNTRY_LOC_SELLER | Character(3) | VARCHAR2(3) NOT NULL | Seller's Location Country - May be either the VAT Entity or the Trading Partner |
51 | COUNTRY_SHIP_FROM | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country from which the invoice contents were shipped (for VAT processing only). |
52 | COUNTRY_SHIP_TO | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country to which the invoice contents were shipped (for VAT processing only). |
53 | COUNTRY_VAT_PERFRM | Character(3) | VARCHAR2(3) NOT NULL | Country Where Service Physically Performed |
54 | STATE_LOC_BUYER | Character(6) | VARCHAR2(6) NOT NULL | Buyer's Location State - May be either the VAT Entity or the Trading Partner |
55 | STATE_LOC_SELLER | Character(6) | VARCHAR2(6) NOT NULL | Seller's Location State - May be either the VAT Entity or the Trading Partner |
56 | STATE_SHIP_FROM | Character(6) | VARCHAR2(6) NOT NULL | Ship From State |
57 | STATE_SHIP_TO | Character(6) | VARCHAR2(6) NOT NULL | Ship To State |
58 | STATE_VAT_PERFRM | Character(6) | VARCHAR2(6) NOT NULL | State Where Service Physically Performed |
59 | VAT_DFLT_DONE_FLG | Character(1) | VARCHAR2(1) NOT NULL |
VAT Defaulting Done
N=Awaiting Defaulting X=Do not default Y=Defaulting Done |
60 | VAT_ENTITY | Character(20) | VARCHAR2(20) NOT NULL | Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements. |
61 | COUNTRY_VAT_BILLFR | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country where an invoice is generated (for VAT processing only). |
62 | COUNTRY_VAT_BILLTO | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country where an invoice is sent (for VAT processing only). |
63 | COUNTRY_VAT_SUPPLY | Character(3) | VARCHAR2(3) NOT NULL | VAT Place of Supply Country |
64 | IST_TXN_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Intrastat Transaction Flag
N=No Y=Yes |
65 | STATE_VAT_DEFAULT | Character(6) | VARCHAR2(6) NOT NULL | VAT Defaulting State |
66 | TAX_CD_VAT | Character(8) | VARCHAR2(8) NOT NULL | Defines the VAT (Value Added Tax) percentage (via link to the Tax Authority) and is used to retrieve VAT accounting ChartFields. The VAT code determines how the VAT amount is calculated on a transaction and how that amount is accounted and reported for. |
67 | TAX_CD_VAT_RVC | Character(8) | VARCHAR2(8) NOT NULL | Reverse Charge VAT Code |
68 | VAT_APPLICABILITY | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not a transaction is eligible for VAT (Value Added Tax) taxation or why it is not eligible.
E=Exempt N=Not Applicable O=Outside of Scope of VAT S=Suspended T=Taxable V=VAT Only X=Exonerated |
69 | VAT_DCLRTN_POINT | Character(1) | VARCHAR2(1) NOT NULL |
A flag that specifies when VAT information for sales or purchase transaction is recognized for reporting to the appropriate VAT authority. VAT is declared at invoice time, delivery time, accounting date or the time of payment.
A=At Accounting Date D=At Delivery Time I=At Invoice Time P=At Payment Time |
70 | VAT_EXCPTN_CERTIF | Character(20) | VARCHAR2(20) NOT NULL | Specifies the VAT exception certificate number. This identifier serves as proof of customer's exemption from VAT. |
71 | VAT_EXCPTN_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
A flag that specifies the reason for a VAT exemption for a customer. Suspension (S) and Exoneration (X) are examples of Exception Type.
N=None S=Suspended X=Exonerated |
72 | VAT_RGSTRN_BUYER | Character(20) | VARCHAR2(20) NOT NULL | Specifies a customers VAT Registration ID for a particular country. |
73 | VAT_TREATMENT | Character(4) | VARCHAR2(4) NOT NULL | VAT Treatment |
74 | VAT_TREATMENT_GRP | Character(4) | VARCHAR2(4) NOT NULL | VAT Treatment Group |
75 | VAT_CALC_GROSS_NET | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether VAT calculation should be done on the Gross (G) amount or on the Net (N) amount of sales or purchase transaction. When calculating VAT at net the early payment discount is applied to the goods amount before calculating the VAT. When calculating VAT at gross the VAT is initially calculated based on the gross transaction amount.
G=Calculate at Gross N=Calculate at Net |
76 | VAT_RECALC_FLG | Character(1) | VARCHAR2(1) NOT NULL | A flag that indicates whether or not the VAT discount amount is recalculated at payment time. This field is only used if the VAT Calculation Type (VAT_CAL_GROSS_NET) is gross. |
77 | VAT_ROUND_RULE | Character(1) | VARCHAR2(1) NOT NULL |
" Rounding rule to be applied to VAT calculations. Options are 'Natural'
D=Round Down N=Natural Round U=Round Up |
78 | VAT_RVRSE_CHG_GDS | Character(1) | VARCHAR2(1) NOT NULL | VAT Reverse Charge goods flag |
79 | VAT_SERVICE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
VAT Service Type
1=Freight Transport 2=Other 3=Electronics/Communication |
80 | VAT_SVC_SUPPLY_FLG | Character(1) | VARCHAR2(1) NOT NULL |
VAT Services Place of Supply Flag
1=Supplier's Countries 2=Buyer's Countries 3=Where Physically Performed |
81 | VAT_TXN_TYPE_CD | Character(4) | VARCHAR2(4) NOT NULL | Specifies a user-defined category of business transaction that is subject to VAT accounting and reporting. The VAT code and the VAT transaction type are used in conjunction with the VAT account type to obtain the ChartFields for accounting entries. Some examples of VAT Transaction Types are Exempt Sales Exempt Purchases Triangulation EU Sales and Domestic Sales. |
82 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
83 | IDENTIFIER | Character(18) | VARCHAR2(18) NOT NULL | Identifier |
84 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
85 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
86 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
87 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
88 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
89 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
90 | UNIT_AMT | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Unit Price |
91 | UNIT_AMT_CONV | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Unit Price |
92 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
93 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage Prompt Table: UNITS_TBL |
94 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL | Billing Business Unit |
95 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
96 | LINE_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Sequence |
97 | BILLING_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Billing Status
A=Available B=In Billing C=Contract I=Invoiced N=Not Avail P=In Process S=Staged Default Value: A |
98 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
99 | SHIP_TIME | Time(15) | TIMESTAMP | Ship Time |
100 | DIRECT_INVOICING | Character(1) | VARCHAR2(1) NOT NULL |
Direct Invoicing
Y/N Table Edit |
101 | POST_SHIP_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Cancel Instance |
102 | FREIGHT_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
mmt 08/02/04 Used for new freight processing as an audit trail for how records got into SHIP_FRT_MISC
01=Manually Entered 02=Internally Calculated 03=Externally Calculated 04=Ship Container Default Value: 01 |
103 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
104 | DTTIME_ADDED | DateTime(26) | TIMESTAMP | Date Time Added |
105 | LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |
106 | LAST_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By Operator ID |
107 | RATE_DATE_2 | Date(10) | DATE | Exchange Rate Date |
108 | RATE_MULT_2 | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
109 | RATE_DIV_2 | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
110 | RT_TYPE_2 | Character(5) | VARCHAR2(5) NOT NULL | Rate Type |
111 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
112 | CARRIER_ID_EXP | Character(10) | VARCHAR2(10) NOT NULL | Export Carrier ID |
113 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL | Freight Terms Code |
114 | FREIGHT_TERMS_EXP | Character(10) | VARCHAR2(10) NOT NULL | Export Freight Terms Code |
115 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
116 | COMMODITY_CD | Character(10) | VARCHAR2(10) NOT NULL | Commodity Code |
117 | SCHED_SHIP_DATE | Date(10) | DATE | Scheduled Ship Date |
118 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
119 | SHIP_TYPE_ID_EXP | Character(10) | VARCHAR2(10) NOT NULL | Export Shipping Method |
120 | UNIT_MEASURE_VOL | Character(3) | VARCHAR2(3) NOT NULL | Volume UOM |
121 | UNIT_MEASURE_WT | Character(3) | VARCHAR2(3) NOT NULL | Weight UOM |
122 | SHIPPING_VOLUME | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Shipping Volume |
123 | SHIPPING_WEIGHT | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Shipping Weight |
124 | EXTENDED_NET_PRICE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Ext Net Amount |
125 | EXT_NET_PRC_BASE | Signed Number(29,4) | DECIMAL(27,4) NOT NULL | Extended Net Price (base) |
126 | NEW_RECORD | Character(1) | VARCHAR2(1) NOT NULL |
New Record Flag
Default Value: N |
127 | SQL_ACTION | Character(1) | VARCHAR2(1) NOT NULL |
SQL Action to Take
D=Delete I=Insert N=No Action U=Update Default Value: N |
128 | POSTED_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not a Receivables item has been posted. This field is automatically updated by the Receivables Update program.
N=Not Posted X=Don't Post Y=Posted Default Value: X |
129 | NBR_DEMAND_LINES | Number(4,0) | SMALLINT NOT NULL | Number of Demand Lines |