Hi friends,
i want a display a DOJ of an employee from employee doctype to salary slip doctype(i created a DOJ field in salary slip,it is readonly property)
cur_frm.cscript.date_of_joining = function(doc,cdt,cdn){
doc.date_of_joining = doc.date_of_joining;
refresh_field(‘date_of_joining’);
}
This is correct way to display DOJ of an particular employee in salary slip