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.

Legal notice

This type of function is a development function whose use is probibitted in a standard use framework.

Any legal consequences arising from the use of development tools on databases containing data which it is prohibitted by law to modify will be under the full responsibility of the customer. For further information, refer to the corresponding annex.

Important note

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!

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

The only information to enter is the name of the folder to proceed. A confirmation is required, with the following message:

Are you sure you want to reinitialize 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 folder code, as it is defined in the folders table, in which the work will be carried out.

Close

 

Batch task

This function can be run in batch mode, but no dedicated standard task is delivered to run 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

SEEREFERTTO Refer to documentation Implementation