]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Transit minimum checkin interval setting
authorBill Erickson <berick@esilibrary.com>
Thu, 9 Jun 2011 14:03:10 +0000 (10:03 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 9 Jun 2011 17:30:32 +0000 (13:30 -0400)
commit36a642ebabf5eaa3930eb69ebe6dc6282164c931
tree865dc8a31bdffb1bff7bf0e3f09057e8143d842a
parent34906bd225de9752e12d4c85d54ebf3e45012b41
Transit minimum checkin interval setting

OK, here's the situation, a copy went away on a week's vacation...

Support for preventing checkin of a copy that was put into transit "too
recently".  The scenario that prompted the development is this:

Copy at Branch A is checked in and put into transit to fill a hold at
Branch B.  The copy is then accidentally checked in at Branch B.
(Imagine a crate of items with a superbarcode gets checked in at
Branch B and the copy in question was presumed to be in that crate).
This puts the item on the holds shelf (assuming a hold transit) at
Branch B and notifies the patrom the item is ready for pickup.
However, the copy is still just embarking from Branch A.

This new setting allows libraries to configure a minimum transit time.
If a copy is put into transit and checked in during the configured
interval, the checkin will return an (overridable) event that prevents
checkin.  If the setting is not configured, this has no affect on
checkin.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/xul/staff_client/server/circ/util.js