You need to create a rule to check that the calculations
on the Other charges page are correct.
Procedure
- On the Datacap Studio Rulemanager tab,
in the Rulesets pane, select the Validate ruleset
and click Lock/Unlock ruleset.
- Right-click the Validate ruleset
and choose Add Rule. Rename the new rule Validate
Other Charge.
- Under the Validate Other Charge rule,
select Function 1.
- On the Actions library tab, expand
the Validations library. Select the CalculateFields action
and click Add to function.
- In the Rulesets pane, select the CalculateFields action.
Then, in the Properties pane, set strParam as
follows:
'Quantity' * 'Unit_Cost' = 'Total'
- Click Save. Then, click Lock/Unlock
ruleset and choose Publish ruleset.