OEDIST – Order Entry GL Distribution

System
Billing (BL)
Prefix
ODI
Primary key
COMPANY, GL-DATE, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, SEQ, POSTING-TYPE
Fields
21
Updated by
1 program
Referenced by
0 programs

OEDIST is the Order Entry GL Distribution table in Lawson Billing (prefix ODI). It is indexed by COMPANY, GL-DATE, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, SEQ, POSTING-TYPE (ODISET1); alternate indexes: ODISET2, ODISET3 and ODISET4. It is related 1:1 to ARCOMP, CUSTDESC, GLCHARTDTL, GLMASTER, GLSYSTEM, OECOMPANY, OEINVCLINE, OEINVCMISC and 2 more and 1:M to SLTRANS. It is updated by TX101. The table has 21 fields, 4 indexes and 11 documented relations.

About OEDIST

No description in the Lawson data dictionary.

Fields (21)

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

Field / columnTypeDescription & valuesUpdated by
ODI-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.
ODI-GLT-OBJ-ID
GLT_OBJ_ID
Numeric 12This is a subsystem General Ledger interface identification number. It is used for Drill Around purposes.
ODI-ATN-OBJ-ID
ATN_OBJ_ID
Numeric 12Activities 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.
ODI-PROCESS-LEVEL
PROCESS_LEVEL
Alpha 5This field contains the process level, which is the reporting hierarchy below company.
ODI-GL-DATE PK
GL_DATE
Numeric 8 (yyyymmdd)The general ledger posting date for this particular journal entry.
ODI-ACCT-UNIT PK
ACCT_UNIT
Alpha 15This is the accounting unit that will be debited or credited in general ledger when this journal entry distribution is interfaced into the General Ledger system.
ODI-ACCOUNT PK
ACCOUNT
Numeric 6This field indicates the general ledger account number that will be debited or credited when this journal entry distribution is interfaced into the General Ledger system.
ODI-SUB-ACCOUNT PK
SUB_ACCOUNT
Numeric 4This is the general ledger subaccount number that will be debited or credited when this journal entry distribution is interfaced into the General Ledger system.
ODI-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.
ODI-INVC-NUMBER PK
INVC_NUMBER
Numeric 8Invoice number associated with this journal entry distribution. Invoice numbers are assigned at the company or process level, depending on an invoice level option on the company file.
ODI-AUTH-NO PK
AUTH_NO
Numeric 10This is the returns authorization number associated with a distribution record that was created in relation to a return to stock credit memo added to the Order Entry system using the returns feature.
ODI-LINE-NBR PK
LINE_NBR
Numeric 6Identifies the line number on the invoice this distribution journal entry is associated with.
ODI-SEQ PK
SEQ
Numeric 3If this distribution record pertains to an add-on charge that was attached to a line on an invoice, this sequence number identifies which add-on charge tied to the line this is.
ODI-POSTING-TYPE PK
POSTING_TYPE
Alpha 2This field indicates what type of account this distribution journal entry is debiting or crediting.
  • AD Add-on Discount (Db)
  • AS A/R Add-on Discount (Cr)
  • CR Cash In Advance (Cr)
  • CA Cash In Advance (Db)
  • CI Cost To Inventory (Cr)
  • CC Cost Of Goods Sold (Db)
  • CV Cost Variance (Db,Cr)
  • D1 Line Discount (Db)
  • D2 Line Discount (Db)
  • D3 Line Discount (Db)
  • D4 Line Discount (Cr)
  • D5 Line Discount (Cr)
  • D6 Line Discount (Cr)
  • FF Freight (Db)
  • FA Freight (Cr)
  • MS Miscellaneous Sales (Cr)
  • MO Miscellaneous Offset (Db)
  • MC Miscellaneous Cost (Db)
  • MR Miscellaneous A/R (Db)
  • OD Order Discount (Db)
  • OS Order Discount (Cr)
  • PS Product Sales (Cr)
  • PA Product A/R (Db)
  • S1 Line Sales Tax (Db)
  • S2 Line Sales Tax (Db)
  • S3 Line Sales Tax (Db)
  • S4 Line Sales Tax (Cr)
  • S5 Line Sales Tax (Db)
  • S6 Line Sales Tax (Cr)
  • M1 Miscellaneous Sales Tax (Db)
  • M2 Miscellaneous Sales Tax (Db)
  • M3 Miscellaneous Sales TAx (Db)
  • M4 Miscellaneous Sales Tax (Cr)
  • M5 Miscellaneous Sales Tax (Cr)
  • M6 Miscellaneous Sales Tax (Cr)
  • AR Accounts Receivable
  • FR Freight
  • TX Vertex Tax
  • CP Credit card payment
