Table
SubBillMRRBillingScheduleLine
Subscription billing MRR schedule line
Holds lines of a subscription billing schedule used for monthly recurring revenue (MRR) data. Each line has an item, billing dates, frequency, quantity, price and amount. Rows are keyed by schedule number, line number and parameter ID, and link to customers, items and the billing schedule.
- Table name
SubBillMRRBillingScheduleLine- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineNum- Replacement key
LineNum- Key fields
SubBillBillingScheduleNumber, LineNum, ParmId- Model
SubscriptionBilling
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillBillingScheduleNumberNumber of the billing schedule the line belongs to. | String (20)SubBillBillingScheduleNumber | Yes | SubBillScheduleTable.SubBillBillingScheduleNumber | None |
LineNumLine number within the schedule. | RealLineNum | Yes | None | |
ParmIdParameter ID linking the line to a billing and revenue report header. | String (20)ParmId | Yes | None | |
CustAccountCustomer account of the billing schedule, pointing to a customer. | String (20)CustAccount | No | CustTable.AccountNum | None |
CustCurrencyCodeCurrency code of the customer. | String (3)CustCurrencyCode | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ItemIdItem on the line, pointing to an inventory item. | String (20)ItemIdSmall | No | InventTable.ItemId | 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 | |
SalesLineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
SalesOrderedQtyQuantity ordered on the line. | RealSalesOrderedQty | No | None | |
SalesPricePrice per unit. | RealUnitPrice | No | None | |
SubBillEndDateDate on which billing ends. | DateSubBillEndDate | No | None | |
SubBillEstimatedConsumptionEstimated consumption for the line. | RealSubBillEstimatedConsumption | No | None | |
SubBillFrequencyHow often billing happens, from one-time to annually. | EnumSubBillFrequency (enum) | No | None | |
SubBillIntervalNumber of frequency periods between billings. | Integer | No | None | |
SubBillItemTypeKind of item: standard, usage or milestone. | EnumSubBillItemType (enum) | No | None | |
SubBillSchedLineRecIdSystem record ID of the schedule line. | Int64 | No | None | |
SubBillStartDateDate on which billing starts. | DateSubBillStartDate | No | None | |
SubBillTerminationDateDate on which the line is terminated; no label is given.low confidence | Date | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
LineNumPrimary indexReplacement keySubBillBillingScheduleNumber,LineNum,ParmIdUnique, alternate key.
ParmIdNot unique.
Relations (4)
Each relation joins SubBillMRRBillingScheduleLine to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SubBillMRRBillingScheduleLine records → zero or one InventTable record
ScheduleTable→SubBillScheduleTableJoin on
SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumberMany SubBillMRRBillingScheduleLine records → exactly one SubBillScheduleTable record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumZero or one SubBillMRRBillingScheduleLine record → zero or one CustTable record
SubBillBillingAndRevenueParmTableTmp→SubBillBillingAndRevenueParmTableTmpJoin on
ParmId = SubBillBillingAndRevenueParmTableTmp.ParmIdMany SubBillMRRBillingScheduleLine records → zero or one SubBillBillingAndRevenueParmTableTmp record
Get this data out
No public entity reads from SubBillMRRBillingScheduleLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillMRRBillingScheduleLine in a report, an integration or a migration? Talk to Dr Dynamics.