Data entity
RetailLoyaltyCardTierEntity
Records which loyalty tier a loyalty card holds in a loyalty program, and for what period. The key includes the card, the tier, the start and end dates and the program name. It joins to the program, card and tier tables.
- Entity name
RetailLoyaltyCardTierEntity- Public entity name
RetailLoyaltyCardTier- OData collection
RetailLoyaltyCardTiers- Category
Not set- Module
Commerce customers- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
LoyaltyCard, LoyaltyTier, ValidFrom, ValidTo, LoyaltyProgramName- Staging table
RetailLoyaltyCardTierStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailLoyaltyCardTiers- Dataverse virtual table
mserp_retailloyaltycardtierentity. 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
RetailLoyaltyCardTier· rootRetailAffiliation· InnerJoin toRetailLoyaltyCardTier· read-onlyRetailLoyaltyCard· InnerJoin toRetailLoyaltyCardTier· read-onlyRetailLoyaltyTier· OuterJoin toRetailLoyaltyCardTier· read-onlyRetailAffiliation1(tableRetailAffiliation) · InnerJoin toRetailLoyaltyTier· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AffiliationPoints to the loyalty program. | Int64RefRecId | Yes | Yes | RetailAffiliation.RecId | RetailLoyaltyCardTier.Affiliation |
LoyaltyCardPoints to the loyalty card. | Int64RefRecId | Yes | Yes | RetailLoyaltyCard.RecId | RetailLoyaltyCardTier.LoyaltyCard |
LoyaltyTierPoints to the program tier assigned to the card. | Int64RefRecId | No | Yes | RetailLoyaltyTier.RecId | RetailLoyaltyCardTier.LoyaltyTier |
ValidFromThe date the tier starts to apply. | DateValidFromDate | No | Yes | RetailLoyaltyCardTier.ValidFrom | |
ValidToThe date the tier stops applying. | DateValidToDate | No | Yes | RetailLoyaltyCardTier.ValidTo | |
AffiliationTypeType of affiliation: general or loyalty. | Enum
| Yes | No (private) | RetailAffiliation.AffiliationType | |
LoyaltyProgramNameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name | |
LoyaltyCardNumberThe number that identifies the loyalty card. | String (30)RetailLoyaltyCardNumber | Yes | Yes | RetailLoyaltyCard.CardNumber | |
LoyaltyTierAffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program. | Int64RefRecId | Yes | No (private) | RetailAffiliation.RecId | RetailLoyaltyTier.Affiliation |
LoyaltyTierIdIdentifier or name of the tier. | String (64)RetailAffiliationTierId | Yes | Yes | RetailLoyaltyTier.TierId | |
LoyaltyTierAffiliationNameName of the affiliation or loyalty program. It is the key. | String (64)RetailAffiliationName | Yes | Yes | RetailAffiliation.Name |
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.
Affiliation→RetailAffiliation.RecId(key of RetailAffiliation)Relation also requires RetailAffiliation.AffiliationType = RetailAffiliationType::Loyalty.
Many RetailLoyaltyCardTier records → exactly one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity, RetailLoyaltyCardRewardPointTransactionEntity
LoyaltyCard→RetailLoyaltyCard.RecId(key of RetailLoyaltyCard)Many RetailLoyaltyCardTier records → exactly one RetailLoyaltyCard record
RetailLoyaltyCard details: see RetailLoyaltyCardEntity, RetailLoyaltyCardRewardPointAdjustmentEntity, RetailLoyaltyCardTierV2Entity
LoyaltyTier→RetailLoyaltyTier.RecId(key of RetailLoyaltyTier)Many RetailLoyaltyCardTier records → exactly one RetailLoyaltyTier record
RetailLoyaltyTier details: see RetailLoyaltyTierEntity, RetailLoyaltyCardRewardPointTransactionEntity, RetailLoyaltyCardRewardPointTransactionV2Entity
LoyaltyTierAffiliation→RetailAffiliation.RecId(key of RetailAffiliation)Many RetailLoyaltyTier records → exactly one RetailAffiliation record
RetailAffiliation details: see RetailLoyaltyCardTierV2Entity, RetailAffiliationEntity, RetailLoyaltyCardRewardPointTransactionEntity
Need help with RetailLoyaltyCardTierEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.