Data entity

MainAccountCompanyEntity

A read-only list that pairs each main account with the legal entities that use its chart of accounts. It shows the main account, the legal entity ID and the name. The key is the main account together with the legal entity.

Entity name
MainAccountCompanyEntity
Public entity name
MainAccountCompany
OData collection
MainAccountCompanies
Category
Not set
Module
General ledger
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
MainAccountId, LegalEntityId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/MainAccountCompanies
Dataverse virtual table
mserp_mainaccountcompanyentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • MainAccount · root
  • LedgerChartOfAccounts · InnerJoin to MainAccount
  • Ledger · InnerJoin to LedgerChartOfAccounts
  • OMLegalEntity · InnerJoin to Ledger

Fields (3)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
MainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
NoYesCompanyInfo.DataArea
NameName of the main account.String (60)
AccountName
YesYesMainAccount.Name

Need help with MainAccountCompanyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk