Skip to main content
CCH Software User Documentation

Pre-Defined Logic Tests

Product Help Banner.png

 

A Predefined Logic Test is a complex condition that can be created and maintained in one place and referenced from any number of other conditions.

A Predefined Logic Test is a complex condition that can be created and maintained in one place and referenced from any number of other conditions.

To view and maintain the predefined logic tests, select the Predefine logic tests from the list of Master Options. The system displays a list of any tests that already exist.
clipboard_e4308b47044a7d884a0c241d3ef7381d1.png

Maintaining Predefined Logic Tests

  • To add a new test, click on [Add] and the add/edit dialog will appear:
  • Enter a unique code for the test, a name and the condition. The condition is entered in exactly the same way as any other condition and can include references to other predefined tests. See page 87 for information on defining conditions.
  • You may edit existing tests using the [Edit] button and remove them using the [Delete] button.

Referencing a Predefined Logic Test

Once you have defined a logic test, you can reference it on any condition you define. You can enter a reference to the logic test manually by entering the identifier PIF followed by the test code e.g. PIFPIF01.
clipboard_e7da3a7a188cfe07dadda5f0384707868.png

Alternatively, you can select a predefined logic item using the [Select item] option. A list of predefined logic tests appears to allow you to pick the test you require.
clipboard_e70af8e1f5e614772e0a9ca3928146183.png

Double-click on the logic test to be inserted.

There is no condition to test because the logic will evaluate to either True or False, so it stands on its own. If you wish to enter the equivalent of “PIF_200=False”, negate the tests by inserting NOT in front of the item, e.g. “NOT PIF_200”.

 

  • Was this article helpful?