[open-ils-commits] r14902 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Nov 13 11:55:46 EST 2009


Author: erickson
Date: 2009-11-13 11:55:43 -0500 (Fri, 13 Nov 2009)
New Revision: 14902

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0081.data.org-setting-clear-hold-shelf.sql
Modified:
   trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
initial org settings for defining behavior of the automated clear holds shelf process

Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2009-11-13 16:37:25 UTC (rev 14901)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql	2009-11-13 16:55:43 UTC (rev 14902)
@@ -51,7 +51,7 @@
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0080'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0081'); -- berick
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,

Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2009-11-13 16:37:25 UTC (rev 14901)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2009-11-13 16:55:43 UTC (rev 14902)
@@ -2484,3 +2484,20 @@
         'bool' 
     );
 
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) 
+    VALUES ( 
+        'circ.holds.clear_shelf.copy_status',
+        oils_i18n_gettext('circ.holds.clear_shelf.copy_status', 'Holds: Clear shelf copy status', 'coust', 'label'),
+        oils_i18n_gettext('circ.holds.clear_shelf.copy_status', 'Any copies that have not been put into reshelving, in-transit, or on-holds-shelf (for a new hold) during the clear shelf process will be put into this status.  This is basically a purgatory status for copies waiting to be pulled from the shelf and processed by hand', 'coust', 'description'),
+        'link',
+        'ccs'
+    );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+    VALUES ( 
+        'circ.holds.clear_shelf.no_capture_holds',
+        oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds', 'Holds: Bypass hold capture during clear shelf process', 'coust', 'label'),
+        oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds', 'During the clear shelf process, avoid capturing new holds on cleared items.', 'coust', 'description'),
+        'bool'
+    );
+

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0081.data.org-setting-clear-hold-shelf.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0081.data.org-setting-clear-hold-shelf.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0081.data.org-setting-clear-hold-shelf.sql	2009-11-13 16:55:43 UTC (rev 14902)
@@ -0,0 +1,23 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0081');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) 
+    VALUES ( 
+        'circ.holds.clear_shelf.copy_status',
+        oils_i18n_gettext('circ.holds.clear_shelf.copy_status', 'Holds: Clear shelf copy status', 'coust', 'label'),
+        oils_i18n_gettext('circ.holds.clear_shelf.copy_status', 'Any copies that have not been put into reshelving, in-transit, or on-holds-shelf (for a new hold) during the clear shelf process will be put into this status.  This is basically a purgatory status for copies waiting to be pulled from the shelf and processed by hand', 'coust', 'description'),
+        'link',
+        'ccs'
+    );
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+    VALUES ( 
+        'circ.holds.clear_shelf.no_capture_holds',
+        oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds', 'Holds: Bypass hold capture during clear shelf process', 'coust', 'label'),
+        oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds', 'During the clear shelf process, avoid capturing new holds on cleared items.', 'coust', 'description'),
+        'bool'
+    );
+
+
+COMMIT;



More information about the open-ils-commits mailing list