Table
SubBillTermScheduleLineAuditSalesOrder
Subscription billing termination audit including customer split table
Lists the sales orders and invoice lines affected by a termination audit row, including customer split cases. The key is the termination audit record plus the sales line. It links to sales orders, sales lines, customers and customer invoice lines.
- Table name
SubBillTermScheduleLineAuditSalesOrder- Module
Subscription billing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
TermScheduleLineRecId- Replacement key
None- Key fields
TerminationScheduleLineRecId, SalesLineRecId- Model
SubscriptionBilling
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TerminationScheduleLineRecIdRecord ID of the termination schedule line audit row. | Int64RefRecId | No | SubBillTermScheduleLineAudit.RecId | None |
SalesLineRecIdRecord ID of the sales order line. | Int64RefRecId | No | SalesLine.RecId | None |
CustAccountCustomer account of the billing schedule, pointing to the customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
CustomerInvoiceTransRecIdRecord ID of the customer invoice line. | Int64RefRecId | No | CustInvoiceTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceDateDate of the invoice. | DateTransDate | No | None | |
InvoiceIdInvoice number, related to the customer invoice journal. | String (20)CustInvoiceId | 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 | |
RefundAmountAmount in the transaction currency. | RealAmountCur | No | None | |
SalesIdSales order number, pointing to the sales order. | String (20)SalesId | No | SalesTable.SalesId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
TermScheduleLineRecIdPrimary indexTerminationScheduleLineRecId,SalesLineRecIdUnique, alternate key.
Relations (6)
Each relation joins SubBillTermScheduleLineAuditSalesOrder to another table on the fields shown.
TermScheduleLine→SubBillTermScheduleLineAuditJoin on
TerminationScheduleLineRecId = SubBillTermScheduleLineAudit.RecIdMany SubBillTermScheduleLineAuditSalesOrder records → exactly one SubBillTermScheduleLineAudit record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany SubBillTermScheduleLineAuditSalesOrder records → zero or one SalesTable record
SalesLine→SalesLineJoin on
SalesLineRecId = SalesLine.RecIdMany SubBillTermScheduleLineAuditSalesOrder records → zero or one SalesLine record
CustInvoiceJour→CustInvoiceJourJoin on
InvoiceId = CustInvoiceJour.InvoiceIdMany SubBillTermScheduleLineAuditSalesOrder records → zero or one CustInvoiceJour record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany SubBillTermScheduleLineAuditSalesOrder records → zero or one CustTable record
CustInvoiceTrans→CustInvoiceTransJoin on
CustomerInvoiceTransRecId = CustInvoiceTrans.RecIdZero or one SubBillTermScheduleLineAuditSalesOrder record → zero or one CustInvoiceTrans record
Get this data out
No public entity reads from SubBillTermScheduleLineAuditSalesOrder. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillTermScheduleLineAuditSalesOrder in a report, an integration or a migration? Talk to Dr Dynamics.