Data entity

LedgerEntity

Lists ledgers, one per legal entity, keyed by legal entity ID. It shows the accounting and reporting currencies, the fiscal calendar, the chart of accounts and the exchange rate types. It also shows the budget control flag and the balancing financial dimension. Calculated fields add the account structure names and the gain and loss accounts.

Entity name
LedgerEntity
Public entity name
Ledger
OData collection
Ledgers
Category
Parameters
Module
General ledger
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
LegalEntityId
Staging table
LedgerEntityStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/Ledgers
Dataverse virtual table
mserp_ledgerentity. 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 · root
  • CompanyInfo · InnerJoin to Ledger · read-only
  • FiscalCalendar · OuterJoin to Ledger · read-only
  • LedgerChartOfAccounts · OuterJoin to Ledger · read-only
  • DefaultExchangeRateType (table ExchangeRateType) · OuterJoin to Ledger · read-only
  • BudgetExchangeRateType (table ExchangeRateType) · OuterJoin to Ledger · read-only
  • LedgerInterunitDimensionAttribute · OuterJoin to Ledger
  • InterunitDimensionAttribute (table DimensionAttribute) · OuterJoin to LedgerInterunitDimensionAttribute · read-only
  • ReportingCurrencyExchangeRateType (table ExchangeRateType) · OuterJoin to Ledger · read-only

Fields (46)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingCurrencyCurrency code used as the main currency of the ledger.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeLedger.AccountingCurrency
ReportingCurrencyCurrency code used for reporting amounts.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeLedger.ReportingCurrency
DescriptionFree-text description of the ledger.String (60)
Description
NoYesLedger.Description
FiscalCalendarShort code that identifies the fiscal calendar. It is the key of the table.String
FiscalCalendarID
YesYesFiscalCalendar.CalendarId
FiscalCalendarRecIdLink to the fiscal calendar that the ledger uses.Int64
FiscalCalendarRecId
YesNo (private)FiscalCalendar.RecIdLedger.FiscalCalendar
ExchangeRateTypeName of the exchange rate type. It is the key of the table.String (20)
ExchangeRateTypeName
NoYesExchangeRateType.Name
ExchangeRateTypeRecIdLink to the exchange rate type used by default.Int64
RefRecId
NoNo (private)ExchangeRateType.RecIdLedger.DefaultExchangeRateType
BudgetExchangeRateTypeName of the exchange rate type. It is the key of the table.String (20)
ExchangeRateTypeName
NoYesExchangeRateType.Name
BudgetExchangeRateTypeRecIdLink to the exchange rate type used by default for budgets.Int64
RefRecId
NoNo (private)ExchangeRateType.RecIdLedger.BudgetExchangeRateType
IsBudgetControlEnabledYes/No flag showing whether budget control is turned on for the ledger.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedger.IsBudgetControlEnabled
ChartOfAccountsName of the chart of accounts. It is the key of the table.String (60)
LedgerChartOfAccountsName
YesYesLedgerChartOfAccounts.Name
ChartOfAccountsRecIdLink to the chart of accounts that the ledger uses.Int64
RefRecId
NoYesLedgerChartOfAccounts.RecIdLedger.ChartOfAccounts
NameName of the ledger. It is the key of the table.String (20)
LedgerName
NoYesLedger.Name
PrimaryForLegalEntityRecIdLink to the legal entity for which this ledger is the primary one.Int64
RefRecId
NoNo (private)CompanyInfo.RecIdLedger.PrimaryForLegalEntity
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
BalancingFinancialDimensionRecIdPoints to the dimension attribute chosen for the ledger.Int64
DimensionAttributeRecId
NoNo (private)DimensionAttribute.RecIdLedgerInterunitDimensionAttribute.DimensionAttribute
BalancingFinancialDimensionName of the dimension. It is the key of the table.String (60)
Name
NoYesDimensionAttribute.Name
AccountStructureName1Name of the first account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName2Name of the second account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName3Name of the third account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName4Name of the fourth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName5Name of the fifth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName6Name of the sixth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName7Name of the seventh account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName8Name of the eighth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName9Name of the ninth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName10Name of the tenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName11Name of the eleventh account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName12Name of the twelfth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName13Name of the thirteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName14Name of the fourteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName15Name of the fifteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName16Name of the sixteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName17Name of the seventeenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName18Name of the eighteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName19Name of the nineteenth account structure linked to the ledger.String (60)
Name
NoYescomputed
AccountStructureName20Name of the twentieth account structure linked to the ledger.String (60)
Name
NoYescomputed
LedgerRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLedger.RecId
MainAccountIdRealizedGainMain account number used for realized gains.String (20)
MainAccountNum
NoYesvirtual
MainAccountIdRealizedLossMain account number used for realized losses.String (20)
MainAccountNum
NoYesvirtual
MainAccountIdUnrealizedGainMain account number used for unrealized gains.String (20)
MainAccountNum
NoYesvirtual
MainAccountIdUnrealizedLossMain account number used for unrealized losses.String (20)
MainAccountNum
NoYesvirtual
MainAccountIdFinancialGainMain account number used for unrealized financial gains.String (20)
MainAccountNum
NoYesvirtual
MainAccountIdFinancialLossMain account number used for unrealized financial losses.String (20)
MainAccountNum
NoYesvirtual
ReportingCurrencyExchangeRateTypeName of the exchange rate type. It is the key of the table.String (20)
ExchangeRateTypeName
NoYesExchangeRateType.Name
ReportingCurrencyExchangeRateTypeRecIdLink to the exchange rate type used to convert amounts to the reporting currency.Int64
RefRecId
NoNo (private)ExchangeRateType.RecIdLedger.ReportingCurrencyExchangeRateType

Foreign keys (9)

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.

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

Email sales@drdynamics.co.uk