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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillBillingScheduleNumberUnique number of the billing schedule.String (20)
SubBillBillingScheduleNumber
YesProjSubBillScheduleTableEntitySubBillMassTerminationRemovalEntitySubBillMassTerminationScheduleHeaderAndLinesEntityand 2 more
AddressRefRecIdSystem record ID of an address reference.low confidenceInt64
AddressRefRecId
NoSubBillScheduleTableBiEntity
AddressRefTableIdID of the table that the address reference points to.low confidenceInteger
AddressRefTableId
NoSubBillScheduleTableBiEntity
BillingClassificationBilling classification assigned to the schedule.String (15)
BillingClassification
NoCustBillingClassification.BillingClassificationSubBillScheduleTableEntitySubBillScheduleTableBiEntity
ContactPersonIdContact person for the schedule.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdSubBillScheduleTableEntitySubBillScheduleTableBiEntity
ContractLineNumBilling rule reference from the project contract.low confidenceString
PSAContractLineNum
NoProjSubBillScheduleTableEntity
CustAccountCustomer account the schedule is billed to.String (20)
CustAccount
YesCustTable.AccountNumProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntityand 1 more
CustCurrencyCodeCurrency used on the schedule.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
CustomerRefReference given by the customer.String (60)
CustRef
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
CustomerRequisitionCustomer's requisition or purchase order number.String (20)
CustPurchaseOrder
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoSubBillScheduleTableBiEntity
DeliveryNameName used for the delivery address.String (100)
LogisticsDeliveryName
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
DeliveryPostalAddressPostal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdSubBillScheduleTableBiEntity
DescriptionShort description of the schedule.String (60)
Description
NoProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
EmailEmail address for the schedule.String (80)
Email
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
FundingSourceIdFunding source for project billing.String (20)
ProjFundingSourceId
NoProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoCustTable.AccountNumSubBillScheduleTableEntitySubBillScheduleTableBiEntity
InvoiceAddressWhether the invoice address comes from the invoice account or the order account.Enum
CustInvoiceAddress
InvoiceOrderAccount (enum)
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
InvoiceOptionWhether to create the invoice only or post it automatically.Enum
ProjSubBillInvoiceOption (enum)
NoProjSubBillScheduleTableEntity
MatchingAgreementSystem record ID of the agreement linked to the schedule.Int64
AgreementHeaderRecId
NoAgreementHeader.RecIdSubBillScheduleTableEntitySubBillScheduleTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymModeMethod of payment for the customer.String
CustPaymMode
NoCustPaymModeTable.PaymModeSubBillScheduleTableEntitySubBillScheduleTableBiEntity
PaymSchedPayment schedule used.String (30)
PaymSchedId
NoPaymSched.NameSubBillScheduleTableEntitySubBillScheduleTableBiEntity
PaymTermIdTerms of payment used.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdSubBillScheduleTableEntitySubBillScheduleTableBiEntity
ProjIdProject linked to the schedule.String (20)
ProjId
NoProjTable.ProjIdProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
ProjInvoiceProjIdProject contract linked to the schedule.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoSubBillScheduleTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSubBillScheduleTableBiEntity
SubBillAddressPostal address used for billing.Int64
RefRecId
NoLogisticsPostalAddress.RecIdSubBillScheduleTableBiEntity
SubBillAddressNameName used for the bill-to address.String (100)
LogisticsDeliveryName
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillAlignToMonthShows whether billing periods follow calendar months.Enum
SubBillAlignToMonth
NoYes (enum)
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillAutoRenewShows whether the schedule renews on its own.Enum
SubBillAutoRenew
NoYes (enum)
NoProjSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillContractCompletionDateDate when the contract is due to finish.Date
SubBillContractCompletionDate
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillContractStartDateDate when the contract starts.Date
SubBillContractStartDate
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillCPIIndexCalculationWhich consumer price index is used as the base: the prior one or the base one.Enum
SubBillCPIIndexCalculation (enum)
NoSubBillScheduleTableBiEntity
SubBillEndDateDate when billing ends.Date
SubBillEndDate
YesProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillEndUserAccountAccount of the end user of the subscription.String (20)
SubBillEndUserAccount
NoCustTable.AccountNumSubBillEndUserTable.SubBillEndUserAccountSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillFrequencyHow often billing happens, from One-time to Annually.Enum
SubBillFrequency (enum)
YesProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillIntervalNumber of frequency periods between bills.Integer
SubBillInterval
NoProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillInvoiceSeparatelyShows whether the schedule is invoiced on its own.Enum
SubBillInvoiceSeparately
NoYes (enum)
NoProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillInvTransTypeKind of invoice created: sales order, free text invoice or project fee journal.Enum
SubBillInvTransType (enum)
NoProjSubBillScheduleTableEntitySubBillMassTerminationRemovalEntitySubBillScheduleTableEntityand 1 more
SubBillLinesPerRenewalNumber of lines to add at each renewal.IntegerNoSubBillScheduleTableBiEntity
SubBillMilestoneTemplateIdMilestone template used for the schedule.String (20)
SubBillMilestoneTemplateId
NoSubBillMilestoneTemplateHeader.SubBillMilestoneTemplateIdSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillNumOfPeriodsNumber of billing periods in the schedule.IntegerNoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillPartnerAccountCustomer account of the partner linked to the schedule.String (20)
SubBillPartnerAccount
NoCustTable.AccountNumSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillPartnerCommissionRateCommission rate for the partner, as a percentage.Real
Percent
NoSubBillScheduleTableBiEntity
SubBillProratePartialPeriodShows whether partial periods are prorated.Enum
SubBillProratePartialPeriods
NoYes (enum)
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillScheduleGroupBilling schedule group the schedule belongs to.String
SubBillScheduleGroup
YesSubBillScheduleGroups.SubBillScheduleGroupSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillScheduleStatusCurrent state of the schedule, such as Active, On hold or Terminated.Enum
SubBillScheduleStatus (enum)
YesSubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillStartDateDate when billing starts.Date
SubBillStartDate
YesProjSubBillScheduleTableEntitySubBillScheduleTableEntitySubBillScheduleTableBiEntity
SubBillTerminationDateDate on which the schedule is terminated.Date
SubBillTerminationDate
NoSubBillScheduleTableBiEntity
SubBillTerminationTypeHow billing is handled when the schedule is terminated.Enum
SubBillTerminationType (enum)
NoSubBillScheduleTableBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SystemBlockedShows whether the system has locked the schedule.Enum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UpdateFromTradeAgreementOnlyAtRenewalYes/No setting. When on, price and discount changes from trade agreements are applied to the schedule's lines only at renewal.Enum
SubBillUpdateFromTradeAgreementOnlyAtRenewal
NoYes (enum)
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
URLInternet address for the schedule.String (255)
URL
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity
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)
NoSubBillScheduleTableEntitySubBillScheduleTableBiEntity

Indexes (6)

Relations (19)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Zero or one SubBillScheduleTable record → zero or one CustTable record

  • Currency → Currency

    Join on CustCurrencyCode = Currency.CurrencyCode

    Zero or one SubBillScheduleTable record → zero or one Currency record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Zero or one SubBillScheduleTable record → zero or one LogisticsPostalAddress record

  • LogisticsPostalAddressBaseEntity → LogisticsPostalAddressBaseEntity

    Join on DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecId

    Many SubBillScheduleTable records → zero or one LogisticsPostalAddressBaseEntity record

  • SubBillEndUserTable → SubBillEndUserTable

    Join on SubBillEndUserAccount = SubBillEndUserTable.SubBillEndUserAccount

    Zero or one SubBillScheduleTable record → zero or one SubBillEndUserTable record

  • SubBillScheduleGroups → SubBillScheduleGroups

    Join on SubBillScheduleGroup = SubBillScheduleGroups.SubBillScheduleGroup

    Zero or one SubBillScheduleTable record → zero or one SubBillScheduleGroups record

  • MilestoneTemplateHeader → SubBillMilestoneTemplateHeader

    Join on SubBillMilestoneTemplateId = SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateId

    Zero or one SubBillScheduleTable record → zero or one SubBillMilestoneTemplateHeader record

  • PartnerAcctRelation → CustTable

    Join on SubBillPartnerAccount = CustTable.AccountNum

    Zero or one SubBillScheduleTable record → zero or one CustTable record

  • BillingClassification → CustBillingClassification

    Join on BillingClassification = CustBillingClassification.BillingClassification

    Zero or one SubBillScheduleTable record → zero or one CustBillingClassification record

  • SubBillAddress_FK → LogisticsPostalAddress

    Join on SubBillAddress = LogisticsPostalAddress.RecId

    Many SubBillScheduleTable records → zero or one LogisticsPostalAddress record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many SubBillScheduleTable records → zero or one ProjTable record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on ProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjId

    Many SubBillScheduleTable records → zero or one ProjInvoiceTable record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many SubBillScheduleTable records → zero or one ContactPerson record

  • PaymTerm_PaymTermId → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many SubBillScheduleTable records → zero or one PaymTerm record

  • CustPaymModeTable → CustPaymModeTable

    Join on PaymMode = CustPaymModeTable.PaymMode

    Many SubBillScheduleTable records → zero or one CustPaymModeTable record

  • PaymSched → PaymSched

    Join on PaymSched = PaymSched.Name

    Many SubBillScheduleTable records → zero or one PaymSched record

  • CustTableEndUser → CustTable

    Join on SubBillEndUserAccount = CustTable.AccountNum

    Zero or one SubBillScheduleTable record → zero or one CustTable record

  • CustTableInvoiceAccount → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Zero or one SubBillScheduleTable record → zero or one CustTable record

  • Agreement → AgreementHeader

    Join on MatchingAgreement = AgreementHeader.RecId

    Many 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.

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

Email sales@drdynamics.co.uk