Reviewing the payroll executions, the salary element generated a double earning for two persons. When we checked the reason, we noted that this two employees have two salary entries. One of this entries was entered by the "Salary webpage" (which is the correct action) and the other one was entered manually by the user directly in the "Entries" form.
We can´t delete the incorrect record 'cause the field is protected against updates. We need to know how to fixe the double payment while the employees have two salary entries.
We tried using an API to update the entry but this API doesn´t modify the effective_end_date to finalize the incorrect salary entry.
Hoping your help...