Error must be returned in case of budget expense class mismatch

Description

Given:

  • 2 expense classes Electronic and Print

  • Budget which has a relation with only one expense class - electronic. It's active.

  • Invoice with invoice line.

  • Invoice line has two fund distributions. 50% of money distributed for Electronic expense class, 50% for Print expense class (which not in the list of budget-expense-class table).

Actual result: after approving/paying invoice - transactions are created. One for Electronic, and other for Print expense class.
Expected result: error message "Print expense class not found on AFRICAHIST Fund"

error code will be: budgetExpenseClassNotFound

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges November 12, 2020 at 5:59 AM

Testing successful in bugfest-honeysuckle

Yauheni Kuzmianok October 28, 2020 at 7:23 AM

Verified on snapshot env

Aliaksandr Pautau October 27, 2020 at 10:00 AM

Verified via UI on folio-testing:

Siarhei Hrabko October 19, 2020 at 10:45 AM

I suppose UI stories will be needed to display a proper message according to this bug and MODORDERS-437

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Q3 2020 Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created October 13, 2020 at 7:38 AM
Updated November 17, 2020 at 12:27 PM
Resolved October 28, 2020 at 7:24 AM
TestRail: Cases
TestRail: Runs