MLCONSOL – Multi Book Ledger Consolidated

System
Multi-Ledger (ML)
Prefix
MCN
Primary key
FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, LEDGER, COMPANY, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, CURRENCY-CODE
Fields
79
Updated by
14 programs
Referenced by
2 programs

MLCONSOL is the Multi Book Ledger Consolidated table in Lawson Multi-Ledger (prefix MCN). It is indexed by FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, LEDGER, COMPANY, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, CURRENCY-CODE (MCNSET1); alternate indexes: MCNSET2, MCNSET3, MCNSET4, MCNSET5, MCNSET8 and MCNSET9. It is related 1:1 to GLCHARTDTL and GLSYSTEM and 1:M to MLCONSOL, MLCUAMOUNT, MLAMOUNTS, GLNAMES and MLUNITS. It is updated by ML110, ML146, ML167, ML190, ML199, ML300, ML320, ML40.1 and 6 more and referenced by ML195 and MLRV.1. The table has 79 fields, 7 indexes and 12 documented relations.

About MLCONSOL

This file contains consolidated account balances for the MLAMOUNTS, MLCUAMOUNT, and MLUNITS. Consolidated balances are kept for summary level accounting units. The purpose of this file is for reporting summary balances. This file also stores consolidated summary level account balances for the report currencies.

Fields (79)

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

