Table
RetailTransactionTenderDeclarationTransHistory
Archived tender declaration transactions
Archived tender declaration records from retail transactions. Each row relates to a store, register, shift and payment method. It holds amounts in transaction and accounting currency, exchange rates, and statement details. It has no defined key.
- Table name
RetailTransactionTenderDeclarationTransHistory- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
amountCurAmount in the transaction currency. | RealAmountCur | No | None | |
amountMSTAmount in the accounting currency. | RealAmountMST | No | None | |
amountTenderedAmount the customer handed over as tender. | RealRetailAmountTendered | No | None | |
businessDateBusiness date of the transaction. | DateRetailBusinessDate | No | None | |
cardIdIdentifier of the card type used. | StringRetailCardTypeId | No | None | |
ChannelReference to a channel record, held as a system record ID.low confidence | Int64RefRecId | No | None | |
currencyCurrency code of the declared amount. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
exchRateExchange rate applied to the amount. | RealExchRate | No | None | |
exchRateMSTExchange rate linked to the accounting currency.low confidence | RealExchRate | No | None | |
lineNumLine number of the record within the transaction. | RealLineNum | No | None | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
POSCurrencyCurrency code of the point of sale. | String (3)CurrencyCode | No | None | |
qtyQuantity on the declaration line. | RealQty | No | None | |
receiptIdNumber of the receipt. | String (18)RetailReceiptId | 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 | |
replicatedYes/No flag showing whether the record has been replicated. | EnumRetailReplicatedNoYes (enum) | No | None | |
replicationCounterFromOriginCounter value used to track replication of the record from its origin location. | IntegerRetailReplicationCounter | No | None | |
shiftIdentifier of the shift. | StringRetailShiftId | No | None | |
shiftDateDate of the shift. | DateRetailShiftDate | No | None | |
staffID of the operator who handled the transaction. | String (25)RetailStaffId | No | None | |
statementCodeCode of the statement the record belongs to. | String (25)RetailStatementCode | No | None | |
statementIdNumber of the statement the record belongs to. | String (20)RetailStatementId | No | None | |
storeNumber of the store where the transaction took place. | StringRetailStoreId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem row version number used to track changes to the row. | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
tenderTypePayment method used for the tender. | StringRetailTenderTypeId | No | None | |
terminalNumber of the register (terminal) used. | StringRetailTerminalId | No | None | |
transactionIdIdentifier of the retail transaction. | String (44)RetailTransactionId | No | None | |
transactionStatusEntry status of the transaction, such as voided, posted, concluded or cancelled. | EnumRetailTransEntryStatusRetailEntryStatus (enum) | No | None | |
transDateDate of the transaction. | DateTransDate | No | None | |
transTimeTime of the transaction. | TimeRetailTransTime | No | None |
Indexes (2)
transactionLineIdxChannel,store,terminal,transactionId,lineNum,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,store,terminal,transactionId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionTenderDeclarationTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionTenderDeclarationTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.