Table

SubBillDeferralDefaultAccountExpense

Subscription billing deferral default account expense report

Stores default deferral accounts for project expenses in subscription billing. Rows are keyed by project scope, category scope and account type. Each record gives the main, short-term, initial recognition and recognition offset accounts.

Table name
SubBillDeferralDefaultAccountExpense
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
ExpGroupCategoryCodeIdx
Key fields
ExpProjCode, ExpCategoryCode, ExpCategoryRelation, ExpProjRelation, SubBillDeferralDefaultAccountType, SubBillDeferralDefaultTypeExpense
Model
SubscriptionBilling

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ExpProjCodeSays whether the row applies to one project, a project group or all projects.Enum
TableGroupAll (enum)
YesNone
ExpCategoryCodeSays whether the row applies to one category, a category group or all categories.Enum
TableGroupAll (enum)
YesNone
ExpCategoryRelationThe project category or category group that the row applies to.String (30)
ProjCategoryRelation
NoProjCategory.CategoryIdProjCategoryGroup.CategoryGroupIdNone
ExpProjRelationThe project or project group that the row applies to.String (20)
ProjRelation
NoProjGroup.ProjGroupIdProjTable.ProjIdNone
SubBillDeferralDefaultAccountTypeKind of account the defaults apply to, such as sales revenue or purchase expense.Enum
SubBillDeferralDefaultAccountType (enum)
YesNone
SubBillDeferralDefaultTypeExpenseType of default: deferred revenue, deferred cost or template. No label is given.Enum
SubBillDeferralDefaultTypeExpense (enum)
YesNone
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 (8)

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

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on LedgerDimensionDefaultAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountExpense records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationST → DimensionAttributeValueCombination

    Join on SubBillDeferralShortTermAccount = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountExpense records → zero or one DimensionAttributeValueCombination record

  • ExpCategoryGroup → ProjCategoryGroup

    Join on ExpCategoryRelation = ProjCategoryGroup.CategoryGroupId, ExpCategoryCode = TableGroupAll::GroupId

    Many SubBillDeferralDefaultAccountExpense records → zero or one ProjCategoryGroup record

  • ExpCategoryTable → ProjCategory

    Join on ExpCategoryRelation = ProjCategory.CategoryId, ExpCategoryCode = TableGroupAll::Table

    Many SubBillDeferralDefaultAccountExpense records → zero or one ProjCategory record

  • ExpProjGroup → ProjGroup

    Join on ExpProjRelation = ProjGroup.ProjGroupId, ExpProjCode = TableGroupAll::GroupId

    Many SubBillDeferralDefaultAccountExpense records → zero or one ProjGroup record

  • ExpProjTable → ProjTable

    Join on ExpProjRelation = ProjTable.ProjId, ExpProjCode = TableGroupAll::Table

    Many SubBillDeferralDefaultAccountExpense records → zero or one ProjTable record

  • DimensionAttributeValueCombinationInitRec → DimensionAttributeValueCombination

    Join on SubBillDeferralInitialRecAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountExpense records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationRecOffset → DimensionAttributeValueCombination

    Join on SubBillDeferralRecOffAcct = DimensionAttributeValueCombination.RecId

    Many SubBillDeferralDefaultAccountExpense records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk