Table

SubBillScheduleLine

Billing schedule line

Holds the individual lines of a billing schedule in subscription billing. Each line is identified by the billing schedule number together with a line number, and the lines link to the parent billing schedule. Lines also point to related records such as agreement lines, items, projects, dimensions, tax groups and units of measure.

Table name
SubBillScheduleLine
Module
Subscription billing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LineNum
Replacement key
LineNum
Key fields
SubBillBillingScheduleNumber, LineNum
Model
SubscriptionBilling

Fields (85)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillBillingScheduleNumberNumber of the billing schedule that this line belongs to.String (20)
SubBillBillingScheduleNumber
YesSubBillScheduleTable.SubBillBillingScheduleNumberProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLinePlaceHoldEntityand 7 more
LineNumPosition of the line within the billing schedule.Real
LineNum
YesProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLinePlaceHoldEntityand 7 more
AddressRefRecIdSystem record ID of an address reference.low confidenceInt64
AddressRefRecId
NoSubBillScheduleLineBiEntity
AddressRefTableIdID of the table that the address reference points to.low confidenceInteger
AddressRefTableId
NoSubBillScheduleLineBiEntity
AgreementSkipAutoLinkOption to turn off automatic linking to an agreement.Enum
AgreementSkipAutoLink
NoYes (enum)
NoSubBillScheduleLineBiEntity
BillingCodeBilling code assigned to the line.String
BillingCode
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
CustomerLineNumCustomer's own line number.Integer
CustLineNum
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
CustomerRefReference given by the customer.String (60)
CustRef
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
CustomerRequisitionCustomer's requisition or purchase order number.String (20)
CustPurchaseOrder
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
CustomerSplitShows whether the line is split between customers.Enum
SubBillCustomerSplit
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSubBillScheduleLineBiEntity
DeliveryNameName used for the delivery address.String (100)
LogisticsDeliveryName
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
DeliveryPostalAddressPostal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSubBillScheduleLineEntitySubBillScheduleLineBiEntity
ExternalItemIdItem number used by the customer or an external party.String (20)
SalesExternalItemId
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
InventDimIdLink to the set of inventory dimensions for this line.String (20)
InventDimId
NoInventDim.inventDimIdSubBillScheduleLineBiEntity
ItemIdItem sold on this line.String (20)
ItemIdSmall
NoInventTable.ItemIdSubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more
MatchingAgreementLineSystem record ID of the agreement line matched to this line.Int64
AgreementLineRecId
NoAgreementLine.RecIdSubBillScheduleLineBiEntity
MilestoneAllocationPercentageShare of the total allocated to the milestone.Real
Percent
NoSubBillScheduleLineBiEntity
MilestoneAutoRenewedParentRecIdSystem record ID of the parent milestone for an automatically renewed line.low confidenceInt64
RefRecId
NoSubBillScheduleLineBiEntity
MilestoneCompletionPercentageHow far the milestone is complete, as a percentage.Real
Percent
NoSubBillScheduleLineBiEntity
MilestoneOrigAmountMilestone amount in the transaction currency.Real
AmountCur
NoSubBillScheduleLineBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceUnitQuantity that the unit price applies to.Real
InventPriceUnitQty
NoSubBillScheduleLineBiEntity
ProjCategoryIdProject category for the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdSubBillScheduleLineEntitySubBillScheduleLineBiEntity
ProjIdProject linked to the line.String (20)
ProjId
NoProjTable.ProjIdSubBillScheduleLineEntitySubBillScheduleLineBiEntity
ProjLinePropertyIdProject line property for the line.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdSubBillScheduleLineEntitySubBillScheduleLineBiEntity
ProjTaxGroupSales tax group for project billing.String
TaxGroup
NoTaxGroupHeading.TaxGroupSubBillScheduleLineEntitySubBillScheduleLineBiEntity
ProjTaxItemGroupItem sales tax group for project billing.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupSubBillScheduleLineEntitySubBillScheduleLineBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSubBillScheduleLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSubBillScheduleLineBiEntity
RequireUnbilledJournalEntryForRenewalShows whether an unbilled journal entry is required for the renewal period.Enum
NoYes (enum)
NoSubBillScheduleLineBiEntity
SalesLineAmountNet amount of the line.Real
SalesLineAmount
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SalesOrderedQtyQuantity ordered on the line.Real
SalesOrderedQty
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SalesPricePrice for one unit of the item.Real
SubBillUnitPrice
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SalesUnitUnit of measure for the quantity, such as a unit symbol.String
SalesUnit
NoUnitOfMeasure.SymbolSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillAddressPostal address used for billing.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSubBillScheduleLineBiEntity
SubBillAddressNameName used for the bill-to address.String (100)
LogisticsDeliveryName
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillAlignmentDateDate used to align billing periods.Date
SubBillAlignmentDate
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillAlignToMonthShows whether billing periods are aligned to calendar months.Enum
SubBillAlignToMonth
NoYes (enum)
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillAutoRenewShows whether the line renews on its own.Enum
SubBillAutoRenew
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillCPIIndexCalculationWhich consumer price index is used as the base: the prior one or the base one.Enum
SubBillCPIIndexCalculation (enum)
NoSubBillScheduleLineBiEntity
SubBillDefaultDimensionSet of financial dimension values assigned to the line by default.Int64
InventSiteLinkedDimensionValueSet
NoDimensionAttributeValueSet.RecIdSubBillScheduleLineEntity
SubBillEndDateDate when billing for this line ends.Date
SubBillEndDate
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillEscalationShows whether escalation applies to the line.Enum
SubBillEscalation
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillEstimatedCompletionDateExpected completion date, used for milestone lines.Date
SubBillEndDate
NoSubBillScheduleLineBiEntity
SubBillEstimatedConsumptionExpected amount of consumption for a usage item.Real
SubBillEstimatedConsumption
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillFreeQTYQuantity that is not charged.Real
SubBillFreeQty
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillFreeQTYResetNumOfPeriodsNumber of periods after which the free quantity is reset.Real
SubBillFreeQtyResetNumOfPeriods
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillFrequencyHow often the line is billed, from One-time to Annually.Enum
SubBillFrequency (enum)
YesProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillInitialReadingStarting meter reading for a usage item.Real
SalesQty
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillIntervalNumber of frequency periods between bills.Integer
SubBillInterval
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillInvoiceSeparatelyShows whether the line is invoiced on its own.Enum
SubBillInvoiceSeparately
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillItemTypeKind of item on the line: Standard, Usage or Milestone.Enum
SubBillItemType (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillLineUsedFreeQtyTotal free quantity already used on this line.Real
SubBillLineUsedFreeQty
NoSubBillScheduleLineBiEntity
SubBillMainAccountLedger account combination linked to the line.Int64
SubBillMainAccount
NoDimensionAttributeValueCombination.RecIdSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMaxAmountHighest amount that can be billed.Real
SubBillMaxAmount
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMaxQtyHighest quantity that can be billed.Real
SubBillMaxQty
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMilestoneHeaderRecIdSystem record ID pointing to the related milestone header.low confidenceInt64
RefRecId
NoSubBillScheduleLineBiEntity
SubBillMinAmountLowest amount that can be billed.Real
SubBillMinAmount
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMinMaxWhether the minimum and maximum limits are set by amount or by quantity.Enum
SubBillMinMax (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMinMaxResetNumOfPeriodsNumber of periods after which the minimum and maximum limits are reset.Real
SubBillMinMaxResetNumOfPeriods
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillMinQtyLowest quantity that can be billed.Real
SubBillMinQty
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillOriginalSalesIdNumber of the sales order the line originally came from.String (20)
SubBillOriginalSalesId
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillPricingMethodMethod used to price the line. Values are Standard, Flat, Tier and Flat tier.Enum
SubBillPricingMethod (enum)
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillProratePartialPeriodShows whether partial periods are prorated.Enum
SubBillProratePartialPeriods
NoYes (enum)
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillRenewalLinesNumber of lines to add each time the schedule is renewed.IntegerNoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillResetUsedFreeQtyFree quantity used since the last reset.Real
SubBillResetUsedFreeQty
NoSubBillScheduleLineBiEntity
SubBillRetailVariantIdProduct variant number for the item.String
RetailVariantId
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillRevenueSplitMarks the line as a parent item for revenue split.Enum
SubBillRevenueSplit
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillRevenueSplitAllocationMethodMethod for sharing the parent amount, such as Variable amount, Percentage or Equal amount.Enum
SubBillRevenueSplitAllocationMethod (enum)
NoSubBillScheduleLineBiEntity
SubBillRevenueSplitParentAmountAmount of the parent item in a revenue split.Real
Amount
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillRevenueSplitParentLineRecIdSystem record ID of the parent line in a revenue split.Int64
RefRecId
NoSubBillScheduleLineBiEntity
SubBillScheduleLineFreeTextDescShort description of the line.String (60)
Description
NoProjSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillScheduleLineTextFree text note on the line.String (1000)
ItemFreeTxt
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillScheduleStatusCurrent state of the line, such as Active, On hold, Last billing, Terminated or Archived.Enum
SubBillScheduleStatus (enum)
NoProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillStartDateDate when billing for this line starts.Date
SubBillStartDate
YesProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity
SubBillTerminationDateDate on which the line is terminated.Date
SubBillTerminationDate
NoSubBillScheduleLineBiEntity
SubBillTerminationTypeHow the line is treated when it is terminated. Values include Adjust schedule, Bill remaining, No adjustment and Default.Enum
SubBillTerminationType (enum)
NoSubBillScheduleLineBiEntity
SubBillUsageIdentifierIdentifier that ties the line to usage data.String
SubBillUsageIdentifier
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more
SubBillUsageReadingOptionFor usage items, whether billing uses a meter reading or consumption.Enum
SubBillUsageReadingOption (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionClassificationPurpose not clear from the metadata.low confidenceInt64NoProjSubBillScheduleLineEntity
UpdateFromTradeAgreementOnlyAtRenewalYes/No setting. When on, price and discount changes from trade agreements reach this line only when the line is renewed.Enum
SubBillUpdateFromTradeAgreementOnlyAtRenewal
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity
UseWeightedTradeAgreementPriceOption to price each billing period from a weighted trade agreement price. If it is off, the price on the billing start date is used.Enum
SubBillUseWeightedTradeAgreementPrice
NoYes (enum)
NoSubBillScheduleLineEntitySubBillScheduleLineBiEntity

Indexes (4)

Relations (16)

Each relation joins SubBillScheduleLine to another table on the fields shown.

  • ScheduleTable → SubBillScheduleTable

    Join on SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumber

    Many SubBillScheduleLine records → exactly one SubBillScheduleTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SubBillScheduleLine records → zero or one InventTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on SalesUnit = UnitOfMeasure.Symbol

    Many SubBillScheduleLine records → zero or one UnitOfMeasure record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SubBillScheduleLine records → zero or one InventDim record

  • DimensionAttributeValueSet → DimensionAttributeValueSet

    Join on SubBillDefaultDimension = DimensionAttributeValueSet.RecId

    Many SubBillScheduleLine records → zero or one DimensionAttributeValueSet record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RecId = LedgerJournalTrans.SubBillSchedLineRecId

    Many SubBillScheduleLine records → zero or one LedgerJournalTrans record

  • InventDimCombination → InventDimCombination

    Join on SubBillRetailVariantId = InventDimCombination.RetailVariantId

    Many SubBillScheduleLine records → zero or one InventDimCombination record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many SubBillScheduleLine records → zero or one LogisticsPostalAddress record

  • SubBillAddress_FK → LogisticsPostalAddress

    Join on SubBillAddress = LogisticsPostalAddress.RecId

    Many SubBillScheduleLine records → zero or one LogisticsPostalAddress record

  • MainAccount_FK → DimensionAttributeValueCombination

    Join on SubBillMainAccount = DimensionAttributeValueCombination.RecId

    Many SubBillScheduleLine records → zero or one DimensionAttributeValueCombination record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many SubBillScheduleLine records → zero or one ProjCategory record

  • ProjLineProperty → ProjLineProperty

    Join on ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many SubBillScheduleLine records → zero or one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SubBillScheduleLine records → zero or one ProjTable record

  • AgreementLine → AgreementLine

    Join on MatchingAgreementLine = AgreementLine.RecId

    Many SubBillScheduleLine records → exactly one AgreementLine record

  • ProjTaxItemGroup → TaxItemGroupHeading

    Join on ProjTaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many SubBillScheduleLine records → zero or one TaxItemGroupHeading record

  • ProjTaxGroup → TaxGroupHeading

    Join on ProjTaxGroup = TaxGroupHeading.TaxGroup

    Many SubBillScheduleLine records → zero or one TaxGroupHeading record

Get this data out

Tables are not exposed directly. These public entities read from SubBillScheduleLine; use one of them in Power BI, Power Platform or a data management project.

Need help with SubBillScheduleLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk