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

--- Comment #48 from David Nind <[email protected]> ---
Created attachment 211920
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211920&action=edit
Bug 22322: Handle setting transfer status correctly

If one checked in an item which has a hold and which
should be put in transfer, reason for transfer was set as
"ResFound". This has been replaced with "Reserve" and using
wrong reason parameter lead to error "The reason parameter
is mandatory". Also if wrong transfer was detected, SCO would
fail with error since branch where item should be transfered
couldn't be determined just using the old transfers branchcode.

To test:
1. Apply this patch.
2. Find a checked out item with current library as library A
and has a hold with pick up library as library B.
3. Return item via SCO check in from SCO main page.
=> Item should be checked in succesfully.
=> Confirm from biblios Hold page that item is now in transit
to library B.
4. Find an item which is in transit from a branch A to B.
5. Make sure you're logged in to SCO from branch C and attempt
to return item via SCO Check in input field.
=> Confirm no error occurs and "Item not checked in:..." message
is displayed.
=> Confirm from database with following query that wrong transfer
was detected and new one was made:
SELECT * FROM branchtransfers
WHERE itemnumber = [itemnumber of checked in item];

Sponsored-by: Koha-Suomi Oy
Signed-off-by: David Nind <[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