Table
RetailLoyaltyTierRule
Retail loyalty tier rules
Holds rules for a loyalty tier. Each rule refers to a tier and a reward point type. It includes a minimum number of issued points, an evaluation date interval, a setting to combine related cards, and upsell prompt settings.
- Table name
RetailLoyaltyTierRule- Module
Commerce customers- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LoyaltyTierPoints to the loyalty tier that the rule belongs to. | Int64RefRecId | Yes | RetailLoyaltyTier.RecId | RetailLoyaltyTierRuleEntity |
MinValueMinimum number of issued points set in the rule. | RealRetailLoyaltyRewardPointAmountQty | No | RetailLoyaltyTierRuleEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PoolRelatedCardsYes/no setting for combining related loyalty cards. | EnumRetailLoyaltyPoolRelatedCardsNoYes (enum) | No | RetailLoyaltyTierRuleEntity | |
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 | |
RewardPointPoints to the loyalty reward point that the rule uses. | Int64RefRecId | Yes | RetailLoyaltyRewardPoint.RecId | RetailLoyaltyTierRuleEntity |
ShowUpsellPromptYes/no setting for showing a loyalty upsell prompt. | EnumNoYes (enum) | No | RetailLoyaltyTierRuleEntity | |
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 | |
ThresholdThreshold value for the upsell prompt. | RealRetailLoyaltyTierRuleThreshold | No | RetailLoyaltyTierRuleEntity | |
ValidationDateIntervalCode of the date interval used to evaluate the rule. | StringDateCode | Yes | RetailPeriodCode.Code | RetailLoyaltyTierRuleEntity |
Indexes (1)
GroupTierNot unique.
Relations (3)
Each relation joins RetailLoyaltyTierRule to another table on the fields shown.
RetailLoyaltyRewardPoint→RetailLoyaltyRewardPointJoin on
RewardPoint = RetailLoyaltyRewardPoint.RecIdMany RetailLoyaltyTierRule records → exactly one RetailLoyaltyRewardPoint record
RetailLoyaltyTier→RetailLoyaltyTierJoin on
LoyaltyTier = RetailLoyaltyTier.RecIdMany RetailLoyaltyTierRule records → exactly one RetailLoyaltyTier record
RetailPeriodCode→RetailPeriodCodeJoin on
ValidationDateInterval = RetailPeriodCode.CodeMany RetailLoyaltyTierRule records → exactly one RetailPeriodCode record
Get this data out
Tables are not exposed directly. These public entities read from RetailLoyaltyTierRule; use one of them in Power BI, Power Platform or a data management project.
RetailLoyaltyTierRuleEntity· 7 fields from this table
Need help with RetailLoyaltyTierRule in a report, an integration or a migration? Talk to Dr Dynamics.