[open-ils-commits] r17335 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 25 11:57:36 EDT 2010
Author: phasefx
Date: 2010-08-25 11:57:33 -0400 (Wed, 25 Aug 2010)
New Revision: 17335
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing Pieces workflow.
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-08-25 14:33:47 UTC (rev 17334)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-08-25 15:57:33 UTC (rev 17335)
@@ -68,7 +68,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0378'); -- Scott McKellar
+INSERT INTO config.upgrade_log (version) VALUES ('0379'); -- phasefx
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 2010-08-25 14:33:47 UTC (rev 17334)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-08-25 15:57:33 UTC (rev 17335)
@@ -6647,3 +6647,20 @@
'bool')
;
+-- 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'
+);
+
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0379.data.org-setting-circ.missing_pieces.copy_status.sql 2010-08-25 15:57:33 UTC (rev 17335)
@@ -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