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-onlySubBillScheduleLine· InnerJoin toSubBillDetailLine· read-onlySubBillScheduleTable· InnerJoin toSubBillScheduleLine· read-onlySalesLine· OuterJoin toSubBillDetailLine· read-onlyCustInvoiceTrans· OuterJoin toSubBillDetailLine· read-only
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ScheduleNumberNumber of the billing schedule that this line belongs to. | String (20)SubBillBillingScheduleNumber | Yes | Yes | SubBillScheduleTable.SubBillBillingScheduleNumber | SubBillScheduleLine.SubBillBillingScheduleNumber |
ScheduleLineNumPosition of the line within the billing schedule. | RealLineNum | Yes | Yes | SubBillScheduleLine.LineNum | |
ItemNumberItem sold on this line. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | SubBillScheduleLine.ItemId |
UsageReadingOptionFor usage items, whether billing uses a meter reading or consumption. | Enum
| No | Yes | SubBillScheduleLine.SubBillUsageReadingOption | |
UsageIdentifierIdentifier that ties the line to usage data. | StringSubBillUsageIdentifier | No | Yes | SubBillScheduleLine.SubBillUsageIdentifier | |
DetailLineNumLine number within the billing schedule line. | RealLineNum | Yes | Yes | SubBillDetailLine.LineNum | |
BillingStartDateDate when the billing period starts. | DateSubBillStartDate | No | Yes | SubBillDetailLine.SubBillStartDate | |
BillingEndDateDate when the billing period ends. | DateSubBillEndDate | No | Yes | SubBillDetailLine.SubBillEndDate | |
CurrentReadingCurrent meter or usage reading. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillCurrentReading | |
EstimatedQuantityEstimated quantity. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillEstimatedQty | |
ConsumedQuantityQuantity consumed. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillConsumedQty | |
FreeQuantityFree quantity on the line. | RealSubBillFreeQty | No | Yes | SubBillDetailLine.SubBillFreeQty | |
BillableQuantityQuantity that can be billed. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillBillableQty | |
UnitPricePrice per unit. | RealSubBillUnitPrice | No | Yes | SubBillDetailLine.SalesPrice | |
DiscountDiscount amount. | RealSubBillMarkdownAmount | No | Yes | SubBillDetailLine.SubBillMarkdownAmount | |
NetAmountNet amount of the line. | RealSalesLineAmount | No | Yes | SubBillDetailLine.SalesLineAmount | |
PeriodRevenueRevenue for the period. | RealSubBillPeriodRevenue | No | Yes | SubBillDetailLine.SubBillPeriodRevenue | |
BilledYes/No flag showing whether the line has been billed. | EnumSubBillBilled
| No | Yes | SubBillDetailLine.SubBillBilled | |
OriginalSupportYes/No flag for original support.low confidence | EnumSubBillOrigSupport
| No | Yes | SubBillDetailLine.SubBillOrigSupport | |
SalesOrderSales order number that the line belongs to, pointing to the sales order header. | String (20)SalesIdBase | No | Yes | SalesTable.SalesId | SalesLine.SalesId |
InvoiceInvoice number; links the line to the invoice journal. | String (20)CustInvoiceId | Yes | Yes | CustInvoiceTrans.InvoiceId | |
InvoiceDateDate of the invoice. | DateTransDate | Yes | Yes | CustInvoiceTrans.InvoiceDate | |
CustAccountCustomer account the schedule is billed to. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | SubBillScheduleTable.CustAccount |
CustNameName of the customer on the billing schedule. | String (30)CustName | No | Yes | virtual | |
ProductNameName of the product (item) on the line. | String (60)ItemName | No | Yes | virtual | |
DeferralEndDateDate when the deferral ends. | DateSubBillDeferralEndDate | No | Yes | SubBillDetailLine.SubBillDeferralEndDate | |
DeferralStartDateDate when the deferral starts. | DateSubBillDeferralStartDate | No | Yes | SubBillDetailLine.SubBillDeferralStartDate | |
DeferralScheduleNumberNumber of the revenue deferral schedule linked to the line. | String (20)SubBillDeferralScheduleNumber | No | Yes | virtual | |
SchedLineRecIdSystem record ID of the billing schedule line this detail belongs to. | Int64RefRecId | Yes | Yes | SubBillScheduleLine.RecId | SubBillDetailLine.SubBillSchedLineRecId |
DetailLineRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | SubBillDetailLine.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.
ScheduleNumber→SubBillScheduleTable.SubBillBillingScheduleNumber(key of SubBillScheduleTable)Many SubBillScheduleLine records → exactly one SubBillScheduleTable record
SubBillScheduleTable details: see SubBillScheduleTableEntity, ProjSubBillScheduleTableEntity, SubBillMassTerminationRemovalEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many SubBillScheduleLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
SalesOrder→SalesTable.SalesId(key of SalesTable)Many SalesLine records → exactly one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
CustAccount→CustTable.AccountNum(key of CustTable)Zero or one SubBillScheduleTable record → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
SchedLineRecId→SubBillScheduleLine.RecId(key of SubBillScheduleLine)Many SubBillDetailLine records → exactly one SubBillScheduleLine record
SubBillScheduleLine details: see SubBillScheduleLineEntity, ProjSubBillScheduleLineEntity, SubBillDetailLineEntity
Need help with SubBillDetailLineExportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.