Data entity
LedgerConfigurationEntity
Holds the setup of each ledger, keyed by ledger name. It shows the legal entity, the chart of accounts, the fiscal calendar and the accounting and reporting currencies. It also shows the exchange rate types and whether the ledger is enabled for budget control. Flags such as primary ledger and managerial are included.
- Entity name
LedgerConfigurationEntity- Public entity name
LedgerConfiguration- OData collection
LedgerConfigurations- Category
Parameters- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
Name- Staging table
LedgerConfigurationEntityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LedgerConfigurations- Dataverse virtual table
mserp_ledgerconfigurationentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
Ledger· rootLedgerChartOfAccounts· OuterJoin toLedger· read-onlyFiscalCalendar· OuterJoin toLedger· read-onlyDefaultExchangeRateType(tableExchangeRateType) · OuterJoin toLedger· read-onlyBudgetExchangeRateType(tableExchangeRateType) · OuterJoin toLedger· read-onlyReportingCurrencyExchangeRateType(tableExchangeRateType) · OuterJoin toLedger· read-onlyCompanyInfo· OuterJoin toLedger· read-onlyPrimaryLedger(tableLedger) · OuterJoin toLedger· read-onlyPrimaryLedgerCompanyInfo(tableCompanyInfo) · OuterJoin toLedger· read-only
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
NameName of the ledger. It is the key of the table. | String (20)LedgerName | Yes | Yes | Ledger.Name | |
DescriptionFree-text description of the ledger. | String (60)Description | No | Yes | Ledger.Description | |
LegalEntityIdThe ID of the legal entity (company) that the ledger belongs to. | StringDataAreaId | Yes | Yes | computed | |
LedgerRoleShows whether the ledger is primary or parallel. | Enum
| No | Yes | Ledger.LedgerRole | |
LedgerLifecycleStateState of the ledger: active, draft or closed. | Enum
| No | Yes | Ledger.LedgerLifecycleState | |
IsNonPostingYes/No flag that marks a parallel ledger as managerial. | Enum
| No | Yes | Ledger.IsNonPosting | |
PrimaryLedgerNameName of the ledger. It is the key of the table. | String (20)LedgerName | Yes | Yes | Ledger.Name | |
ChartOfAccountsName of the chart of accounts. It is the key of the table. | String (60)LedgerChartOfAccountsName | Yes | Yes | LedgerChartOfAccounts.Name | |
ChartOfAccountsRecIdLink to the chart of accounts that the ledger uses. | Int64RefRecId | No | No (private) | LedgerChartOfAccounts.RecId | Ledger.ChartOfAccounts |
AccountingCurrencyCurrency code used as the main currency of the ledger. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | Ledger.AccountingCurrency |
ReportingCurrencyCurrency code used for reporting amounts. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | Ledger.ReportingCurrency |
FiscalCalendarShort code that identifies the fiscal calendar. It is the key of the table. | StringFiscalCalendarID | Yes | Yes | FiscalCalendar.CalendarId | |
FiscalCalendarRecIdLink to the fiscal calendar that the ledger uses. | Int64FiscalCalendarRecId | Yes | No (private) | FiscalCalendar.RecId | Ledger.FiscalCalendar |
DefaultExchangeRateTypeName of the exchange rate type. It is the key of the table. | String (20)ExchangeRateTypeName | No | Yes | ExchangeRateType.Name | |
DefaultExchangeRateTypeRecIdLink to the exchange rate type used by default. | Int64RefRecId | No | No (private) | ExchangeRateType.RecId | Ledger.DefaultExchangeRateType |
BudgetExchangeRateTypeName of the exchange rate type. It is the key of the table. | String (20)ExchangeRateTypeName | No | Yes | ExchangeRateType.Name | |
BudgetExchangeRateTypeRecIdLink to the exchange rate type used by default for budgets. | Int64RefRecId | No | No (private) | ExchangeRateType.RecId | Ledger.BudgetExchangeRateType |
ReportingCurrencyExchangeRateTypeName of the exchange rate type. It is the key of the table. | String (20)ExchangeRateTypeName | No | Yes | ExchangeRateType.Name | |
ReportingCurrencyExchangeRateTypeRecIdLink to the exchange rate type used to convert amounts to the reporting currency. | Int64RefRecId | No | No (private) | ExchangeRateType.RecId | Ledger.ReportingCurrencyExchangeRateType |
IsBudgetControlEnabledYes/No flag showing whether budget control is turned on for the ledger. | Enum
| No | Yes | Ledger.IsBudgetControlEnabled | |
LedgerRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | Ledger.RecId |
Foreign keys (7)
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.
ChartOfAccountsRecId→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many Ledger records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, CPRediscountTableEntity
AccountingCurrency→Currency.CurrencyCode(key of Currency)Many Ledger records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ReportingCurrency→Currency.CurrencyCode(key of Currency)Many Ledger records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
FiscalCalendarRecId→FiscalCalendar.RecId(key of FiscalCalendar)Many Ledger records → exactly one FiscalCalendar record
FiscalCalendar details: see LedgerFiscalYearEntity, BudgetTrackingWorkspaceParametersEntity, FiscalCalendarEntity
DefaultExchangeRateTypeRecId→ExchangeRateType.RecId(key of ExchangeRateType)Many Ledger records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerEntity, MainAccountEntity, BankAccountEntity
BudgetExchangeRateTypeRecId→ExchangeRateType.RecId(key of ExchangeRateType)Many Ledger records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerEntity, MainAccountEntity, BankAccountEntity
ReportingCurrencyExchangeRateTypeRecId→ExchangeRateType.RecId(key of ExchangeRateType)Many Ledger records → zero or one ExchangeRateType record
ExchangeRateType details: see LedgerEntity, MainAccountEntity, BankAccountEntity
Need help with LedgerConfigurationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.