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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelThe retail channel of the transaction. Points to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
StoreStore where the transaction took place.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
TerminalRegister (POS terminal) where the transaction took place.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
TransactionIdNumber of the retail transaction the line belongs to.String (44)
RetailTransactionId
NoRetailTransactionTable.transactionIdRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
LineNumLine number within the transaction.Real
LineNum
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
AmountCurAmount in the transaction currency.Real
AmountCur
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
amountCurPOSAmount in the transaction currency, as recorded at the POS.Real
AmountCur
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
amountMSTAmount in the accounting currency.Real
AmountMST
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
amountMSTPOSAmount in the accounting currency, as recorded at the POS.Real
AmountMST
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
AmountTenderedAmount handed over for the line.Real
RetailAmountTendered
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
amountTenderedPOSTendered amount as recorded at the POS.Real
RetailAmountTendered
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
businessDateBusiness date of the transaction.Date
RetailBusinessDate
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
CardorAccountCard number or account used.String (30)
RetailCardOrAccount
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
CardTypeIdType of card used. Points to the card type record.String
RetailCardTypeId
NoRetailTenderTypeCardTable.cardTypeIdRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
ChangeLineYes/No flag showing whether the line is a change line.Enum
RetailChangeLine
NoYes (enum)
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
CounterCounter value for the line.low confidenceReal
RetailRealCounter
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoRetailTransactionSafeTenderTransBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailTransactionSafeTenderTransBIEntity
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCurrency code of the line. Points to the currency record.String (3)
CurrencyCode
NoCurrency.CurrencyCodeRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionSafeTenderTransBIEntity
ExchRateExchange rate applied to the line.Real
ExchRate
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
exchRateMSTExchange rate to the accounting currency.Real
ExchRate
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
ManagersKeyLiveYes/No flag for the manager key setting on the line.low confidenceEnum
RetailManagerKeyLive
NoYes (enum)
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
MessageNumMessage number linked to the line.low confidenceInteger
RetailMessageNum
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoRetailTransactionSafeTenderTransBIEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoRetailTransactionSafeTenderTransBIEntity
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoRetailTransactionSafeTenderTransBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyQuantity on the line. The label says "Could not find invoice to settle", which looks wrong for a quantity.low confidenceReal
Qty
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionSafeTenderTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicatedYes/No flag showing whether the record has been replicated.Enum
RetailReplicated
NoYes (enum)
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
replicationCounterFromOriginCounter used to track replication of the record from its origin location.Integer
RetailReplicationCounter
NoRetailTransactionSafeTenderTransBIEntity
ShiftShift in which the transaction took place.String
RetailShiftId
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
ShiftDateDate of the shift. Relates to the work shift record.Date
RetailShiftDate
NoRetailTransactionSafeTenderTransEntityRetailTransactionSafeTenderTransBIEntity
StaffID of the operator who handled the transaction.String (25)
RetailStaffId
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
StatementCodeCode of the statement line that includes this line.String (25)
RetailStatementCode
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
StatementIdStatement the line belongs to.String (20)
RetailStatementId
NoRetailStatementTable.statementIdRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
statusTypeHow the safe status was set: manual, POS or override.Enum
RetailSafeStatusType
RetailSafeStatusTypeBase (enum)
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TenderTypePayment method used.String
RetailTenderTypeId
NoRetailTenderTypeTable.tenderTypeIdRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
TransactionStatusStatus of the entry, such as voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus (enum)
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
TransDateDate of the transaction.Date
RetailtransDate
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity
TransTimeTime of the transaction.Time
RetailTransTime
NoRetailTransactionSafeTenderTransEntityRetailTransactionAuditableSafeDropEntityRetailTransactionSafeTenderTransBIEntity

Indexes (5)

Relations (11)

Each relation joins RetailTransactionSafeTenderTrans to another table on the fields shown.

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many RetailTransactionSafeTenderTrans records → exactly one Currency record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionSafeTenderTrans records → zero or one RetailChannelTable record

  • RetailStatementLine → RetailStatementLine

    Join on StatementCode = RetailStatementLine.statementCode, Currency = RetailStatementLine.currency, StatementId = RetailStatementLine.statementId, TenderType = RetailStatementLine.tenderTypeId, CardTypeId = RetailStatementLine.cardTypeId

    Many RetailTransactionSafeTenderTrans records → zero or one RetailStatementLine record

  • RetailStatementTable → RetailStatementTable

    Join on StatementId = RetailStatementTable.statementId

    Many RetailTransactionSafeTenderTrans records → exactly one RetailStatementTable record

  • RetailStatementTrans → RetailStatementTrans

    Join on StatementCode = RetailStatementTrans.statementCode, Currency = RetailStatementTrans.currency, StatementId = RetailStatementTrans.statementId, TenderType = RetailStatementTrans.tenderTypeId, CardTypeId = RetailStatementTrans.cardTypeId

    Many RetailTransactionSafeTenderTrans records → zero or one RetailStatementTrans record

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionSafeTenderTrans records → exactly one RetailStoreTable record

  • RetailStoreWorkShiftTable → RetailStoreWorkShiftTable

    Join on ShiftDate = RetailStoreWorkShiftTable.shiftDate

    Many RetailTransactionSafeTenderTrans records → zero or one RetailStoreWorkShiftTable record

  • RetailTenderTypeCardTable → RetailTenderTypeCardTable

    Join on CardTypeId = RetailTenderTypeCardTable.cardTypeId

    Many RetailTransactionSafeTenderTrans records → exactly one RetailTenderTypeCardTable record

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on TenderType = RetailTenderTypeTable.tenderTypeId

    Many RetailTransactionSafeTenderTrans records → exactly one RetailTenderTypeTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionSafeTenderTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId, Store = RetailTransactionTable.store, Terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Many 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.

Need help with RetailTransactionSafeTenderTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk