Hello,
I'm trying to create or update an Employee master data but some times I need to put the user code as empty, when I'm trying to set it as 0 it's give me an error
Enter valid code [OHEM.userId]
When I put it as -1 it's updated successfully but when I'm trying to set another employee on -1 I get this error
The user is already associated with another employee [OHEM.userId]
Please advice it's really urgent