Data Entries

Create

  • Entries are created as before. It is important that unique initial numbers are set up for each till.
  • After finishing the sale, an attempt is made to send the entry to the remote database. If the attempt fails, the Replication Counter is used to mark the entry. Otherwise, if there are previous entries which could not be sent, an attempt is made to send them. If successful, the Replication Counter is set to 0 (zero).

Apply

  • The web service attempts to fetch the entry from the server.
    If successful, the entry is marked with the terminal number and sent back to the remote database (to prevent others from being able to apply it during the sale).
    If unsuccessful, an error is displayed, and the user is prompted to either retry, or abort.
    A user with manager privileges or with the value Continue on TS Error set in the Staff card retries and the attempt fails again the entry is accepted. An entry is inserted into the till’s local database where Amount is set to 0, and the Applied Amount is the amount entered.
  • If the entry on the server was already reserved by another till, an error is displayed. A manager can circumvent this error.
  • After posting the sale, an attempt is made to send the entry (same as above). If the entry has 0 in the Amount field, the entry is read from the server, and the original Amount value is added to the entry.
  • If the update is unsuccessful, an error is displayed, and the user is prompted to either retry, or abort.