Data entity
RetailLoyaltyTierRuleEntity
Holds the rules for a loyalty tier. Each rule is tied to a programme, a tier, a reward point and an evaluation date interval. Fields include minimum issued points, a threshold, whether related loyalty cards are combined, and a loyalty upsell prompt.
- Entity name
RetailLoyaltyTierRuleEntity- Public entity name
RetailLoyaltyTierRule- OData collection
RetailLoyaltyTierRules- Category
Not set- Module
Commerce customers- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
LoyaltyName, LoyaltyTierId, RewardPointId, EvaluationDateInterval- Staging table
RetailLoyaltyTierRuleStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailLoyaltyTierRules- Dataverse virtual table
mserp_retailloyaltytierruleentity. 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
RetailLoyaltyTierRule· rootRetailLoyaltyRewardPoint· InnerJoin toRetailLoyaltyTierRule· read-onlyRetailLoyaltyTier· OuterJoin toRetailLoyaltyTierRule· read-onlyRetailAffiliation· OuterJoin toRetailLoyaltyTier· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LoyaltyTierPoints to the loyalty tier that the rule belongs to. | Int64RefRecId | No | No (private) | RetailLoyaltyTier.RecId | RetailLoyaltyTierRule.LoyaltyTier |
MinValueMinimum number of issued points set in the rule. | RealRetailLoyaltyRewardPointAmountQty | No | Yes | RetailLoyaltyTierRule.MinValue | |
PoolRelatedCardsYes/no setting for combining related loyalty cards. | EnumRetailLoyaltyPoolRelatedCards
| No | Yes | RetailLoyaltyTierRule.PoolRelatedCards | |
RewardPointPoints to the loyalty reward point that the rule uses. | Int64RefRecId | No | No (private) | RetailLoyaltyRewardPoint.RecId | RetailLoyaltyTierRule.RewardPoint |
EvaluationDateIntervalCode of the date interval used to evaluate the rule. | StringDateCode | Yes | Yes | RetailPeriodCode.Code | RetailLoyaltyTierRule.ValidationDateInterval |
RewardPointIdIdentifier of the reward point. It is the key. | String (64)RetailLoyaltyRewardPointID | Yes | Yes | RetailLoyaltyRewardPoint.RewardPointId | |
AffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program. | Int64RefRecId | No | No (private) | RetailAffiliation.RecId | RetailLoyaltyTier.Affiliation |
LoyaltyTierIdIdentifier or name of the tier. | String (64)RetailAffiliationTierId | Yes | Yes | RetailLoyaltyTier.TierId | |
LoyaltyNameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name | |
ShowUpsellPromptYes/no setting for showing a loyalty upsell prompt. | Enum
| No | Yes | RetailLoyaltyTierRule.ShowUpsellPrompt | |
ThresholdThreshold value for the upsell prompt. | RealRetailLoyaltyTierRuleThreshold | No | Yes | RetailLoyaltyTierRule.Threshold |
Foreign keys (4)
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.
LoyaltyTier→RetailLoyaltyTier.RecId(key of RetailLoyaltyTier)Many RetailLoyaltyTierRule records → exactly one RetailLoyaltyTier record
RetailLoyaltyTier details: see RetailLoyaltyTierEntity, RetailLoyaltyCardRewardPointTransactionEntity, RetailLoyaltyCardRewardPointTransactionV2Entity
RewardPoint→RetailLoyaltyRewardPoint.RecId(key of RetailLoyaltyRewardPoint)Many RetailLoyaltyTierRule records → exactly one RetailLoyaltyRewardPoint record
RetailLoyaltyRewardPoint details: see RetailLoyaltyRewardPointEntity, RetailLoyaltyCardRewardPointAdjustmentEntity, RetailLoyaltyCardRewardPointTransactionEntity
EvaluationDateInterval→RetailPeriodCode.Code(key of RetailPeriodCode)Many RetailLoyaltyTierRule records → exactly one RetailPeriodCode record
RetailPeriodCode details: see RetailPeriodCodeEntity
Affiliation→RetailAffiliation.RecId(key of RetailAffiliation)Many RetailLoyaltyTier records → exactly one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierEntity, RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity
Need help with RetailLoyaltyTierRuleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.