I have one doctype named as Employee
I have one doctype named as GroupEmployee which links with Employee. But the link will be set to __global in form.
What have you set in your defaults for the User field?
The defaults for both user link and employee link is unset.