Table

SubBillTermScheduleLineAudit

Subscription billing termination schedule line audit

Audit rows for the termination of a single billing schedule line. They hold the reason, notes, dates, users and credit or discount amounts. They can link to sales lines, customer invoice lines and free text invoices. The key is the schedule line record ID plus a line number.

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

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillScheduleLineRecIdRecord ID of the billing schedule line. The label is empty.Int64
SubBillScheduleLineRecId
YesSubBillScheduleLine.RecIdNone
LineNumLine number of the audit row.Real
LineNum
YesNone
CustInvoiceLineRecIdRecord ID of the customer free text invoice line.Int64
CustInvoiceLineIdRefRecId
NoCustInvoiceLine.RecIdNone
CustInvoiceTableRecIdRecord ID of the customer free text invoice.Int64
RefRecId
NoCustInvoiceTable.RecIdNone
CustInvoiceTransRecIdRecord ID of the customer invoice line.Int64
CustInvoiceTransRecId
NoCustInvoiceTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscountAmountTotal discount amount.Real
Amount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjInvoiceIdProject invoice number.String (50)
ProjInvoiceId
NoNone
ProjJournalIdProject journal number.String (20)
ProjJournalId
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
RefundAmountCredit amount.Real
Amount
NoNone
SalesLineRecIdRecord ID of the sales order line.Int64
RefRecId
NoSalesLine.RecIdNone
SubBillTermDateDate of the termination.Date
SubBillTermDate
NoNone
SubBillTermNotesFree-text notes about the termination.String (200)
SubBillTermNotes
NoNone
SubBillTermReasonCodeReason code for the termination, pointing to the reason record.String
ReasonCode
NoReasonTable.ReasonNone
SubBillTermReasonDescDescription of the termination reason.String (60)
Description
NoNone
SubBillTermRemovalDateDate the termination was removed.Date
SubBillTermRemovalDate
NoNone
SubBillTermRemovalUserUser who removed the termination.String
SubBillTermRemovalUser
NoNone
SubBillTermUserUser who made the termination.String
SubBillTermUser
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (6)

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

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLineRecId = SubBillScheduleLine.RecId

    Many SubBillTermScheduleLineAudit records → zero or one SubBillScheduleLine record

  • ReasonCode → ReasonTable

    Join on SubBillTermReasonCode = ReasonTable.Reason

    Many SubBillTermScheduleLineAudit records → zero or one ReasonTable record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTransRecId = CustInvoiceTrans.RecId

    Zero or one SubBillTermScheduleLineAudit record → zero or one CustInvoiceTrans record

  • SalesLine → SalesLine

    Join on SalesLineRecId = SalesLine.RecId

    Zero or one SubBillTermScheduleLineAudit record → zero or one SalesLine record

  • CustInvoiceLine → CustInvoiceLine

    Join on CustInvoiceLineRecId = CustInvoiceLine.RecId

    Zero or one SubBillTermScheduleLineAudit record → zero or one CustInvoiceLine record

  • CustInvoiceTable → CustInvoiceTable

    Join on CustInvoiceTableRecId = CustInvoiceTable.RecId

    Zero or one SubBillTermScheduleLineAudit record → zero or one CustInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk