Table

SubBillDeferralAccountTable

Subscription billing deferral account table

Stores deferral account setup for subscription billing. Records are keyed by transaction type, an account code (table, group or all), the customer or vendor relation, and a main account. Each record points to ledger accounts and to deferral templates.

Table name
SubBillDeferralAccountTable
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
DeferralAccountIdx
Key fields
SubBillDeferralTransactionType, CustVendCode, CustVendRelation, SubBillDeferralAccount
Model
SubscriptionBilling

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillDeferralTransactionTypeType of source transaction that this setup applies to, such as sales order or billing schedule.Enum
SubBillDeferralTransactionType (enum)
YesSubBillDeferralAccountTableEntity
CustVendCodeSays whether the setup applies to one account, a group of accounts, or all accounts.Enum
TableGroupAll (enum)
NoSubBillDeferralAccountTableEntity
CustVendRelationThe customer, vendor or group that the setup applies to, depending on the account code.String (20)
InventCustVendRel
NoCustGroup.CustGroupCustTable.AccountNumVendGroup.VendGroupVendTable.AccountNumSubBillDeferralAccountTableEntity
SubBillDeferralAccountMain account, held as a ledger dimension combination, used for deferral.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSubBillDeferralAccountTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SubBillDeferralEventTemplateIdDeferral event template linked to this account setup.String
SubBillDeferralEventTemplateId
NoSubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdSubBillDeferralAccountTableEntity
SubBillDeferralInitialRecAcctLedger account combination for initial recognition.Int64
SubBillDeferralInitialRecAcct
NoDimensionAttributeValueCombination.RecIdNone
SubBillDeferralRecOffAcctLedger account combination that offsets recognition.Int64
SubBillDeferralRecOffAcct
NoDimensionAttributeValueCombination.RecIdNone
SubBillDeferralRecognitionAccountMain account, held as a ledger dimension combination, used for recognition.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdSubBillDeferralAccountTableEntity
SubBillDeferralShortTermAccountLedger account combination for the short-term part of the deferral.Int64
SubBillDeferralShortTermAccount
NoDimensionAttributeValueCombination.RecIdNone
SubBillDeferralTemplateIdDeferral template linked to this account setup.String
SubBillDeferralTemplateId
NoSubBillDeferralTemplateTable.SubBillDeferralTemplateIdSubBillDeferralAccountTableEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (11)

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

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralAccountTable records → zero or one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralAccountTable records → zero or one SubBillDeferralTemplateTable record

  • CustGroupFreeTextInvoice → CustGroup

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::FreeTextInvoice, CustVendCode = TableGroupAll::GroupId, CustVendRelation = CustGroup.CustGroup

    Many SubBillDeferralAccountTable records → zero or one CustGroup record

  • CustTableFreeTextInvoice → CustTable

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::FreeTextInvoice, CustVendCode = TableGroupAll::Table, CustVendRelation = CustTable.AccountNum

    Many SubBillDeferralAccountTable records → zero or one CustTable record

  • DimensionAttributeValueCombinationDef → DimensionAttributeValueCombination

    Join on SubBillDeferralAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralAccountTable records → exactly one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationRec → DimensionAttributeValueCombination

    Join on SubBillDeferralRecognitionAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralAccountTable records → exactly one DimensionAttributeValueCombination record

  • VendGroupInvoiceJournal → VendGroup

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::InvoiceJournal, CustVendCode = TableGroupAll::GroupId, CustVendRelation = VendGroup.VendGroup

    Many SubBillDeferralAccountTable records → zero or one VendGroup record

  • VendTableInvoiceJournal → VendTable

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::InvoiceJournal, CustVendCode = TableGroupAll::Table, CustVendRelation = VendTable.AccountNum

    Many SubBillDeferralAccountTable records → zero or one VendTable record

  • DimensionAttributeValueCombinationST → DimensionAttributeValueCombination

    Join on SubBillDeferralShortTermAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralAccountTable records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationInitRec → DimensionAttributeValueCombination

    Join on SubBillDeferralInitialRecAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralAccountTable records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationRecOffset → DimensionAttributeValueCombination

    Join on SubBillDeferralRecOffAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralAccountTable records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk