IBM Datacap, Version 8.1            

Creating the recognition rule for the grid total

You need to create a recognition rule for the total amount that is listed as the sum of all the line item totals. You can then compare this total with the sum you get for the line item totals.

To create the recognition rule for the grid total:

  1. Right-click the Recognize ruleset and choose Add Rule. Rename the new rule Recognize Grid Total Field.
  2. Under the Recognize Line Item Grid rule, select Function 1.
  3. On the Actions library tab, expand the Locate library, select the FindLastRegEx action, and click Add to function.
  4. In the Locate library, select the GoRightWord action and click Add to function.
  5. In the Locate library, select the UpdateField action and click Add to function.
  6. In the Rulesets pane, select the FindLastRegEx action. Then, in the Properties pane, set strParam to Total.
  7. In the Rulesets pane, select the GoRightWord action. Then, in the Properties pane, set strParam to 1.
  8. Click Save and then click Lock/Unlock ruleset and choose Publish ruleset.


Feedback

Last updated: November 2013
dcadg161.htm

© Copyright IBM Corporation 2013.