LMDISTRIB – Invoice Distributitions

System
LM (LM)
Prefix
DIS
Primary key
COMPANY, PMT-VENDOR, LEASE, PMT-NBR, CANCEL-SEQ, DIST-SEQ-NBR
Fields
45
Updated by
1 program
Referenced by
0 programs

LMDISTRIB is the Invoice Distributitions table in Lawson LM (prefix DIS). It is indexed by COMPANY, PMT-VENDOR, LEASE, PMT-NBR, CANCEL-SEQ, DIST-SEQ-NBR (DISSET1); alternate indexes: DISSET2. It is related 1:1 to ACACCTCAT, ACACTIVITY, APCOMPANY, LMINVOICE and GLSYSTEM and 1:M to LMDSTRIBAU and LMINTEREST. It is updated by AP30.4. The table has 45 fields, 2 indexes and 7 documented relations.

About LMDISTRIB

No description in the Lawson data dictionary.

Fields (45)

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

Field / columnTypeDescription & valuesUpdated by
DIS-COMPANY PK
COMPANY
Numeric 4This field contains the Accounts Payable company associated with the invoice.
DIS-LEASE PK
LEASE
Alpha 19This field contains the lease number.
DIS-PMT-VENDOR PK
PMT_VENDOR
Alpha 9 (Right Justified)This field contains the vendor who receives the payment.
DIS-PMT-NBR PK
PMT_NBR
Numeric 6This is the unique number assigned to the payment. Together with the lease number, it forms the invoice number.
DIS-DIST-SEQ-NBR PK
DIST_SEQ_NBR
Numeric 6This field contains a unique sequence number assigned to the distribution record.
DIS-INVOICE
INVOICE
Alpha 22This field contains the unique invoice number associated with the lease. It consists of the lease number with the payment number as a suffix.
DIS-SUFFIX
SUFFIX
Numeric 3This field contains the invoice suffix used to make a recurring invoice instance unique.
DIS-CANCEL-SEQ PK
CANCEL_SEQ
Numeric 4An automatically assigned sequence number.AP30.4
DIS-EXEC-CODE
EXEC_CODE
Alpha 6This represents the executory code associated with the payment.
DIS-PT-COMPANY
PT_COMPANY
Numeric 4This field contains the company where the debt (capital lease) or expense (operating lease) distribution is posted.
DIS-ACCT-UNIT
ACCT_UNIT
Alpha 15This field contains the accounting unit where the debt (capital lease) or expense (operating lease) distribution is posted.
DIS-ACCOUNT
ACCOUNT
Numeric 6This field contains the account where the debt (capital lease) or expense (operating lease) distribution is posted.
DIS-SUB-ACCOUNT
SUB_ACCOUNT
Numeric 4This field contains the subaccount where the debt (capital lease) or expense (operating lease) distribution is posted.
DIS-ACTIVITY
ACTIVITY
Alpha 15This field contains the activity where the debt (capital lease) or expense (operating lease) distributions are tracked.
DIS-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5This field contains the account category for the activity where debt (capital lease) or expense (operating lease) distributions are tracked.
DIS-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field displays the description.
DIS-SEGMENT-BLOCK
SEGMENT_BLOCK
Alpha 103This field identifies the user analysis values included in the transaction. You can either type up to four values or use Define (F6) to open the User Analysis Entry subform. Use this subform to select the user analysis values you want to include in the transaction. If you choose to type values, use commas to separate them. For example: value1,value2,value3,value4 There are three conditions that affect how you can select user analysis values. See the User Analysis Entry form help or the Strategic Ledger procedures manual for additional information.
DIS-ORIG-TRAN-AMT
ORIG_TRAN_AMT
Signed 18.2This field contains the amount of the invoice distribution in the currency of the invoice (which is also the lease currency).
DIS-PCT-TRAN-AMT
PCT_TRAN_AMT
Signed 18.2
DIS-PRINCIPAL-AMT
PRINCIPAL_AMT
Signed 18.2This is the principal portion of the payment in lease currency.
DIS-INTEREST-AMT
INTEREST_AMT
Signed 18.2This is the interest portion of the payment in lease currency.
DIS-ORIG-BASE-AMT
ORIG_BASE_AMT
Signed 18.2This the total payment amount in company base currency.
DIS-PCT-BASE-AMT
PCT_BASE_AMT
Signed 18.2
DIS-BASE-PRINC-AMT
BASE_PRINC_AMT
Signed 18.2This is the principal payment amount in company base currency.
DIS-BASE-INT-AMT
BASE_INT_AMT
Signed 18.2This is the interest payment amount in company base currency.
DIS-TO-BASE-CURR
TO_BASE_CURR
Alpha 5This field contains the base currency of the debt company.
DIS-TO-BASE-ND
TO_BASE_ND
Numeric 1This field indicates the number of decimal positions defined for the debt company currency conversions.
DIS-TO-BASE-RATE
TO_BASE_RATE
Signed 14.7This is the debt company currency exchange rate.
DIS-TO-BASE-AMT
TO_BASE_AMT
Signed 18.2This is the payment amount in debt company currency.
DIS-GLT-PRN-OBJ-ID
GLT_PRN_OBJ_ID
Numeric 12This is the object ID used to drill around hrough principal transactions..
DIS-INT-CALC-FL
INT_CALC_FL
Alpha 1This flag indicates whether interest should be calculated. If the lease is a capital lease, the interest calculation flag is set to Yes.
DIS-INT-CALC-DATE
INT_CALC_DATE
Numeric 8 (yyyymmdd)This field contains the date when interest was calculated.
DIS-INT-CANCEL-FL
INT_CANCEL_FL
Alpha 1This flag indicates whether the interest calculations have been canceled. Values are: If a lease payment invoice is canceled in AP and interest calculations have already been performed for the payment, the next time LM180 is run, the interest calculation is reversed and this flag is set to Yes.
  • Y Yes
  • N No
