Table

SubBillDeferralDefaultAccountCharge

Subscription billing deferral default account charge

Stores default deferral accounts for charges (markup codes) in subscription billing. The key combines account type, charge code, charge relation, and the customer or vendor account code and relation. Each record gives the main, short-term, initial recognition and recognition offset accounts.

Table name
SubBillDeferralDefaultAccountCharge
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
ItemCustVendCodeIdx
Key fields
SubBillDeferralDefaultAccountType, SubBillDeferralChargeCode, SubBillDeferralMarkupCodeRelation, CustVendCode, CustVendRelation
Model
SubscriptionBilling

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillDeferralDefaultAccountTypeKind of account the defaults apply to, such as sales revenue, sales on hold or purchase expense.Enum
SubBillDeferralDefaultAccountType (enum)
NoNone
SubBillDeferralChargeCodeSays whether the row applies to one charge code (Table) or to all charges.Enum
SubBillDeferralChargePostingCode (enum)
NoNone
SubBillDeferralMarkupCodeRelationThe charge (markup) code that the row applies to.String
SubBillDeferralMarkupCodeRelation
NoNone
CustVendCodeSays whether the row applies to one account, a group or all accounts.Enum
TableGroupAll (enum)
NoNone
CustVendRelationThe customer account or customer group that the row applies to, depending on the account code.String (20)
InventCustVendRel
NoCustGroup.CustGroupCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerDimensionDefaultAccountMain account for the default, held as a reference to a dimension code combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
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
SubBillDeferralInitialRecAcctAccount used for initial recognition, held as a reference to a dimension code combination.Int64
SubBillDeferralInitialRecAcct
NoDimensionAttributeValueCombination.RecIdNone
SubBillDeferralRecOffAcctOffset account used for recognition, held as a reference to a dimension code combination.Int64
SubBillDeferralRecOffAcct
NoDimensionAttributeValueCombination.RecIdNone
SubBillDeferralShortTermAccountAccount used for the short-term deferral, held as a reference to a dimension code combination.Int64
SubBillDeferralShortTermAccount
NoDimensionAttributeValueCombination.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • DimensionAttributeValueCombinationST → DimensionAttributeValueCombination

    Join on SubBillDeferralShortTermAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountCharge records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on LedgerDimensionDefaultAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountCharge records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationInitRec → DimensionAttributeValueCombination

    Join on SubBillDeferralInitialRecAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountCharge records → zero or one DimensionAttributeValueCombination record

  • MarkupTable → MarkupTable

    Join on SubBillDeferralMarkupCodeRelation = MarkupTable.MarkupCode, SubBillDeferralChargeCode = SubBillDeferralChargePostingCode::Table

    Many SubBillDeferralDefaultAccountCharge records → zero or one MarkupTable record

  • CustTableSalesCharge → CustTable

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

    Many SubBillDeferralDefaultAccountCharge records → zero or one CustTable record

  • LedgerDimensionRevOffAcct → DimensionAttributeValueCombination

    Join on SubBillDeferralRecOffAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountCharge records → zero or one DimensionAttributeValueCombination record

  • CustGroupRevenue → CustGroup

    Join on SubBillDeferralDefaultAccountType = SubBillDeferralDefaultAccountType::SalesRevenue, CustVendCode = TableGroupAll::GroupId, CustVendRelation = CustGroup.CustGroup

    Many SubBillDeferralDefaultAccountCharge records → zero or one CustGroup record

Get this data out

No public entity reads from SubBillDeferralDefaultAccountCharge. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk