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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
GuidIdUnique GUID that identifies the rule. It is the table key. | GuidSysGuid | No | RetailPriceGroupApplicabilityRuleEntity | |
CustGroupRefRecIdCustomer group the rule is limited to. Points to the customer group record. | Int64RefRecId | No | CustGroup.RecId | None |
CustTableRefRecIdCustomer the rule is limited to. Points to the customer record. | Int64RefRecId | No | CustTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceDiscGroupPrice group that the rule applies to. Points to the price group by system record ID. | Int64PriceDiscTableRefRecId | No | PriceDiscGroup.RecId | None |
PropValue0First criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue1Second criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue2Third criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue3Fourth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue4Fifth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue5Sixth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue6Seventh criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue7Eighth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue8Ninth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
PropValue9Tenth criteria value of the rule.low confidence | String (100)Criterias | No | RetailPriceGroupApplicabilityRuleEntity | |
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 | |
RetailAffiliationRefRecIdAffiliation the rule is limited to. Points to an affiliation record. | Int64RefRecId | No | RetailAffiliation.RecId | None |
RetailChannelTableRefRecIdRetail channel the rule is limited to. Points to the channel record. | Int64RefRecId | No | RetailChannelTable.RecId | None |
RetailLoyaltyProgramRefRecIdLoyalty program the rule is limited to. Points to an affiliation record. | Int64RefRecId | No | RetailAffiliation.RecId | None |
RetailLoyaltyTierRefRecIdLoyalty program tier the rule is limited to. Points to the tier record. | Int64RefRecId | No | RetailLoyaltyTier.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PropValueIndexPropValue0,PropValue1,PropValue2,PriceDiscGroupNot unique.
GuidIdIndexReplacement keyUnique, alternate key.
Relations (7)
Each relation joins RetailPriceGroupApplicabilityRule to another table on the fields shown.
PriceDiscGroup→PriceDiscGroupJoin on
PriceDiscGroup = PriceDiscGroup.RecIdMany RetailPriceGroupApplicabilityRule records → exactly one PriceDiscGroup record
CustTable→CustTableJoin on
CustTableRefRecId = CustTable.RecIdMany RetailPriceGroupApplicabilityRule records → exactly one CustTable record
RetailChannelTable→RetailChannelTableJoin on
RetailChannelTableRefRecId = RetailChannelTable.RecIdMany RetailPriceGroupApplicabilityRule records → exactly one RetailChannelTable record
RetailAffiliation→RetailAffiliationJoin on
RetailAffiliationRefRecId = RetailAffiliation.RecId,RetailAffiliation.AffiliationType = RetailAffiliationType::GeneralMany RetailPriceGroupApplicabilityRule records → exactly one RetailAffiliation record
RetailLoyaltyTier→RetailLoyaltyTierJoin on
RetailLoyaltyTierRefRecId = RetailLoyaltyTier.RecIdMany RetailPriceGroupApplicabilityRule records → exactly one RetailLoyaltyTier record
RetailAffiliationLoyalty→RetailAffiliationJoin on
RetailLoyaltyProgramRefRecId = RetailAffiliation.RecId,RetailAffiliation.AffiliationType = RetailAffiliationType::LoyaltyMany RetailPriceGroupApplicabilityRule records → exactly one RetailAffiliation record
CustGroup→CustGroupJoin on
CustGroupRefRecId = CustGroup.RecIdMany 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.
RetailPriceGroupApplicabilityRuleEntity· 11 fields from this table
Need help with RetailPriceGroupApplicabilityRule in a report, an integration or a migration? Talk to Dr Dynamics.