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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemCodeSays whether the row applies to one item, an item group, all items or a category.Enum
InventPostingItemCode (enum)
NoSubBillItemSetupEntity
ItemRelationItem or item group that the row applies to, depending on the item code.String (20)
InventItemRelation
YesInventItemGroup.ItemGroupIdInventTable.ItemIdSubBillItemSetupEntity
SubBillParentRetailVariantIdVariant number of the main item, taken from released product variants.String
RetailVariantId
NoNone
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
SubBillMilestoneTemplateIdMilestone template linked to this setup.String (20)
SubBillMilestoneTemplateId
NoSubBillMilestoneTemplateHeader.SubBillMilestoneTemplateIdSubBillItemSetupEntity
SubBillRenewalItemItem used as the renewal item.String (20)
SubBillRenewalItem
NoInventTable.ItemIdSubBillItemSetupEntity
SubBillRenewalRetailVariantIdVariant number of the renewal item.String
RetailVariantId
NoNone
SubBillSupportItemItem used as the support item.String (20)
SubBillSupportItem
NoInventTable.ItemIdSubBillItemSetupEntity
SubBillSupportRetailVariantIdVariant number of the support item.String
RetailVariantId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (8)

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

  • InventItemGroup → InventItemGroup

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

    Many SubBillItemSetup records → zero or one InventItemGroup record

  • InventTable → InventTable

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

    Many SubBillItemSetup records → zero or one InventTable record

  • InventTableSupportItem → InventTable

    Join on SubBillSupportItem = InventTable.ItemId

    Many SubBillItemSetup records → zero or one InventTable record

  • InventTableRenewalItem → InventTable

    Join on SubBillRenewalItem = InventTable.ItemId

    Many SubBillItemSetup records → zero or one InventTable record

  • MilestoneTemplateHeader → SubBillMilestoneTemplateHeader

    Join on SubBillMilestoneTemplateId = SubBillMilestoneTemplateHeader.SubBillMilestoneTemplateId

    Many SubBillItemSetup records → zero or one SubBillMilestoneTemplateHeader record

  • RetailVariant → InventDimCombination

    Join on SubBillParentRetailVariantId = InventDimCombination.RetailVariantId

    Many SubBillItemSetup records → zero or one InventDimCombination record

  • SupportRetailVariant → InventDimCombination

    Join on SubBillSupportRetailVariantId = InventDimCombination.RetailVariantId

    Many SubBillItemSetup records → zero or one InventDimCombination record

  • RenewalRetailVariant → InventDimCombination

    Join on SubBillRenewalRetailVariantId = InventDimCombination.RetailVariantId

    Many 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.

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

Email sales@drdynamics.co.uk