Table
RetailCreditVoucherChannelTable
Credit memo channel transactions
Holds credit memo (credit voucher) records as seen by retail channels. The key is the credit memo number. Each record shows whether the memo was applied or reserved, and by which store, register, operator and transaction.
- Table name
RetailCreditVoucherChannelTable- Module
Commerce payments- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
typeEntryIdx- Replacement key
None- Key fields
entryId- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
entryIdNumber of the credit memo. It identifies the record. | String (30)RetailCreditVoucherId | No | RetailCreditVoucherChannelTableEntity | |
appliedShows whether the credit memo has been applied (yes or no). | EnumNoYes (enum) | No | RetailCreditVoucherChannelTableEntity | |
appliedAmountAmount applied from the credit memo. | RealRetailappliedAmount | No | RetailCreditVoucherChannelTableEntity | |
appliedByLineNumLine number of the transaction line that applied the credit memo. | RealLineNum | No | RetailCreditVoucherChannelTableEntity | |
appliedByReceiptIdReceipt number of the sale that applied the credit memo. | String (18)RetailReceiptId | No | RetailCreditVoucherChannelTableEntity | |
appliedByStaffIdID of the operator who applied the credit memo. | String (25)RetailStaffId | No | RetailCreditVoucherChannelTableEntity | |
appliedByTerminalIdRegister where the credit memo was applied. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailCreditVoucherChannelTableEntity |
appliedByTransactionIdRetail transaction that applied the credit memo. | String (44)RetailTransactionId | No | RetailCreditVoucherChannelTableEntity | |
appliedDateDate the credit memo was applied. | DateRetailappliedDate | No | RetailCreditVoucherChannelTableEntity | |
appliedInStoreIdStore where the credit memo was applied. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailCreditVoucherChannelTableEntity |
appliedTimeTime of day the credit memo was applied. | TimeRetailappliedTime | No | RetailCreditVoucherChannelTableEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
operationOperation done on the credit memo: none, offline unlock or redeem. | EnumRetailCreditVoucherOperation (enum) | No | RetailCreditVoucherChannelTableEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | RetailCreditVoucherChannelTableEntity | |
reservedShows whether the credit memo is reserved (yes or no). | EnumNoYes (enum) | No | RetailCreditVoucherChannelTableEntity | |
reservedByStoreIdStore that reserved the credit memo. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailCreditVoucherChannelTableEntity |
reservedByTerminalIdRegister that reserved the credit memo. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailCreditVoucherChannelTableEntity |
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 |
Indexes (2)
Relations (5)
Each relation joins RetailCreditVoucherChannelTable to another table on the fields shown.
AppliedRetailTransactionTable→RetailTransactionTableJoin on
appliedByTransactionId = RetailTransactionTable.transactionId,appliedByTerminalId = RetailTransactionTable.terminal,appliedInStoreId = RetailTransactionTable.storeMany RetailCreditVoucherChannelTable records → zero or one RetailTransactionTable record
RetailStoreTable→RetailStoreTableJoin on
reservedByStoreId = RetailStoreTable.StoreNumberMany RetailCreditVoucherChannelTable records → exactly one RetailStoreTable record
RetailStoreTable1→RetailStoreTableJoin on
appliedInStoreId = RetailStoreTable.StoreNumberMany RetailCreditVoucherChannelTable records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
appliedByTerminalId = RetailTerminalTable.terminalIdMany RetailCreditVoucherChannelTable records → exactly one RetailTerminalTable record
RetailTerminalTable2→RetailTerminalTableJoin on
reservedByTerminalId = RetailTerminalTable.terminalIdMany RetailCreditVoucherChannelTable records → exactly one RetailTerminalTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailCreditVoucherChannelTable; use one of them in Power BI, Power Platform or a data management project.
RetailCreditVoucherChannelTableEntity· 16 fields from this table
Need help with RetailCreditVoucherChannelTable in a report, an integration or a migration? Talk to Dr Dynamics.