OEINVCLINE – Invoice Line

System
Billing (BL)
Prefix
OIL
Primary key
COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBR
Fields
109
Updated by
3 programs
Referenced by
1 program

OEINVCLINE is the Invoice Line table in Lawson Billing (prefix OIL). It is indexed by COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBR (OILSET1); alternate indexes: OILSET2, OILSET3, OILSET4, OILSET5 and OILSET6. It is related 1:1 to GLMASTER, ARCOMP, BLOILUF, BLRICLINE, COLINE, CUSTDESC, ICCATEGORY, ICCOMPANY and 19 more and 1:M to COCOMP, COMISC, OEINVCCOMM, OEINVCMISC, OEINVCTAX, OEDIST, OEINVCDTL, OEINVSGBLK and 2 more. It is updated by BLI2.1, IC216 and WH20.7 and referenced by TX101. The table has 109 fields, 6 indexes and 47 documented relations.

About OEINVCLINE

This file stores invoice line information. Each line on an invoice will have a record in this file. Inventory, nonstock, and special order lines are stored here. Add-on charges are stored in their own specific file.

Fields (109)

Column = COBOL field name without the OIL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
OIL-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.WH20.7
OIL-INVC-PREFIX PK
INVC_PREFIX
Alpha 2This field contains the invoice prefix that is assigned from either the company or process level, depending on the invoice-level option chosen.WH20.7
OIL-INVC-NUMBER PK
INVC_NUMBER
Numeric 8This field contains the invoice number assigned by the system. Invoice numbers are assigned at the company or process level, depending on an invoice-level option on the company file.WH20.7
OIL-LINE-NBR PK
LINE_NBR
Numeric 6The system number of the line on the invoice.WH20.7
OIL-LINE-TYPE
LINE_TYPE
Alpha 1The line type indicates whether the item on the line is an inventoried item, non-stock, or special item.
  • I Inventoried item
  • N Non-stock
  • X Special order
WH20.7
OIL-ITEM
ITEM
Alpha 32This field contains the item identifier.WH20.7
OIL-ITEM-16
ITEM_16
DerivedThis field contains the 16-character item description. Derived by the system.
OIL-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)The description of the item.WH20.7
OIL-ORDER-NBR
ORDER_NBR
Numeric 8If the invoice this invoice line was created on is based on an order shipment, this field will store the order number related to the line.WH20.7
OIL-SHIPMENT-NBR
SHIPMENT_NBR
Numeric 10This field contains the shipment number. One order can have several shipment numbers if the items of the order were not shipped at the same time.WH20.7
OIL-QUANTITY
QUANTITY
Signed 13.4The quantity of the item that is being billed on this line.WH20.7
OIL-INVC-CW-QTY
INVC_CW_QTY
Signed 13.4Invoice catch weight quantity. This field is valid only for catch weight items. This is used in extended price calculation, but quantity is used for pricing.WH20.7
OIL-SPR-UOM
SPR_UOM
Alpha 4Indicates the selling price unit of measure with which this line has been priced.WH20.7
OIL-SELL-UOM
SELL_UOM
Alpha 4The selling unit of measure for the item.WH20.7
OIL-SEC-UOM
SEC_UOM
Alpha 4This field contains the secondary quantity unit of measure. Only used for catch weight items.WH20.7
OIL-MULT-SPR-FL
MULT_SPR_FL
Alpha 1Multiple sell price flag. The flag is set if the item has multiple pricing set in the Item Master file. If this flag is set, price break is maintained in the Order Line Pricing UOM's file.
  • Y Yes
  • N No
WH20.7
OIL-SPR-TO-STOCK
SPR_TO_STOCK
Signed 13.7Conversion factor from pricing unit of measure back to stock unit of measure.WH20.7
OIL-SELL-TO-STOCK
SELL_TO_STOCK
Signed 13.7Conversion factor from selling unit of measure back to stock unit of measure.WH20.7
OIL-SEC-UOM-MULT
SEC_UOM_MULT
Signed 13.7This field contains the secondary quantity unit of measure multiplier. It is used to convert the stock on hand quantity to the secondary quantity or visa versa. Used with catch weight items only.WH20.7
OIL-LOCATION
LOCATION
Alpha 5This field contains a valid stock location within the company inventory.WH20.7
OIL-PRICE-STATUS
PRICE_STATUS
Alpha 1This value indicates how the invoice line was priced; for example, was the price overridden or amalgamated pricing used.
  • A Amalgated (group) pricing.
  • C System calculated pricing.
  • O Manual override of pricing.
