Table

SubBillMarkdownLog

Markdown logs

Log of discounts (markdowns) on a billing schedule line. Each record is identified by the schedule line RecId and a line number. It stores the period, the unit price and the discount as an amount or percentage.

Table name
SubBillMarkdownLog
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 (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillScheduleLineRecIdSystem record ID of the billing schedule line.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
SubBillEndDateEnd date of the period.Date
SubBillEndDate
NoNone
SubBillEscalationStartEscalation date.Date
SubBillEscalationStart
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
SubBillStartDateStart date of the period.Date
SubBillStartDate
NoNone
SubBillUnitPriceUnit price on this log entry.Real
SubBillUnitPrice
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillScheduleLineRecId = SubBillScheduleLine.RecId

    Many SubBillMarkdownLog records → exactly one SubBillScheduleLine record

Get this data out

No public entity reads from SubBillMarkdownLog. Its data is only reachable through the application, a custom entity or a database export.

Need help with SubBillMarkdownLog in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk