[{TableOfContents }] !!!DEFINE CODE SEQUENCES The Define Code Sequences (IMCS) screen is used to setup code sequences that are used through out the system. The definition data for the Define Code Sequences screen is stored in the [P2K_AM_CODE_SEQUENCES] and [P2K_CM_ENTITIES] tables. ;[Column Name|COLUMN_NAME]:Which column (field) is to be "sequenced". ;[Table|TABLE_NAME]:This ;[Table Alias |TABLE_ALIAS]:This field provides an abbreviated form of the table name. ;[Length of Code |CODE_LENGTH]:This field indicates the number of characters in the code sequence. ;[Zero Filled |ZERO_FILLED]: ;[Last # Assigned|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|RANGE_LOWEST]:This number specifies the starting point of the automatically sequenced range. ;[Highest Range|RANGE_HIGHEST]: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 Option|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|MANUAL_RULE]:This field identifies how the manual range is to function. Values that may be selected are as follows: |Manuals within the Range|This is required by entities that block off number ranges for sub-entities and need each sub-entity's manual range to be within their own allocated range. |Any Numeric Value Allowed|This is used by entities that set up sequencing to ensure that their codes are numeric, but the need to provide manual number is still present. |Any Value Allowed|This is used by entities that have a requirement to enter manual codes, but there is no requirement to ensure that they are numeric in nature. ;[Manual Lowest|MANUAL_LOWEST]: This is the lowest value that may be manually entered. ;[Manual Highest |MANUAL_HIGHEST]: This is the highest value that may be manually entered.