You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Mihaly Dallos (Jira)" <ji...@apache.org> on 2023/02/13 10:40:00 UTC

[jira] [Updated] (FINERACT-1889) Principal portion allocation for Chargeback is wrong for partial chargebacks.

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

Mihaly Dallos updated FINERACT-1889:
------------------------------------
    Description: 
If partial chargeback is done on a repayment. Principal portion allocation for chargeback transaction is wrong. Tested for overpaid scenario as below.

*Steps to reproduce:*
 # Disburse loan amount 1000
 # make repayment 500 (repayment 1)
 # make repayment 300 (repayment 2)
 # make repayment 300 → loan is overpaid (repayment 3)
 # Chargeback amount 300 on second repayment. loan is active
 # Partial chargeback of 300 on repayment 1.

*Actual result:*

Principal portion 400 is wrong. 

!354b64e0-07fe-4001-9340-e1c27eabec46.png|width=675,height=236!

*Expected result:*

Principal portion should be 300.

  was:
If partial chargeback is done on a repayment. Principal portion allocation for chargeback transaction is wrong. Tested for overpaid scenario as below.

*Steps to reproduce:*
 # Disburse loan amount 1000
 # make repayment 500 (repayment 1)
 # make repayment 300 (repayment 2)
 # make repayment 300 → loan is overpaid (repayment 3)
 # Chargeback amount 300 on second repayment. loan is active
 # Partial chargeback of 300 on repayment 1.

*Actual result:*

Principal portion 400 is wrong. 

!354b64e0-07fe-4001-9340-e1c27eabec46.png!

*Expected result:*

Principal portion should be 300.


> Principal portion allocation for Chargeback is wrong for partial chargebacks.
> -----------------------------------------------------------------------------
>
>                 Key: FINERACT-1889
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1889
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Mihaly Dallos
>            Priority: Major
>              Labels: PepperSoup
>         Attachments: 354b64e0-07fe-4001-9340-e1c27eabec46.png
>
>
> If partial chargeback is done on a repayment. Principal portion allocation for chargeback transaction is wrong. Tested for overpaid scenario as below.
> *Steps to reproduce:*
>  # Disburse loan amount 1000
>  # make repayment 500 (repayment 1)
>  # make repayment 300 (repayment 2)
>  # make repayment 300 → loan is overpaid (repayment 3)
>  # Chargeback amount 300 on second repayment. loan is active
>  # Partial chargeback of 300 on repayment 1.
> *Actual result:*
> Principal portion 400 is wrong. 
> !354b64e0-07fe-4001-9340-e1c27eabec46.png|width=675,height=236!
> *Expected result:*
> Principal portion should be 300.



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