Cancel only unreleased 1 encumbrance from an invoice line

Description

Overview: Cancel an invoice with two Fund distributions only unrelease 1 related encumbrance

Steps to Reproduce:

  1. Log into some FOLIO environment as User X

  2. Create order

  3. Add order line with 2 Fund distributions each for 50%

  4. Open order

  5. Create invoice

  6. Add invoice line from above POL

  7. Release encumbrance = true

  8. Approve and pay invoice

  9. Cancel invoice

Expected Results: Payments are voided and encumbrances are "Unreleased".

Actual Results: Payments are voided and only 1 of the 2 encumbrances are unreleased

Additional Information: see example from bugfest-lotus. Note this was also for a previous year but that did seem to cause a problem during cancel. This was also reproduced in snapshot with a POL and Invoice from the current year.
URL: https://bugfest-lotus.int.aws.folio.org/invoice/view/7203e9a7-2c71-48f2-8b12-7409c523dbd5/line/6cac91fb-e696-4f52-b3b3-7974e0acf4bf/view?limit=50&offset=0&status=Paid
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Only workaround is to unopened and reopen order to re-encumbere money. However, this may force user to delete all receiving records if receiving workflow is set to "Synchronized"

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges April 11, 2022 at 5:27 PM

test successful in bugfest-lotus

Oleksii Petrenko April 11, 2022 at 11:22 AM

Deployed to Lotus BF. Please proceed with verification

Adesh Singh April 7, 2022 at 10:59 AM

Tested in snapshot

Dennis Bridges April 1, 2022 at 8:36 PM

I think we need to discuss options in our next refinement session. "Cancel" was not possible in Kiwi so that at least limits the impact of this issue for that release. However, we need a solution for lotus.

Damien April 1, 2022 at 5:22 PM

It was introduced by but at the time it did not affect as many operations. Still, would not work in Kiwi for more than one fund distribution per line, so we could consider including that in a Kiwi bugfix.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Implementation coding issue

Affected Institution

!!!ALL!!!

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 28, 2022 at 4:03 PM
Updated April 26, 2022 at 10:41 AM
Resolved April 7, 2022 at 11:02 AM
TestRail: Cases
TestRail: Runs