[open-ils-commits] r17381 - in branches/rel_2_0/Open-ILS/src/sql/Pg: . upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Aug 30 11:57:40 EDT 2010


Author: phasefx
Date: 2010-08-30 11:57:37 -0400 (Mon, 30 Aug 2010)
New Revision: 17381

Added:
   branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql
Modified:
   branches/rel_2_0/Open-ILS/src/sql/Pg/002.schema.config.sql
   branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
backport 17335: circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing Pieces workflow

Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-30 15:39:52 UTC (rev 17380)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/002.schema.config.sql	2010-08-30 15:57:37 UTC (rev 17381)
@@ -68,7 +68,7 @@
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0377'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0379'); -- phasefx
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,

Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-08-30 15:39:52 UTC (rev 17380)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-08-30 15:57:37 UTC (rev 17381)
@@ -6623,3 +6623,20 @@
         'integer'
 );
 
+-- 0379.data.org-setting-circ.missing_pieces.copy_status.sql
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES (
+        'circ.missing_pieces.copy_status',
+        oils_i18n_gettext(
+            'circ.missing_pieces.copy_status',
+            'Circulation: Item Status for Missing Pieces', 
+            'coust', 
+            'label'),
+        oils_i18n_gettext(
+            'circ.missing_pieces.copy_status',
+            'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces.  In absense of this setting, the Damaged status is used.',
+            'coust', 
+            'description'),
+        'link',
+        'ccs'
+);
+

Copied: branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql (from rev 17335, trunk/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql)
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql	                        (rev 0)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql	2010-08-30 15:57:37 UTC (rev 17381)
@@ -0,0 +1,21 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0379'); -- phasefx
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES (
+        'circ.missing_pieces.copy_status',
+        oils_i18n_gettext(
+            'circ.missing_pieces.copy_status',
+            'Circulation: Item Status for Missing Pieces', 
+            'coust', 
+            'label'),
+        oils_i18n_gettext(
+            'circ.missing_pieces.copy_status',
+            'This is the Item Status to use for items that have been marked or scanned as having Missing Pieces.  In absense of this setting, the Damaged status is used.',
+            'coust', 
+            'description'),
+        'link',
+        'ccs'
+);
+
+COMMIT;



More information about the open-ils-commits mailing list