WH20.7
OIL-ENTERED-PRICE
ENTERED_PRICE
Signed 18.5This is the price of the line item.WH20.7
OIL-UNIT-PRICE
UNIT_PRICE
Signed 18.5The unit price of the line item.WH20.7
OIL-SELL-PRC-CURR
SELL_PRC_CURR
Signed 18.5This is the selling price in the original billing unit of measure.WH20.7
OIL-SELL-UNIT-PRC
SELL_UNIT_PRC
Signed 18.5The price in selling unit of measure. Used internally; never seen on the form.WH20.7
OIL-UNIT-COST
UNIT_COST
Signed 18.5This is the unit cost for the invoice line.WH20.7
OIL-CURRENT-COST
CURRENT_COST
Signed 18.5This is the cost used for valuation when the stock on hand goes negative for an average costing company.WH20.7
OIL-NO-CHARGE-FL
NO_CHARGE_FL
Alpha 1No Charge Flag indicating if the line is intentionally supposed to be no charge.
  • N No, normal pricing.
  • Y Yes, this is a no charge line.
WH20.7
OIL-ENTERED-DISC
ENTERED_DISC
Signed 18.2The add-on discount that can be entered when adding an invoice line.WH20.7
OIL-ADD-ON-DISC
ADD_ON_DISC
Signed 18.2This is the add-on discount in the company base currency.WH20.7
OIL-ALLOC-DISC
ALLOC_DISC
Signed 18.5The portion of the order level discount or invoice add-on discount allocated to this line on the invoice. Tax is calculated after discounts are taken out of the invoice amount and the invoice/order level discounts must be dispersed among the lines of the invoice as the system calculates tax at the line level.WH20.7
OIL-TAX-EXEMPT-CD
TAX_EXEMPT_CD
Alpha 1Indicates whether the line item is tax exempt or not.
  • E Exempt
  • T Taxable
WH20.7
OIL-TAX-CODE
TAX_CODE
Alpha 10A user-defined code representing the tax authorities this ship-to pays sales tax to. Must be a valid tax code record.WH20.7
OIL-ENT-TAXABLE
ENT_TAXABLE
Signed 18.2The taxable amount of the line item if it is not tax exempt. This is a calculated amount and is stored in company base currency. The taxable amount is the net amount of the line minus the allocated discount amount.WH20.7
OIL-TAXABLE-BSE
TAXABLE_BSE
Signed 18.2Taxable amount of the line in company base currency.WH20.7
OIL-TAX-AMT-CURR
TAX_AMT_CURR
Signed 18.2Taxable amount of the line item in original billing currency.WH20.7
OIL-TAX-AMT-BSE
TAX_AMT_BSE
Signed 18.2Tax amount in company base currency.WH20.7
OIL-REASON-CODE
REASON_CODE
Alpha 4Reason code is used to indicate the reason for adding a credit memo to the system. If entered, it must be valid in the Reason Code file.WH20.7
OIL-DISC-CODE
DISC_CODE
Alpha 10This field holds the discount code used to assess a discount amount to this line item. If the item is an inventory or non-stock item, and the pricing of this item includes discounting, the discount code defaults from the pricing modifier (price list, contract, or promotion) and cannot be changed.WH20.7
OIL-ORD-DISC-FL
ORD_DISC_FL
Alpha 1This flag determines whether the order line is eligible for an allocated discount.
  • Y Yes
  • N No
