We maintain leave quotas in hours.
We have a common 12-hour work schedule assigned to all our employees. But employees work in different hour shifts. Some work for 8 hours/day, some for 9 hours/day, some for 10 hours/day, so on. Employees change their shifts very often as well
When employees apply for leave, they are requested to enter their current schedule, i.e. hours/day as well. If they take a leave for three days and enter 9 hours/day as their schedule for those leave days, then only 27 hours should be deducted. (not 12*3 = 36).
We use Fiori for leave entry, so adding a custom field for entering users current workhours/day easily done.
But how to ensure that only user entered current schedule is considered for deduction? Any suggestion is highly appreciated.