Record Numbering Templates

Record Numbering Templates

The numbers and their lengths for slips used in program modules are recorded and used by defining a document numbering template. Record numbering templates are recorded using the Record Numbering option under the Management menu in the System Administration module. When creating a definition, specify which company, Division, or Warehouse the defined document numbers apply to. These record numbers are also linked to users, groups, and roles, ensuring data security and accurate data entry.

In addition to numbering performed by the User, standard record numbers can also be generated automatically. Record numbers are defined separately for the slip types used in transactions recorded in program modules. When the Transaction Type for which the definition is to be created is selected, the recorded slip types are listed. Select the slip type for which the definition is to be created, then save the numbering definition information.

To create a new record numbering definition, use the Add option in the Record Numbering list. Document numbering template information is saved using the General and Number Department options.

General Information

This option is used to save general information for the document numbers of the selected slip. General record numbering information is saved in the fields under the Numbering Options, Organization Options, and User Options headings.

Options

General information about record numbers is saved in this section.

Card Code: When numbering Safe Deposit transactions, specify which Safe Deposit card code the numbering applies to. The asterisk (*) indicates that the defined template applies to all records.

Initial Number: Specifies the starting number for the definition in the numbering template.

Ending Number: Specifies the ending number for the definition in the numbering template.

Validity Date: Specifies the date range during which the defined numbering is used for transactions.

Sorting: Specifies how sorting is performed. The Sorting field contains the options Left to Right (numeric) and Right to Left (text).

Organization Options

In this section, the company, Division, and Warehouse for which the defined template will be used in transactions are specified.

User Options

The terminal, user, group, and roles that will use the template defined in this section are specified. If the record numbering template is used by terminal, the relevant terminal must be specified in the Terminal field in this section.

Numbering Departments

Special information for the numbers defined in the numbering template is saved using the Number Departments option.

Type: This is the type of numbering section. The Type field has three options: Fixed, Incremental, and Grouped Incremental.

Fixed indicates that the definition in that row remains unchanged as records are added. Incremental indicates that the definition in that row increases as records are added. Group Incremental finds the current highest value based on the other fixed Departments and increments from that value.

If the grouped incremental type is selected, the last number in the record numbering process is
read from the database. The program takes into account the fixed parts specified in the template and retrieves the last number it finds in the database.

Length (Char.): Specifies how many characters the definition will contain.

Feature: This is the field where the number feature is specified. The number can be assigned to a company, division, warehouse, or factory, and a feature can also be defined for a user, role, date (year/month/week/day/period), or existing number.

Initial: Specifies the value at which numbering starts.

End: Specifies the value at which numbering ends.

Separator: It is defined if a separator is to be used during numbering. Additional information for the numbers defined in the numbering template is saved using the Number Department option.

Sorting: Specifies how sorting is performed. The options are Right to Left (Numeric) and Left to Right (Text).

The number section definition is saved by clicking the "Save" button.

Using the Grouped Incremental Option in Record Numbering Templates

The group incremental row finds the highest existing value based on the other fixed Departments and increments it.

Example,

Operations Performed:

Number for slips dated January 21: 0121001

Number for slips dated January 22: 0122001

Number for the slips dated January 21: 0121002

Number for the slips dated March 11: 0311001

Number for the slips dated December 12: 1212001

Number for the slips dated March 11: 0311002

**If the last row had been Incremental only, rather than Grouped Incremental, the numbers of the slips above would be: 0121001, 0122002, 0121003, 0311004, 1212005, 0311006.**

In record numbering templates, if the Grouped Incremental type is selected, the last number is read by scanning the database, allowing the number of a deleted slip to be reused. For templates that do not use this type, the last number in the template is checked as before and incremented to generate a new number.