FAQ: How to Setup an Entry code for Loan/Deduction

FAQ: How to Setup an Entry code for Loan/Deduction

Summary

Entry code for Loan/Deduction

Category

Entry Code

Please remember to add labels to the article.

Only the labels from the list are allowed: https://rippleops.atlassian.net/wiki/spaces/PnP/pages/4523197124

This section is informational only and should be removed before the article is published.

Description

This article explains how to set up an entry code in AdonisHR for a recurring monthly Loan or Deduction, which stops automatically when a predefined total amount has been reached.

Entry Code Script

L71=L21 //L21 should contain the full Loan/Remaining Balance. The system will automatically reduce this amount during Close Month L61=L23 //L23 contains the amount to be deducted for the person each month. IF L61>L21 THEN //In the final month, if the amount is larger than the reamining balance, only the remaining balance will be deducted L61=L21 ENDIF

Field Specification

General tab

Make sure the Entry Code is set as a Deduction

image-20250724-072847.png

Options tab

The option “Reduction at Period Closing” makes the Balance set in L21 be reduced with the amount deducted in the current month during Close Month routine.

image-20250724-072940.png

Payslip tab

To display both the Balance and Amount deducted, set as following:

image-20250724-073118.png

Other

When entering on a person, make sure the From field is set to make the entry code appear automatically in the next month:

image-20250724-073253.png