WH20.7
OIL-CONTRACT-NBR
CONTRACT_NBR
Alpha 14If a contract appears on this line field, the line was priced using this contract number.WH20.7
OIL-PROMOTION
PROMOTION
Alpha 10If a promotion is found in this field, this line item was priced using a promotion price modifier.WH20.7
OIL-ACTIVITY
ACTIVITY
Alpha 15In this file the Activity field is used for the revenue (sales) side of the posting whereas the Activity-C field is used for the Cost (COGS) side of the posting. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in Project Accounting. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries.WH20.7
OIL-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5In this file the Acct-Category field is used for the revenue (sales) postings whereas the Acct-Categ-C field is used for Cost (COGS) postings. Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in Project Accounting. All transactions are posted to an account category within an activity. You can assign a specific general ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using Account Assignment (AC07.1). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing.WH20.7
OIL-ATN-OBJ-ID
ATN_OBJ_ID
Numeric 12Represents Activity Management system ID for the revenue (sales) Activity. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in the Activity Management system. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries.WH20.7
OIL-ACTIVITY-C
ACTIVITY_C
Alpha 15In this file the Activity-C field is used for the Cost (COGS) side of the posting whereas the Activity field is used for the revenue (sales) side of the posting. Activities are the processes or procedures that produce work. Cost objects (products, services, customers, and so on) are the reasons for performing the activity. Activities and cost object activities are used synonymously in Project Accounting. Direct costs are posted to activities, and indirect costs are allocated to activities based on activity drivers. Activities are grouped or organized by activity levels. There are two types of activities: "posting allowed" and "summary only." Use posting level activities to budget and maintain all posted transactions. Summary activities or macro activities combine information and balances from lower level activities for reporting and inquiries.WH20.7
OIL-ACCT-CATEG-C
ACCT_CATEG_C
Alpha 5In this file the Acct-Categ-C field is used for Cost (COGS) postings whereas the Acct-Category field is used for revenue (sales) postings. Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in Project Accounting. All transactions are posted to an account category within an activity. You can assign a specific general ledger account or range of accounts (company, accounting unit, account, and subaccount) that make up the transactions posted to an account category using Account Assignment (AC07.1). Period-to-date, year-to-date, and life-to-date balances are maintained by account category for activities. Account categories must be assigned to activities before you do any budgeting or transaction processing.WH20.7
OIL-ATN-OBJ-ID-C
ATN_OBJ_ID_C
Numeric 12The system defined object id representing the Activity Management commitment for Cost (COGS).WH20.7
OIL-FINAL-INVC-FL
FINAL_INVC_FL
Alpha 1This flag indicates if the invoice this line is on is the last invoice for this order.
  • Y Yes
  • N No
WH20.7
OIL-SLS-ACCT-UNIT
SLS_ACCT_UNIT
Alpha 15Sales account unit to be credited or debited for this line.WH20.7
OIL-SLS-ACCOUNT
SLS_ACCOUNT
Numeric 6Sales account number to be debited or credited for this line.WH20.7
OIL-SLS-SUB-ACCT
SLS_SUB_ACCT
Numeric 4Sales subaccount number to be debited or credited for this line.WH20.7
OIL-SALES-MAJCL
SALES_MAJCL
Alpha 4Sales major class code of the line item.WH20.7
OIL-SALES-MINCL
SALES_MINCL
Alpha 4Sales minor class code of the line item.WH20.7
OIL-DSC-AMT
DSC_AMT
Signed 18.2 Occurs 3 Times ×3This is the price modifier discount amount calculated for the line item.WH20.7
OIL-DSC-ACCT-UNIT
DSC_ACCT_UNIT
Alpha 15 Occurs 3 Times ×3These fields store the discount account units that are to be debited for nonstock line items that are affected by price modifier discounts. These account units are credited for credit memo line items.WH20.7
OIL-DSC-ACCOUNT
DSC_ACCOUNT
Numeric 6 Occurs 3 Times ×3These fields store the discount account numbers that are to be debited for nonstock line items that are affected by price modifier discounts. The account is credited for credit memo line items.WH20.7
OIL-DSC-SUB-ACCT
DSC_SUB_ACCT
Numeric 4 Occurs 3 Times ×3These fields store the discount subaccount numbers that are to be debited for nonstock line items that are affected by price modifier discounts. The account is credited for credit memo line items.WH20.7
OIL-DSC-AMT-CURR
DSC_AMT_CURR
DerivedThis is the sum total of the price modifier discount amounts as calculated for the line item in original billing currency.
OIL-DSC-AMT-BASE
DSC_AMT_BASE
Signed 18.2This is the sum total of the price modifier discount amounts as calculated for the line item in company base currency.WH20.7
OIL-OFF-ACCT-UNIT
OFF_ACCT_UNIT
Alpha 15This cost of goods offset account unit will be credited for non-stock and special items ordered that have a cost associated with them. This account can default from the sales class for non-stock items and will default from the process level for special items. The account will be debited for return to stock credit memos.WH20.7
OIL-OFF-ACCOUNT
OFF_ACCOUNT
Numeric 6This cost of goods offset account number will be credited for non-stock and special items that have a cost associated with them. This account can default from the sales class for non-stock items and will default from the process level for special items with associated costs. This account will be debited for return to stock credit memo line items.WH20.7
OIL-OFF-SUB-ACCT
OFF_SUB_ACCT
Numeric 4This cost of goods offset subaccount will be credited for non-stock and special items ordered that have a cost associated with them. This account can default from the sales class for non-stock items and will default from the process level for special items with associated costs. The account will be debited for return to stock credit memos.WH20.7
OIL-CGS-ACCT-UNIT
CGS_ACCT_UNIT
Alpha 15The cost of goods sold account unit is debited for non-stock or special items. Defaults from the process level for special orders and defaults from the sales class for non-stock items. This account is credited for return to stock credit memo lines.WH20.7
OIL-CGS-ACCOUNT
CGS_ACCOUNT
Numeric 6The cost of goods sold account number is debited for non-stock or special items. This account defaults from the process level for special orders and defaults from the sales class for non-stock items. This account is credited for return to stock credit memo lines.WH20.7
OIL-CGS-SUB-ACCT
CGS_SUB_ACCT
Numeric 4The cost of goods sold subaccount number is debited for non-stock and special items. This will default from the process level for special orders and defaults from the sales class for non-stock items. This account is credited for return to stock credit memo lines.WH20.7
OIL-LAST-MISC-SEQ
LAST_MISC_SEQ
Numeric 3This value indicates the number of the last add-on charge attached to this line. This value determines the sequence number of the next add-on charge.WH20.7
OIL-LAST-COMM-SEQ
LAST_COMM_SEQ
Numeric 3This is the sequence number of the last comment line entered for this invoice line.BLI2.1, WH20.7
OIL-TERRITORY
TERRITORY
Alpha 4The sales territory to which this line belongs. The territory is determined based upon the customer and the sales representative assigned to the customer. Territory can be overridden online when adding an invoice.WH20.7
OIL-SALESMAN
SALESMAN
Numeric 4The primary sales representative responsible for this order and/or invoice. Defaults from the customer ship-to for this order, or if the ship-to is not entered, will default from the customer master. The sales representative can be overridden when entering an order and/or invoice. This is the sales representative to which the invoice or order belongs. This will default from the customer master or can be overridden when placing the order or entering the invoice.WH20.7
OIL-SALESMAN-2
SALESMAN_2
Numeric 4The secondary sales representative responsible for this order and/or invoice. Defaults from the customer ship-to for this order, or if the ship-to is not entered, will default from the customer master.WH20.7
OIL-COMM-RATE-1
COMM_RATE_1
Percent 7.5 (Percent)Commission rate for sales representative 1. Defaults from the sales representative record.WH20.7
OIL-COMM-RATE-2
COMM_RATE_2
Percent 7.5 (Percent)Commission rate for sales representative 2. Defaults from the salesman record.WH20.7
OIL-COMM-SPLIT
COMM_SPLIT
Percent 5.3 (Percent)The portion of the invoice line that the second sales representative's commission percent is applied to. The first sales representative's commission percent is applied to the remaining amount. Defaults from the Customer Master file.WH20.7
OIL-USER-FLD1
USER_FLD1
Alpha 2This is the first user-defined field on the invoice line. These user-defined field values, if entered, and the line is a create PO = Yes, will interface into Purchase Order and appear on the purchase order line in the purchase order user-defined fields.WH20.7
OIL-USER-FLD2
USER_FLD2
Alpha 30 (Lower Case)The second user-defined field on the invoice line. These user-defined field values, if entered and the line creates a purchase order, will interface into Purchase Order and appear on the purchase order line in the purchase order user-defined fields.WH20.7
OIL-USER-FLD3
USER_FLD3
Alpha 15 (Lower Case)The third user-defined field on the invoice line. These user-defined field values, if entered and the line creates a purchase order, will interface into Purchase Order and appear on the purchase order line in the purchase order user-defined fields.WH20.7
OIL-LINE-GRS-CURR
LINE_GRS_CURR
Signed 18.2This is the gross amount of the line in original billing currency. Calculated by multiplying quantity by sell price in billing currency.WH20.7
OIL-INVL-OBJ-ID
INVL_OBJ_ID
Numeric 12
OIL-PROD-TAX-CAT
PROD_TAX_CAT
Alpha 15A classification of items for determining taxes using the VERTEX system in Lawson Order Entry system or the cash receipts programs in the Lawson Cash Ledger system.WH20.7
OIL-LINE-NET-CURR
LINE_NET_CURR
DerivedThis is the net amount of the line in original billing currency. This is calculated in the following way: Line gross amount in billing currency - entered discount - discount amount in billing currency.
OIL-LINE-NTX-CURR
LINE_NTX_CURR
DerivedNet amount for tax purposes. Allocated discount from header also subtracted from gross.
OIL-LINE-GRS-BASE
LINE_GRS_BASE
Signed 18.2This is the gross amount of the line in original company base currency. Calculated by multiplying Quantity by Sell Unit Price.WH20.7
OIL-LINE-NET-BASE
LINE_NET_BASE
DerivedThis is the net amount of the line in company base currency. This is calculated in the following way: line gross amount in base currency - add-on discount - discount amount in base currency.
OIL-QTY-IN-STOCK
QTY_IN_STOCK
DerivedOrder quantity in the stock unit of measure.
OIL-LINE-COST
LINE_COST
DerivedThe total cost of the line item.
OIL-S-ACCT-UNIT
S_ACCT_UNIT
DerivedThe sales account unit that the system posts to.
OIL-S-ACCOUNT
S_ACCOUNT
DerivedThe sales account that the system posts to.
OIL-S-SUB-ACCT
S_SUB_ACCT
DerivedThe sales subaccount that the system posts to.
OIL-D1-ACCT-UNIT
D1_ACCT_UNIT
DerivedThe first discount account unit that the system posts to.
OIL-D1-ACCOUNT
D1_ACCOUNT
DerivedThe first discount account that the system posts to.
OIL-D1-SUB-ACCT
D1_SUB_ACCT
DerivedThe first discount subaccount that the system posts to.
OIL-D2-ACCT-UNIT
D2_ACCT_UNIT
DerivedThe second discount account unit that the system posts to.
OIL-D2-ACCOUNT
D2_ACCOUNT
DerivedThe second discount account that the system posts to.
OIL-D2-SUB-ACCT
D2_SUB_ACCT
DerivedThe second discount subaccount that the system posts to.
OIL-D3-ACCT-UNIT
D3_ACCT_UNIT
DerivedThe third discount account unit that the system posts to.
OIL-D3-ACCOUNT
D3_ACCOUNT
DerivedThe third discount account that the system posts to.
OIL-D3-SUB-ACCT
D3_SUB_ACCT
DerivedThe third discount subaccount that the system posts to.
OIL-D1-AMOUNT
D1_AMOUNT
DerivedThe dollar amount for the first discount.
OIL-D2-AMOUNT
D2_AMOUNT
DerivedThe dollar amount for the second discount.
OIL-D3-AMOUNT
D3_AMOUNT
DerivedThe dollar amount for the third discount.
OIL-I-ACCT-UNIT
I_ACCT_UNIT
DerivedThe inventory account unit that the system posts to.
OIL-I-ACCOUNT
I_ACCOUNT
DerivedThe inventory account that the system posts to.
OIL-I-SUB-ACCT
I_SUB_ACCT
DerivedThe inventory subaccount that the system posts to.
OIL-C-ACCT-UNIT
C_ACCT_UNIT
DerivedThe cost of goods sold account unit that the system posts to.
OIL-C-ACCOUNT
C_ACCOUNT
DerivedThe cost of goods sold account that the system posts to.
OIL-C-SUB-ACCT
C_SUB_ACCT
DerivedThe cost of goods sold subaccount that the system posts to.
OIL-RND-FLG
RND_FLG
Alpha 1" " = Blank
  • Y Yes
WH20.7
OIL-GLBL-LINE-TYPE
GLBL_LINE_TYPE
Alpha 15WH20.7

Indexes (6)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
OILSET1COMPANY, INVC-PREFIX, INVC-NUMBER, LINE-NBRPrimaryBLI2.1, IC216, TX101, WH20.7
OILSET2COMPANY, INVC-PREFIX, INVC-NUMBER, SALES-MAJCL, SALES-MINCL, LINE-NBRSubsetWhere PRICE-STATUS = "A"WH20.7
OILSET3ATN-OBJ-IDKeyChange, SubsetWhere ATN-OBJ-ID != Zeroes
OILSET4ATN-OBJ-ID-CKeyChange, SubsetWhere ATN-OBJ-ID-C != Zeroes
OILSET5COMPANY, INVC-PREFIX, INVC-NUMBER, TAX-CODE, PROD-TAX-CAT, LINE-NBRKeyChangeWH20.7
OILSET6COMPANY, INVC-PREFIX, LINE-NBR, INVC-NUMBERWH20.7

Relations

One to one (34) — lookups and parents

RelationTableRulesConditionField map
Add On DiscGLMASTERNot RequiredOIL-COMPANY-COMPANY, OEP-DSC-ACCT-UNIT-ACCT-UNIT, OEP-DSC-ACCOUNT-ACCOUNT, OEP-DSC-SUB-ACCT-SUB-ACCOUNT
ArcompARCOMPRequiredOIL-COMPANYACO-COMPANY
BloilufBLOILUFNot RequiredOIL-COMPANYBDU-COMPANY, OIL-INVC-PREFIXBDU-INVC-PREFIX, OIL-INVC-NUMBERBDU-INVC-NUMBER, OIL-LINE-NBRBDU-LINE-NBR
BlriclineBLRICLINENot RequiredValid When OEI-RECUR-INVOICE != SpacesOIL-COMPANYBUL-COMPANY, OEI-RECUR-INVOICEBUL-RECUR-INVOICE, OEI-CUSTOMERBUL-CUSTOMER, OIL-LINE-NBRBUL-LINE-NBR
Cogs AccountGLMASTERNot RequiredOIL-COMPANYGLM-COMPANY, OIL-CGS-ACCT-UNITGLM-ACCT-UNIT, OIL-CGS-ACCOUNTGLM-ACCOUNT, OIL-CGS-SUB-ACCTGLM-SUB-ACCOUNT
ColineCOLINENot RequiredOIL-COMPANYCOL-COMPANY, OIL-ORDER-NBRCOL-ORDER-NBR, OIL-LINE-NBRCOL-LINE-NBR
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, OEI-CUSTOMERCUD-CUSTOMER
IccategoryICCATEGORYNot RequiredValid When OIL-LINE-TYPE = "I"OIL-COMPANYICA-COMPANY, OIL-LOCATIONICA-LOCATION, ITL-GL-CATEGORYICA-GL-CATEGORY
IccompanyICCOMPANYRequiredWhen OIL-LINE-TYPE != "X"OIL-COMPANYICC-COMPANY
Inventory AcctGLMASTERNot RequiredOIL-COMPANYGLM-COMPANY, OIL-OFF-ACCT-UNITGLM-ACCT-UNIT, OIL-OFF-ACCOUNTGLM-ACCOUNT, OIL-OFF-SUB-ACCTGLM-SUB-ACCOUNT
ItemlocITEMLOCRequiredWhen OIL-LINE-TYPE = "I"OIL-COMPANYITL-COMPANY, OIL-LOCATIONITL-LOCATION, OIL-ITEMITL-ITEM
ItemmastITEMMASTRequiredWhen OIL-LINE-TYPE = "I" Or OIL-LINE-TYPE = "N"ICC-ITEM-GROUPITE-ITEM-GROUP, OIL-ITEMITE-ITEM
OecompanyOECOMPANYRequiredOIL-COMPANYOEC-COMPANY
OecslineBLRICLINENot RequiredValid When OEI-RECUR-INVOICE != SpacesOIL-COMPANYBUL-COMPANY, OEI-RECUR-INVOICEBUL-RECUR-INVOICE, OEI-CUSTOMERBUL-CUSTOMER, OIL-LINE-NBRBUL-LINE-NBR
OecustsrvcBLRICUSTNot RequiredOIL-COMPANYBRC-COMPANY, OEI-RECUR-INVOICEBRC-RECUR-INVOICE, OEI-CUSTOMERBRC-CUSTOMER
OediscountOEDISCOUNTRequiredOIL-COMPANYOED-COMPANY, OIL-DISC-CODEOED-DISC-CODE
OeincdgblkOEINVSGBLKNot RequiredOIL-COMPANYOSB-COMPANY, OIL-INVC-PREFIXOSB-INVC-PREFIX, OIL-INVC-NUMBEROSB-INVC-NUMBER, OIL-LINE-NBROSB-LINE-NBR, ZeroesOSB-SEQ
OeinvcuomOEINVCUOMNot RequiredValid When OIL-MULT-SPR-FL = "Y"OIL-COMPANYOEU-COMPANY, OIL-INVC-PREFIXOEU-INVC-PREFIX, OIL-INVC-NUMBEROEU-INVC-NUMBER, OIL-LINE-NBROEU-LINE-NBR
OeinvhdrOEINVHDRRequiredWhen OEI-BATCH-NBR != ZeroesOIL-COMPANYOIH-COMPANY, OEI-BATCH-NBROIH-BATCH-NBR
OeinvoiceOEINVOICERequiredOIL-COMPANYOEI-COMPANY, OIL-INVC-PREFIXOEI-INVC-PREFIX, OIL-INVC-NUMBEROEI-INVC-NUMBER
OeproclevOEPROCLEVRequiredOIL-COMPANYOEP-COMPANY, OEI-PROCESS-LEVELOEP-PROCESS-LEVEL
OereasonOEREASONRequiredWhen OIL-REASON-CODE != SpacesOIL-COMPANYOER-COMPANY, OIL-REASON-CODEOER-REASON-CODE
OeshiplineWHSHIPLINENot RequiredOIL-COMPANYWHL-COMPANY, OIL-LOCATIONWHL-LOCATION, OIL-SHIPMENT-NBRWHL-SHIPMENT-NBR, OIL-LINE-NBRWHL-LINE-NBR
OeshipmentWHSHIPMENTRequiredWhen OEI-INVC-SOURCE = "S"OIL-COMPANYWHS-COMPANY, OIL-LOCATIONWHS-LOCATION, OEI-SHIPMENT-NBRWHS-SHIPMENT-NBR
OeslsacctOESLSACCTNot RequiredValid When OIL-LINE-TYPE = "I" Or OIL-LINE-TYPE = "N"OIL-COMPANYOSA-COMPANY, OEI-PROCESS-LEVELOSA-PROCESS-LEVEL, OIL-SALES-MAJCLOSA-SALES-MAJCL, OIL-SALES-MINCLOSA-SALES-MINCL
Price ListOEPRCLISTRequiredOIL-COMPANYOPL-COMPANY, SpacesOPL-CUSTOMER, OEI-LIST-NAMEOPL-LIST-NAME, SpacesOPL-PROMOTION
Sales AccountGLMASTERNot RequiredOIL-COMPANYGLM-COMPANY, OIL-SLS-ACCT-UNITGLM-ACCT-UNIT, OIL-SLS-ACCOUNTGLM-ACCOUNT, OIL-SLS-SUB-ACCTGLM-SUB-ACCOUNT
SalesmanSALESREPRequiredOIL-COMPANYSAW-COMPANY, OIL-SALESMANSAW-SALESMAN
Salesman2SALESREPRequiredWhen OIL-SALESMAN-2 != ZeroesOIL-COMPANYSAW-COMPANY, OIL-SALESMAN-2SAW-SALESMAN
SalesrepSALESREPRequiredOIL-COMPANYSAW-COMPANY, OIL-SALESMANSAW-SALESMAN
Salesrep2SALESREPRequiredWhen OIL-SALESMAN-2 != ZeroesOIL-COMPANYSAW-COMPANY, OIL-SALESMAN-2SAW-SALESMAN
TeritoryTERITORYRequiredOIL-COMPANYTRY-COMPANY, OIL-TERRITORYTRY-TERRITORY
TxtaxcodeTXTAXCODERequiredWhen OIL-TAX-CODE != Spaces And OIL-TAX-EXEMPT-CD = "T"OIL-COMPANYTAC-COMPANY, OIL-TAX-CODETAC-TAX-CODE
WhdemndhdrWHDEMNDHDRNot RequiredOIL-COMPANYWDH-COMPANY, "OE"WDH-SYSTEM-CD, OIL-ORDER-NBRWDH-DOC-NBR-NUM

