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

INSERT INTO fac_import_app (fac_import_app_code,
                            fac_import_app_oms,
                            fac_import_app_xsl,
                            fac_functie_key,
                            fac_import_app_charset,
                            fac_import_app_folder,
                            fac_import_app_files,
                            fac_import_app_prefix)
   SELECT 'PRS',
          'Import employees',
          NULL,
          fac_functie_key,
          'utf-8',
          NULL,
          NULL,
          'ASTE'
     FROM fac_functie
    WHERE fac_functie_code = 'WEB_PRSSYS';

-- 93=WEB_PRSSYS
CREATE OR REPLACE VIEW aste_v_rap_import_log 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_functie_key, fac_usrrap_autorefresh
            )
     VALUES ('ADMIN: Import logging', 'aste_v_rap_import_log',
             0, 0,
             0,
             'E=Error/Fout | W=Waarschuwing | I=Informatie | S=Samenvatting.',
             93, 0
            );

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