Table

SubBillDeferralDefaultTemplate

Subscription billing deferral default template

Links deferral templates to a transaction type, an item scope and a customer or vendor account scope. The key combines transaction type, item code and relation, category relation, and account code and relation. It can point to a deferral template and an event template.

Table name
SubBillDeferralDefaultTemplate
Module
Subscription billing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
ItemCustVendCodeIdx
Key fields
SubBillDeferralTransactionType, ItemCode, ItemRelation, CategoryRelation, CustVendCode, CustVendRelation
Model
SubscriptionBilling

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SubBillDeferralTransactionTypeType of source transaction the default applies to, such as sales order, purchase order or billing schedule.Enum
SubBillDeferralTransactionType (enum)
NoNone
ItemCodeSays whether the row applies to one item, an item group, all items or a category.Enum
InventPostingItemCode (enum)
NoNone
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
CustVendCodeSays whether the row applies to one account, a group or all accounts.Enum
TableGroupAll (enum)
NoNone
CustVendRelationThe customer or vendor account, or the customer or vendor group, that the row applies to.String (20)
InventCustVendRel
NoCustGroup.CustGroupCustTable.AccountNumVendGroup.VendGroupVendTable.AccountNumNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (9)

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

  • SubBillDeferralEventTemplateTable → SubBillDeferralEventTemplateTable

    Join on SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateId

    Many SubBillDeferralDefaultTemplate records → exactly one SubBillDeferralEventTemplateTable record

  • SubBillDeferralTemplateTable → SubBillDeferralTemplateTable

    Join on SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateId

    Many SubBillDeferralDefaultTemplate records → exactly one SubBillDeferralTemplateTable record

  • CustGroupSales → CustGroup

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::SalesOrder, CustVendCode = TableGroupAll::GroupId, CustVendRelation = CustGroup.CustGroup

    Many SubBillDeferralDefaultTemplate records → zero or one CustGroup record

  • CustTableSales → CustTable

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::SalesOrder, CustVendCode = TableGroupAll::Table, CustVendRelation = CustTable.AccountNum

    Many SubBillDeferralDefaultTemplate records → zero or one CustTable record

  • InventItemGroup → InventItemGroup

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

    Many SubBillDeferralDefaultTemplate records → zero or one InventItemGroup record

  • InventTable → InventTable

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

    Many SubBillDeferralDefaultTemplate records → zero or one InventTable record

  • EcoResCategory → EcoResCategory

    Join on CategoryRelation = EcoResCategory.RecId

    Many SubBillDeferralDefaultTemplate records → zero or one EcoResCategory record

  • VendGroupPurch → VendGroup

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::VendInvoice, CustVendCode = TableGroupAll::GroupId, CustVendRelation = VendGroup.VendGroup

    Many SubBillDeferralDefaultTemplate records → zero or one VendGroup record

  • VendTablePurch → VendTable

    Join on SubBillDeferralTransactionType = SubBillDeferralTransactionType::VendInvoice, CustVendCode = TableGroupAll::Table, CustVendRelation = VendTable.AccountNum

    Many SubBillDeferralDefaultTemplate records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk