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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AffiliationRecord ID of the loyalty program the tier belongs to. It points to a loyalty program.Int64
RefRecId
YesRetailAffiliation.RecIdRetailLoyaltyTierEntityRetailLoyaltyCardRewardPointTransactionV2EntityRetailLoyaltyCardTierV2Entityand 11 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TierIdIdentifier or name of the tier.String (64)
RetailAffiliationTierId
YesRetailLoyaltyTierEntityRetailLoyaltyCardRewardPointTransactionV2EntityRetailLoyaltyCardTierV2Entityand 12 more
TierLevelNumeric level of the tier.Real
RetailLoyaltyTierLevelNum
YesRetailLoyaltyTierEntity
ValidDateIntervalDate interval code for the tier. It points to a retail date interval.String
DateCode
YesRetailPeriodCode.CodeRetailLoyaltyTierEntity

Indexes (2)

Relations (2)

Each relation joins RetailLoyaltyTier to another table on the fields shown.

  • DateInterval → RetailPeriodCode

    Join on ValidDateInterval = RetailPeriodCode.Code

    Many RetailLoyaltyTier records → exactly one RetailPeriodCode record

  • RetailAffiliation → RetailAffiliation

    Join on Affiliation = RetailAffiliation.RecId

    Many 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.

Need help with RetailLoyaltyTier in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk