BE – BillInvoiceNumber
Ensures an Invoice number with a minimum / maximum length has been added.
Validator Set Up
Variables
Variable | Description |
---|---|
Minimum invoice number length (chars) | Enter a minimum of 1 (This will ensure the invoice isnt left blank and that at least 1 digit/character has been entered) |
Maximum invoice number length (chars) | Enter a maximum length that the invoice should be |
Pattern that invoice field must adhere to | Enter .+ to ensure something is entered into this field Alternatively, you can specify what characters you expect the invoice number to be |
Bill Entry details
Failure Prompt
Value " has length less than defined contract '1' - shows that no invoice number has been entered
If the Minimum Value in the Validator was 3, and only 2 digits were entered, the following failure prompt would show:
Value '12' (the figure in the Invoice number field) has length less than defined constraint '3' (the figure in the Minimum Value in the Validator)