--
-- Recreate script for Facilitor
--
/*
 * C-style comment is removed from the result
 */
// Recreation all views
#include "fac\fac_vie.src"
#include "alg\alg_vie.src"
#include "ins\ins_vie.src"
#include "prs\prs_vie.src"
#include "mld\mld_vie.src"
#include "cad\cad_vie.src"
#include "res\res_vie.src"
#include "bez\bez_vie.src"
#include "web\web_vie.src"
#include "cnt\cnt_vie.src"
#include "bes\bes_vie.src"
#include "mrk\mrk_vie.src"
#include "fin\fin_vie.src"
#include "bgt\bgt_vie.src"
#include "prj\prj_vie.src"
#include "msg\msg_vie.src"
#include "kpi\kpi_vie.src"
#include "ctr\ctr_vie.src"

// Recreation all packages
#include "adm\adm_pac.src"
#include "cnt\cnt_pac.src"
#include "mld\mld_pac.src"
#include "fac\fac_pac.src"
#include "alg\alg_pac.src"
#include "ins\ins_pac.src"
#include "prs\prs_pac.src"
#include "cad\cad_pac.src"
#include "res\res_pac.src"
#include "bez\bez_pac.src"
#include "web\web_pac.src"
#include "bes\bes_pac.src"
#include "mrk\mrk_pac.src"
#include "fin\fin_pac.src"
#include "bgt\bgt_pac.src"
#include "prj\prj_pac.src"
#include "msg\msg_pac.src"
#include "kpi\kpi_pac.src"
#include "ctr\ctr_pac.src"

// Recreation all triggers
// adm_tri staat ook al in FCLT.SRC maar hier herhalen voor upgrade-scripts
#include "adm\adm_tri.src"
#include "fac\fac_tri.src"
#include "alg\alg_tri.src"
#include "aut\aut_tri.src"
#include "ins\ins_tri.src"
#include "prs\prs_tri.src"
#include "cnt\cnt_tri.src"
#include "mld\mld_tri.src"
#include "cad\cad_tri.src"
#include "res\res_tri.src"
#include "bez\bez_tri.src"
#include "web\web_tri.src"
#include "bes\bes_tri.src"
#include "mrk\mrk_tri.src"
#include "fin\fin_tri.src"
#include "bgt\bgt_tri.src"
#include "prj\prj_tri.src"
#include "msg\msg_tri.src"
#include "kpi\kpi_tri.src"
#include "ctr\ctr_tri.src"

/* LOCALE's */
#include "fac\fac_lcl.src"
#include "mld\mld_lcl.src"
#include "res\res_lcl.src"
#include "ins\ins_lcl.src"

/* SETTINGS's. Bij CREA-script doen we ze iets later in FAC_INI.SRC */
#ifndef FCLT_CREATE
#include "fac\fac_set.src"
#endif

ALTER PACKAGE fac COMPILE; // anders soms (nog) invalid en lukt het volgende niet niet
ALTER PACKAGE fac COMPILE BODY; // Zelfs de COMPILE_SCHEMA van een paar regels verder naar voren halen hielp niet.

BEGIN fac.registerversion(_VERSIONMAJ, _VERSIONMIN, _VERSIONPATCH, _DBV_STRING, NULL); END;
/
/* now compile all views, triggers etc acc to the latest state */
BEGIN
  DBMS_UTILITY.COMPILE_SCHEMA(USER, FALSE); 
  DBMS_UTILITY.COMPILE_SCHEMA(USER, FALSE);  // Soms lukt het niet in 1 keer
END;
/
REGISTERONCE('$Id$')
COMMIT;
