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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountCategoryRefPoints to the main account category of the account.Integer
AccountCategoryRef
NoYesMainAccountCategory.AccountCategoryRefMainAccount.AccountCategoryRef
AdjustmentMethod_MXAdjustment method for the account, such as transaction date or monthly balance. Used for Mexico.Enum
AdjustmentMethod_MX
  • None 0
  • TransactionDate 1
  • OpenBalance 2
  • MonthlyBalance 3
  • Balance 4
NoYesMainAccount.AdjustmentMethod_MX
CloseTypeClose type of the account: not applicable, real, nominal or nominal with no close.Enum
AccountCloseType
  • NotApplicable 0
  • Real 1
  • Nominal 2
  • NominalNoClose 3
NoYesMainAccount.CloseType
ClosingClosing choice for the account: none, result, balance or capital.Enum
LedgerClosing
  • None 0
  • Result 1
  • BalanceSheet 2
  • Capital 3
NoYesMainAccount.Closing
ConsolidationMainAccountDefault main account used for consolidation, as text.String (20)
LedgerConsolidateMainAccount
NoYesMainAccount.ConsolidationMainAccount
SysCreatedByThe user who created the record.String (20)
CreatedBy
NoYesMainAccount.CreatedBy
SysCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesMainAccount.CreatedDateTime
CurrencyCodeCurrency code linked to the account.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeMainAccount.CurrencyCode
DebitCreditBalanceDemandBalance control choice: none, debit or credit.Enum
DebCredBalanceDemand
DebCredProposal
  • None 0
  • Debit 1
  • Credit 2
NoYesMainAccount.DebitCreditBalanceDemand
DebitCreditCheckDebit or credit requirement for the account: none, debit or credit.Enum
DebCredProposal
  • None 0
  • Debit 1
  • Credit 2
NoYesMainAccount.DebitCreditCheck
DebitCreditProposalDebit or credit side suggested for the account: none, debit or credit.Enum
DebCredProposal
  • None 0
  • Debit 1
  • Credit 2
NoYesMainAccount.DebitCreditProposal
ExchangeAdjustedYes/no flag for foreign currency revaluation of the account.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesMainAccount.ExchangeAdjusted
ExchangeAdjustmentRateTypePoints to the exchange rate type used for adjustment.Int64
ExchangeRateTypeRecId
NoYesExchangeRateType.RecIdMainAccount.ExchangeAdjustmentRateType
FinancialReportingExchangeRateTypePoints to the exchange rate type used for financial reporting.Int64
ExchangeRateTypeRecId
NoYesExchangeRateType.RecIdMainAccount.FinancialReportingExchangeRateType
FinancialReportingTranslationTypeCurrency translation type for reporting: weighted average, average, current or transaction date.Enum
FinancialReportingTranslationType
  • WeightedAverage 0
  • StandardAverage 1
  • Current 2
  • TransactionDate 3
NoYesMainAccount.FinancialReportingTranslationType
InflationAdjustment_MXYes/no flag for the B-10 inflation adjustment. Used for Mexico.Enum
InflationAdjustment_MX
NoYes

Platform enum: values not in the metadata extract.

NoYesMainAccount.InflationAdjustment_MX
LedgerChartOfAccountsPoints to the chart of accounts that the account belongs to.Int64
RefRecId
YesYesLedgerChartOfAccounts.RecIdMainAccount.LedgerChartOfAccounts
MainAccountIdMain account number, part of the key.String (20)
MainAccountNum
YesYesMainAccount.MainAccountId
MainAccountTemplatePoints to the main account template linked to the account.Int64
RefRecId
NoYesMainAccountTemplate.RecIdMainAccount.MainAccountTemplate
MandatoryPaymentReferenceYes/no flag that shows whether a payment reference is mandatory.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesMainAccount.MandatoryPaymentReference
SysModifiedByThe user who last changed the record.String (20)
ModifiedBy
NoYesMainAccount.ModifiedBy
SysModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesMainAccount.ModifiedDateTime
MonetaryYes/no flag that shows whether the account is monetary.Enum
LedgerMonetary
NoYes

Platform enum: values not in the metadata extract.

