Data entity
MainAccountBiEntity
Read-only list of main accounts for BI and analytics. Each record has a main account ID, a name and a chart of accounts, which together form the key. It also holds the posting type, close type, parent account, monetary flag and exchange rate and revaluation settings.
- Entity name
MainAccountBiEntity- Public entity name
MainAccountBiEntity- OData collection
MainAccountBiEntities- Category
Not set- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
LedgerBasic- Keys
MainAccountId, LedgerChartOfAccounts- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MainAccountBiEntities- Dataverse virtual table
mserp_mainaccountbientity. 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 · read-only
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountCategoryRefPoints to the main account category of the account. | IntegerAccountCategoryRef | No | Yes | MainAccountCategory.AccountCategoryRef | MainAccount.AccountCategoryRef |
AdjustmentMethod_MXAdjustment method for the account, such as transaction date or monthly balance. Used for Mexico. | Enum
| No | Yes | MainAccount.AdjustmentMethod_MX | |
CloseTypeClose type of the account: not applicable, real, nominal or nominal with no close. | Enum
| No | Yes | MainAccount.CloseType | |
ClosingClosing choice for the account: none, result, balance or capital. | Enum
| No | Yes | MainAccount.Closing | |
ConsolidationMainAccountDefault main account used for consolidation, as text. | String (20)LedgerConsolidateMainAccount | No | Yes | MainAccount.ConsolidationMainAccount | |
SysCreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | MainAccount.CreatedBy | |
SysCreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | MainAccount.CreatedDateTime | |
CurrencyCodeCurrency code linked to the account. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | MainAccount.CurrencyCode |
DebitCreditBalanceDemandBalance control choice: none, debit or credit. | EnumDebCredBalanceDemand
| No | Yes | MainAccount.DebitCreditBalanceDemand | |
DebitCreditCheckDebit or credit requirement for the account: none, debit or credit. | Enum
| No | Yes | MainAccount.DebitCreditCheck | |
DebitCreditProposalDebit or credit side suggested for the account: none, debit or credit. | Enum
| No | Yes | MainAccount.DebitCreditProposal | |
ExchangeAdjustedYes/no flag for foreign currency revaluation of the account. | Enum
| No | Yes | MainAccount.ExchangeAdjusted | |
ExchangeAdjustmentRateTypePoints to the exchange rate type used for adjustment. | Int64ExchangeRateTypeRecId | No | Yes | ExchangeRateType.RecId | MainAccount.ExchangeAdjustmentRateType |
FinancialReportingExchangeRateTypePoints to the exchange rate type used for financial reporting. | Int64ExchangeRateTypeRecId | No | Yes | ExchangeRateType.RecId | MainAccount.FinancialReportingExchangeRateType |
FinancialReportingTranslationTypeCurrency translation type for reporting: weighted average, average, current or transaction date. | Enum
| No | Yes | MainAccount.FinancialReportingTranslationType | |
InflationAdjustment_MXYes/no flag for the B-10 inflation adjustment. Used for Mexico. | EnumInflationAdjustment_MX
| No | Yes | MainAccount.InflationAdjustment_MX | |
LedgerChartOfAccountsPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | Yes | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
MainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
MainAccountTemplatePoints to the main account template linked to the account. | Int64RefRecId | No | Yes | MainAccountTemplate.RecId | MainAccount.MainAccountTemplate |
MandatoryPaymentReferenceYes/no flag that shows whether a payment reference is mandatory. | Enum
| No | Yes | MainAccount.MandatoryPaymentReference | |
SysModifiedByThe user who last changed the record. | String (20)ModifiedBy | No | Yes | MainAccount.ModifiedBy | |
SysModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | MainAccount.ModifiedDateTime | |
MonetaryYes/no flag that shows whether the account is monetary. | EnumLedgerMonetary
| No | Yes | MainAccount.Monetary | |
NameName of the main account. | String (60)AccountName | Yes | Yes | MainAccount.Name | |
OffsetLedgerDimensionPoints to a dimension code combination used as the offset account. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | MainAccount.OffsetLedgerDimension |
OpeningAccountPoints to another main account used as the opening account. | Int64MainAccountRecId | No | Yes | MainAccount.RecId | MainAccount.OpeningAccount |
ParentMainAccountPoints to the parent main account. | Int64MainAccountRecId | No | Yes | MainAccount.RecId | MainAccount.ParentMainAccount |
PostingTypePosting type assigned to the account, such as exchange rate gain, sales tax or allocation. | Enum
| No | Yes | MainAccount.PostingType | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | MainAccount.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | MainAccount.RecVersion | |
RepomoType_MXREPOMO type: not applicable, asset or liability. Used for Mexico. | Enum
| No | Yes | MainAccount.RepomoType_MX | |
ReportingAccountTypeReporting type of the account, such as none, header, empty header or page header. | Enum
| No | Yes | MainAccount.ReportingAccountType | |
ReportingExchangeAdjustmentRateTypePoints to the exchange rate type for adjusting in the reporting currency. | Int64ExchangeRateTypeRecId | No | Yes | ExchangeRateType.RecId | MainAccount.ReportingExchangeAdjustmentRateType |
SRUCodeSRU code of the account (up to 4 characters). | String (4)LedgerSRUCode | No | Yes | MainAccount.SRUCode | |
StandardMainAccount_WPoints to the standard general ledger account. | Int64RefRecId | No | Yes | StandardMainAccount_W.RecId | MainAccount.StandardMainAccount_W |
TransferYearEndAccount_ESPoints to the main account used for transferring the year-end result. Used for Spain. | Int64MainAccountRecId | No | Yes | MainAccount.RecId | MainAccount.TransferYearEndAccount_ES |
TypeMain account type, such as profit and loss, revenue, expense, balance sheet or asset. | Enum
| No | Yes | MainAccount.Type | |
UnitOfMeasurePoints to the unit of measure linked to the account. | Int64UnitOfMeasureRecId | No | Yes | UnitOfMeasure.RecId | MainAccount.UnitOfMeasure |
UserInfoIdUser ID linked to the account.low confidence | StringUserId | No | Yes | MainAccount.UserInfoId | |
ValidateCurrencyRule for the currency code: optional, required, or limited to one or several valid options. | Enum
| No | Yes | MainAccount.ValidateCurrency | |
ValidatePostingRule for validating posting: optional, required, or limited to one or several valid options. | Enum
| No | Yes | MainAccount.ValidatePosting | |
ValidateUserRule for the user: optional, required, or limited to one or several valid options. | Enum
| No | Yes | MainAccount.ValidateUser |
Foreign keys (13)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
AccountCategoryRef→MainAccountCategory.AccountCategoryRef(key of MainAccountCategory)Many MainAccount records → zero or one MainAccountCategory record
MainAccountCategory details: see MainAccountCategoryEntity, MainAccountEntity, LedgerConsolidateAccountGroupV2Entity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many MainAccount records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ExchangeAdjustmentRateType→ExchangeRateType.RecId(key of ExchangeRateType)Many MainAccount records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
FinancialReportingExchangeRateType→ExchangeRateType.RecId(key of ExchangeRateType)Many MainAccount records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
LedgerChartOfAccounts→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, CPRediscountTableEntity
MainAccountTemplate→MainAccountTemplate.RecId(key of MainAccountTemplate)Many MainAccount records → zero or one MainAccountTemplate record
Not exposed by a public entity.
OffsetLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many MainAccount records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
OpeningAccount→MainAccount.RecId(key of MainAccount)Many MainAccount records → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
ParentMainAccount→MainAccount.RecId(key of MainAccount)Many MainAccount records → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
ReportingExchangeAdjustmentRateType→ExchangeRateType.RecId(key of ExchangeRateType)Many MainAccount records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerConfigurationEntity, LedgerEntity, MainAccountEntity
StandardMainAccount_W→StandardMainAccount_W.RecId(key of StandardMainAccount_W)Many MainAccount records → zero or one StandardMainAccount_W record
StandardMainAccount_W details: see StandardMainAccountEntity
TransferYearEndAccount_ES→MainAccount.RecId(key of MainAccount)Many MainAccount records → zero or one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, LedgerAllocationEntity
UnitOfMeasure→UnitOfMeasure.RecId(key of UnitOfMeasure)Many MainAccount records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
Need help with MainAccountBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.