Table

RetailAffiliation

Loyalty program

Lists loyalty programs and other customer affiliations, identified by name. Each record has a type (general or loyalty). Other records, such as loyalty tiers, point to it.

Table name
RetailAffiliation
Module
Commerce customers
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
AffiliationIdx
Key fields
Name
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the affiliation or loyalty program. It is the key.String (64)
RetailAffiliationName
YesRetailAffiliationEntityRetailLoyaltyEntityRetailLoyaltyCardRewardPointNonTransactionalActivityV2Entityand 33 more
AffiliationTypeType of affiliation: general or loyalty.Enum
RetailAffiliationType (enum)
YesRetailLoyaltyCardTierV2EntityRetailLoyaltyCardTierEntity
HideInChannelsWhether the program is hidden in channels (No or Yes).Enum
RetailHideInChannelsEdt
NoYesCombo (enum)
NoRetailAffiliationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PoolRelatedCardsYes/No option to combine related loyalty cards.Enum
RetailLoyaltyPoolRelatedCards
NoYes (enum)
NoRetailLoyaltyEntity
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

Indexes (1)

  • AffiliationIdxReplacement key

    Name

    Unique, alternate key.

Get this data out

Tables are not exposed directly. These public entities read from RetailAffiliation; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk