# App Network Mode Management

# Description

This document outlines the procedures for managing network modes (online and offline) within the application.

# Offline Mode Management

  1. Showing Offline Mode Dialog on App Launch
  • User launches the app without a network and the offline mode dialog is displayed.
  1. Switching to Offline Mode when operating
  • The network unavailable dialog display when Network is disconnected
  • Selects "YES" at the network unavailable prompt to navigate to the login page for Offline mode
  1. Switching to Online Mode When Network Becomes Available
  • The app is in offline mode, and when the network becomes available,
  • The network available dialog display
  • Click "Back to Online Mode" to navigate to the login page for online mode.

# Transaction Management in Offline Mode

  1. Offline Mode Switch to Online Mode - Submit Transaction Offline to BackOffice
  • The app is in offline mode, and when the user switches to online mode, offline transactions are sent to the Back Office.
  • On Back Office, offline transactions will be shown with a grey dot on Online column in Sales & Order/Order History,
  • On POS, successfully submitted transactions will display green dots, while failed submissions will show red dots in Sales Transaction History.
  1. Quantity of Submitted Transactions Based on Status Will Display on the Progress Bar
  • User is in online mode, and when the system submits transactions, the quantity of offline transactions based on status is displayed in the status bar on the top left corner.

# Conclusion

This document provides a structured approach to managing network modes within the application, ensuring smooth transitions and proper handling of transactions in both online and offline states.

# Screen flow

# Offline Mode Management

Tap "Yes" button on the Dialog to switch to Offline Mode when launching"
Tap "Yes" button on the Dialog to switch to Offline Mode when launching"
Tap "Yes" button on the Dialog to switch to Offline Mode when login
Tap "Yes" button on the Dialog to switch to Offline Mode when login
Tap "OK" button on the Network Unavailable Dialog to navigate to the login page for Offline mode
Tap "OK" button on the Network Unavailable Dialog to navigate to the login page for Offline mode
Tap "OK" button on the Network Available Dialog to navigate to the login page for Online mode
Tap "OK" button on the Network Available Dialog to navigate to the login page for Online mode

# Transaction Management in Offline Mode

Successfully submitted transactions will display green dots, while failed submissions will show red dots, and the Transaction is not Summited is displayed in Sales Transaction History.
Successfully submitted transactions will display green dots, while failed submissions will show red dots, and the Transaction is not Summited is displayed in Sales Transaction History.
Navigate to Order History of Sales & Order section to view Offline transactions which will be shown with a grey dot on Online column
Navigate to Order History of Sales & Order section to view Offline transactions which will be shown with a grey dot on Online column