Table
SubBillSalesQuotationParmLine
Subscription billing sales quotation - line table
Line rows for a subscription billing sales quotation run. Each row holds item, billing dates, quantity, price, discount and tax amount for a schedule line and detail line. The key combines the parameter ID, billing schedule, schedule line, detail line and customer split account.
- Table name
SubBillSalesQuotationParmLine- Module
Subscription billing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
ParmIdRecIdIdx- Replacement key
ParmIdRecIdIdx- Key fields
ParmId, BillingScheduleNumber, SubBillSchedLineRecId, SubBillDetailLineRecId, CustSplitCustAccount- Model
SubscriptionBilling
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParmIdParameter ID of the quotation run. It joins to the header table together with the billing schedule number. | String (20)ParmId | Yes | SubBillSalesQuotationParmTable.ParmId | None |
BillingScheduleNumberBilling schedule number. It joins to the header table together with the parameter ID. | String (20)SubBillBillingScheduleNumber | Yes | SubBillSalesQuotationParmTable.BillingScheduleNumber | None |
SubBillSchedLineRecIdRecord ID of the billing schedule line. | Int64RefRecId | Yes | SubBillScheduleLine.RecId | None |
SubBillDetailLineRecIdRecord ID of the subscription billing detail line. | Int64RefRecId | Yes | SubBillDetailLine.RecId | None |
CustSplitCustAccountCustomer account used in the customer split. | String (20)CustAccount | Yes | None | |
BillableQtyQuantity that can be billed. | RealSalesQty | No | None | |
CustomerSplitYes or no flag showing whether the line is split between customers. | EnumSubBillCustomerSplitNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndDateDate billing ends. | DateSubBillEndDate | No | None | |
ItemIdItem number, pointing to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
MarkdownAmountDiscount amount. | RealSubBillMarkdownAmount | No | None | |
MilestoneHeaderRecIdRecord ID of the milestone header.low confidence | Int64RefRecId | 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 | |
RevenueSplitYes or no flag marking the line as a revenue split parent. | EnumSubBillRevenueSplitNoYes (enum) | No | None | |
RevenueSplitParentLineRecIdRecord ID of the revenue split parent line. | Int64RefRecId | No | None | |
SalesLineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
SalesPricePrice per unit. | RealSubBillUnitPrice | No | None | |
SalesUnitUnit of measure. | StringSalesUnit | No | None | |
ScheduleLineNumLine number of the schedule line. | RealLineNum | Yes | None | |
StartDateDate billing starts. | DateSubBillStartDate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountCurSales tax amount; currency not stated in the metadata. | RealTaxAmountCur | No | None |
Indexes (2)
ParmIdRecIdIdxPrimary indexReplacement keyParmId,BillingScheduleNumber,SubBillSchedLineRecId,SubBillDetailLineRecId,CustSplitCustAccountUnique, alternate key.
StartDateIdxParmId,BillingScheduleNumber,StartDate,SubBillSchedLineRecIdNot unique.
Relations (4)
Each relation joins SubBillSalesQuotationParmLine to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SubBillSalesQuotationParmLine records → zero or one InventTable record
SubBillScheduleLine→SubBillScheduleLineJoin on
SubBillSchedLineRecId = SubBillScheduleLine.RecIdMany SubBillSalesQuotationParmLine records → zero or one SubBillScheduleLine record
SubBillDetailLine→SubBillDetailLineJoin on
SubBillDetailLineRecId = SubBillDetailLine.RecIdZero or one SubBillSalesQuotationParmLine record → zero or one SubBillDetailLine record
SubBillSalesQuotationParmTable→SubBillSalesQuotationParmTableJoin on
BillingScheduleNumber = SubBillSalesQuotationParmTable.BillingScheduleNumber,ParmId = SubBillSalesQuotationParmTable.ParmIdMany SubBillSalesQuotationParmLine records → exactly one SubBillSalesQuotationParmTable record
Get this data out
No public entity reads from SubBillSalesQuotationParmLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillSalesQuotationParmLine in a report, an integration or a migration? Talk to Dr Dynamics.