Symptom
When attempting to correct hire date via hire date correction tool and click on save, error pops up. The error message is "cannot invoke "String.equals(Object)" because the return value of "com.successfactors.hris.api.bean.eo.IEmpEmploymentInfoEO.getAssignmentType()" is null".
Environment
SAP SuccessFactors Employee Central
Cause
The user has a concurrent assignment which has been soft purged and its assignment type is null.
To find the affected ID, follow the steps:
- Go to Data Inspector and open Table_PER_PERSON
- Filter by Person ID External and add the person-id of the affected user (available in Biographical Information portlet)
- Take the Person ID value (internal one available in one of the columns)
- Open Table_EMP_EMPLOYMENT_INFO
- Filter by Person ID and find the one with Is EC Record value = 0
- Copy the User Sys ID and open Table_USERS_SYSINFO
- Filter by User Sys Id to confirm. If username displays "PURGED_RECORD_" in the beginning, this is the one that must be purged.
Resolution
Perform hard purge for the assignment without assignment id.
- Go to Data Retention Management
- Access System Identifier Purge
- Select Purge inactive users listed in a CSV file
- Download the file and fill it with the affected user ID.
- Upload it and proceed with the hard purge.
See Also
KBA 2392076 - Permanently deleting users (Hard Purge)
Keywords
Cannot correct hire date, assignment type is null, soft-purged user, concurrent assignments soft purged, hire date correction error, error preventing hire date correction, IEmpEmploymentInfoEO.getAssignmentType()" is null , KBA , LOD-SF-EC-HIR-HDC , Hire Date Correction Tool , How To
SAP Knowledge Base Article - Public