Table
CustBillingCodeLedgerAccount
Ledger account
Holds the ledger accounts and percentages used to split amounts for a billing code version. Each record points to a version and to a ledger account combination. It has no defined key in the metadata.
- Table name
CustBillingCodeLedgerAccount- Module
Accounts receivable- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
PublicSector- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustBillingCodeVersionBilling code version this line belongs to. Points to a version record. | Int64RefRecId | No | CustBillingCodeVersion.RecId | CustBillingCodeAccountingDistributionEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerDimensionLedger account, with its dimensions, for this line. Points to a dimension combination record. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | CustBillingCodeAccountingDistributionEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PercentagePercentage of the amount that goes to this ledger account. | RealNonNegPercent | No | CustBillingCodeAccountingDistributionEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LedgerDimensionIdxLedgerDimension,CustBillingCodeVersionUnique, alternate key.
Relations (2)
Each relation joins CustBillingCodeLedgerAccount to another table on the fields shown.
CustBillingCodeVersion→CustBillingCodeVersionJoin on
CustBillingCodeVersion = CustBillingCodeVersion.RecIdMany CustBillingCodeLedgerAccount records → zero or one CustBillingCodeVersion record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CustBillingCodeLedgerAccount records → zero or one DimensionAttributeValueCombination record
Get this data out
Tables are not exposed directly. These public entities read from CustBillingCodeLedgerAccount; use one of them in Power BI, Power Platform or a data management project.
CustBillingCodeAccountingDistributionEntity· 3 fields from this table
Need help with CustBillingCodeLedgerAccount in a report, an integration or a migration? Talk to Dr Dynamics.