Data entity
CustBillingCodeAccountingDistributionEntity
Holds the ledger account distribution of a billing code. Each record gives a percentage and a dimension combination for a billing code, valid for a date range. The key is the valid-to and valid-from dates, the billing code and the ledger account.
- Entity name
CustBillingCodeAccountingDistributionEntity- Public entity name
BillingCodeAccountingDistribution- OData collection
BillingCodeAccountingDistributions- Category
Reference- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
PublicSector- Keys
ValidTo, ValidFrom, BillingCode, LedgerAccountDisplayValue- Staging table
CustBillingCodeAccountingDistributionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/BillingCodeAccountingDistributions- Dataverse virtual table
mserp_custbillingcodeaccountingdistributionentity. 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
CustBillingCodeLedgerAccount· rootCustBillingCodeVersion· OuterJoin toCustBillingCodeLedgerAccount· read-onlyCustBillingCode· OuterJoin toCustBillingCodeVersion· read-onlyLedgerAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toCustBillingCodeVersion· read-only
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustBillingCodeVersionBilling code version this line belongs to. Points to a version record. | Int64RefRecId | No | No (private) | CustBillingCodeVersion.RecId | CustBillingCodeLedgerAccount.CustBillingCodeVersion |
LedgerAccountLedger account, with its dimensions, for this line. Points to a dimension combination record. | Int64LedgerDimensionAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | CustBillingCodeLedgerAccount.LedgerDimension |
PercentPercentage of the amount that goes to this ledger account. | RealNonNegPercent | No | Yes | CustBillingCodeLedgerAccount.Percentage | |
CustBillingCodeThe billing code this version belongs to. Points to a billing code record. | Int64RefRecId | No | No (private) | CustBillingCode.RecId | CustBillingCodeVersion.CustBillingCode |
ValidFromFirst date on which this version is valid. | DateValidFromDate | No | Yes | CustBillingCodeVersion.ValidFrom | |
ValidToLast date on which this version is valid. | DateValidToDate | No | Yes | CustBillingCodeVersion.ValidTo | |
BillingCodeCode that identifies the billing code. | StringBillingCode | Yes | Yes | CustBillingCode.BillingCode | |
LedgerAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (3)
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.
CustBillingCodeVersion→CustBillingCodeVersion.RecId(key of CustBillingCodeVersion)Many CustBillingCodeLedgerAccount records → zero or one CustBillingCodeVersion record
CustBillingCodeVersion details: see CustBillingCodeVersionEntity, CustBillingCodeCustomFieldEntity, CustBillingCodeRateEntity
LedgerAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustBillingCodeLedgerAccount records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
CustBillingCode→CustBillingCode.RecId(key of CustBillingCode)One or more CustBillingCodeVersion records → zero or one CustBillingCode record
CustBillingCode details: see CustBillingCodeVersionEntity, CustBillingClassificationCodeEntity, CustBillingCodeCustomFieldEntity
Need help with CustBillingCodeAccountingDistributionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.