At the beginning, it is worth mentioning that numbering does not have to start from the first document number. For example, if someone has already issued 100 GRN documents and now wants to start from number 101, they can assign this number manually. It must comply with the numbering pattern:
The next document will then be numbered automatically by LoMag and will start from number 102:
This option is useful, for example, if several invoices were issued in another program and you want to continue numbering automatically in LoMag.
For each document type, we can define the method of automatic numbering. By default, documents have separate numbering for each document type and warehouse within a given year. To access this option, go to Setting.
Document types are changed using the option marked below.
In the name template, you can only use the characters listed in the key list below:
$$$$$$$ - means the document number
yy - the year the document applies to
mm - month
dd - day
MAG - warehouse name
Below are a few examples of document numbering:
“PZ $$$$$$/yy” - Separate numbering in each year, but common for all warehouses, e.g. in warehouse 1: “PZ 00001/2010”, the next PZ document in another warehouse will have the number: “PZ 00002/2010”
“PZ $$$$$$/yy - MAG” (default numbering) - in each year and in each warehouse, numbering starts from the beginning, e.g. in warehouse 1: “PZ 000001/2010 - M1”, the next PZ document in warehouse 2 will have the number: “PZ 000001/2010 - M2”
“PZ $$$/mm/yy” - Separate numbering in each month and year, common for all warehouses, 3 digits for the document number, e.g. in August: “PZ 001/08/2010”, “PZ 002/08/2010”... In September: “PZ 001/09/2010”, “PZ 002/09/2010”... regardless of warehouse
“doc $$$/dd/mm/yy/MAG” - Separate numbering for each day and each warehouse with a changed prefix, e.g. on January 1: “doc 001/01/01/2010/M1”, on January 2: “doc 001/02/01/2010/M1”, but on January 2 in warehouse 2 it will be “doc 001/02/01/2010/M2”
In the program, you can also define 4 new patterns: @USER_NAME, @USER_LOGIN, @PKAS, @COMPANY. To do this, go to Setting. Then define the field using one of the patterns above.
For example, if the @USER_NAME pattern has been defined and the logged-in user is Administrator, then when creating a PZ document, the name Administrator will appear in the document number.
The @COMPANY field is defined in company setting.
The @PKAS field - cash points - is defined in Program → Settings → Fiscal printouts → Manage fiscal printers → Add