Symptom
- When inserting an event via the new Quick Actions, the FTE is changed from 1 to 0, when FTE is calculated by an onChange Business Rule.
- The customer has an onSave Job Info business rule comparing the current FTE with the previous FTE. When performing save, the value retrieved for the current FTE is null.
- On save rule trace results shows that current FTE value is retrieved as null by system, while previous FTE value is retrieved correctly.
- FTE value changes to null or zero
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Proxy as employee A.
- Go to My Teams, access employee B.
- Go to Actions and Change Location and save.
- Go back to the user B and notice that the job history shows an FTE change to 0.
Cause
- In order for the FTE to be calculated by a Business Rule while using Quick Actions, the rule must be triggered as an onSave Rule.
If the FTE field is not visible to the logged-in user for UI transactions such as Quick Actions, the application will reset the FTE value to null so that it is recalculated. This recalculation will be done by the system logic or an onSave Business Rule. If you are not using the standard logic or an onSave rule to Calculate FTE but using an onChange business rule, this will not be triggered for the recalculation of FTE via Quick Actions and the FTE will remain null.
Resolution
- To resolve the issue please also trigger the FTE Calculation Business Rule as onSave on Job Information via Manage Business Configuration.
- Note that even for onSave trigger rule, the 'current FTE' value will be fetched/retrieved as null if the logged in user has no view access to FTE field. Only 'previous value of FTE' field can be retrieved if logged in user has no view access to FTE field in Job Information via onSave rule.
- Further information on the calculation of FTE can be found in the guide: Implementing Employee Central Core - Calculating FTE
Keywords
KI2311, 2H2023, b2311, Quick Actions, FTE change to 0, FTE, My Teams, INC6522107, onSave, Job Info business rule, comparing the current FTE with the previous FTE, the value retrieved for the current FTE is null, on change rule , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-JOB-UI , History UI & MSS UI , Problem
Product
SAP SuccessFactors Employee Central 2311