ODI-CUSTOMER
CUSTOMER
Alpha 9 (Right Justified)This field contains the number that represents a customer.
ODI-ACTIVITY
ACTIVITY
Alpha 15Activities 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.
ODI-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5Account categories are groupings of costs, revenues, or a combination of both used for reporting and inquiries for activities in the Activity Management system. 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 AC07.1 (Account Assignment). 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.
ODI-AMOUNT-BASE
AMOUNT_BASE
Signed 18.2Amount of distribution journal entry in company base currency.
ODI-AMOUNT-CURR
AMOUNT_CURR
Signed 18.2Amount of distribution journal entry in original billing currency.
ODI-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company's base currency code established in the General Ledger system.
ODI-CURR-RATE
CURR_RATE
Signed 14.7The currency rate used to convert this distribution amount from original billing currency to company base currency.

Indexes (4)

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

IndexKeysFlagsConditionUsed in
ODISET1COMPANY, GL-DATE, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, SEQ, POSTING-TYPEPrimary
ODISET2COMPANY, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, ACCT-UNIT, ACCOUNT, SUB-ACCOUNT, SEQ, POSTING-TYPETX101
ODISET3GLT-OBJ-ID, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, SEQ, POSTING-TYPEKeyChange
ODISET4ATN-OBJ-ID, INVC-PREFIX, INVC-NUMBER, AUTH-NO, LINE-NBR, SEQ, POSTING-TYPEKeyChange, SubsetWhere ATN-OBJ-ID != Zeroes

Relations

One to one (10) — lookups and parents

RelationTableRulesConditionField map
ArcompARCOMPRequiredODI-COMPANYACO-COMPANY (ACOSET1)
CustdescCUSTDESCRequiredACO-CUST-GROUPCUD-CUST-GROUP, ODI-CUSTOMERCUD-CUSTOMER
GlchartdtlGLCHARTDTLRequiredGLS-CHART-NAMEGDT-CHART-NAME, GLM-SUMM-ACCT-IDGDT-SUMRY-ACCT-ID, ODI-ACCOUNTGDT-ACCOUNT, ODI-SUB-ACCOUNTGDT-SUB-ACCOUNT
GlmasterGLMASTERNot RequiredODI-COMPANYGLM-COMPANY, ODI-ACCT-UNITGLM-ACCT-UNIT, ODI-ACCOUNTGLM-ACCOUNT, ODI-SUB-ACCOUNTGLM-SUB-ACCOUNT
GlsystemGLSYSTEMRequiredODI-COMPANYGLS-COMPANY
OecompanyOECOMPANYRequiredODI-COMPANYOEC-COMPANY
OeinvclineOEINVCLINENot RequiredValid When ODI-LINE-NBR != Zeroes And ODI-SEQ = ZeroesODI-COMPANYOIL-COMPANY, ODI-INVC-PREFIXOIL-INVC-PREFIX, ODI-INVC-NUMBEROIL-INVC-NUMBER, ODI-LINE-NBROIL-LINE-NBR
OeinvcmiscOEINVCMISCNot RequiredValid When ODI-LINE-NBR != Zeroes And ODI-SEQ != ZeroesODI-COMPANYOIM-COMPANY, ODI-INVC-PREFIXOIM-INVC-PREFIX, ODI-INVC-NUMBEROIM-INVC-NUMBER, ODI-LINE-NBROIM-LINE-NBR, ODI-SEQOIM-SEQ
OeinvoiceOEINVOICERequiredODI-COMPANYOEI-COMPANY, ODI-INVC-PREFIXOEI-INVC-PREFIX, ODI-INVC-NUMBEROEI-INVC-NUMBER
OeproclevOEPROCLEVRequiredODI-COMPANYOEP-COMPANY, ODI-PROCESS-LEVELOEP-PROCESS-LEVEL

One to many (1) — child tables

RelationTableRulesConditionField map
SltransSLTRANSODI-GLT-OBJ-IDSLT-GLT-OBJ-ID, SLT-OBJ-ID

Programs

Updated by (1)