Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Retirement

edited Dec 15, 2019 10:21PM in Reporting and Analytics for HCM 8 comments

Summary

Eligible to Retire

Content

To be eligible for the pension plan an employee has be to be aged 65 or meet the “magic 80” rule which is the employees’ start date + age = 80.

I wrote a report to determine who would be eligible in less than one year, 1-less than 3 years, 3-less than 5 years and 5+. I calculated it on SQL_TSI_month but it rounded up so I want to calculate using SQL_TSI_day but I am having trouble making a formula work.

My formula for 1 Year to Less than 3 Years using months was:

case when   ((960 -(TimestampDiff(SQL_TSI_month,"Worker"."Employee Date Of Birth",CURRENT_DATE)+TimestampDiff(SQL_TSI_month,"Worker"."Person Start Date",CURRENT_DATE))) /2) <12 or  (780-(TimestampDiff(SQL_TSI_month,"Worker"."Employee Date Of Birth",CURRENT_DATE)))<12  then null   

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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