Table

MainAccountConsolidateAccount

Main account consolidation account

Links a main account to the consolidation account used in a consolidation account group. It has no defined key. It also holds the name of the consolidation account and a Mexican statement level.

Table name
MainAccountConsolidateAccount
Module
Financial dimensions
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Ledger

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ConsolidateAccountGroupPoints to the consolidation account group.Int64
LedgerConsolidateAccountGroupRecId
YesLedgerConsolidateAccountGroup.RecIdMainAccountConsolidateAccountCDREntity
ConsolidationMainAccountCode of the main account used as the consolidation account.String (20)
LedgerConsolidateMainAccount
YesMainAccountConsolidateAccountCDREntityLedgerConsolidateAccountGroupEntity
MainAccountPoints to the main account that is mapped.Int64
RefRecId
YesMainAccount.RecIdMainAccountConsolidateAccountCDREntity
NameName of the consolidation account.String (60)
Name
NoMainAccountConsolidateAccountCDREntityLedgerConsolidateAccountGroupEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoMainAccountConsolidateAccountCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
STULevel_MXAccounting statement level code, used for Mexico.Integer
LedgerSTULevel_MX
NoMainAccountConsolidateAccountCDREntityLedgerConsolidateAccountGroupEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins MainAccountConsolidateAccount to another table on the fields shown.

  • LedgerConsolidateAccountGroup → LedgerConsolidateAccountGroup

    Join on ConsolidateAccountGroup = LedgerConsolidateAccountGroup.RecId

    Many MainAccountConsolidateAccount records → exactly one LedgerConsolidateAccountGroup record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many MainAccountConsolidateAccount records → exactly one MainAccount record

Get this data out

Tables are not exposed directly. These public entities read from MainAccountConsolidateAccount; use one of them in Power BI, Power Platform or a data management project.

Need help with MainAccountConsolidateAccount in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk