Task Level (Magic xpa 2.x)
In the Task level, you can specify operations that the engine executes at the beginning and at the end of the task.
The operations stored in the Task Prefix logic unit are for the task’s initialization procedures.
This logic unit is executed only once at the beginning of each task, before reading the first record from the data source.
Task Prefix operations are often used for printing report headers and initializing local fields.
The operations stored In the Task Suffix logic unit are executed at the end of the task.
This logic unit is executed only once at the end of each task, after the connection to the data source has been closed.
Task Suffix operations are often used to update parameters for a calling task or to print report totals.