Table

SubBillDeferralDefaultTemplateProject

Subscription billing deferral default template charge

Links deferral templates to projects in subscription billing. The key combines project scope, project category scope and transaction type. It points to a deferral template and an event template. The table label repeats the charge table name, so the label may be a copy error.

Table name
SubBillDeferralDefaultTemplateProject
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
ProjectGroupCategoryCodeIdx
Key fields
ProjCategoryRelation, ProjCategoryCode, ProjRelation, ProjCode, SubBillDeferralTransactionType
Model
SubscriptionBilling

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProjCategoryRelationThe project category or category group that the row applies to.String (30)
ProjCategoryRelation
NoProjCategory.CategoryIdProjCategoryGroup.CategoryGroupIdNone
ProjCategoryCodeSays whether the row applies to one category, a category group or all categories.Enum
TableGroupAll (enum)
NoNone
ProjRelationThe project or project group that the row applies to.String (20)
ProjRelation
NoProjGroup.ProjGroupIdProjTable.ProjIdNone
ProjCodeSays 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 fee journal or invoice journal.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 sales on hold.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 SubBillDeferralDefaultTemplateProject to another table on the fields shown.

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralDefaultTemplateProject records → zero or one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralDefaultTemplateProject records → zero or one SubBillDeferralTemplateTable record

  • ProjCategory → ProjCategory

    Join on ProjCategoryRelation = ProjCategory.CategoryId, ProjCategoryCode = TableGroupAll::Table

    Many SubBillDeferralDefaultTemplateProject records → zero or one ProjCategory record

  • ProjCategoryGroup → ProjCategoryGroup

    Join on ProjCategoryRelation = ProjCategoryGroup.CategoryGroupId, ProjCategoryCode = TableGroupAll::GroupId

    Many SubBillDeferralDefaultTemplateProject records → zero or one ProjCategoryGroup record

  • ProjGroup → ProjGroup

    Join on ProjRelation = ProjGroup.ProjGroupId, ProjCode = TableGroupAll::GroupId

    Many SubBillDeferralDefaultTemplateProject records → zero or one ProjGroup record

  • ProjTable → ProjTable

    Join on ProjRelation = ProjTable.ProjId, ProjCode = TableGroupAll::Table

    Many SubBillDeferralDefaultTemplateProject records → zero or one ProjTable record

Get this data out

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

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

Email sales@drdynamics.co.uk