Handle reversals in custom report in Payslip Extract
Summary
Achieve Generate Payslip functionality for reversals in custom reportContent
We have created a report based on the xml from Generate Payslip Extract and added our custom report to Seeded Payslip Extract's delivery option.
For a person x, payroll is run and then reversed, so the expectation is, this person should not be displayed in our custom report as similar to the 'View Payslip' section, where this employee do not have the Payslip generated as his payroll had been reversed completely.
But our custom report pulls this person in the output as the Payslip Extract's output xml has this person and we checked the Payslip's seeded report too, there is no particular condition to handle this scenario and exclude this employee.
Tagged:
0