Hi @Troodles ,
You certain want to create a custom view and using the IFS ‘Reminder_Special_Events_Sub’ view as your starting point makes perfect sense. I attached the portion of the IFS view I’ve modified to return Jubilee Dates from every 5 years to every 2 and 5 years. Then add a filter in the data source on the years column so only to the return years 2, 5 and 10.
Of course you’ll need to create a your own data source and element design for your lobby to consume.
In my custom view of ‘Reminder_Special_Events_Sub’ I changed the line in the Jubilee part of the query in the where clause
from
AND ((trunc(months_between(sysdate-1,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*5)) < trunc(months_between(sysdate + 360,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*5))
to
(trunc(months_between(sysdate-1,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*2)) < trunc(months_between(sysdate + 360,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*2))
OR trunc(months_between(sysdate-1,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*5)) < trunc(months_between(sysdate + 360,Emp_Employed_Time_API.Get_Date_Of_Employment(cp.company_id,cp.emp_no)) / (12*5)))
Regards,
William Klotz
Thank you William, that looks just what we need .
Regards
Trudy