I want to get a employee name from employe doctype?

Hi
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')

Read more here,
https://kb.frappe.io/kb/customization/fetch-custom-field-value-from-master-to-all-related-transactions

3 Likes

i have same issue
can you please share agin this link
because link not work

Can you explain the issue

i have create one custome doctype i.e ‘welcome activity’ create fields in it & want to fetch data from employee doctype employee name but how i fetch employee name

add this script to the new field in the new doctype

cur_frm.add_fetch('employee_name', 'full_name', 'full_name')