adamsaghy commented on code in PR #3963:
URL: https://github.com/apache/fineract/pull/3963#discussion_r1671861355


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/transactionprocessor/AbstractLoanRepaymentScheduleTransactionProcessor.java:
##########
@@ -204,12 +204,36 @@ public ChangedTransactionDetail 
reprocessLoanTransactions(final LocalDate disbur
                 
reprocessChargebackTransactionRelation(changedTransactionDetail, 
transactionsToBeProcessed);
             } else if (loanTransaction.isChargeOff()) {
                 recalculateChargeOffTransaction(changedTransactionDetail, 
loanTransaction, currency, installments);
+            } else if (loanTransaction.isAccrualActivity() && 
loanTransaction.isNotReversed()) {
+                
recalculateAccrualActivityTransaction(changedTransactionDetail, 
loanTransaction, currency, installments);
             }
         }
         reprocessInstallments(disbursementDate, transactionsToBeProcessed, 
installments, currency);
         return changedTransactionDetail;
     }
 
+    private void 
recalculateAccrualActivityTransaction(ChangedTransactionDetail 
changedTransactionDetail, LoanTransaction loanTransaction,

Review Comment:
   For Advanced payment allocation processor, it might not work properly 
immediately hence the recalculation for interest bearing loan is in progress. 
You might need to create a non-interest bearing progressive loan to test it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@fineract.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to