Leave Duration
Dear Expert
When a Mid-night worker applies for leave the system didn't exclude the duration from the accrual balance worker shift details (StartTime 10 PM /EndTime 6 AM)
We write a conversion FF to convert the hour into day since the client requirement to round every 8 hours from personal leave into 1 day from accrual balance and the below formula handled the customer requirement for all workers except the Mid-night worker only
please suggest an idea of how to handle midnight workers
/**************************************************************************
FORMULA NAME: XXX_HR_CONVERT_HOURS_TO_DAYS
FORMULA TYPE: Global Absence Plan Duration
AUTHOR: SC HCM Team
DATE: 02-Apr-2022
Updated By: Software Consultancy HCM Team