Table

RetailLoyaltyConflictCard

Loyalty card

Holds loyalty cards that are marked as conflicting. Each record links a card number to a loyalty program and to a customer in the global address book. It also stores a replacement card number and a flag showing whether the record has been migrated. The table has no defined key.

Table name
RetailLoyaltyConflictCard
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 (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AffiliationPoints to the loyalty program the card belongs to.Int64
RefRecId
NoRetailAffiliation.RecIdNone
CardNumberThe number of the loyalty card.String (30)
RetailLoyaltyCardNumber
YesNone
CardTenderTypeShows how the card is treated as a tender, for example as card tender, as contact tender, no tender or blocked.Enum
RetailLoyaltyTenderType
RetailLoyaltyTenderTypeBase (enum)
YesNone
CompanyThe company (legal entity) the record belongs to.String
DataAreaId
NoNone
IsMigratedYes/No flag showing whether the record has been migrated.Enum
NoYes (enum)
NoNone
NewCardNumberA second card number held on the record, apparently the new number for the card.low confidenceString (30)
RetailLoyaltyCardNumber
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyPoints to the customer in the global address book who holds the card.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (2)

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

  • DirPartyTable → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many RetailLoyaltyConflictCard records → zero or one DirPartyTable record

  • RetailAffiliation → RetailAffiliation

    Join on Affiliation = RetailAffiliation.RecId

    Many RetailLoyaltyConflictCard records → zero or one RetailAffiliation record

Get this data out

No public entity reads from RetailLoyaltyConflictCard. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk