Table
SubBillScheduleTable
Billing schedule
Holds the header record of a billing schedule in subscription billing, one record per billing schedule number. It links to the customer, currency, payment terms, agreement header, project and end user. The schedule's lines are stored in a separate table.
- Table name
SubBillScheduleTable- Module
Subscription billing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
ScheduleNumber- Replacement key
ScheduleNumber- Key fields
SubBillBillingScheduleNumber- Model
SubscriptionBilling
Fields (58)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillBillingScheduleNumberUnique number of the billing schedule. | String (20)SubBillBillingScheduleNumber | Yes | ProjSubBillScheduleTableEntitySubBillMassTerminationRemovalEntitySubBillMassTerminationScheduleHeaderAndLinesEntityand 2 more | |
AddressRefRecIdSystem record ID of an address reference.low confidence | Int64AddressRefRecId | No | SubBillScheduleTableBiEntity | |
AddressRefTableIdID of the table that the address reference points to.low confidence | IntegerAddressRefTableId | No | SubBillScheduleTableBiEntity | |
BillingClassificationBilling classification assigned to the schedule. | String (15)BillingClassification | No | CustBillingClassification.BillingClassification | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
ContactPersonIdContact person for the schedule. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
ContractLineNumBilling rule reference from the project contract.low confidence | StringPSAContractLineNum | No | ProjSubBillScheduleTableEntity | |
CustAccountCustomer account the schedule is billed to. | String (20)CustAccount | Yes | CustTable.AccountNum | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntityand 1 more |
CustCurrencyCodeCurrency used on the schedule. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity |
CustomerRefReference given by the customer. | String (60)CustRef | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
CustomerRequisitionCustomer's requisition or purchase order number. | String (20)CustPurchaseOrder | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | SubBillScheduleTableBiEntity | |
DeliveryNameName used for the delivery address. | String (100)LogisticsDeliveryName | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
DeliveryPostalAddressPostal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | SubBillScheduleTableBiEntity |
DescriptionShort description of the schedule. | String (60)Description | No | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
EmailEmail address for the schedule. | String (80)Email | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
FundingSourceIdFunding source for project billing. | String (20)ProjFundingSourceId | No | ProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
InvoiceAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
InvoiceAddressWhether the invoice address comes from the invoice account or the order account. | EnumCustInvoiceAddressInvoiceOrderAccount (enum) | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
InvoiceOptionWhether to create the invoice only or post it automatically. | EnumProjSubBillInvoiceOption (enum) | No | ProjSubBillScheduleTableEntity | |
MatchingAgreementSystem record ID of the agreement linked to the schedule. | Int64AgreementHeaderRecId | No | AgreementHeader.RecId | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymModeMethod of payment for the customer. | StringCustPaymMode | No | CustPaymModeTable.PaymMode | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
PaymSchedPayment schedule used. | String (30)PaymSchedId | No | PaymSched.Name | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
PaymTermIdTerms of payment used. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
ProjIdProject linked to the schedule. | String (20)ProjId | No | ProjTable.ProjId | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity |
ProjInvoiceProjIdProject contract linked to the schedule. | String (20)ProjInvoiceProjId | No | ProjInvoiceTable.ProjInvoiceProjId | ProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | SubBillScheduleTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SubBillScheduleTableBiEntity | |
SubBillAddressPostal address used for billing. | Int64RefRecId | No | LogisticsPostalAddress.RecId | SubBillScheduleTableBiEntity |
SubBillAddressNameName used for the bill-to address. | String (100)LogisticsDeliveryName | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillAlignToMonthShows whether billing periods follow calendar months. | EnumSubBillAlignToMonthNoYes (enum) | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillAutoRenewShows whether the schedule renews on its own. | EnumSubBillAutoRenewNoYes (enum) | No | ProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillContractCompletionDateDate when the contract is due to finish. | DateSubBillContractCompletionDate | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillContractStartDateDate when the contract starts. | DateSubBillContractStartDate | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillCPIIndexCalculationWhich consumer price index is used as the base: the prior one or the base one. | EnumSubBillCPIIndexCalculation (enum) | No | SubBillScheduleTableBiEntity | |
SubBillEndDateDate when billing ends. | DateSubBillEndDate | Yes | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillEndUserAccountAccount of the end user of the subscription. | String (20)SubBillEndUserAccount | No | CustTable.AccountNumSubBillEndUserTable.SubBillEndUserAccount | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
SubBillFrequencyHow often billing happens, from One-time to Annually. | EnumSubBillFrequency (enum) | Yes | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillIntervalNumber of frequency periods between bills. | IntegerSubBillInterval | No | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillInvoiceSeparatelyShows whether the schedule is invoiced on its own. | EnumSubBillInvoiceSeparatelyNoYes (enum) | No | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillInvTransTypeKind of invoice created: sales order, free text invoice or project fee journal. | EnumSubBillInvTransType (enum) | No | ProjSubBillScheduleTableEntitySubBillMassTerminationRemovalEntitySubBillScheduleTableEntityand 1 more | |
SubBillLinesPerRenewalNumber of lines to add at each renewal. | Integer | No | SubBillScheduleTableBiEntity | |
SubBillMilestoneTemplateIdMilestone template used for the schedule. | String (20)SubBillMilestoneTemplateId | No | SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateId | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
SubBillNumOfPeriodsNumber of billing periods in the schedule. | Integer | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillPartnerAccountCustomer account of the partner linked to the schedule. | String (20)SubBillPartnerAccount | No | CustTable.AccountNum | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
SubBillPartnerCommissionRateCommission rate for the partner, as a percentage. | RealPercent | No | SubBillScheduleTableBiEntity | |
SubBillProratePartialPeriodShows whether partial periods are prorated. | EnumSubBillProratePartialPeriodsNoYes (enum) | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillScheduleGroupBilling schedule group the schedule belongs to. | StringSubBillScheduleGroup | Yes | SubBillScheduleGroups.SubBillScheduleGroup | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
SubBillScheduleStatusCurrent state of the schedule, such as Active, On hold or Terminated. | EnumSubBillScheduleStatus (enum) | Yes | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillStartDateDate when billing starts. | DateSubBillStartDate | Yes | ProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
SubBillTerminationDateDate on which the schedule is terminated. | DateSubBillTerminationDate | No | SubBillScheduleTableBiEntity | |
SubBillTerminationTypeHow billing is handled when the schedule is terminated. | EnumSubBillTerminationType (enum) | No | SubBillScheduleTableBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SystemBlockedShows whether the system has locked the schedule. | EnumNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UpdateFromTradeAgreementOnlyAtRenewalYes/No setting. When on, price and discount changes from trade agreements are applied to the schedule's lines only at renewal. | EnumSubBillUpdateFromTradeAgreementOnlyAtRenewalNoYes (enum) | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
URLInternet address for the schedule. | String (255)URL | No | SubBillScheduleTableEntitySubBillScheduleTableBiEntity | |
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 | SubBillScheduleTableEntitySubBillScheduleTableBiEntity |
Indexes (6)
ScheduleNumberPrimary indexReplacement keyUnique, alternate key.
StatusScheduleNumberSubBillScheduleStatus,SubBillBillingScheduleNumberUnique, alternate key.
CustSchedCustAccount,SubBillBillingScheduleNumberUnique, alternate key.
ContactPersonIdxNot unique.
AgreementHeaderIdxNot unique.
ContractLineNumIdxNot unique.
Relations (19)
Each relation joins SubBillScheduleTable to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumZero or one SubBillScheduleTable record → zero or one CustTable record
Currency→CurrencyJoin on
CustCurrencyCode = Currency.CurrencyCodeZero or one SubBillScheduleTable record → zero or one Currency record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdZero or one SubBillScheduleTable record → zero or one LogisticsPostalAddress record
LogisticsPostalAddressBaseEntity→LogisticsPostalAddressBaseEntityJoin on
DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecIdMany SubBillScheduleTable records → zero or one LogisticsPostalAddressBaseEntity record
SubBillEndUserTable→SubBillEndUserTableJoin on
SubBillEndUserAccount = SubBillEndUserTable.SubBillEndUserAccountZero or one SubBillScheduleTable record → zero or one SubBillEndUserTable record
SubBillScheduleGroups→SubBillScheduleGroupsJoin on
SubBillScheduleGroup = SubBillScheduleGroups.SubBillScheduleGroupZero or one SubBillScheduleTable record → zero or one SubBillScheduleGroups record
MilestoneTemplateHeader→SubBillMilestoneTemplateHeaderJoin on
SubBillMilestoneTemplateId = SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateIdZero or one SubBillScheduleTable record → zero or one SubBillMilestoneTemplateHeader record
PartnerAcctRelation→CustTableJoin on
SubBillPartnerAccount = CustTable.AccountNumZero or one SubBillScheduleTable record → zero or one CustTable record
BillingClassification→CustBillingClassificationJoin on
BillingClassification = CustBillingClassification.BillingClassificationZero or one SubBillScheduleTable record → zero or one CustBillingClassification record
SubBillAddress_FK→LogisticsPostalAddressJoin on
SubBillAddress = LogisticsPostalAddress.RecIdMany SubBillScheduleTable records → zero or one LogisticsPostalAddress record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany SubBillScheduleTable records → zero or one ProjTable record
ProjInvoiceTable→ProjInvoiceTableJoin on
ProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjIdMany SubBillScheduleTable records → zero or one ProjInvoiceTable record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany SubBillScheduleTable records → zero or one ContactPerson record
PaymTerm_PaymTermId→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany SubBillScheduleTable records → zero or one PaymTerm record
CustPaymModeTable→CustPaymModeTableJoin on
PaymMode = CustPaymModeTable.PaymModeMany SubBillScheduleTable records → zero or one CustPaymModeTable record
PaymSched→PaymSchedJoin on
PaymSched = PaymSched.NameMany SubBillScheduleTable records → zero or one PaymSched record
CustTableEndUser→CustTableJoin on
SubBillEndUserAccount = CustTable.AccountNumZero or one SubBillScheduleTable record → zero or one CustTable record
CustTableInvoiceAccount→CustTableJoin on
InvoiceAccount = CustTable.AccountNumZero or one SubBillScheduleTable record → zero or one CustTable record
Agreement→AgreementHeaderJoin on
MatchingAgreement = AgreementHeader.RecIdMany SubBillScheduleTable records → exactly one AgreementHeader record
Get this data out
Tables are not exposed directly. These public entities read from SubBillScheduleTable; use one of them in Power BI, Power Platform or a data management project.
ProjSubBillScheduleTableEntity· 16 fields from this tableSubBillMassTerminationRemovalEntity· 2 fields from this tableSubBillMassTerminationScheduleHeaderAndLinesEntity· 1 field from this tableSubBillScheduleTableEntity· 37 fields from this tableSubBillScheduleTableBiEntity· 52 fields from this tableProjSubBillDetailLineEntity· 0 fields from this tableProjSubBillScheduleLineEntity· 0 fields from this tableSubBillDetailLineExportEntity· 1 field from this table
Need help with SubBillScheduleTable in a report, an integration or a migration? Talk to Dr Dynamics.