Creating the Validate Flight Cost rule

You create the Validate Flight Cost rule in Datacap Studio.

Procedure

To create the Validate Flight Cost rule:

  1. Make sure the Validate ruleset is locked for editing.
  2. Right-click the Validate ruleset and choose Add Rule.
  3. Rename the new rule from Rule1 to Validate Flight Cost.
  4. Rename the default function from Function1 to Validation: Flight Cost.
  5. On the Actions library tab, select the CalculateFields action (also in the Validations library).
  6. Make sure the Validation: Flight Cost function is selected in the Rulesets pane.
  7. Click Add to function at the side of the Actions Library pane.
  8. Select the CalculateFields action and in the Properties pane set the strParam parameter to 'Airfare' + 'Taxes' = 'Total_Cost'. These parameters are the names of the fields as specified in the document hierarchy.
  9. In the Rulesets pane, click Save.