Table

CustBillingCodeCustomField

Billing code customer fields

Connects a billing code version to a custom field. It records whether the field is active and required, and its order. The key is the custom field plus the billing code version.

Table name
CustBillingCodeCustomField
Module
Accounts receivable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
PublicSector
Primary index
None
Replacement key
CustBillingCodeCustomFieldIdx
Key fields
CustCustomField, CustBillingCodeVersion
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustCustomFieldThe custom field that is attached. Points to a custom field record.Int64
RefRecId
YesCustCustomField.RecIdCustBillingCodeCustomFieldEntity
CustBillingCodeVersionBilling code version that uses the custom field. Points to a version record.Int64
RefRecId
NoCustBillingCodeVersion.RecIdCustBillingCodeCustomFieldEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IsActiveWhether the custom field is active for this version.Enum
boolean (enum)
NoCustBillingCodeCustomFieldEntity
IsRequiredWhether a value must be entered for the custom field.Enum
boolean (enum)
NoCustBillingCodeCustomFieldEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
SequenceNumberOrder in which the custom field appears.Integer
CustomFieldSequenceNo
NoCustBillingCodeCustomFieldEntity
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

Indexes (2)

Relations (2)

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

  • CustBillingCodeVersion → CustBillingCodeVersion

    Join on CustBillingCodeVersion = CustBillingCodeVersion.RecId

    Many CustBillingCodeCustomField records → zero or one CustBillingCodeVersion record

  • CustCustomField → CustCustomField

    Join on CustCustomField = CustCustomField.RecId

    Zero or one CustBillingCodeCustomField record → exactly one CustCustomField record

Get this data out

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

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

Email sales@drdynamics.co.uk