Updating Records and only running if ..

There may be occasions where you only want the script to run if a certain criteria is met.

You can automatically run a script from various parts of the system and this is a cool way of updating card only is details are missing.

Currently the list of 'actions' are:

MAILOK If client has a valid e-mail address
INSUOK If client has valid Insurance details
MOBILEOK If client has a valid mobile telephone number
TRANSACTION OK If a transaction is current
If the above are used and the criteria met the script will silently exit.

The [GOTO tag can also be used to control this by looking at some of the reserved words.



Note: When mailok, insuok and mobileok are used - normally if the protocol is called automatically or via AP they will cause the script to exit if set - they will NOT exit if called via the pr'O'tocol menu option.

See also HEADUP to stop the screen being cleared when not needed.


  • GROUP XXX

    The [group xxx ] is used to limit the report to only running if the user is a member of group. It can handle multiple groups by [group xx || yy || zz ] etc. As there can be up to 9 groups it has been simplified by using the ! symbol for NOT. You can limit to everyone except vets by [group ! vet].