Table
SubBillItemSetup
Subscription billing item setup
Sets up subscription billing for an item, an item group or all items. The key combines the item code, the item or group name and the parent variant. Each row can name a support item, a renewal item, a milestone template and variants of these items.
- Table name
SubBillItemSetup- Module
Subscription billing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
ItemCodeRelation- Key fields
ItemCode, ItemRelation, SubBillParentRetailVariantId- Model
SubscriptionBilling
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ItemCodeSays whether the row applies to one item, an item group, all items or a category. | EnumInventPostingItemCode (enum) | No | SubBillItemSetupEntity | |
ItemRelationItem or item group that the row applies to, depending on the item code. | String (20)InventItemRelation | Yes | InventItemGroup.ItemGroupIdInventTable.ItemId | SubBillItemSetupEntity |
SubBillParentRetailVariantIdVariant number of the main item, taken from released product variants. | StringRetailVariantId | No | 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 | |
SubBillMilestoneTemplateIdMilestone template linked to this setup. | String (20)SubBillMilestoneTemplateId | No | SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateId | SubBillItemSetupEntity |
SubBillRenewalItemItem used as the renewal item. | String (20)SubBillRenewalItem | No | InventTable.ItemId | SubBillItemSetupEntity |
SubBillRenewalRetailVariantIdVariant number of the renewal item. | StringRetailVariantId | No | None | |
SubBillSupportItemItem used as the support item. | String (20)SubBillSupportItem | No | InventTable.ItemId | SubBillItemSetupEntity |
SubBillSupportRetailVariantIdVariant number of the support item. | StringRetailVariantId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
ItemCodeRelationReplacement keyItemCode,ItemRelation,SubBillParentRetailVariantIdUnique, alternate key.
Relations (8)
Each relation joins SubBillItemSetup to another table on the fields shown.
InventItemGroup→InventItemGroupJoin on
ItemCode = InventPostingItemCode::GroupId,ItemRelation = InventItemGroup.ItemGroupIdMany SubBillItemSetup records → zero or one InventItemGroup record
InventTable→InventTableJoin on
ItemCode = InventPostingItemCode::Table,ItemRelation = InventTable.ItemIdMany SubBillItemSetup records → zero or one InventTable record
InventTableSupportItem→InventTableJoin on
SubBillSupportItem = InventTable.ItemIdMany SubBillItemSetup records → zero or one InventTable record
InventTableRenewalItem→InventTableJoin on
SubBillRenewalItem = InventTable.ItemIdMany SubBillItemSetup records → zero or one InventTable record
MilestoneTemplateHeader→SubBillMilestoneTemplateHeaderJoin on
SubBillMilestoneTemplateId = SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateIdMany SubBillItemSetup records → zero or one SubBillMilestoneTemplateHeader record
RetailVariant→InventDimCombinationJoin on
SubBillParentRetailVariantId = InventDimCombination.RetailVariantIdMany SubBillItemSetup records → zero or one InventDimCombination record
SupportRetailVariant→InventDimCombinationJoin on
SubBillSupportRetailVariantId = InventDimCombination.RetailVariantIdMany SubBillItemSetup records → zero or one InventDimCombination record
RenewalRetailVariant→InventDimCombinationJoin on
SubBillRenewalRetailVariantId = InventDimCombination.RetailVariantIdMany SubBillItemSetup records → zero or one InventDimCombination record
Get this data out
Tables are not exposed directly. These public entities read from SubBillItemSetup; use one of them in Power BI, Power Platform or a data management project.
SubBillItemSetupEntity· 5 fields from this table
Need help with SubBillItemSetup in a report, an integration or a migration? Talk to Dr Dynamics.