Table

RetailTerminalStateJournal

Journal of the state of a POS register over time. Each row shows offline status, database sizes, pending transactions, versions and the last offline operation and reason. It links to the terminal state data and the POS registers. It has no defined key.

Table name
RetailTerminalStateJournal
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DatabaseSizeInMBSize of the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
EventDateTimeDate and time of the event, in UTC.UtcDateTime
UTCTimestamp
NoNone
MPOSVersionVersion of Modern POS on the register.String (50)
CurrentVersion
NoNone
OfflineAvailableYes or no flag showing whether offline mode is available.Enum
NoYesId
NoYes (enum)
NoNone
OfflineConnectionStatusConnection status: online, seamless offline or manual offline.Enum
RetailOfflineConnectionStatus (enum)
NoNone
OfflineDbDataSizeInMBSize of the data in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
OfflineDbIndexSizeInMBSize of the indexes in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
OfflineDBVersionVersion of the offline database.String (50)
CurrentVersion
NoNone
OfflineOperationLast offline operation, such as logon, cart or shift transfer, or switching offline or online.Enum
RetailOfflineOperation (enum)
NoNone
OfflineOperationErrorFree text describing the last offline error.String (-1)
Notes
NoNone
OfflineOperatorIdID of the staff member who did the last offline operation.String (25)
RetailStaffId
NoNone
OfflineReasonReason the register went offline: none, manual, performance or reliability.Enum
RetailOfflineReason (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PendingTransactionsNumber of transactions that are still pending.Integer
RetailNumberOfTransactions
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
RetailTerminalStateDataSystem record ID of the related terminal state data record.Int64
RefRecId
NoRetailTerminalStateData.RecIdNone
StaffWithFailedOfflineLogonListFree text list of users whose offline logon failed.String (-1)
RetailStaffWithFailedOfflineLogonList
NoNone
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
TerminalIdRegister number. Points to the POS registers table.String
RetailTerminalId
YesRetailTerminalTable.terminalIdNone
TerminalStateDateTimeDate and time of the status.UtcDateTime
TransDateTime
NoNone
UnallocatedSpaceInMBUnallocated space in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
UnusedSpaceInMBUnused space in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone

Indexes (2)

Relations (2)

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

  • RetailTerminalStateData → RetailTerminalStateData

    Join on RetailTerminalStateData = RetailTerminalStateData.RecId

    Many RetailTerminalStateJournal records → zero or one RetailTerminalStateData record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailTerminalStateJournal records → zero or one RetailTerminalTable record

Get this data out

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

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

Email sales@drdynamics.co.uk