Files
Customer/PLAT/plat_ini.sql
Marcel Bourseau e7b87e475b PLAT#41631: Vertalen: kostenplaats in projectgroep
svn path=/Customer/trunk/; revision=36058
2017-11-21 09:12:27 +00:00

361 lines
40 KiB
SQL
Raw Blame History

-- Customer specific once-script PLAT.
--
-- (c) 2011 SG|facilitor bv
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL plat01.lst
SET DEFINE OFF
-- Settings
UPDATE fac_setting SET fac_setting_pvalue = '2' where fac_setting_name = 'email_password';
UPDATE fac_setting SET fac_setting_pvalue = '1' where fac_setting_name = 'login_use_email';
UPDATE fac_setting SET fac_setting_pvalue = 'no_reply@plat.facilitor.nl' where fac_setting_name = 'puo_fromaddress';
UPDATE fac_setting SET fac_setting_pvalue = '0' where fac_setting_name = 'ins_explode_objects';
-- Portaal
UPDATE fac_setting SET fac_setting_pvalue = '1' where fac_setting_name = 'widgetportal';
UPDATE fac_setting SET fac_setting_pvalue = 'False' where fac_setting_name = 'menu_start_open';
UPDATE fac_setting SET fac_setting_pvalue = '{'
|| '"headerimage": "../cust/plat/plato.png",'
|| '"headerbackgroundcolor": "#ffffff",'
|| '"headercolor": "#000",'
|| '"mywelcomebackgroundcolor": "#6685ae",'
|| '"frameheaderbackgroundcolor": "#6685ae",'
|| '"blockheaderbackgroundcolor": "#eeb066",'
|| '"buttonbackgroundcolor": "#6685ae",'
|| '"menukophovercolor": "#eeb066",'
|| '"menuitemhovercolor": "#eeb066",'
|| '"profmenucolor": "#6685ae",'
|| '"mgtmenucolor": "#6685ae"'
|| '}' where fac_setting_name = 'csstemplate';
UPDATE fac_setting SET fac_setting_pvalue = '0' where fac_setting_name = 'menu_tab_toggles_portalmenu';
UPDATE fac_setting SET fac_setting_pvalue = '4' where fac_setting_name = 'portalmenucols';
-- PLAT#51253: Plato release 2 bundeling / 2017.2 instellingen
UPDATE fac_setting SET fac_setting_pvalue = '1' where fac_setting_name = 'mjb_enabled';
UPDATE fac_setting SET fac_setting_pvalue = to_char(to_char(sysdate,'YYYY') + 1) where fac_setting_name = 'mjb_freeze_year';
UPDATE fac_setting SET fac_setting_pvalue = to_char(to_char(sysdate,'YYYY') + 1) where fac_setting_name = 'mjb_start_year';
UPDATE fac_setting SET fac_setting_pvalue = '1' where fac_setting_name = 'mjb_operation_external';
insert into fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_width, fac_widget_url)
select 'myfacilitor', 10 , 99, 'fac_portal_menu.asp?groep=1' from dual;
insert into fac_widget (fac_widget_groep, fac_widget_volgnr, fac_widget_width, fac_widget_url)
select 'myfacilitor', 20 , 99, 'myfacilitor.asp' from dual;
-- Terminologie
-- Algemeen
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Plato' WHERE fac_locale_xsl_label = 'lcl_facilitor_appl' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Plato' WHERE fac_locale_xsl_label = 'lcl_facilitor_ie_title' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Welkom bij Plato' WHERE fac_locale_xsl_label = 'lcl_facilitor_portalwelcome1' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = ' ' WHERE fac_locale_xsl_label = 'lcl_facilitor_welcome' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Welkom bij Plato' WHERE fac_locale_xsl_label = 'lcl_firstlogin_url' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Powered by Plato' WHERE fac_locale_xsl_label = 'lcl_mobile_footer' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Op grond van de u toegekende rechten heeft u hiervoor geen bevoegdheid. Indien u van mening bent dat dit niet terecht is kunt u het beste contact opnemen met uw Plato contactpersoon.' WHERE fac_locale_xsl_label = 'lcl_no_auth' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'E-mail adres niet bekend binnen Plato' WHERE fac_locale_xsl_label = 'lcl_pass2emailunknown' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Nieuw Plato wachtwoord' WHERE fac_locale_xsl_label = 'lcl_password_new' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Het Plato wachtwoord herstellen kan via <a href=''{0}''>{0}</a> tot en met {1}.' WHERE fac_locale_xsl_label = 'lcl_password_reset' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Door <20><>n van bovenstaande acties uit te voeren is uw smartphone geregistreerd en kunt u Plato voortaan ook mobiel gebruiken, zonder dat u hiervoor hoeft in te loggen.<br><br>Wilt u een snelkoppeling maken naar Plato Mobile? Link dan naar het menuscherm. Snelkoppelingen naar andere schermen werken niet of niet volledig.<br><br>LET OP: in geval van diefstal of verlies van uw smartphone kunnen anderen mogelijk onder uw naam gebruik maken van Plato. U kunt dan <a href="javascript:clear_sessions()">hier</a> klikken om in <20><>n keer al uw onthouden aanmeldingen te wissen.' WHERE fac_locale_xsl_label = 'lcl_qrc_auth_footer' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bij Plato aanmelden kan via <a href=''{0}''>{0}</a> tot en met {1}.' WHERE fac_locale_xsl_label = 'lcl_qrc_auth_mail_body' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'U bent nu aangemeld bij Plato. Klik <a href=''{0}''>hier</a> om verder te gaan.' WHERE fac_locale_xsl_label = 'lcl_qrc_auth_mail_confirmed' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Plato aanmelden' WHERE fac_locale_xsl_label = 'lcl_qrc_auth_mail_subject' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Plato-URL' WHERE fac_locale_xsl_label = 'lcl_qrc_url' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'U ontvangt dit bericht omdat er een registratie bij Plato is aangevraagd.<p>Indien dit niet door u gebeurd is hoeft u niets te doen. Indien u dit wel zelf was, dient u op deze link<br>' || '&' || 'nbsp;' || '&' || 'nbsp;' || '&' || 'nbsp;' || '&' || 'nbsp;<a href=''{0}''>{0}</a><br>te klikken om uw registratie te voltooien.' WHERE fac_locale_xsl_label = 'lcl_self_register_body' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bevestig uw Plato registratie' WHERE fac_locale_xsl_label = 'lcl_self_register_subject' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Er is te lang geen activiteit geweest, en uw sessie is om veiligheidsredenen vervallen. Sluit het window en log opnieuw in op de Plato portal.' WHERE fac_locale_xsl_label = 'lcl_session_expired' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Op grond van de u toegekende rechten heeft u hiervoor geen bevoegdheid. Meestal is dat zo bedoeld. Indien u van mening bent dat dat niet zo is kunt u het beste contact opnemen met uw Plato contactpersoon.' WHERE fac_locale_xsl_label = 'lcl_shared_no_auth' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Aanmelden bij Plato kan via <a href=''{0}''>{0}</a> tot en met {1}.' WHERE fac_locale_xsl_label = 'lcl_tokenmail_body' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Plato aanmelding' WHERE fac_locale_xsl_label = 'lcl_tokenmail_subject' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'We wensen je veel gemak van Plato!' WHERE fac_locale_xsl_label = 'lcl_welcome_bye' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hierboven zie je altijd het tabblad Mijn Plato waarin je de actuele status kunt zien van alles wat met jou te maken heeft. Het is allemaal eigenlijk behoorlijk vanzelfsprekend en je kunt bijna overal op klikken voor meer informatie.' WHERE fac_locale_xsl_label = 'lcl_welcome_line3' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Welkom bij Plato {0}!' WHERE fac_locale_xsl_label = 'lcl_welcome_title' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Mijn Plato' WHERE fac_locale_xsl_label = 'lcl_body_portal' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '<br>TIP: Voeg Plato toe aan je beginscherm.<br>Om een snelkoppeling te maken druk je op de volgende pagina op juiste knop in je browser en kies je voor Voeg toe aan beginscherm.' WHERE fac_locale_xsl_label = 'lcl_bookmarkthis_hint' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van regio -> klant
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Verwijderen klant' WHERE fac_locale_xsl_label = 'lcl_alg_del_txt_regio' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Klantgegevens' WHERE fac_locale_xsl_label = 'lcl_alg_regio_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Klant' WHERE fac_locale_xsl_label = 'lcl_region' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Klant' WHERE fac_locale_xsl_label = 'lcl_estate_regio_descr' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '>Klant' WHERE fac_locale_xsl_label = 'lcl_goto_regio_list' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Klanten' WHERE fac_locale_xsl_label = 'lcl_menu_alg_regio' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een klant...' WHERE fac_locale_xsl_label = 'lcl_select_regio' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van district -> bedrijf
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Verwijderen bedrijf' WHERE fac_locale_xsl_label = 'lcl_alg_del_txt_district' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bedrijfgegevens' WHERE fac_locale_xsl_label = 'lcl_alg_district_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bedrijf' WHERE fac_locale_xsl_label = 'lcl_district' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bedrijf' WHERE fac_locale_xsl_label = 'lcl_estate_district_man_descr' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '>Bedrijf' WHERE fac_locale_xsl_label = 'lcl_goto_district_list' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bedrijven' WHERE fac_locale_xsl_label = 'lcl_menu_alg_district' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een bedrijf...' WHERE fac_locale_xsl_label = 'lcl_select_district' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van locatie -> complex
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'alg_locatie' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'ins_kenmerk_locatiekolom' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Verwijderen complex' WHERE fac_locale_xsl_label = 'lcl_alg_del_txt_locatie' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex gewijzigd' WHERE fac_locale_xsl_label = 'lcl_alg_is_alglup' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complexgegevens' WHERE fac_locale_xsl_label = 'lcl_alg_locatie_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complexcode' WHERE fac_locale_xsl_label = 'lcl_estate_locatie_man_code' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'lcl_estate_locatie_man_descr' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complexdetails' WHERE fac_locale_xsl_label = 'lcl_estate_locatie_title' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '>Complex' WHERE fac_locale_xsl_label = 'lcl_goto_locatie_list' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'lcl_location' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'lcl_menu_alg_locatie' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Kenmerken van complex' WHERE fac_locale_xsl_label = 'lcl_menu_alg_locatiekenmerken' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex' WHERE fac_locale_xsl_label = 'lcl_mi_location' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een complex...' WHERE fac_locale_xsl_label = 'lcl_select_locatie' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een complex' WHERE fac_locale_xsl_label = 'lcl_select_location' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van gebouw -> cluster
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Verwijderen cluster' WHERE fac_locale_xsl_label = 'lcl_alg_del_txt_gebouw' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster' WHERE fac_locale_xsl_label = 'alg_gebouw' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Clustergegevens' WHERE fac_locale_xsl_label = 'lcl_alg_gebouw_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Ook vervallen clusters' WHERE fac_locale_xsl_label = 'lcl_alg_gebouw_vervallen_incl' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster gewijzigd' WHERE fac_locale_xsl_label = 'lcl_alg_is_alggup' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Clusters' WHERE fac_locale_xsl_label = 'lcl_bld_terra' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster' WHERE fac_locale_xsl_label = 'lcl_building' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster' WHERE fac_locale_xsl_label = 'lcl_estate_gebouw_man_descr' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Clusternaam' WHERE fac_locale_xsl_label = 'lcl_estate_gebouw_man_name' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster opmerking' WHERE fac_locale_xsl_label = 'lcl_estate_gebouw_man_opmerk' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Clusterdetails' WHERE fac_locale_xsl_label = 'lcl_estate_gebouw_title' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '>Cluster' WHERE fac_locale_xsl_label = 'lcl_goto_gebouw_list' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Clusters' WHERE fac_locale_xsl_label = 'lcl_menu_alg_gebouw' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Kenmerken van cluster' WHERE fac_locale_xsl_label = 'lcl_menu_alg_gebouwkenmerken' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een cluster...' WHERE fac_locale_xsl_label = 'lcl_select_gebouw' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cluster functie' WHERE fac_locale_xsl_label = 'lcl_estate_gebouw_srtgebouw' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van Discipline -> hoofrecept
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecept' WHERE fac_locale_xsl_label = 'lcl_discipline' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een hoofdrecept...' WHERE fac_locale_xsl_label = 'lcl_select_discipline' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecepten' WHERE fac_locale_xsl_label = 'lcl_menu_ins_disciplines' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecept' WHERE fac_locale_xsl_label = 'ins_discipline' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecepten' WHERE fac_locale_xsl_label = 'ins_discipline_m' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecept' WHERE fac_locale_xsl_label = 'ins_srtinstallatie_discipline' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'D;Hoofdrecept;G;Groeprecept;S;Subrecept' WHERE fac_locale_xsl_label = 'ins_kenmerk_niveauLOV' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van Groepen (van disciplines) -> groeprecept
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een groeprecept...' WHERE fac_locale_xsl_label = 'lcl_select_srtgroep' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Groeprecepten' WHERE fac_locale_xsl_label = 'lcl_menu_ins_groepen' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Groeprecept' WHERE fac_locale_xsl_label = 'ins_srtgroep' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Groeprecepten' WHERE fac_locale_xsl_label = 'ins_srtgroep_m' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Hoofdrecept' WHERE fac_locale_xsl_label = 'ins_srtgroep_catalogus' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Groeprecept' WHERE fac_locale_xsl_label = 'ins_srtinstallatie_srtgroep' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van objectsoorten -> subrecept
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Subrecept' WHERE fac_locale_xsl_label = 'ins_srtinstallatie_srtdeel' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Weet u zeker dat u dit subrecept wil verwijderen?' WHERE fac_locale_xsl_label = 'lcl_ins_del_srtdeel' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Het subrecept verschilt. Specifieke kenmerken kunnen niet worden getoond. Kies elementen van hetzelfde subrecept' WHERE fac_locale_xsl_label = 'lcl_ins_diff_objsrt' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Kies subrecept' WHERE fac_locale_xsl_label = 'lcl_ins_nosrtdeel_selected' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Subrecept nummer' WHERE fac_locale_xsl_label = 'lcl_ins_objsrt_code' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Subrecepten' WHERE fac_locale_xsl_label = 'lcl_menu_ins_objectsoorten' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Dit subrecept is niet mogelijk bij deze plaats/ eigenaar.' WHERE fac_locale_xsl_label = 'lcl_obj_notallowed' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een subrecept...' WHERE fac_locale_xsl_label = 'lcl_select_srtdeel' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Subrecept nummer' WHERE fac_locale_xsl_label = 'lcl_obj_srtdeel_code' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'D;Element;S;Subrecept' WHERE fac_locale_xsl_label = 'ins_kenmerk_bewerkniveauLOV' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van objecten
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element kenmerk' WHERE fac_locale_xsl_label = 'ins_kenmerk' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element kenmerken' WHERE fac_locale_xsl_label = 'ins_kenmerk_m' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Ook vervallen elementen' WHERE fac_locale_xsl_label = 'lcl_expobjects_incl' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element beheer' WHERE fac_locale_xsl_label = 'lcl_facmgt_ins' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Weet u zeker dat u dit element wil verwijderen?' WHERE fac_locale_xsl_label = 'lcl_ins_del_txt_deel' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Bewerken element' WHERE fac_locale_xsl_label = 'lcl_ins_edit_object' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element verwijderd' WHERE fac_locale_xsl_label = 'lcl_ins_is_insdel' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element geregistreerd' WHERE fac_locale_xsl_label = 'lcl_ins_is_insnew' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Eleement gewijzigd' WHERE fac_locale_xsl_label = 'lcl_ins_is_insupd' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element kenmerken' WHERE fac_locale_xsl_label = 'lcl_ins_kenmerken' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Gerelateerde elementen' WHERE fac_locale_xsl_label = 'lcl_ins_koppelobjects' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Beheerder van element' WHERE fac_locale_xsl_label = 'lcl_ins_manager' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Geen autorisatie voor het wijzigen van het element' WHERE fac_locale_xsl_label = 'lcl_ins_no_auth_change' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element' WHERE fac_locale_xsl_label = 'lcl_ins_object' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Elementen' WHERE fac_locale_xsl_label = 'lcl_ins_objects' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element beheer' WHERE fac_locale_xsl_label = 'lcl_menu_ins_bo_man' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element beheer' WHERE fac_locale_xsl_label = 'lcl_menu_ins_bo_use' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Ander element' WHERE fac_locale_xsl_label = 'lcl_obj_bind_i' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Dit element verwijderen?' WHERE fac_locale_xsl_label = 'lcl_obj_del_confirm' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Element' WHERE fac_locale_xsl_label = 'lcl_obj_inf_name' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Subrecept' WHERE fac_locale_xsl_label = 'lcl_obj_sort' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer element' WHERE fac_locale_xsl_label = 'lcl_select_object' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Complex-Cluster' WHERE fac_locale_xsl_label = 'lcl_obj_position' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = ' ' WHERE fac_locale_xsl_label = 'lcl_obj_owner' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van terugkerende taken -> recept
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Recepten' WHERE fac_locale_xsl_label = 'ins_srtcontrole_m' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Recepten' WHERE fac_locale_xsl_label = 'lcl_ins_planned_activities' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Recepten' WHERE fac_locale_xsl_label = 'lcl_menu_ins_srtcontrole' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Rename van kostenvelden bij terugkerende taken
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Loonbedrag' WHERE fac_locale_xsl_label = 'ins_srtcontrole_kosten' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Derden' WHERE fac_locale_xsl_label = 'ins_srtcontrole_kosten2' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Materieel' WHERE fac_locale_xsl_label = 'ins_srtcontrole_kosten3' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- FSN#38412: Rename van periode->cyclus, frequentie -> cyclus)
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cyclus' WHERE fac_locale_xsl_label = 'lcl_ins_controle_period' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cyclus' WHERE fac_locale_xsl_label = 'ins_srtcontrole_periode' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Cyclus' WHERE fac_locale_xsl_label = 'lcl_mjb_frequency' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- PLAT#41631: Rename van kostenplaats -> projectgroep
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Selecteer een projectgroep...' WHERE fac_locale_xsl_label = 'lcl_select_kostenplaats' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep gegevens' WHERE fac_locale_xsl_label = 'lcl_kpn_kpn_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'U moet projectgroepen selecteren.' WHERE fac_locale_xsl_label = 'lcl_kpn_mandatory' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Verwijderen projectgroep' WHERE fac_locale_xsl_label = 'lcl_kpn_del_txt_kostenplaats' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Alleen beschikbaar met geldige projectgroep' WHERE fac_locale_xsl_label = 'lcl_select_account_disc' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_account' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_mld_kosten' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_mld_inf_Kostenplaats' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kosten' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Type projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kosttype' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Afdelingen Projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kosttype_prs' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Gebouwen Projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kosttype_alg' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projecten Projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kosttype_prj' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep code' WHERE fac_locale_xsl_label = 'lcl_prs_kostcode' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep: Inzage' WHERE fac_locale_xsl_label = 'lcl_prs_kosten_inzage' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep cluster' WHERE fac_locale_xsl_label = 'lcl_prs_kostenpl_group' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Externe projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_kpnextern' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Alle projectgroepen' WHERE fac_locale_xsl_label = 'lcl_prs_all_accounts' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep gewijzigd' WHERE fac_locale_xsl_label = 'lcl_prs_is_prskpu' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_prs_dept_kosten' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroepen' WHERE fac_locale_xsl_label = 'lcl_menu_fin_kostenplaatsen' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroepen cluster' WHERE fac_locale_xsl_label = 'lcl_menu_fin_kostenplaatsgroep' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'lcl_shared_account' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'is budgethouder voor projectgroep' WHERE fac_locale_xsl_label = 'PRS_BUDGETHOUDER_VAN' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep verplicht' WHERE fac_locale_xsl_label = 'ins_discipline_kpnverplicht' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = '0;Standaard uit;1;Standaard aan;2;Projectgroep niet tonen' WHERE fac_locale_xsl_label = 'ins_srtdiscipline_kostenklantLOV' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'prs_kostenplaats' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroepen' WHERE fac_locale_xsl_label = 'prs_kostenplaats_m' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroepen gewijzigd' WHERE fac_locale_xsl_label = 'lcl_noti_PRSKPU' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep' WHERE fac_locale_xsl_label = 'kostenplaats' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
UPDATE fac_locale_xsl SET fac_locale_xsl_cust = 'Projectgroep clusters' WHERE fac_locale_xsl_label = 'lcl_kpn_groep_frame' AND fac_locale_xsl_lang = 'NL' AND fac_locale_xsl_module = 'ASP';
-- Enkele flexprops bij locatie, de keys t/m 1000 zijn vrij voor eigen gebruik (SEQUENCE alg_s_alg_kenmerk_key begint bij 1000, zie ALG_SEQ.SRC)
INSERT INTO alg_kenmerk (alg_kenmerk_key, alg_kenmerk_niveau, alg_kenmerk_volgnr, alg_kenmerk_omschrijving, alg_kenmerk_kenmerktype, alg_kenmerk_toonbaar, alg_kenmerk_lengte)
VALUES (1, 'L', 100, 'Bouwjaar', 'C', 1, 30);
-- Eindjaar is meer een hulp-kenmerk om het (sinds 2016.2 nieuwe) kolom alg_gebouw_vervaldatum te vullen, vandaar dat dit kenmerk op hidden (volgnr -1) komt te staan...
INSERT INTO alg_kenmerk (alg_kenmerk_key, alg_kenmerk_niveau, alg_kenmerk_volgnr, alg_kenmerk_omschrijving, alg_kenmerk_kenmerktype, alg_kenmerk_toonbaar, alg_kenmerk_lengte)
VALUES (2, 'L', -1, 'Eindjaar', 'C', 1, 30);
INSERT INTO alg_kenmerk (alg_kenmerk_key, alg_kenmerk_niveau, alg_kenmerk_volgnr, alg_kenmerk_omschrijving, alg_kenmerk_kenmerktype, alg_kenmerk_toonbaar, alg_kenmerk_lengte)
VALUES (3, 'L', 120, 'Aantal percelen', 'C', 1, 30);
-- PLAT#41493: TB035 Cluster bevat niet het aantal percelen
INSERT INTO alg_kenmerk (alg_kenmerk_key, alg_kenmerk_niveau, alg_kenmerk_volgnr, alg_kenmerk_omschrijving, alg_kenmerk_kenmerktype, alg_kenmerk_toonbaar, alg_kenmerk_lengte)
VALUES (4, 'G', 100, 'Aantal percelen', 'N', 1, 9);
-- CTR discipline 'Meerjaren onderhoud'
INSERT INTO ins_tab_discipline (ins_discipline_module, ins_discipline_omschrijving) values ('CTR', 'Meerjaren Onderhoud');
INSERT INTO ctr_disc_params(ctr_ins_discipline_key, ctr_disc_params_controle_type, ctr_disc_params_ismjob)
SELECT MAX(ins_discipline_key), 2, 1 FROM ins_tab_discipline;
-- Verwijder de overige 3 standaard CTR disciplines, die staan feitelijk in de weg, voor PLATO is er 1 van belang, de 3 standaard CTR's moven...
UPDATE ins_tab_discipline
SET ins_discipline_verwijder = SYSDATE
WHERE ins_discipline_module = 'CTR'
AND ins_discipline_omschrijving <> 'Meerjaren Onderhoud'
AND ins_discipline_verwijder IS NULL;
--Autorisatiegroep _default (fac_groep_key = 1) krijgt wat standaard rechten, w.o. PROFIL
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key,
fac_gebruiker_prs_level_read, fac_gebruiker_prs_level_write, fac_gebruiker_alg_level_read, fac_gebruiker_alg_level_write)
SELECT
1,
fac_functie_key,
-1, -1, -1, -1
FROM fac_functie
WHERE fac_functie_code = 'WEB_PROFIL';
-- Autorisatie-groepen voor 'MJOB' met alleen leesrechten
INSERT INTO fac_groep(fac_groep_omschrijving) VALUES('MJOB-R: Leesrechten');
-- Nu nog de autorisatiegroep MJOB met schrijfrechten
INSERT INTO fac_groep(fac_groep_omschrijving) VALUES('MJOB-W: Schrijfrechten');
-- Nu nog de autorisatiegroep MJOB met ADMINrechten
INSERT INTO fac_groep(fac_groep_omschrijving) VALUES('MJOB-A: Administrator');
-- 1. Eerst MJOB-R (Leesrechten): ALGUSE READ
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key,
fac_gebruiker_prs_level_read, fac_gebruiker_prs_level_write, fac_gebruiker_alg_level_read, fac_gebruiker_alg_level_write)
SELECT
(SELECT fac_groep_key FROM fac_groep WHERE fac_groep_upper = 'MJOB-R: LEESRECHTEN'),
fac_functie_key,
-1, 9, -1, 9
FROM fac_functie
WHERE fac_functie_code = 'WEB_ALGUSE';
-- 2. Dan MJOB-W (Schrijfrechten): ook ALGUSE READ en GEEN! WRITE. Reden is de koppeling van vastgoed met Tobias-AX (bron). Wijzigingen zullen derhalve in de bron (Tobias-AX) moeten gebeuren.
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key,
fac_gebruiker_prs_level_read, fac_gebruiker_prs_level_write, fac_gebruiker_alg_level_read, fac_gebruiker_alg_level_write)
SELECT
(SELECT fac_groep_key FROM fac_groep WHERE fac_groep_upper = 'MJOB-W: SCHRIJFRECHTEN'),
fac_functie_key,
-1, 9, -1, 9
FROM fac_functie
WHERE fac_functie_code = 'WEB_ALGUSE';
-- 3. Dan MJOB-A (Administrator): INSMGT en CTRMGT voor enkele Admin-taken
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key,
fac_gebruiker_prs_level_read, fac_gebruiker_prs_level_write, fac_gebruiker_alg_level_read, fac_gebruiker_alg_level_write)
SELECT
(SELECT fac_groep_key FROM fac_groep WHERE fac_groep_upper = 'MJOB-A: ADMINISTRATOR'),
fac_functie_key,
-1, -1, -1, -1
FROM fac_functie
WHERE fac_functie_code IN ('WEB_INSMGT','WEB_CTRMGT', 'WEB_FINMSU');
-- TOBIAS (OUD) IMPORT (eenmalig) van elementen + recepten
INSERT INTO fac_import_app
(fac_import_app_code, fac_import_app_oms,
fac_functie_key, fac_import_app_prefix)
SELECT 'INS', 'TOBIAS - Import elementen met recepten (aanvullen)',
fac_functie_key, 'plat'
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';
-- TOBIAS (AX) IMPORT-KOPPELING (herhaaldelijk) van clusters/panden
INSERT INTO fac_import_app
(fac_import_app_code, fac_import_app_oms,
fac_functie_key, fac_import_app_prefix)
SELECT 'ONRGOED1', 'TOBIAS AX - Import/koppeling clusters',
fac_functie_key, 'plat'
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';
-- PLAT#36309: MJOP-Export vanuit PLATO, Import in Tobias AX.
INSERT INTO fac_export_app (fac_export_app_code, fac_export_app_flags, fac_export_app_oms, fac_export_app_timestamp,
fac_functie_key, fac_export_app_prefix,
fac_export_app_folder, fac_export_app_file_prefix, fac_export_app_postfix, fac_export_app_log_postfix)
SELECT 'MJOB_TOBIAS_AX', 2, 'Export van geaccordeerde MJOB taken naar Tobias-AX 2009', 'yyyymmdd_HHMM',
fac_functie_key, 'PLAT',
'../export/TobiasAX', 'tobiasax_', '.csv', '.log'
FROM fac_functie
WHERE fac_functie_code = 'WEB_FINMSU';
-- Omdat Tobias-AX geen CSV kan inlezen, maar (alleen/wel) Excel, doen we geen export, maar een rapport.
-- Om insert hieronder te laten slagen, eerst dummy view aanmaken.
CREATE VIEW plat_v_rap_mjob_tobiasax (x) AS SELECT 'x' FROM DUAL;
INSERT INTO fac_usrrap (fac_usrrap_omschrijving, fac_usrrap_view_name, fac_usrrap_functie, fac_usrrap_info, fac_usrrap_count, fac_usrrap_ratio, fac_usrrap_pivot, fac_usrrap_graph, fac_usrrap_cond, fac_functie_key, fac_usrrap_graph_type)
SELECT 'Export Tobias-AX', 'plat_v_rap_mjob_tobiasax', 0, 'Draai dit rapport uit, open via de Excel-knop het XLS-bestand en bewaar dan als XLSX.', 0, 0, 0, 0, 0, f.fac_functie_key, 0
FROM fac_functie f WHERE f.fac_functie_code = 'WEB_CTRUSE';
COMMIT;
SPOOL OFF
@plat