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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CodeCode that identifies the category price rule group.String
RetailCategoryPriceRuleGroupCode
YesGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionName of the group.String (60)
RetailCategoryPriceRuleGroupDescription
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
EcoResCategoryHierarchyCategory hierarchy used by the group, stored as its record ID.Int64
EcoResCategoryHierarchyId
YesEcoResCategoryHierarchy.RecIdGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
IsGUPCategoryPriceRuleGroupYes/No flag that marks the group as a category price rule group of the pricing rule feature.low confidenceEnum
NoYesId
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceGroupIdPrice group used for comparison.String
PriceGroupId
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
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
SaveAddDataYes/No flag for saving pricing data.Enum
RetailSaveAddData
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
SaveBasePriceYes/No flag for saving the price basis.Enum
RetailSaveBasePrice
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
SaveInventCostYes/No flag for saving the inventory cost price.Enum
RetailSaveInventCost
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
SaveOtherGroupPriceYes/No flag for saving the comparison price.Enum
RetailSaveOtherGroupPrice
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
SaveSalesPriceYes/No flag for saving the sales price.Enum
RetailSaveSalesPrice
NoYes (enum)
NoGUPCategoryPriceRuleGroupEntityRetailCategoryPriceRuleGroupEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • CodeIdxReplacement key

    Code

    Unique, alternate key.

Relations (2)

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

  • EcoResCategoryHierarchyFK → EcoResCategoryHierarchy

    Join on EcoResCategoryHierarchy = EcoResCategoryHierarchy.RecId

    Many RetailCategoryPriceRuleGroup records → exactly one EcoResCategoryHierarchy record

  • PriceDiscGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust, PriceGroupId = PriceDiscGroup.GroupId

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

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

Email sales@drdynamics.co.uk