Development > Utilities > Folders > Reset folder to zero 

This function is used to reset the folder transactions to zero; after start-up in test mode and a recovery of the folder's permanent data (chart of accounts, customers, products, etc.), it may be useful to purge the database of the transactions created in the test phase, just before the import of the actual transactions and the operational start-up of a folder

Warning ! This function is dangerous and irreversible: it can lead to the loss of all the transaction data in a folder. Therefore it should be used only with extreme care, and only after having carried out a backup, in order to recover the data should it be necessary!

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

A single dialogue screen appears on launching this function.

Entry screen

Presentation

The name of the folder to be processed is entered here. A confirmation is required, with the message Are you sure that you want to re-initialise the XXX folder ?

Once confirmed, the operation is started, and a log file is generated to detail the results of the operation.

Close

 

Fields

The following fields are present on this tab :

Define the code of the folder in which the work will be carried out (such as it is defined in the table of the folders).

Close

 

Batch task

This function can be executed in batch mode, but no dedicated standard task is delivered to execute it.

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

N users in the folder

It has not been possible to start the operation, because users were still connected to the folder (because the operation must be run in mono-user mode). If the user launching the operation is the only one connected to a folder and an attempt is made to start the resetting to zero in the connection folder, this message will be displayed with N equal to 1.

Tables used

This process is likely to update all the tables in the database, according to the dictionary RTZ information.

Tables used

SEEREFERTTO Refer to documentation Implementation