Symptom
When creating a purchase leave, the deduction start date field in the UI should be defaulted with a specific date. An onInit rule is configured for the same in the object Time Account Purchase.
Environment
- SAP SuccessFactors Employee Central : Time Off
Reproducing the Issue
- In configure object definition -> time account purchase object, create and assign a rule to set deduction start date to any date
- The rule should be assigned as an oninit (Initialize rule)
- The rule does not trigger when an employee tries to create a new purchase leave
Cause
- Currently this feature is not supported in the purchase leave UI
- OnInit rule cannot be used to set the deduction start date field value
Resolution
- A work-around is to use time account purchase validation rule to set the value of the field as per the document
Creating Time Account Leave Purchase Rules for Setting Dates and Quantities
- This will set the value of deduction start date to the desired date on save of the purchase leave
Keywords
Purchase leave, onChange rule, onInit rule, default, set, deduction start date, time off, employee central , KBA , LOD-SF-EC-TIM-TA , Time Accounts (TAT, TA, TAD) , Problem
Product
SAP SuccessFactors Employee Central 2205 ; SAP SuccessFactors HXM Suite Core 2205