Data entity

CustBillingCodeVersionEntity

Holds the dated versions of billing codes. Each version has a description, an interest code and flags that say which values may be changed (amount, ledger account, project, category). It also holds an item sales tax group and project settings. The key is the validity dates and the billing code.

Entity name
CustBillingCodeVersionEntity
Public entity name
BillingCodeVersion
OData collection
BillingCodeVersions
Category
Reference
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
PublicSector
Keys
ValidTo, ValidFrom, BillingCode
Staging table
CustBillingCodeVersionStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/BillingCodeVersions
Dataverse virtual table
mserp_custbillingcodeversionentity. 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

  • CustBillingCodeVersion · root
  • CustBillingCode · InnerJoin to CustBillingCodeVersion
  • CustInterest · OuterJoin to CustBillingCodeVersion · read-only

Fields (18)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AllowChangeAmountOnInvoiceYes/no option that allows the amount to be changed.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.AllowChangeAmount
AllowChangesToLedgerAccountsYes/no option that allows the ledger account to be changed.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.AllowChangeLedgerAccount
AmountDetailsLong free-text notes about the amount.String (-1)
AmountDetails
NoYesCustBillingCodeVersion.AmountDetails
CustBillingCodeThe billing code this version belongs to. Points to a billing code record.Int64
RefRecId
NoNo (private)CustBillingCode.RecIdCustBillingCodeVersion.CustBillingCode
CustInterestInterest code for this version. Points to a customer interest record.Int64
RefRecId
NoNo (private)CustInterest.RecIdCustBillingCodeVersion.CustInterest
AllowChangesToProjectCategoryYes/no option that allows the project category to be changed.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.ProjCategoryAllowChanges
ProjectCategoryProject category linked to this version.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdCustBillingCodeVersion.ProjCategoryId
ProjectIDProject linked to this version.String (20)
ProjId
NoYesProjTable.ProjIdCustBillingCodeVersion.ProjId
AllowChangesToProjectYes/no option that allows the project ID to be changed.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.ProjIdAllowChanges
RateTypeSays whether the billing code sets the line amount or the unit price.Enum
RateFieldSelector
RateField
  • LineAmount 0
  • UnitPrice 1
NoYesCustBillingCodeVersion.RateFieldSelector
ItemSalesTaxGroupItem sales tax group for this version.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupCustBillingCodeVersion.TaxItemGroupHeading
UseLineValuesForUnspecifiedDimensionsYes/no option to use values from the line for dimensions that are not set.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.UseDimensionsFromLine
UseInterestCodeFromBillingClassificationYes/no option to take the interest code from the billing classification.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesCustBillingCodeVersion.UseFromBillingClass
ValidFromFirst date on which this version is valid.Date
ValidFromDate
NoYesCustBillingCodeVersion.ValidFrom
ValidToLast date on which this version is valid.Date
ValidToDate
NoYesCustBillingCodeVersion.ValidTo
BillingCodeCode that identifies the billing code.String
BillingCode
YesYesCustBillingCode.BillingCode
BillingCodeDescriptionText description of the billing code.String (60)
Description
YesYesCustBillingCode.Description
InterestCodeCode that identifies the interest.String
CustInterestCode
NoYesCustInterest.InterestCode

Foreign keys (5)

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 CustBillingCodeVersionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk