Symptom
- Unable to initiate onboarding via Add New Hire to Onboarding
- Receiving error: Enter a valid company ID. No country associated with legalEntity: [Affected Legal Entity]
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Go to Add New Hire to Onboarding
- Add the candidate details
- Click 'Initiate Onboarding'
- Error appears.
Cause
There three possible causes for this issue:
CAUSE 1:
The logs shows:
- [key=EMPLOYEE_HRIS_GO_INVALID_FIELD_OR_ASSOCIATION, values=[name.en_UK, LegalEntity]] Messages:[key=EMPLOYEE_HRIS_GO_INVALID_FIELD_OR_ASSOCIATION, values=[name.en_UK, LegalEntity]]
- en_UK field is not configured in Translation/LocalizedData Object Definition
- en_US field is not configured in Translation/LocalizedData Object Definition
CAUSE 2:
There is no country configured for the Legal Entity in Manage Data >> Legal Entity.
CAUSE 3:
The user initiating onboarding for the candidate does not have proper permission for Company under MDF Foundation Objects.
Resolution
SOLUTION 1: Make sure that the user who is initiating the onboarding has a default locale in Settings >> Change Language >> Select a default locale.
SOLUTION 2: Check the Country for the candidate's Legal Entity and make sure that a Country is configured for the Legal Entity in Manage Data >> Legal Entity
SOLUTION 3: Grant 'View, edit, create' permission for Company in the affected user's (initiator of onboarding process) role in Manage Permission Roles >> Permission >> MDF Foundation Objects.
Keywords
Add new hire to onboarding, OBX, ONB 2.0, EMPLOYEE_HRIS_GO_INVALID_FIELD_OR_ASSOCIATION , KBA , LOD-SF-OBX-ADM , Admin UI , Problem