Field / columnTypeDescription & valuesUpdated by
MCN-FISCAL-YEAR PK
FISCAL_YEAR
Numeric 4This is the fiscal year of the consolidated record.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-LEVEL-DEPTH PK
LEVEL_DEPTH
Numeric 1The summary level depth. "0" = Company Level. "1" = Level 1. "2" = Level 2. "3" = Level 3. "4" = Level 4.
  • 0 Company
  • 1 Level 1
  • 2 Level 2
  • 3 Level 3
  • 4 Level 4
ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-TRANS-TYPE PK
TRANS_TYPE
Alpha 1This is the type of transaction. The consolidated records are stored for amounts, units, transaction currency , currency one, and currency two.
  • A Amounts
  • U Units
  • C Currency
  • Y Currency One
  • Z Currency Two
ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-LEDGER PK
LEDGER
Alpha 15The ledger associated with the consolidation record.ML110, ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2 +5 more
MCN-COMPANY PK
COMPANY
Numeric 4The company associated to the ledger.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-VAR-LEVELS PK
VAR_LEVELS
Alpha 30The variable level address of the summary accounting unit associated with this reord.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-ACCOUNT PK
ACCOUNT
Numeric 6This field along with the accounting unit and subaccount make up the location (account) where amounts and other account information is stored.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-SUB-ACCOUNT PK
SUB_ACCOUNT
Numeric 4This field along with the accounting unit and account make up the location (account) where amounts and other account information is stored.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-CURRENCY-CODE PK
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1).ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-DB-BEG-BAL
DB_BEG_BAL
Signed 18.2The debit beginning balance in base currencyML110, ML167, ML199, ML320
MCN-CR-BEG-BAL
CR_BEG_BAL
Signed 18.2The credit beginning balance in base currencyML110, ML167, ML199, ML320
MCN-DB-AMOUNT
DB_AMOUNT
Signed 18.2 Occurs 13 Times ×13The debit amount.ML110, ML146, ML167, ML190, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-CR-AMOUNT
CR_AMOUNT
Signed 18.2 Occurs 13 Times ×13The credit amount.ML110, ML146, ML167, ML190, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-ACCT-ND
ACCT_ND
Numeric 1Number of decimal positions in the account amounts.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-CHART-NAME
CHART_NAME
Alpha 12This is the chart of accounts when you assigned to your company structure in the General Ledger system.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more
MCN-CPAMT-DR
CPAMT_DR
DerivedThis is the current period debit amount.
MCN-CPAMT-CR
CPAMT_CR
DerivedThis is the current period credit amount.
MCN-CPAMT
CPAMT
DerivedThis is the total current period amount.
MCN-CYBAMT
CYBAMT
DerivedThis is the total current year beginning balance.
MCN-CUR-PD-SUM-C-D
CUR_PD_SUM_C_D
DerivedThis is the current period summary debit amount.
MCN-CUR-PD-SUM-C-C
CUR_PD_SUM_C_C
DerivedThis is the current period summary credit amount.
MCN-CUR-PD-SUM-C
CUR_PD_SUM_C
DerivedThis is the total current period summary amount.
MCN-CYDAMT
CYDAMT
DerivedThis is the current year-to-date amount.
MCN-CPAMT-THOU
CPAMT_THOU
DerivedThis is current period amount divided by 1000.
MCN-CYDAMT-THOU
CYDAMT_THOU
DerivedThis is the current year-to-date amount divided by 1000.
MCN-BLANK
BLANK
DerivedThis derived field is always blank. It is used in the Drill Around feature for column headings.
MCN-CYPAMT1-DR
CYPAMT1_DR
DerivedCurrent year period debit amount period 1.
MCN-CYPAMT1-CR
CYPAMT1_CR
DerivedCurrent year period credit amount period 1.
MCN-CYPAMT1
CYPAMT1
DerivedCurrent year period amount period 1.
MCN-CYPYTD1
CYPYTD1
DerivedCurrent year period year to date period 1.
MCN-CYPAMT2-DR
CYPAMT2_DR
DerivedCurrent year period debit amount period 2.
MCN-CYPAMT2-CR
CYPAMT2_CR
DerivedCurrent year period credit amount period 2.
MCN-CYPAMT2
CYPAMT2
DerivedCurrent year period amount period 2.
MCN-CYPYTD2
CYPYTD2
DerivedCurrent year period year to date period 2.
MCN-CYPAMT3-DR
CYPAMT3_DR
DerivedCurrent year period debit amount period 3.
MCN-CYPAMT3-CR
CYPAMT3_CR
DerivedCurrent year period credit amount period 3.
MCN-CYPAMT3
CYPAMT3
DerivedCurrent year period amount period 3.
MCN-CYPYTD3
CYPYTD3
DerivedCurrent year period year to date period 3.
MCN-CYPAMT4-DR
CYPAMT4_DR
DerivedCurrent year period debit amount period 4.
MCN-CYPAMT4-CR
CYPAMT4_CR
DerivedCurrent year period credit amount period 4.
MCN-CYPAMT4
CYPAMT4
DerivedCurrent year period amount period 4.
MCN-CYPYTD4
CYPYTD4
DerivedCurrent year period year to date period 4.
MCN-CYPAMT5-DR
CYPAMT5_DR
DerivedCurrent year period debit amount period 5.
MCN-CYPAMT5-CR
CYPAMT5_CR
DerivedCurrent year period credit amount period 5.
MCN-CYPAMT5
CYPAMT5
DerivedCurrent year period amount period 5.
MCN-CYPYTD5
CYPYTD5
DerivedCurrent year period year to date period 5.
MCN-CYPAMT6-DR
CYPAMT6_DR
DerivedCurrent year period debit amount period 6.
MCN-CYPAMT6-CR
CYPAMT6_CR
DerivedCurrent year period credit amount period 6.
MCN-CYPAMT6
CYPAMT6
DerivedCurrent year period amount period 6.
MCN-CYPYTD6
CYPYTD6
DerivedCurrent year period year to date period 6.
MCN-CYPAMT7-DR
CYPAMT7_DR
DerivedCurrent year period debit amount period 7.
MCN-CYPAMT7-CR
CYPAMT7_CR
DerivedCurrent year period credit amount period 7.
MCN-CYPAMT7
CYPAMT7
DerivedCurrent year period amount period 7.
MCN-CYPYTD7
CYPYTD7
DerivedCurrent year period year to date period 7.
MCN-CYPAMT8-DR
CYPAMT8_DR
DerivedCurrent year period debit amount period 8.
MCN-CYPAMT8-CR
CYPAMT8_CR
DerivedCurrent year period credit amount period 8.
MCN-CYPAMT8
CYPAMT8
DerivedCurrent year period amount period 8.
MCN-CYPYTD8
CYPYTD8
DerivedCurrent year period year to date period 8.
MCN-CYPAMT9-DR
CYPAMT9_DR
DerivedCurrent year period debit amount period 9.
MCN-CYPAMT9-CR
CYPAMT9_CR
DerivedCurrent year period credit amount period 9.
MCN-CYPAMT9
CYPAMT9
DerivedCurrent year period amount period 9.
MCN-CYPYTD9
CYPYTD9
DerivedCurrent year period year to date period 9.
MCN-CYPAMT10-DR
CYPAMT10_DR
DerivedCurrent year period debit amount period 10.
MCN-CYPAMT10-CR
CYPAMT10_CR
DerivedCurrent year period credit amount period 10.
MCN-CYPAMT10
CYPAMT10
DerivedCurrent year period amount period 10.
MCN-CYPYTD10
CYPYTD10
DerivedCurrent year period year to date period 10.
MCN-CYPAMT11-DR
CYPAMT11_DR
DerivedCurrent year period debit amount period 11.
MCN-CYPAMT11-CR
CYPAMT11_CR
DerivedCurrent year period credit amount period 11.
MCN-CYPAMT11
CYPAMT11
DerivedCurrent year period amount period 11.
MCN-CYPYTD11
CYPYTD11
DerivedCurrent year period year to date period 11.
MCN-CYPAMT12-DR
CYPAMT12_DR
DerivedCurrent year period debit amount period 12.
MCN-CYPAMT12-CR
CYPAMT12_CR
DerivedCurrent year period credit amount period 12.
MCN-CYPAMT12
CYPAMT12
DerivedCurrent year period amount period 12.
MCN-CYPYTD12
CYPYTD12
DerivedCurrent year period year to date period 12.
MCN-CYPAMT13-DR
CYPAMT13_DR
DerivedCurrent year period debit amount period 13.
MCN-CYPAMT13-CR
CYPAMT13_CR
DerivedCurrent year period credit amount period 13.
MCN-CYPAMT13
CYPAMT13
DerivedCurrent year period amount period 13.
MCN-CYPYTD13
CYPYTD13
DerivedCurrent year period year to date period 13.
MCN-PARENT-VAR-LEV
PARENT_VAR_LEV
Alpha 30The variable level address of the parent accounting unit.ML146, ML167, ML190, ML199, ML320, ML40.1, ML40.2, ML40.3 +4 more

