Condition Entry

Enter the condition which must be satisfied here. You may choose to split conditions such as "status_cd = 'ENT' and ledger_cd = 'P'" into two or more parts so that, if any part fails, a separate message can be displayed informing the user of the nature of the failure: that is with separate parts you can display either or both of the messages "Invalid Status Code" or "Invalid Ledger Code", whereas with a single condition you can only display a message such as "Invalid Status or Ledger" code.

For a multi-part condition press <Del> to delete the currentyl displayed part of the condition. You have to do this before beginning to edit this part of the condition. If you want to delete characters, make sure you press some other key first (such as → followed by ←)

You may find it useful to remember the following points when editing formulas:

Mapname

This field only applies to entry conditions.

If you associate a remark (message) with this condition, specify the mapset in which it is stored. If you leave the mapname blank, the remarks mapset of the calling procedure body will be used.

Remark on failure

A message can displayed if any part of the condition fails to be satisfied. Normally you will want a message if the condition is part of a validation (an input validation, for example) but not if it is designed to control program flow (a repeat condition, for example).

Warning only

Enable this option if this part of the condition is for warning purposes only.

More

Enable this option if there is another part to this condition. Disable this option if this is a single-part condition or if this is the last part of the condition.

Continue on failure

This option only applies if the More option is set.

If the first part of a multi-part condition fails, there is no need to evaluate the rest of it. However, you can choose to continue evaluating the condition even if one part of it fails, so that the user is given information about any other parts which fail.