Data entity

RetailLoyaltyCardEntity

Holds loyalty cards, keyed by card number. Each card has a card type, a link to a party and enrollment details such as date, time and operating unit. It joins to party and operating unit tables for names.

Entity name
RetailLoyaltyCardEntity
Public entity name
RetailLoyaltyCard
OData collection
RetailLoyaltyCards
Category
Not set
Module
Commerce customers
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
CardNumber
Staging table
RetailLoyaltyCardStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailLoyaltyCards
Dataverse virtual table
mserp_retailloyaltycardentity. 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

  • RetailLoyaltyCard · root
  • DirPartyTable · OuterJoin to RetailLoyaltyCard · read-only
  • DirOrganizationBase · Derived to DirPartyTable
  • DirOrganization · Derived to DirOrganizationBase
  • OMInternalOrganization · Derived to DirOrganizationBase
  • CompanyInfo · Derived to OMInternalOrganization
  • OMOperatingUnit · Derived to OMInternalOrganization
  • OMTeam · Derived to OMInternalOrganization
  • DirPerson · Derived to DirPartyTable
  • RetailLoyaltyCard1 (table RetailLoyaltyCard) · OuterJoin to RetailLoyaltyCard · read-only
  • OmOperatingUnit1 (table OmOperatingUnit) · OuterJoin to RetailLoyaltyCard · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CardNumberThe number that identifies the loyalty card.String (30)
RetailLoyaltyCardNumber
YesYesRetailLoyaltyCard.CardNumber
CardTenderTypeThe card type, such as As card tender, As contact tender, No tender or Blocked.Enum
RetailLoyaltyTenderType
RetailLoyaltyTenderTypeBase
  • AsCardTender 0
  • AsContactTender 1
  • NoTender 2
  • Blocked 3
YesYesRetailLoyaltyCard.CardTenderType
PartyPoints to the customer or party in the global address book who holds the card.Int64
DirPartyRecId
NoNo (private)DirPartyTable.RecIdRetailLoyaltyCard.Party
ReplacementCardPoints to another loyalty card that replaces this one.Int64
RefRecId
NoNo (private)RetailLoyaltyCard.RecIdRetailLoyaltyCard.ReplacementCard
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
ReplacementCardNumberThe number that identifies the loyalty card.String (30)
RetailLoyaltyCardNumber
NoYesRetailLoyaltyCard.CardNumber
OMOperatingUnitIdPoints to the operating unit where the customer enrolled, shown as the enrolment source.Int64
OMOperatingUnitRefRecId
NoNo (private)OMOperatingUnit.RecIdRetailLoyaltyCard.OMOperatingUnitId
LoyaltyEnrollmentDateThe date the card was enrolled.Date
ValidFromDate
NoYesRetailLoyaltyCard.LoyaltyEnrollmentDate
OmOperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
NoYesOMOperatingUnit.OMOperatingUnitNumber
LoyaltyEnrollmentTimeThe time of day the card was enrolled.Time
RetailLoyaltyEnrollmentTime
NoYesRetailLoyaltyCard.LoyaltyEnrollmentTime
LoyaltyEnrollmentDateLocalThe enrolment date in local time.Date
ValidFromDate
NoYesRetailLoyaltyCard.LoyaltyEnrollmentDateLocal
LoyaltyEnrollmentTimeLocalThe enrolment time in local time.Time
RetailLoyaltyEnrollmentTime
NoYesRetailLoyaltyCard.LoyaltyEnrollmentTimeLocal

Foreign keys (3)

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.

Need help with RetailLoyaltyCardEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk