Table
RetailTransactionTableEx5
Transaction table
Holds transaction data as a long text for each retail transaction. Records are identified by store, register and transaction number. It links to the store, POS register and transaction tables.
- Table name
RetailTransactionTableEx5- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
transactionIdx- Replacement key
None- Key fields
storeId, terminalId, transactionId- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
storeIdStore of the transaction. Points to the store record. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | None |
terminalIdRegister (POS terminal) of the transaction. Points to the POS register record. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
transactionIdNumber of the retail transaction. Relates to the transaction table. | String (44)RetailTransactionId | Yes | None | |
byteLengthLength of the stored transaction data, in bytes. | IntegerRetailByteLength | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
transactionDataTransaction data held as long text. | String (-1)RetailTransactionDataEx5 | No | None |
Indexes (1)
transactionIdxPrimary indexstoreId,terminalId,transactionIdUnique, alternate key.
Relations (3)
Each relation joins RetailTransactionTableEx5 to another table on the fields shown.
RetailStoreTable→RetailStoreTableJoin on
storeId = RetailStoreTable.StoreNumberMany RetailTransactionTableEx5 records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
terminalId = RetailTerminalTable.terminalIdMany RetailTransactionTableEx5 records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
transactionId = RetailTransactionTable.transactionId,storeId = RetailTransactionTable.store,terminalId = RetailTransactionTable.terminalZero or one RetailTransactionTableEx5 record → zero or one RetailTransactionTable record
Get this data out
No public entity reads from RetailTransactionTableEx5. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionTableEx5 in a report, an integration or a migration? Talk to Dr Dynamics.