[Koha-bugs] [Bug 12555] The DelItem subroutine should be called on canceling a receipt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 5 16:55:04 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12555

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #34157|0                           |1
        is obsolete|                            |

--- Comment #14 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 34158
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34158&action=edit
[PASSED QA] Bug 12555: Call DelItem on cancelling a receipt

On cancelling a receipt, the items should be deleted using the
C4::Items::DelItem subroutine in order to update zebra and sent the
items in the deleteditems table.

The entries in aqorders_items will automatically deleted by the DBMS (on
delete cascade).

Test plan:
0/ Set the AcqCreateItem pref to "on receiving"
1/ Create an order with some items
2/ Receive the items
3/ Note the itemnumber in the items table
4/ Cancel the receipt
5/ Verify the itemnumbers are present in the deleteditems table and the
items have been deleted.

Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Paola Rossi <paola.rossi at cineca.it>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list