Sigma Online User Manual

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

BE – BillInvoiceNumber 

Ensures an Invoice number with a minimum / maximum length has been added.

Validator Set Up


Variables

VariableDescription
Minimum invoice number length (chars)Enter a minimum of 1 (This will ensure the invoice isn't 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.  An example would be \d* which means a number followed by zero or more numbers.  This would pass 123, but fail A123 or 123A

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)



  • No labels