Indexes (7)

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

IndexKeysFlagsConditionUsed in
MCNSET1FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, LEDGER, COMPANY, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, CURRENCY-CODEPrimaryML110, ML146, ML167, ML190, ML195, ML199, ML40.1, ML40.2 +6 more
MCNSET2FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, LEDGER, COMPANY, ACCOUNT, SUB-ACCOUNT, VAR-LEVELS, CURRENCY-CODEML195, ML199, ML320, MLRV.1
MCNSET3FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, ACCOUNT, SUB-ACCOUNT, VAR-LEVELS, LEDGER, COMPANY, CURRENCY-CODEMLRV.1
MCNSET4FISCAL-YEAR, LEVEL-DEPTH, TRANS-TYPE, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, LEDGER, COMPANY, CURRENCY-CODEMLRV.1
MCNSET5LEDGER, COMPANY, TRANS-TYPE, FISCAL-YEAR, VAR-LEVELS, ACCOUNT, SUB-ACCOUNT, CURRENCY-CODE, LEVEL-DEPTHML110, ML300
MCNSET8PARENT-VAR-LEV, TRANS-TYPE, LEDGER, COMPANY, ACCOUNT, SUB-ACCOUNT, FISCAL-YEAR, LEVEL-DEPTH, VAR-LEVELS, CURRENCY-CODE
MCNSET9VAR-LEVELS, TRANS-TYPE, LEDGER, COMPANY, ACCOUNT, SUB-ACCOUNT, FISCAL-YEAR, LEVEL-DEPTH, CURRENCY-CODE

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
Chart DetailsGLCHARTDTLRequiredMCN-CHART-NAMEGDT-CHART-NAME (GDTSET2), MCN-ACCOUNTGDT-ACCOUNT, MCN-SUB-ACCOUNTGDT-SUB-ACCOUNT
GlsystemGLSYSTEMRequiredMCN-COMPANYGLS-COMPANY

One to many (10) — child tables

