You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How can we get leave duration in a period for a specific leave type?

edited Jan 14, 2021 7:17AM in Workforce Management 1 comment

Summary

Leave Hours in an accrual period

Content

Hello,

We have a requirement to prorate fortnightly accrual based on Leave without Pay hours taken in the fortnight when the accrual is run.

E.g If if an employee is on LWOP for a duration of 40 hours of which 16 hours fall in the current fortnight, accrual should get prorated based on eligible work hours for that fortnight. I tried getting duration using the following FF but what i get is 40. Expected result is 16.

DEFAULT FOR IV_ACCRUALPERIODSTARTDATE IS '4712/12/31 00:00:00' (date)
DEFAULT FOR IV_ACCRUALPERIODENDDATE IS '4712/12/31 00:00:00' (date)
INPUTS ARE IV_ACCRUALPERIODSTARTDATE(date),IV_ACCRUALPERIODENDDATE(date)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!