MLTRANSREL – ML Transaction Interface

System
Multi-Ledger (ML)
Prefix
MTR
Primary key
RUN-GROUP, SEQ-NUMBER
Fields
37
Updated by
2 programs
Referenced by
1 program

MLTRANSREL is the ML Transaction Interface table in Lawson Multi-Ledger (prefix MTR). It is indexed by RUN-GROUP, SEQ-NUMBER (MTRSET1); alternate indexes: MTRSET2 and MTRSET3. It is related 1:1 to GLSYSTEM, CUCODES, GLCOMPREL and GLCODES. It is updated by ML165 and ML65.1 and referenced by ML265. The table has 37 fields, 3 indexes and 5 documented relations.

About MLTRANSREL

The Multi Book Ledger Transaction Interface file (MLTRANSREL) contains the information needed to create transaction within the Lawson General Ledger system when interfacing a non-Lawson application transaction file. You can view and modify the contents of MLTRANSREL by using Transaction Interface Maintenance (ML65.1).

Fields (37)

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

Field / columnTypeDescription & valuesUpdated by
MTR-RUN-GROUP PK
RUN_GROUP
Alpha 15Run Group and Seq Number are the keys to the MLTRANSREL file. They should be used to group records together for interfacing.ML165, ML65.1
MTR-SEQ-NUMBER PK
SEQ_NUMBER
Numeric 6A unique number assigned to each transaction to be transferred into the Lawson system.ML165, ML65.1
MTR-LEDGER
LEDGER
Alpha 15This is the ledger into which the transactions are to be interfaced. It must be defined using Ledger Setup (ML10.1).ML165, ML65.1
MTR-COMPANY
COMPANY
Numeric 4This is the company into which the transactions are to be interfaced. It must be defined using Company (GL10.1), and linked with the ledger on Ledger Setup (ML10.1).ML165, ML65.1
MTR-OLD-COMPANY
OLD_COMPANY
Alpha 35The old company structure from which the records are interfaced.ML165, ML65.1
MTR-OLD-CPY-SHORT
OLD_CPY_SHORT
DerivedA short description for the old company.
MTR-STRING-COMPANY
STRING_COMPANY
DerivedThis is a derived string represented the old company.
MTR-OLD-ACCT-NBR
OLD_ACCT_NBR
Alpha 25This is the old account number to be associated with the new account/subaccount within the Lawson system.ML165, ML65.1
MTR-OLD-ACCT-SHORT
OLD_ACCT_SHORT
DerivedA short description of the old account.
MTR-SOURCE-CODE
SOURCE_CODE
Alpha 2A two-character code assigned to a transaction to identify where the transaction was created.ML165, ML65.1
MTR-DATE
DATE
Numeric 8 (yyyymmdd)Displays the system creation date.ML165, ML65.1
MTR-REFERENCE
REFERENCE
Alpha 10 (Lower Case)The reference number associated with the transaction.ML165, ML65.1
MTR-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Displays the transaction description.ML165, ML65.1
MTR-CURRENCY-CODE
CURRENCY_CODE
Alpha 5Displays the transaction currency code.ML165, ML65.1
MTR-UNITS-AMOUNT
UNITS_AMOUNT
Signed 15.2Displays the transaction unit amount.ML165, ML65.1
MTR-TRAN-AMOUNT
TRAN_AMOUNT
Signed 18.2Displays the transaction amount in transaction currencyML165, ML65.1
MTR-BASE-AMOUNT
BASE_AMOUNT
Signed 18.2Displays the transaction amount in base currency. If left blank, the interfacing program will use the currency routine to calculate the base amount using the transaction amount and transaction currency exchange rate.ML165, ML65.1
MTR-BASERATE
BASERATE
Signed 14.7Displays the exchange rate between the transaction currency and the base currency. If left blank, the currency table exchange rate will default.ML165, ML65.1
MTR-SYSTEM
SYSTEM
Alpha 2A two-character code representing an application used within the Lawson system (for example, ML).ML165, ML65.1
MTR-PROGRAM-CODE
PROGRAM_CODE
Alpha 5A program code used to identify where a transaction was created.ML165, ML65.1
MTR-AUTO-REV
AUTO_REV
Alpha 1Auto reversal is the process of reversing the transaction. If you select auto reverse, Ledger Period Closing (ML199) creates a reversing journal entry in the next period for this transaction. Valid values are:
  • Y Yes
  • N No
