PER Employee Length of Service

Description

Categories
Enginatics
Repository
GitHub
Active employees with calculated length of service in years and months, based on the adjusted service date (or hire date if not set). Shows milestone years (multiples of 5), next service anniversary, age, and current assignment details. Useful for recognition programs, benefits eligibility, and workforce tenure analysis.

SQL 59 lines

Parameters 4

ParameterTypeList of values SQL
Business GroupLOV
haouv.name=:business_group
OrganizationLOV
haouv2.name=:organization
Minimum Service YearsNumber
trunc(months_between(sysdate,nvl(ppos.adjusted_svc_date,papf.original_date_of_hire))/12)>=:min_service_years
LocationLOV
hla.location_code=:location