RelationTableRulesConditionField map
BaseMLCONSOLMCN-VAR-LEVELSMCN-VAR-LEVELS, "A"MCN-TRANS-TYPE, MCN-LEDGERMCN-LEDGER, MCN-COMPANYMCN-COMPANY, MCN-ACCOUNTMCN-ACCOUNT, MCN-SUB-ACCOUNTMCN-SUB-ACCOUNT, MCN-FISCAL-YEARMCN-FISCAL-YEAR, MCN-LEVEL-DEPTHMCN-LEVEL-DEPTH, MCN-CURRENCY-CODE
Cam Children 1MLCUAMOUNTMCN-VAR-LEVELSMCA-PARENT-VAR-LEV, 3MCA-AMT-TYPE, MCN-LEDGERMCA-LEDGER, MCN-COMPANYMCA-COMPANY, MCN-ACCOUNTMCA-ACCOUNT, MCN-SUB-ACCOUNTMCA-SUB-ACCOUNT, MCN-FISCAL-YEARMCA-FISCAL-YEAR, MCA-ACCT-UNIT, MCA-VAR-LEVELS, MCA-CURRENCY-CODE
Cam Children 2MLCUAMOUNTMCN-VAR-LEVELSMCA-PARENT-VAR-LEV, 4MCA-AMT-TYPE, MCN-LEDGERMCA-LEDGER, MCN-COMPANYMCA-COMPANY, MCN-ACCOUNTMCA-ACCOUNT, MCN-SUB-ACCOUNTMCA-SUB-ACCOUNT, MCN-FISCAL-YEARMCA-FISCAL-YEAR, MCA-ACCT-UNIT, MCA-VAR-LEVELS, MCA-CURRENCY-CODE
ChildrenMLCONSOLMCN-VAR-LEVELSMCN-PARENT-VAR-LEV, MCN-TRANS-TYPEMCN-TRANS-TYPE, MCN-LEDGERMCN-LEDGER, MCN-COMPANYMCN-COMPANY, MCN-ACCOUNTMCN-ACCOUNT, MCN-SUB-ACCOUNTMCN-SUB-ACCOUNT, MCN-FISCAL-YEARMCN-FISCAL-YEAR, MCN-LEVEL-DEPTH, MCN-VAR-LEVELS, MCN-CURRENCY-CODE
Curr 1MLCONSOLMCN-VAR-LEVELSMCN-VAR-LEVELS, "Y"MCN-TRANS-TYPE, MCN-LEDGERMCN-LEDGER, MCN-COMPANYMCN-COMPANY, MCN-ACCOUNTMCN-ACCOUNT, MCN-SUB-ACCOUNTMCN-SUB-ACCOUNT, MCN-FISCAL-YEARMCN-FISCAL-YEAR, MCN-LEVEL-DEPTHMCN-LEVEL-DEPTH, MCN-CURRENCY-CODE
Curr 2MLCONSOLMCN-VAR-LEVELSMCN-VAR-LEVELS, "Z"MCN-TRANS-TYPE, MCN-LEDGERMCN-LEDGER, MCN-COMPANYMCN-COMPANY, MCN-ACCOUNTMCN-ACCOUNT, MCN-SUB-ACCOUNTMCN-SUB-ACCOUNT, MCN-FISCAL-YEARMCN-FISCAL-YEAR, MCN-LEVEL-DEPTHMCN-LEVEL-DEPTH, MCN-CURRENCY-CODE
Gam ChildrenMLAMOUNTSMCN-VAR-LEVELSMLA-PARENT-VAR-LEV, MCN-LEDGERMLA-LEDGER, MCN-COMPANYMLA-COMPANY, MCN-ACCOUNTMLA-ACCOUNT, MCN-SUB-ACCOUNTMLA-SUB-ACCOUNT, MCN-FISCAL-YEARMLA-FISCAL-YEAR, MLA-ACCT-UNIT
GlnamesGLNAMESRequiredMCN-COMPANYGLN-COMPANY, MCN-VAR-LEVELSGLN-VAR-LEVELS, GLN-ACCT-UNIT
Mlu ChildrenMLUNITSMCN-VAR-LEVELSMLU-PARENT-VAR-LEV, MCN-LEDGERMLU-LEDGER, MCN-COMPANYMLU-COMPANY, MCN-ACCOUNTMLU-ACCOUNT, MCN-SUB-ACCOUNTMLU-SUB-ACCOUNT, MCN-FISCAL-YEARMLU-FISCAL-YEAR, MLU-ACCT-UNIT
ParentMLCONSOLMCN-PARENT-VAR-LEVMCN-VAR-LEVELS, MCN-TRANS-TYPEMCN-TRANS-TYPE, MCN-LEDGERMCN-LEDGER, MCN-COMPANYMCN-COMPANY, MCN-ACCOUNTMCN-ACCOUNT, MCN-SUB-ACCOUNTMCN-SUB-ACCOUNT, MCN-FISCAL-YEARMCN-FISCAL-YEAR, MCN-LEVEL-DEPTH, MCN-CURRENCY-CODE

Programs

Updated by (14)

Referenced by (2)