We understand the changes made to Salary Structure, the introduction of doctypes Salary Detail and Salary Component. However, we notice that on Salary Slip, the old way of Salary Slip Earning and Salary Slip Deduction remains.
We would like to check, if this will be consistent moving forward, especially with regard to Salary Slip. We currently have some customizations, between Salary Structure and Salary Slip, which needs to be edited, with regard to the current changes. Thus, we would like to check if there would be any more similar changes to Salary Slip, so that we can edit our customizations, to prepare for version 7.
I am really unable to understand the new changes in the HR salary in V7 2 new tables have been introduced namely “Salary Component” and “Salary Detail” but the old tables are also there and this is kind of creating a confusion at my end as to what purpose the 2 new table serve.
I would like to understand as how the changes are being incorporated so that I could make my changes accordingly.
I thought that with the new tables old tables would be deleted namely:
Salary Component should have subsumed Salary Structure Earnings and Salary Structure Deductions tables and similarly Salary Detail should have subsumed Salary Slip Earnings and Salary Slip Deductions Table am I missing something since I don’t see these tables being deleted.
And also the 2 new tables Salary Component and Salary Detail are also existing which is creating a lot of confusion as to which tables the team plans to keep and which ones are to be removed.
Can you please help me understand or is it an oversight that these tables are still there as I am utterly confused.
Thanks for pointing out those json files, I will delete those files from the repo in the next release. And I will write a new patch to delete those doctypes, if new doctypes already imported.
@nabinhait I have just noticed that the patch to rename tables to salary component does not copy the custom fields values (if any) in the old tables to the new table Salary Detail
In my DB the custom fields were showing in the Salary Details’ customize form view but were not created and also their values from the old table were not copied.
So I would suggest that you take caution before deleting the old tables from the database totally.