How does it work?

When the batch process is submitted to the queue from the application, it looks for the following parameter:

Note that this parameter is not mandatory.

ProcessingDate

This is the business date that should be used while executing the batch process. See Business Processing Date details above.

When the batch job runs, it processes Payslips with a status of 'pending issue' ('PS2'). As it processes the Payslips, it decides what type of payslip it is based on its components' recipient type. It opens an output file for this payslip type and writes all payslips of this type into this file. Output data files for a particular type are only opened once for each run of the batch process.