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· rootCustBillingCode· InnerJoin toCustBillingCodeVersionCustInterest· OuterJoin toCustBillingCodeVersion· read-only
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AllowChangeAmountOnInvoiceYes/no option that allows the amount to be changed. | Enum
| No | Yes | CustBillingCodeVersion.AllowChangeAmount | |
AllowChangesToLedgerAccountsYes/no option that allows the ledger account to be changed. | Enum
| No | Yes | CustBillingCodeVersion.AllowChangeLedgerAccount | |
AmountDetailsLong free-text notes about the amount. | String (-1)AmountDetails | No | Yes | CustBillingCodeVersion.AmountDetails | |
CustBillingCodeThe billing code this version belongs to. Points to a billing code record. | Int64RefRecId | No | No (private) | CustBillingCode.RecId | CustBillingCodeVersion.CustBillingCode |
CustInterestInterest code for this version. Points to a customer interest record. | Int64RefRecId | No | No (private) | CustInterest.RecId | CustBillingCodeVersion.CustInterest |
AllowChangesToProjectCategoryYes/no option that allows the project category to be changed. | EnumNoYesId
| No | Yes | CustBillingCodeVersion.ProjCategoryAllowChanges | |
ProjectCategoryProject category linked to this version. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | CustBillingCodeVersion.ProjCategoryId |
ProjectIDProject linked to this version. | String (20)ProjId | No | Yes | ProjTable.ProjId | CustBillingCodeVersion.ProjId |
AllowChangesToProjectYes/no option that allows the project ID to be changed. | EnumNoYesId
| No | Yes | CustBillingCodeVersion.ProjIdAllowChanges | |
RateTypeSays whether the billing code sets the line amount or the unit price. | EnumRateFieldSelector
| No | Yes | CustBillingCodeVersion.RateFieldSelector | |
ItemSalesTaxGroupItem sales tax group for this version. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | CustBillingCodeVersion.TaxItemGroupHeading |
UseLineValuesForUnspecifiedDimensionsYes/no option to use values from the line for dimensions that are not set. | Enum
| No | Yes | CustBillingCodeVersion.UseDimensionsFromLine | |
UseInterestCodeFromBillingClassificationYes/no option to take the interest code from the billing classification. | EnumNoYesId
| No | Yes | CustBillingCodeVersion.UseFromBillingClass | |
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 | |
BillingCodeDescriptionText description of the billing code. | String (60)Description | Yes | Yes | CustBillingCode.Description | |
InterestCodeCode that identifies the interest. | StringCustInterestCode | No | Yes | CustInterest.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.
CustBillingCode→CustBillingCode.RecId(key of CustBillingCode)One or more CustBillingCodeVersion records → zero or one CustBillingCode record
CustBillingCode details: see CustBillingClassificationCodeEntity, CustBillingCodeAccountingDistributionEntity, CustBillingCodeCustomFieldEntity
CustInterest→CustInterest.RecId(key of CustInterest)Many CustBillingCodeVersion records → zero or one CustInterest record
CustInterest details: see CustInterestCdsEntity, CustBillingClassificationEntity, CustCustomerPostingProfileLineEntity
ProjectCategory→ProjCategory.CategoryId(key of ProjCategory)Many CustBillingCodeVersion records → exactly one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectID→ProjTable.ProjId(key of ProjTable)Many CustBillingCodeVersion records → exactly one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ItemSalesTaxGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many CustBillingCodeVersion records → exactly one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Need help with CustBillingCodeVersionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.