Table
SubBillDetailLine
Subscription billing detail line
Holds the detail lines of a billing schedule line. The key is the billing schedule line record ID plus a line number. Each line has billing and deferral dates, quantities, prices, discounts and links to sales orders, customer invoices and project items.
- Table name
SubBillDetailLine- Module
Subscription billing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineNum- Replacement key
LineNum- Key fields
SubBillSchedLineRecId, LineNum- Model
SubscriptionBilling
Fields (49)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillSchedLineRecIdSystem record ID of the billing schedule line this detail belongs to. | Int64RefRecId | Yes | SubBillScheduleLine.RecId | SubBillDetailLineExportEntitySubBillDetailLineBiEntity |
LineNumLine number within the billing schedule line. | RealLineNum | Yes | ProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
CustInvoiceTransRecIdSystem record ID of the customer invoice line. | Int64RefRecId | No | CustInvoiceTrans.RecId | SubBillDetailLineBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SubBillDetailLineBiEntity | |
IsLockedForInvoicingYes/No flag showing whether the line is locked for invoicing. | EnumNoYes (enum) | No | ProjSubBillDetailLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjJournalIdIdentifier of the project journal. | String (20)ProjJournalId | No | ProjJournalTable.JournalId | None |
ProjJournalVoucherVoucher number of the project journal. | String (20)Voucher | 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 | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SubBillDetailLineBiEntity | |
SalesAgreementDiscountAmountDiscount amount from a sales agreement. | RealSubBillSalesAgreementDiscountAmount | No | SubBillDetailLineBiEntity | |
SalesIdSales order number, pointing to a sales order. | String (20)SalesId | No | SalesTable.SalesId | SubBillDetailLineBiEntity |
SalesLineAmountNet amount of the line. | RealSalesLineAmount | No | ProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SalesLineRecIdSystem record ID of the sales order line. | Int64RefRecId | No | SalesLine.RecId | SubBillDetailLineBiEntity |
SalesPricePrice per unit. | RealSubBillUnitPrice | No | ProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SalesUnitUnit of measure for the sale. | StringSalesUnit | No | SubBillDetailLineBiEntity | |
SubBillAutoRenewalPartialLineYes/No setting for whether a partial line is renewed automatically. | EnumSubBillAutoRenewalPartialLineNoYes (enum) | No | SubBillDetailLineBiEntity | |
SubBillBillableQtyQuantity that can be billed. | RealSalesQty | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillBilledYes/No flag showing whether the line has been billed. | EnumSubBillBilledNoYes (enum) | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillCommentsFree text comments on the line. | String (100) | No | SubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineBiEntity | |
SubBillConsumedQtyQuantity consumed. | RealSalesQty | No | ProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more | |
SubBillCreditDeferralAdjMethodMethod for adjusting the deferral: unrecognised periods or complete schedule. | EnumSubBillCreditDeferralAdjMethod (enum) | No | SubBillDetailLineBiEntity | |
SubBillCurrentReadingCurrent meter or usage reading. | RealSalesQty | No | SubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineExportEntityand 1 more | |
SubBillDeferralEndDateDate when the deferral ends. | DateSubBillDeferralEndDate | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillDeferralStartDateDate when the deferral starts. | DateSubBillDeferralStartDate | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillEndDateDate when the billing period ends. | DateSubBillEndDate | No | ProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more | |
SubBillEstimatedQtyEstimated quantity. | RealSalesQty | No | SubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineExportEntityand 1 more | |
SubBillFreeQtyFree quantity on the line. | RealSubBillFreeQty | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillFreeTextLineRecIdSystem record ID of the free text invoice line. | Int64RefRecId | No | SubBillDetailLineBiEntity | |
SubBillFreeTextRecIdSystem record ID of the customer free text invoice. | Int64RefRecId | No | CustInvoiceTable.RecId | SubBillDetailLineBiEntity |
SubBillMarkdownAmountDiscount amount. | RealSubBillMarkdownAmount | No | ProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillMarkdownPercentageDiscount as a percentage. | RealSubBillMarkdownPercentage | No | SubBillDetailLineBiEntity | |
SubBillMarkdownTypeWhether the discount is an amount or a percentage. | EnumSubBillMarkdownType (enum) | No | SubBillDetailLineBiEntity | |
SubBillMEADefRevAmountAmount of deferred revenue linked to the line.low confidence | RealSubBillMEADefRevAmount | No | SubBillDetailLineBiEntity | |
SubBillMinMaxCommittedDifference between the minimum and maximum committed quantities. | RealSubBillFreeQty | No | SubBillDetailLineBiEntity | |
SubBillOrigSupportYes/No flag for original support.low confidence | EnumSubBillOrigSupportNoYes (enum) | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillPeriodRevenueRevenue for the period. | RealSubBillPeriodRevenue | No | SubBillDetailLineExportEntitySubBillDetailLineBiEntity | |
SubBillProjInvoiceItemRecIdSystem record ID of the project invoice item. | Int64RefRecId | No | ProjInvoiceItem.RecId | SubBillDetailLineBiEntity |
SubBillProjProposalIdIdentifier of the project invoice proposal. | String (50)ProjProposalId | No | ProjProposalJour.ProposalId | SubBillDetailLineBiEntity |
SubBillProrateTerminationDailyYes/No setting for whether termination is prorated by day. | EnumSubBillProrateDailyNoYes (enum) | No | SubBillDetailLineBiEntity | |
SubBillResumeHoldLineYes/No flag for a line that resumes from hold. | EnumSubBillResumeHoldLineNoYes (enum) | No | SubBillDetailLineBiEntity | |
SubBillStartDateDate when the billing period starts. | DateSubBillStartDate | No | ProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more | |
SubBillSystemCreatedYes/No flag showing whether the line was created by the system. | EnumSubBillSystemCreatedNoYes (enum) | No | SubBillDetailLineBiEntity | |
SubBillTerminationCreditLineYes/No flag labelled Hold, tied to termination credit lines.low confidence | EnumSubBillTerminationCreditLineNoYes (enum) | No | SubBillDetailLineBiEntity | |
SubBillTextCommentsExtra free text comments. It has no label.low confidence | String (100) | No | ProjSubBillDetailLineEntitySubBillDetailLineBiEntity | |
SubBillUnbilledAdjustmentJournalNumNumber of the unbilled revenue journal. | String (20)SubBillUnbilledAdjustmentJournalNum | No | SubBillDetailLineBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TradeAgreementDiscountAmountDiscount amount from a trade agreement. | RealSubBillTradeAgreementDiscountAmount | No | SubBillDetailLineBiEntity |
Indexes (6)
LineNumPrimary indexReplacement keySubBillSchedLineRecId,LineNumUnique, alternate key.
SalesLineRecIdNot unique.
SalesIdNot unique.
CustInvoiceTransRecIdNot unique.
SubBillOrigSupportSubBillSchedLineRecId,SubBillOrigSupportNot unique.
ProjJournalIdNot unique.
Relations (9)
Each relation joins SubBillDetailLine to another table on the fields shown.
ParmLine→SubBillInvoiceParmLineJoin on
RecId = SubBillInvoiceParmLine.InvoiceDtlRecIdMany SubBillDetailLine records → zero or one SubBillInvoiceParmLine record
ScheduleLine→SubBillScheduleLineJoin on
SubBillSchedLineRecId = SubBillScheduleLine.RecIdMany SubBillDetailLine records → exactly one SubBillScheduleLine record
CustInvoiceTrans→CustInvoiceTransJoin on
CustInvoiceTransRecId = CustInvoiceTrans.RecIdZero or one SubBillDetailLine record → zero or one CustInvoiceTrans record
SalesLine→SalesLineJoin on
SalesLineRecId = SalesLine.RecIdMany SubBillDetailLine records → zero or one SalesLine record
CustInvoiceTable→CustInvoiceTableJoin on
SubBillFreeTextRecId = CustInvoiceTable.RecIdMany SubBillDetailLine records → zero or one CustInvoiceTable record
ProjInvoiceItem→ProjInvoiceItemJoin on
SubBillProjInvoiceItemRecId = ProjInvoiceItem.RecIdZero or one SubBillDetailLine record → zero or one ProjInvoiceItem record
ProjProposalJour→ProjProposalJourJoin on
SubBillProjProposalId = ProjProposalJour.ProposalIdZero or one SubBillDetailLine record → zero or one ProjProposalJour record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany SubBillDetailLine records → zero or one SalesTable record
ProjJournalTable→ProjJournalTableJoin on
ProjJournalId = ProjJournalTable.JournalIdZero or one SubBillDetailLine record → zero or one ProjJournalTable record
Get this data out
Tables are not exposed directly. These public entities read from SubBillDetailLine; use one of them in Power BI, Power Platform or a data management project.
ProjSubBillDetailLineEntity· 9 fields from this tableSubBillDetailLineEntity· 6 fields from this tableSubBillDetailLineEntityV2· 6 fields from this tableSubBillDetailLineExportEntity· 18 fields from this tableSubBillDetailLineBiEntity· 43 fields from this table
Need help with SubBillDetailLine in a report, an integration or a migration? Talk to Dr Dynamics.