bug 3481: Allow Item Temporary Locations for Processing and Shelving.
authorColin Campbell <colin.campbell@ptfs-europe.com>
Mon, 27 Jul 2009 15:33:00 +0000 (16:33 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Sun, 23 Aug 2009 15:54:46 +0000 (11:54 -0400)
commite40e11ab0c1b23f3c5581d2b2aac44c04f8232b4
tree78550d930f8103d9005c7d4677ed0d7d26b901c5
parentb159ba8e5aba27572394658867624f3573a0574b
bug 3481: Allow Item Temporary Locations for Processing and Shelving.

Allows temporary locations corresponding to 'in processing' and 'shelving'
so that newly-created items, and newly-returned items do not show
immediately as a available. Three new system preferences govern the usage
of these features.

NewItemsDefaultLocation. If system pref NewItemsDefaultLocation is set to a location code,
 all newly catalogued items will be set to the location set in this preference.
 Location code must be a valid LOC authorized value type.

InProcessingToShelvingCart. if the system pref InProcessingToShelvingCart is turned on,
any items run through returns.pl with a location code for 'PROC', will be modified to
have a new location code of 'CART'.

ReturnToShelvingCart.  If the syspref ReturnToShelvingCart is turned on,
all items returned other than confirmed holds will have a new location code of 'CART'.
Any item issued is automatically taken of the shelving cart.

Adds a cron script shelf_to_cart.pl which should be run hourly.
Updates all items with a location of CART to the item's permanent location.

The original location code is stored in the new items column 'permanent_location'.

Original Author: PTFS Contractor <dbavousett@ptfs.com>

This work co-sponsored by
  Middletown Township Public Library, Middletown, NJ USA  and
  East Brunswick Public Library, East Brunswick, NJ USA

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Circulation.pm
C4/Items.pm
C4/Reserves.pm
cataloguing/additem.pl
circ/returns.pl
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
kohaversion.pl
misc/cronjobs/cart_to_shelf.pl [new file with mode: 0755]