Table

RetailOfflineTerminalState

Register offline status

Stores the offline status of each POS register. It records connection status, the last offline operation and error, pending transactions, software versions and offline database sizes. It links to the POS registers table and to a related state data record.

Table name
RetailOfflineTerminalState
Module
Commerce
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DatabaseSizeInMBThe total size of the database, in MB.Int64
RetailOfflineDBSize
NoNone
LastEventDateTimeThe UTC date and time of the last event.UtcDateTime
UTCTimestamp
NoNone
MPOSVersionThe version of Modern POS on the register.String (50)
CurrentVersion
NoNone
OfflineAvailableShows whether offline mode is available on the register (No or Yes).Enum
NoYesId
NoYes (enum)
NoNone
OfflineConnectionStatusThe current connection status: online, seamless offline or manual offline.Enum
RetailOfflineConnectionStatus (enum)
NoNone
OfflineDbDataSizeInMBThe size of the data in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
OfflineDbIndexSizeInMBThe size of the indexes in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
OfflineDBVersionThe version of the offline database.String (50)
CurrentVersion
NoNone
OfflineOperationThe last offline operation, such as offline logon, transfer cart, transfer shift or a switch.Enum
RetailOfflineOperation (enum)
NoNone
OfflineOperationErrorFree text about the last error that happened offline.String (-1)
Notes
NoNone
OfflineOperatorIdThe ID of the staff member who last worked offline on the register.String (25)
RetailStaffId
NoNone
OfflineReasonThe reason for the switch to 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
PendingTransactionsThe number of transactions that are still pending.Integer
RetailNumberOfTransactions
NoNone
PercentageOfSuccessfulOfflineSwitchesThe percentage of offline switches that succeeded over the last 2 weeks.Integer
RetailPercentageOfSuccessfulOfflineSwitches
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
RetailOfflineTerminalStateDataA reference to the related register offline status data record.Int64
RefRecId
NoRetailOfflineTerminalStateData.RecIdNone
StaffWithFailedOfflineLogonCountThe number of users whose offline logon failed in the last 2 weeks.Integer
RetailStaffWithFailedOfflineLogonCount
NoNone
StaffWithFailedOfflineLogonListA text list of users whose offline logon failed.String (-1)
RetailStaffWithFailedOfflineLogonList
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminalIdThe number of the POS register. It points to the POS registers table.String
RetailTerminalId
YesRetailTerminalTable.terminalIdNone
TerminalStateDateTimeThe date and time when the status was recorded.UtcDateTime
TransDateTime
NoNone
UnallocatedSpaceInMBThe unallocated space in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone
UnusedSpaceInMBThe unused space in the offline database, in MB.Int64
RetailOfflineDBSize
NoNone

Indexes (4)

Relations (2)

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

  • RetailOfflineTerminalStateData → RetailOfflineTerminalStateData

    Join on RetailOfflineTerminalStateData = RetailOfflineTerminalStateData.RecId

    Many RetailOfflineTerminalState records → zero or one RetailOfflineTerminalStateData record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk