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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillScheduleLineRecIdRecord ID of the billing schedule line. The label is empty. | Int64SubBillScheduleLineRecId | Yes | SubBillScheduleLine.RecId | None |
LineNumLine number of the audit row. | RealLineNum | Yes | None | |
CustInvoiceLineRecIdRecord ID of the customer free text invoice line. | Int64CustInvoiceLineIdRefRecId | No | CustInvoiceLine.RecId | None |
CustInvoiceTableRecIdRecord ID of the customer free text invoice. | Int64RefRecId | No | CustInvoiceTable.RecId | None |
CustInvoiceTransRecIdRecord ID of the customer invoice line. | Int64CustInvoiceTransRecId | No | CustInvoiceTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountAmountTotal discount amount. | RealAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjInvoiceIdProject invoice number. | String (50)ProjInvoiceId | No | None | |
ProjJournalIdProject journal number. | String (20)ProjJournalId | 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 | |
RefundAmountCredit amount. | RealAmount | No | None | |
SalesLineRecIdRecord ID of the sales order line. | Int64RefRecId | No | SalesLine.RecId | None |
SubBillTermDateDate of the termination. | DateSubBillTermDate | No | None | |
SubBillTermNotesFree-text notes about the termination. | String (200)SubBillTermNotes | No | None | |
SubBillTermReasonCodeReason code for the termination, pointing to the reason record. | StringReasonCode | No | ReasonTable.Reason | None |
SubBillTermReasonDescDescription of the termination reason. | String (60)Description | No | None | |
SubBillTermRemovalDateDate the termination was removed. | DateSubBillTermRemovalDate | No | None | |
SubBillTermRemovalUserUser who removed the termination. | StringSubBillTermRemovalUser | No | None | |
SubBillTermUserUser who made the termination. | StringSubBillTermUser | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
LineNumReplacement keySubBillScheduleLineRecId,LineNumUnique, alternate key.
SalesLineRecIdNot unique.
Relations (6)
Each relation joins SubBillTermScheduleLineAudit to another table on the fields shown.
ScheduleLine→SubBillScheduleLineJoin on
SubBillScheduleLineRecId = SubBillScheduleLine.RecIdMany SubBillTermScheduleLineAudit records → zero or one SubBillScheduleLine record
ReasonCode→ReasonTableJoin on
SubBillTermReasonCode = ReasonTable.ReasonMany SubBillTermScheduleLineAudit records → zero or one ReasonTable record
CustInvoiceTrans→CustInvoiceTransJoin on
CustInvoiceTransRecId = CustInvoiceTrans.RecIdZero or one SubBillTermScheduleLineAudit record → zero or one CustInvoiceTrans record
SalesLine→SalesLineJoin on
SalesLineRecId = SalesLine.RecIdZero or one SubBillTermScheduleLineAudit record → zero or one SalesLine record
CustInvoiceLine→CustInvoiceLineJoin on
CustInvoiceLineRecId = CustInvoiceLine.RecIdZero or one SubBillTermScheduleLineAudit record → zero or one CustInvoiceLine record
CustInvoiceTable→CustInvoiceTableJoin on
CustInvoiceTableRecId = CustInvoiceTable.RecIdZero 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.