Data entity
SubBillDetailLineEntity
Holds usage records for subscription billing, one per billing detail line. It is keyed by billing schedule number, item, usage identifier, billing period dates and line number. It records the current reading, estimated and consumed quantities, the usage option and comments. A newer version of this entity exists.
- Entity name
SubBillDetailLineEntity- Public entity name
SubBillBillingDetailLine- OData collection
SubBillBillingDetailLines- Category
Not set- Module
Subscription billing- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
ScheduleNumber, ItemNumber, UsageIdentifier, BillingStartDate, BillingEndDate, LineNum- Staging table
SubBillDetailLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SubBillBillingDetailLines- Dataverse virtual table
mserp_subbilldetaillineentity. 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· rootSubBillScheduleLine· OuterJoin toSubBillDetailLine· read-only
Fields (11)
| 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 |
ItemNumberItem sold on this line. | String (20)ItemIdSmall | Yes | Yes | InventTable.ItemId | SubBillScheduleLine.ItemId |
UsageIdentifierIdentifier that ties the line to usage data. | StringSubBillUsageIdentifier | No | Yes | SubBillScheduleLine.SubBillUsageIdentifier | |
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 | |
ConsumedQuantityQuantity consumed. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillConsumedQty | |
CommentsFree text comments on the line. | String (100) | No | Yes | SubBillDetailLine.SubBillComments | |
LineNumPosition of the line within the billing schedule. | RealLineNum | Yes | Yes | SubBillScheduleLine.LineNum | |
EstimatedQtyEstimated quantity. | RealSalesQty | No | Yes | SubBillDetailLine.SubBillEstimatedQty | |
UsageReadingOptionFor usage items, whether billing uses a meter reading or consumption. | Enum
| No | Yes | SubBillScheduleLine.SubBillUsageReadingOption |
Foreign keys (2)
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
Need help with SubBillDetailLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.