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

Awaiting payment value in encumbrance not updated correctly



    • ACQ Sprint 101
    • 3
    • Thunderjet
    • Q3 2020 Bug Fix


      Overview: When trying to approve invoice, if user adds the same Fund with a different expense class than the one used on the POL. The encumbrance value for awaiting payment is not updated correctly.

      Steps to Reproduce:

      1. Log into folio-testing environment as admin
      2. Create order an order line with cost greater than $1
      3. Add one fund distribution for AFRICAHIST with expense class Electronic
      4. Open order
      5. Select invoice app
      6. Create invoice
      7. Add invoice line based on the POL you just created
      8. Edit invoice line and add an additional Fund distribution for 50% of cost for AFRICAHIST with different expense class
      9. Save invoice line changes
      10. Click approve invoice
      11. Click pay invoice

      Expected Results: Invoice is approved, encumbrance is updated. Awaiting payment value is 0

      Actual Results: Invoice is approved. Awaiting payment value is negative and half of the initial encumbrance is "Expended". The encumbrance has been released.

      Additional Information: see video

      TestRail: Results


          1. MODFISTO-183.mp4
            9.47 MB
            Aliaksandr Pautau
          2. Screen Recording small 2020-10-15 at 1.59.10 PM.mov
            8.74 MB
            Dennis Bridges

          Issue Links



                siarhei_hrabko Siarhei Hrabko
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                0 Vote for this issue
                2 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases