[
https://issues.apache.org/jira/browse/FINERACT-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266745#comment-17266745
]
Michael Vorburger commented on FINERACT-1287:
---------------------------------------------
[~davidyaha] if this is something you would be willing to contribute a fix for,
please feel free to assign this issue to yourself (you now can; see
FINERACT-1286), and eventually raise a PR.
> Original schedule does not reflect the original disbursements
> -------------------------------------------------------------
>
> Key: FINERACT-1287
> URL: https://issues.apache.org/jira/browse/FINERACT-1287
> Project: Apache Fineract
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: David Yahalomi
> Priority: Minor
> Attachments: image-2021-01-11-18-31-18-835.png
>
>
> On a loan with multi disbursement enabled, the original schedule is updated
> if one of the disbursements changes. This also causes a weird negative amount
> on the repayment periods.
> *Expected behavior:*
> After approval of a loan, the "planned" disbursements should be "frozen" so
> that if the actual disbursement is on a different date or with a different
> amount, it should not be reflected in the original repayment schedule.
> *Actual behavior:*
> The original schedule is updated when one of the disbursements changes. This
> also causes a weird negative amount on the repayment periods.
>
> *UPDATE (12/01/20)*
> I did some digging into the code of
> LoanScheduleHistoryWritePlatformServiceImpl and it seems like the
> disbursement data was not part of the specification of this feature.
> It seems to me like the purpose of the schedule history was more for the
> daily recalculation of interest and not to keep the "original" loan terms
> that were approved.
> The disbursement data that appears in the "original" tab on the community app
> is actually the "last known version" of the schedule with the current
> disbursement data.
> This is why the balance can become a negative value.
> I think that in order to fix this one, we should create a proper "original"
> snapshot support for everything that could change on the loan after approval.
>
> *References:*
> [https://openmf.github.io/community-app/?baseApiUrl=https%3A%2F%2Fdemo.fineract.dev&tenantIdentifier=default#/viewloanaccount/83]
>
> !image-2021-01-11-18-31-18-835.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)