Symptom
How to configure a time sheet validation rule to restrict more than one allowance entry or recording of a particular time type to be recorded per week?
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors Employee Central - Timesheet
- SAP SuccessFactors Time Tracking
Resolution
General direction is to create save rule for Validate purpose on Employee Time Sheet object, and within this rule, Cardinality() function can be utilized to count the total number of the allowance or recording entry and then raise error if a threshold is reached.
Below is just one sample using allowance as example. You can further adjust according to your business requirement details.
1. In Admin Center > Configure Business Rules, create a business rule using Basic rule scenario and then Employee Time Sheet as Base object.
2. Go to Admin Center > Configure Object Definitions then open 'Employee Time Sheet' object definition. Click on Take Action and assign the rule under Save Rules section then save the changes.
In the sample rule configuration above, system will validate if there are already 2 or more Extra Allowance entries recorded for the time sheet week.
See Also
Keywords
Time sheet, Employee Time Sheet, Validation, Rule, Allowance, TMS, EC, recording, cardinality, validate, prevent, entry, cardinality, count, number , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR , Time Tracking , How To