I Want To get a employee name from employee doctype…In This below image captured a EMP/0001 But I Want To captured a employee name…
employee_name is the field in employee doc type but unclear what you are trying to do here. This also looks like a much older version, not sure if that field is right in the version you are using.
Create one more field called full_name and use custom script
cur_frm.add_fetch('employee_name', 'full_name', 'full_name')