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 · root
  • SubBillScheduleLine · OuterJoin to SubBillDetailLine · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ScheduleNumberNumber of the billing schedule that this line belongs to.String (20)
SubBillBillingScheduleNumber
YesYesSubBillScheduleTable.SubBillBillingScheduleNumberSubBillScheduleLine.SubBillBillingScheduleNumber
ItemNumberItem sold on this line.String (20)
ItemIdSmall
YesYesInventTable.ItemIdSubBillScheduleLine.ItemId
UsageIdentifierIdentifier that ties the line to usage data.String
SubBillUsageIdentifier
NoYesSubBillScheduleLine.SubBillUsageIdentifier
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
ConsumedQuantityQuantity consumed.Real
SalesQty
NoYesSubBillDetailLine.SubBillConsumedQty
CommentsFree text comments on the line.String (100)NoYesSubBillDetailLine.SubBillComments
LineNumPosition of the line within the billing schedule.Real
LineNum
YesYesSubBillScheduleLine.LineNum
EstimatedQtyEstimated quantity.Real
SalesQty
NoYesSubBillDetailLine.SubBillEstimatedQty
UsageReadingOptionFor usage items, whether billing uses a meter reading or consumption.Enum
SubBillUsageReadingOption
  • Reading 0
  • Consumption 1
NoYesSubBillScheduleLine.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.

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

Email sales@drdynamics.co.uk