New org unit setting type: serial.prev_issuance_copy_location
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 3 Aug 2010 20:45:45 +0000 (20:45 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 3 Aug 2010 20:45:45 +0000 (20:45 +0000)
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@17069 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql [new file with mode: 0644]

index 37bb1ad..92e8995 100644 (file)
@@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log (
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0358'); -- atz
+INSERT INTO config.upgrade_log (version) VALUES ('0359'); -- Scott McKellar
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
index 162a06d..6b45300 100644 (file)
@@ -6434,6 +6434,27 @@ INSERT INTO config.org_unit_setting_type (name, label, description, datatype)
         'array'
     );
 
+-- 0359.data.setting-prev-iss-copy-loc.sql
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
+VALUES (
+    'serial.prev_issuance_copy_location',
+    oils_i18n_gettext(
+        'setting.name',
+        'Serials: Previous Issuance Copy Location',
+        'coust',
+        'label'
+    ),
+    oils_i18n_gettext(
+        'setting.name',
+        'When a serial issuance is received, copies (units) of the previous issuance will be automatically moved into the configured shelving¬†location',
+        'coust',
+        'descripton'
+        ),
+    'link',
+    'acpl'
+);
+
 -- 0355.data.missing_pieces_format.sql
 
 INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES 
diff --git a/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql b/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql
new file mode 100644 (file)
index 0000000..001d3d7
--- /dev/null
@@ -0,0 +1,16 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0359'); -- Scott McKellar
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype, fm_class )
+VALUES (
+    'serial.prev_issuance_copy_location',
+    oils_i18n_gettext('setting.name', 'Serials: Previous Issuance Copy Location',
+               'coust', 'label'),
+    oils_i18n_gettext('setting.name', 'When a serial issuance is received, copies (units) of the ¬†previous issuance will be automatically moved into the configured shelving¬†location',
+               'coust', 'descripton'),
+       'link',
+    'acpl'
+);
+
+COMMIT;