We are currently experiencing an issue with calculating the salaries of new employees who join in the middle or at the end of the month. The system is currently calculating the full amount instead of prorating it. Have you found a solution to this issue? If so, please let me know.
ERPNext does pro-rate salary computations based on the Date of Joining.
Assuming the date of joining is accurate, make sure you enter the same date in the Salary Structure Assignment when you are creating it for the first time. ERPNext pro-rates the pay counting number of days worked in the first from the date of joining.
I did this and added the same date in the salary structure assignment. But it’s still calculating the full amount and not deducting the amount for the days before his joining date.
Yes, it is checked.
This is strange behaviour. If your site is hosted on FC, I’d advise you raise a Support Ticket.
I think now I have to raise a support ticket.
Yes, we found the solution.
Solution:
If a person joins on October 15th and you want to process their salary at the end of the month, you simply need to create the payroll entry from 1-10-2024, to 31-10-2024. After that, generate the payslip. The system will automatically prorate the salary calculation based on the number of days worked since their joining date.
Although this is a bug in ERPNext, it is currently the only solution.
Yes, it is