How to fetched reports to user email id

i have create field ‘reports to person’ field which fetched login user ‘reports to’ user from employee now i wan to that fetched ‘reports to’ user email id and set in to ‘Reports to person Email Id’ field because i have create notification on lead to send notification on this email id

image

  1. In the Employee Master there are option to link user with Employee Field name is " “User ID” system user will link here and email address will store here.

  2. Email address of employee save in the field “Personal Email” or “Company Email”

Now, here is your choose which option you select.

To fetch value from the field employee list

Go to Customize form of your doctype and in the “Reports To Person Email ID”

Put in the fetch from section
[fieldname_of_Reports to Person field].[fieldname of employee doctype from where you want to fetch value e.g user_id, personal_email, company_email]