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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillScheduleLineRecIdSystem record ID of the billing schedule line that this log entry belongs to.Int64
SubBillScheduleLineRecId
YesSubBillScheduleLine.RecIdNone
LineNumLine number that orders the log entries for one schedule line.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
SubBillAmountAmount used for the escalation.Real
LineAmount
NoNone
SubBillCPIDateAfterDate of the consumer price index value used after the escalation.Date
SubBillCPIDateAfter
NoNone
SubBillCPIDateBeforeDate of the consumer price index value used before the escalation.Date
SubBillCPIDateBefore
NoNone
SubBillCPIIndexAfterConsumer price index value after the escalation.Real
SubBillCPIIndexAfter
NoNone
SubBillCPIIndexBeforeConsumer price index value before the escalation.Real
SubBillCPIIndexBefore
NoNone
SubBillCPIScheduleIdConsumer price index schedule used for the escalation. Points to the consumer price index table.String
SubBillCPIScheduleID
NoSubBillCPITable.SubBillCPIScheduleIdNone
SubBillCurrentRateCurrent unit price on this log entry.Real
SubBillCurrentRate
NoNone
SubBillEndDateEnd date of the period that this entry covers.Date
SubBillEndDate
NoNone
SubBillEscalationFrequencyHow often the escalation is applied: monthly, quarterly, semiannually, annually or none.Enum
SubBillEscalationFrequency (enum)
NoNone
SubBillEscalationMethodMethod of escalation: by amount, by percentage or by consumer price index.Enum
SubBillEscalationMethod (enum)
NoNone
SubBillEscalationStartDate on which the escalation starts.Date
SubBillEscalationStart
YesNone
SubBillMarkdownYes/No flag showing whether a discount applies.Enum
SubBillMarkdown
NoYes (enum)
NoNone
SubBillMarkdownAmountDiscount given as an amount.Real
SubBillMarkdownAmount
NoNone
SubBillMarkdownPercentageDiscount given as a percentage.Real
SubBillMarkdownPercentage
NoNone
SubBillMarkdownTypeWhether the discount is an amount or a percentage.Enum
SubBillMarkdownType (enum)
NoNone
SubBillPercentPercentage used for the escalation.Real
SubBillPercent
NoNone
SubBillRateChangeSize of the change in rate.Real
SubBillRateChange
NoNone
SubBillStartDateStart date of the period that this entry covers.Date
SubBillStartDate
NoNone
SubBillUnitPriceUnit price recorded on this log entry.Real
SubBillUnitPrice
NoNone
SubBillUnitPriceAfterRate after the escalation.Real
SubBillUnitPriceAfter
NoNone
SubBillUnitPriceBeforeRate before the escalation.Real
SubBillUnitPriceBefore
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLineRecId = SubBillScheduleLine.RecId

    Many SubBillEscalationLog records → exactly one SubBillScheduleLine record

  • CPITable → SubBillCPITable

    Join on SubBillCPIScheduleId = SubBillCPITable.SubBillCPIScheduleId

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

Email sales@drdynamics.co.uk