Cannot open order because systems thinks there is no current budget

Description

Overview:
Steps to Reproduce:

  • Log into some FOLIO environment as admin

  • Create current fiscal year

  • Create an upcoming fiscal year 1 year after the current one

  • Create a new ledger (TEST) for that fiscal year

  • create a new fund (TEST-FUND) associated with that ledger

  • allocate some money ($X) to current budget

  • Create planned budget with 0 allocation

  • Create a new purchase order

  • Create a new purchase order line (POL) associated with the above

  • Allocate 100% of the funding for the above POL to TEST-FUND

  • Save, and return to the PO screen

  • Attempt to Open the PO

Expected Results: PO is opened and money is encumbered against the current budget.

Actual Results: System displays error that fund has NO current budget.

See video for more info

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Andrei MakarankaAugust 19, 2020 at 5:29 AM

Hi ,

This is the same issue as and MODORDERS-423.
We have a wrong logic for getting active current budget in mod-orders.
Why it is happen:
There are two Active budget for "Economy" fund, but for different FY.

Thanks

Dennis BridgesAugust 18, 2020 at 4:27 PM

I just saw this error again using the "Economy" fund to pay a newly created order in Bugfest. Can you look at it and see if this is an issue we can resolve for libraries that encountered this error in one of their funds before we applied a fix? Try opening this order https://bugfest-goldenrod.folio.ebsco.com/orders/view/208b9d2c-2284-473d-8f81-d1890de6b38a?query=11434

Ann-Marie BreauxJuly 14, 2020 at 5:48 AM

Hi and Tested on Goldenrod BugFest and all looks good. Closing this ticket. Thank you!

Yauheni KuzmianokJuly 9, 2020 at 10:18 AM

Verified on snapshot by running api tests

Andrei MakarankaJuly 9, 2020 at 7:04 AM

Verified by runnig API tests on folio testing

Failed tests are not connected with tested functionality

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Q2 2020

Affected Institution

OTHER

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 3, 2020 at 8:33 PM
Updated January 18, 2021 at 10:59 PM
Resolved July 9, 2020 at 10:18 AM
Loading...