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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillSchedLineRecIdSystem record ID of the billing schedule line this detail belongs to.Int64
RefRecId
YesSubBillScheduleLine.RecIdSubBillDetailLineExportEntitySubBillDetailLineBiEntity
LineNumLine number within the billing schedule line.Real
LineNum
YesProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity
CustInvoiceTransRecIdSystem record ID of the customer invoice line.Int64
RefRecId
NoCustInvoiceTrans.RecIdSubBillDetailLineBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSubBillDetailLineBiEntity
IsLockedForInvoicingYes/No flag showing whether the line is locked for invoicing.Enum
NoYes (enum)
NoProjSubBillDetailLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjJournalIdIdentifier of the project journal.String (20)
ProjJournalId
NoProjJournalTable.JournalIdNone
ProjJournalVoucherVoucher number of the project journal.String (20)
Voucher
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
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSubBillDetailLineBiEntity
SalesAgreementDiscountAmountDiscount amount from a sales agreement.Real
SubBillSalesAgreementDiscountAmount
NoSubBillDetailLineBiEntity
SalesIdSales order number, pointing to a sales order.String (20)
SalesId
NoSalesTable.SalesIdSubBillDetailLineBiEntity
SalesLineAmountNet amount of the line.Real
SalesLineAmount
NoProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity
SalesLineRecIdSystem record ID of the sales order line.Int64
RefRecId
NoSalesLine.RecIdSubBillDetailLineBiEntity
SalesPricePrice per unit.Real
SubBillUnitPrice
NoProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity
SalesUnitUnit of measure for the sale.String
SalesUnit
NoSubBillDetailLineBiEntity
SubBillAutoRenewalPartialLineYes/No setting for whether a partial line is renewed automatically.Enum
SubBillAutoRenewalPartialLine
NoYes (enum)
NoSubBillDetailLineBiEntity
SubBillBillableQtyQuantity that can be billed.Real
SalesQty
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillBilledYes/No flag showing whether the line has been billed.Enum
SubBillBilled
NoYes (enum)
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillCommentsFree text comments on the line.String (100)NoSubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineBiEntity
SubBillConsumedQtyQuantity consumed.Real
SalesQty
NoProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more
SubBillCreditDeferralAdjMethodMethod for adjusting the deferral: unrecognised periods or complete schedule.Enum
SubBillCreditDeferralAdjMethod (enum)
NoSubBillDetailLineBiEntity
SubBillCurrentReadingCurrent meter or usage reading.Real
SalesQty
NoSubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineExportEntityand 1 more
SubBillDeferralEndDateDate when the deferral ends.Date
SubBillDeferralEndDate
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillDeferralStartDateDate when the deferral starts.Date
SubBillDeferralStartDate
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillEndDateDate when the billing period ends.Date
SubBillEndDate
NoProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more
SubBillEstimatedQtyEstimated quantity.Real
SalesQty
NoSubBillDetailLineEntitySubBillDetailLineEntityV2SubBillDetailLineExportEntityand 1 more
SubBillFreeQtyFree quantity on the line.Real
SubBillFreeQty
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillFreeTextLineRecIdSystem record ID of the free text invoice line.Int64
RefRecId
NoSubBillDetailLineBiEntity
SubBillFreeTextRecIdSystem record ID of the customer free text invoice.Int64
RefRecId
NoCustInvoiceTable.RecIdSubBillDetailLineBiEntity
SubBillMarkdownAmountDiscount amount.Real
SubBillMarkdownAmount
NoProjSubBillDetailLineEntitySubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillMarkdownPercentageDiscount as a percentage.Real
SubBillMarkdownPercentage
NoSubBillDetailLineBiEntity
SubBillMarkdownTypeWhether the discount is an amount or a percentage.Enum
SubBillMarkdownType (enum)
NoSubBillDetailLineBiEntity
SubBillMEADefRevAmountAmount of deferred revenue linked to the line.low confidenceReal
SubBillMEADefRevAmount
NoSubBillDetailLineBiEntity
SubBillMinMaxCommittedDifference between the minimum and maximum committed quantities.Real
SubBillFreeQty
NoSubBillDetailLineBiEntity
SubBillOrigSupportYes/No flag for original support.low confidenceEnum
SubBillOrigSupport
NoYes (enum)
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillPeriodRevenueRevenue for the period.Real
SubBillPeriodRevenue
NoSubBillDetailLineExportEntitySubBillDetailLineBiEntity
SubBillProjInvoiceItemRecIdSystem record ID of the project invoice item.Int64
RefRecId
NoProjInvoiceItem.RecIdSubBillDetailLineBiEntity
SubBillProjProposalIdIdentifier of the project invoice proposal.String (50)
ProjProposalId
NoProjProposalJour.ProposalIdSubBillDetailLineBiEntity
SubBillProrateTerminationDailyYes/No setting for whether termination is prorated by day.Enum
SubBillProrateDaily
NoYes (enum)
NoSubBillDetailLineBiEntity
SubBillResumeHoldLineYes/No flag for a line that resumes from hold.Enum
SubBillResumeHoldLine
NoYes (enum)
NoSubBillDetailLineBiEntity
SubBillStartDateDate when the billing period starts.Date
SubBillStartDate
NoProjSubBillDetailLineEntitySubBillDetailLineEntitySubBillDetailLineEntityV2and 2 more
SubBillSystemCreatedYes/No flag showing whether the line was created by the system.Enum
SubBillSystemCreated
NoYes (enum)
NoSubBillDetailLineBiEntity
SubBillTerminationCreditLineYes/No flag labelled Hold, tied to termination credit lines.low confidenceEnum
SubBillTerminationCreditLine
NoYes (enum)
NoSubBillDetailLineBiEntity
SubBillTextCommentsExtra free text comments. It has no label.low confidenceString (100)NoProjSubBillDetailLineEntitySubBillDetailLineBiEntity
SubBillUnbilledAdjustmentJournalNumNumber of the unbilled revenue journal.String (20)
SubBillUnbilledAdjustmentJournalNum
NoSubBillDetailLineBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TradeAgreementDiscountAmountDiscount amount from a trade agreement.Real
SubBillTradeAgreementDiscountAmount
NoSubBillDetailLineBiEntity

Indexes (6)

Relations (9)

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

  • ParmLine → SubBillInvoiceParmLine

    Join on RecId = SubBillInvoiceParmLine.InvoiceDtlRecId

    Many SubBillDetailLine records → zero or one SubBillInvoiceParmLine record

  • ScheduleLine → SubBillScheduleLine

    Join on SubBillSchedLineRecId = SubBillScheduleLine.RecId

    Many SubBillDetailLine records → exactly one SubBillScheduleLine record

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTransRecId = CustInvoiceTrans.RecId

    Zero or one SubBillDetailLine record → zero or one CustInvoiceTrans record

  • SalesLine → SalesLine

    Join on SalesLineRecId = SalesLine.RecId

    Many SubBillDetailLine records → zero or one SalesLine record

  • CustInvoiceTable → CustInvoiceTable

    Join on SubBillFreeTextRecId = CustInvoiceTable.RecId

    Many SubBillDetailLine records → zero or one CustInvoiceTable record

  • ProjInvoiceItem → ProjInvoiceItem

    Join on SubBillProjInvoiceItemRecId = ProjInvoiceItem.RecId

    Zero or one SubBillDetailLine record → zero or one ProjInvoiceItem record

  • ProjProposalJour → ProjProposalJour

    Join on SubBillProjProposalId = ProjProposalJour.ProposalId

    Zero or one SubBillDetailLine record → zero or one ProjProposalJour record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many SubBillDetailLine records → zero or one SalesTable record

  • ProjJournalTable → ProjJournalTable

    Join on ProjJournalId = ProjJournalTable.JournalId

    Zero 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.

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

Email sales@drdynamics.co.uk