Im trying set a permission role for an user, but when i try save the document is showing an message and i don’t know what i have to do:
Please set User ID field in an Employee record to set Employee Role
Im trying set a permission role for an user, but when i try save the document is showing an message and i don’t know what i have to do:
Please set User ID field in an Employee record to set Employee Role
In Employee doctype (your_host_name/desk#List/Employee
you should choose/create new Employee) and User Id field, save it and then update User document
After create new employee I cant login by ldap user. Again showing “Please set User ID field in an Employee record to set Employee Role” . My ERP version 11.1.44
Could you help me?
open your Employee document and look for the field User Id
and fill it
Hello, @masud1
You have to go to the employee document which you have created.
There you can find a section called “ERPNEXT USER”, in that field you have to select the user id of that employee and then save the document.
Please refer the screenshot below.
Hope this helps
Thanks & Regards,
Sujay
have you set LDAP Settings in your system?
I’m also using ERPNext 11 with LDAP integration and get this error on login, but as @NMyshukm mentioned, creating the employee and linking it to my User makes the message disappear.
Small question though : is it possible to tell ERPNext to automatically create the Employee when a new User with Employee role is created ?
Small question though : is it possible to tell ERPNext to automatically create the Employee when a new User with Employee role is created ?
Anyone got a solution for automating this?