FMLA Rule
Class Name
com.workbrain.app.ta.quickrules.FMLARule
Overview
In the U.S., the Family Medical Leave Act (FMLA) provides 12 weeks of unpaid leave to qualifying employees who need time off from work to care for their own or an immediate family member's health condition.
The application implements FMLA by using the EMPLOYEE_BALANCE_LOG table. When time taken as FMLA ages out (becomes more than one year old), that time taken is again eligible to be used as FMLA time. The application looks at the date that occurred (WRKS_WORK_DATE - FMLA_OFFSET) days ago and grants back the time that was taken and stored in the EMPLOYEE_BALANCE_LOG for the balance specified. This grant back may either be done "behind the scenes" as purely EMPLOYEE_BALANCE_LOG entries (the default), or as premium records that create EMPLOYEE_BALANCE_LOG entries.
Parameters
Parameter | Description |
---|---|
FMLA Balance Name | Select the balance to be incremented or decremented. |
FMLA Balance Type | Specify whether the selected balance is incremented or decremented. |
FMLA Offset Unit | Defines the unit set for the FMLA Offset Value parameter. Select Day, Week, or Year. Defaults to DAY. |
FMLA Offset Value | The number of units to look back for any FMLA deductions.
The FMLA calculation "looks back" a specified number of units (days, weeks, or
years, as specified by the FMLA Offset Unit parameter) for any changes to the
FMLA balance. As these changes in the balance become old enough, they are no
longer within the 12-month window considered for FMLA. For example, if an
employee took one day off for FMLA 366 days ago, then their current 12-month
window of FMLA taken has changed by one day as compared to the prior day. To
calculate an employee's FMLA balance, the application looks at the
EMPLOYEE_BALANCE_LOG. If the employee has re-earned the FMLA because the time
has expired, then the amount that was originally decremented is added back into
the employee balance.
If the offset is not supplied, the exact date for the previous year will be queried for balance logs. |
FMLA Comment | The comment to be placed in the EMPLOYEE_BALANCE_LOG.EBLOG_COMMENT field for reporting purposes. |
FMLA Premium Code | The time code that is used to change the FMLA balance. When not set, the balance is adjusted behind the scenes by making direct entries to EMPLOYEE_BALANCE_LOG. |
FMLA Balance Ratio to Minutes | This field is only required if the FMLA Premium Code
parameter is supplied and the unit of the balance in FMLA Balance Name is not
minutes, because the application always keeps work details in minutes. If a
balance is kept in other units, enter the ratio to convert the balance to
minutes. If left blank, this field will default to 1.
For example, if the FMLA balance is in days, the ratio could be 480.00 (480 minutes / 60 = 1 day). |