Accrual formula not changing contexts for assignment ID
SummaryAccrual formula not changing contexts for assignment ID
We have a requirement that people on multiple assignments should accrue annual vacation leave on their respective assignments.
Moreover, these employees accrue hours based on the number of hours they have worked in each assignment.
Ex: If Assignment 1 works 50% of their scheduled hours, they accrue vacation on the 1st assignment.
Similarly, if Assignment 2 works for 50% of scheduled hours, they accrue vacation on 2nd assignment.
In the accrual formula, to check the number of hours worked, we are checking the hours entered against the regular hours element by making use of the below code snippet