To use and enforce the ‘Validate PO Number Format’ policy, it will need to be toggled on and one or more PO number formats will need to be created and set to active.
Custom Regex
Customers who are familiar with the use of regular expressions, also known as regex, can define a PO number format in regex form by toggling the ‘Custom Regex’ option in the ‘Create Format’ screen:
- Once toggled to Custom Regex, a user can input a regular expression
- Any PO number format created using a custom regex will require that the pattern begin with the ‘^’ character and end with the ‘$’ character. These characters denote the start and end of the sequence. An example format could be something like ‘^ABC\d{3,8}$’ where the PO number format is enforcing a requirement for the PO number to begin with the letters ‘ABC’ followed by three to eight numbers
