Next Number Triggers

The next number trigger controls the automatic numbering for such items as new general ledger account numbers, voucher numbers, and address numbers. It enables you to specify the numbering system code to use and automatically increments numbers to reduce transpositions and keying errors.

Use the next number trigger to enter a default value in a numeric data item if the user does not enter a number. Next numbers are assigned from an array. The combination of system code and index defines how the next number will be assigned by the system.

F0002 has this logic:

  • One record per system and 10-element array.

    The key to F0002 is system code. The table includes 10 columns for individual next number elements. The system uses each of these elements for a specific hard code within the applications for that system code.

    For example, if you specify system code 09 in the next numbers trigger, six rows are populated and four are blank. The system uses each of these coded, populated rows as hard code. The first row defines New Account ID. Within JD Edwards EnterpriseOne applications that create new accounts, the system retrieves the account number from system 09, row 1 of the F0002 table. Row 2 contains Journal Entries. In a master business function that creates journal entry documents, the system retrieves the document number from system 09, row 2 of the F0002 table.

    If you specify system 04 in the Next Numbers trigger, the system uses a separate set of rows that have hard codes for use within system 04.

  • Check digits.

    Check digits (sometimes called a Modulus 11 check) enable you to specify whether the system adds a number to the end of each next number that it assigns.

    For example, if you are using check digits and the next number is 2, the system adds a check digit such as 7, making the last two numbers 27. Check digits provide a method of randomly incrementing numbers to prevent the assignment of transposed numbers. In the algorithm in this topic, the system would never assign next number 72 while the check digits feature is activated.