Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1938

BatchAPI - Savings Account - Incorrect balance calculation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.9.0
    • 1.9.0
    • Savings

    Description

      Steps to reproduce

      Capture the original balance of the savings account that will be used for test.

      1. holdAmount
      2. Perform a batchAPI call, in which contains at least 2 actions, that modifies the balance. E.g.:
        1. releaseAmount(held in the 1st step)
        2. withdraw(amount1)
        3. withdraw(amount2)

      Expected result

      The balance of the account should be the original balance minus the withdrawn value.

      Actual result

       

      When a new transaction is performed, it fixes the previous incorrect balances: A new holdAmount (id: 193) fixed the previous balances, then the 201 fixed the 194-195-196 balances.

      Attachments

        1. Screenshot 2023-06-09 at 10.53.11.png
          67 kB
          Peter Santa
        2. Screenshot 2023-06-09 at 11.05.55.png
          139 kB
          Peter Santa

        Issue Links

          Activity

            People

              Unassigned Unassigned
              peter.santa Peter Santa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: