The PreCommit Method

Previous Next

See Also

The internal Rules Engine PreCommit method performs the same checks as the Rules Engine when issuing a commit, without actually performing the commit. The syntax is:

SELECT RulesEngine.PreCommit('[generate error]')

If there are no violations, 'OK' is returned. Otherwise, the relevant error message is returned.

The 'generate error' parameter is optional. If it is set to 'Yes', any errors that occur are not returned, but processsed as errors. The default is 'No'.