Table
RetailTransactionSafeTenderTrans
Safe tender transactions
Holds safe tender lines of retail transactions, meaning cash and other tender moved to or from a safe. It is keyed by channel, store, register, transaction number and line number. Rows carry amounts, currency, payment method, shift and statement details.
- Table name
RetailTransactionSafeTenderTrans- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
transactionLineIdx- Replacement key
transactionLineIdx- Key fields
Channel, Store, Terminal, TransactionId, LineNum- Model
Foundation
Fields (47)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelThe retail channel of the transaction. Points to the channel record. | Int64RefRecId | No | RetailChannelTable.RecId | RetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
StoreStore where the transaction took place. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
TerminalRegister (POS terminal) where the transaction took place. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
TransactionIdNumber of the retail transaction the line belongs to. | String (44)RetailTransactionId | No | RetailTransactionTable.transactionId | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
LineNumLine number within the transaction. | RealLineNum | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
AmountCurAmount in the transaction currency. | RealAmountCur | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
amountCurPOSAmount in the transaction currency, as recorded at the POS. | RealAmountCur | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
amountMSTAmount in the accounting currency. | RealAmountMST | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
amountMSTPOSAmount in the accounting currency, as recorded at the POS. | RealAmountMST | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
AmountTenderedAmount handed over for the line. | RealRetailAmountTendered | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
amountTenderedPOSTendered amount as recorded at the POS. | RealRetailAmountTendered | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
businessDateBusiness date of the transaction. | DateRetailBusinessDate | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
CardorAccountCard number or account used. | String (30)RetailCardOrAccount | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
CardTypeIdType of card used. Points to the card type record. | StringRetailCardTypeId | No | RetailTenderTypeCardTable.cardTypeId | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity |
ChangeLineYes/No flag showing whether the line is a change line. | EnumRetailChangeLineNoYes (enum) | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
CounterCounter value for the line.low confidence | RealRetailRealCounter | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailTransactionSafeTenderTransBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailTransactionSafeTenderTransBIEntity | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCurrency code of the line. Points to the currency record. | String (3)CurrencyCode | No | Currency.CurrencyCode | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionSafeTenderTransBIEntity | |
ExchRateExchange rate applied to the line. | RealExchRate | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
exchRateMSTExchange rate to the accounting currency. | RealExchRate | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
ManagersKeyLiveYes/No flag for the manager key setting on the line.low confidence | EnumRetailManagerKeyLiveNoYes (enum) | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
MessageNumMessage number linked to the line.low confidence | IntegerRetailMessageNum | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | RetailTransactionSafeTenderTransBIEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | RetailTransactionSafeTenderTransBIEntity | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | RetailTransactionSafeTenderTransBIEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyQuantity on the line. The label says "Could not find invoice to settle", which looks wrong for a quantity.low confidence | RealQty | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | RetailTransactionSafeTenderTransBIEntity | |
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 | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
replicationCounterFromOriginCounter used to track replication of the record from its origin location. | IntegerRetailReplicationCounter | No | RetailTransactionSafeTenderTransBIEntity | |
ShiftShift in which the transaction took place. | StringRetailShiftId | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
ShiftDateDate of the shift. Relates to the work shift record. | DateRetailShiftDate | No | RetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity | |
StaffID of the operator who handled the transaction. | String (25)RetailStaffId | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
StatementCodeCode of the statement line that includes this line. | String (25)RetailStatementCode | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
StatementIdStatement the line belongs to. | String (20)RetailStatementId | No | RetailStatementTable.statementId | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
statusTypeHow the safe status was set: manual, POS or override. | EnumRetailSafeStatusTypeRetailSafeStatusTypeBase (enum) | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
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 | |
TenderTypePayment method used. | StringRetailTenderTypeId | No | RetailTenderTypeTable.tenderTypeId | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
TransactionStatusStatus of the entry, such as voided, posted, concluded or on hold. | EnumRetailTransEntryStatusRetailEntryStatus (enum) | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
TransDateDate of the transaction. | DateRetailtransDate | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity | |
TransTimeTime of the transaction. | TimeRetailTransTime | No | RetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity |
Indexes (5)
transactionLineIdxPrimary indexReplacement keyChannel,Store,Terminal,TransactionId,LineNumUnique, alternate key.
statementTenderCardCurIdxStore,TenderType,CardTypeId,Currency,StatementCodeNot unique.
LocationIdxOrigin,replicationCounterFromOriginNot unique.
statementStatusIdxStore,StatementId,TransactionStatus,statusTypeNot unique.
statementIdxNot unique.
Relations (11)
Each relation joins RetailTransactionSafeTenderTrans to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany RetailTransactionSafeTenderTrans records → exactly one Currency record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionSafeTenderTrans records → zero or one RetailChannelTable record
RetailStatementLine→RetailStatementLineJoin on
StatementCode = RetailStatementLine.statementCode,Currency = RetailStatementLine.currency,StatementId = RetailStatementLine.statementId,TenderType = RetailStatementLine.tenderTypeId,CardTypeId = RetailStatementLine.cardTypeIdMany RetailTransactionSafeTenderTrans records → zero or one RetailStatementLine record
RetailStatementTable→RetailStatementTableJoin on
StatementId = RetailStatementTable.statementIdMany RetailTransactionSafeTenderTrans records → exactly one RetailStatementTable record
RetailStatementTrans→RetailStatementTransJoin on
StatementCode = RetailStatementTrans.statementCode,Currency = RetailStatementTrans.currency,StatementId = RetailStatementTrans.statementId,TenderType = RetailStatementTrans.tenderTypeId,CardTypeId = RetailStatementTrans.cardTypeIdMany RetailTransactionSafeTenderTrans records → zero or one RetailStatementTrans record
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailTransactionSafeTenderTrans records → exactly one RetailStoreTable record
RetailStoreWorkShiftTable→RetailStoreWorkShiftTableJoin on
ShiftDate = RetailStoreWorkShiftTable.shiftDateMany RetailTransactionSafeTenderTrans records → zero or one RetailStoreWorkShiftTable record
RetailTenderTypeCardTable→RetailTenderTypeCardTableJoin on
CardTypeId = RetailTenderTypeCardTable.cardTypeIdMany RetailTransactionSafeTenderTrans records → exactly one RetailTenderTypeCardTable record
RetailTenderTypeTable→RetailTenderTypeTableJoin on
TenderType = RetailTenderTypeTable.tenderTypeIdMany RetailTransactionSafeTenderTrans records → exactly one RetailTenderTypeTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailTransactionSafeTenderTrans records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
TransactionId = RetailTransactionTable.transactionId,Store = RetailTransactionTable.store,Terminal = RetailTransactionTable.terminal,Channel = RetailTransactionTable.ChannelMany RetailTransactionSafeTenderTrans records → zero or one RetailTransactionTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionSafeTenderTrans; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionSafeTenderTransEntity· 32 fields from this tableRetailTransactionAuditableSafeDropEntity· 20 fields from this tableRetailTransactionSafeTenderTransBIEntity· 41 fields from this table
Need help with RetailTransactionSafeTenderTrans in a report, an integration or a migration? Talk to Dr Dynamics.