Group Scheme Settings - Serials

The Serials section of the group scheme settings controls how a product's serial number is checked when a work order is created for the group scheme.

Serial Check

The checks are made on the New Work Order form. They are not made when a work order is edited later, or when one is created through the retailer portal, a work order import or the API.

Check Mode

Mode What happens
Disabled The serial number is not checked
Check Pattern A serial number must be entered, and it must match the Pattern. A serial that does not match is marked as invalid and the work order cannot be created

Pattern

Used by Check Pattern. The pattern is a regular expression, written with its delimiters. For example, two capital letters followed by eight digits:

/^[A-Z]{2}[0-9]{8}$/

Start the pattern with ^ and end it with $ so the whole serial number has to match. Without them, a serial is accepted when any part of it matches.

If Check Pattern is chosen and the pattern is empty or not a valid regular expression, every serial number is rejected.