Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This entry code is set to Pay out the earned leave amount in the payroll period the person signs - off. It will fetch the amount from the Earned Leave Compensation Accumulator.

  1. Create the entry code with the number and name as wanted. Set the entry code with Allowance

  2. Turn on the option “Remove From Pay Slip When Calculatedamount1 =0”
    The entry code will be auto-generated every month even if the person is not signing off. The script will ensure that the amount is calculated to 0 when it is not the sign-off payroll period. The option ensures that the entry code is not displayed in Entries and on the Payslip unless there is an amount to be paid out.

  3. Link the entry code to the corresponding script

    Image Removed

    Make sure the priority is set to higher than the Earned Leave Compensation as if not the Leave earned in the month of sign-off will not be included.

    Image Added
  4. Add the script
    In this sample, the monthly leave compensation is stored in line 2 in the pay scale. Make sure you update the script according to how your system is set up.

  5. On the Payslip tab, we include the field used in the script to pay out the amount, which is always L61.

  6. Go to the tab Accumulators and add in the field used in the script, in this sample L61, into the Paid Leave Compensation accumulator as defined in the previous steps.

...