Can not pay invoice that references the same POL and 2 different invoice lines

Description

Overview: Invoice will approve but not pay when invoice references the same POL and 2 different invoice lines

I was not able to reproduce this issue in testing environments

Steps to Reproduce: Review logs, ask dennis to provide

  1. Log into some FOLIO environment as User X

  2. Click this

Expected Results: Invoice is successfully transitioned to paid

Actual Results: Invoice will not transition to Paid. 500 error message is thrown

Additional Information:
The fix resolves an issue occuring with more than 15 invoice lines, some of them linked to the same po line.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges March 31, 2022 at 2:54 PM

Yes , I think we should try to resolve for Lotus. However, if it can not be done I don't think this would require a hotfix, so we would defer it to Morning Glory.

Damien March 31, 2022 at 2:47 PM

  . Should it be in bugfest ?

Dennis Bridges March 31, 2022 at 2:33 PM

Thank you  that would be great 🙏

Damien March 31, 2022 at 2:29 PM

  I think MODFISTO-268 would only resolve half of the problem. Even if we fix that, which would allow users to resolve the fiscal year issue, there is still the issue that validation in mod-invoice is insufficient, which can result in an inconsistent state. Also we could resolve this issue before we implement MODFISTO-268. In any case we need a story to check it's working correctly after our fixes. I can create the story based on what you wrote if you wish.

Dennis Bridges March 31, 2022 at 2:22 PM

 no I have not created a new issue as I'm not sure if  MODFISTO-268 will resolve this problem.

We know that an invoice that references different fiscal years can not be approved. The error message should be improved but it is expected. However, the user should be able to correct this issue by changing the fund distributions. I don't understand how the invoice continues to throw the Failed to creating transactions message even after fixing the distributions and replacing the invoice lines etc. If that will be resolved by  MODFISTO-268 we probably don't need to go any further with this now. I just want to make sure we know what is happening.

If you need to create an issue to investigate this problem further than we can create a spike. thx!

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

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created February 16, 2022 at 11:12 PM
Updated April 28, 2022 at 4:06 AM
Resolved March 15, 2022 at 8:23 PM
TestRail: Cases
TestRail: Runs