HCM absence complex fast formulas - how to?
Hi,
I've written a lot of PL/SQL but now I'm lost with fast formulas. I want to calculate the real duration of vacation and minus that from given accrual rate (that will be loaded from another system). The basic calculation should go like this:
1. count the total duration of vacation in days = days_between(end, start) <- how do I get those dates? Are they PER_EXT_ABS_DATE_START and PER_EXT_ABS_DATE_END (seems that no)?
2. Find out the amount of public holidays that are during the vacation. How? Normally I'd say 'select count(*) from my_calendar where my_date between start_date and end_date and public_holiday_flag = 'Y'' and that's it. Now that probably don't work?