BusinessProcessRoutePointRef.OnExecute
Syntax:
Parameters:
<RoutePoint>
A business process route point in which completion check is executed.
<Task>
A task being executed.
<Cancel>
Task completion cancel flag. If you set True value of the given parameter in the body of the procedure-handler, the task will not be executed.
Default value: False.
Description:
This handler allows, in particular, to check if required conditions of task execution are met (such as document posting, approval of a discount on an invoice, approval mark and so on).
Note:
Is called only when the last task, corresponding to the given point of the given business process, is executed.