Batch/serial number format
The Batch / Serial number format is used to generate default Batch and Serial numbers when finishing work orders and to validate the format of generated Batch and Serial numbers. When specifying a Batch / Serial number format, the characters below will be replaced with current values.
Please note that characters listed below MUST be specified in lower case for replacement to occur.
- w Work order number
- p Production schedule number
- d Current day (Numeric)
- m Current month (Numeric)
- y year
- k Week number
- s Automated sequence number. When generating multiple serial numbers, the automated sequence number will run from 1 to x where x is the number of serial numbers being generated
- # Any digit. When a # is specified in the format, no replacement occurs when generating default Batch / Serial numbers. When batch / Serial numbers are validated, a number must exist in the position of any # character
- @ Any character. When a @ is specified in the format, no replacement occurs when generating default Batch / Serial numbers. When batch / Serial numbers are validated, an upper case character must exist in the position of any @ character
- ! Any digit OR character. When a ! is specified in the format, no replacement occurs when generating default Batch / Serial numbers. When batch / Serial numbers are validated, either a number or an upper case character must exist in the position of any ! character
When specifying a Batch / Serial number format, specifying one of the replacement characters above multiple times in a row will cause the substituted value to appear only once, padded from the left with 0s to the same number of characters as specified. Note: You should specify enough characters to cover the expected length of each substitutable character type otherwise a validation error is likely to occur.