[ 
https://issues.apache.org/jira/browse/FINERACT-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Saghy resolved FINERACT-2272.
----------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.12.0
>
>
> 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