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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillBillingScheduleNumberNumber of the billing schedule that this line belongs to. | String (20)SubBillBillingScheduleNumber | Yes | SubBillScheduleTable.SubBillBillingScheduleNumber | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLinePlaceHoldEntityand 7 more |
LineNumPosition of the line within the billing schedule. | RealLineNum | Yes | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLinePlaceHoldEntityand 7 more | |
AddressRefRecIdSystem record ID of an address reference.low confidence | Int64AddressRefRecId | No | SubBillScheduleLineBiEntity | |
AddressRefTableIdID of the table that the address reference points to.low confidence | IntegerAddressRefTableId | No | SubBillScheduleLineBiEntity | |
AgreementSkipAutoLinkOption to turn off automatic linking to an agreement. | EnumAgreementSkipAutoLinkNoYes (enum) | No | SubBillScheduleLineBiEntity | |
BillingCodeBilling code assigned to the line. | StringBillingCode | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
CustomerLineNumCustomer's own line number. | IntegerCustLineNum | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
CustomerRefReference given by the customer. | String (60)CustRef | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
CustomerRequisitionCustomer's requisition or purchase order number. | String (20)CustPurchaseOrder | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
CustomerSplitShows whether the line is split between customers. | EnumSubBillCustomerSplitNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SubBillScheduleLineBiEntity | |
DeliveryNameName used for the delivery address. | String (100)LogisticsDeliveryName | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
DeliveryPostalAddressPostal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
ExternalItemIdItem number used by the customer or an external party. | String (20)SalesExternalItemId | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
InventDimIdLink to the set of inventory dimensions for this line. | String (20)InventDimId | No | InventDim.inventDimId | SubBillScheduleLineBiEntity |
ItemIdItem sold on this line. | String (20)ItemIdSmall | No | InventTable.ItemId | SubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more |
MatchingAgreementLineSystem record ID of the agreement line matched to this line. | Int64AgreementLineRecId | No | AgreementLine.RecId | SubBillScheduleLineBiEntity |
MilestoneAllocationPercentageShare of the total allocated to the milestone. | RealPercent | No | SubBillScheduleLineBiEntity | |
MilestoneAutoRenewedParentRecIdSystem record ID of the parent milestone for an automatically renewed line.low confidence | Int64RefRecId | No | SubBillScheduleLineBiEntity | |
MilestoneCompletionPercentageHow far the milestone is complete, as a percentage. | RealPercent | No | SubBillScheduleLineBiEntity | |
MilestoneOrigAmountMilestone amount in the transaction currency. | RealAmountCur | No | SubBillScheduleLineBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceUnitQuantity that the unit price applies to. | RealInventPriceUnitQty | No | SubBillScheduleLineBiEntity | |
ProjCategoryIdProject category for the line. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
ProjIdProject linked to the line. | String (20)ProjId | No | ProjTable.ProjId | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
ProjLinePropertyIdProject line property for the line. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
ProjTaxGroupSales tax group for project billing. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
ProjTaxItemGroupItem sales tax group for project billing. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | SubBillScheduleLineBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SubBillScheduleLineBiEntity | |
RequireUnbilledJournalEntryForRenewalShows whether an unbilled journal entry is required for the renewal period. | EnumNoYes (enum) | No | SubBillScheduleLineBiEntity | |
SalesLineAmountNet amount of the line. | RealSalesLineAmount | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SalesOrderedQtyQuantity ordered on the line. | RealSalesOrderedQty | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SalesPricePrice for one unit of the item. | RealSubBillUnitPrice | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SalesUnitUnit of measure for the quantity, such as a unit symbol. | StringSalesUnit | No | UnitOfMeasure.Symbol | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
SubBillAddressPostal address used for billing. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | SubBillScheduleLineBiEntity |
SubBillAddressNameName used for the bill-to address. | String (100)LogisticsDeliveryName | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillAlignmentDateDate used to align billing periods. | DateSubBillAlignmentDate | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillAlignToMonthShows whether billing periods are aligned to calendar months. | EnumSubBillAlignToMonthNoYes (enum) | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillAutoRenewShows whether the line renews on its own. | EnumSubBillAutoRenewNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillCPIIndexCalculationWhich consumer price index is used as the base: the prior one or the base one. | EnumSubBillCPIIndexCalculation (enum) | No | SubBillScheduleLineBiEntity | |
SubBillDefaultDimensionSet of financial dimension values assigned to the line by default. | Int64InventSiteLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | SubBillScheduleLineEntity |
SubBillEndDateDate when billing for this line ends. | DateSubBillEndDate | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillEscalationShows whether escalation applies to the line. | EnumSubBillEscalationNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillEstimatedCompletionDateExpected completion date, used for milestone lines. | DateSubBillEndDate | No | SubBillScheduleLineBiEntity | |
SubBillEstimatedConsumptionExpected amount of consumption for a usage item. | RealSubBillEstimatedConsumption | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillFreeQTYQuantity that is not charged. | RealSubBillFreeQty | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillFreeQTYResetNumOfPeriodsNumber of periods after which the free quantity is reset. | RealSubBillFreeQtyResetNumOfPeriods | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillFrequencyHow often the line is billed, from One-time to Annually. | EnumSubBillFrequency (enum) | Yes | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillInitialReadingStarting meter reading for a usage item. | RealSalesQty | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillIntervalNumber of frequency periods between bills. | IntegerSubBillInterval | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillInvoiceSeparatelyShows whether the line is invoiced on its own. | EnumSubBillInvoiceSeparatelyNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillItemTypeKind of item on the line: Standard, Usage or Milestone. | EnumSubBillItemType (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillLineUsedFreeQtyTotal free quantity already used on this line. | RealSubBillLineUsedFreeQty | No | SubBillScheduleLineBiEntity | |
SubBillMainAccountLedger account combination linked to the line. | Int64SubBillMainAccount | No | DimensionAttributeValueCombination.RecId | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
SubBillMaxAmountHighest amount that can be billed. | RealSubBillMaxAmount | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillMaxQtyHighest quantity that can be billed. | RealSubBillMaxQty | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillMilestoneHeaderRecIdSystem record ID pointing to the related milestone header.low confidence | Int64RefRecId | No | SubBillScheduleLineBiEntity | |
SubBillMinAmountLowest amount that can be billed. | RealSubBillMinAmount | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillMinMaxWhether the minimum and maximum limits are set by amount or by quantity. | EnumSubBillMinMax (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillMinMaxResetNumOfPeriodsNumber of periods after which the minimum and maximum limits are reset. | RealSubBillMinMaxResetNumOfPeriods | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillMinQtyLowest quantity that can be billed. | RealSubBillMinQty | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillOriginalSalesIdNumber of the sales order the line originally came from. | String (20)SubBillOriginalSalesId | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillPricingMethodMethod used to price the line. Values are Standard, Flat, Tier and Flat tier. | EnumSubBillPricingMethod (enum) | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillProratePartialPeriodShows whether partial periods are prorated. | EnumSubBillProratePartialPeriodsNoYes (enum) | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillRenewalLinesNumber of lines to add each time the schedule is renewed. | Integer | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillResetUsedFreeQtyFree quantity used since the last reset. | RealSubBillResetUsedFreeQty | No | SubBillScheduleLineBiEntity | |
SubBillRetailVariantIdProduct variant number for the item. | StringRetailVariantId | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillRevenueSplitMarks the line as a parent item for revenue split. | EnumSubBillRevenueSplitNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillRevenueSplitAllocationMethodMethod for sharing the parent amount, such as Variable amount, Percentage or Equal amount. | EnumSubBillRevenueSplitAllocationMethod (enum) | No | SubBillScheduleLineBiEntity | |
SubBillRevenueSplitParentAmountAmount of the parent item in a revenue split. | RealAmount | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillRevenueSplitParentLineRecIdSystem record ID of the parent line in a revenue split. | Int64RefRecId | No | SubBillScheduleLineBiEntity | |
SubBillScheduleLineFreeTextDescShort description of the line. | String (60)Description | No | ProjSubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillScheduleLineTextFree text note on the line. | String (1000)ItemFreeTxt | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillScheduleStatusCurrent state of the line, such as Active, On hold, Last billing, Terminated or Archived. | EnumSubBillScheduleStatus (enum) | No | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillStartDateDate when billing for this line starts. | DateSubBillStartDate | Yes | ProjSubBillScheduleLineEntitySubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
SubBillTerminationDateDate on which the line is terminated. | DateSubBillTerminationDate | No | SubBillScheduleLineBiEntity | |
SubBillTerminationTypeHow the line is treated when it is terminated. Values include Adjust schedule, Bill remaining, No adjustment and Default. | EnumSubBillTerminationType (enum) | No | SubBillScheduleLineBiEntity | |
SubBillUsageIdentifierIdentifier that ties the line to usage data. | StringSubBillUsageIdentifier | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more | |
SubBillUsageReadingOptionFor usage items, whether billing uses a meter reading or consumption. | EnumSubBillUsageReadingOption (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntitySubBillDetailLineEntityand 2 more | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionClassificationPurpose not clear from the metadata.low confidence | Int64 | No | ProjSubBillScheduleLineEntity | |
UpdateFromTradeAgreementOnlyAtRenewalYes/No setting. When on, price and discount changes from trade agreements reach this line only when the line is renewed. | EnumSubBillUpdateFromTradeAgreementOnlyAtRenewalNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity | |
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. | EnumSubBillUseWeightedTradeAgreementPriceNoYes (enum) | No | SubBillScheduleLineEntitySubBillScheduleLineBiEntity |
Indexes (4)
LineNumPrimary indexReplacement keySubBillBillingScheduleNumber,LineNumUnique, alternate key.
AllocParentLineRecIdSubBillRevenueSplitParentLineRecIdNot unique.
MilestoneHeaderRecIdNot unique.
AgreementLineIdxNot unique.
Relations (16)
Each relation joins SubBillScheduleLine to another table on the fields shown.
ScheduleTable→SubBillScheduleTableJoin on
SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumberMany SubBillScheduleLine records → exactly one SubBillScheduleTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SubBillScheduleLine records → zero or one InventTable record
UnitOfMeasure→UnitOfMeasureJoin on
SalesUnit = UnitOfMeasure.SymbolMany SubBillScheduleLine records → zero or one UnitOfMeasure record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SubBillScheduleLine records → zero or one InventDim record
DimensionAttributeValueSet→DimensionAttributeValueSetJoin on
SubBillDefaultDimension = DimensionAttributeValueSet.RecIdMany SubBillScheduleLine records → zero or one DimensionAttributeValueSet record
LedgerJournalTrans→LedgerJournalTransJoin on
RecId = LedgerJournalTrans.SubBillSchedLineRecIdMany SubBillScheduleLine records → zero or one LedgerJournalTrans record
InventDimCombination→InventDimCombinationJoin on
SubBillRetailVariantId = InventDimCombination.RetailVariantIdMany SubBillScheduleLine records → zero or one InventDimCombination record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany SubBillScheduleLine records → zero or one LogisticsPostalAddress record
SubBillAddress_FK→LogisticsPostalAddressJoin on
SubBillAddress = LogisticsPostalAddress.RecIdMany SubBillScheduleLine records → zero or one LogisticsPostalAddress record
MainAccount_FK→DimensionAttributeValueCombinationJoin on
SubBillMainAccount = DimensionAttributeValueCombination.RecIdMany SubBillScheduleLine records → zero or one DimensionAttributeValueCombination record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany SubBillScheduleLine records → zero or one ProjCategory record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany SubBillScheduleLine records → zero or one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SubBillScheduleLine records → zero or one ProjTable record
AgreementLine→AgreementLineJoin on
MatchingAgreementLine = AgreementLine.RecIdMany SubBillScheduleLine records → exactly one AgreementLine record
ProjTaxItemGroup→TaxItemGroupHeadingJoin on
ProjTaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany SubBillScheduleLine records → zero or one TaxItemGroupHeading record
ProjTaxGroup→TaxGroupHeadingJoin on
ProjTaxGroup = TaxGroupHeading.TaxGroupMany 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.
ProjSubBillScheduleLineEntity· 14 fields from this tableSubBillScheduleLineEntity· 56 fields from this tableSubBillScheduleLinePlaceHoldEntity· 2 fields from this tableSubBillScheduleLineRemoveHoldEntity· 2 fields from this tableSubBillScheduleLineBiEntity· 80 fields from this tableProjSubBillDetailLineEntity· 2 fields from this tableSubBillDetailLineEntity· 5 fields from this tableSubBillDetailLineEntityV2· 5 fields from this tableSubBillDetailLineExportEntity· 5 fields from this tableSubBillUnbilledRevenueTransactionLineEntity· 2 fields from this table
Need help with SubBillScheduleLine in a report, an integration or a migration? Talk to Dr Dynamics.