Table
SubBillTermScheduleHdrAudit
Subscription billing termination schedule header audit
Audit rows for the termination of a whole billing schedule. They hold the reason, notes, termination and removal dates, users, and the termination and reversal journal details. The key is the billing schedule number plus a line number.
- Table name
SubBillTermScheduleHdrAudit- Module
Subscription billing- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineNum- Replacement key
LineNum- Key fields
SubBillBillingScheduleNumber, LineNum- Model
SubscriptionBilling
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillBillingScheduleNumberBilling schedule number, pointing to the billing schedule. | String (20)SubBillBillingScheduleNumber | Yes | SubBillScheduleTable.SubBillBillingScheduleNumber | None |
LineNumLine number of the audit row. | RealLineNum | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
SubBillAllocTermAdjJournalIdJournal batch number for the termination. | String (20)LedgerJournalId | No | None | |
SubBillAllocTermAdjJournalNameName of the termination journal. | StringLedgerJournalNameId | No | None | |
SubBillAllocTermAdjJournalPostedYes or no flag showing whether the termination journal is posted. | EnumJournalPostedNoYes (enum) | No | None | |
SubBillAllocTermAdjJournalPostedDateDate the termination journal was posted. | DateTransDate | No | None | |
SubBillAllocTermAdjReversalJournalIdJournal batch number for the termination reversal. | String (20)LedgerJournalId | No | None | |
SubBillAllocTermAdjReversalJournalNameName of the termination reversal journal. | StringLedgerJournalNameId | No | None | |
SubBillAllocTermAdjReversalJournalPostedYes or no flag showing whether the reversal journal is posted. | EnumJournalPostedNoYes (enum) | No | None | |
SubBillAllocTermAdjReversalJournalPostedDateDate the reversal journal was posted. | DateTransDate | No | 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 | Yes | ReasonTable.Reason | 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 (1)
LineNumPrimary indexReplacement keySubBillBillingScheduleNumber,LineNumUnique, alternate key.
Relations (2)
Each relation joins SubBillTermScheduleHdrAudit to another table on the fields shown.
ScheduleTable→SubBillScheduleTableJoin on
SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumberMany SubBillTermScheduleHdrAudit records → zero or one SubBillScheduleTable record
ReasonCode→ReasonTableJoin on
SubBillTermReasonCode = ReasonTable.ReasonMany SubBillTermScheduleHdrAudit records → zero or one ReasonTable record
Get this data out
No public entity reads from SubBillTermScheduleHdrAudit. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillTermScheduleHdrAudit in a report, an integration or a migration? Talk to Dr Dynamics.