Table
RetailLoyaltyTier
Loyalty tier
Defines tiers within a loyalty program. Each tier has an ID, a level number and a date interval. It links to the loyalty program and to a retail date interval. It has no defined key in the metadata.
- Table name
RetailLoyaltyTier- 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 (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program. | Int64RefRecId | Yes | RetailAffiliation.RecId | RetailLoyaltyTierEntityRetailLoyaltyCardRewardPointTransactionV2EntityRetailLoyaltyCardTierV2Entityand 11 more |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
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 | |
TierIdIdentifier or name of the tier. | String (64)RetailAffiliationTierId | Yes | RetailLoyaltyTierEntityRetailLoyaltyCardRewardPointTransactionV2EntityRetailLoyaltyCardTierV2Entityand 12 more | |
TierLevelNumeric level of the tier. | RealRetailLoyaltyTierLevelNum | Yes | RetailLoyaltyTierEntity | |
ValidDateIntervalDate interval code for the tier. It points to a retail date interval. | StringDateCode | Yes | RetailPeriodCode.Code | RetailLoyaltyTierEntity |
Indexes (2)
TierIdIdxUnique, alternate key.
TierLevelIdxUnique.
Relations (2)
Each relation joins RetailLoyaltyTier to another table on the fields shown.
DateInterval→RetailPeriodCodeJoin on
ValidDateInterval = RetailPeriodCode.CodeMany RetailLoyaltyTier records → exactly one RetailPeriodCode record
RetailAffiliation→RetailAffiliationJoin on
Affiliation = RetailAffiliation.RecIdMany RetailLoyaltyTier records → exactly one RetailAffiliation record
Get this data out
Tables are not exposed directly. These public entities read from RetailLoyaltyTier; use one of them in Power BI, Power Platform or a data management project.
RetailLoyaltyTierEntity· 4 fields from this tableRetailLoyaltyCardRewardPointTransactionV2Entity· 2 fields from this tableRetailLoyaltyCardTierV2Entity· 2 fields from this tableRetailLoyaltyCardRewardPointTransactionEntity· 2 fields from this tableRetailLoyaltyCardTierEntity· 2 fields from this tableRetailLoyaltyEarnSchemeLineEntity· 2 fields from this tableRetailLoyaltyRedeemSchemeLineEntity· 2 fields from this tableRetailLoyaltyTierPriceGroupEntity· 2 fields from this tableRetailLoyaltyTierRuleEntity· 2 fields from this tableRetailLoyaltyTierTranslationEntity· 2 fields from this tableRetailPriceGroupApplicabilityRuleEntity· 1 field from this tableRetailTransactionAffiliationTransEntity· 2 fields from this tableRetailTransactionLoyaltyLineEntity· 2 fields from this tableRetailTransactionLoyaltyRewardPointsLineEntity· 2 fields from this tableRetailTransactionLoyaltyRewardPointTransEntity· 2 fields from this table
Need help with RetailLoyaltyTier in a report, an integration or a migration? Talk to Dr Dynamics.