One to many (13) — child tables

RelationTableRulesConditionField map
CocompCOCOMPOIL-COMPANYCKT-COMPANY, "OE"CKT-SYSTEM-CD, WDH-DOC-NBRCKT-DOC-NBR, OIL-LINE-NBRCKT-LINE-NBR, CKT-COMPONENT-SEQ
ComiscCOMISCRequiredOIL-COMPANYCMC-COMPANY, OIL-ORDER-NBRCMC-ORDER-NBR, OIL-LINE-NBRCMC-LINE-NBR, CMC-SEQ
Line CommentsOEINVCCOMMDelete RestrictedOIL-COMPANYOIC-COMPANY, OIL-INVC-PREFIXOIC-INVC-PREFIX, OIL-INVC-NUMBEROIC-INVC-NUMBER, OIL-LINE-NBROIC-LINE-NBR, OIC-SEQ
Line MiscOEINVCMISCOIL-COMPANYOIM-COMPANY, OIL-INVC-PREFIXOIM-INVC-PREFIX, OIL-INVC-NUMBEROIM-INVC-NUMBER, OIL-LINE-NBROIM-LINE-NBR, OIM-SEQ
Line TaxOEINVCTAXValid When OEC-TAX-PRINT-CD = "D"OIL-COMPANYOIT-COMPANY, OIL-INVC-PREFIXOIT-INVC-PREFIX, OIL-INVC-NUMBEROIT-INVC-NUMBER, OIL-LINE-NBROIT-LINE-NBR, OIT-TAX-CODE, OIT-SEQ, OIT-TAX-LEVEL
OedistOEDISTValid When OEI-STATUS = 9OIL-COMPANYODI-COMPANY, OIL-INVC-PREFIXODI-INVC-PREFIX, OIL-INVC-NUMBERODI-INVC-NUMBER, ZeroesODI-AUTH-NO, OIL-LINE-NBRODI-LINE-NBR, ODI-ACCT-UNIT, ODI-ACCOUNT, ODI-SUB-ACCOUNT, ODI-SEQ, ODI-POSTING-TYPE
OeinvccommOEINVCCOMMOIL-COMPANYOIC-COMPANY, OIL-INVC-PREFIXOIC-INVC-PREFIX, OIL-INVC-NUMBEROIC-INVC-NUMBER, OIL-LINE-NBROIC-LINE-NBR, OIC-SEQ
OeinvcdtlOEINVCDTLOIL-COMPANYOID-COMPANY, OIL-INVC-PREFIXOID-INVC-PREFIX, OIL-INVC-NUMBEROID-INVC-NUMBER, OIL-LINE-NBROID-LINE-NBR, OID-UOM, OID-LOT, OID-SUBLOT, OID-BIN, OID-SERIAL
OeinvcmiscOEINVCMISCOIL-COMPANYOIM-COMPANY, OIL-INVC-PREFIXOIM-INVC-PREFIX, OIL-INVC-NUMBEROIM-INVC-NUMBER, OIL-LINE-NBROIM-LINE-NBR, OIM-SEQ
OeinvctaxOEINVCTAXRequiredOIL-COMPANYOIT-COMPANY, OIL-INVC-PREFIXOIT-INVC-PREFIX, OIL-INVC-NUMBEROIT-INVC-NUMBER, OIL-LINE-NBROIT-LINE-NBR, ZeroesOIT-SEQ, OIT-TAX-CODE, OIT-TAX-LEVEL
OeinvsgblkOEINVSGBLKOIL-COMPANYOSB-COMPANY, OIL-INVC-PREFIXOSB-INVC-PREFIX, OIL-INVC-NUMBEROSB-INVC-NUMBER, OIL-LINE-NBROSB-LINE-NBR, OSB-SEQ
PolinesrcPOLINESRCValid When COL-CREATE-PO = "Y"OIL-COMPANYPLS-OPER-COMPANY, "OE"PLS-ORIGIN-CD, OIL-ORDER-NBRPLS-SOURCE-DOC-N, COL-LINE-NBRPLS-SRC-LINE-NBR, PLS-PO-CODE, PLS-PO-NUMBER, PLS-PO-RELEASE, PLS-LINE-NBR
ReturnlineRETURNLINEOIL-COMPANYRTL-COMPANY, OEI-CUSTOMERRTL-CUSTOMER, OIL-ITEMRTL-ITEM, OEI-SHIP-TORTL-SHIP-TO, RTL-DATE, RTL-AUTH-NO, RTL-LINE-NBR

Programs

Updated by (3)

Referenced by (1)