Example: Track Balances Rolling Forward for Coordinated Leaves and Time Off
This example illustrates how to use the
First Day of Active Leave Balance
Period or Leave Request
report field in calculated fields within leave
types to track balances rolling forward for coordinated leaves and time off. This helps
ensure that events that cross periods are linked to the correct period.Your organization wants to track balances for Family or Medical Leave of Absence
(FMLA) leave taken by measuring forward from the first day of leave.
Create an FMLA leave type.
Security:
- Custom Field Managementdomain in System functional area.
- Set Up: Leave of Absencedomain in Time Off and Leave functional area.
- Access theCreate Calculated Fieldtask.Create a calculated field that extracts the start date from the leave request event.
- Enter these values:FieldValueField NameRolling Forward - Start DateBusiness ObjectLeave Request EventFunctionBuild Date
- ClickOKand enter these values on theCalculationtab:FieldValueExtract Year from Date FieldFirst Day of Active Leave Balance Period or Leave RequestExtract Month from Date FieldFirst Day of Active Leave Balance Period or Leave RequestExtract Day from Date FieldFirst Day of Active Leave Balance Period or Leave Request
- ClickOKandCreate Another Calculationto create a calculated field that extracts the end date.
- Enter these values:FieldValueField NameRolling Forward - End DateBusiness ObjectLeave Request EventFunctionIncrement or Decrement Date
- ClickOKand enter these values on theCalculationtab:FieldValueDate FieldRolling Forward - Start DateYears to Add or Subtract1Days to Add or Subtract-1
- ClickDone.
- Access theEdit Leave Typetask and select the FMLA leave type.
- Select theBalance/Leave Takentab and enter these values:FieldValueTrack BalanceSelect this check box.Balance Calendar Start DateSelect the newRolling Forward - Start Datecalculated field.Balance Calendar End DateSelect the newRolling Forward - End Datecalculated field.Unit of TimeDays
Example results:
Rachel began her FMLA leave on 2021-07-01 and is using it intermittently to care for her
spouse. Rachel asks for an update on how much leave she has left on 2021-08-01. You
can use the
Leave Results for Worker
report to find out how
much leave she used between 2021-07-01 and 2021-08-01. Rachel has until 2022-08-01
to use her entire 12 weeks. So far, she only used 2 days, so she has 58 days
left.