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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DatabaseSizeInMBThe total size of the database, in MB. | Int64RetailOfflineDBSize | No | None | |
LastEventDateTimeThe UTC date and time of the last event. | UtcDateTimeUTCTimestamp | No | None | |
MPOSVersionThe version of Modern POS on the register. | String (50)CurrentVersion | No | None | |
OfflineAvailableShows whether offline mode is available on the register (No or Yes). | EnumNoYesIdNoYes (enum) | No | None | |
OfflineConnectionStatusThe current connection status: online, seamless offline or manual offline. | EnumRetailOfflineConnectionStatus (enum) | No | None | |
OfflineDbDataSizeInMBThe size of the data in the offline database, in MB. | Int64RetailOfflineDBSize | No | None | |
OfflineDbIndexSizeInMBThe size of the indexes in the offline database, in MB. | Int64RetailOfflineDBSize | No | None | |
OfflineDBVersionThe version of the offline database. | String (50)CurrentVersion | No | None | |
OfflineOperationThe last offline operation, such as offline logon, transfer cart, transfer shift or a switch. | EnumRetailOfflineOperation (enum) | No | None | |
OfflineOperationErrorFree text about the last error that happened offline. | String (-1)Notes | No | None | |
OfflineOperatorIdThe ID of the staff member who last worked offline on the register. | String (25)RetailStaffId | No | None | |
OfflineReasonThe reason for the switch to offline: none, manual, performance or reliability. | EnumRetailOfflineReason (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PendingTransactionsThe number of transactions that are still pending. | IntegerRetailNumberOfTransactions | No | None | |
PercentageOfSuccessfulOfflineSwitchesThe percentage of offline switches that succeeded over the last 2 weeks. | IntegerRetailPercentageOfSuccessfulOfflineSwitches | 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 | |
RetailOfflineTerminalStateDataA reference to the related register offline status data record. | Int64RefRecId | No | RetailOfflineTerminalStateData.RecId | None |
StaffWithFailedOfflineLogonCountThe number of users whose offline logon failed in the last 2 weeks. | IntegerRetailStaffWithFailedOfflineLogonCount | No | None | |
StaffWithFailedOfflineLogonListA text list of users whose offline logon failed. | String (-1)RetailStaffWithFailedOfflineLogonList | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TerminalIdThe number of the POS register. It points to the POS registers table. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | None |
TerminalStateDateTimeThe date and time when the status was recorded. | UtcDateTimeTransDateTime | No | None | |
UnallocatedSpaceInMBThe unallocated space in the offline database, in MB. | Int64RetailOfflineDBSize | No | None | |
UnusedSpaceInMBThe unused space in the offline database, in MB. | Int64RetailOfflineDBSize | No | None |
Indexes (4)
TerminalId_IdxUnique.
OfflineAvailable_IdxNot unique.
OfflineConnectionStatus_IdxNot unique.
LastEventDateTime_IdxNot unique.
Relations (2)
Each relation joins RetailOfflineTerminalState to another table on the fields shown.
RetailOfflineTerminalStateData→RetailOfflineTerminalStateDataJoin on
RetailOfflineTerminalStateData = RetailOfflineTerminalStateData.RecIdMany RetailOfflineTerminalState records → zero or one RetailOfflineTerminalStateData record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdCardinality 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.