Table

SubBillScheduleLinePricingAudit

Schedule line flat pricing audit

Audit rows for flat pricing on billing schedule lines. Each row keeps the flat and standard amounts, the original pricing method and who changed the price and when. The key is the schedule line, its line number and the row line number.

Table name
SubBillScheduleLinePricingAudit
Module
Subscription billing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
ScheduleLineLineNum
Replacement key
ScheduleLineLineNum
Key fields
SubBillScheduleLine, SubBillScheduleLineNum, LineNum
Model
SubscriptionBilling

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillScheduleLineRecord ID of the billing schedule line. The label is empty.Int64
SubBillScheduleLineRecId
YesNone
SubBillScheduleLineNumLine number of the billing schedule line.Real
LineNum
YesNone
LineNumLine number of the audit row.Real
LineNum
YesNone
AuditAmountFlat amount recorded.Real
SalesPrice
NoNone
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
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OriginalPricingMethodPricing method before the change: standard, flat, tier or flat tier.Enum
SubBillPricingMethod (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceChangeDateDate and time the price changed.UtcDateTime
SubBillPriceChangeDate
NoNone
PriceUpdateYes or no flag for a price update.Enum
SubBillPriceUpdate
NoYes (enum)
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
StandardAmountStandard amount recorded.Real
SalesPrice
NoNone
SubBillBillingScheduleNumberBilling schedule number.String (20)
SubBillBillingScheduleNumber
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UserAppliedUser who applied the change.String
SubBillUserApplied
NoNone

Indexes (1)

Relations (1)

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

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLine = SubBillScheduleLine.RecId, SubBillScheduleLineNum = SubBillScheduleLine.LineNum

    Many SubBillScheduleLinePricingAudit records → zero or one SubBillScheduleLine record

Get this data out

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

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

Email sales@drdynamics.co.uk