Hi everyone.

For some time I've been making some test for loan accounts with penalty charges 
but didn't notice until recently the behavior I'm about to describe:

I create a loan with this parameters:
Principal amount: 6000
Loan term: 1
Number of repayments: 1
Repay every: month
Nominal interest: 20
Interest method: Declining balance
Amortization: Equal installments
Interest calculation period: Daily
Repayment strategy: default

Recalculate interest: enabled
Advance payment adjustment type: Reduce number of installments
Interest recalculation compounding on: None
Days in year: 360
Days in month: 30
Frequency for recalculate outstanding principal: same

Charges:
Overdue fee 50% of amount
Overdue fee 70% of interest

The essential part in this configuration is the penalty charges and interest 
recalculation enabled.

I disburse a new loan account on 05/December/2019 so the loan account is 
overdue. This is the original schedule

[cid:[email protected]]

Next, I run the job to Apply penalty to overdue loan and a new installment is 
created with the penalties amount.

[cid:[email protected]]

This extra installment is created exclusively by the penalties job. However 
there are some instances when it disappears, like after  I make a repayment

[cid:[email protected]]


[cid:[email protected]]

It also disappears when a transaction is undone and apparently when a scheduled 
job (which I haven't been able to identify) is run, when this happens the 
charges after end date are deactived and new ones need to be created when the 
Loan penalty job is run again.

This only happens to loan accounts with interest recalculation enabled as they 
are able of regenerate their schedule.

Is there an extra configuration not listed here that could help me avoid this 
behavior? If not, I'm trying to replicate the creation of the additional 
installment when the loan schedule is being generated.

Regards.







Reply via email to