Adam Saghy created FINERACT-2272:
------------------------------------

             Summary: Move fetching chargeback transactions out of foreach of 
delinquency calculation
                 Key: FINERACT-2272
                 URL: https://issues.apache.org/jira/browse/FINERACT-2272
             Project: Apache Fineract
          Issue Type: Sub-task
            Reporter: Adam Saghy


Fetching chargeback transactions of the loan during delinquency calculation:

org.apache.fineract.portfolio.delinquency.service.LoanDelinquencyDomainServiceImpl#calculateDelinquencyDataForOverdueInstallment,
 line 268

We are fetching repetitively the chargeback transactions for each overdue 
installments.

*We should extract this logic outside of the iteration to ensure only once it 
got fetched from database!*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to