Show TOC

Process documentationTerminal Close Data Flow

 

The following details the Terminal Close process:

Process

  1. Any outstanding trickling is completed.

  2. All rd.* files are copied from the register’s \rdata directory and consolidated to sd.* files on the server’s \sdata directory.

  3. The server then increments the *00.txn and the *00.jrn, so that the ‘00’ changes to show the close number specified in that terminal’s state.reg file.

  4. The server then moves the incremented .txn file to the \upload\keep0 directory. Note that by default, the .jrn file is copied to upload\keep0 only if the parameter controlling the polling of the journal files is set in the Configurator.

  5. The server then zeroes out and re-initializes the terminal’s LD.txn and LD.jrn files so that they are set for use again.

  6. The terminal’s rp.* files (from the previous day’s totals) are replaced by the rd.* files still on the register.

  7. The rd.* files on the terminal are re-initialized.

  8. The terminal sends a ‘close terminal state’ message to the server, signs off the cashier, and displays ‘CLOSED’ on the POS screen.