I included a new field under employee form for NIC number. However, I want the NIC Number to reflect on the salary slip automatically and should be read-only. How do I do this please?
If you are developer, you can easily do this.
Add NIC number in Employee, Salary Structure and Salary Slip.
write script add_fetch to fetch employee number from Employee to Salary Structure and then From Salary Structure to Salary Slip
New Indictrans Technologies Pvt Ltd.
Unfortunately, I’m not. What are my options?
You can read following refernce and do customization on your own.
New Indictrans Technologies Pvt Ltd
Add this line in your js file.
add_fetch(link_fieldname, source_fieldname, target_fieldname)
link_fieldname : Employee Link Field Name in Salary Slip Doctype
source_fieldname : Source Field Name from Employee Master
target_fieldname : Target Field Name in Salary Slip Doctype