Table

RetailTransactionTableExt

Transactions

Extra amounts for retail transactions, shown without prepayment. It holds discount, net and tax amounts. It links to the transaction through channel, store, register and transaction number. It has no defined key.

Table name
RetailTransactionTableExt
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 (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the transaction. Points to the retail channel record.Int64
RefRecId
NoRetailChannelTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountExclPrepaymentDiscount amount of the transaction, excluding prepayment.Real
RetailDiscAmount
NoNone
DiscAmountWithoutTaxExclPrepaymentDiscount amount of the transaction, excluding tax and prepayment.Real
DiscAmountWithoutTax
NoNone
NetAmountExclPrepaymentNet amount of the transaction, excluding tax and prepayment.Real
RetailNetAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StoreStore of the transaction. Points to the store record.String
RetailStoreId
YesRetailStoreTable.StoreNumberNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountExclPrepaymentTax amount of the transaction, excluding prepayment.Real
RetailTaxAmount
NoNone
TerminalRegister (POS terminal) of the transaction. Points to the POS register record.String
RetailTerminalId
YesRetailTerminalTable.terminalIdNone
TransactionIdNumber of the retail transaction. Points to the transaction record.String (44)
RetailTransactionId
YesRetailTransactionTable.transactionIdNone

Indexes (1)

Relations (4)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionTableExt records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionTableExt records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionTableExt records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

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

    Zero or one RetailTransactionTableExt record → exactly one RetailTransactionTable record

Get this data out

No public entity reads from RetailTransactionTableExt. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk