Data entity

GUPCategoryPriceRuleEntity

Holds attribute-based price rules for retail categories. Each row is one rule line, keyed by line number. It has the amount or percent, price basis, unit, vendor account and rounding version. It also has flags such as allow unit conversion and prevent discount, and header fields for price attribute groups.

Entity name
GUPCategoryPriceRuleEntity
Public entity name
GUPCategoryPriceRule
OData collection
GUPCategoryPriceRules
Category
Not set
Module
Merchandising
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
LineNumber
Staging table
GUPCategoryPriceRuleStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/GUPCategoryPriceRules
Dataverse virtual table
mserp_gupcategorypriceruleentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RetailCategoryPriceRule · root
  • EcoResCategory · InnerJoin to RetailCategoryPriceRule · read-only
  • EcoResCategoryHierarchy · InnerJoin to EcoResCategory · read-only
  • PCClass · Derived to EcoResCategory
  • GUPPriceComponentCodePriceAttributeGroupCombination · OuterJoin to RetailCategoryPriceRule · read-only
  • GUPPricingRuleConditionViewHeader (table GUPPricingRuleConditionLookup) · OuterJoin to RetailCategoryPriceRule
  • GUPPricingRuleConditionViewLine (table GUPPricingRuleConditionLookup) · OuterJoin to RetailCategoryPriceRule

Fields (54)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
IsGUPCategoryPriceRuleYes/No flag that marks the record as a category price rule of the pricing rule feature.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailCategoryPriceRule.IsGUPCategoryPriceRule
AmountPercentAmount or percentage used by the rule.Real
RetailAmountPercent
NoYesRetailCategoryPriceRule.AmountPercent
PriceBasisPrice that the rule starts from, such as base price, current price or purchase price.Enum
RetailPriceBasisType
  • BaseCost 0
  • BasePrice 1
  • CurrentPrice 2
  • PurchasePrice 3
  • InventCost 4
  • OtherPriceGroup 5
  • LastPurchasePrice 6
NoYesRetailCategoryPriceRule.PriceBasis
PriceSetupTypeType of price rule: markup, margin or fixed amount.Enum
RetailCategoryPriceSetupType
  • Markup 0
  • Margin 1
  • FixedAmount 2
NoYesRetailCategoryPriceRule.PriceSetupType
SmartRoundingGroupRounding version used for the resulting price.String
PriceDiscSmartRoundingGroupId
NoYesPriceDiscSmartRoundingGroup.GroupIdRetailCategoryPriceRule.SmartRoundingGroup
UnitIdUnit of measure the rule applies to.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolRetailCategoryPriceRule.UnitId
VendorAccountVendor account the rule applies to.String (20)
VendAccount
NoYesVendTable.AccountNumRetailCategoryPriceRule.VendAccount
LineNumberLine number that orders the rule lines.Real
LineNum
NoYesRetailCategoryPriceRule.LineNum
CategoryNameName of the category.String (254)
EcoResCategoryName
YesYesEcoResCategory.Name
CategoryHierarchyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
YesYesEcoResCategoryHierarchy.Name
PriceGroupPrice group linked to the rule.String
PriceGroupId
NoYesRetailCategoryPriceRule.PriceGroup
UnitAppliesToAllYes/No flag that allows unit conversion, so the rule can apply across units.Enum
GUPUnitAppliesToAll
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailCategoryPriceRule.UnitAppliesToAll
PriceApplyAdjustmentYes/No flag that allows the price adjustment to be applied.Enum
GUPPriceDiscPriceApplyAdjustment
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailCategoryPriceRule.PriceApplyAdjustment
PricePreventDiscountYes/No flag that stops further discount on the price.Enum
GUPPriceDiscPricePreventDiscount
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailCategoryPriceRule.PricePreventDiscount
ExactlyMatchedYes/No flag showing whether the rule is an exact match.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailCategoryPriceRule.ExactlyMatched
PricingRuleHeaderHeader of the related price rule, stored as a record ID.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdRetailCategoryPriceRule.PricingRuleHeader
PricingRuleLineLine of the related price rule, stored as a record ID.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdRetailCategoryPriceRule.PricingRuleLine
PriceComponentCombinationName of the combination.String (180)
GUPPricingAttributeGroupCombinationName
NoYesGUPPriceComponentCodePriceAttributeGroupCombination.Name
PriceAttributeGroupNameHeaderPrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
HeaderExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
HeaderExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
Header1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Header2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Header3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Header4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Header5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Header6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Header7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Header8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Header9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Header10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Header11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Header12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Header13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Header14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Header15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15
PriceAttributeGroupNameLinePrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
LineExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
Line1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Line2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Line3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Line4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Line5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Line6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Line7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Line8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Line9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Line10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Line11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Line12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Line13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Line14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Line15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15

Foreign keys (5)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with GUPCategoryPriceRuleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk