Table

SubBillCalculateUnitPriceAudit

Subscription billing calculate unit price audit

Audit table for subscription billing unit price calculation. Each row stores the old and new contract price and price frequency for a billing schedule line. It has no defined key and also relates to renewal lines.

Table name
SubBillCalculateUnitPriceAudit
Module
Subscription billing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
SubscriptionBilling

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SubBillNewContractPriceContract price after the change.Real
SubBillUnitPrice
NoNone
SubBillNewPriceFrequencyNew price frequency, such as daily, monthly, annually or one-time.Enum
SubBillCalculateUnitPriceFrequency (enum)
NoNone
SubBillOldContractPriceContract price before the change.Real
SubBillUnitPrice
NoNone
SubBillOldPriceFrequencyPrevious price frequency, such as daily, monthly, annually or one-time.Enum
SubBillCalculateUnitPriceFrequency (enum)
NoNone
SubBillScheduleLineRecIdPoints to the billing schedule line. The label is missing.Int64
SubBillScheduleLineRecId
YesSubBillScheduleLine.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • BillingScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLineRecId = SubBillScheduleLine.RecId

    Many SubBillCalculateUnitPriceAudit records → zero or one SubBillScheduleLine record

  • RenewalLine → SubBillRenewalLine

    Join on SubBillScheduleLineRecId = SubBillRenewalLine.SchedLineRecId

    Zero or one SubBillCalculateUnitPriceAudit record → zero or one SubBillRenewalLine record

Get this data out

No public entity reads from SubBillCalculateUnitPriceAudit. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk