Absence - Fast formula Global Absence Type Duration - include Half day in the calculation of duratio
Summary
Absence - Compute absence duration in Fast formula with the function GET_PAY_AVAILABILITY - Half day not managed by the functionContent
Context : Absence unit of measure = day. Half days are allowed.
For specific reason, we have added a conversion formula to calculate the absence duration (include non working days...). In this formula we use the function : GET_PAY_AVAILABILITY. As in the example below:
ln_unrounded_duration_d1 = GET_PAY_AVAILABILITY (lc_asg_resource_type, ld_period_start_date, ld_period_end_date, lc_use_sch_asg_y, lc_use_sch_inh_y, lc_include_noshift_y, lc_include_calevents_y, lc_calc_units_d)