Table
SubBillEscalationLog
Escalation logs
Holds escalation log records for a billing schedule line. Each record is identified by the schedule line RecId and a line number. It stores the escalation method (amount, percentage or consumer price index), the dates, the rates before and after, and any discount details. It can link to a consumer price index schedule.
- Table name
SubBillEscalationLog- Module
Subscription billing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineNum- Replacement key
LineNum- Key fields
SubBillScheduleLineRecId, LineNum- Model
SubscriptionBilling
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillScheduleLineRecIdSystem record ID of the billing schedule line that this log entry belongs to. | Int64SubBillScheduleLineRecId | Yes | SubBillScheduleLine.RecId | None |
LineNumLine number that orders the log entries for one schedule line. | 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 | |
SubBillAmountAmount used for the escalation. | RealLineAmount | No | None | |
SubBillCPIDateAfterDate of the consumer price index value used after the escalation. | DateSubBillCPIDateAfter | No | None | |
SubBillCPIDateBeforeDate of the consumer price index value used before the escalation. | DateSubBillCPIDateBefore | No | None | |
SubBillCPIIndexAfterConsumer price index value after the escalation. | RealSubBillCPIIndexAfter | No | None | |
SubBillCPIIndexBeforeConsumer price index value before the escalation. | RealSubBillCPIIndexBefore | No | None | |
SubBillCPIScheduleIdConsumer price index schedule used for the escalation. Points to the consumer price index table. | StringSubBillCPIScheduleID | No | SubBillCPITable.SubBillCPIScheduleId | None |
SubBillCurrentRateCurrent unit price on this log entry. | RealSubBillCurrentRate | No | None | |
SubBillEndDateEnd date of the period that this entry covers. | DateSubBillEndDate | No | None | |
SubBillEscalationFrequencyHow often the escalation is applied: monthly, quarterly, semiannually, annually or none. | EnumSubBillEscalationFrequency (enum) | No | None | |
SubBillEscalationMethodMethod of escalation: by amount, by percentage or by consumer price index. | EnumSubBillEscalationMethod (enum) | No | None | |
SubBillEscalationStartDate on which the escalation starts. | DateSubBillEscalationStart | Yes | None | |
SubBillMarkdownYes/No flag showing whether a discount applies. | EnumSubBillMarkdownNoYes (enum) | No | None | |
SubBillMarkdownAmountDiscount given as an amount. | RealSubBillMarkdownAmount | No | None | |
SubBillMarkdownPercentageDiscount given as a percentage. | RealSubBillMarkdownPercentage | No | None | |
SubBillMarkdownTypeWhether the discount is an amount or a percentage. | EnumSubBillMarkdownType (enum) | No | None | |
SubBillPercentPercentage used for the escalation. | RealSubBillPercent | No | None | |
SubBillRateChangeSize of the change in rate. | RealSubBillRateChange | No | None | |
SubBillStartDateStart date of the period that this entry covers. | DateSubBillStartDate | No | None | |
SubBillUnitPriceUnit price recorded on this log entry. | RealSubBillUnitPrice | No | None | |
SubBillUnitPriceAfterRate after the escalation. | RealSubBillUnitPriceAfter | No | None | |
SubBillUnitPriceBeforeRate before the escalation. | RealSubBillUnitPriceBefore | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LineNumPrimary indexReplacement keySubBillScheduleLineRecId,LineNumUnique, alternate key.
Relations (2)
Each relation joins SubBillEscalationLog to another table on the fields shown.
ScheduleLine→SubBillScheduleLineJoin on
SubBillScheduleLineRecId = SubBillScheduleLine.RecIdMany SubBillEscalationLog records → exactly one SubBillScheduleLine record
CPITable→SubBillCPITableJoin on
SubBillCPIScheduleId = SubBillCPITable.SubBillCPIScheduleIdMany SubBillEscalationLog records → zero or one SubBillCPITable record
Get this data out
No public entity reads from SubBillEscalationLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillEscalationLog in a report, an integration or a migration? Talk to Dr Dynamics.