From 82e53ed44fbd36e8307f9fb6d345ade20a73c1df Mon Sep 17 00:00:00 2001 From: scottmk Date: Tue, 3 Aug 2010 20:45:45 +0000 Subject: [PATCH] New org unit setting type: serial.prev_issuance_copy_location 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 | 2 +- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 21 +++++++++++++++++++ .../0359.data.setting-prev-iss-copy-loc.sql | 16 ++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 37bb1ad0fb..92e8995713 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -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, diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 162a06de14..6b45300c2b 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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 index 0000000000..001d3d73f4 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0359.data.setting-prev-iss-copy-loc.sql @@ -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; -- 2.43.2