[open-ils-commits] r14527 - in trunk/Open-ILS/src/sql/Pg: . upgrade (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Oct 21 11:14:00 EDT 2009
Author: erickson
Date: 2009-10-21 11:13:57 -0400 (Wed, 21 Oct 2009)
New Revision: 14527
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0042.data.org-setting-claim-return-missing.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
new org setting for making items as missing during claims returned processing
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-21 14:59:25 UTC (rev 14526)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2009-10-21 15:13:57 UTC (rev 14527)
@@ -51,7 +51,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0041'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0042'); -- berick
CREATE TABLE config.bib_source (
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-21 14:59:25 UTC (rev 14526)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2009-10-21 15:13:57 UTC (rev 14527)
@@ -2255,4 +2255,13 @@
config.index_normalizer i
WHERE i.func IN ('naco_normalize','split_date_range');
+-- claims returned mark item missing
+INSERT INTO
+ config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.claim_return.mark_missing',
+ 'Claim Return: Mark copy as missing',
+ 'When a circ is marked as claims-returned, also mark the copy as missing',
+ 'bool'
+ );
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0042.data.org-setting-claim-return-missing.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0042.data.org-setting-claim-return-missing.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0042.data.org-setting-claim-return-missing.sql 2009-10-21 15:13:57 UTC (rev 14527)
@@ -0,0 +1,15 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0042');
+
+INSERT INTO
+ config.org_unit_setting_type ( name, label, description, datatype )
+ VALUES (
+ 'circ.claim_return.mark_missing',
+ 'Claim Return: Mark copy as missing',
+ 'When a circ is marked as claims-returned, also mark the copy as missing',
+ 'bool'
+ );
+
+
+COMMIT;
More information about the open-ils-commits
mailing list