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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ExpCategoryRelationThe project category or category group that the row applies to. | String (30)ProjCategoryRelation | No | ProjCategory.CategoryIdProjCategoryGroup.CategoryGroupId | None |
ExpCategoryCodeSays whether the row applies to one category, a category group or all categories. | EnumTableGroupAll (enum) | No | None | |
ExpProjRelationThe project or project group that the row applies to. | String (20)ProjRelation | No | ProjGroup.ProjGroupIdProjTable.ProjId | None |
ExpProjCodeSays whether the row applies to one project, a project group or all projects. | EnumTableGroupAll (enum) | No | None | |
SubBillDeferralTransactionTypeType of source transaction the default applies to, such as project expense journal or vendor invoice. | EnumSubBillDeferralTransactionType (enum) | No | None | |
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 | |
SubBillDeferralDefaultAccountTypeKind of account the defaults apply to, such as sales revenue or purchase expense. | EnumSubBillDeferralDefaultAccountType (enum) | No | None | |
SubBillDeferralEventTemplateIdIdentifier of the deferral event template used by this default. | StringSubBillDeferralEventTemplateId | No | SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId | None |
SubBillDeferralTemplateIdIdentifier of the deferral template used by this default. | StringSubBillDeferralTemplateId | No | SubBillDeferralTemplateTable.SubBillDeferralTemplateId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ExpGroupCategoryCodeIdxReplacement keyExpCategoryRelation,ExpCategoryCode,ExpProjRelation,ExpProjCode,SubBillDeferralTransactionTypeUnique, alternate key.
Relations (6)
Each relation joins SubBillDeferralDefaultTemplateExpense to another table on the fields shown.
SubBillDeferralEventTemplateTable→SubBillDeferralEventTemplateTableJoin on
SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdMany SubBillDeferralDefaultTemplateExpense records → zero or one SubBillDeferralEventTemplateTable record
SubBillDeferralTemplateTable→SubBillDeferralTemplateTableJoin on
SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateIdMany SubBillDeferralDefaultTemplateExpense records → zero or one SubBillDeferralTemplateTable record
ExpCategoryGroup→ProjCategoryJoin on
ExpCategoryRelation = ProjCategory.CategoryId,ExpCategoryCode = TableGroupAll::GroupIdMany SubBillDeferralDefaultTemplateExpense records → zero or one ProjCategory record
ExpCategoryTable→ProjCategoryGroupJoin on
ExpCategoryRelation = ProjCategoryGroup.CategoryGroupId,ExpCategoryCode = TableGroupAll::TableMany SubBillDeferralDefaultTemplateExpense records → zero or one ProjCategoryGroup record
ExpProjGroup→ProjGroupJoin on
ExpProjRelation = ProjGroup.ProjGroupId,ExpProjCode = TableGroupAll::GroupIdMany SubBillDeferralDefaultTemplateExpense records → zero or one ProjGroup record
ExpProjTable→ProjTableJoin on
ExpProjRelation = ProjTable.ProjId,ExpProjCode = TableGroupAll::TableMany 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.