Table

SubBillDeferralDefaultTemplateExpense

Subscription billing deferral default template expense report

Links deferral templates to project expenses in subscription billing. The key combines project scope, category scope and transaction type. It points to a deferral template and an event template.

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

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ExpCategoryRelationThe project category or category group that the row applies to.String (30)
ProjCategoryRelation
NoProjCategory.CategoryIdProjCategoryGroup.CategoryGroupIdNone
ExpCategoryCodeSays whether the row applies to one category, a category group or all categories.Enum
TableGroupAll (enum)
NoNone
ExpProjRelationThe project or project group that the row applies to.String (20)
ProjRelation
NoProjGroup.ProjGroupIdProjTable.ProjIdNone
ExpProjCodeSays whether the row applies to one project, a project group or all projects.Enum
TableGroupAll (enum)
NoNone
SubBillDeferralTransactionTypeType of source transaction the default applies to, such as project expense journal or vendor invoice.Enum
SubBillDeferralTransactionType (enum)
NoNone
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
SubBillDeferralDefaultAccountTypeKind of account the defaults apply to, such as sales revenue or purchase expense.Enum
SubBillDeferralDefaultAccountType (enum)
NoNone
SubBillDeferralEventTemplateIdIdentifier of the deferral event template used by this default.String
SubBillDeferralEventTemplateId
NoSubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdNone
SubBillDeferralTemplateIdIdentifier of the deferral template used by this default.String
SubBillDeferralTemplateId
NoSubBillDeferralTemplateTable.SubBillDeferralTemplateIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (6)

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

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralDefaultTemplateExpense records → zero or one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralDefaultTemplateExpense records → zero or one SubBillDeferralTemplateTable record

  • ExpCategoryGroup → ProjCategory

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

    Many SubBillDeferralDefaultTemplateExpense records → zero or one ProjCategory record

  • ExpCategoryTable → ProjCategoryGroup

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

    Many SubBillDeferralDefaultTemplateExpense records → zero or one ProjCategoryGroup record

  • ExpProjGroup → ProjGroup

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

    Many SubBillDeferralDefaultTemplateExpense records → zero or one ProjGroup record

  • ExpProjTable → ProjTable

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

    Many SubBillDeferralDefaultTemplateExpense records → zero or one ProjTable record

Get this data out

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

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

Email sales@drdynamics.co.uk