- need to steps to create the same.
The thing I understand from your question is that you need to create an employee and then show all the records for that employee?
Continuing from previous reply…
Create an employee and assign the user to the employee; don’t check the “Create User Permission” checkbox.
Once the employee is created go to the User doctype and select the user which you have selected in Employee in my case test@example.com
In the Roles and Permissions tab, select the roles that you need to assign to the user.