HDL worker object - "The system person type must be employee when the assignment type is E or ET."
Content
When we try to load an employee with worker type = Employee and assignment person type = "Nonworker", this error occurred in the work term object, "The system person type must be employee when the assignment type is E or ET."
However, when we change the assignment person type = "Non-Worker" and rename it in manage person type, it can be successfully uploaded.
In my guess, the "Nonworker" have the same name as the seeded Nonworker worker type, so HDL have wrong interpretation of the person type which caused this error.
Just for reference if anyone encounter this error and this is the workaround.
1