Table

SubBillDeferralDefaultTemplateTimesheet

Subscription billing deferral default template timesheet

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

Table name
SubBillDeferralDefaultTemplateTimesheet
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, DeferralTransactionType
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
DeferralTransactionTypeType of source transaction the default applies to, such as project fee journal or billing schedule.Enum
SubBillDeferralTransactionType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeferralDefaultAccountTypeKind of account the defaults apply to, such as sales revenue or sales consumption.Enum
SubBillDeferralDefaultAccountType (enum)
NoNone
DeferralEventTemplateIdIdentifier of the deferral event template used by this default.String
SubBillDeferralEventTemplateId
NoSubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdNone
DeferralTemplateIdIdentifier of the deferral template used by this default.String
SubBillDeferralTemplateId
NoSubBillDeferralTemplateTable.SubBillDeferralTemplateIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (6)

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

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on DeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on DeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one SubBillDeferralTemplateTable record

  • ProjCategory → ProjCategory

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

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one ProjCategory record

  • ProjCategoryGroup → ProjCategoryGroup

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

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one ProjCategoryGroup record

  • ProjGroup → ProjGroup

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

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one ProjGroup record

  • ProjTable → ProjTable

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

    Many SubBillDeferralDefaultTemplateTimesheet records → zero or one ProjTable record

Get this data out

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

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

Email sales@drdynamics.co.uk