Symptom
A Customer has a requirement to Auto-generate the external code upon creating a new Benefit.
Environment
SuccessFactors Employee Central Global Benefits
Reproducing the Issue
1. Go to Benefits Admin Overview Page.
2. Create a new Benefit
Resolution
To auto generate the external code for a benefit object you need to create 2 rules.
1. An OnInit Rule that will set the value for the temporary ID of the benefit Object.
2. an OnValidate Rule that will set the value for the external code permanently.
The Image/s below came from a demo instance, any resemblance to a live customer data is purely coincidental.
OnInit Rule:
OnValidate Rule:
NOTE: In case you wanted to know more information on how to add a proper "Set" statement to auto generate the code please refer to this KBA:
2502254 - Auto-generate Incremental External Code on MDF Object.
See Also
Keywords
ExternalCode, Benefit. , KBA , LOD-SF-EC-GBF , Global Benefits , Problem