Customization of Salary Slip

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

Regards,
Sambhaji Kolate,
New Indictrans Technologies Pvt Ltd.

Unfortunately, I’m not. What are my options?

@Keep_Moving_Sales

You can read following refernce and do customization on your own.

Add New FIeld/Customize Form
Add fetch value from one form to another

Regards,
Sambhaji Kolate,
New Indictrans Technologies Pvt Ltd

@Keep_Moving_Sales

Add this line in your js file.

add_fetch(link_fieldname, source_fieldname, target_fieldname)

Description:

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