Table

CustBillingCodeVersion

Billing code version

Holds dated versions of a billing code. Each version has a validity period and settings for project, category, tax group, dimensions and interest. Several options say whether users may change values. The key is the end date, start date and billing code.

Table name
CustBillingCodeVersion
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
PublicSector
Primary index
RecId
Replacement key
CustBillingCodeVersionIdx
Key fields
ValidTo, ValidFrom, CustBillingCode
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ValidToLast date on which this version is valid.Date
ValidToDate
NoCustBillingCodeVersionEntityCustBillingCodeAccountingDistributionEntityCustBillingCodeCustomFieldEntityand 1 more
ValidFromFirst date on which this version is valid.Date
ValidFromDate
NoCustBillingCodeVersionEntityCustBillingCodeAccountingDistributionEntityCustBillingCodeCustomFieldEntityand 1 more
CustBillingCodeThe billing code this version belongs to. Points to a billing code record.Int64
RefRecId
NoCustBillingCode.RecIdCustBillingCodeVersionEntityCustBillingCodeAccountingDistributionEntityCustBillingCodeCustomFieldEntityand 1 more
AllowChangeAmountYes/no option that allows the amount to be changed.Enum
NoYes (enum)
NoCustBillingCodeVersionEntity
AllowChangeLedgerAccountYes/no option that allows the ledger account to be changed.Enum
NoYes (enum)
NoCustBillingCodeVersionEntity
AmountDetailsLong free-text notes about the amount.String (-1)
AmountDetails
NoCustBillingCodeVersionEntity
CustInterestInterest code for this version. Points to a customer interest record.Int64
RefRecId
NoCustInterest.RecIdCustBillingCodeVersionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DimensionDepartment value stored as text.String (255)
String255
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjCategoryAllowChangesYes/no option that allows the project category to be changed.Enum
NoYesId
NoYes (enum)
NoCustBillingCodeVersionEntity
ProjCategoryIdProject category linked to this version.String (30)
ProjCategoryId
NoProjCategory.CategoryIdCustBillingCodeVersionEntity
ProjIdProject linked to this version.String (20)
ProjId
NoProjTable.ProjIdCustBillingCodeVersionEntity
ProjIdAllowChangesYes/no option that allows the project ID to be changed.Enum
NoYesId
NoYes (enum)
NoCustBillingCodeVersionEntity
RateFieldSelectorSays whether the billing code sets the line amount or the unit price.Enum
RateFieldSelector
RateField (enum)
NoCustBillingCodeVersionEntity
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxItemGroupHeadingItem sales tax group for this version.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupCustBillingCodeVersionEntity
UseDimensionsFromLineYes/no option to use values from the line for dimensions that are not set.Enum
NoYes (enum)
NoCustBillingCodeVersionEntity
UseFromBillingClassYes/no option to take the interest code from the billing classification.Enum
NoYesId
NoYes (enum)
NoCustBillingCodeVersionEntity

Indexes (2)

Relations (5)

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

  • CustBillingCode → CustBillingCode

    Join on CustBillingCode = CustBillingCode.RecId

    One or more CustBillingCodeVersion records → zero or one CustBillingCode record

  • CustInterest → CustInterest

    Join on CustInterest = CustInterest.RecId

    Many CustBillingCodeVersion records → zero or one CustInterest record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many CustBillingCodeVersion records → exactly one ProjCategory record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many CustBillingCodeVersion records → exactly one ProjTable record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupHeading = TaxItemGroupHeading.TaxItemGroup

    Many CustBillingCodeVersion records → exactly one TaxItemGroupHeading record

Get this data out

Tables are not exposed directly. These public entities read from CustBillingCodeVersion; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk