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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel of the transaction. Points to the retail channel record. | Int64RefRecId | No | RetailChannelTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscAmountExclPrepaymentDiscount amount of the transaction, excluding prepayment. | RealRetailDiscAmount | No | None | |
DiscAmountWithoutTaxExclPrepaymentDiscount amount of the transaction, excluding tax and prepayment. | RealDiscAmountWithoutTax | No | None | |
NetAmountExclPrepaymentNet amount of the transaction, excluding tax and prepayment. | RealRetailNetAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
StoreStore of the transaction. Points to the store record. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountExclPrepaymentTax amount of the transaction, excluding prepayment. | RealRetailTaxAmount | No | None | |
TerminalRegister (POS terminal) of the transaction. Points to the POS register record. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | None |
TransactionIdNumber of the retail transaction. Points to the transaction record. | String (44)RetailTransactionId | Yes | RetailTransactionTable.transactionId | None |
Indexes (1)
TransactionIdxStore,Terminal,TransactionId,ChannelUnique.
Relations (4)
Each relation joins RetailTransactionTableExt to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionTableExt records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailTransactionTableExt records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailTransactionTableExt records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,Store = RetailTransactionTable.store,Terminal = RetailTransactionTable.terminal,TransactionId = RetailTransactionTable.transactionIdZero 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.