https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41087

--- Comment #9 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208013
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208013&action=edit
Bug 41087: Roll back EDIFACT invoice messages

Rolling back an INVOICE message un-receives the orders on the invoices
created from it (part receipts are merged back into their parent order
by CancelReceipt) and deletes those invoices. The result of
CancelReceipt is verified because it only warns on failure.

The rollback is refused, with a reason and a link, when:
 - an invoice is closed
 - a part receipt's parent order has since been received in full
 - an invoice has adjustments that no plugin has claimed
 - the EDI account uses a plugin that processes invoices itself

Test plan:
1. Apply the patch
2. prove t/db_dependent/Koha/Edifact/File/Rollback.t

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to