Calculating hours eligibility
The Hours Eligibility is the number of worked hours that qualify for a leave of absence. The Service and Hours Eligibility can be calculated simultaneously or separately when determining eligibility.
See, Calculating service eligibility for leave of absence.
Here are the details for determining whether the Hours Requirements are met:
- If the Minimum Service Hours is not specified, then Hours Requirement Met is set to Not Applicable. No further checking is required.
-
If the Minimum Service Hours is specified, determine the begin date for
finding service records to calculate the total eligible hours:
- If the Date Range Option is equal to the Service Date, use the Begin Service Date Eligibility parameter.
- If the Date Range Option = Prior 12 months, use the Beginning of Leave Date and subtract 1 from the year.
- If Date Range Option equals the Date Range specified, then use the beginning date from the date range parameters.
- If no Begin Date is found based on the parameters, then Hours Requirement Met is set to Cannot Determine. No further checking is required.
-
If the Minimum Service Hours is specified and a Begin Date exists,
determine the end date to calculate the total eligible hours:
- If the Date Range Option = Service Date, then there is no end date. All service record hours after the Begin Service Date are counted.
- If the Date Range Option = Prior 12 Months, there is no end date. All service record hours after the Begin Service Date are counted.
- If the Date Range Option equals the Date Range specified, then an Ending date can be specified. If an Ending date is specified, service records must fall within the date range. If no Ending Date is specified, then all service record hours after the begin date are counted.
-
Find the hours to count for the minimum service hours. Get the Service
Records for the resource that meets this criteria:
- The Service Code is a member of the Service Class eligibility parameter. Note: The Service Codes that belong to a Service Class are defined on Service Relationships.
- The Service Code to Service Class Relationship has the Hours Option set to Include or Subtract.
- The Service Record Date falls within the range of dates as determined in Steps 2 and 3.
- For the selected Service Records, add or subtract the Hours value from the total amount based on the Hours Option on the Service Relationship.
- Eligibility parameters: If the total calculated hours is greater than or equal to the Minimum Service Hours, then Hours Requirement Met is set to Yes. If the total calculated hours is less than the Minimum Service Hours on the parameters, then Hours Requirement Met is set to No.