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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillBillingScheduleNumberBilling schedule number, pointing to the billing schedule.String (20)
SubBillBillingScheduleNumber
YesSubBillScheduleTable.SubBillBillingScheduleNumberNone
LineNumLine number of the audit row.Real
LineNum
YesNone
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
SubBillAllocTermAdjJournalIdJournal batch number for the termination.String (20)
LedgerJournalId
NoNone
SubBillAllocTermAdjJournalNameName of the termination journal.String
LedgerJournalNameId
NoNone
SubBillAllocTermAdjJournalPostedYes or no flag showing whether the termination journal is posted.Enum
JournalPosted
NoYes (enum)
NoNone
SubBillAllocTermAdjJournalPostedDateDate the termination journal was posted.Date
TransDate
NoNone
SubBillAllocTermAdjReversalJournalIdJournal batch number for the termination reversal.String (20)
LedgerJournalId
NoNone
SubBillAllocTermAdjReversalJournalNameName of the termination reversal journal.String
LedgerJournalNameId
NoNone
SubBillAllocTermAdjReversalJournalPostedYes or no flag showing whether the reversal journal is posted.Enum
JournalPosted
NoYes (enum)
NoNone
SubBillAllocTermAdjReversalJournalPostedDateDate the reversal journal was posted.Date
TransDate
NoNone
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
YesReasonTable.ReasonNone
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 (1)

Relations (2)

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

  • ScheduleTable → SubBillScheduleTable

    Join on SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumber

    Many SubBillTermScheduleHdrAudit records → zero or one SubBillScheduleTable record

  • ReasonCode → ReasonTable

    Join on SubBillTermReasonCode = ReasonTable.Reason

    Many 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.

Email sales@drdynamics.co.uk