Entitlement Calculation for Paid Vacation

You can use formula CH_AB_VAC_ENTCALC1 to calculate entitlement paid vacation. The formula calculates entitlement monthly and prorates entitlement when a payee works less than a full month. It automatically increases entitlement for new hires and grants entitlement annually for existing employees.

The formula does the following:

  1. Calculates entitlement for the current month, taking calendar segmentation into account. It prorates entitlement based on calendar days and stores the result in the month-to-date accumulator CH_AB_VAC_ENTMONTH.

  2. Calculates entitlement for the remaining months of the calendar year and stores the result in the variable element CH_AB_TEMP2.

  3. For the last slice or segment in the calendar, the formula does the following:

    • Calculates the new annual entitlement by taking the entitlement for the current month (CH_AB_VAC_ENTMONTH) and adding to it the entitlement for the previous month (stored in the year-to-date accumulator CH_AB_VAC_MONSUM) and entitlement for the remaining months of the year, until year-end or the payee's termination date (CH_AB_TEMP2).

    • Determines whether the calculated annual entitlement represents a new entitlement (January or a new hire) or an adjustment to the previous month's calculation.