-- Customer specific once-script UWVA85.
--
-- (c) 2013 SG|facilitor bv
-- $Revision$
-- $Id$
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL xuwva85.lst
SET DEFINE OFF

-- UWVA#28220: Verwijderen 341=BEDRIJF-import
DELETE FROM fac_import WHERE fac_import_app_key = 341;
DELETE FROM fac_import_app WHERE fac_import_app_key = 341;
DROP PROCEDURE UWVA_IMPORT_BEDRIJF;
DROP PROCEDURE UWVA_UPDATE_BEDRIJF;
DROP TABLE UWVA_IMP_BEDRIJF;

-- UWVA#28207
INSERT INTO fac_srtnotificatie
            (fac_srtnotificatie_code, fac_srtnotificatie_mode,
             fac_srtnotificatie_oms, fac_srtnotificatie_xmlnode,
             fac_srtnotificatie_groep
            )
     VALUES ('CUST22', 0,
             'Mutatie >€500 in VOB-bestelling', 'bestelling',
             0
            );

INSERT INTO fac_notificatie_job
            (fac_notificatie_job_view,
             fac_notificatie_job_oms,
             fac_notificatie_job_interval, fac_notificatie_job_mode
            )
     VALUES ('UWVA_V_NOTI_VOB',
             'Noticatie bij mutaties >€500 in VOB-bestellingen',
             1, 0
            );

COMMIT;

BEGIN adm.systrackscript('$Workfile: uwva85.sql $', '$Revision$', 2); END;
/
SPOOL OFF

--@@uwva_prs.sql
--@@uwva_fin.sql
--@@uwva_hv.sql
@@uwva_misc.sql

BEGIN fac.registercustversion('UWVA', 85); END;
/
COMMIT;