NoYesMainAccount.Monetary
NameName of the main account.String (60)
AccountName
YesYesMainAccount.Name
OffsetLedgerDimensionPoints to a dimension code combination used as the offset account.Int64
LedgerDimensionDefaultAccount
NoYesDimensionAttributeValueCombination.RecIdMainAccount.OffsetLedgerDimension
OpeningAccountPoints to another main account used as the opening account.Int64
MainAccountRecId
NoYesMainAccount.RecIdMainAccount.OpeningAccount
ParentMainAccountPoints to the parent main account.Int64
MainAccountRecId
NoYesMainAccount.RecIdMainAccount.ParentMainAccount
PostingTypePosting type assigned to the account, such as exchange rate gain, sales tax or allocation.Enum
LedgerPostingType
  • None 0
  • ExchRateGain 1
  • ExchRateLoss 2
  • InterCompany 3
  • Tax 4
  • VATRoundOff 5
  • Allocation 6
  • InvestmentDuty 7
  • Liquidity 8
  • MSTDiffSecond 9
  • ErrorAccount 10
  • MSTDiff 11
  • YearResult 12
  • Closing 13
  • LedgerJournal 14
  • CashDiscount 15
  • ConsolidateDiffBalance 16
  • PaymentFee 17
  • TaxReport 18
  • TransferOpeningClosing 19
  • Bank 20
  • ConversionProfit 21
  • ConversionLoss 22
  • TaxWithhold 23
  • ConsolidateDiffProfitLoss 24
  • IndirectEstimatedAbsorptionOffset 25
  • IndirectAbsorption 26
  • IndirectAbsorptionOffset 27
  • FreeTextInvoice 28
  • ConversionReportingLoss 29
  • ConversionReportingProfit 30
  • CustBalance 31
  • CustRevenue 32
  • CustInterest 33
  • CustCashDisc 34
  • CustCollectionLetterFee 35
  • CustInterestFee 36
  • CustInvoiceDisc 37
  • CustPayment 38
  • CustReimbursement 39
  • CustSettlement 40
  • VendBalance 41
  • VendPurchLedger 42
  • VendOffsetAccount 43
  • VendInterest 44
  • VendCashDisc 45
  • VendPayment 46
  • VendInvoiceDisc 47
  • VendSettlement 48
  • CrossCompanySettlement 49
  • InventIssueFixedAsset 50
  • SalesRevenue 51
  • SalesConsump 52
  • SalesDisc 53
  • SalesCash 54
  • SalesFreight 55
  • SalesFee 56
  • SalesPostage 57
  • SalesRoundOff 58
  • SalesPackingSlip 59
  • SalesOffsetAccountPackingSlip 60
  • SalesIssue 61
  • SalesCommission 62
  • SalesOffsetAccountCommission 63
  • SalesPckSlipRevenue 64
  • SalesPckSlipRevenueOffsetAccount 65
  • Rebate 66
  • PdsCWLoss 67
  • PdsCWProfit 68
  • PurchConsump 71
  • PurchDisc 72
  • PurchCash 73
  • PurchFreight 74
  • PurchFee 75
  • PurchPostage 76
  • PurchOffsetAccount 77
  • PurchaseInvoiceRoundOff 78
  • PurchMarkupFreight 79
  • PurchMarkupCustoms 80
  • PurchMarkupInsurance 81
  • PurchPckSlp 82
  • PurchOffsetAccountPckSlp 83
  • PurchReceipt 84
  • PurchStdProfit 85
  • PurchStdLoss 86
  • PurchStdOffsetAccount 87
  • InventReceipt 91
  • InventIssue 92
  • InventProfit 93
  • InventLoss 94
  • InventStdProfit 95
  • InventStdLoss 96
  • Opening_ES 97
  • PurchReq 98
  • PurchOrder 99
  • APInvoice 100
  • Budget 101
  • PurchOrderYearEnd 102
  • InflationAdjustment_MX 103
  • ProdReportFinished 105
  • ProdReportFinishedOffsetAccount 106
  • ProdIssue 107
  • ProdIssueOffsetAccount 108
  • ProdReceipt 109
  • ProdReceiptOffsetAccount 110
  • ProdPicklistOffsetAccount 111
  • ProdPicklist 112
  • ProdWIPValuation 113
  • ProdWIPIssue 114
  • ProdWrkCtrIssue 115
  • ProdScrap 116
  • ProdWrkCtrIssueOffsetAccount 117
  • ProdScrapOffsetAccount 118
  • ProdLeanWIPServiceReceipt 119
  • ProdLeanWIPServiceClearing 120
  • ProjCost 121
  • ProjPayrollAllocation 122
  • ProjWIPCostvalue 123
  • ProjOffsetAccountItem 124
  • ProjStatusAccountItem 125
  • ProjTurnover 126
  • ProjOnAccount 127
  • ProjSalesvalue 128
  • ProjSalesvalueOffset 129
  • ProjAccruedTurnoverProd 130
  • ProjWIPProduction 131
  • ProJAccruedTurnoverProfit 132
  • ProjWIPProfit 133
  • ProjNeverLedger 134
  • ProjAccruedCost 135
  • ProjWIPCost 136
  • ProjAccruedRevenueOnAccount 137
  • ProjWIPInvoicedOnAccount 138
  • ProjNoLedger 139
  • PayrollDebitAccount 141
  • PayrollCreditAccount 142
  • EmplPayment_RU 146
  • RTSLTranslationDifference 147
  • RCash 148
  • InventRoundingLoss_RU 149
  • InventRoundingProfit_RU 150
  • AdvanceAdjustmentGain_RU 151
  • AdvanceAdjustmentLoss_RU 152
  • FixedAssetsDebit 161
  • FixedAssetsCredit 162
  • CACLedgerJournalNoOff 163
  • AmountDiffGain_RU 165
  • AmountDiffLoss_RU 166
  • Misc_IN 175
  • TransferGoodsTransit_IN 176
  • TransferScrap_IN 177
  • PurchCharge 201
  • PurchStockVariation 202
  • PurchPckSlpPurchaseOffsetAccount 203
  • PurchPckSlpTax 204
  • PurchPckSlpPurchase 205
  • SalesPackingslipTax 206
  • ProjAccruedRevenueSubscription 207
  • ProjWIPSubscription 208
  • TaxOffsetWithhold_TH 209
  • InventStdCostChangeVariance 210
  • InventSystemRounding 211
  • PurchAdvance 212
  • PurchStdCostPurchasePriceVariance 213
  • PurchAdvanceApplication 214
  • ProdStdCostProductionVariance 216
  • SalesGoodsInRoute_RU 217
  • SalesGoodsInRouteOffset_RU 218
  • InventInterUnitPayable 219
  • InventInterUnitReceivable 220
  • IndirectEstimatedAbsorption 221
  • ProdStdCostLotSizeVariance 222
  • ProdStdCostQuantityVariance 223
  • ProdStdCostSubstitutionVariance 224
  • InventStdCostRoundingVariance 225
  • PurchReceiptFixedAsset 226
  • PSATransportation 228
  • PSACompanyCCClearing 229
  • PSAEmployeeClearing 230
  • PSAEmployeeAdvance 231
  • PSAWriteOffCap 232
  • PSAProjRetain 233
  • PSAProjPurchRetain 234
  • InventStdCostRevaluation 235
  • PurchExpense 236
  • VAT_IN 180
  • InventMovingAveragePriceDifference 237
  • SalesTax_IN 181
  • InventMovingAverageCostRevaluation 238
  • Excise_IN 182
  • IntercompanyCost 239
  • ServiceTax_IN 183
  • IntercompanyRevenue 240
  • Customs_IN 184
  • TDS_IN 185
  • TCS_IN 186
  • TransferIssue_IN 244
  • TransferReceipt_IN 245
  • TransferProfit_IN 246
  • TransferLoss_IN 247
  • TaxAdjustmentSettlement_IN 250
  • TaxExpense_BR 199
  • BankStatement 249
  • EmplBalance_RU 227
  • DebitNote_BR 69
  • CustFine_BR 248
  • VendFine_BR 70
  • Payroll 195
  • InterunitDebit 88
  • InterunitCredit 89
  • FixedAssetsDebit_RU 241
  • FixedAssetsCredit_RU 242
  • TransferInterim_IN 90
  • DeferralsDebit_RU 243
  • DeferralsCredit_RU 215
  • MCRReturns 159
  • MCRReturnsConsump 160
  • MCRUnderpayWriteOff 164
  • MCRBrokerFee 190
  • RPayTaxRefundOffset 200
  • BudgetReservation_PSN 104
  • BudgetReservationYearEnd_PSN 140
  • SalesAdvance 251
  • ProjAccruedRevenueAdjustment 252
  • ProjectLineDiscount 253
  • GST_IN
  • ReportingCurrencyAdjustment
  • SalesCreditNote_IT
  • SalesForFree_IT
  • ProjProcurementIntegration
  • AccountReconciliationJournalOffset
  • ITMGIT 170
  • ITMCostAccrual 171
  • ITMCostClearing 172
  • ITMCostChargeAccrual 173
  • ITMCostCharge 174
  • ITMCostVariance 179
  • RevRecDeferredRevenue
  • RevRecDeferredCostOfGoodsSold
  • RevRecPartialRevenue
  • RevRecDeferredCost
  • SalesRevenueOffset
  • SalesDiscOffset
  • UnbilledDiscOffset
  • DeferredCost
  • DeferredRevenue
