Open the data you need earlier
Log in, select an organisation and check the task with an available network. If you are not connected, you cannot access records that have not been previously downloaded.
Check your local queue
Supported operations go to the outbox and remain marked as pending. Acceptance and financial or warehouse operations requiring current status should be carried out online.
Resolve conflict instead of overwriting
Once the connection is restored, check the sync status. If the record has changed in the meantime, compare the version and history and only then decide on further operation.
Protect your device
Do not clear application data while entries are pending. Encrypting local data does not replace screen locking and safe device use. Acceptance testing on the target phone is a separate stage.