[Koha-bugs] [Bug 34469] New: Modifying an order line of a standing order will delete linked invoice ID
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 3 15:30:21 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34469
Bug ID: 34469
Summary: Modifying an order line of a standing order will
delete linked invoice ID
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
When modifying a received order line from a standing order, the invoice id in
the order line will be emptied out, leaving you with an order line that is
complete, but not linked to an invoice (= inconsistent state, data loss)
This cannot be resolved in the GUI, since you can't 'cancel receipt' for this
order line, since it's not linked to an invoice any more. The only way to fix
things is with SQL.
And there is no way to find out which invoice the order line was originally
received in.
To test:
* Create basket as standing order with items added in cataloguing
* Add an order line
* Receive shipment
* Go to the basket summary page, click on 'Modify'
* Change the actual cost
* Save
* Verify that the invoice is now empty
* In the database aqorders.invoiceid will be NULL
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list