Migratie once-scripts van /branch naar /onces

svn path=/Customer/; revision=21207
This commit is contained in:
Peter Koerhuis
2014-04-02 13:57:31 +00:00
parent baace4c5c3
commit 3b8d7f1dcc
416 changed files with 11981 additions and 0 deletions

View File

@@ -1,78 +0,0 @@
-- Customer specific once-script csun.
--
-- (c) 2012 SG|facilitor bv
-- $Revision$
-- $Id$
--
-- Support: +31 53 4800700
@csun.sql
SET ECHO ON
SPOOL csun08.lst
SET DEFINE OFF
-- Menutaak of geintegreerde in portaal/Mijn Facilitor 'RTM meldingen' handmatig, deze menutaak activeert "appl/fac/fac_widgetspage.asp?wgrp=rtm_mld"
-- Grafiek 1: Openstaande meldingen per vakgroep
INSERT INTO fac_usrgraph (fac_usrgraph_view_name, fac_usrgraph_type, fac_usrgraph_orderby, fac_usrgraph_maxrows, fac_functie_key, fac_usrgraph_options)
SELECT 'csun_v_graph_vakgroep_open', 1, 'FCLT_XAS_', 10, fac_functie_key, '{ seriesColors: [''#99ce15''] }' FROM fac_functie WHERE fac_functie_code = 'WEB_USER03';
INSERT INTO fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_title, fac_widget_height, fac_widget_width, fac_widget_url, fac_widget_refreshtime)
SELECT 'rtm_mld',10,'Openstaande meldingen per vakgroep', 250, 32, 'fac_usrgraph.asp?usrgraph_key=' || MAX(fac_usrgraph_key), 300 FROM fac_usrgraph;
-- Grafiek 2: Meldingen per maand
INSERT INTO fac_usrgraph (fac_usrgraph_view_name, fac_usrgraph_type, fac_usrgraph_orderby, fac_usrgraph_maxrows, fac_functie_key, fac_usrgraph_options)
SELECT 'csun_v_graph_meldingpm', 4, 'VOLGORDE', 12, fac_functie_key, '{ seriesColors: [''#99ce15''] }' FROM fac_functie WHERE fac_functie_code = 'WEB_USER03';
INSERT INTO fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_title, fac_widget_height, fac_widget_width, fac_widget_url, fac_widget_refreshtime)
SELECT 'rtm_mld',20,'Meldingen per maand', 250, 32, 'fac_usrgraph.asp?usrgraph_key=' || MAX(fac_usrgraph_key), 300 FROM fac_usrgraph;
-- Grafiek 3: Gemiddelde uitvoertijd per maand.
INSERT INTO fac_usrgraph (fac_usrgraph_view_name, fac_usrgraph_type, fac_usrgraph_orderby, fac_usrgraph_maxrows, fac_functie_key, fac_usrgraph_options)
SELECT 'csun_v_graph_uitvtijd_pm', 4, 'VOLGORDE', 12, fac_functie_key, '{ seriesColors: [''#99ce15''] }' FROM fac_functie WHERE fac_functie_code = 'WEB_USER03';
INSERT INTO fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_title, fac_widget_height, fac_widget_width, fac_widget_url, fac_widget_refreshtime)
SELECT 'rtm_mld',30,'Gemiddelde uitvoertijd (dagen) per maand', 250, 32, 'fac_usrgraph.asp?usrgraph_key=' || MAX(fac_usrgraph_key), 300 FROM fac_usrgraph;
----
-- ***** BEGIN Indien ge-integreerd in myfacilitor
INSERT INTO fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_title, fac_widget_height, fac_widget_width, fac_widget_url, fac_widget_refreshtime)
SELECT 'myfacilitor',10, NULL, 250, 99, 'fac_widgetspage.asp?wgrp=rtm_mld', NULL FROM dual;
INSERT INTO fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_title, fac_widget_height, fac_widget_width, fac_widget_url, fac_widget_refreshtime)
SELECT 'myfacilitor',20, NULL, NULL , 99, 'myfacilitor.asp', NULL FROM dual;
-- Nog even 1 labelstje aanpassen... anders schuift de WELKOMSTEKST (zit in myfacilitor.asp) naar beneden
--UPDATE fac_locale_xsl SET fac_locale_xsl_cust = ' '
--WHERE fac_locale_xsl_label = 'lcl_facilitor_welcome' AND fac_locale_xsl_lang = 'NL';
-- Deze heeft alleen zin bij geintegreerde menutaken in portaal, dus nu niet uitvoeren.
--UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Welkom bij <strong>FACILITOR' || '&' || 'reg; <i>ESS</i></strong>'
--WHERE fac_locale_xsl_label = 'lcl_facilitor_portalwelcome0' AND fac_locale_xsl_lang = 'NL';
-- Ultieme setting voor de widget-portal --> als _facilitor-user (key = 4) de update laten uitvoeren...
UPDATE fac_setting
SET fac_setting_pvalue = '1', prs_perslid_key = 4
WHERE fac_setting_name = 'widgetportal';
-- ***** END Indien ge-integreerd in myfacilitor
BEGIN adm.systrackscript('$Workfile: csun08.sql $', '$Revision$', 1); END;
/
SPOOL OFF
@csun.sql