Table of Contents
DEFINE CODE SEQUENCES#
The Define Code Sequences (IMCS) screen is used to setup code sequences that are used through out the system.
Code Sequencing is a method of having the application automatically assign a numerical code (in sequential order) for a specific column/field in the application. Code Sequencing is often used for fields like person code, batch number and pay run number.
Only certain columns (fields) are allowed to have code sequencing defined. The Code Sequence Allowed toggle in IMCD identifies which columns(fields) may have code sequencing.
The definition data for the Define Code Sequences screen is stored in the P2K_AM_CODE_SEQUENCES and P2K_CM_ENTITIES tables.
- Column Name
- This field identifies which column (field) may have a code sequenced defined for.
- Table
- This field identifies which table the column is associated to.
- Table Alias
- This field provides an abbreviated form of the table name.
Attributes#
- Length of Code
- This field indicates the number of characters in the code sequence.
- Zero Filled
- This toggle enables the code sequence to be filled with zeros to lengthen the code sequence to the length defined.
- Last # Assigned
- This is the last number automatically assigned. The next sequence number will be one greater than the number shown here. This value must be between the lowest and the highest values above.
- Lowest Range
- This number specifies the starting point of the automatically sequenced range.
- Highest Range
- This number specifies the ending point of the automatically sequenced range. When you reach the end of this range, the system will not allow you to create the record being sequenced. At that point you must either enter a manual number, or modify the sequence range.
Manual Entry Options#
- Manual Entry Option
- A toggle to indicate if manual entry is permitted (instead of only allowing the system to generate the sequence value).
- Manual Rule
- This field identifies how the manual range is to function.
- Manual Lowest
- This is the lowest value that may be manually entered.
- Manual Highest
- This is the highest value that may be manually entered.