Symptom
We have created an onInit rule to default the 'Is Primary' dropdown to 'Yes' for National ID Information. This works in the Add New Employee Wizard but does not work for rehires or users who already have National ID info saved in the database. It is not possible to add a Card Type for any row other than the existing row. This is also known to occur in PP3-enabled Instances and v12 Instances are not exhibiting the same behavior.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.“
Environment
Employee Central – National ID Information
Reproducing the Issue
1. Rehire Inactive Employee.
2. Choose a user.
3. Click add on National ID Information Section of the Wizard.
4. Observe that it is not possible to add a card type for the extra row.
Cause
The "Always True" onInit rule breaks the extra rows when there is data already saved to the database for National ID.
Resolution
Remake the rule as shown in the below screenshots:
OPTION 1:
IF Employee Information. National ID Information. Is Primary is equal to No
THEN Set Employee Information. National ID Information. Is Primary to be equal to Yes
OPTION 2:
IF Employee Information.Biographical Information.Person Id is equal to Null
THEN Set Employee Information. National ID Information. Is Primary to be equal to Yes
This fixes the issue:
FYI, this rule will trigger in the add new employee once you click 'Add'.
FAQ - Additional Information
Q) Where can I get information on this from the Guide?
A) Guide:Implementing Employee Central Core - Chapter:- Additional Information for National ID
Chapter: Guide: Managing Mass Changes in Employee Central - Chapter-Using Temporary National ID While Hiring an Employee
See Also
- 2456957 - How to default National ID Information fields in the Add New Employee wizard
- 2977339 - How To Configure Onchange Rule To Set one Field to Required When Selecting National ID Card Type
- 2601647 - Is it possible to add National ID deep validation to custom national IDs?
- 2668688 - National ID Card: How to create custom Regular Expression and Display Format
- 2093378 - National ID validation issues - Employee Central
Keywords
National Id Information, Is Primary, Business Rule, onInit Business Rule, Default Is Primary to yes, Add New Employee, Rehire Inactive Employee, Manage Pending Hires, ECT-112018 , KBA , LOD-SF-EC-PER , Person Data (All Person Data Types) , LOD-SF-EC-HIR , Hire & Rehire Wizards , Problem