Development > Utilities > Folders > Mono mode 

This function, whose access is reserved for administrators, is used to switch the current folder to single-user mode.

In this mode, only one user (having the administrator profile) can be connected at one given moment: all the other connections will be forbidden, until the single-user mode is unlocked by a switch to multi-user mode operation.

Warning: if the user that has triggered this switch to single-user mode just disconnects, the mode will not switch back to multi-user: the folder stays in single-user (administrator) mode.

It should be noted that certain maintenance operations (notably folder validation, but also maintenance operations linked to each module, according to the value of the UTILCK setup) automatically switch the folder to single-user mode at the time of their execution.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Function launch

On starting the function, if the switch to single-user mode is possible, the following message is displayed:

You are in single-user mode

If the switch to single-user mode is not possible, a message detailing the reason for the error is displayed (these messages are displayed below).

Entry screen

Fields

The following fields are present on this tab :

Block number 1

This code identifies a counter which is referenced when generating an automatic number for a document. A counter is an alphanumeric field of between 1 and 20 characters. It comprises a series of components which are concatenated from left to right to form the counter value.

Block number 2

Wen a sequence number counter is defined by company, there is a sequence number counter per company code. The company code is therefore part of the key that determines the record of the table where the current chrono number is stored.

Wen a sequence number counter is defined by site, there is a sequence number counter per site code. The site code is therefore part of the key that determines the record of the table where the current chrono number is stored.

  • Year (field YEA)

 

  • Month (field MON)

This is the Month, represented in a maximum of 2 digits.

  • Fiscal year (field EXE)

 

Accounting financial year number.

  • Additional info (field CMP)

This is a Component of the sequence number.

Block number 3

  • Next value (field VAL1)

This field initially displays the next value that the system will assign to the related transaction or document. It may be changed to a new value of the Sequence Number as is appropriate to the situation.

Generally, incrementing the number should create no problems beyond the obvious "gap in the series" that will result. But decrementing the number should be avoided except in very well-defined technical contexts, since collisions will result between the new sequence numbers and ones that already exist in the database (e.g., two sales orders with potentially the same number).

Close

 

Error messages

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

Change In Progress on another workstation

Someone is simultaneously locking the MONO symbol on another workstation (normally, to switch to single-user mode). The operation is therefore impossible.

Number of users connected: NNNN

The switch to single-user mode is not possible, because other users are connected (user surveillance is used to view them, and possibly forcibly disconnect them).

The folder is in single-user mode

The folder has already been switched to single-user mode.

Folder modification is in process
Folder backup in process
Resynchronization in process
Return to zero in process

There are specific operations in progress: the folder is already in single-user mode. This type of message probably means that the operation mentioned has unexpectedly stopped and the folder has stayed in single-user mode: if the operation had ended, the single-user mode would have been deactivated. The unlocking of this type of lock is made using the dedicated folder unlocking operation.

Tables used

SEEREFERTTO Refer to documentation Implementation