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· rootRetailChannelTable· OuterJoin toRetailGiftCardTableRetailChannelTable_RetailMCRChannelTable(tableRetailMCRChannelTable) · Derived toRetailChannelTableRetailChannelTable_RetailOnlineChannelTable(tableRetailOnlineChannelTable) · Derived toRetailChannelTableRetailChannelTable_RetailStoreTable(tableRetailStoreTable) · Derived toRetailChannelTableRetailChannelTable_RetailDirectSalesChannel(tableRetailDirectSalesChannel) · Derived toRetailChannelTable
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CurrencyCodeCurrency of the gift card. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | RetailGiftCardTable.currencyCode |
EntryIdNumber of the gift card. It identifies the record. | String (30)RetailGiftCardId | Yes | Yes | RetailGiftCardTable.entryId | |
CallCenterGiftCardTypeKind of gift card: email or physical card. | Enum
| No | Yes | RetailGiftCardTable.MCRGiftCardType | |
ActiveFromDate and time from which the gift card is active. | UtcDateTimeRetailGiftCardActiveFrom | No | Yes | RetailGiftCardTable.ActiveFrom | |
ExpiryDateDate the gift card expires. | DateRetailGiftCardExpireDate | No | Yes | RetailGiftCardTable.ExpiryDate | |
FaceValueFace value of the gift card. | RealRetailGiftCardFaceValue | No | Yes | RetailGiftCardTable.FaceValue | |
MaximumBalanceInAccountingCurrencyHighest balance the card may hold (in accounting currency). | RealRetailGiftCardMaxBalanceMST | No | Yes | RetailGiftCardTable.MaxBalanceMST | |
MinimumReloadInAccountingCurrencySmallest amount allowed when reloading the card (in accounting currency). | RealRetailGiftCardMinReloadMST | No | Yes | RetailGiftCardTable.MinReloadMST | |
NonReloadableYes or no flag that blocks the card from being reloaded. | EnumRetailGiftCardNonReloadable
| No | Yes | RetailGiftCardTable.NonReloadable | |
OneTimeRedemptionYes or no flag for a card that can be redeemed only once. | EnumRetailGiftCardOneTimeRedemption
| No | Yes | RetailGiftCardTable.OneTimeRedemption | |
StatusStatus of the gift card: active, redeemed or expired, or closed. | Enum
| No | Yes | RetailGiftCardTable.Status | |
IsReservedShows whether the gift card is locked (yes or no). | Enum
| No | Yes | RetailGiftCardTable.reserved | |
ReservedByRetailChannelIdentifier of the retail channel. | String (15)RetailChannelId | No | Yes | RetailChannelTable.RetailChannelId | |
ReservedByRetailTerminalRegister that locked the gift card. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailGiftCardTable.reservedByTerminalId |
ReservedByTransactionIdRetail transaction that locked the gift card. | String (44)RetailTransactionId | No | Yes | RetailGiftCardTable.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.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many RetailGiftCardTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ReservedByRetailTerminal→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailGiftCardTable records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailGiftCardEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.