Symptom
The time account accruals of a newly hired employee are prorated based on the month in which he/she is hired. The accruals should be rounded off to the nearest 0.5 day as the employee can either book a full day or a half day time off only. How to round down to multiples of 0.5 values.
Example: If the calculated prorated value is 18.3, the rule should post as 18 and if the value is 18.8, it should be rounded down to 18.5.
Environment
SuccessFactors
Employee Central
Time Off
Rules
Reproducing the Issue
Login as an Admin and Go to New Hire’s profile. We see that the accrual is set to 18.3. It should only show as 18.
The proration rule is configured as below:
Resolution
To round down the value to 0.5 multiples, please update the rule as below:
With the above logic, the value 18.3 will be rounded down to 18 and 18.8 to 18.5.
Calculation example#1: Round(Minus(18.3,Modulo(18.3,0.5))) => Round(Minus(18.3,0.3)) => Round(18.0). With precision 1, the value will be 18.0
Calculation example#2: Round(Minus(18.8,Modulo(18.8,0.5))) => Round(Minus(18.8,0.3)) => Round(18.5). With precision 1, the value will be 18.5
Note: This applies to all the areas where the rules can/ned to be used to round down to 0.5 levels and is not limited to just Time-off. This example was just taken for ease of explanation.
With the above logic, the postings will always be in multiples of 0.5.
Keywords
Rule
Round down
0.5 multiples , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , How To