Table

SubBillDeferralBalanceBatch

Deferral balance

Holds deferral balance figures per deferral schedule, item and billing schedule. It shows the original deferral, the amount recognised, stubbed amounts and the remaining balance. It also carries invoice details, status and dates for reporting.

Table name
SubBillDeferralBalanceBatch
Module
Subscription billing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
DeferralBalanceIdx
Replacement key
DeferralBalanceIdx
Key fields
SubBillDeferralScheduleNumber, ItemId, SubBillBillingScheduleNumber
Model
SubscriptionBilling

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillDeferralScheduleNumberNumber of the deferral schedule.String (20)
SubBillDeferralScheduleNumber
YesSubBillDeferralScheduleTable.SubBillDeferralScheduleNumberSubBillDeferralBalanceEntity
ItemIdItem number linked to the deferral.String (20)
ItemIdSmall
YesSubBillDeferralBalanceEntity
SubBillBillingScheduleNumberNumber of the billing schedule linked to the deferral.String (20)
SubBillBillingScheduleNumber
YesSubBillScheduleTable.SubBillBillingScheduleNumberSubBillDeferralBalanceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceAccountCustomer account used for the invoice.String (20)
CustInvoiceAccount
YesSubBillDeferralBalanceEntity
InvoiceDateDate of the invoice.Date
TransDate
YesSubBillDeferralBalanceEntity
InvoiceIdInvoice linked to the deferral, related to the customer invoice journal.String (50)
InvoiceId
YesSubBillDeferralBalanceEntity
InvoicingNameName of the customer being invoiced.String (160)
CustName
NoSubBillDeferralBalanceEntity
ItemNameProduct name.String (1000)
ItemFreeTxtBase
NoSubBillDeferralBalanceEntity
MainAccountNumMain account number linked to the deferral.String (20)
MainAccountNum
NoSubBillDeferralBalanceEntity
MarkupCodeCharges code linked to the deferral.String
MarkupCode
YesSubBillDeferralBalanceEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SubBillDeferralAccountLedger account combination that holds the deferral.Int64
SubBillDeferralAccount
NoDimensionAttributeValueCombination.RecIdSubBillDeferralBalanceEntity
SubBillDeferralBalanceAmount still deferred.Real
Amount
NoSubBillDeferralBalanceEntity
SubBillDeferralEndDateDate on which the deferral ends.Date
SubBillDeferralEndDate
NoSubBillDeferralBalanceEntity
SubBillDeferralOriginalDeferralAmountAmount that was first deferred.Real
SubBillDeferralAmount
NoSubBillDeferralBalanceEntity
SubBillDeferralRecognizedAmountAmount that has been recognised so far.Real
Amount
NoSubBillDeferralBalanceEntity
SubBillDeferralScheduleStatusStatus of the deferral schedule: active, on hold, cancelled or completed.Enum
SubBillDeferralScheduleStatus (enum)
NoSubBillDeferralBalanceEntity
SubBillDeferralScheduleTypeWhether the schedule is straight line or event based.Enum
SubBillDeferralScheduleType (enum)
NoSubBillDeferralBalanceEntity
SubBillDeferralStartDateDate on which the deferral starts.Date
SubBillDeferralStartDate
NoSubBillDeferralBalanceEntity
SubBillDeferralStubbedAmountAmount that has been stubbed.Real
Amount
NoNone
SubBillDeferralTransactionTypeType of source transaction, such as sales order or billing schedule.Enum
SubBillDeferralTransactionType (enum)
NoSubBillDeferralBalanceEntity
SubBillScheduleStatusStatus of the billing schedule line, such as active, on hold, last billing, terminated or archived.Enum
SubBillScheduleStatus (enum)
NoSubBillDeferralBalanceEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • SubBillDeferralScheduleTable → SubBillDeferralScheduleTable

    Join on SubBillDeferralScheduleNumber = SubBillDeferralScheduleTable.SubBillDeferralScheduleNumber

    Many SubBillDeferralBalanceBatch records → zero or one SubBillDeferralScheduleTable record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on SubBillDeferralAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralBalanceBatch records → zero or one DimensionAttributeValueCombination record

  • SubBillScheduleTable → SubBillScheduleTable

    Join on SubBillBillingScheduleNumber = SubBillScheduleTable.SubBillBillingScheduleNumber

    Many SubBillDeferralBalanceBatch records → zero or one SubBillScheduleTable record

  • MainAccount → MainAccount

    Join on MainAccountNum = MainAccount.MainAccountId

    Many SubBillDeferralBalanceBatch records → zero or one MainAccount record

  • CustInvoiceJour → CustInvoiceJour

    Join on InvoiceId = CustInvoiceJour.InvoiceId

    Many SubBillDeferralBalanceBatch records → zero or one CustInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk