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 · root
  • RetailChannelTable · OuterJoin to RetailGiftCardTransactions · read-only
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount of the gift card operation (in accounting currency).Real
AmountMST
YesYesRetailGiftCardTransactions.amount
CardNumberNumber of the gift card.String (30)
RetailGiftCardId
YesYesRetailGiftCardTable.entryIdRetailGiftCardTransactions.cardNumber
ChannelRetail channel where the operation took place.Int64
RetailChannelRecId
NoNo (private)RetailChannelTable.RecIdRetailGiftCardTransactions.Channel
InvoiceAccountCustomer account used for invoicing.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumRetailGiftCardTransactions.MCRInvoiceAccount
OperationKind of gift card operation, for example issue, redeem, refund, void or close.Enum
RetailGiftCardOperation
  • None 0
  • Issue 1
  • Redeem 2
  • AddTo 3
  • Refund 4
  • Adjust 5
  • MCRVoid 6
  • Close 7
  • ManualUnlock 8
  • OfflineUnlock 9
  • VoidIssue 10
  • CashOut 11
YesYesRetailGiftCardTransactions.operation
ReceiptIdReceipt number linked to the operation.String (18)
RetailReceiptId
NoYesRetailGiftCardTransactions.receiptId
StaffID of the operator who did the operation.String (25)
RetailStaffId
NoYesRetailGiftCardTransactions.staffId
TerminalNumberRegister where the operation took place.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailGiftCardTransactions.terminalId
TransactionNumberRetail transaction number of the operation.String (44)
RetailTransactionId
NoYesRetailGiftCardTransactions.transactionId
TransactionDateDate of the operation.Date
RetailtransDate
NoYesRetailGiftCardTransactions.transDate
RetailChannelTable_RetailChannelIdIdentifier of the retail channel.String (15)
RetailChannelId
NoYesRetailChannelTable.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.

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

Email sales@drdynamics.co.uk