Sequence Number Assignment
This function is used to assign a sequence number (or automatic numbering) to each type of document or object used and managed by the software modules.
This screen is not the only location where it is possible to set up this type of assignment. In effect, some sequence numbers are directly defined in the database records of the software. The specific assignment details are found in atechnical annex.
In addition, please note that the assignment of sequence numbers can be carried out by company and/or legislation. Technically, the following algorithm can be used:
- if the company is defined in the numbering context (i.e. if variable GSOCIETE is entered), and if there exists a sequence number specific to this company, said sequence number is used.
- if the company is defined, that there exists no specific sequence number for the company, the sequence number associated to the company legislation is selected, if it exists.
- if no company is defined, but a current legislation is defined (via variable GCURLEG which is entered while variable GSOCIETE is not), the sequence number associated to the corresponding legislation is selected, if it exists.
- by default, if none of the other rules applies, the sequence number defined with neither company nor legislation is selected.
Prerequisite
Refer to documentation Implementation
Screen management
Entry screen
Once the functional module has been selected in the left list, the grid is loaded with the list of documents/objects to which a sequence number can be assigned.
For each document or object, the reference of the counter to be used should be mentioned. A flag can also be used to specify whether or not the number can be manually entered.
For the objects of the Fixed assets mode, this flag has no significance. In effect, the optional, mandatory or prohibited nature of the automatic allocation of sequence numbers is managed via the general setups of the AAS chapter. These setups are mentioned below. In that case, the definition and allocation of a sequence number are therefore not sufficient for a counter to be actually used upon creation of the considered object. It is imperative for the corresponding setup to specify its implementation.
Reference |
Parameter |
Asset |
|
Expenditure |
|
Bar code |
|
Production workbench |
|
Physical element |
|
Contract |
|
Subsidy |
|
Concession agreement |
Sequence number assignment
Module (field MODULE) |
This scroll down list is used to select the module that assembles the counters to assign. |
Legislation (field LEG) |
Company (field CPY) |
No. (field NODOC) |
Document type (field DOCINT) |
This field defines the document type to be numbered. |
Sequence number (field CODNUM) |
Code of the counter assigned to the document specified in the previous column. |
Manual (field MANCOU) |
When an indicator is set to Yes, the manual entry of the document number is also authorized, the counter intervenes only if the number has not been entered. |