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

-- HOUT#22944 - Delete entries in relatie tot onderstaande HR-views.
DELETE FROM fac_menu WHERE fac_menu_key IN (221, 122);
DELETE FROM fac_notificatie_job WHERE fac_notificatie_job_key IN (21, 41);
DELETE FROM fac_srtnotificatie WHERE fac_srtnotificatie_key IN (101, 121);
DELETE FROM fac_usrrap WHERE fac_usrrap_key IN (101, 121);

-- HOUT#22944 - Drop HR-views (2 CUST-notificaties, 2 rapportages + 2 domeinen).
DROP VIEW hout_v_noti_aut_unco_aanvragen;
DROP VIEW hout_v_noti_aut_po_aanvragen;
DROP VIEW HOUT_V_RAP_AUT_UNCO_AANVRAGEN;
DROP VIEW HOUT_V_RAP_AUT_PO_AANVRAGEN;
DROP VIEW HOUT_V_UNCO_STAF_MEDEW;
DROP VIEW HOUT_V_PO_MEDEW;

COMMIT;

BEGIN adm.systrackscript('$Workfile: hout19.sql $', '$Revision$', 1); END;
/

SPOOL OFF

@hout.sql
