Table

RetailPriceGroupApplicabilityRule

Defines when a price group applies, using criteria such as customer, customer group, channel, loyalty program, tier and affiliation. Each row is identified by a GUID and points to one price group. It also holds ten general criteria values.

Table name
RetailPriceGroupApplicabilityRule
Module
Commerce
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
GuidIdIndex
Key fields
GuidId
Model
Foundation

Fields (24)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
GuidIdUnique GUID that identifies the rule. It is the table key.Guid
SysGuid
NoRetailPriceGroupApplicabilityRuleEntity
CustGroupRefRecIdCustomer group the rule is limited to. Points to the customer group record.Int64
RefRecId
NoCustGroup.RecIdNone
CustTableRefRecIdCustomer the rule is limited to. Points to the customer record.Int64
RefRecId
NoCustTable.RecIdNone
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
PriceDiscGroupPrice group that the rule applies to. Points to the price group by system record ID.Int64
PriceDiscTableRefRecId
NoPriceDiscGroup.RecIdNone
PropValue0First criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue1Second criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue2Third criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue3Fourth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue4Fifth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue5Sixth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue6Seventh criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue7Eighth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue8Ninth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
PropValue9Tenth criteria value of the rule.low confidenceString (100)
Criterias
NoRetailPriceGroupApplicabilityRuleEntity
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
RetailAffiliationRefRecIdAffiliation the rule is limited to. Points to an affiliation record.Int64
RefRecId
NoRetailAffiliation.RecIdNone
RetailChannelTableRefRecIdRetail channel the rule is limited to. Points to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdNone
RetailLoyaltyProgramRefRecIdLoyalty program the rule is limited to. Points to an affiliation record.Int64
RefRecId
NoRetailAffiliation.RecIdNone
RetailLoyaltyTierRefRecIdLoyalty program tier the rule is limited to. Points to the tier record.Int64
RefRecId
NoRetailLoyaltyTier.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (7)

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

  • PriceDiscGroup → PriceDiscGroup

    Join on PriceDiscGroup = PriceDiscGroup.RecId

    Many RetailPriceGroupApplicabilityRule records → exactly one PriceDiscGroup record

  • CustTable → CustTable

    Join on CustTableRefRecId = CustTable.RecId

    Many RetailPriceGroupApplicabilityRule records → exactly one CustTable record

  • RetailChannelTable → RetailChannelTable

    Join on RetailChannelTableRefRecId = RetailChannelTable.RecId

    Many RetailPriceGroupApplicabilityRule records → exactly one RetailChannelTable record

  • RetailAffiliation → RetailAffiliation

    Join on RetailAffiliationRefRecId = RetailAffiliation.RecId, RetailAffiliation.AffiliationType = RetailAffiliationType::General

    Many RetailPriceGroupApplicabilityRule records → exactly one RetailAffiliation record

  • RetailLoyaltyTier → RetailLoyaltyTier

    Join on RetailLoyaltyTierRefRecId = RetailLoyaltyTier.RecId

    Many RetailPriceGroupApplicabilityRule records → exactly one RetailLoyaltyTier record

  • RetailAffiliationLoyalty → RetailAffiliation

    Join on RetailLoyaltyProgramRefRecId = RetailAffiliation.RecId, RetailAffiliation.AffiliationType = RetailAffiliationType::Loyalty

    Many RetailPriceGroupApplicabilityRule records → exactly one RetailAffiliation record

  • CustGroup → CustGroup

    Join on CustGroupRefRecId = CustGroup.RecId

    Many RetailPriceGroupApplicabilityRule records → exactly one CustGroup record

Get this data out

Tables are not exposed directly. These public entities read from RetailPriceGroupApplicabilityRule; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk