-- Customer specific once-script HOUT40.
--
-- (c) 2016 Facilitor B.V.
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL xHOUT40.lst
SET DEFINE OFF
/*
-- HOUT#37759: Servicedesk-rapportages en exports daarvan
-- 57=PRSSYS
CREATE OR REPLACE VIEW hout_v_rap_ict_mld AS SELECT NULL x FROM DUAL;
INSERT INTO FAC_USRRAP (fac_usrrap_omschrijving,
                        fac_usrrap_view_name,
                        fac_usrrap_vraagbegindatum,
                        fac_usrrap_vraageinddatum,
                        fac_usrrap_functie,
                        fac_usrrap_info,
                        fac_usrrap_autorefresh,
                        fac_functie_key)
    VALUES ('Dataset ICT-meldingen',
            'hout_v_rap_ict_mld',
            0,
            0,
            0,
            'HOUT#37759/1',
            0,
            57);

CREATE OR REPLACE VIEW hout_v_rap_ict_ord AS SELECT NULL x FROM DUAL;
INSERT INTO FAC_USRRAP (fac_usrrap_omschrijving,
                        fac_usrrap_view_name,
                        fac_usrrap_vraagbegindatum,
                        fac_usrrap_vraageinddatum,
                        fac_usrrap_functie,
                        fac_usrrap_info,
                        fac_usrrap_autorefresh,
                        fac_functie_key)
    VALUES ('Dataset ICT-opdrachten',
            'hout_v_rap_ict_ord',
            0,
            0,
            0,
            'HOUT#37759/2',
            0,
            57);

COMMIT;
*/
INSERT INTO fac_export_app (fac_export_app_code,
                            fac_export_app_oms,
                            fac_functie_key,
                            --fac_export_app_charset,
                            fac_export_app_folder,
                            fac_export_app_prefix,
                            fac_export_app_file_prefix,
                            fac_export_app_postfix,
                            fac_export_app_log_postfix,
                            fac_export_app_flags,
                            --fac_export_app_xsl,
                            fac_export_app_timestamp)
    VALUES ('ICT_MLD',
            'ICT-meldingen',
            57,
            --NULL,
            'd:\Apps\Facilitor\ftp_sites\LocalUser\HOUTFtp\MI',
            'HOUT',
            'ICT_MLD_',
            '.csv',
            '.log',
            0,
            --NULL,
            'yyyymmdd');

INSERT INTO fac_export_app (fac_export_app_code,
                            fac_export_app_oms,
                            fac_functie_key,
                            --fac_export_app_charset,
                            fac_export_app_folder,
                            fac_export_app_prefix,
                            fac_export_app_file_prefix,
                            fac_export_app_postfix,
                            fac_export_app_log_postfix,
                            fac_export_app_flags,
                            --fac_export_app_xsl,
                            fac_export_app_timestamp)
    VALUES ('ICT_ORD',
            'ICT-opdrachten',
            57,
            --NULL,
            'd:\Apps\Facilitor\ftp_sites\LocalUser\HOUTFtp\MI',
            'HOUT',
            'ICT_ORD_',
            '.csv',
            '.log',
            0,
            --NULL,
            'yyyymmdd');

COMMIT;
BEGIN adm.systrackscriptId('$Id$'); END;
/
SPOOL OFF
@hout.sql
