Skip to content

Reverting a rebuild (support)

This page is for Gestix Technical Support. A rebuild is reverted by hand, and only before the new workstations have issued documents: a workstation that issued documents cannot be deleted.

What to revert

The System Log entry of the rebuild lists every row that it created or changed. Use it as the list of rows to revert.

Steps

  1. Take a back-up of the database.
  2. Switch POS Store mode off (Administration > Stores, Deactivate POS Store mode).
  3. Delete the workstations that the rebuild created (pos_workstation).
  4. Delete the Stores that it created (pos_location) and its profile restrictions (sys_priv_store).
  5. Set the warehouse links back to 0 (kwh_pos in stk_warehouse).
  6. Set the Store that it completed (Store 1) back to warehouse 1 and no series.
  7. If POS rights were granted, set the POS rights of the listed profiles back (p_j_v, p_j_a, p_j_e, p_j_d in sys_priv).

The rebuild changed no document, series, stock or series denial, so nothing else needs reverting. The database schema is not changed either (sys_priv_store is created when first needed, as by the Store administration).