Table

RetailTransactionTenderDeclarationTrans

Tender declaration transaction

Holds tender declaration lines, which record the counted amounts of a payment method at a register. The key is channel, store, register, transaction number and line number. It links to the transaction, payment method, card type, currency, statement and shift.

Table name
RetailTransactionTenderDeclarationTrans
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
transactionLineIdx
Replacement key
None
Key fields
Channel, store, terminal, transactionId, lineNum
Model
Foundation

Fields (34)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the record belongs to.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
storeStore where the declaration was made.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
terminalRegister where the declaration was made.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
transactionIdTransaction that the line belongs to.String (44)
RetailTransactionId
NoRetailTransactionTable.transactionIdRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
lineNumLine number within the transaction.Real
LineNum
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
amountCurAmount in transaction currency.Real
AmountCur
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
amountMSTAmount in accounting currency.Real
AmountMST
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
amountTenderedAmount tendered.Real
RetailAmountTendered
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
businessDateBusiness date of the transaction.Date
RetailBusinessDate
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
cardIdCard type used for the payment.String
RetailCardTypeId
NoRetailTenderTypeCardTable.cardTypeIdRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
currencyCurrency code of the line.String (3)
CurrencyCode
NoCurrency.CurrencyCodeRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionTenderDeclarationTransBIEntity
exchRateExchange rate used for the line.Real
ExchRate
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
exchRateMSTExchange rate to accounting currency.Real
ExchRate
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
OriginLocation number that the record came from.String (50)
RetailConnDistributionLocationId
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
POSCurrencyCurrency used at the register.String (3)
CurrencyCode
NoCurrency.CurrencyCodeRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
qtyQuantity declared, for example a count of notes or coins.Real
Qty
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
receiptIdReceipt number linked to the line.String (18)
RetailReceiptId
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionTenderDeclarationTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicatedShows whether the record has been replicated.Enum
RetailReplicated
NoYes (enum)
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
replicationCounterFromOriginCounter used for replication from the origin location.Integer
RetailReplicationCounter
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
shiftShift identifier text.String
RetailShiftId
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
shiftDateDate of the shift.Date
RetailShiftDate
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionTenderDeclarationTransBIEntity
staffOperator who made the declaration.String (25)
RetailStaffId
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
statementCodeCode of the statement the line is in.String (25)
RetailStatementCode
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
statementIdStatement number the line is included in.String (20)
RetailStatementId
NoRetailStatementTable.statementIdRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
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 that was declared.String
RetailTenderTypeId
NoRetailTenderTypeTable.tenderTypeIdRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
transactionStatusStatus of the transaction, such as voided, posted or concluded.Enum
RetailTransEntryStatus
RetailEntryStatus (enum)
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
transDateDate of the transaction.Date
TransDate
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity
transTimeTime of the transaction.Time
RetailTransTime
NoRetailTransactionTenderDeclarationTransEntityRetailTransactionAuditableTenderDeclarationEntityRetailTransactionTenderDeclarationTransBIEntity

Indexes (4)

Relations (13)

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

  • Currency → Currency

    Join on POSCurrency = Currency.CurrencyCode

    Many RetailTransactionTenderDeclarationTrans records → exactly one Currency record

  • Currency1 → Currency

    Join on currency = Currency.CurrencyCode

    Many RetailTransactionTenderDeclarationTrans records → exactly one Currency record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailChannelTable record

  • RetailStatementLine → RetailStatementLine

    Join on statementId = RetailStatementLine.statementId, store = RetailStatementLine.storeId, currency = RetailStatementLine.currency, tenderType = RetailStatementLine.tenderTypeId

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailStatementLine record

  • RetailStatementTable → RetailStatementTable

    Join on statementId = RetailStatementTable.statementId

    Many RetailTransactionTenderDeclarationTrans records → exactly one RetailStatementTable record

  • RetailStatementTrans → RetailStatementTrans

    Join on statementId = RetailStatementTrans.statementId, store = RetailStatementTrans.storeId, currency = RetailStatementTrans.currency, tenderType = RetailStatementTrans.tenderTypeId

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailStatementTrans record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionTenderDeclarationTrans records → exactly one RetailStoreTable record

  • RetailStoreWorkShiftTable → RetailStoreWorkShiftTable

    Join on shiftDate = RetailStoreWorkShiftTable.shiftDate

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailStoreWorkShiftTable record

  • RetailTenderTypeCardTable → RetailTenderTypeCardTable

    Join on cardId = RetailTenderTypeCardTable.cardTypeId

    Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTenderTypeCardTable record

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on tenderType = RetailTenderTypeTable.tenderTypeId

    Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTenderTypeTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTerminalTable record

  • RetailTransactionBankedTenderTrans → RetailTransactionBankedTenderTrans

    Join on transactionId = RetailTransactionBankedTenderTrans.TransactionId, store = RetailTransactionBankedTenderTrans.Store, terminal = RetailTransactionBankedTenderTrans.Terminal

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailTransactionBankedTenderTrans record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, store = RetailTransactionTable.store, terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Many RetailTransactionTenderDeclarationTrans records → zero or one RetailTransactionTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionTenderDeclarationTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk