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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustBillingCodeVersionBilling code version this line belongs to. Points to a version record.Int64
RefRecId
NoCustBillingCodeVersion.RecIdCustBillingCodeAccountingDistributionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerDimensionLedger account, with its dimensions, for this line. Points to a dimension combination record.Int64
LedgerDimensionAccount
YesDimensionAttributeValueCombination.RecIdCustBillingCodeAccountingDistributionEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentagePercentage of the amount that goes to this ledger account.Real
NonNegPercent
NoCustBillingCodeAccountingDistributionEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins CustBillingCodeLedgerAccount to another table on the fields shown.

  • CustBillingCodeVersion → CustBillingCodeVersion

    Join on CustBillingCodeVersion = CustBillingCodeVersion.RecId

    Many CustBillingCodeLedgerAccount records → zero or one CustBillingCodeVersion record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many 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.

Need help with CustBillingCodeLedgerAccount in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk