Data entity
SubBillDetailLineEntityV2
Version 2 of the subscription billing usage entity. It reads the same billing detail line records and uses the same key: schedule number, item, usage identifier, billing dates and line number. It holds the current reading, estimated and consumed quantities, the usage option and comments.
- Entity name
SubBillDetailLineEntityV2- Public entity name
SubBillBillingDetailLineV2- OData collection
SubBillBillingDetailLinesV2- 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
SubBillDetailLineStagingV2
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SubBillBillingDetailLinesV2- Dataverse virtual table
mserp_subbilldetaillineentityv2. 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· InnerJoin 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 SubBillDetailLineEntityV2 in Power BI, Power Automate or a migration? Talk to Dr Dynamics.