Test invoice field validation methods

Use the procedure in this topic to test an invoice field validation method.

Configuring an invoice field validation method involves several fields. When testing this validation method, you must enter data for multiple fields to simulate invoice extraction and validation.

During testing, the values in the Test Value column use the settings defined in the standard amount formatter. If you did not modify the standard amount formatter, ensure that your test values contain a decimal point and two decimal places. For example, use 2.00 or 2,00. If you do not match these requirements of the formatter, testing could generate errors.

During production, the validation formatting assigned to the extraction fields is used.

Procedure

  1. On the Project tab, in the Configuration group, select Project Settings Project Settings icon.
  2. Select the Validation tab to view the validation settings.
  3. Select the multi-field script validation method to test and select Properties Properties icon.

    The validation method properties window is displayed.

  4. In the Required Fields group, enter sample data into the Test Value column for the corresponding fields in your script.
  5. In the Testing group, select Validate Valid Field Result icon.

    A message is displayed below the Validate button with the results of the test.

  6. Modify the validation method properties until you are satisfied with the test results.
  7. Select Close to save the validation method properties.
  8. Optional. Select OK to close the Project Settings window.
  9. Save the changes to your project.