Data entity

RetailGiftCardEntity

Holds gift cards, keyed by entry ID. Each row has the card number, type, currency, face value, status and lock flag. It also has activation and expiration dates, a maximum balance, a minimum reload amount, reload and one-time redemption flags, and the channel, register and transaction number.

Entity name
RetailGiftCardEntity
Public entity name
RetailGiftCard
OData collection
RetailGiftCards
Category
Not set
Module
Payments
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
EntryId
Staging table
RetailGiftCardStaging

Use it in Power BI and Power Platform

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

  • RetailGiftCardTable · root
  • RetailChannelTable · OuterJoin to RetailGiftCardTable
  • RetailChannelTable_RetailMCRChannelTable (table RetailMCRChannelTable) · Derived to RetailChannelTable
  • RetailChannelTable_RetailOnlineChannelTable (table RetailOnlineChannelTable) · Derived to RetailChannelTable
  • RetailChannelTable_RetailStoreTable (table RetailStoreTable) · Derived to RetailChannelTable
  • RetailChannelTable_RetailDirectSalesChannel (table RetailDirectSalesChannel) · Derived to RetailChannelTable

Fields (15)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CurrencyCodeCurrency of the gift card.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeRetailGiftCardTable.currencyCode
EntryIdNumber of the gift card. It identifies the record.String (30)
RetailGiftCardId
YesYesRetailGiftCardTable.entryId
CallCenterGiftCardTypeKind of gift card: email or physical card.Enum
MCRGiftCardType
  • Email 0
  • Physical 1
NoYesRetailGiftCardTable.MCRGiftCardType
ActiveFromDate and time from which the gift card is active.UtcDateTime
RetailGiftCardActiveFrom
NoYesRetailGiftCardTable.ActiveFrom
ExpiryDateDate the gift card expires.Date
RetailGiftCardExpireDate
NoYesRetailGiftCardTable.ExpiryDate
FaceValueFace value of the gift card.Real
RetailGiftCardFaceValue
NoYesRetailGiftCardTable.FaceValue
MaximumBalanceInAccountingCurrencyHighest balance the card may hold (in accounting currency).Real
RetailGiftCardMaxBalanceMST
NoYesRetailGiftCardTable.MaxBalanceMST
MinimumReloadInAccountingCurrencySmallest amount allowed when reloading the card (in accounting currency).Real
RetailGiftCardMinReloadMST
NoYesRetailGiftCardTable.MinReloadMST
NonReloadableYes or no flag that blocks the card from being reloaded.Enum
RetailGiftCardNonReloadable
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailGiftCardTable.NonReloadable
OneTimeRedemptionYes or no flag for a card that can be redeemed only once.Enum
RetailGiftCardOneTimeRedemption
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailGiftCardTable.OneTimeRedemption
StatusStatus of the gift card: active, redeemed or expired, or closed.Enum
RetailGiftCardStatus
  • Active 0
  • Expired 1
  • Closed 2
NoYesRetailGiftCardTable.Status
IsReservedShows whether the gift card is locked (yes or no).Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailGiftCardTable.reserved
ReservedByRetailChannelIdentifier of the retail channel.String (15)
RetailChannelId
NoYesRetailChannelTable.RetailChannelId
ReservedByRetailTerminalRegister that locked the gift card.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailGiftCardTable.reservedByTerminalId
ReservedByTransactionIdRetail transaction that locked the gift card.String (44)
RetailTransactionId
NoYesRetailGiftCardTable.ReservedByTransactionId

Foreign keys (2)

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 RetailGiftCardEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk