Table
RetailGiftCardChannelTransactions
Gift card channel transactions
Records gift card operations seen by retail channels, such as issue, redeem, add to, refund, adjust, void and close. The key combines gift card number, transaction number, operation, date and time. Each record also shows the channel, register, operator and receipt.
- Table name
RetailGiftCardChannelTransactions- Module
Commerce payments- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
cardNumberIdx- Replacement key
None- Key fields
cardNumber, transactionId, operation, transDate, transTime- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
cardNumberNumber of the gift card. | String (30)RetailGiftCardId | Yes | RetailGiftCardTable.entryId | RetailGiftCardChannelTransactionsEntity |
transactionIdRetail transaction number of the operation. | String (44)RetailTransactionId | No | RetailGiftCardChannelTransactionsEntity | |
operationKind of gift card operation, for example issue, redeem, refund, void or close. | EnumRetailGiftCardOperation (enum) | Yes | RetailGiftCardChannelTransactionsEntity | |
transDateDate of the operation. | DateRetailtransDate | No | RetailGiftCardChannelTransactionsEntity | |
transTimeTime of day of the operation. | TimeRetailTransTime | No | RetailGiftCardChannelTransactionsEntity | |
amountAmount of the gift card operation (in accounting currency). | RealAmountMST | Yes | RetailGiftCardChannelTransactionsEntity | |
ChannelRetail channel where the operation took place. | Int64RetailChannelRecId | No | RetailChannelTable.RecId | RetailGiftCardChannelTransactionsEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
receiptIdReceipt number linked to the operation. | String (18)RetailReceiptId | No | RetailGiftCardChannelTransactionsEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterFromOriginCounter value used to track replication of the record from its origin. | IntegerRetailReplicationCounter | No | RetailGiftCardChannelTransactionsEntity | |
staffIdID of the operator who did the operation. | String (25)RetailStaffId | No | RetailGiftCardChannelTransactionsEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
terminalIdRegister where the operation took place. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailGiftCardChannelTransactionsEntity |
Indexes (1)
cardNumberIdxPrimary indexcardNumber,transactionId,operation,transDate,transTimeUnique.
Relations (3)
Each relation joins RetailGiftCardChannelTransactions to another table on the fields shown.
cardNumber→RetailGiftCardTableJoin on
cardNumber = RetailGiftCardTable.entryIdMany RetailGiftCardChannelTransactions records → exactly one RetailGiftCardTable record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailGiftCardChannelTransactions records → exactly one RetailChannelTable record
RetailTerminalTable→RetailTerminalTableJoin on
terminalId = RetailTerminalTable.terminalIdMany RetailGiftCardChannelTransactions records → exactly one RetailTerminalTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailGiftCardChannelTransactions; use one of them in Power BI, Power Platform or a data management project.
RetailGiftCardChannelTransactionsEntity· 11 fields from this table
Need help with RetailGiftCardChannelTransactions in a report, an integration or a migration? Talk to Dr Dynamics.