[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 Aug 8 05:10:14 CEST 2014


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

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

--- Comment #2 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 30613
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30613&action=edit
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>

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


More information about the Koha-bugs mailing list