Data entity
RetailGiftCardTransactionsV2Entity
Holds gift card transactions, keyed by gift card number and transaction number. Each record has an amount, an operation, a date, a receipt number, an operator ID, a register number and an invoice account. It links to the retail channel and store.
- Entity name
RetailGiftCardTransactionsV2Entity- Public entity name
GiftCardTransactionV2- OData collection
GiftCardTransactionsV2- Category
Transaction- Module
Retail- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
CardNumber, TransactionNumber- Staging table
RetailGiftCardTransactionsV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/GiftCardTransactionsV2- Dataverse virtual table
mserp_retailgiftcardtransactionsv2entity. 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
RetailGiftCardTransactions· rootRetailChannelTable· OuterJoin toRetailGiftCardTransactions· read-onlyRetailStoreTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTable
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount of the gift card operation (in accounting currency). | RealAmountMST | Yes | Yes | RetailGiftCardTransactions.amount | |
CardNumberNumber of the gift card. | String (30)RetailGiftCardId | Yes | Yes | RetailGiftCardTable.entryId | RetailGiftCardTransactions.cardNumber |
ChannelRetail channel where the operation took place. | Int64RetailChannelRecId | No | No (private) | RetailChannelTable.RecId | RetailGiftCardTransactions.Channel |
InvoiceAccountCustomer account used for invoicing. | String (20)CustInvoiceAccount | No | Yes | CustTable.AccountNum | RetailGiftCardTransactions.MCRInvoiceAccount |
OperationKind of gift card operation, for example issue, redeem, refund, void or close. | Enum
| Yes | Yes | RetailGiftCardTransactions.operation | |
ReceiptIdReceipt number linked to the operation. | String (18)RetailReceiptId | No | Yes | RetailGiftCardTransactions.receiptId | |
StaffID of the operator who did the operation. | String (25)RetailStaffId | No | Yes | RetailGiftCardTransactions.staffId | |
TerminalNumberRegister where the operation took place. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailGiftCardTransactions.terminalId |
TransactionNumberRetail transaction number of the operation. | String (44)RetailTransactionId | No | Yes | RetailGiftCardTransactions.transactionId | |
TransactionDateDate of the operation. | DateRetailtransDate | No | Yes | RetailGiftCardTransactions.transDate | |
RetailChannelTable_RetailChannelIdIdentifier of the retail channel. | String (15)RetailChannelId | No | Yes | RetailChannelTable.RetailChannelId |
Foreign keys (4)
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.
CardNumber→RetailGiftCardTable.entryId(key of RetailGiftCardTable)Many RetailGiftCardTransactions records → exactly one RetailGiftCardTable record
RetailGiftCardTable details: see RetailGiftCardEntity, MCRContinuityCustomerPaymentEntity, MCRCustomerCreditPaymentEntity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailGiftCardTransactions records → exactly one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
InvoiceAccount→CustTable.AccountNum(key of CustTable)Many RetailGiftCardTransactions records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
TerminalNumber→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailGiftCardTransactions records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailGiftCardTransactionsV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.