NoYesMainAccount.PostingType
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesMainAccount.RecId
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates.Integer
RecVersion
NoYesMainAccount.RecVersion
RepomoType_MXREPOMO type: not applicable, asset or liability. Used for Mexico.Enum
RepomoType_MX
  • NotApplicable 0
  • Asset 1
  • Liability 2
NoYesMainAccount.RepomoType_MX
ReportingAccountTypeReporting type of the account, such as none, header, empty header or page header.Enum
DimensionLedgerAccountReportingType
  • None 0
  • Heading 1
  • HeadingEmpty 2
  • HeadingPage 3
NoYesMainAccount.ReportingAccountType
ReportingExchangeAdjustmentRateTypePoints to the exchange rate type for adjusting in the reporting currency.Int64
ExchangeRateTypeRecId
NoYesExchangeRateType.RecIdMainAccount.ReportingExchangeAdjustmentRateType
SRUCodeSRU code of the account (up to 4 characters).String (4)
LedgerSRUCode
NoYesMainAccount.SRUCode
StandardMainAccount_WPoints to the standard general ledger account.Int64
RefRecId
NoYesStandardMainAccount_W.RecIdMainAccount.StandardMainAccount_W
TransferYearEndAccount_ESPoints to the main account used for transferring the year-end result. Used for Spain.Int64
MainAccountRecId
NoYesMainAccount.RecIdMainAccount.TransferYearEndAccount_ES
TypeMain account type, such as profit and loss, revenue, expense, balance sheet or asset.Enum
DimensionLedgerAccountType
  • Blank 10
  • ProfitAndLoss 0
  • Revenue 1
  • Expense 2
  • BalanceSheet 3
  • Asset 4
  • Liability 5
  • Equity 6
  • Total 8
  • Reporting 9
  • Common_CN 100
NoYesMainAccount.Type
UnitOfMeasurePoints to the unit of measure linked to the account.Int64
UnitOfMeasureRecId
NoYesUnitOfMeasure.RecIdMainAccount.UnitOfMeasure
UserInfoIdUser ID linked to the account.low confidenceString
UserId
NoYesMainAccount.UserInfoId
ValidateCurrencyRule for the currency code: optional, required, or limited to one or several valid options.Enum
FieldControl
  • Optional 0
  • FillIn 1
  • Table 2
  • List 3
NoYesMainAccount.ValidateCurrency
ValidatePostingRule for validating posting: optional, required, or limited to one or several valid options.Enum
FieldControl
  • Optional 0
  • FillIn 1
  • Table 2
  • List 3
NoYesMainAccount.ValidatePosting
ValidateUserRule for the user: optional, required, or limited to one or several valid options.Enum
FieldControl
  • Optional 0
  • FillIn 1
  • Table 2
  • List 3
NoYesMainAccount.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.

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

Email sales@drdynamics.co.uk