Symptom
How to use Round() function in an accrual business rule? For example: During Termination or Period End Processing.
Environment
SAP SuccessFactors Employee Central - Time Off
Resolution
- If you have a requirement to round the days accrued for an employee, for example during Termination or Period End Processing, you can use the Round() rule function in a business rule. And you want the value to always round up and not down (when decimal value is below .5) then set the following in the business rule:
- Use Precision = 0 to round to whole numbers
- Use a low Threshold value like 0.001 if you always want to Round Up
- Example Termination rule assigned to the Time Account Type:
Here is some more information on the Precision and Threshold settings Round
Keywords
Time Off, Accruals, Round Up function, Round, SuccessFactors, Employee Central , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions