Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
ACQ Sprint 122, ACQ Sprint 123
-
2
-
Thunderjet
-
R3 2021
-
MI State University/Library of Michigan, Trinity College
Description
Overview: Originally reported in Iris, reproduced in Iris Bugfest and in Snapshot on 2021-08-12.
Steps to Reproduce:
- Log in to https://folio-snapshot.dev.folio.org/
- Go to Settings/Orders/Purchase order lines limit
- Change the limit from 1 to 2 or more, and Save
- Go to the Orders app
- Create a new order
- Create PO Line 1
- Create PO Line 2
- Open the PO
- In Invoices, create an Invoice and link it to PO Line A
- In Orders, try to delete PO Line B
Expected Results:
PO Line B is successfully deleted.
Actual Results:
PO Line B fails to delete, with the following errors:
"Error while deleting PO Line"
"This order or order line is linked to Invoice number(s) and can not be deleted"
{ "errors" : [ { "message" : "This order or order line is linked to Invoice number(s) and can not be deleted", "code" : "orderRelatesToInvoice", "parameters" : [ ] } ], "total_records" : 1 }
Additional Information:
I get the same error when trying to delete either PO Line, even though, as far as I can tell, only one of them is actually linked to the Invoice line.
URL: https://folio-snapshot.dev.folio.org/
Interested parties: Ben Taylor
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-3061 Thunderjet - R3 Enhancements/Bugfixes
-
- Closed
-
- relates to
-
MODORDERS-609 Deleting an order line fails without mod-invoice
-
- Closed
-