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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillDeferralTransactionTypeType of source transaction that this setup applies to, such as sales order or billing schedule. | EnumSubBillDeferralTransactionType (enum) | Yes | SubBillDeferralAccountTableEntity | |
CustVendCodeSays whether the setup applies to one account, a group of accounts, or all accounts. | EnumTableGroupAll (enum) | No | SubBillDeferralAccountTableEntity | |
CustVendRelationThe customer, vendor or group that the setup applies to, depending on the account code. | String (20)InventCustVendRel | No | CustGroup.CustGroupCustTable.AccountNumVendGroup.VendGroupVendTable.AccountNum | SubBillDeferralAccountTableEntity |
SubBillDeferralAccountMain account, held as a ledger dimension combination, used for deferral. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SubBillDeferralAccountTableEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SubBillDeferralEventTemplateIdDeferral event template linked to this account setup. | StringSubBillDeferralEventTemplateId | No | SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId | SubBillDeferralAccountTableEntity |
SubBillDeferralInitialRecAcctLedger account combination for initial recognition. | Int64SubBillDeferralInitialRecAcct | No | DimensionAttributeValueCombination.RecId | None |
SubBillDeferralRecOffAcctLedger account combination that offsets recognition. | Int64SubBillDeferralRecOffAcct | No | DimensionAttributeValueCombination.RecId | None |
SubBillDeferralRecognitionAccountMain account, held as a ledger dimension combination, used for recognition. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | SubBillDeferralAccountTableEntity |
SubBillDeferralShortTermAccountLedger account combination for the short-term part of the deferral. | Int64SubBillDeferralShortTermAccount | No | DimensionAttributeValueCombination.RecId | None |
SubBillDeferralTemplateIdDeferral template linked to this account setup. | StringSubBillDeferralTemplateId | No | SubBillDeferralTemplateTable.SubBillDeferralTemplateId | SubBillDeferralAccountTableEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
DeferralAccountIdxReplacement keySubBillDeferralTransactionType,CustVendCode,CustVendRelation,SubBillDeferralAccountUnique, alternate key.
Relations (11)
Each relation joins SubBillDeferralAccountTable to another table on the fields shown.
SubBillDeferralEventTemplateTable→SubBillDeferralEventTemplateTableJoin on
SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdMany SubBillDeferralAccountTable records → zero or one SubBillDeferralEventTemplateTable record
SubBillDeferralTemplateTable→SubBillDeferralTemplateTableJoin on
SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateIdMany SubBillDeferralAccountTable records → zero or one SubBillDeferralTemplateTable record
CustGroupFreeTextInvoice→CustGroupJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::FreeTextInvoice,CustVendCode = TableGroupAll::GroupId,CustVendRelation = CustGroup.CustGroupMany SubBillDeferralAccountTable records → zero or one CustGroup record
CustTableFreeTextInvoice→CustTableJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::FreeTextInvoice,CustVendCode = TableGroupAll::Table,CustVendRelation = CustTable.AccountNumMany SubBillDeferralAccountTable records → zero or one CustTable record
DimensionAttributeValueCombinationDef→DimensionAttributeValueCombinationJoin on
SubBillDeferralAccount = DimensionAttributeValueCombination.RecIdMany SubBillDeferralAccountTable records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombinationRec→DimensionAttributeValueCombinationJoin on
SubBillDeferralRecognitionAccount = DimensionAttributeValueCombination.RecIdMany SubBillDeferralAccountTable records → exactly one DimensionAttributeValueCombination record
VendGroupInvoiceJournal→VendGroupJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::InvoiceJournal,CustVendCode = TableGroupAll::GroupId,CustVendRelation = VendGroup.VendGroupMany SubBillDeferralAccountTable records → zero or one VendGroup record
VendTableInvoiceJournal→VendTableJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::InvoiceJournal,CustVendCode = TableGroupAll::Table,CustVendRelation = VendTable.AccountNumMany SubBillDeferralAccountTable records → zero or one VendTable record
DimensionAttributeValueCombinationST→DimensionAttributeValueCombinationJoin on
SubBillDeferralShortTermAccount = DimensionAttributeValueCombination.RecIdMany SubBillDeferralAccountTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombinationInitRec→DimensionAttributeValueCombinationJoin on
SubBillDeferralInitialRecAcct = DimensionAttributeValueCombination.RecIdMany SubBillDeferralAccountTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombinationRecOffset→DimensionAttributeValueCombinationJoin on
SubBillDeferralRecOffAcct = DimensionAttributeValueCombination.RecIdMany 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.
SubBillDeferralAccountTableEntity· 7 fields from this table
Need help with SubBillDeferralAccountTable in a report, an integration or a migration? Talk to Dr Dynamics.