Table

SubBillDeferralDefaultTemplateItemRequirements

Subscription billing deferral default template item requirements

Links deferral templates to project item requirements in subscription billing. The key combines project scope and item scope (item, group, all or category). It points to a deferral template and an event template, and holds a transaction type.

Table name
SubBillDeferralDefaultTemplateItemRequirements
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
ProjItemCategoryIdx
Key fields
ProjCode, ProjRelation, ItemCode, ItemRelation, CategoryRelation
Model
SubscriptionBilling

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProjCodeSays whether the row applies to one project, a project group or all projects.Enum
TableGroupAll (enum)
YesNone
ProjRelationThe project or project group that the row applies to.String (20)
ProjRelation
NoProjGroup.ProjGroupIdProjTable.ProjIdNone
ItemCodeSays whether the row applies to one item, an item group, all items or a category.Enum
InventPostingItemCode (enum)
YesNone
ItemRelationThe item or item group that the row applies to.String (20)
InventItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdNone
CategoryRelationThe product category that the row applies to, held as a category record reference.Int64
InventCategoryRelation
NoEcoResCategory.RecIdNone
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
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
SubBillDeferralTransactionTypeType of source transaction the default applies to, such as project item journal or sales order.Enum
SubBillDeferralTransactionType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one SubBillDeferralTemplateTable record

  • ProjGroup → ProjGroup

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

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one ProjGroup record

  • ProjTable → ProjTable

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

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one ProjTable record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = InventPostingItemCode::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one InventItemGroup record

  • InventTable → InventTable

    Join on ItemCode = InventPostingItemCode::Table, ItemRelation = InventTable.ItemId

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one InventTable record

  • EcoResCategory → EcoResCategory

    Join on CategoryRelation = EcoResCategory.RecId

    Many SubBillDeferralDefaultTemplateItemRequirements records → zero or one EcoResCategory record

Get this data out

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

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

Email sales@drdynamics.co.uk