Human Capital Management Blog Posts by Members
Gain valuable knowledge and tips on SAP SuccessFactors HCM suite and human capital management market from member blog posts. Share your insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
rc0702
Explorer
0 Kudos
202

Business Requirement: 

To only allow application of unpaid leave if there's no more annual leave balance left.

Prerequisite:

  • Time Profile with the related Time Types has been created
    • Annual Leave Time Type has already been created
    • Unpaid Leave Time Type has already been created

Resolution: 

This can be achieved by creating a validation rule that checks the remaining balance of annual leave and restricting application of unpaid leave.

Create message definition:

image.png

 

Here, we'll be creating the error message where system displays the remaining annual leave balance. Alerting users to use them instead.

 Create Validation Rule:image.png

 

 

We create a variable to check & store the remaining balance of annual leave time type as of unpaid leave application date. If there's still balance left, error message displays. 

Assign this validation rule to Unpaid Leave Time Type

image.png

 

 

Testing:

  • Assign Time Profile to employee
  • When employee applies unpaid leave but still has remaining annual leave balance, system should restrict applicationimage.png

     

     

Employee still have 10 days Annual Leave Balance.

image.png

 

 

Employee cannot proceed to unpaid leave application as there's still Annual Leave balance left. Remaining balance is also displayed.

 

Labels in this area