Data entity

SubBillDetailLineExportEntity

Read-friendly export of subscription billing detail lines. It joins each detail line to its schedule line, billing schedule, sales order line and customer invoice line. It shows quantities, unit price, discount, net amount, period revenue and billed status. It also shows the sales order, invoice, customer, product name and deferral dates. The key is the schedule number, schedule line number and detail line number.

Entity name
SubBillDetailLineExportEntity
Public entity name
SubBillBillingDetailLineExport
OData collection
SubBillBillingDetailLineExports
Category
Not set
Module
Subscription billing
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
ScheduleNumber, ScheduleLineNum, DetailLineNum
Staging table
SubBillDetailLineExportStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SubBillBillingDetailLineExports
Dataverse virtual table
mserp_subbilldetaillineexportentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • SubBillDetailLine · root · read-only
  • SubBillScheduleLine · InnerJoin to SubBillDetailLine · read-only
  • SubBillScheduleTable · InnerJoin to SubBillScheduleLine · read-only
  • SalesLine · OuterJoin to SubBillDetailLine · read-only
  • CustInvoiceTrans · OuterJoin to SubBillDetailLine · read-only

Fields (30)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ScheduleNumberNumber of the billing schedule that this line belongs to.String (20)
SubBillBillingScheduleNumber
YesYesSubBillScheduleTable.SubBillBillingScheduleNumberSubBillScheduleLine.SubBillBillingScheduleNumber
ScheduleLineNumPosition of the line within the billing schedule.Real
LineNum
YesYesSubBillScheduleLine.LineNum
ItemNumberItem sold on this line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdSubBillScheduleLine.ItemId
UsageReadingOptionFor usage items, whether billing uses a meter reading or consumption.Enum
SubBillUsageReadingOption
  • Reading 0
  • Consumption 1
NoYesSubBillScheduleLine.SubBillUsageReadingOption
UsageIdentifierIdentifier that ties the line to usage data.String
SubBillUsageIdentifier
NoYesSubBillScheduleLine.SubBillUsageIdentifier
DetailLineNumLine number within the billing schedule line.Real
LineNum
YesYesSubBillDetailLine.LineNum
BillingStartDateDate when the billing period starts.Date
SubBillStartDate
NoYesSubBillDetailLine.SubBillStartDate
BillingEndDateDate when the billing period ends.Date
SubBillEndDate
NoYesSubBillDetailLine.SubBillEndDate
CurrentReadingCurrent meter or usage reading.Real
SalesQty
NoYesSubBillDetailLine.SubBillCurrentReading
EstimatedQuantityEstimated quantity.Real
SalesQty
NoYesSubBillDetailLine.SubBillEstimatedQty
ConsumedQuantityQuantity consumed.Real
SalesQty
NoYesSubBillDetailLine.SubBillConsumedQty
FreeQuantityFree quantity on the line.Real
SubBillFreeQty
NoYesSubBillDetailLine.SubBillFreeQty
BillableQuantityQuantity that can be billed.Real
SalesQty
NoYesSubBillDetailLine.SubBillBillableQty
UnitPricePrice per unit.Real
SubBillUnitPrice
NoYesSubBillDetailLine.SalesPrice
DiscountDiscount amount.Real
SubBillMarkdownAmount
NoYesSubBillDetailLine.SubBillMarkdownAmount
NetAmountNet amount of the line.Real
SalesLineAmount
NoYesSubBillDetailLine.SalesLineAmount
PeriodRevenueRevenue for the period.Real
SubBillPeriodRevenue
NoYesSubBillDetailLine.SubBillPeriodRevenue
BilledYes/No flag showing whether the line has been billed.Enum
SubBillBilled
NoYes

Platform enum: values not in the metadata extract.

NoYesSubBillDetailLine.SubBillBilled
OriginalSupportYes/No flag for original support.low confidenceEnum
SubBillOrigSupport
NoYes

Platform enum: values not in the metadata extract.

NoYesSubBillDetailLine.SubBillOrigSupport
SalesOrderSales order number that the line belongs to, pointing to the sales order header.String (20)
SalesIdBase
NoYesSalesTable.SalesIdSalesLine.SalesId
InvoiceInvoice number; links the line to the invoice journal.String (20)
CustInvoiceId
YesYesCustInvoiceTrans.InvoiceId
InvoiceDateDate of the invoice.Date
TransDate
YesYesCustInvoiceTrans.InvoiceDate
CustAccountCustomer account the schedule is billed to.String (20)
CustAccount
YesYesCustTable.AccountNumSubBillScheduleTable.CustAccount
CustNameName of the customer on the billing schedule.String (30)
CustName
NoYesvirtual
ProductNameName of the product (item) on the line.String (60)
ItemName
NoYesvirtual
DeferralEndDateDate when the deferral ends.Date
SubBillDeferralEndDate
NoYesSubBillDetailLine.SubBillDeferralEndDate
DeferralStartDateDate when the deferral starts.Date
SubBillDeferralStartDate
NoYesSubBillDetailLine.SubBillDeferralStartDate
DeferralScheduleNumberNumber of the revenue deferral schedule linked to the line.String (20)
SubBillDeferralScheduleNumber
NoYesvirtual
SchedLineRecIdSystem record ID of the billing schedule line this detail belongs to.Int64
RefRecId
YesYesSubBillScheduleLine.RecIdSubBillDetailLine.SubBillSchedLineRecId
DetailLineRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesSubBillDetailLine.RecId

Foreign keys (5)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with SubBillDetailLineExportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk