Data entity
RetailGiftCardTransactionsEntity
Holds transactions made on gift cards. Each row is identified by a card number and a transaction ID. It includes the amount, operation, date, invoice account, receipt number, operator, register, transaction number and retail channel.
- Entity name
RetailGiftCardTransactionsEntity- Public entity name
RetailGiftCardTransactions- OData collection
RetailGiftCardTransactions- Category
Transaction- Module
Payments- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
CardNumber, TransactionId- Staging table
RetailGiftCardTransactionsStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailGiftCardTransactions- Dataverse virtual table
mserp_retailgiftcardtransactionsentity. 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 |
MCRInvoiceAccountCustomer 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 | |
StaffIdID of the operator who did the operation. | String (25)RetailStaffId | No | Yes | RetailGiftCardTransactions.staffId | |
TerminalIdRegister where the operation took place. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailGiftCardTransactions.terminalId |
TransactionIdRetail 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
MCRInvoiceAccount→CustTable.AccountNum(key of CustTable)Many RetailGiftCardTransactions records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailGiftCardTransactions records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailGiftCardTransactionsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.