-- Customer specific once-script DJIN5.
--
-- (c) 2016 Facilitor B.V.
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL xDJIN5.lst
SET DEFINE OFF

-- DJIN#36134: Automatisch verwijderen bezoekgegevens (export)
-- 90=PRSSYS
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 ('NACHTWERK',
            'Nachtwerk',
            90,
            --NULL,
            '.\NACHTWERK',
            'DJIN',
            'NACHTWERK_',
            '.txt',                                                    -- csv?
            '.log',
            0,
            --NULL,
            'yyyymmdd');

COMMIT;

-- DJIN#36239: Autorisatierapport
-- 90=PRSSYS
CREATE OR REPLACE VIEW djin_v_rap_personen_groepen 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 ('BEHEER: Autorisatierapport',
            'djin_v_rap_personen_groepen',
            0,
            0,
            0,
            'DJIN#36239',
            0,
            90);

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