ML165, ML65.1
MTR-POSTING-DATE
POSTING_DATE
Numeric 8 (yyyymmdd)The date assigned to the journal entry for posting.ML165, ML65.1
MTR-DOCUMENT-NBR
DOCUMENT_NBR
Alpha 27Displays the document number associated with the transaction.ML165, ML65.1
MTR-TO-BASE-AMT
TO_BASE_AMT
Signed 18.2Displays the To Company base amount.ML165, ML65.1
MTR-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12Displays the journal book associated with the transaction.ML165, ML65.1
MTR-JBK-SEQ-NBR
JBK_SEQ_NBR
Numeric 10Displays the journal book sequence number associated with the transaction.ML165, ML65.1
MTR-MX-VALUE
MX_VALUE
Alpha 32 Occurs 3 Times ×3Contains the attribute value associated with the transaction.ML165, ML65.1
MTR-MX-VALUE1
MX_VALUE1
DerivedThe attribute value associated with the transaction.
MTR-MX-VALUE2
MX_VALUE2
DerivedThe attribute value associated with the transaction.
MTR-MX-VALUE3
MX_VALUE3
DerivedThe attribute value associated with the transaction.
MTR-NEGATIVE-ADJ
NEGATIVE_ADJ
Alpha 1Indicates a negative adjustment for auto-reversing interfaced transactions; used if you have defined your company as requiring single type accounts.ML65.1
MTR-RPT-AMOUNT-1
RPT_AMOUNT_1
Signed 18.2Displays the transaction amount in Report Currency 1.ML165, ML65.1
MTR-RPT-RATE-1
RPT_RATE_1
Signed 14.7Displays the exchange rate between the transaction currency and Report Currency 1.ML165, ML65.1
MTR-RPT-ND-1
RPT_ND_1
Numeric 1Contains the number of decimal positions for Report Currency 1.ML165, ML65.1
MTR-RPT-AMOUNT-2
RPT_AMOUNT_2
Signed 18.2Displays the transaction amount in Report Currency 2.ML165, ML65.1
MTR-RPT-RATE-2
RPT_RATE_2
Signed 14.7Displays the exchange rate between the transaction currency and Report Currency 2.ML165, ML65.1
MTR-RPT-ND-2
RPT_ND_2
Numeric 1Contains the number of decimal positions for Report Currency 2.ML165, ML65.1

Indexes (3)

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

IndexKeysFlagsConditionUsed in
MTRSET1RUN-GROUP, SEQ-NUMBERPrimaryML165, ML265, ML65.1
MTRSET2LEDGER, COMPANY, OLD-COMPANY, OLD-ACCT-NBR, RUN-GROUP, SEQ-NUMBERKeyChangeML165
MTRSET3RUN-GROUP, LEDGER, COMPANY, OLD-COMPANY, OLD-ACCT-NBR, SEQ-NUMBERKeyChangeML165

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
CompanyGLSYSTEMRequiredMTR-COMPANYGLS-COMPANY
Currency CodeCUCODESNot RequiredMTR-CURRENCY-CODECUC-CURRENCY-CODE
Old CompanyGLCOMPRELRequiredMTR-OLD-COMPANYGCR-OLD-COMPANY
Source CodeGLCODESNot RequiredMTR-SOURCE-CODEGCD-SOURCE-CODE
System CodeGLCODESNot RequiredMTR-COMPANYGCD-COMPANY, MTR-SYSTEMGCD-SYSTEM

Programs

Updated by (2)

Referenced by (1)