CONFIG—UniqueNoEdit Form
This form is used to configure unique number sequences.
Processes associated with this form

Flows:
- Browse—Return to the frmConfig form.
- Close—Close this form.
- Save—Save form updates.
- Save as—Save the current entity as a new entity.
- Delete—Delete the current entity.
Form:
- Sequence type—The type of numbering sequence. Selected from:
- JOB
- LBJOB
- MISC
- SAMPLE (default)
- SYSTEM
- SUBJOB
- Sequence format—The format used to determine the string value returned as the next string in the sequence. The format is defined using VBScript language. Example: RV="LQS-"&Right(Year(Now()),2) &Right("00"&Cstr(Month(Now())),2) &Right("00"&Cstr(Day(Now())),2)&"-"&"#####". The following variables are exposed for use within the VBScript used to determine the sequence format of the CUID:
- RV—Returned Value to be set
- NUN—Next numerical number
- CDT—Current date and time
- JOB—Current Job number
- #—Indicates where the NUN is inserted into the string, filled to the defined number of hashes, and forces an update to the Last number used with NUN.
- ~—Indicates where the NUN is inserted into the string, filled to the defined number of tildes, but does not force and update to the Last number used with NUN.
- fx—Test the Sequence format. If a Sequence format is determined, it displays with "#" indicating the placement of the next numerical number. If a Sequence format cannot be determined, a VBScript is displayed.
- Floor—The lowest possible value of the next numerical number in the sequence.
- Ceiling—The highest possible value of the next numerical number in the sequence. Once the ceiling is reached, the number reverts to the floor value.
- Sequence increment—The amount added to the last numerical number to determine the next numerical number in the sequence.
- Last number used—The last number output from this unique numerical sequence definition. This is used to generate the NUN (Next numerical number) that is then used in the Sequence format to return a string value. Note that Floor - Sequence increment <= Last number used <= Ceiling - Sequential increment. This is automatically updated every time the sequence is used.