Table
RetailCategoryPriceRuleGroup
Category price rule groups
Defines groups of category price rules. The key is the group code. Each group has a name, a category hierarchy, a comparison price group and several yes/no switches for which pricing data to save.
- Table name
RetailCategoryPriceRuleGroup- Module
Commerce merchandising- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
CodeIdx- Key fields
Code- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CodeCode that identifies the category price rule group. | StringRetailCategoryPriceRuleGroupCode | Yes | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionName of the group. | String (60)RetailCategoryPriceRuleGroupDescription | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
EcoResCategoryHierarchyCategory hierarchy used by the group, stored as its record ID. | Int64EcoResCategoryHierarchyId | Yes | EcoResCategoryHierarchy.RecId | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity |
IsGUPCategoryPriceRuleGroupYes/No flag that marks the group as a category price rule group of the pricing rule feature.low confidence | EnumNoYesIdNoYes (enum) | No | GUPCategoryPriceRuleGroupEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceGroupIdPrice group used for comparison. | StringPriceGroupId | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
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 | |
SaveAddDataYes/No flag for saving pricing data. | EnumRetailSaveAddDataNoYes (enum) | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
SaveBasePriceYes/No flag for saving the price basis. | EnumRetailSaveBasePriceNoYes (enum) | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
SaveInventCostYes/No flag for saving the inventory cost price. | EnumRetailSaveInventCostNoYes (enum) | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
SaveOtherGroupPriceYes/No flag for saving the comparison price. | EnumRetailSaveOtherGroupPriceNoYes (enum) | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
SaveSalesPriceYes/No flag for saving the sales price. | EnumRetailSaveSalesPriceNoYes (enum) | No | GUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CodeIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins RetailCategoryPriceRuleGroup to another table on the fields shown.
EcoResCategoryHierarchyFK→EcoResCategoryHierarchyJoin on
EcoResCategoryHierarchy = EcoResCategoryHierarchy.RecIdMany RetailCategoryPriceRuleGroup records → exactly one EcoResCategoryHierarchy record
PriceDiscGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::Cust,PriceGroupId = PriceDiscGroup.GroupIdMany RetailCategoryPriceRuleGroup records → zero or one PriceDiscGroup record
Get this data out
Tables are not exposed directly. These public entities read from RetailCategoryPriceRuleGroup; use one of them in Power BI, Power Platform or a data management project.
GUPCategoryPriceRuleGroupEntity· 10 fields from this tableRetailCategoryPriceRuleGroupEntity· 9 fields from this table
Need help with RetailCategoryPriceRuleGroup in a report, an integration or a migration? Talk to Dr Dynamics.