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 descriptionType / EDT / enumMandatoryReferencesIn public entities
storeIdStore of the transaction. Points to the store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberNone
terminalIdRegister (POS terminal) of the transaction. Points to the POS register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
transactionIdNumber of the retail transaction. Relates to the transaction table.String (44)
RetailTransactionId
YesNone
byteLengthLength of the stored transaction data, in bytes.Integer
RetailByteLength
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
transactionDataTransaction data held as long text.String (-1)
RetailTransactionDataEx5
NoNone

Indexes (1)

Relations (3)

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

  • RetailStoreTable → RetailStoreTable

    Join on storeId = RetailStoreTable.StoreNumber

    Many RetailTransactionTableEx5 records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminalId = RetailTerminalTable.terminalId

    Many RetailTransactionTableEx5 records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, storeId = RetailTransactionTable.store, terminalId = RetailTransactionTable.terminal

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

Email sales@drdynamics.co.uk