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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillScheduleLineRecIdSystem record ID of the billing schedule line. | 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 | |
SubBillEndDateEnd date of the period. | DateSubBillEndDate | No | None | |
SubBillEscalationStartEscalation date. | DateSubBillEscalationStart | 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 | |
SubBillStartDateStart date of the period. | DateSubBillStartDate | No | None | |
SubBillUnitPriceUnit price on this log entry. | RealSubBillUnitPrice | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LineNumPrimary indexReplacement keySubBillScheduleLineRecId,LineNumUnique, alternate key.
Relations (1)
Each relation joins SubBillMarkdownLog to another table on the fields shown.
ScheduleLine→SubBillScheduleLineJoin on
SubBillScheduleLineRecId = SubBillScheduleLine.RecIdMany 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.