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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillDeferralTransactionTypeType of source transaction the default applies to, such as sales order, purchase order or billing schedule. | EnumSubBillDeferralTransactionType (enum) | No | None | |
ItemCodeSays whether the row applies to one item, an item group, all items or a category. | EnumInventPostingItemCode (enum) | No | None | |
ItemRelationThe item or item group that the row applies to. | String (20)InventItemRelation | No | InventItemGroup.ItemGroupIdInventTable.ItemId | None |
CategoryRelationThe product category that the row applies to, held as a category record reference. | Int64InventCategoryRelation | No | EcoResCategory.RecId | None |
CustVendCodeSays whether the row applies to one account, a group or all accounts. | EnumTableGroupAll (enum) | No | None | |
CustVendRelationThe customer or vendor account, or the customer or vendor group, that the row applies to. | String (20)InventCustVendRel | No | CustGroup.CustGroupCustTable.AccountNumVendGroup.VendGroupVendTable.AccountNum | 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 | |
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)
ItemCustVendCodeIdxReplacement keySubBillDeferralTransactionType,ItemCode,ItemRelation,CategoryRelation,CustVendCode,CustVendRelationUnique, alternate key.
Relations (9)
Each relation joins SubBillDeferralDefaultTemplate to another table on the fields shown.
SubBillDeferralEventTemplateTable→SubBillDeferralEventTemplateTableJoin on
SubBillDeferralEventTemplateId = SubBillDeferralEventTemplateTable.SubBillDeferralEventTemplateIdMany SubBillDeferralDefaultTemplate records → exactly one SubBillDeferralEventTemplateTable record
SubBillDeferralTemplateTable→SubBillDeferralTemplateTableJoin on
SubBillDeferralTemplateId = SubBillDeferralTemplateTable.SubBillDeferralTemplateIdMany SubBillDeferralDefaultTemplate records → exactly one SubBillDeferralTemplateTable record
CustGroupSales→CustGroupJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::SalesOrder,CustVendCode = TableGroupAll::GroupId,CustVendRelation = CustGroup.CustGroupMany SubBillDeferralDefaultTemplate records → zero or one CustGroup record
CustTableSales→CustTableJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::SalesOrder,CustVendCode = TableGroupAll::Table,CustVendRelation = CustTable.AccountNumMany SubBillDeferralDefaultTemplate records → zero or one CustTable record
InventItemGroup→InventItemGroupJoin on
ItemCode = InventPostingItemCode::GroupId,ItemRelation = InventItemGroup.ItemGroupIdMany SubBillDeferralDefaultTemplate records → zero or one InventItemGroup record
InventTable→InventTableJoin on
ItemCode = InventPostingItemCode::Table,ItemRelation = InventTable.ItemIdMany SubBillDeferralDefaultTemplate records → zero or one InventTable record
EcoResCategory→EcoResCategoryJoin on
CategoryRelation = EcoResCategory.RecIdMany SubBillDeferralDefaultTemplate records → zero or one EcoResCategory record
VendGroupPurch→VendGroupJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::VendInvoice,CustVendCode = TableGroupAll::GroupId,CustVendRelation = VendGroup.VendGroupMany SubBillDeferralDefaultTemplate records → zero or one VendGroup record
VendTablePurch→VendTableJoin on
SubBillDeferralTransactionType = SubBillDeferralTransactionType::VendInvoice,CustVendCode = TableGroupAll::Table,CustVendRelation = VendTable.AccountNumMany 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.