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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SubBillNewContractPriceContract price after the change. | RealSubBillUnitPrice | No | None | |
SubBillNewPriceFrequencyNew price frequency, such as daily, monthly, annually or one-time. | EnumSubBillCalculateUnitPriceFrequency (enum) | No | None | |
SubBillOldContractPriceContract price before the change. | RealSubBillUnitPrice | No | None | |
SubBillOldPriceFrequencyPrevious price frequency, such as daily, monthly, annually or one-time. | EnumSubBillCalculateUnitPriceFrequency (enum) | No | None | |
SubBillScheduleLineRecIdPoints to the billing schedule line. The label is missing. | Int64SubBillScheduleLineRecId | Yes | SubBillScheduleLine.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ScheduleLineNot unique.
Relations (2)
Each relation joins SubBillCalculateUnitPriceAudit to another table on the fields shown.
BillingScheduleLine→SubBillScheduleLineJoin on
SubBillScheduleLineRecId = SubBillScheduleLine.RecIdMany SubBillCalculateUnitPriceAudit records → zero or one SubBillScheduleLine record
RenewalLine→SubBillRenewalLineJoin on
SubBillScheduleLineRecId = SubBillRenewalLine.SchedLineRecIdZero 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.