Table

SubBillDetailLineAudit

Billing detail line related to sales order history information

Audit rows for subscription billing detail lines that were canceled or deleted, linked to a sales order. Each row points to the detail line and the sales order line and records the status and date. It has no key.

Table name
SubBillDetailLineAudit
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 (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AuditDateDate on which the audit row was recorded.Date
TransDate
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
SalesIdNumber of the sales order linked to the detail line.String (20)
SalesId
NoSalesTable.SalesIdNone
SalesLineRecIdSystem record ID of the sales order line.Int64
RefRecId
NoNone
SubBillDetailLineRecIdPoints to the subscription billing detail line this audit row is about.Int64
RefRecId
YesSubBillDetailLine.RecIdNone
SubBillDetailLineStatusStatus recorded for the detail line: canceled or deleted.Enum
SubBillDetailLineStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • ScheduleLine → SubBillDetailLine

    Join on SubBillDetailLineRecId = SubBillDetailLine.RecId

    Many SubBillDetailLineAudit records → exactly one SubBillDetailLine record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many SubBillDetailLineAudit records → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk