Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-113

Incorrect calculation of the "overEncumbrance"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 6.0.0
    • None
    • ACQ Sprint 97
    • 1
    • Thunderjet

    Description

      Overview

      "overEncumbrance" money is the same with "encumbered" against fund B, but should be "overEncumbrance" = $0

      How to reproduce

      Create 2 active Funds on same ledger
      Add a current budget to each fund
      DO NOT set allowable encumbrance value. leave it blank
      Allocate $0 when creating budget 2
      Create a transfer from nowhere to budget 1 for $100
      Create transfer from budget 1 to budget 2 for $50
      Create an order with one order line and fund distribution for $40 against budget 2
      Open order

      Actual: Money is encumbered = $40, available = $10, "overEncumbrance" = $40.0

      Expected: Money is encumbered = $40, available = $10, "overEncumbrance" = $0

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                aliaksandr_pautau Aliaksandr Pautau
                Andrei_Makaranka Andrei Makaranka
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases