Professional Documents
Culture Documents
workHours = 40
J=1
change_contexts(EFFECTIVE_DATE=IV_CALEDARSTARTDATE)
(
workHours = PER_ASG_NORMAL_HOURS
)
J=J+1
IV_EVENT_DATES[J] = IV_CALEDARSTARTDATE
HOURS_ARRAY = PER_HIST_ASG_NORMAL_HOURS
K = HOURS_ARRAY.FIRST(-1)
return IV_EVENT_DATES
2) Create a formula of type “Global Absence Accrual Matrix”. Event dates from the previous formula
and accrual rate for each of those dates is made available to this formula as inputs. A sample
formula that handles FTE changes is listed below:
change_contexts(EFFECTIVE_DATE=IV_ACCRUALPERIODENDDATE)
(
current_fte = PER_ASG_NORMAL_HOURS/40
)
return accrual,ceiling,carryover,adjustmentvalues,adjustmentdates,adjustmenttypes
3) Create an Accrual Plan. Name must match the Formula name defined for “Global Absence
Accrual Event”
4) Enroll an employee as of 1/1/2014. Employee FTE is 1.0. Employee is granted full entitlement of
180 hours as per plan setup
5) As of 6/1/2014, update working hours to 20 from 40 thus making the FTE 0.5.
6) Run accrual for 6/30/2014 and verify an adjustment is made for the change in working hours