Allow user to use multiple expense class from same fund on one invoice line or POL

Description

Purpose: In order to use expense classes the user will need to be able to selected them when adding Fund distribution(s) to orders and invoices. User will in some cases need to pay an invoice against two different expense classes from the same fund

User story statement(s):

As an acquisitions invoicing user
I want to be able to pay an invoice line or encumber a POL against two expense classes from the same fund
so that when I order something that is both "Electronic and Physical" I can split the cost between two expense classes but all the money will come out of one Fund Eg. HIST

Scenarios:

  1. Scenario:

    • Given the user has added a Fund distribution

    • When the fund selected has expense classes

    • Then I can add it twice and select two different expense classes

  2. Scenario:

    • Given the user has added a Fund distribution

    • When the same fund is added twice but different expense classes are selected

    • Then user can assign amounts to both without the multiple funds validation error appearing (You can not have multiple distributions for the same fund.)

  3. Scenario:

    • Given the user has added a Fund distribution

    • When the same fund is added twice with the same expense classes selected

    • Then user is shown validation error message ("You can not have multiple distributions for the same fund with the same expense class.")

Environment

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges October 19, 2020 at 4:13 PM

testing successful in folio-snapshot

Andrei Shumski October 14, 2020 at 12:02 PM

Tested on folio-testing. No errors when paying an invoice with different expense classes from one fund

Andrei Makaranka October 1, 2020 at 8:58 AM

Bug created MODFIN-160

Aliaksei Chumakou September 29, 2020 at 6:45 PM

thanks, it looks like error is connected with using same fund and different expense classes. I've tried to create PO Line and Invoice Line with fund distribution without the same fund and it worked out.
could you please look at this from back-end team perspective? There is related back-end story https://folio-org.atlassian.net/browse/MODFISTO-165 thanks!

Dennis Bridges September 28, 2020 at 8:39 PM

All is looking good but I get an error when trying to "pay" invoice. If this is not related to using the same fund twice I will close the ticket.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Q3 2020

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 9, 2020 at 4:19 PM
Updated December 4, 2020 at 3:09 PM
Resolved October 19, 2020 at 4:13 PM
TestRail: Cases
TestRail: Runs