Skip to Content
0
Former Member
Nov 28, 2011 at 04:31 PM

Add/Update Employee and put the ApplicationUserID (User Code) empty

392 Views

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