DIS-STATUS
STATUS
Numeric 1This field indicates whether the lease is posted. Valid values are:
  • 9 Posted
  • 0 Unposted
DIS-INV-FISCAL-YR
INV_FISCAL_YR
DerivedThis field contains the lease invoice fiscal year.
DIS-INV-PERIOD
INV_PERIOD
DerivedThis field contains the lease invoice period.
DIS-ALLOC-CD
ALLOC_CD
Alpha 12
DIS-TAX-POINT
TAX_POINT
Alpha 1
DIS-TAX-INDICATOR
TAX_INDICATOR
Numeric 1
DIS-TAX-USAGE-CD
TAX_USAGE_CD
Alpha 10The tax usage coe for the vendor. This filed is required if the AP Company inidcates that VAT reporting required.
DIS-TAX-TYPE
TAX_TYPE
Alpha 1The type of tax.
DIS-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing specific tax information. This must be valid Tax Code.
DIS-TAX-RATE
TAX_RATE
Percent 7.5 (Percent)Charge rate by month.
DIS-TRAN-TAXABLE
TRAN_TAXABLE
Signed 18.2
DIS-TAX-LANDED-FL
TAX_LANDED_FL
Alpha 1

Indexes (2)

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

IndexKeysFlagsConditionUsed in
DISSET1COMPANY, PMT-VENDOR, LEASE, PMT-NBR, CANCEL-SEQ, DIST-SEQ-NBRPrimaryAP30.4
DISSET2COMPANY, LEASE, PMT-VENDOR, PMT-NBR, PT-COMPANY, ACCT-UNIT, DIST-SEQ-NBRKeyChange, SubsetWhere CANCEL-SEQ = Zeroes

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
AcacctcatACACCTCATNot RequiredDIS-ACCT-CATEGORYAAX-ACCT-CATEGORY (AAXSET1)
AcactivityACACTIVITYNot RequiredDIS-ACTIVITYACV-ACTIVITY
ApcompanyAPCOMPANYNot RequiredDIS-COMPANYCPY-COMPANY
LminvoiceLMINVOICENot RequiredDIS-COMPANYINV-COMPANY, DIS-LEASEINV-LEASE, DIS-PMT-NBRINV-PMT-NBR, DIS-PMT-VENDORINV-PMT-VENDOR, DIS-CANCEL-SEQINV-CANCEL-SEQ
Pt CompanyGLSYSTEMNot RequiredDIS-PT-COMPANYGLS-COMPANY

One to many (2) — child tables

RelationTableRulesConditionField map
LmdstribauLMDSTRIBAUDIS-COMPANYLDU-COMPANY, DIS-PMT-VENDORLDU-PMT-VENDOR, DIS-LEASELDU-LEASE, DIS-PMT-NBRLDU-PMT-NBR, DIS-CANCEL-SEQLDU-CANCEL-SEQ, DIS-DIST-SEQ-NBRLDU-DIST-SEQ-NBR, LDU-ACTION, LDU-DATE, LDU-TIME, LDU-UNIQUE-I-D
LminterestLMINTERESTDIS-COMPANYLEI-COMPANY, DIS-PMT-VENDORLEI-PMT-VENDOR, DIS-LEASELEI-LEASE, DIS-PMT-NBRLEI-PMT-NBR, DIS-CANCEL-SEQLEI-CANCEL-SEQ, DIS-DIST-SEQ-NBRLEI-DIST-SEQ-NBR, LEI-INT-SEQ-NBR

Programs

Updated by (1)