Caution when Payroll considers Appointment History is turned on
The option Payroll Consider Appointment History in Payroll Module Setup, Payroll tab considered the Salary by, Salary and Allowances defined in Appointment History all the time (based on payroll period). i.e. Payroll generation will NOT consider the Salary and Allowances defined in Salary Info tab but the corresponding Salary and Allowances in Appointment History tab in Employee Master, Appointment history tab.
You can run the Salary Info SI vs Appointment History AH Integrity Check in (System Manager > Integrity Check) to check the correctness of Appointment History.
Otherwise, turn it off will let the Payroll Generation generated payroll based on the Salary defined in Salary Info tab.
If the integrity check return the mismatches, please update the Appointment History of those employees before generate Payroll Batch.