-- Create schema samfm
--

CREATE DATABASE IF NOT EXISTS samfm;
USE samfm;
--
-- Definition of table `lien_img_arti`
--

CREATE TABLE `lien_img_arti` (
  `limarti_seq` int(11) NOT NULL auto_increment,
  `limarti_arti_fk` int(11) default NULL,
  `limarti_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limarti_seq`),
  KEY `limarti_arti_fk` (`limarti_arti_fk`),
  KEY `limarti_img_fk` (`limarti_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_arti`
--



--
-- Definition of table `lien_img_bat`
--

CREATE TABLE `lien_img_bat` (
  `limbat_seq` int(11) NOT NULL auto_increment,
  `limbat_bat_fk` int(11) default NULL,
  `limbat_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limbat_seq`),
  KEY `limbat_bat_fk` (`limbat_bat_fk`),
  KEY `limbat_img_fk` (`limbat_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_bat`
--



--
-- Definition of table `lien_img_comp`
--

CREATE TABLE `lien_img_comp` (
  `limcomp_seq` int(11) NOT NULL auto_increment,
  `limcomp_comp_fk` int(11) default NULL,
  `limcomp_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limcomp_seq`),
  KEY `limcomp_comp_fk` (`limcomp_comp_fk`),
  KEY `limcomp_img_fk` (`limcomp_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_comp`
--



--
-- Definition of table `lien_img_comt`
--

CREATE TABLE `lien_img_comt` (
  `limcomt_seq` int(11) NOT NULL auto_increment,
  `limcomt_comt_fk` int(11) default NULL,
  `limcomt_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limcomt_seq`),
  KEY `limcomt_comt_fk` (`limcomt_comt_fk`),
  KEY `limcomt_img_fk` (`limcomt_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_comt`
--



--
-- Definition of table `lien_img_dom`
--

CREATE TABLE `lien_img_dom` (
  `limdom_seq` int(11) NOT NULL auto_increment,
  `limdom_dom_fk` int(11) default NULL,
  `limdom_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limdom_seq`),
  KEY `limdom_dom_fk` (`limdom_dom_fk`),
  KEY `limdom_img_fk` (`limdom_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_dom`
--



--
-- Definition of table `lien_img_eqip`
--

CREATE TABLE `lien_img_eqip` (
  `limeq_seq` int(11) NOT NULL auto_increment,
  `limeq_eqip_fk` int(11) default NULL,
  `limeq_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limeq_seq`),
  KEY `limeq_eqip_fk` (`limeq_eqip_fk`),
  KEY `limeq_img_fk` (`limeq_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_eqip`
--



--
-- Definition of table `lien_img_fame`
--

CREATE TABLE `lien_img_fame` (
  `limfame_seq` int(11) NOT NULL auto_increment,
  `limfame_fame_fk` int(11) default NULL,
  `limfame_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limfame_seq`),
  KEY `limfame_fame_fk` (`limfame_fame_fk`),
  KEY `limfame_img_fk` (`limfame_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_fame`
--



--
-- Definition of table `lien_img_loca`
--

CREATE TABLE `lien_img_loca` (
  `limloca_seq` int(11) NOT NULL auto_increment,
  `limloca_loca_fk` int(11) default NULL,
  `limloca_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limloca_seq`),
  KEY `limloca_loca_fk` (`limloca_loca_fk`),
  KEY `limloca_img_fk` (`limloca_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_loca`
--



--
-- Definition of table `lien_img_sit`
--

CREATE TABLE `lien_img_sit` (
  `limsit_seq` int(11) NOT NULL auto_increment,
  `limsit_sit_fk` int(11) default NULL,
  `limsit_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limsit_seq`),
  KEY `limsit_sit_fk` (`limsit_sit_fk`),
  KEY `limsit_img_fk` (`limsit_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_sit`
--



--
-- Definition of table `lien_img_zone`
--

CREATE TABLE `lien_img_zone` (
  `limzone_seq` int(11) NOT NULL auto_increment,
  `limzone_zone_fk` int(11) default NULL,
  `limzone_img_fk` int(11) default NULL,
  PRIMARY KEY  (`limzone_seq`),
  KEY `limzone_zone_fk` (`limzone_zone_fk`),
  KEY `limzone_img_fk` (`limzone_img_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_img_zone`
--



--
-- Definition of table `lien_inte_oper`
--

CREATE TABLE `lien_inte_oper` (
  `lino_seq` int(11) NOT NULL auto_increment,
  `lino_date` datetime default NULL,
  `lino_nbheure` decimal(16,2) default NULL,
  `lino_heuredebut` datetime default NULL,
  `lino_heurefin` datetime default NULL,
  `lino_coeff` decimal(16,2) default NULL,
  `lino_inte_fk` int(11) default NULL,
  `lino_oper_fk` int(11) default NULL,
  PRIMARY KEY  (`lino_seq`),
  KEY `lino_inte_fk` (`lino_inte_fk`),
  KEY `lino_oper_fk` (`lino_oper_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_inte_oper`
--



--
-- Definition of table `lien_intervope_tmp_sfm`
--

CREATE TABLE `lien_intervope_tmp_sfm` (
  `lino_seq` int(11) default '0',
  `lino_date` date default '0000-00-00',
  `lino_nbheure` decimal(20,2) default '0.00',
  `lino_heuredebut` time default '00:00:00',
  `lino_heurefin` time default '00:00:00',
  `lino_coeff` decimal(20,2) default '0.00',
  `lino_inte_fk` int(11) default '0',
  `lino_opar_fk` int(11) default '0',
  `lino_oper_fk` int(11) default '0',
  `lino_tournee_fk` int(11) default NULL,
  `lino_ltac_fk` int(11) default NULL,
  `lino_sfm_sess_id` varchar(40) NOT NULL,
  KEY `lino_sfm_sess_id` (`lino_sfm_sess_id`),
  KEY `lino_oper_fk` (`lino_oper_fk`),
  KEY `lino_seq` (`lino_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_intervope_tmp_sfm`
--



--
-- Definition of table `lien_lcogl_moco`
--

CREATE TABLE `lien_lcogl_moco` (
  `llcmo_seq` int(11) NOT NULL auto_increment,
  `llcmo_moco_fk` int(11) default NULL,
  `llcmo_lcogl_fk` int(11) default NULL,
  `llcmo_valeur` varchar(40) default NULL,
  PRIMARY KEY  (`llcmo_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_lcogl_moco`
--



--
-- Definition of table `lien_lfagl_moeq`
--

CREATE TABLE `lien_lfagl_moeq` (
  `llfmo_seq` int(11) NOT NULL auto_increment,
  `llfmo_moeq_fk` int(11) default NULL,
  `llfmo_lfagl_fk` int(11) default NULL,
  `llfmo_valeur` varchar(40) default NULL,
  PRIMARY KEY  (`llfmo_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_lfagl_moeq`
--



--
-- Definition of table `lien_mate_sreu`
--

CREATE TABLE `lien_mate_sreu` (
  `lmsr_seq` int(11) NOT NULL auto_increment,
  `lmsr_sreu_fk` int(11) NOT NULL default '0',
  `lmsr_mate_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lmsr_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_mate_sreu`
--



--
-- Definition of table `lien_mescptope_tmp_sfm`
--

CREATE TABLE `lien_mescptope_tmp_sfm` (
  `lmco_seq` int(11) default '0',
  `lmco_val_fin` decimal(20,2) default '0.00',
  `lmco_dat_fin` date default '0000-00-00',
  `lmco_mesu_fk` int(11) default '0',
  `lmco_opar_fk` int(11) default '0',
  `lmco_oper_fk` int(11) default '0',
  `lmco_prco_fk` int(11) default '0',
  `lmco_eqpr_fk` int(11) default '0',
  `lmco_rele_fk` int(11) default '0',
  `lmco_tournee_fk` int(11) default NULL,
  `lmco_ltac_fk` int(11) default NULL,
  `lmco_sfm_sess_id` varchar(40) default NULL,
  `lmco_sfm_val_releve` decimal(20,2) default '0.00',
  `lmco_sfm_date_releve` date default '0000-00-00',
  `lmco_ordre` int(11) default NULL,
  KEY `lmco_val_releve` (`lmco_sfm_val_releve`),
  KEY `lmco_oper_fk` (`lmco_oper_fk`),
  KEY `lmco_seq` (`lmco_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_mescptope_tmp_sfm`
--



--
-- Definition of table `lien_mpmes_fapr`
--

CREATE TABLE `lien_mpmes_fapr` (
  `lmpfp_seq` int(11) NOT NULL auto_increment,
  `lmpfp_mpmes_fk` int(11) default NULL,
  `lmpfp_fapr_fk` int(11) default NULL,
  PRIMARY KEY  (`lmpfp_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_mpmes_fapr`
--



--
-- Definition of table `lien_oper_eqpr_fuseffac`
--

CREATE TABLE `lien_oper_eqpr_fuseffac` (
  `loef_seq` int(11) NOT NULL auto_increment,
  `loef_oper_fk` int(11) default NULL,
  `loef_eqpr_fk` int(11) default NULL,
  PRIMARY KEY  (`loef_seq`),
  KEY `loef_oper_fk` (`loef_oper_fk`),
  KEY `loef_eqpr_fk` (`loef_eqpr_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_oper_eqpr_fuseffac`
--



--
-- Definition of table `lien_pda_oper`
--

CREATE TABLE `lien_pda_oper` (
  `lpdo_seq` int(11) NOT NULL auto_increment,
  `lpdo_pda_fk` int(11) default NULL,
  `lpdo_oper_fk` int(11) default NULL,
  `lpdo_etat_transfert` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lpdo_seq`),
  KEY `lpdo_pda_fk` (`lpdo_pda_fk`),
  KEY `lpdo_oper_fk` (`lpdo_oper_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_pda_oper`
--



--
-- Definition of table `lien_pmes_eqpr`
--

CREATE TABLE `lien_pmes_eqpr` (
  `lpmpe_seq` int(11) NOT NULL auto_increment,
  `lpmpe_pmes_fk` int(11) default NULL,
  `lpmpe_eqpr_fk` int(11) default NULL,
  PRIMARY KEY  (`lpmpe_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_pmes_eqpr`
--



--
-- Definition of table `lien_pram`
--

CREATE TABLE `lien_pram` (
  `lafm_seq` int(11) NOT NULL auto_increment,
  `lafm_date` datetime default NULL,
  `lafm_qtepram` decimal(16,2) default NULL,
  `lafm_arti_fk` int(11) default NULL,
  `lafm_cata_fk` int(11) default NULL,
  `lafm_entr_fk` int(11) default NULL,
  `lafm_mag_fk` int(11) default NULL,
  PRIMARY KEY  (`lafm_seq`),
  KEY `lafm_arti_fk` (`lafm_arti_fk`),
  KEY `lafm_cata_fk` (`lafm_cata_fk`),
  KEY `lafm_entr_fk` (`lafm_entr_fk`),
  KEY `lafm_mag_fk` (`lafm_mag_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_pram`
--



--
-- Definition of table `lien_prof_dolt`
--

CREATE TABLE `lien_prof_dolt` (
  `lpdl_seq` int(11) NOT NULL auto_increment,
  `lpdl_prof_fk` int(11) default NULL,
  `lpdl_dolt_fk` int(11) default NULL,
  PRIMARY KEY  (`lpdl_seq`),
  KEY `lpdl_prof_fk` (`lpdl_prof_fk`),
  KEY `lpdl_dolt_fk` (`lpdl_dolt_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prof_dolt`
--



--
-- Definition of table `lien_prof_dom`
--

CREATE TABLE `lien_prof_dom` (
  `lprdo_seq` int(11) NOT NULL auto_increment,
  `lprdo_prof_fk` int(11) default NULL,
  `lprdo_dom_fk` int(11) default NULL,
  `lprdo_module_id` tinyint(3) unsigned default NULL,
  `lprdo_type` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lprdo_seq`),
  KEY `lprdo_prof_fk` (`lprdo_prof_fk`),
  KEY `lprdo_dom_fk` (`lprdo_dom_fk`),
  KEY `lprdo_module_id` (`lprdo_module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prof_dom`
--



--
-- Definition of table `lien_prof_mag`
--

CREATE TABLE `lien_prof_mag` (
  `lprma_seq` int(11) NOT NULL auto_increment,
  `lprma_prof_fk` int(11) default NULL,
  `lprma_mag_fk` int(11) default NULL,
  `lprma_type` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lprma_seq`),
  KEY `lprma_prof_fk` (`lprma_prof_fk`),
  KEY `lprma_mag_fk` (`lprma_mag_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prof_mag`
--



--
-- Definition of table `lien_prof_sat`
--

CREATE TABLE `lien_prof_sat` (
  `lpst_seq` int(11) NOT NULL auto_increment,
  `lpst_prof_fk` int(11) default NULL,
  `lpst_sat_fk` int(11) default NULL,
  `lpst_type` tinyint(3) unsigned default NULL,
  `lpst_module_id` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lpst_seq`),
  KEY `lpst_prof_fk` (`lpst_prof_fk`),
  KEY `lpst_sat_fk` (`lpst_sat_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prof_sat`
--



--
-- Definition of table `lien_prof_sdom_dom`
--

CREATE TABLE `lien_prof_sdom_dom` (
  `lprsdo_seq` int(11) NOT NULL auto_increment,
  `lprsdo_prof_fk` int(11) default NULL,
  `lprsdo_sdom_fk` int(11) default NULL,
  `lprsdo_dom_fk` int(11) default NULL,
  `lprsdo_module_id` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lprsdo_seq`),
  KEY `lrpsdo_prof_fk` (`lprsdo_prof_fk`),
  KEY `lprsdo_sdom_fk` (`lprsdo_sdom_fk`),
  KEY `lprsdo_dom_fk` (`lprsdo_dom_fk`),
  KEY `lprsdo_module_id` (`lprsdo_module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prof_sdom_dom`
--

INSERT INTO `lien_prof_sdom_dom` (`lprsdo_seq`,`lprsdo_prof_fk`,`lprsdo_sdom_fk`,`lprsdo_dom_fk`,`lprsdo_module_id`) VALUES 
 (1,1,NULL,5,23),
 (2,1,NULL,1,23),
 (3,1,NULL,2,23),
 (4,1,NULL,3,23),
 (5,1,NULL,10,23),
 (6,1,NULL,4,23),
 (7,1,NULL,9,23),
 (8,1,NULL,8,23),
 (9,1,NULL,6,23),
 (10,1,NULL,7,23),
 (11,2,NULL,5,23),
 (12,2,NULL,2,23),
 (13,2,NULL,3,23),
 (14,2,NULL,10,23),
 (15,2,NULL,6,23);


--
-- Definition of table `lien_prse_sreu`
--

CREATE TABLE `lien_prse_sreu` (
  `lpsr_seq` int(11) NOT NULL auto_increment,
  `lpsr_prse_fk` int(11) NOT NULL default '0',
  `lpsr_sreu_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lpsr_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_prse_sreu`
--



--
-- Definition of table `lien_sat_dom`
--

CREATE TABLE `lien_sat_dom` (
  `lsd_seq` int(11) NOT NULL auto_increment,
  `lsd_dom_fk` int(11) default NULL,
  `lsd_supe_fk` int(11) default NULL,
  `lsd_trav_fk` int(11) default NULL,
  `lsd_inte_fk` int(11) default NULL,
  `lsd_sat_fk` int(11) default NULL,
  PRIMARY KEY  (`lsd_seq`),
  KEY `lsd_dom_fk` (`lsd_dom_fk`),
  KEY `lsd_supe_fk` (`lsd_supe_fk`),
  KEY `lsd_trav_fk` (`lsd_trav_fk`),
  KEY `lsd_inte_fk` (`lsd_inte_fk`),
  KEY `lsd_sat_fk` (`lsd_sat_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_sat_dom`
--



--
-- Definition of table `lien_sdom_attr`
--

CREATE TABLE `lien_sdom_attr` (
  `lsda_seq` int(11) NOT NULL auto_increment,
  `lsda_sdom_fk` int(11) NOT NULL default '0',
  `lsda_attr_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lsda_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_sdom_attr`
--



--
-- Definition of table `lien_sreu_sreu_assoc`
--

CREATE TABLE `lien_sreu_sreu_assoc` (
  `lssa_seq` int(11) NOT NULL auto_increment,
  `lssa_sreu_fk` int(11) default NULL,
  `lssa_sreu_ass_fk` int(11) default NULL,
  PRIMARY KEY  (`lssa_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_sreu_sreu_assoc`
--



--
-- Definition of table `lien_zgrp_sloc`
--

CREATE TABLE `lien_zgrp_sloc` (
  `lzgs_seq` int(11) NOT NULL auto_increment,
  `lzgs_sloc_fk` int(11) NOT NULL default '0',
  `lzgs_zgrp_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lzgs_seq`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zgrp_sloc`
--

INSERT INTO `lien_zgrp_sloc` (`lzgs_seq`,`lzgs_sloc_fk`,`lzgs_zgrp_fk`) VALUES 
 (1,1,3),
 (2,2,3),
 (3,1,1),
 (4,2,1),
 (5,3,1),
 (6,3,2);


--
-- Definition of table `lien_zus_bat`
--

CREATE TABLE `lien_zus_bat` (
  `lzbt_seq` int(11) NOT NULL auto_increment,
  `lzbt_zus_fk` int(11) NOT NULL default '0',
  `lzbt_bat_fk` int(11) NOT NULL default '0',
  `lzbt_type` int(11) default NULL,
  `lzbt_module_id` tinyint(4) default NULL,
  PRIMARY KEY  (`lzbt_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zus_bat`
--



--
-- Definition of table `lien_zus_dolt`
--

CREATE TABLE `lien_zus_dolt` (
  `lzdl_seq` int(11) NOT NULL auto_increment,
  `lzdl_zus_fk` int(11) NOT NULL default '0',
  `lzdl_dolt_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lzdl_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zus_dolt`
--



--
-- Definition of table `lien_zus_sat`
--

CREATE TABLE `lien_zus_sat` (
  `lzst_seq` int(11) NOT NULL auto_increment,
  `lzst_zus_fk` int(11) NOT NULL default '0',
  `lzst_sat_fk` int(11) NOT NULL default '0',
  `lzst_type` int(11) NOT NULL default '0',
  `lzst_module_id` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`lzst_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zus_sat`
--



--
-- Definition of table `lien_zus_sreu`
--

CREATE TABLE `lien_zus_sreu` (
  `lzsr_seq` int(11) NOT NULL auto_increment,
  `lzsr_zus_fk` int(11) NOT NULL default '0',
  `lzsr_sreu_fk` int(11) NOT NULL default '0',
  `lzsr_type` int(11) NOT NULL default '0',
  PRIMARY KEY  (`lzsr_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zus_sreu`
--



--
-- Definition of table `lien_zus_trav`
--

CREATE TABLE `lien_zus_trav` (
  `lizt_seq` int(11) NOT NULL auto_increment,
  `lizt_zus_fk` int(11) default NULL,
  `lizt_trav_fk` int(11) default NULL,
  `lizt_crw_cons_enab` tinyint(4) default NULL,
  `lizt_crw_cr_enab` tinyint(4) default NULL,
  `lizt_crw_supe_enab` tinyint(4) default NULL,
  PRIMARY KEY  (`lizt_seq`),
  KEY `lizt_zus_fk` (`lizt_zus_fk`,`lizt_trav_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lien_zus_trav`
--



--
-- Definition of table `lignmag`
--

CREATE TABLE `lignmag` (
  `lim_seq` int(11) NOT NULL auto_increment,
  `lim_qteresatt` int(11) default NULL,
  `lim_qtesorrec` int(11) default NULL,
  `lim_reference` varchar(15) default NULL,
  `lim_prixcalcule` float default NULL,
  `lim_prixcalcule2` float default NULL,
  `lim_res1` tinyint(3) default NULL,
  `lim_res2` tinyint(3) default NULL,
  `lim_res3` tinyint(3) default NULL,
  `lim_prixart` decimal(15,2) default NULL,
  `lim_prixtot` decimal(15,2) default NULL,
  `lim_prixart2` decimal(15,2) default NULL,
  `lim_prixtot2` decimal(15,2) default NULL,
  `lim_affa_fk` int(11) default NULL,
  `lim_arti_fk` int(11) default NULL,
  `lim_brm_fk` int(11) default NULL,
  `lim_bsm_fk` int(11) default NULL,
  `lim_mag_fk` int(11) default NULL,
  PRIMARY KEY  (`lim_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lignmag`
--



--
-- Definition of table `local`
--

CREATE TABLE `local` (
  `loca_seq` int(11) NOT NULL auto_increment,
  `loca_sat_fk` int(11) default '0',
  `loca_bat_fk` int(11) NOT NULL default '0',
  `loca_zone_fk` int(11) NOT NULL default '0',
  `loca_serv_fk` int(11) default NULL,
  `loca_code` varchar(10) NOT NULL,
  `loca_libelle` varchar(30) NOT NULL,
  `loca_code2` varchar(10) default NULL,
  `loca_desserte` tinyint(3) unsigned default NULL,
  `loca_codeconca` varchar(33) default NULL,
  `loca_bdocument` tinyint(3) unsigned default NULL,
  `loca_code_barre` varchar(15) default NULL,
  `loca_cdbr_fk` int(11) default NULL,
  `loca_consiparti` text,
  `loca_surface_utile` decimal(16,2) default NULL,
  `loca_surface_totale` decimal(16,2) default NULL,
  `loca_perimetre` decimal(16,2) default NULL,
  `loca_hauteur` decimal(16,2) default NULL,
  `loca_volume` decimal(16,2) default NULL,
  `loca_afin_fk` int(11) default NULL,
  `loca_crit_fk` int(11) default NULL,
  `loca_ctra_fk` int(11) default NULL,
  `loca_tloca_fk` int(11) default NULL,
  `loca_communaute` tinyint(3) default NULL,
  `loca_codeconca_decomp` varchar(255) default NULL,
  `loca_loca_pere_fk` int(11) default NULL,
  `loca_niveau` int(11) default NULL,
  `loca_mod_surface_volume` tinyint(3) unsigned default NULL,
  `loca_datmaj` datetime default NULL,
  `loca_zus_maj_fk` int(11) default NULL,
  PRIMARY KEY  (`loca_seq`),
  UNIQUE KEY `loca_seq` (`loca_seq`),
  KEY `loca_afin_fk` (`loca_afin_fk`),
  KEY `loca_crit_fk` (`loca_crit_fk`),
  KEY `loca_crit_fk_2` (`loca_crit_fk`)
) ENGINE=InnoDB AUTO_INCREMENT=115 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `local`
--

INSERT INTO `local` (`loca_seq`,`loca_sat_fk`,`loca_bat_fk`,`loca_zone_fk`,`loca_serv_fk`,`loca_code`,`loca_libelle`,`loca_code2`,`loca_desserte`,`loca_codeconca`,`loca_bdocument`,`loca_code_barre`,`loca_cdbr_fk`,`loca_consiparti`,`loca_surface_utile`,`loca_surface_totale`,`loca_perimetre`,`loca_hauteur`,`loca_volume`,`loca_afin_fk`,`loca_crit_fk`,`loca_ctra_fk`,`loca_tloca_fk`,`loca_communaute`,`loca_codeconca_decomp`,`loca_loca_pere_fk`,`loca_niveau`,`loca_mod_surface_volume`,`loca_datmaj`,`loca_zus_maj_fk`) VALUES 
 (1,1,1,8,NULL,'S1C1 PK','Parking',NULL,1,'SANOFI C.C1.S1C1.S1C1 PK',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (2,1,1,8,NULL,'S1C1 LTE','Local Technique',NULL,1,'SANOFI C.C1.S1C1.S1C1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,1,1,8,NULL,'S1C1 OND','Local Onduleur',NULL,1,'SANOFI C.C1.S1C1.S1C1 OND',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (4,1,1,8,NULL,'S1C1 TGBT','Local TGBT',NULL,1,'SANOFI C.C1.S1C1.S1C1 TGBT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,1,1,8,NULL,'S1C1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.S1C1.S1C1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (6,1,1,8,NULL,'S1C1 GEL','Local Groupe électrogène',NULL,1,'SANOFI C.C1.S1C1.S1C1 GEL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (7,1,1,8,NULL,'S1C1 CEL','Local Cellules HT',NULL,1,'SANOFI C.C1.S1C1.S1C1 CEL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (8,1,1,7,NULL,'00C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.00C1.00C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (9,1,1,7,NULL,'00C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.00C1.00C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (10,1,1,7,NULL,'00C1A1 CAF','Cafétéria',NULL,1,'SANOFI C.C1.00C1.00C1A1 CAF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (11,1,1,7,NULL,'00C1A1 ATR','Hall d\'Accueil Atrium',NULL,1,'SANOFI C.C1.00C1.00C1A1 ATR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (12,1,1,7,NULL,'00C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.00C1.00C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (13,1,1,7,NULL,'00C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.00C1.00C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (14,1,1,7,NULL,'00C1B1 CAF','Caféteria',NULL,1,'SANOFI C.C1.00C1.00C1B1 CAF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (15,1,1,7,NULL,'00C1B1 LAV','Laverie',NULL,1,'SANOFI C.C1.00C1.00C1B1 LAV',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (16,1,1,7,NULL,'00C1B1 PCS','Poste de sécurité',NULL,1,'SANOFI C.C1.00C1.00C1B1 PCS',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (17,1,1,7,NULL,'00C1B1 ACC','Accueil',NULL,1,'SANOFI C.C1.00C1.00C1B1 ACC',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (18,1,1,7,NULL,'00C1B1 SEL','Self',NULL,1,'SANOFI C.C1.00C1.00C1B1 SEL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (19,1,1,7,NULL,'00C1B1 CUI','Cuisine',NULL,1,'SANOFI C.C1.00C1.00C1B1 CUI',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (20,1,1,7,NULL,'00C1B1 VF','Vestiaire Femme',NULL,1,'SANOFI C.C1.00C1.00C1B1 VF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (21,1,1,7,NULL,'00C1B1 VH','Vestiaire Homme',NULL,1,'SANOFI C.C1.00C1.00C1B1 VH',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (22,1,1,7,NULL,'00C1B1 SEC','Local Sécurité',NULL,1,'SANOFI C.C1.00C1.00C1B1 SEC',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (23,1,1,7,NULL,'00C1B1 STD','Standard',NULL,1,'SANOFI C.C1.00C1.00C1B1 STD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (24,1,1,7,NULL,'00C1C1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.00C1.00C1C1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,1,1,7,NULL,'00C1C1 INF','Salle informatique',NULL,1,'SANOFI C.C1.00C1.00C1C1 INF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,1,1,7,NULL,'00C1C1 DIV','Local de Stockage',NULL,1,'SANOFI C.C1.00C1.00C1C1 DIV',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,1,1,6,NULL,'01C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.01C1.01C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (28,1,1,6,NULL,'01C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.01C1.01C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (29,1,1,6,NULL,'01C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.01C1.01C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (30,1,1,6,NULL,'01C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.01C1.01C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (31,1,1,6,NULL,'01C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.01C1.01C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (32,1,1,6,NULL,'01C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.01C1.01C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (33,1,1,6,NULL,'01C1B1 CIR','Circulation',NULL,1,'SANOFI C.C1.01C1.01C1B1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (34,1,1,6,NULL,'01C1C1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.01C1.01C1C1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (35,1,1,6,NULL,'01C1C1 CIR','Circulation',NULL,1,'SANOFI C.C1.01C1.01C1C1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (36,1,1,5,NULL,'02C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.02C1.02C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (37,1,1,5,NULL,'02C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.02C1.02C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (38,1,1,5,NULL,'02C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.02C1.02C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (39,1,1,5,NULL,'02C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.02C1.02C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (40,1,1,5,NULL,'02C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.02C1.02C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (41,1,1,5,NULL,'02C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.02C1.02C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (42,1,1,5,NULL,'02C1B1 CIR','Circulation',NULL,1,'SANOFI C.C1.02C1.02C1B1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (43,1,1,5,NULL,'02C1C1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.02C1.02C1C1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (44,1,1,5,NULL,'02C1C1 CIR','Circulation',NULL,1,'SANOFI C.C1.02C1.02C1C1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,1,1,4,NULL,'03C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.03C1.03C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,1,1,4,NULL,'03C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.03C1.03C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,1,1,4,NULL,'03C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.03C1.03C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (48,1,1,4,NULL,'03C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.03C1.03C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (49,1,1,4,NULL,'03C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.03C1.03C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (50,1,1,4,NULL,'03C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.03C1.03C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (51,1,1,4,NULL,'03C1B1 CIR','Circulation',NULL,1,'SANOFI C.C1.03C1.03C1B1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (52,1,1,4,NULL,'03C1C1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.03C1.03C1C1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (53,1,1,4,NULL,'03C1C1 CIR','Circulation',NULL,1,'SANOFI C.C1.03C1.03C1C1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (54,1,1,3,NULL,'04C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.04C1.04C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (55,1,1,3,NULL,'04C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.04C1.04C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (56,1,1,3,NULL,'04C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.04C1.04C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (57,1,1,3,NULL,'04C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.04C1.04C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (58,1,1,3,NULL,'04C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.04C1.04C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (59,1,1,3,NULL,'04C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.04C1.04C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (60,1,1,3,NULL,'04C1B1 CIR','Circulation',NULL,1,'SANOFI C.C1.04C1.04C1B1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (61,1,1,3,NULL,'04C1C1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.04C1.04C1C1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (62,1,1,3,NULL,'04C1C1 CIR','Circulation',NULL,1,'SANOFI C.C1.04C1.04C1C1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (63,1,1,2,NULL,'05C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.05C1.05C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (64,1,1,2,NULL,'05C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.05C1.05C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (65,1,1,2,NULL,'05C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.05C1.05C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (66,1,1,2,NULL,'05C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.05C1.05C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (67,1,1,2,NULL,'05C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.05C1.05C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (68,1,1,2,NULL,'05C1B1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.05C1.05C1B1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (69,1,1,2,NULL,'05C1B1 CIR','Circulation',NULL,1,'SANOFI C.C1.05C1.05C1B1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (70,1,1,2,NULL,'05C1C1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.05C1.05C1C1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (71,1,1,2,NULL,'05C1C1 CIR','Circulation',NULL,1,'SANOFI C.C1.05C1.05C1C1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (72,1,1,1,NULL,'06C1A1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.06C1.06C1A1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (73,1,1,1,NULL,'06C1A1 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C1.06C1.06C1A1 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (74,1,1,1,NULL,'06C1A1 CIR','Circulation',NULL,1,'SANOFI C.C1.06C1.06C1A1 CIR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (75,1,1,1,NULL,'06C1A1 LTE','Local Technique',NULL,1,'SANOFI C.C1.06C1.06C1A1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,1,1,1,NULL,'06C1B1 BUR','Espace de Bureau',NULL,1,'SANOFI C.C1.06C1.06C1B1 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (77,1,1,1,NULL,'06C1B1 TER','Terrasse',NULL,1,'SANOFI C.C1.06C1.06C1B1 TER',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,1,1,1,NULL,'06C1B1 LTE','Local Technique',NULL,1,'SANOFI C.C1.06C1.06C1B1 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (79,1,1,1,NULL,'06C1C1 TER','Terrasse',NULL,1,'SANOFI C.C1.06C1.06C1C1 TER',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (80,1,2,16,NULL,'S1C2 PK','Parking',NULL,1,'SANOFI C.C2.S1C2.S1C2 PK',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (81,1,2,16,NULL,'S1C2 LTE','Local Technique',NULL,1,'SANOFI C.C2.S1C2.S1C2 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (82,1,2,16,NULL,'S1C2 OND','Local Onduleur',NULL,1,'SANOFI C.C2.S1C2.S1C2 OND',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (83,1,2,16,NULL,'S1C2 TGBT','Local TGBT',NULL,1,'SANOFI C.C2.S1C2.S1C2 TGBT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (84,1,2,16,NULL,'S1C2 VEST','Vestiaire',NULL,1,'SANOFI C.C2.S1C2.S1C2 VEST',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (85,1,2,16,NULL,'S1C2 GEL','Local Groupe électrogène',NULL,1,'SANOFI C.C2.S1C2.S1C2 GEL',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (86,1,2,16,NULL,'S1C2 TRA','Local Transformateur',NULL,1,'SANOFI C.C2.S1C2.S1C2 TRA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (87,1,2,16,NULL,'S1C2 ARC2','Local Archive 2',NULL,1,'SANOFI C.C2.S1C2.S1C2 ARC2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (88,1,2,16,NULL,'S1C2 PAC','Local Pompe à Chaleur',NULL,1,'SANOFI C.C2.S1C2.S1C2 PAC',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (89,1,3,23,NULL,'00C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 00.00C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (90,1,3,23,NULL,'00C3 REPRO','Reprographie Centralisée',NULL,1,'SANOFI C.C3.C3 00.00C3 REPRO',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (91,1,3,23,NULL,'00C3 TGBT','Local TGBT',NULL,1,'SANOFI C.C3.C3 00.00C3 TGBT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (92,1,3,23,NULL,'00C3 VEST','Vestiaire',NULL,1,'SANOFI C.C3.C3 00.00C3 VEST',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (93,1,3,23,NULL,'00C3 CAF','Caféteria',NULL,1,'SANOFI C.C3.C3 00.00C3 CAF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (94,1,3,23,NULL,'00C3 TRA','Local Transformateur',NULL,1,'SANOFI C.C3.C3 00.00C3 TRA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (95,1,3,23,NULL,'00C3 STAT','Sous-station Chauffage Urbain',NULL,1,'SANOFI C.C3.C3 00.00C3 STAT',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (96,1,3,23,NULL,'00C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 00.00C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,1,3,23,NULL,'00C3 ACC','Hall d\'Accueil',NULL,1,'SANOFI C.C3.C3 00.00C3 ACC',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,1,3,23,NULL,'00C3 PCS','Poste de sécurité',NULL,1,'SANOFI C.C3.C3 00.00C3 PCS',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,1,3,22,NULL,'01C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 01.01C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (100,1,3,22,NULL,'01C3 BUR','Espace de Bureau',NULL,1,'SANOFI C.C3.C3 01.01C3 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (101,1,3,22,NULL,'01C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 01.01C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (102,1,3,21,NULL,'02C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 02.02C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (103,1,3,21,NULL,'02C3 BUR','Espace de Bureau',NULL,1,'SANOFI C.C3.C3 02.02C3 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (104,1,3,21,NULL,'02C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 02.02C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (105,1,3,20,NULL,'03C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 03.03C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (106,1,3,20,NULL,'03C3 BUR','Espace de Bureau',NULL,1,'SANOFI C.C3.C3 03.03C3 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (107,1,3,20,NULL,'03C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 03.03C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (108,1,3,19,NULL,'04C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 04.04C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (109,1,3,19,NULL,'04C3 BUR','Espace de Bureau',NULL,1,'SANOFI C.C3.C3 04.04C3 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (110,1,3,19,NULL,'04C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 04.04C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (111,1,3,18,NULL,'05C3 LTE','Local Technique',NULL,1,'SANOFI C.C3.C3 05.05C3 LTE',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (112,1,3,18,NULL,'05C3 BUR','Espace de Bureau',NULL,1,'SANOFI C.C3.C3 05.05C3 BUR',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (113,1,3,18,NULL,'05C3 BSA','Bloc Sanitaire',NULL,1,'SANOFI C.C3.C3 05.05C3 BSA',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (114,1,3,18,NULL,'05C3 TER','Terrasse',NULL,1,'SANOFI C.C3.C3 05.05C3 TER',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `local_attr`
--

CREATE TABLE `local_attr` (
  `loca_att_seq` int(16) NOT NULL auto_increment,
  PRIMARY KEY  (`loca_att_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `local_attr`
--



--
-- Definition of table `locution_cr`
--

CREATE TABLE `locution_cr` (
  `lccr_seq` int(11) NOT NULL auto_increment,
  `lccr_libelle` varchar(45) default NULL,
  `lccr_dom_fk` int(11) default NULL,
  `lccr_acc_details` tinyint(3) unsigned default NULL,
  `lccr_acc_commcr` tinyint(3) unsigned default NULL,
  `lccr_order` int(11) default NULL,
  `lccr_retrait` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`lccr_seq`),
  KEY `lccr_label` (`lccr_libelle`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `locution_cr`
--



--
-- Definition of table `log_access`
--

CREATE TABLE `log_access` (
  `loga_seq` int(11) NOT NULL auto_increment,
  `loga_user_fk` int(11) default NULL,
  `loga_url` varchar(255) NOT NULL,
  `loga_get_vars` text NOT NULL,
  `loga_post_vars` text NOT NULL,
  `loga_session` varchar(50) NOT NULL,
  `loga_datetime` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`loga_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `log_access`
--



--
-- Definition of table `log_erreur_indicateur`
--

CREATE TABLE `log_erreur_indicateur` (
  `lein_seq` int(11) NOT NULL auto_increment,
  `lein_lmin_fk` int(11) default NULL,
  `lein_date` datetime default NULL,
  `lein_elem_fk` int(11) default NULL,
  `lein_elem_code` varchar(50) default NULL,
  `lein_error_msg` varchar(255) default NULL,
  PRIMARY KEY  (`lein_seq`),
  KEY `lein_lmin_fk` (`lein_lmin_fk`),
  KEY `lein_date` (`lein_date`),
  KEY `lein_elem_fk` (`lein_elem_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `log_erreur_indicateur`
--



--
-- Definition of table `log_mem_indicateur`
--

CREATE TABLE `log_mem_indicateur` (
  `lmin_seq` int(11) NOT NULL auto_increment,
  `lmin_date` datetime default NULL,
  `lmin_periode` datetime default NULL,
  `lmin_declinaison` tinyint(3) unsigned default NULL,
  `lmin_nb_elem` int(11) default NULL,
  `lmin_nb_error` int(11) default NULL,
  PRIMARY KEY  (`lmin_seq`),
  KEY `lmin_date` (`lmin_date`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `log_mem_indicateur`
--



--
-- Definition of table `lst_tables`
--

CREATE TABLE `lst_tables` (
  `TAB_SEQ` int(11) NOT NULL auto_increment,
  `TAB_ZUS_SEQ` int(11) NOT NULL default '0',
  `TAB_NOM` varchar(200) NOT NULL,
  `TAB_DATE` timestamp NOT NULL default CURRENT_TIMESTAMP,
  PRIMARY KEY  (`TAB_SEQ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lst_tables`
--



--
-- Definition of table `magasin`
--

CREATE TABLE `magasin` (
  `mag_seq` int(11) NOT NULL auto_increment,
  `mag_code` varchar(10) NOT NULL,
  `mag_libelle` varchar(30) NOT NULL,
  `mag_prefixe_bsm` varchar(4) NOT NULL,
  `mag_prefixe_bem` varchar(4) NOT NULL,
  `mag_num_debut_bsm` int(11) NOT NULL default '0',
  `mag_num_debut_bem` int(11) NOT NULL default '0',
  `mag_sat_fk` int(11) default '0',
  PRIMARY KEY  (`mag_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `magasin`
--



--
-- Definition of table `mail_body_part`
--

CREATE TABLE `mail_body_part` (
  `mbp_seq` int(11) NOT NULL auto_increment,
  `mbp_mmes_fk` int(11) default NULL,
  `mbp_type` tinyint(3) unsigned default NULL,
  `mbp_content_type` varchar(50) default NULL,
  `mbp_attached_filename` varchar(255) default NULL,
  `mbp_data` longblob,
  PRIMARY KEY  (`mbp_seq`),
  KEY `mbp_mmes_fk` (`mbp_mmes_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mail_body_part`
--



--
-- Definition of table `mail_declencheur`
--

CREATE TABLE `mail_declencheur` (
  `mdec_seq` int(11) NOT NULL auto_increment,
  `mdec_module_id` int(11) NOT NULL default '0',
  `mdec_evenement_code` varchar(10) NOT NULL default '',
  `mdec_destinataire` varchar(255) NOT NULL default '',
  `mdec_confirm` tinyint(3) unsigned default NULL,
  `mdec_piece_jointe` tinyint(3) unsigned default NULL,
  `mdec_dest_fixe` varchar(255) default NULL,
  `mdec_requete` text,
  `mdec_requete_sec` text,
  `mdec_confirm_mail_vide` tinyint(3) default NULL,
  `mdec_mlfo_fk` int(11) NOT NULL,
  PRIMARY KEY  (`mdec_seq`),
  KEY `mdec_mlfo_fk` (`mdec_mlfo_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mail_declencheur`
--



--
-- Definition of table `mail_format`
--

CREATE TABLE `mail_format` (
  `mlfo_seq` int(11) NOT NULL auto_increment,
  `mlfo_code` varchar(45) default NULL,
  `mlfo_commentaire` varchar(70) default NULL,
  `mlfo_attb_fk` int(11) default NULL,
  `mlfo_objet` varchar(90) default NULL,
  `mlfo_message` text,
  `mlfo_type` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`mlfo_seq`),
  KEY `mlfo_attb_fk` (`mlfo_attb_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mail_format`
--



--
-- Definition of table `mail_header`
--

CREATE TABLE `mail_header` (
  `mhead_seq` int(11) NOT NULL auto_increment,
  `mhead_mmes_fk` int(11) default NULL,
  `mhead_name` varchar(255) default NULL,
  `mhead_value` text,
  PRIMARY KEY  (`mhead_seq`),
  KEY `mhead_mmes_fk` (`mhead_mmes_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mail_header`
--



--
-- Definition of table `mail_message`
--

CREATE TABLE `mail_message` (
  `mmes_seq` int(11) NOT NULL auto_increment,
  `mmes_mailbox` varchar(255) default NULL,
  `mmes_recieved_date` datetime default NULL,
  `mmes_subject` varchar(255) default NULL,
  `mmes_body_content_type` varchar(50) default NULL,
  `mmes_body` text,
  PRIMARY KEY  (`mmes_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mail_message`
--



--
-- Definition of table `materiel`
--

CREATE TABLE `materiel` (
  `mate_seq` int(11) NOT NULL auto_increment,
  `mate_libelle` varchar(15) NOT NULL,
  `mate_desc` text NOT NULL,
  `mate_quantite` int(11) NOT NULL default '0',
  `mate_chemin_photo` varchar(100) NOT NULL,
  `mate_pres_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`mate_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `materiel`
--



--
-- Definition of table `mesure_compteur`
--

CREATE TABLE `mesure_compteur` (
  `mesu_seq` int(11) NOT NULL default '0',
  `mesu_code` varchar(15) NOT NULL,
  `mesu_comptmes` tinyint(3) NOT NULL default '0',
  `mesu_libelle` varchar(40) default NULL,
  `mesu_unite` varchar(5) default NULL,
  `mesu_valeur_fin` decimal(11,2) default NULL,
  `mesu_date_fin` date default NULL,
  `mesu_calcule` tinyint(1) NOT NULL default '0',
  `mesu_seuilbas` decimal(11,2) default NULL,
  `mesu_seuilhaut` decimal(11,2) default NULL,
  `mesu_consojour` decimal(11,2) default NULL,
  `mesu_consojmode` tinyint(1) default NULL,
  `mesu_valeur_nomin` decimal(11,2) default NULL,
  `mesu_bat_fk` int(11) NOT NULL default '0',
  `mesu_decimale` tinyint(3) default NULL,
  `mesu_type` char(2) NOT NULL,
  `mesu_infocomp` varchar(60) default NULL,
  `mesu_dom_fk` int(11) default NULL,
  `mesu_loca_fk` int(11) default NULL,
  `mesu_zone_fk` int(11) default NULL,
  `MESU_DOM_SEQ` int(11) NOT NULL default '0',
  `MESU_BAT_SEQ` int(11) NOT NULL default '0',
  `MESU_ZONE_SEQ` int(11) NOT NULL default '0',
  `MESU_LOCA_SEQ` int(11) NOT NULL default '0',
  PRIMARY KEY  (`mesu_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mesure_compteur`
--



--
-- Definition of table `mode_astreinte`
--

CREATE TABLE `mode_astreinte` (
  `mast_seq` int(11) NOT NULL auto_increment,
  `mast_libelle` varchar(20) default NULL,
  PRIMARY KEY  (`mast_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `mode_astreinte`
--



--
-- Definition of table `modele_composant`
--

CREATE TABLE `modele_composant` (
  `moco_seq` int(11) NOT NULL auto_increment,
  `moco_comt_fk` int(11) default NULL,
  `moco_libelle` varchar(40) default NULL,
  PRIMARY KEY  (`moco_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modele_composant`
--



--
-- Definition of table `modele_equipement`
--

CREATE TABLE `modele_equipement` (
  `moeq_seq` int(11) NOT NULL auto_increment,
  `moeq_fame_fk` int(11) default NULL,
  `moeq_libelle` varchar(40) default NULL,
  PRIMARY KEY  (`moeq_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modele_equipement`
--



--
-- Definition of table `modele_point_mesure`
--

CREATE TABLE `modele_point_mesure` (
  `mpmes_seq` int(11) NOT NULL auto_increment,
  `mpmes_code` varchar(10) default NULL,
  `mpmes_libelle` varchar(40) default NULL,
  `mpmes_type` tinyint(3) unsigned default NULL,
  `mpmes_actif` tinyint(3) unsigned default NULL,
  `mpmes_decimale` tinyint(3) unsigned default NULL,
  `mpmes_unite` varchar(5) default NULL,
  `mpmes_calcule` tinyint(3) unsigned default NULL,
  `mpmes_formule_calcul` text,
  `mpmes_valeur_fin` decimal(16,4) default NULL,
  `mpmes_date_fin` datetime default NULL,
  `mpmes_seuilbas` decimal(16,4) default NULL,
  `mpmes_seuilhaut` decimal(16,4) default NULL,
  `mpmes_consojour` decimal(16,4) default NULL,
  `mpmes_consojmode` tinyint(3) unsigned default NULL,
  `mpmes_valeur_nomin` decimal(16,4) default NULL,
  `mpmes_dom_fk` int(11) default NULL,
  `mpmes_fame_fk` int(11) default NULL,
  `mpmes_deploye` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`mpmes_seq`),
  KEY `mpmes_dom_fk` (`mpmes_dom_fk`),
  KEY `mpmes_fame_fk` (`mpmes_fame_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modele_point_mesure`
--



--
-- Definition of table `ms_demenage_niv1`
--

CREATE TABLE `ms_demenage_niv1` (
  `msn1_seq` int(11) NOT NULL auto_increment,
  `msn1_libelle` varchar(70) NOT NULL,
  `msn1_ordre` tinyint(5) NOT NULL default '0',
  PRIMARY KEY  (`msn1_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_demenage_niv1`
--



--
-- Definition of table `ms_demenage_niv2`
--

CREATE TABLE `ms_demenage_niv2` (
  `msn2_seq` int(11) NOT NULL auto_increment,
  `msn2_libelle` varchar(70) NOT NULL,
  `msn2_code` varchar(15) default NULL,
  `msn2_ordre` tinyint(5) default '0',
  `msn2_msn1_fk` int(11) default '0',
  PRIMARY KEY  (`msn2_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_demenage_niv2`
--



--
-- Definition of table `ms_demenage_niv3`
--

CREATE TABLE `ms_demenage_niv3` (
  `msn3_seq` int(11) NOT NULL auto_increment,
  `msn3_libelle` varchar(70) NOT NULL,
  `msn3_code` varchar(15) default NULL,
  `msn3_ordre` tinyint(5) default '0',
  `msn3_msn2_fk` int(11) default '0',
  PRIMARY KEY  (`msn3_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_demenage_niv3`
--



--
-- Definition of table `ms_demenagement`
--

CREATE TABLE `ms_demenagement` (
  `msde_seq` int(11) NOT NULL auto_increment,
  `msde_loca_actuel_fk` int(11) default NULL,
  `msde_mobi_divers` text,
  `msde_mobi_mvt` tinyint(4) NOT NULL default '0',
  `msde_mobi_libelle` varchar(50) default NULL,
  `msde_mobi_nb` int(11) default '0',
  `msde_mobi_code` varchar(30) default NULL,
  `msde_loca_cible_fk` int(11) NOT NULL default '0',
  `msde_opge_fk` int(11) NOT NULL default '0',
  `msde_msn1_fk` int(11) default '0',
  `msde_msn2_fk` int(11) default '0',
  `msde_msn3_fk` int(11) default '0',
  `msde_loca_actuel_libelle` varchar(30) default NULL,
  `msde_loca_cible_libelle` varchar(30) default NULL,
  PRIMARY KEY  (`msde_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_demenagement`
--



--
-- Definition of table `ms_demenagement_pref`
--

CREATE TABLE `ms_demenagement_pref` (
  `mdep_seq` int(11) NOT NULL auto_increment,
  `mdep_local_libre` tinyint(4) NOT NULL default '0',
  `mdep_masque_batiment` tinyint(4) NOT NULL default '0',
  `mdep_libelle` varchar(40) default NULL,
  `mdep_detail` text,
  PRIMARY KEY  (`mdep_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_demenagement_pref`
--



--
-- Definition of table `ms_tel_filtre`
--

CREATE TABLE `ms_tel_filtre` (
  `mstf_seq` int(11) NOT NULL auto_increment,
  `mstf_type` tinyint(4) NOT NULL default '0',
  `mstf_mste_fk` int(11) NOT NULL default '0',
  `mstf_dem_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`mstf_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_tel_filtre`
--



--
-- Definition of table `ms_telephonie`
--

CREATE TABLE `ms_telephonie` (
  `mste_seq` int(11) NOT NULL auto_increment,
  `mste_num_benef` varchar(20) default NULL,
  `mste_nom_benef` varchar(30) default NULL,
  `mste_type_demande` tinyint(4) NOT NULL default '0',
  `mste_opge_fk` int(11) NOT NULL default '0',
  PRIMARY KEY  (`mste_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_telephonie`
--



--
-- Definition of table `ms_telephonie_pref`
--

CREATE TABLE `ms_telephonie_pref` (
  `mtep_seq` int(11) NOT NULL auto_increment,
  `mtep_filtrage` tinyint(4) NOT NULL default '0',
  `mtep_detail` text,
  PRIMARY KEY  (`mtep_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ms_telephonie_pref`
--



--
-- Definition of table `operation`
--

CREATE TABLE `operation` (
  `oper_seq` int(11) NOT NULL auto_increment,
  `oper_code` varchar(10) default NULL,
  `oper_libelle` varchar(40) default NULL,
  `oper_contenu` text,
  `oper_consiparti` text,
  `oper_cptrendu` text,
  `oper_rubcomp1` varchar(15) default NULL,
  `oper_rubcomp2` varchar(15) default NULL,
  `oper_demandeur` varchar(30) default NULL,
  `oper_dem_teldirect` varchar(15) default NULL,
  `oper_dem_email` varchar(60) default NULL,
  `oper_dateinscri` datetime default NULL,
  `oper_heureinscri` datetime default NULL,
  `oper_dateacquit` datetime default NULL,
  `oper_heureacquit` datetime default NULL,
  `oper_dateacquitlim` datetime default NULL,
  `oper_heureacquitlim` datetime default NULL,
  `oper_daterelance` datetime default NULL,
  `oper_heurelance` datetime default NULL,
  `oper_datedebutp` datetime default NULL,
  `oper_heurdebutp` datetime default NULL,
  `oper_datedebutr` datetime default NULL,
  `oper_heurdebutr` datetime default NULL,
  `oper_datedebutrlim` datetime default NULL,
  `oper_heurdebutrlim` datetime default NULL,
  `oper_datefinp` datetime default NULL,
  `oper_heurfinp` datetime default NULL,
  `oper_datefinr` datetime default NULL,
  `oper_heurfinr` datetime default NULL,
  `oper_datefinrlim` datetime default NULL,
  `oper_heurfinrlim` datetime default NULL,
  `oper_datesup` datetime default NULL,
  `oper_dateannul` datetime default NULL,
  `oper_dateexport` datetime default NULL,
  `oper_datestamp` datetime default NULL,
  `oper_dureepresp` decimal(16,2) default NULL,
  `oper_dureepresr` decimal(16,2) default NULL,
  `oper_dureejourp` int(11) default NULL,
  `oper_dureejourr` int(11) default NULL,
  `oper_zusinscrit` varchar(20) default NULL,
  `oper_zus_registered_ident` varchar(20) default NULL,
  `oper_zusrelance` varchar(20) default NULL,
  `oper_zusacquit` varchar(20) default NULL,
  `oper_zussup` varchar(20) default NULL,
  `oper_zusannul` varchar(20) default NULL,
  `oper_coutheuresp` decimal(16,2) default NULL,
  `oper_coutfournip` decimal(16,2) default NULL,
  `oper_coutdiversp` decimal(16,2) default NULL,
  `oper_coutp` decimal(16,2) default NULL,
  `oper_coutheuresr` decimal(16,2) default NULL,
  `oper_coutfournir` decimal(16,2) default NULL,
  `oper_coutdiversr` decimal(16,2) default NULL,
  `oper_coutr` decimal(16,2) default NULL,
  `oper_verte` tinyint(3) unsigned default NULL,
  `oper_eqpr_fk` int(11) default NULL,
  `oper_locpr_fk` int(11) default NULL,
  `oper_stopservic` tinyint(3) unsigned default NULL,
  `oper_imprime` tinyint(3) unsigned default NULL,
  `oper_refusee` tinyint(3) unsigned default NULL,
  `oper_hist_modif` text,
  `oper_bdocument` tinyint(3) unsigned default NULL,
  `oper_caltra` tinyint(3) unsigned default NULL,
  `oper_fusion` tinyint(3) unsigned default NULL,
  `oper_bsm_num` varchar(10) default NULL,
  `oper_disos` tinyint(3) unsigned default NULL,
  `oper_relance` tinyint(3) unsigned default NULL,
  `oper_trn_msg_cancel` varchar(255) default NULL,
  `oper_modduree_prev` tinyint(3) unsigned default NULL,
  `oper_modduree_reel` tinyint(3) unsigned default NULL,
  `oper_trn_regr_stoped` tinyint(3) unsigned default NULL,
  `oper_trn_transf_palm` tinyint(3) unsigned default NULL,
  `oper_tope_fk` int(11) default NULL,
  `oper_dom_fk` int(11) default NULL,
  `oper_eqip_fk` int(11) default NULL,
  `oper_sat_fk` int(11) default NULL,
  `oper_bat_fk` int(11) default NULL,
  `oper_zone_fk` int(11) default NULL,
  `oper_loca_fk` int(11) default NULL,
  `oper_crit_fk` int(11) default NULL,
  `oper_age_fk` int(11) default NULL,
  `oper_serv_fk` int(11) default NULL,
  `oper_dem_fk` int(11) default NULL,
  `oper_supe_fk` int(11) default NULL,
  `oper_trav_fk` int(11) default NULL,
  `oper_inte_fk` int(11) default NULL,
  `oper_zus_registered_fk` int(11) default NULL,
  `oper_avan_fk` int(11) default NULL,
  `oper_ctra_fk` int(11) default NULL,
  `oper_proj_fk` int(11) default NULL,
  `oper_genre_fk` int(11) default NULL,
  `oper_tdef_fk` int(11) default NULL,
  `oper_afin_fk` int(11) default NULL,
  `oper_facturable` tinyint(3) unsigned default NULL,
  `oper_game_fk` int(11) default NULL,
  `oper_datedebutpp` datetime default NULL,
  `oper_heurdebutpp` datetime default NULL,
  `oper_datefinpp` datetime default NULL,
  `oper_heurfinpp` datetime default NULL,
  `oper_nbheureindisp` decimal(16,2) default NULL,
  `oper_coef_global` decimal(16,2) default NULL,
  `oper_reglementaire` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`oper_seq`),
  KEY `oper_code` (`oper_code`),
  KEY `oper_libelle` (`oper_libelle`),
  KEY `oper_demandeur` (`oper_demandeur`),
  KEY `oper_dateinscri` (`oper_dateinscri`),
  KEY `oper_datestamp` (`oper_datestamp`),
  KEY `oper_eqpr_fk` (`oper_eqpr_fk`),
  KEY `oper_locpr_fk` (`oper_locpr_fk`),
  KEY `oper_tope_fk` (`oper_tope_fk`),
  KEY `oper_dom_fk` (`oper_dom_fk`),
  KEY `oper_eqip_fk` (`oper_eqip_fk`),
  KEY `oper_sat_fk` (`oper_sat_fk`),
  KEY `oper_bat_fk` (`oper_bat_fk`),
  KEY `oper_zone_fk` (`oper_zone_fk`),
  KEY `oper_loca_fk` (`oper_loca_fk`),
  KEY `oper_crit_fk` (`oper_crit_fk`),
  KEY `oper_age_fk` (`oper_age_fk`),
  KEY `oper_serv_fk` (`oper_serv_fk`),
  KEY `oper_dem_fk` (`oper_dem_fk`),
  KEY `oper_supe_fk` (`oper_supe_fk`),
  KEY `oper_trav_fk` (`oper_trav_fk`),
  KEY `oper_inte_fk` (`oper_inte_fk`),
  KEY `oper_zus_registered_fk` (`oper_zus_registered_fk`),
  KEY `oper_avan_fk` (`oper_avan_fk`),
  KEY `oper_cntrt_fk` (`oper_ctra_fk`),
  KEY `oper_genre_fk` (`oper_genre_fk`),
  KEY `oper_tdef_fk` (`oper_tdef_fk`),
  KEY `oper_afin_fk` (`oper_afin_fk`),
  KEY `oper_proj_fk` (`oper_proj_fk`),
  KEY `oper_game_fk` (`oper_game_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `operation`
--



--
-- Definition of table `operation_attr`
--

CREATE TABLE `operation_attr` (
  `oper_att_seq` int(16) NOT NULL auto_increment,
  PRIMARY KEY  (`oper_att_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `operation_attr`
--



--
-- Definition of table `operation_detail_tmp_sfm`
--

CREATE TABLE `operation_detail_tmp_sfm` (
  `odts_seq` int(11) default '0',
  `odts_sat_fk` int(11) default '0',
  `odts_sloc_sos_fk` int(11) default '0',
  `odts_sloc_crweb_fk` int(11) default NULL,
  `odts_dom_fk` int(11) default '0',
  `odts_bat_fk` int(11) default '0',
  `odts_zone_fk` int(11) default '0',
  `odts_loca_fk` int(11) default '0',
  `odts_avan_fk` int(11) default '0',
  `odts_trav_fk` int(11) default '0',
  `odts_game_fk` int(11) default '0',
  `odts_tdef_fk` int(11) default '0',
  `odts_eqip_fk` int(11) default '0',
  `odts_tope_fk` int(11) default '0',
  `odts_affa_fk` int(11) default '0',
  `odts_code` varchar(8) default NULL,
  `odts_libelle` varchar(40) default NULL,
  `odts_dateinscri` date default '0000-00-00',
  `odts_heureinscri` time default '00:00:00',
  `odts_zusinscrit` varchar(10) default NULL,
  `odts_demandeur` varchar(15) default NULL,
  `odts_dem_telephone` varchar(15) default NULL,
  `odts_dem_email` varchar(55) default NULL,
  `odts_rubcomp1` varchar(15) default NULL,
  `odts_rubcomp2` varchar(15) default NULL,
  `odts_zusacquit` varchar(10) default NULL,
  `odts_dateacquit` date default NULL,
  `odts_heurdebutp` time default '00:00:00',
  `odts_heurdebutr` time default '00:00:00',
  `odts_heurfinp` time default '00:00:00',
  `odts_heurfinr` time default '00:00:00',
  `odts_heureacquit` time default NULL,
  `odts_datedebutp` date default NULL,
  `odts_datedebutr` date default NULL,
  `odts_datefinp` date default NULL,
  `odts_datefinr` date default NULL,
  `odts_dureejourp` decimal(11,2) default NULL,
  `odts_dureejourr` decimal(11,2) default NULL,
  `odts_dureepresp` decimal(11,2) default NULL,
  `odts_dureepresr` decimal(11,2) default NULL,
  `odts_relance` int(11) default NULL,
  `odts_daterelance` date default NULL,
  `odts_heurelance` time default NULL,
  `odts_zusrelance` varchar(10) default NULL,
  `odts_consiparti` text,
  `odts_contenu` text,
  `odts_cptrendu` text,
  `odts_hist_modif` text,
  `odts_supe_fk` int(11) default '0',
  `odts_sfm_sess_id` varchar(40) default NULL,
  `odts_time_light` datetime default '0000-00-00 00:00:00',
  `odts_time_full` datetime default '0000-00-00 00:00:00',
  `odts_db_action` char(3) default NULL,
  UNIQUE KEY `odts_seq` (`odts_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `operation_detail_tmp_sfm`
--



--
-- Definition of table `operation_etat_event`
--

CREATE TABLE `operation_etat_event` (
  `opee_seq` int(11) NOT NULL auto_increment,
  `opee_oper_fk` int(11) default NULL,
  `opee_etat` varchar(30) default NULL,
  PRIMARY KEY  (`opee_seq`),
  KEY `opee_oper_fk` (`opee_oper_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `operation_etat_event`
--



--
-- Definition of table `operation_sfm`
--

CREATE TABLE `operation_sfm` (
  `oper_seq` int(11) NOT NULL auto_increment,
  `oper_libelle` varchar(40) default NULL,
  `oper_eqpr_seq` int(11) default NULL,
  `oper_dateinscri` date default NULL,
  `oper_heureinscri` datetime default NULL,
  `oper_datedebutp` date default NULL,
  `oper_datedebutr` date default NULL,
  `oper_dureejourp` tinyint(4) default NULL,
  `oper_datefinp` date default NULL,
  `oper_datefinr` date default NULL,
  `oper_dureepresp` double default NULL,
  `oper_dureepresr` double default NULL,
  `oper_contenu` text,
  `oper_demandeur` varchar(15) default NULL,
  `oper_stopservic` tinyint(4) default NULL,
  `oper_consiparti` text,
  `oper_cptrendu` text,
  `oper_dureejourr` tinyint(4) default NULL,
  `oper_cout` double default NULL,
  `oper_refusee` tinyint(4) default NULL,
  `oper_coutheures` double default NULL,
  `oper_coutfournir` double default NULL,
  `oper_coutdivers` double default NULL,
  `oper_coutfournip` double default NULL,
  `oper_coutp` double default NULL,
  `oper_bdocument` tinyint(4) default NULL,
  `oper_rubcomp1` varchar(15) default NULL,
  `oper_rubcomp2` varchar(15) default NULL,
  `oper_caltra` tinyint(4) default NULL,
  `oper_code` varchar(8) default NULL,
  `oper_fusion` tinyint(4) default NULL,
  `oper_affa_fk` int(11) default NULL,
  `oper_bat_fk` int(11) default NULL,
  `oper_dom_fk` int(11) default NULL,
  `oper_cout2` double default NULL,
  `oper_coutheures2` double default NULL,
  `oper_coutfournir2` double default NULL,
  `oper_coutdivers2` double default NULL,
  `oper_coutfournip2` double default NULL,
  `oper_coutp2` double default NULL,
  `oper_bsm_num` varchar(10) default NULL,
  `oper_zusinscrit` varchar(10) default NULL,
  `oper_dateacquit` date default NULL,
  `oper_heureacquit` datetime default NULL,
  `oper_zusacquit` varchar(10) default NULL,
  `oper_service` varchar(8) default NULL,
  `oper_imprime` tinyint(4) default NULL,
  `oper_disos` tinyint(4) default NULL,
  `oper_eqip_fk` int(11) default NULL,
  `oper_trav_fk` int(11) default NULL,
  `oper_avan_fk` int(11) default NULL,
  `oper_loca_fk` int(11) default NULL,
  `oper_supe_fk` int(11) default NULL,
  `oper_tdef_fk` int(11) default NULL,
  `oper_tope_fk` int(11) default NULL,
  `oper_zone_fk` int(11) default NULL,
  `oper_sat_fk` int(11) default NULL,
  `oper_heurdebutp` datetime default NULL,
  `oper_heurdebutr` datetime default NULL,
  `oper_heurfinp` datetime default NULL,
  `oper_heurfinr` datetime default NULL,
  `oper_datestamp` datetime default NULL,
  `oper_zusrelance` varchar(10) default NULL,
  `oper_daterelance` date default NULL,
  `oper_heurelance` datetime default NULL,
  `oper_relance` tinyint(4) default NULL,
  `oper_dem_teldirect` varchar(15) default NULL,
  `oper_dem_email` varchar(55) default NULL,
  `oper_exp_dat` datetime default NULL,
  `oper_hist_modif` text,
  `oper_sloc_fk` int(11) default NULL,
  `oper_modduree` tinyint(4) default NULL,
  `oper_dureepresp_aop` double default NULL,
  `oper_dureepresr_aop` double default NULL,
  `oper_modduree_reel` tinyint(4) default NULL,
  `oper_cout_aop` double default NULL,
  `oper_coutheures_aop` double default NULL,
  `oper_coutfournir_aop` double default NULL,
  `oper_coutdivers_aop` double default NULL,
  `oper_coutfournip_aop` double default NULL,
  `oper_coutp_aop` double default NULL,
  `oper_cout_aop2` double default NULL,
  `oper_coutheures_aop2` double default NULL,
  `oper_coutfournir_aop2` double default NULL,
  `oper_coutdivers_aop2` double default NULL,
  `oper_coutfournip_aop2` double default NULL,
  `oper_coutp_aop2` double default NULL,
  `oper_trn_msg_cancel` varchar(255) default NULL,
  `oper_trn_regr_stoped` tinyint(4) default NULL,
  `oper_trn_transf_palm` tinyint(4) default NULL,
  `oper_tope_seq` int(11) default NULL,
  `oper_avan_seq` int(11) default NULL,
  `oper_trav_seq` int(11) default NULL,
  `oper_supe_seq` int(11) default NULL,
  `oper_dom_seq` int(11) default NULL,
  `oper_eqip_seq` int(11) default NULL,
  `oper_bat_seq` int(11) default NULL,
  `oper_zone_seq` int(11) default NULL,
  `oper_loca_seq` int(11) default NULL,
  `oper_affa_seq` int(11) default NULL,
  `oper_tdef_seq` int(11) default NULL,
  PRIMARY KEY  (`oper_seq`),
  KEY `oper_eqip_fk` (`oper_eqip_fk`),
  KEY `oper_trav_fk` (`oper_trav_fk`),
  KEY `oper_avan_fk` (`oper_avan_fk`),
  KEY `oper_loca_fk` (`oper_loca_fk`),
  KEY `oper_supe_fk` (`oper_supe_fk`),
  KEY `oper_tdef_fk` (`oper_tdef_fk`),
  KEY `oper_tope_fk` (`oper_tope_fk`),
  KEY `oper_zone_fk` (`oper_zone_fk`),
  KEY `oper_sat_fk` (`oper_sat_fk`),
  KEY `oper_sloc_fk` (`oper_sloc_fk`),
  KEY `oper_dom_fk` (`oper_dom_fk`),
  KEY `oper_bat_fk` (`oper_bat_fk`),
  KEY `oper_affa_fk` (`oper_affa_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `operation_sfm`
--



--
-- Definition of table `passage_param`
--

CREATE TABLE `passage_param` (
  `papa_seq` int(11) NOT NULL auto_increment,
  `papa_text1` text,
  PRIMARY KEY  (`papa_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `passage_param`
--



--
-- Definition of table `pcsdepot`
--

CREATE TABLE `pcsdepot` (
  `pcsd_seq` int(11) NOT NULL auto_increment,
  `pcsd_code` varchar(20) NOT NULL,
  PRIMARY KEY  (`pcsd_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pcsdepot`
--



--
-- Definition of table `pda`
--

CREATE TABLE `pda` (
  `pda_seq` int(11) NOT NULL auto_increment,
  `pda_code` varchar(10) default NULL,
  `pda_libelle` varchar(25) default NULL,
  `pda_mode_auto` tinyint(3) unsigned default NULL,
  `pda_trav_fk` int(11) default NULL,
  `pda_supe_fk` int(11) default NULL,
  `pda_recep_direct_di` tinyint(3) unsigned default NULL,
  `pda_email` varchar(45) default NULL,
  `pda_sql` varchar(255) default NULL,
  PRIMARY KEY  (`pda_seq`),
  KEY `pda_code` (`pda_code`),
  KEY `pda_trav_fk` (`pda_trav_fk`),
  KEY `pda_supe_fk` (`pda_supe_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pda`
--



--
-- Definition of table `photo_salle`
--

CREATE TABLE `photo_salle` (
  `phsa_seq` int(11) NOT NULL auto_increment,
  `phsa_sreu_fk` int(11) NOT NULL default '0',
  `phsa_chemin` varchar(100) NOT NULL,
  PRIMARY KEY  (`phsa_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `photo_salle`
--



--
-- Definition of table `point_mesure`
--

CREATE TABLE `point_mesure` (
  `pmes_seq` int(11) NOT NULL auto_increment,
  `pmes_code` varchar(20) default NULL,
  `pmes_libelle` varchar(40) default NULL,
  `pmes_type` tinyint(3) unsigned default NULL,
  `pmes_actif` tinyint(3) unsigned default NULL,
  `pmes_decimale` tinyint(3) unsigned default NULL,
  `pmes_unite` varchar(5) default NULL,
  `pmes_calcule` tinyint(3) unsigned default NULL,
  `pmes_formule_calcul` text,
  `pmes_valeur_fin` decimal(16,4) default NULL,
  `pmes_date_fin` datetime default NULL,
  `pmes_seuilbas` decimal(16,4) default NULL,
  `pmes_seuilhaut` decimal(16,4) default NULL,
  `pmes_consojour` decimal(16,4) default NULL,
  `pmes_consojmode` tinyint(3) unsigned default NULL,
  `pmes_valeur_nomin` decimal(16,4) default NULL,
  `pmes_dom_fk` int(11) default NULL,
  `pmes_eqip_fk` int(11) default NULL,
  `pmes_sat_fk` int(11) default NULL,
  `pmes_bat_fk` int(11) default NULL,
  `pmes_zone_fk` int(11) default NULL,
  `pmes_loca_fk` int(11) default NULL,
  `pmes_mpmes_fk` int(11) default NULL,
  `pmes_code_barre` varchar(15) default NULL,
  `pmes_datmaj` datetime default NULL,
  `pmes_zus_maj_fk` int(11) default NULL,
  PRIMARY KEY  (`pmes_seq`),
  KEY `pmes_dom_fk` (`pmes_dom_fk`),
  KEY `pmes_eqip_fk` (`pmes_eqip_fk`),
  KEY `pmes_sat_fk` (`pmes_sat_fk`),
  KEY `pmes_bat_fk` (`pmes_bat_fk`),
  KEY `pmes_zone_fk` (`pmes_zone_fk`),
  KEY `pmes_loca_fk` (`pmes_loca_fk`),
  KEY `pmes_mpmes_fk` (`pmes_mpmes_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `point_mesure`
--



--
-- Definition of table `potentiel_equipe_travaux`
--

CREATE TABLE `potentiel_equipe_travaux` (
  `poeq_seq` int(11) NOT NULL auto_increment,
  `poeq_trav_fk` int(11) default NULL,
  `poeq_type` tinyint(3) unsigned default NULL,
  `poeq_periode` datetime default NULL,
  `poeq_valeur` decimal(16,2) default NULL,
  PRIMARY KEY  (`poeq_seq`),
  KEY `poeq_inte_fk` (`poeq_trav_fk`),
  KEY `poeq_type` (`poeq_type`),
  KEY `poeq_periode` (`poeq_periode`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `potentiel_equipe_travaux`
--



--
-- Definition of table `potentiel_intervenant`
--

CREATE TABLE `potentiel_intervenant` (
  `poin_seq` int(11) NOT NULL auto_increment,
  `poin_inte_fk` int(11) default NULL,
  `poin_type` tinyint(3) unsigned default NULL,
  `poin_periode` datetime default NULL,
  `poin_valeur` decimal(16,2) default NULL,
  PRIMARY KEY  (`poin_seq`),
  KEY `poin_inte_fk` (`poin_inte_fk`),
  KEY `poin_type` (`poin_type`),
  KEY `poin_periode` (`poin_periode`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `potentiel_intervenant`
--



--
-- Definition of table `pref_gn_acv_corresp_exp`
--

CREATE TABLE `pref_gn_acv_corresp_exp` (
  `pgace_seq` int(11) NOT NULL auto_increment,
  `pgace_champ` varchar(30) default NULL,
  `pgace_libelle` varchar(50) default NULL,
  `pgace_numcol` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`pgace_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_acv_corresp_exp`
--



--
-- Definition of table `pref_gn_ann_cont_corresp`
--

CREATE TABLE `pref_gn_ann_cont_corresp` (
  `pgacc_seq` int(11) NOT NULL auto_increment,
  `pgacc_champ` varchar(30) default NULL,
  `pgacc_numcol` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`pgacc_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_ann_cont_corresp`
--



--
-- Definition of table `pref_gn_ann_dem_corresp`
--

CREATE TABLE `pref_gn_ann_dem_corresp` (
  `pgadc_seq` int(11) NOT NULL auto_increment,
  `pgadc_champ` varchar(30) default NULL,
  `pgadc_numcol` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`pgadc_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_ann_dem_corresp`
--



--
-- Definition of table `pref_gn_di_info_dem_attr`
--

CREATE TABLE `pref_gn_di_info_dem_attr` (
  `pgdida_seq` int(11) NOT NULL auto_increment,
  `pgdida_atat_fk` int(11) default NULL,
  PRIMARY KEY  (`pgdida_seq`),
  KEY `pgdida_atat_fk` (`pgdida_atat_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_di_info_dem_attr`
--



--
-- Definition of table `pref_gn_jour_ferie`
--

CREATE TABLE `pref_gn_jour_ferie` (
  `pgjf_seq` int(11) NOT NULL auto_increment,
  `pgjf_libelle` varchar(20) default NULL,
  `pgjf_date` datetime default NULL,
  PRIMARY KEY  (`pgjf_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_jour_ferie`
--



--
-- Definition of table `pref_gn_liste_filtre`
--

CREATE TABLE `pref_gn_liste_filtre` (
  `pglf_seq` int(11) NOT NULL auto_increment,
  `pglf_libelle` varchar(127) default NULL,
  `pglf_debase` tinyint(3) unsigned default NULL,
  `pglf_visible` tinyint(3) unsigned default NULL,
  `pglf_liste_code` varchar(127) default NULL,
  `pglf_sql` text,
  `pglf_ordre` int(11) default NULL,
  `pglf_zus_fk` int(11) default NULL,
  PRIMARY KEY  (`pglf_seq`),
  KEY `pglf_liste_code` (`pglf_liste_code`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_liste_filtre`
--

INSERT INTO `pref_gn_liste_filtre` (`pglf_seq`,`pglf_libelle`,`pglf_debase`,`pglf_visible`,`pglf_liste_code`,`pglf_sql`,`pglf_ordre`,`pglf_zus_fk`) VALUES 
 (1,'Demandes non acquittées',NULL,NULL,'GSTDI_lstInterventions','oper_zusacquit IS NULL',1,NULL),
 (2,'Les demandes du jour',NULL,NULL,'GSTDI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%Y%m%d\') = DATE_FORMAT(NOW(),\'%Y%m%d\')',2,NULL),
 (3,'Les demandes de la semaine',NULL,NULL,'GSTDI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%u\') = DATE_FORMAT(NOW(),\'%u\')',3,NULL),
 (4,'Toutes les demandes actives',NULL,NULL,'GSTDI_lstInterventions','avan_ordre < 400',4,NULL),
 (5,'Opérations actives en retard',NULL,NULL,'GSTDI_lstInterventions','avan_ordre < 400 AND DATE_FORMAT(oper_datefinp,\'%Y%m%d\') < DATE_FORMAT(NOW(),\'%Y%m%d\')',5,NULL),
 (6,'Opérations actives de la semaine',NULL,NULL,'GSTDI_lstInterventions','avan_ordre < 400 AND DATE_FORMAT(oper_dateinscri,\'%u\') = DATE_FORMAT(NOW(),\'%u\')',6,NULL),
 (7,'Toutes les opérations actives',NULL,NULL,'GSTDI_lstInterventions','avan_ordre < 400',7,NULL),
 (8,'Toutes les opérations terminées hier',NULL,NULL,'GSTDI_lstInterventions','avan_ordre >= 400 AND DATE_FORMAT((oper_datefinr),\'%Y%m%d\') =DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),\'%Y%m%d\')',8,NULL),
 (9,'Toutes les opérations réalisées la semaine dernière',NULL,NULL,'GSTDI_lstInterventions','WEEK(oper_datefinr) = WEEK(DATE_SUB(NOW(), INTERVAL 1 WEEK))',9,NULL),
 (10,'Toutes les opérations réalisées le mois dernier',NULL,NULL,'GSTDI_lstInterventions','MONTH(oper_datefinr) = MONTH(DATE_SUB(NOW(), INTERVAL 1 MONTH))',10,NULL),
 (11,'Demandes non acquittées',NULL,NULL,'GSTDI_lstPlanning','oper_zusacquit IS NULL',1,NULL),
 (12,'Les demandes du jour',NULL,NULL,'GSTDI_lstPlanning','DATE_FORMAT(oper_dateinscri,\'%Y%m%d\') = DATE_FORMAT(NOW(),\'%Y%m%d\')',2,NULL),
 (13,'Les demandes de la semaine',NULL,NULL,'GSTDI_lstPlanning','DATE_FORMAT(oper_dateinscri,\'%u\') = DATE_FORMAT(NOW(),\'%u\')',3,NULL),
 (14,'Toutes les demandes actives',NULL,NULL,'GSTDI_lstPlanning','avan_ordre < 400',4,NULL),
 (15,'Opérations actives en retard',NULL,NULL,'GSTDI_lstPlanning','avan_ordre < 400 AND DATE_FORMAT(oper_datefinp,\'%Y%m%d\') < DATE_FORMAT(NOW(),\'%Y%m%d\')',5,NULL),
 (16,'Opérations actives de la semaine',NULL,NULL,'GSTDI_lstPlanning','avan_ordre < 400 AND DATE_FORMAT(oper_dateinscri,\'%u\') = DATE_FORMAT(NOW(),\'%u\')',6,NULL),
 (17,'Toutes les opérations actives',NULL,NULL,'GSTDI_lstPlanning','avan_ordre < 400',7,NULL),
 (18,'Toutes les opérations terminées hier',NULL,NULL,'GSTDI_lstPlanning','avan_ordre >= 400 AND DATE_FORMAT((oper_datefinr),\'%Y%m%d\') =DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),\'%Y%m%d\')',8,NULL),
 (19,'Toutes les opérations réalisées la semaine dernière',NULL,NULL,'GSTDI_lstPlanning','WEEK(oper_datefinr) = WEEK(DATE_SUB(NOW(), INTERVAL 1 WEEK))',9,NULL),
 (20,'Toutes les opérations réalisées le mois dernier',NULL,NULL,'GSTDI_lstPlanning','MONTH(oper_datefinr) = MONTH(DATE_SUB(NOW(), INTERVAL 1 MONTH))',10,NULL),
 (21,'Demandes non acquittées',NULL,NULL,'DI_lstInterventions','oper_zusacquit IS NULL',1,NULL),
 (22,'Les demandes du jour',NULL,NULL,'DI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%Y%m%d\') = DATE_FORMAT(NOW(),\'%Y%m%d\')',2,NULL),
 (23,'Les demandes d\'hier',NULL,NULL,'DI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%Y%m%d\') = DATE_FORMAT(DATE_SUB(NOW(),INTERVAL 1 DAY),\'%Y%m%d\')',3,NULL),
 (24,'Les demandes de la semaine',NULL,NULL,'DI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%u\') = DATE_FORMAT(NOW(),\'%u\')',4,NULL),
 (25,'Les demandes de la semaine dernière',NULL,NULL,'DI_lstInterventions','WEEK(oper_dateinscri) = WEEK(DATE_SUB(NOW(), INTERVAL 1 WEEK))',5,NULL),
 (26,'Les demandes du mois',NULL,NULL,'DI_lstInterventions','DATE_FORMAT(oper_dateinscri,\'%m\') = DATE_FORMAT(NOW(),\'%m\')',6,NULL),
 (27,'Les demandes du mois dernier',NULL,NULL,'DI_lstInterventions','MONTH(oper_dateinscri) = MONTH(DATE_SUB(NOW(), INTERVAL 1 MONTH))',7,NULL),
 (28,'Toutes les demandes actives',NULL,NULL,'DI_lstInterventions','avan_ordre < 400',8,NULL),
 (29,'Opérations actives en retard',NULL,NULL,'DI_lstInterventions','avan_ordre < 400 AND DATE_FORMAT(oper_datefinp,\'%Y%m%d\') < DATE_FORMAT(NOW(),\'%Y%m%d\')',9,NULL);


--
-- Definition of table `pref_gn_liste_onglet`
--

CREATE TABLE `pref_gn_liste_onglet` (
  `pglo_seq` int(11) NOT NULL auto_increment,
  `pglo_libelle` varchar(50) default NULL,
  `pglo_ordre` tinyint(3) unsigned default NULL,
  `pglo_liste_code` varchar(127) default NULL,
  PRIMARY KEY  (`pglo_seq`),
  KEY `pglo_liste_code` (`pglo_liste_code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_liste_onglet`
--



--
-- Definition of table `pref_gn_liste_onglet_col`
--

CREATE TABLE `pref_gn_liste_onglet_col` (
  `pgloc_seq` int(11) NOT NULL auto_increment,
  `pgloc_libelle` varchar(50) default NULL,
  `pgloc_champ_code` varchar(127) default NULL,
  `pgloc_ordre` tinyint(3) unsigned default NULL,
  `pgloc_pglo_fk` int(11) default NULL,
  `pgloc_taille` int(11) default NULL,
  PRIMARY KEY  (`pgloc_seq`),
  KEY `pgloc_pglo_fk` (`pgloc_pglo_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_liste_onglet_col`
--



--
-- Definition of table `pref_gn_module_acces_libre`
--

CREATE TABLE `pref_gn_module_acces_libre` (
  `pgmal_seq` int(11) NOT NULL auto_increment,
  `pgmal_module_id` int(11) default NULL,
  `pgmal_est_accessible` tinyint(3) unsigned NOT NULL default '0',
  PRIMARY KEY  (`pgmal_seq`),
  UNIQUE KEY `pgmal_module_id` (`pgmal_module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_module_acces_libre`
--

INSERT INTO `pref_gn_module_acces_libre` (`pgmal_seq`,`pgmal_module_id`,`pgmal_est_accessible`) VALUES 
 (3,3,0),
 (5,5,0),
 (6,6,0),
 (7,7,0);


--
-- Definition of table `pref_gn_planning_filtre`
--

CREATE TABLE `pref_gn_planning_filtre` (
  `pgpf_seq` int(11) NOT NULL auto_increment,
  `pgpf_libelle` varchar(127) default NULL,
  `pgpf_debase` tinyint(3) unsigned default NULL,
  `pgpf_visible` tinyint(3) unsigned default NULL,
  `pgpf_sql` text,
  `pgpf_ordre` int(11) default NULL,
  PRIMARY KEY  (`pgpf_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_planning_filtre`
--



--
-- Definition of table `pref_gn_resto_corresp`
--

CREATE TABLE `pref_gn_resto_corresp` (
  `pgrc_seq` int(11) NOT NULL auto_increment,
  `pgrc_champ` varchar(30) default NULL,
  `pgrc_numcol` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`pgrc_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_resto_corresp`
--



--
-- Definition of table `pref_gn_rub_libre1_ope`
--

CREATE TABLE `pref_gn_rub_libre1_ope` (
  `pgrl1o_seq` int(11) NOT NULL auto_increment,
  `pgrl1o_libelle` varchar(30) default NULL,
  `pgrl1o_libelle_bilingue` varchar(30) default NULL,
  PRIMARY KEY  (`pgrl1o_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_rub_libre1_ope`
--



--
-- Definition of table `pref_gn_rub_libre2_ope`
--

CREATE TABLE `pref_gn_rub_libre2_ope` (
  `pgrl2o_seq` int(11) NOT NULL auto_increment,
  `pgrl2o_libelle` varchar(30) default NULL,
  `pgrl2o_libelle_bilingue` varchar(30) default NULL,
  PRIMARY KEY  (`pgrl2o_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_rub_libre2_ope`
--



--
-- Definition of table `pref_gn_sre_tranche_hor`
--

CREATE TABLE `pref_gn_sre_tranche_hor` (
  `pgsth_seq` int(11) NOT NULL auto_increment,
  `pgsth_heure_deb` datetime default NULL,
  `pgsth_heure_fin` datetime default NULL,
  PRIMARY KEY  (`pgsth_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_gn_sre_tranche_hor`
--



--
-- Definition of table `pref_pf_lst_dom_concerne`
--

CREATE TABLE `pref_pf_lst_dom_concerne` (
  `ppldc_seq` int(11) NOT NULL auto_increment,
  `ppldc_prof_fk` int(11) default NULL,
  `ppldc_dom_fk` int(11) default NULL,
  PRIMARY KEY  (`ppldc_seq`),
  KEY `pfldc_prof_fk` (`ppldc_prof_fk`),
  KEY `pfldc_dom_fk` (`ppldc_dom_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_pf_lst_dom_concerne`
--



--
-- Definition of table `pref_pf_lst_game_concerne`
--

CREATE TABLE `pref_pf_lst_game_concerne` (
  `pplgc_seq` int(11) NOT NULL auto_increment,
  `pplgc_prof_fk` int(11) default NULL,
  `pplgc_game_fk` int(11) default NULL,
  PRIMARY KEY  (`pplgc_seq`),
  KEY `pflgc_prof_fk` (`pplgc_prof_fk`),
  KEY `pflgc_game_fk` (`pplgc_game_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_pf_lst_game_concerne`
--



--
-- Definition of table `pref_profil`
--

CREATE TABLE `pref_profil` (
  `prpf_seq` int(11) NOT NULL auto_increment,
  `prpf_prof_fk` int(11) default NULL,
  `prpf_zcat_fk` int(11) default NULL,
  `prpf_admin` tinyint(3) unsigned default NULL,
  `prpf_general` tinyint(3) unsigned default NULL,
  `prpf_patrimoine` tinyint(3) unsigned default NULL,
  `prpf_annuaire` tinyint(3) unsigned default NULL,
  `prpf_niv_annuaire` tinyint(3) unsigned default NULL,
  `prpf_accueil` tinyint(3) unsigned default NULL,
  `prpf_niv_accueil` tinyint(3) unsigned default NULL,
  `prpf_sosweb` tinyint(3) unsigned default NULL,
  `prpf_niv_sosweb` tinyint(3) unsigned default NULL,
  `prpf_reunion` tinyint(3) unsigned default NULL,
  `prpf_niv_reunion` tinyint(3) unsigned default NULL,
  `prpf_infos` tinyint(3) unsigned default NULL,
  `prpf_niv_infos` tinyint(3) unsigned default NULL,
  `prpf_services` tinyint(3) unsigned default NULL,
  `prpf_niv_services` tinyint(3) unsigned default NULL,
  `prpf_restaurant` tinyint(3) unsigned default NULL,
  `prpf_niv_restaurant` tinyint(3) unsigned default NULL,
  `prpf_reporting` tinyint(3) unsigned default NULL,
  `prpf_niv_reporting` tinyint(3) unsigned default NULL,
  `prpf_crweb` tinyint(3) unsigned default NULL,
  `prpf_niv_crweb` tinyint(3) unsigned default NULL,
  `prpf_docline` tinyint(3) unsigned default NULL,
  `prpf_niv_docline` tinyint(3) unsigned default NULL,
  `prpf_statistiques` tinyint(3) unsigned default NULL,
  `prpf_niv_statistiques` tinyint(3) unsigned default NULL,
  `prpf_circval` tinyint(3) unsigned default NULL,
  `prpf_niv_circval` tinyint(3) unsigned default NULL,
  `prpf_ddurable` tinyint(3) unsigned default NULL,
  `prpf_niv_ddurable` tinyint(3) unsigned default NULL,
  `prpf_demfourni` tinyint(3) unsigned default NULL,
  `prpf_niv_demfourni` tinyint(3) unsigned default NULL,
  `prpf_aideligne` tinyint(3) unsigned default NULL,
  `prpf_niv_aideligne` tinyint(3) unsigned default NULL,
  `prpf_lim_lst_dem` tinyint(3) unsigned default NULL,
  `prpf_lim_lst_dem_site` tinyint(3) unsigned default NULL,
  `prpf_lim_lst_dem_grp_srv` tinyint(3) unsigned default NULL,
  `prpf_libelle_sos_modifiable` tinyint(3) unsigned default NULL,
  `prpf_localis_dem` tinyint(3) unsigned default NULL,
  `prpf_dem_choisi_lst` tinyint(3) unsigned default NULL,
  `prpf_donnees_tech_visib` tinyint(3) unsigned default NULL,
  `prpf_donnees_patr_visib` tinyint(3) unsigned default NULL,
  `prpf_di_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_di_lim_loc_serv_aut` tinyint(3) unsigned default NULL,
  `prpf_dvs_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_rst_menu_visible` tinyint(3) unsigned default NULL,
  `prpf_acv_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_rep_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_rep_cout_visib` tinyint(3) unsigned default NULL,
  `prpf_rep_heure_visib` tinyint(3) unsigned default NULL,
  `prpf_gst_int_voir_ress` tinyint(3) unsigned default NULL,
  `prpf_sre_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_sre_gst_confid_info` tinyint(3) unsigned default NULL,
  `prpf_ann_gst_confid` tinyint(3) unsigned default NULL,
  `prpf_admin_pref` tinyint(3) unsigned default NULL,
  `prpf_admin_acc` tinyint(3) unsigned default NULL,
  `prpf_admin_admin` tinyint(3) unsigned default NULL,
  `prpf_gda` tinyint(3) unsigned default NULL,
  `prpf_niv_gda_geo` tinyint(3) unsigned default NULL,
  `prpf_niv_gda_tech` tinyint(3) unsigned default NULL,
  `prpf_niv_gda_pdm` tinyint(3) unsigned default NULL,
  `prpf_niv_gda_ctra` tinyint(3) unsigned default NULL,
  `prpf_niv_gda_proj` tinyint(3) unsigned default NULL,
  `prpf_niv_ann_int` tinyint(3) unsigned default NULL,
  `prpf_niv_ann_confid` tinyint(3) unsigned default NULL,
  `prpf_niv_ann_ext` tinyint(3) unsigned default NULL,
  `prpf_gdi` tinyint(3) unsigned default NULL,
  `prpf_niv_gdi_ni` tinyint(3) unsigned default NULL,
  `prpf_niv_gdi_li` tinyint(3) unsigned default NULL,
  `prpf_niv_gdi_planning` tinyint(3) unsigned default NULL,
  `prpf_niv_gdi_rsc` tinyint(3) unsigned default NULL,
  `prpf_niv_gdi_org` tinyint(3) unsigned default NULL,
  `prpf_gdi_dem_choisi_lst` tinyint(3) unsigned default NULL,
  `prpf_gdi_localis_dem` tinyint(3) unsigned default NULL,
  `prpf_gdi_lim_loc_serv_aut` tinyint(3) unsigned default NULL,
  `prpf_di` tinyint(3) unsigned default NULL,
  `prpf_di_di` tinyint(3) unsigned default NULL,
  `prpf_di_li` tinyint(3) unsigned default NULL,
  `prpf_niv_di_confid` tinyint(3) unsigned default NULL,
  `prpf_niv_rep_patrim` tinyint(3) unsigned default NULL,
  `prpf_niv_rep_ci` tinyint(3) unsigned default NULL,
  `prpf_niv_rep_indicgx` tinyint(3) unsigned default NULL,
  `prpf_niv_rep_rep` tinyint(3) unsigned default NULL,
  `prpf_docline_theme` tinyint(3) unsigned default NULL,
  `prpf_popup_info_gdi_vis` tinyint(3) unsigned default NULL,
  `prpf_popup_info_ajout_gdi_vis` tinyint(3) unsigned default NULL,
  `prpf_popup_info_aide_gdi_vis` tinyint(3) unsigned default NULL,
  `prpf_popup_info_di_vis` tinyint(3) unsigned default NULL,
  `prpf_popup_info_ajout_di_vis` tinyint(3) unsigned default NULL,
  `prpf_popup_info_aide_di_vis` tinyint(3) unsigned default NULL,
  `prpf_gsk` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`prpf_seq`),
  UNIQUE KEY `prpf_prof_fk` (`prpf_prof_fk`),
  KEY `prpf_zcat_fk` (`prpf_zcat_fk`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_profil`
--

INSERT INTO `pref_profil` (`prpf_seq`,`prpf_prof_fk`,`prpf_zcat_fk`,`prpf_admin`,`prpf_general`,`prpf_patrimoine`,`prpf_annuaire`,`prpf_niv_annuaire`,`prpf_accueil`,`prpf_niv_accueil`,`prpf_sosweb`,`prpf_niv_sosweb`,`prpf_reunion`,`prpf_niv_reunion`,`prpf_infos`,`prpf_niv_infos`,`prpf_services`,`prpf_niv_services`,`prpf_restaurant`,`prpf_niv_restaurant`,`prpf_reporting`,`prpf_niv_reporting`,`prpf_crweb`,`prpf_niv_crweb`,`prpf_docline`,`prpf_niv_docline`,`prpf_statistiques`,`prpf_niv_statistiques`,`prpf_circval`,`prpf_niv_circval`,`prpf_ddurable`,`prpf_niv_ddurable`,`prpf_demfourni`,`prpf_niv_demfourni`,`prpf_aideligne`,`prpf_niv_aideligne`,`prpf_lim_lst_dem`,`prpf_lim_lst_dem_site`,`prpf_lim_lst_dem_grp_srv`,`prpf_libelle_sos_modifiable`,`prpf_localis_dem`,`prpf_dem_choisi_lst`,`prpf_donnees_tech_visib`,`prpf_donnees_patr_visib`,`prpf_di_gst_confid`,`prpf_di_lim_loc_serv_aut`,`prpf_dvs_gst_confid`,`prpf_rst_menu_visible`,`prpf_acv_gst_confid`,`prpf_rep_gst_confid`,`prpf_rep_cout_visib`,`prpf_rep_heure_visib`,`prpf_gst_int_voir_ress`,`prpf_sre_gst_confid`,`prpf_sre_gst_confid_info`,`prpf_ann_gst_confid`,`prpf_admin_pref`,`prpf_admin_acc`,`prpf_admin_admin`,`prpf_gda`,`prpf_niv_gda_geo`,`prpf_niv_gda_tech`,`prpf_niv_gda_pdm`,`prpf_niv_gda_ctra`,`prpf_niv_gda_proj`,`prpf_niv_ann_int`,`prpf_niv_ann_confid`,`prpf_niv_ann_ext`,`prpf_gdi`,`prpf_niv_gdi_ni`,`prpf_niv_gdi_li`,`prpf_niv_gdi_planning`,`prpf_niv_gdi_rsc`,`prpf_niv_gdi_org`,`prpf_gdi_dem_choisi_lst`,`prpf_gdi_localis_dem`,`prpf_gdi_lim_loc_serv_aut`,`prpf_di`,`prpf_di_di`,`prpf_di_li`,`prpf_niv_di_confid`,`prpf_niv_rep_patrim`,`prpf_niv_rep_ci`,`prpf_niv_rep_indicgx`,`prpf_niv_rep_rep`,`prpf_docline_theme`,`prpf_popup_info_gdi_vis`,`prpf_popup_info_ajout_gdi_vis`,`prpf_popup_info_aide_gdi_vis`,`prpf_popup_info_di_vis`,`prpf_popup_info_ajout_di_vis`,`prpf_popup_info_aide_di_vis`,`prpf_gsk`) VALUES 
 (1,1,NULL,1,1,0,1,NULL,0,NULL,0,NULL,0,NULL,0,2,0,2,0,2,1,0,0,0,1,2,1,0,0,NULL,0,NULL,0,NULL,2,2,0,0,0,0,1,0,0,0,0,0,0,0,NULL,0,1,1,0,NULL,NULL,0,1,1,1,1,2,2,2,2,2,2,0,2,1,2,2,2,2,2,0,1,0,1,1,1,0,1,1,1,2,NULL,1,NULL,1,NULL,NULL,NULL,NULL),
 (2,2,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,1,NULL,1,0,1,1,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,2,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,1,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `pref_ut_di_info_dem_attr`
--

CREATE TABLE `pref_ut_di_info_dem_attr` (
  `pudida_seq` int(11) NOT NULL auto_increment,
  `pudida_zus_fk` int(11) default NULL,
  `pudida_atat_fk` int(11) default NULL,
  PRIMARY KEY  (`pudida_seq`),
  KEY `pudida_zus_fk` (`pudida_zus_fk`),
  KEY `pudida_atat_fk` (`pudida_atat_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_ut_di_info_dem_attr`
--



--
-- Definition of table `pref_ut_ui_memorisation`
--

CREATE TABLE `pref_ut_ui_memorisation` (
  `puum_seq` int(11) NOT NULL auto_increment,
  `puum_zus_fk` int(11) default NULL,
  `puum_session_nom_variable` varchar(100) NOT NULL,
  `puum_session_valeur` varchar(255) default NULL,
  PRIMARY KEY  (`puum_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_ut_ui_memorisation`
--



--
-- Definition of table `pref_utilisateur`
--

CREATE TABLE `pref_utilisateur` (
  `prut_seq` int(11) NOT NULL auto_increment,
  `prut_zus_fk` int(11) default NULL,
  `prut_gst_dcl_hor` tinyint(3) unsigned default NULL,
  `prut_dcl_serv_client` tinyint(3) default NULL,
  `prut_fuseau_hor_client` int(11) NOT NULL default '0',
  `prut_fuseau_hor_serv` int(11) NOT NULL default '0',
  `prut_sep_decimal` char(1) default NULL,
  `prut_sep_millier_actif` tinyint(3) unsigned default NULL,
  `prut_sep_millier` char(1) default NULL,
  `prut_nb_page_navig` int(11) default NULL,
  `prut_nb_record_page` int(11) default NULL,
  `prut_concept_portail` varchar(10) default NULL,
  `prut_theme_portail` varchar(10) default NULL,
  `prut_format_impress` varchar(6) default NULL,
  `prut_taille_textesimple` tinyint(3) unsigned default NULL,
  `prut_date_format_txt` tinyint(3) unsigned default NULL,
  `prut_date_format_num` tinyint(3) unsigned default NULL,
  `prut_date_avec_ordinaux` tinyint(3) unsigned default NULL,
  `prut_date_sep_num` char(1) default NULL,
  `prut_date_sep_heure` char(1) default NULL,
  `prut_date_aff_12h` tinyint(3) unsigned default NULL,
  `prut_di_type_lst_aide` tinyint(3) unsigned default NULL,
  `prut_di_dem_rech_rub` varchar(30) default NULL,
  `prut_di_dem_rech_type` tinyint(3) unsigned default NULL,
  `prut_di_loc_rech_rub` varchar(30) default NULL,
  `prut_di_loc_rech_type` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_serv` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_civilite` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_nom` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_prenom` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_nomcod` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_fonction` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_teldirect` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_email` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_bat` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_zone` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_loca` tinyint(3) unsigned default NULL,
  `prut_di_info_dem_attr` tinyint(3) unsigned default NULL,
  `prut_cr_gst_temps_inter` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`prut_seq`),
  UNIQUE KEY `prut_zus_fk` (`prut_zus_fk`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pref_utilisateur`
--

INSERT INTO `pref_utilisateur` (`prut_seq`,`prut_zus_fk`,`prut_gst_dcl_hor`,`prut_dcl_serv_client`,`prut_fuseau_hor_client`,`prut_fuseau_hor_serv`,`prut_sep_decimal`,`prut_sep_millier_actif`,`prut_sep_millier`,`prut_nb_page_navig`,`prut_nb_record_page`,`prut_concept_portail`,`prut_theme_portail`,`prut_format_impress`,`prut_taille_textesimple`,`prut_date_format_txt`,`prut_date_format_num`,`prut_date_avec_ordinaux`,`prut_date_sep_num`,`prut_date_sep_heure`,`prut_date_aff_12h`,`prut_di_type_lst_aide`,`prut_di_dem_rech_rub`,`prut_di_dem_rech_type`,`prut_di_loc_rech_rub`,`prut_di_loc_rech_type`,`prut_di_info_dem_serv`,`prut_di_info_dem_civilite`,`prut_di_info_dem_nom`,`prut_di_info_dem_prenom`,`prut_di_info_dem_nomcod`,`prut_di_info_dem_fonction`,`prut_di_info_dem_teldirect`,`prut_di_info_dem_email`,`prut_di_info_dem_bat`,`prut_di_info_dem_zone`,`prut_di_info_dem_loca`,`prut_di_info_dem_attr`,`prut_cr_gst_temps_inter`) VALUES 
 (1,2,NULL,NULL,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `presta_service`
--

CREATE TABLE `presta_service` (
  `prse_seq` int(11) NOT NULL auto_increment,
  `prse_pres_fk` int(11) NOT NULL default '0',
  `prse_libelle` varchar(15) NOT NULL,
  `prse_desc` text NOT NULL,
  `prse_def_quantite` tinyint(4) NOT NULL default '0',
  `prse_unite` varchar(4) NOT NULL,
  `prse_chemin_photo` varchar(100) NOT NULL,
  PRIMARY KEY  (`prse_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `presta_service`
--



--
-- Definition of table `prestataire`
--

CREATE TABLE `prestataire` (
  `pres_seq` int(11) NOT NULL auto_increment,
  `pres_libelle` varchar(15) NOT NULL,
  `pres_desc` text NOT NULL,
  `pres_email` varchar(45) default NULL,
  `pres_trav_code` varchar(4) default NULL,
  PRIMARY KEY  (`pres_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `prestataire`
--



--
-- Definition of table `preventif_equipement`
--

CREATE TABLE `preventif_equipement` (
  `eqpr_seq` int(11) NOT NULL auto_increment,
  `eqpr_typeprev` tinyint(3) unsigned default NULL,
  `eqpr_freqval` tinyint(3) unsigned default NULL,
  `eqpr_freqtype` tinyint(3) unsigned default NULL,
  `eqpr_lundi` tinyint(3) unsigned default NULL,
  `eqpr_mardi` tinyint(3) unsigned default NULL,
  `eqpr_mercredi` tinyint(3) unsigned default NULL,
  `eqpr_jeudi` tinyint(3) unsigned default NULL,
  `eqpr_vendredi` tinyint(3) unsigned default NULL,
  `eqpr_samedi` tinyint(3) unsigned default NULL,
  `eqpr_dimanche` tinyint(3) unsigned default NULL,
  `eqpr_feries` tinyint(3) unsigned default NULL,
  `eqpr_comptunite` int(11) default NULL,
  `eqpr_consignes` text,
  `eqpr_datreference` datetime default NULL,
  `eqpr_bloquee` tinyint(3) unsigned default NULL,
  `eqpr_stopservic` tinyint(3) unsigned default NULL,
  `eqpr_gamadapt` tinyint(3) unsigned default NULL,
  `eqpr_fuseffac` tinyint(3) unsigned default NULL,
  `eqpr_saison` tinyint(3) unsigned default NULL,
  `eqpr_proch_date` datetime default NULL,
  `eqpr_seuilbas` decimal(16,4) default NULL,
  `eqpr_seuilhaut` decimal(16,4) default NULL,
  `eqpr_urgence` tinyint(3) unsigned default NULL,
  `eqpr_progres` tinyint(3) unsigned default NULL,
  `eqpr_progprev` tinyint(3) unsigned default NULL,
  `eqpr_progreal` tinyint(3) unsigned default NULL,
  `eqpr_contenu` text,
  `eqpr_per1dat1` datetime default NULL,
  `eqpr_per1dat2` datetime default NULL,
  `eqpr_per2dat1` datetime default NULL,
  `eqpr_per2dat2` datetime default NULL,
  `eqpr_dureepres` decimal(16,2) default NULL,
  `eqpr_dureejour` tinyint(3) unsigned default NULL,
  `eqpr_maint_niveau` tinyint(3) unsigned default NULL,
  `eqpr_docu` tinyint(3) unsigned default NULL,
  `eqpr_pmes` tinyint(3) unsigned default NULL,
  `eqpr_titre_ope` varchar(40) default NULL,
  `eqpr_horsplanif` tinyint(3) unsigned default NULL,
  `eqpr_consig` tinyint(3) unsigned default NULL,
  `eqpr_verte` tinyint(3) unsigned default NULL,
  `eqpr_reglementaire` tinyint(3) unsigned default NULL,
  `eqpr_ctra_fk` int(11) default NULL,
  `eqpr_eqip_fk` int(11) default NULL,
  `eqpr_trav_fk` int(11) default NULL,
  `eqpr_game_fk` int(11) default NULL,
  `eqpr_pmes_fk` int(11) default NULL,
  `eqpr_oper_der_fk` int(11) default NULL,
  `eqpr_fapr_fk` int(11) default NULL,
  `eqpr_supe_fk` int(11) default NULL,
  `eqpr_inte_fk` int(11) default NULL,
  `eqpr_tppr_fk` int(11) default NULL,
  `eqpr_attribut_orig` tinyint(3) unsigned default NULL,
  `eqpr_proch_occur` int(11) default NULL,
  PRIMARY KEY  (`eqpr_seq`),
  KEY `eqpr_ctra_fk` (`eqpr_ctra_fk`),
  KEY `eqpr_eqip_fk` (`eqpr_eqip_fk`),
  KEY `eqpr_trav_fk` (`eqpr_trav_fk`),
  KEY `eqpr_game_fk` (`eqpr_game_fk`),
  KEY `eqpr_pmes_fk` (`eqpr_pmes_fk`),
  KEY `eqpr_oper_der_fk` (`eqpr_oper_der_fk`),
  KEY `eqpr_fapr_fk` (`eqpr_fapr_fk`),
  KEY `eqpr_supe_fk` (`eqpr_supe_fk`),
  KEY `eqpr_inte_fk` (`eqpr_inte_fk`),
  KEY `eqpr_tppr_fk` (`eqpr_tppr_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `preventif_equipement`
--



--
-- Definition of table `preventif_equipment_attr`
--

CREATE TABLE `preventif_equipment_attr` (
  `eqpr_att_seq` int(16) NOT NULL auto_increment,
  `eqpr_att_age` varchar(10) default NULL,
  `eqpr_att_pers` varchar(1) default NULL,
  PRIMARY KEY  (`eqpr_att_seq`)
) ENGINE=InnoDB AUTO_INCREMENT=49346 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `preventif_equipment_attr`
--

INSERT INTO `preventif_equipment_attr` (`eqpr_att_seq`,`eqpr_att_age`,`eqpr_att_pers`) VALUES 
 (1,NULL,NULL),
 (2,NULL,NULL),
 (3,NULL,NULL),
 (4,NULL,NULL),
 (5,NULL,NULL),
 (6,NULL,NULL),
 (7,NULL,NULL),
 (8,NULL,NULL),
 (9,NULL,NULL),
 (10,'10',NULL),
 (11,'10',NULL),
 (12,'10',NULL),
 (13,'10',NULL),
 (14,NULL,NULL),
 (15,NULL,NULL),
 (20,NULL,NULL),
 (21,NULL,NULL),
 (22,NULL,NULL),
 (24,NULL,NULL),
 (25,NULL,NULL),
 (26,NULL,NULL),
 (27,NULL,NULL),
 (32,NULL,NULL),
 (33,NULL,NULL),
 (37,NULL,NULL),
 (38,NULL,NULL),
 (39,NULL,NULL),
 (40,NULL,NULL),
 (41,NULL,NULL),
 (42,NULL,NULL),
 (43,NULL,NULL),
 (52,NULL,NULL),
 (53,NULL,NULL),
 (54,NULL,NULL),
 (55,NULL,NULL),
 (56,NULL,NULL),
 (57,NULL,NULL),
 (60,NULL,NULL),
 (61,NULL,NULL),
 (62,NULL,NULL),
 (63,NULL,NULL),
 (67,NULL,NULL),
 (68,NULL,NULL),
 (69,NULL,NULL),
 (70,NULL,NULL),
 (71,NULL,NULL),
 (72,NULL,NULL),
 (73,NULL,NULL),
 (74,NULL,NULL),
 (75,NULL,NULL),
 (76,NULL,NULL),
 (77,NULL,NULL),
 (78,NULL,NULL),
 (79,NULL,NULL),
 (80,NULL,NULL),
 (81,NULL,NULL),
 (82,NULL,NULL),
 (83,NULL,NULL),
 (84,NULL,NULL),
 (85,NULL,NULL),
 (86,NULL,NULL),
 (87,NULL,NULL),
 (88,NULL,NULL),
 (89,NULL,NULL),
 (90,NULL,NULL),
 (91,NULL,NULL),
 (92,NULL,NULL),
 (93,NULL,NULL),
 (94,NULL,NULL),
 (95,NULL,NULL),
 (96,NULL,NULL),
 (97,NULL,NULL),
 (98,NULL,NULL),
 (99,NULL,NULL),
 (100,NULL,NULL),
 (101,NULL,NULL),
 (102,NULL,NULL),
 (103,NULL,NULL),
 (104,NULL,NULL),
 (105,NULL,NULL),
 (106,NULL,NULL),
 (107,NULL,NULL),
 (108,'10',NULL),
 (109,'10',NULL),
 (110,'10',NULL),
 (111,'10',NULL),
 (112,NULL,NULL),
 (113,NULL,NULL),
 (114,NULL,NULL),
 (115,NULL,NULL),
 (116,NULL,NULL),
 (117,NULL,NULL),
 (118,NULL,NULL),
 (119,NULL,NULL),
 (120,NULL,NULL),
 (121,NULL,NULL),
 (122,NULL,NULL),
 (123,NULL,NULL),
 (124,NULL,NULL),
 (125,NULL,NULL),
 (126,NULL,NULL),
 (127,NULL,NULL),
 (128,NULL,NULL),
 (129,NULL,NULL),
 (130,NULL,NULL),
 (131,NULL,NULL),
 (132,NULL,NULL),
 (133,NULL,NULL),
 (134,NULL,NULL),
 (135,NULL,NULL),
 (136,NULL,NULL),
 (137,NULL,NULL),
 (138,NULL,NULL),
 (139,NULL,NULL),
 (140,NULL,NULL),
 (141,NULL,NULL),
 (142,NULL,NULL),
 (143,NULL,NULL),
 (144,NULL,NULL),
 (145,NULL,NULL),
 (146,NULL,NULL),
 (147,NULL,NULL),
 (148,NULL,NULL),
 (149,NULL,NULL),
 (150,NULL,NULL),
 (151,NULL,NULL),
 (152,NULL,NULL),
 (153,NULL,NULL),
 (154,NULL,NULL),
 (155,NULL,NULL),
 (156,NULL,NULL),
 (157,NULL,NULL),
 (158,NULL,NULL),
 (159,NULL,NULL),
 (160,NULL,NULL),
 (161,NULL,NULL),
 (162,NULL,NULL),
 (163,NULL,NULL),
 (164,NULL,NULL),
 (165,NULL,NULL),
 (166,NULL,NULL),
 (167,NULL,NULL),
 (168,NULL,NULL),
 (169,NULL,NULL),
 (170,NULL,NULL),
 (171,NULL,NULL),
 (172,NULL,NULL),
 (173,NULL,NULL),
 (174,NULL,NULL),
 (175,NULL,NULL),
 (176,NULL,NULL),
 (177,NULL,NULL),
 (178,NULL,NULL),
 (179,NULL,NULL),
 (180,NULL,NULL),
 (181,NULL,NULL),
 (182,NULL,NULL),
 (183,NULL,NULL),
 (185,NULL,NULL),
 (186,NULL,NULL),
 (188,NULL,NULL),
 (189,NULL,NULL),
 (190,NULL,NULL),
 (191,NULL,NULL),
 (193,NULL,NULL),
 (194,NULL,NULL),
 (195,NULL,NULL),
 (197,NULL,NULL),
 (198,NULL,NULL),
 (199,NULL,NULL),
 (200,NULL,NULL),
 (201,NULL,NULL),
 (202,NULL,NULL),
 (204,NULL,NULL),
 (205,NULL,NULL),
 (207,NULL,NULL),
 (208,NULL,NULL),
 (209,NULL,NULL),
 (210,NULL,NULL),
 (211,NULL,NULL),
 (212,NULL,NULL),
 (213,NULL,NULL),
 (214,NULL,NULL),
 (215,NULL,NULL),
 (216,NULL,NULL),
 (217,NULL,NULL),
 (218,NULL,NULL),
 (219,NULL,NULL),
 (220,NULL,NULL),
 (221,NULL,NULL),
 (222,NULL,NULL),
 (223,NULL,NULL),
 (224,NULL,NULL),
 (225,NULL,NULL),
 (226,NULL,NULL),
 (227,NULL,NULL),
 (228,NULL,NULL),
 (229,NULL,NULL),
 (230,NULL,NULL),
 (231,NULL,NULL),
 (232,NULL,NULL),
 (233,NULL,NULL),
 (234,NULL,NULL),
 (235,NULL,NULL),
 (236,NULL,NULL),
 (237,NULL,NULL),
 (238,NULL,NULL),
 (239,NULL,NULL),
 (240,NULL,NULL),
 (241,NULL,NULL),
 (242,NULL,NULL),
 (243,NULL,NULL),
 (244,NULL,NULL),
 (245,NULL,NULL),
 (246,NULL,NULL),
 (247,NULL,NULL),
 (248,NULL,NULL),
 (249,NULL,NULL),
 (250,NULL,NULL),
 (251,NULL,NULL),
 (252,NULL,NULL),
 (253,NULL,NULL),
 (254,NULL,NULL),
 (257,NULL,NULL),
 (258,NULL,NULL),
 (261,NULL,NULL),
 (262,NULL,NULL),
 (263,NULL,NULL),
 (264,NULL,NULL),
 (265,NULL,NULL),
 (266,NULL,NULL),
 (267,NULL,NULL),
 (268,NULL,NULL),
 (269,NULL,NULL),
 (270,NULL,NULL),
 (271,NULL,NULL),
 (272,NULL,NULL),
 (273,NULL,NULL),
 (274,NULL,NULL),
 (275,NULL,NULL),
 (276,NULL,NULL),
 (277,NULL,NULL),
 (278,NULL,NULL),
 (279,NULL,NULL),
 (280,NULL,NULL),
 (281,NULL,NULL),
 (282,NULL,NULL),
 (283,NULL,NULL),
 (284,NULL,NULL),
 (285,NULL,NULL),
 (286,NULL,NULL),
 (287,NULL,NULL),
 (288,NULL,NULL),
 (289,NULL,NULL),
 (290,NULL,NULL),
 (291,NULL,NULL),
 (292,NULL,NULL),
 (293,NULL,NULL),
 (294,NULL,NULL),
 (295,NULL,NULL),
 (296,NULL,NULL),
 (297,NULL,NULL),
 (298,NULL,NULL),
 (299,NULL,NULL),
 (300,NULL,NULL),
 (302,NULL,NULL),
 (303,NULL,NULL),
 (304,NULL,NULL),
 (305,NULL,NULL),
 (306,NULL,NULL),
 (307,NULL,NULL),
 (308,NULL,NULL),
 (309,NULL,NULL),
 (310,NULL,NULL),
 (311,NULL,NULL),
 (312,NULL,NULL),
 (313,NULL,NULL),
 (314,NULL,NULL),
 (315,NULL,NULL),
 (316,NULL,NULL),
 (317,NULL,NULL),
 (318,NULL,NULL),
 (319,NULL,NULL),
 (320,NULL,NULL),
 (321,NULL,NULL),
 (322,NULL,NULL),
 (323,NULL,NULL),
 (324,NULL,NULL),
 (325,NULL,NULL),
 (326,NULL,NULL),
 (327,NULL,NULL),
 (328,NULL,NULL),
 (329,NULL,NULL),
 (330,NULL,NULL),
 (331,NULL,NULL),
 (332,NULL,NULL),
 (333,NULL,NULL),
 (334,NULL,NULL),
 (335,NULL,NULL),
 (336,NULL,NULL),
 (337,NULL,NULL),
 (338,NULL,NULL),
 (340,NULL,NULL),
 (341,NULL,NULL),
 (342,NULL,NULL),
 (343,NULL,NULL),
 (344,NULL,NULL),
 (345,NULL,NULL),
 (346,NULL,NULL),
 (347,NULL,NULL),
 (348,NULL,NULL),
 (349,NULL,NULL),
 (350,NULL,NULL),
 (351,NULL,NULL),
 (352,NULL,NULL),
 (353,NULL,NULL),
 (354,NULL,NULL),
 (355,NULL,NULL),
 (356,NULL,NULL),
 (357,NULL,NULL),
 (358,NULL,NULL),
 (359,NULL,NULL),
 (360,NULL,NULL),
 (361,NULL,NULL),
 (362,NULL,NULL),
 (363,NULL,NULL),
 (364,NULL,NULL),
 (365,NULL,NULL),
 (366,NULL,NULL),
 (367,NULL,NULL),
 (368,NULL,NULL),
 (369,NULL,NULL),
 (370,NULL,NULL),
 (371,NULL,NULL),
 (372,NULL,NULL),
 (373,NULL,NULL),
 (374,NULL,NULL),
 (375,NULL,NULL),
 (376,NULL,NULL),
 (377,NULL,NULL),
 (378,NULL,NULL),
 (379,NULL,NULL),
 (380,NULL,NULL),
 (381,NULL,NULL),
 (382,NULL,NULL),
 (383,NULL,NULL),
 (384,NULL,NULL),
 (385,NULL,NULL),
 (386,NULL,NULL),
 (387,NULL,NULL),
 (388,NULL,NULL),
 (389,NULL,NULL),
 (390,NULL,NULL),
 (391,NULL,NULL),
 (392,NULL,NULL),
 (393,NULL,NULL),
 (394,NULL,NULL),
 (395,NULL,NULL),
 (396,NULL,NULL),
 (397,NULL,NULL),
 (398,NULL,NULL),
 (399,NULL,NULL),
 (400,NULL,NULL),
 (401,NULL,NULL),
 (402,NULL,NULL),
 (403,NULL,NULL),
 (404,NULL,NULL),
 (405,NULL,NULL),
 (406,NULL,NULL),
 (407,NULL,NULL),
 (408,NULL,NULL),
 (409,NULL,NULL),
 (410,NULL,NULL),
 (411,NULL,NULL),
 (412,NULL,NULL),
 (413,NULL,NULL),
 (414,NULL,NULL),
 (415,NULL,NULL),
 (416,NULL,NULL),
 (417,NULL,NULL),
 (418,NULL,NULL),
 (419,NULL,NULL),
 (420,NULL,NULL),
 (421,NULL,NULL),
 (422,NULL,NULL),
 (423,NULL,NULL),
 (424,NULL,NULL),
 (425,NULL,NULL),
 (426,NULL,NULL),
 (427,NULL,NULL),
 (428,NULL,NULL),
 (429,NULL,NULL),
 (430,NULL,NULL),
 (431,NULL,NULL),
 (432,NULL,NULL),
 (433,NULL,NULL),
 (434,NULL,NULL),
 (435,NULL,NULL),
 (436,NULL,NULL),
 (437,NULL,NULL),
 (438,NULL,NULL),
 (439,NULL,NULL),
 (440,NULL,NULL),
 (441,NULL,NULL),
 (442,NULL,NULL),
 (443,NULL,NULL),
 (444,NULL,NULL),
 (445,NULL,NULL),
 (446,NULL,NULL),
 (447,NULL,NULL),
 (448,NULL,NULL),
 (449,NULL,NULL),
 (450,NULL,NULL),
 (451,NULL,NULL),
 (452,NULL,NULL),
 (453,NULL,NULL),
 (454,NULL,NULL),
 (455,NULL,NULL),
 (456,NULL,NULL),
 (457,NULL,NULL),
 (458,NULL,NULL),
 (459,NULL,NULL),
 (460,NULL,NULL),
 (461,NULL,NULL),
 (462,NULL,NULL),
 (463,NULL,NULL),
 (464,NULL,NULL),
 (465,NULL,NULL),
 (466,NULL,NULL),
 (467,NULL,NULL),
 (468,NULL,NULL),
 (469,NULL,NULL),
 (470,NULL,NULL),
 (471,NULL,NULL),
 (472,NULL,NULL),
 (473,NULL,NULL),
 (474,NULL,NULL),
 (475,NULL,NULL),
 (476,NULL,NULL),
 (477,NULL,NULL),
 (478,NULL,NULL),
 (479,NULL,NULL),
 (480,NULL,NULL),
 (481,NULL,NULL),
 (482,NULL,NULL),
 (483,NULL,NULL),
 (484,NULL,NULL),
 (485,NULL,NULL),
 (486,NULL,NULL),
 (487,NULL,NULL),
 (488,NULL,NULL),
 (489,NULL,NULL),
 (490,NULL,NULL),
 (491,NULL,NULL),
 (492,NULL,NULL),
 (493,NULL,NULL),
 (494,NULL,NULL),
 (495,NULL,NULL),
 (496,NULL,NULL),
 (497,NULL,NULL),
 (498,NULL,NULL),
 (499,NULL,NULL),
 (500,NULL,NULL),
 (501,NULL,NULL),
 (502,NULL,NULL),
 (503,NULL,NULL),
 (504,NULL,NULL),
 (505,NULL,NULL),
 (506,NULL,NULL),
 (507,NULL,NULL),
 (508,NULL,NULL),
 (509,NULL,NULL),
 (510,NULL,NULL),
 (511,NULL,NULL),
 (512,NULL,NULL),
 (513,NULL,NULL),
 (514,NULL,NULL),
 (515,NULL,NULL),
 (516,NULL,NULL),
 (517,NULL,NULL),
 (518,NULL,NULL),
 (519,NULL,NULL),
 (520,NULL,NULL),
 (521,NULL,NULL),
 (522,NULL,NULL),
 (523,NULL,NULL),
 (524,NULL,NULL),
 (525,NULL,NULL),
 (526,NULL,NULL),
 (527,NULL,NULL),
 (528,NULL,NULL),
 (529,NULL,NULL),
 (530,NULL,NULL),
 (531,NULL,NULL),
 (532,NULL,NULL),
 (533,NULL,NULL),
 (534,NULL,NULL),
 (535,NULL,NULL),
 (536,NULL,NULL),
 (537,NULL,NULL),
 (538,NULL,NULL),
 (539,NULL,NULL),
 (540,NULL,NULL),
 (541,NULL,NULL),
 (542,NULL,NULL),
 (543,NULL,NULL),
 (544,NULL,NULL),
 (545,NULL,NULL),
 (546,NULL,NULL),
 (547,NULL,NULL),
 (548,NULL,NULL),
 (549,NULL,NULL),
 (550,NULL,NULL),
 (551,NULL,NULL),
 (552,NULL,NULL),
 (553,NULL,NULL),
 (554,NULL,NULL),
 (555,NULL,NULL),
 (556,NULL,NULL),
 (557,NULL,NULL),
 (558,NULL,NULL),
 (559,NULL,NULL),
 (560,NULL,NULL),
 (561,NULL,NULL),
 (562,NULL,NULL),
 (563,NULL,NULL),
 (564,NULL,NULL),
 (565,NULL,NULL),
 (566,NULL,NULL),
 (567,NULL,NULL),
 (568,NULL,NULL),
 (569,NULL,NULL),
 (570,NULL,NULL),
 (571,NULL,NULL),
 (572,NULL,NULL),
 (573,NULL,NULL),
 (574,NULL,NULL),
 (575,NULL,NULL),
 (576,NULL,NULL),
 (577,NULL,NULL),
 (578,NULL,NULL),
 (579,NULL,NULL),
 (581,NULL,NULL),
 (582,NULL,NULL),
 (583,NULL,NULL),
 (584,NULL,NULL),
 (585,NULL,NULL),
 (586,NULL,NULL),
 (587,NULL,NULL),
 (588,NULL,NULL),
 (589,NULL,NULL),
 (590,NULL,NULL),
 (591,NULL,NULL),
 (592,NULL,NULL),
 (593,NULL,NULL),
 (594,NULL,NULL),
 (595,NULL,NULL),
 (596,NULL,NULL),
 (597,NULL,NULL),
 (598,NULL,NULL),
 (599,NULL,NULL),
 (600,NULL,NULL),
 (601,NULL,NULL),
 (602,NULL,NULL),
 (603,NULL,NULL),
 (604,NULL,NULL),
 (605,NULL,NULL),
 (606,NULL,NULL),
 (607,NULL,NULL),
 (608,NULL,NULL),
 (609,NULL,NULL),
 (610,NULL,NULL),
 (611,NULL,NULL),
 (612,NULL,NULL),
 (613,NULL,NULL),
 (614,NULL,NULL),
 (618,NULL,NULL),
 (619,NULL,NULL),
 (620,NULL,NULL),
 (621,NULL,NULL),
 (625,NULL,NULL),
 (626,NULL,NULL),
 (627,NULL,NULL),
 (628,NULL,NULL),
 (632,NULL,NULL),
 (633,NULL,NULL),
 (634,NULL,NULL),
 (635,NULL,NULL),
 (636,NULL,NULL),
 (637,NULL,NULL),
 (638,NULL,NULL),
 (639,NULL,NULL),
 (640,NULL,NULL),
 (641,NULL,NULL),
 (642,NULL,NULL),
 (643,NULL,NULL),
 (644,NULL,NULL),
 (645,NULL,NULL),
 (646,NULL,NULL),
 (647,NULL,NULL),
 (648,NULL,NULL),
 (649,NULL,NULL),
 (650,NULL,NULL),
 (651,NULL,NULL),
 (652,NULL,NULL),
 (653,NULL,NULL),
 (654,NULL,NULL),
 (655,NULL,NULL),
 (656,NULL,NULL),
 (657,NULL,NULL),
 (658,NULL,NULL),
 (659,NULL,NULL),
 (660,NULL,NULL),
 (661,NULL,NULL),
 (662,NULL,NULL),
 (663,NULL,NULL),
 (664,NULL,NULL),
 (665,NULL,NULL),
 (666,NULL,NULL),
 (667,NULL,NULL),
 (668,NULL,NULL),
 (669,NULL,NULL),
 (670,NULL,NULL),
 (671,NULL,NULL),
 (672,NULL,NULL),
 (673,NULL,NULL),
 (718,NULL,NULL),
 (719,NULL,NULL),
 (720,NULL,NULL),
 (721,NULL,NULL),
 (722,NULL,NULL),
 (723,NULL,NULL),
 (724,NULL,NULL),
 (725,NULL,NULL),
 (726,NULL,NULL),
 (727,NULL,NULL),
 (728,NULL,NULL),
 (729,NULL,NULL),
 (730,NULL,NULL),
 (731,NULL,NULL),
 (732,NULL,NULL),
 (733,NULL,NULL),
 (734,NULL,NULL),
 (735,NULL,NULL),
 (736,NULL,NULL),
 (737,NULL,NULL),
 (738,NULL,NULL),
 (739,NULL,NULL),
 (740,NULL,NULL),
 (741,NULL,NULL),
 (742,NULL,NULL),
 (743,NULL,NULL),
 (745,NULL,NULL),
 (746,NULL,NULL),
 (747,NULL,NULL),
 (748,NULL,NULL),
 (749,NULL,NULL),
 (750,NULL,NULL),
 (751,NULL,NULL),
 (752,NULL,NULL),
 (753,NULL,NULL),
 (754,NULL,NULL),
 (755,NULL,NULL),
 (756,NULL,NULL),
 (757,NULL,NULL),
 (758,NULL,NULL),
 (759,NULL,NULL),
 (760,NULL,NULL),
 (761,NULL,NULL),
 (762,NULL,NULL),
 (763,NULL,NULL),
 (764,NULL,NULL),
 (765,NULL,NULL),
 (766,NULL,NULL),
 (767,NULL,NULL),
 (768,NULL,NULL),
 (769,NULL,NULL),
 (770,NULL,NULL),
 (771,NULL,NULL),
 (772,NULL,NULL),
 (773,NULL,NULL),
 (774,NULL,NULL),
 (775,NULL,NULL),
 (776,NULL,NULL),
 (777,NULL,NULL),
 (778,NULL,NULL),
 (779,NULL,NULL),
 (780,NULL,NULL),
 (781,NULL,NULL),
 (782,NULL,NULL),
 (783,NULL,NULL),
 (784,NULL,NULL),
 (785,NULL,NULL),
 (786,NULL,NULL),
 (787,NULL,NULL),
 (788,NULL,NULL),
 (789,NULL,NULL),
 (790,NULL,NULL),
 (791,NULL,NULL),
 (792,NULL,NULL),
 (793,NULL,NULL),
 (794,NULL,NULL),
 (795,NULL,NULL),
 (796,NULL,NULL),
 (797,NULL,NULL),
 (798,NULL,NULL),
 (799,NULL,NULL),
 (800,NULL,NULL),
 (801,NULL,NULL),
 (802,NULL,NULL),
 (803,NULL,NULL),
 (804,NULL,NULL),
 (805,NULL,NULL),
 (806,NULL,NULL),
 (807,NULL,NULL),
 (808,NULL,NULL),
 (809,NULL,NULL),
 (810,NULL,NULL),
 (811,NULL,NULL),
 (812,NULL,NULL),
 (813,NULL,NULL),
 (814,NULL,NULL),
 (815,NULL,NULL),
 (816,NULL,NULL),
 (817,NULL,NULL),
 (818,NULL,NULL),
 (819,NULL,NULL),
 (820,NULL,NULL),
 (821,NULL,NULL),
 (822,NULL,NULL),
 (823,NULL,NULL),
 (824,NULL,NULL),
 (825,NULL,NULL),
 (826,NULL,NULL),
 (827,NULL,NULL),
 (828,NULL,NULL),
 (829,NULL,NULL),
 (830,NULL,NULL),
 (831,NULL,NULL),
 (832,NULL,NULL),
 (833,NULL,NULL),
 (834,NULL,NULL),
 (835,NULL,NULL),
 (836,NULL,NULL),
 (837,NULL,NULL),
 (838,NULL,NULL),
 (839,NULL,NULL),
 (840,NULL,NULL),
 (841,NULL,NULL),
 (842,NULL,NULL),
 (843,NULL,NULL),
 (844,NULL,NULL),
 (845,NULL,NULL),
 (846,NULL,NULL),
 (847,NULL,NULL),
 (848,NULL,NULL),
 (849,NULL,NULL),
 (850,NULL,NULL),
 (851,NULL,NULL),
 (852,NULL,NULL),
 (853,'10',NULL),
 (854,'10',NULL),
 (855,'10',NULL),
 (856,'10',NULL),
 (857,'10',NULL),
 (858,'10',NULL),
 (859,'10',NULL),
 (860,'10',NULL),
 (861,'10',NULL),
 (862,'10',NULL),
 (863,'10',NULL),
 (864,'10',NULL),
 (865,'10',NULL),
 (866,'10',NULL),
 (867,'10',NULL),
 (868,'10',NULL),
 (869,'10',NULL),
 (870,'10',NULL),
 (871,'10',NULL),
 (872,'10',NULL),
 (873,NULL,NULL),
 (874,NULL,NULL),
 (875,NULL,NULL),
 (876,NULL,NULL),
 (877,NULL,NULL),
 (878,NULL,NULL),
 (879,NULL,NULL),
 (880,NULL,NULL),
 (881,NULL,NULL),
 (882,NULL,NULL),
 (883,NULL,NULL),
 (884,NULL,NULL),
 (885,NULL,NULL),
 (886,NULL,NULL),
 (887,NULL,NULL),
 (888,NULL,NULL),
 (889,NULL,NULL),
 (890,NULL,NULL),
 (891,NULL,NULL),
 (892,NULL,NULL),
 (893,NULL,NULL),
 (894,NULL,NULL),
 (895,NULL,NULL),
 (896,NULL,NULL),
 (897,NULL,NULL),
 (898,NULL,NULL),
 (899,NULL,NULL),
 (900,NULL,NULL),
 (901,NULL,NULL),
 (902,NULL,NULL),
 (903,NULL,NULL),
 (904,NULL,NULL),
 (905,NULL,NULL),
 (906,NULL,NULL),
 (907,NULL,NULL),
 (908,NULL,NULL),
 (909,NULL,NULL),
 (910,NULL,NULL),
 (911,NULL,NULL),
 (912,NULL,NULL),
 (913,NULL,NULL),
 (914,NULL,NULL),
 (915,NULL,NULL),
 (916,NULL,NULL),
 (917,NULL,NULL),
 (918,NULL,NULL),
 (919,NULL,NULL),
 (920,NULL,NULL),
 (921,NULL,NULL),
 (922,NULL,NULL),
 (923,NULL,NULL),
 (924,NULL,NULL),
 (925,NULL,NULL),
 (926,NULL,NULL),
 (927,NULL,NULL),
 (928,NULL,NULL),
 (929,NULL,NULL),
 (930,NULL,NULL),
 (931,NULL,NULL),
 (932,NULL,NULL),
 (933,NULL,NULL),
 (934,NULL,NULL),
 (935,NULL,NULL),
 (936,NULL,NULL),
 (937,NULL,NULL),
 (938,NULL,NULL),
 (939,NULL,NULL),
 (940,NULL,NULL),
 (941,NULL,NULL),
 (942,NULL,NULL),
 (943,NULL,NULL),
 (944,NULL,NULL),
 (945,NULL,NULL),
 (946,NULL,NULL),
 (947,NULL,NULL),
 (948,NULL,NULL),
 (949,NULL,NULL),
 (950,NULL,NULL),
 (951,NULL,NULL),
 (952,NULL,NULL),
 (953,NULL,NULL),
 (954,NULL,NULL),
 (955,NULL,NULL),
 (956,NULL,NULL),
 (957,NULL,NULL),
 (958,NULL,NULL),
 (959,NULL,NULL),
 (960,NULL,NULL),
 (961,NULL,NULL),
 (962,NULL,NULL),
 (963,NULL,NULL),
 (964,NULL,NULL),
 (965,NULL,NULL),
 (966,NULL,NULL),
 (967,NULL,NULL),
 (968,NULL,NULL),
 (969,NULL,NULL),
 (970,NULL,NULL),
 (971,NULL,NULL),
 (972,NULL,NULL),
 (973,NULL,NULL),
 (974,NULL,NULL),
 (977,NULL,NULL),
 (978,NULL,NULL),
 (979,NULL,NULL),
 (980,NULL,NULL),
 (981,NULL,NULL),
 (982,NULL,NULL),
 (983,NULL,NULL),
 (984,NULL,NULL),
 (985,NULL,NULL),
 (986,NULL,NULL),
 (987,NULL,NULL),
 (988,NULL,NULL),
 (989,NULL,NULL),
 (990,NULL,NULL),
 (991,NULL,NULL),
 (992,NULL,NULL),
 (993,NULL,NULL),
 (994,NULL,NULL),
 (995,NULL,NULL),
 (996,NULL,NULL),
 (997,NULL,NULL),
 (998,NULL,NULL),
 (999,NULL,NULL),
 (1000,NULL,NULL),
 (1001,NULL,NULL),
 (1002,NULL,NULL),
 (1003,NULL,NULL),
 (1004,NULL,NULL),
 (1005,NULL,NULL),
 (1006,NULL,NULL),
 (1007,NULL,NULL),
 (1011,NULL,NULL),
 (1012,NULL,NULL),
 (1013,NULL,NULL),
 (1014,NULL,NULL),
 (1015,NULL,NULL),
 (1016,NULL,NULL),
 (1017,NULL,NULL),
 (1018,NULL,NULL),
 (1019,NULL,NULL),
 (1020,NULL,NULL),
 (1021,NULL,NULL),
 (1022,NULL,NULL),
 (1023,NULL,NULL),
 (1024,NULL,NULL),
 (1025,NULL,NULL),
 (1026,NULL,NULL),
 (1027,NULL,NULL),
 (1028,NULL,NULL),
 (1029,NULL,NULL),
 (1030,NULL,NULL),
 (1031,NULL,NULL),
 (1032,NULL,NULL),
 (1033,NULL,NULL),
 (1034,NULL,NULL),
 (1035,NULL,NULL),
 (1036,NULL,NULL),
 (1037,NULL,NULL),
 (1038,NULL,NULL),
 (1039,NULL,NULL),
 (1040,NULL,NULL),
 (1041,NULL,NULL),
 (1042,NULL,NULL),
 (1043,NULL,NULL),
 (1044,NULL,NULL),
 (1045,NULL,NULL),
 (1046,NULL,NULL),
 (1047,NULL,NULL),
 (1048,NULL,NULL),
 (1049,NULL,NULL),
 (1050,NULL,NULL),
 (1051,NULL,NULL),
 (1052,NULL,NULL),
 (1053,NULL,NULL),
 (1054,NULL,NULL),
 (1055,NULL,NULL),
 (1056,NULL,NULL),
 (1057,NULL,NULL),
 (1058,NULL,NULL),
 (1059,NULL,NULL),
 (1060,NULL,NULL),
 (1061,NULL,NULL),
 (1062,NULL,NULL),
 (1063,NULL,NULL),
 (1064,NULL,NULL),
 (1065,NULL,NULL),
 (1066,NULL,NULL),
 (1067,NULL,NULL),
 (1068,NULL,NULL),
 (1069,NULL,NULL),
 (1070,NULL,NULL),
 (1071,NULL,NULL),
 (1072,NULL,NULL),
 (1073,NULL,NULL),
 (1074,NULL,NULL),
 (1075,NULL,NULL),
 (1076,NULL,NULL),
 (1077,NULL,NULL),
 (1078,NULL,NULL),
 (1079,NULL,NULL),
 (1080,NULL,NULL),
 (1081,NULL,NULL),
 (1082,NULL,NULL),
 (1083,NULL,NULL),
 (1084,NULL,NULL),
 (1085,NULL,NULL),
 (1086,NULL,NULL),
 (1087,NULL,NULL),
 (1088,NULL,NULL),
 (1089,NULL,NULL),
 (1090,NULL,NULL),
 (1091,NULL,NULL),
 (1092,NULL,NULL),
 (1093,NULL,NULL),
 (1094,NULL,NULL),
 (1095,NULL,NULL),
 (1096,NULL,NULL),
 (1097,NULL,NULL),
 (1098,NULL,NULL),
 (1099,NULL,NULL),
 (1100,NULL,NULL),
 (1101,NULL,NULL),
 (1102,NULL,NULL),
 (1103,NULL,NULL),
 (1104,NULL,NULL),
 (1105,NULL,NULL),
 (1106,NULL,NULL),
 (1107,NULL,NULL),
 (1108,NULL,NULL),
 (1109,NULL,NULL),
 (1110,NULL,NULL),
 (1115,NULL,NULL),
 (1116,NULL,NULL),
 (1117,NULL,NULL),
 (1118,NULL,NULL),
 (1119,NULL,NULL),
 (1120,NULL,NULL),
 (1121,NULL,NULL),
 (1122,NULL,NULL),
 (1123,NULL,NULL),
 (1124,NULL,NULL),
 (1128,NULL,NULL),
 (1129,NULL,NULL),
 (1130,NULL,NULL),
 (1131,NULL,NULL),
 (1141,NULL,NULL),
 (1144,NULL,NULL),
 (1145,NULL,NULL),
 (1146,NULL,NULL),
 (1147,NULL,NULL),
 (1148,NULL,NULL),
 (1149,NULL,NULL),
 (1150,NULL,NULL),
 (1151,NULL,NULL),
 (1152,NULL,NULL),
 (1153,NULL,NULL),
 (1154,NULL,NULL),
 (1155,NULL,NULL),
 (1156,NULL,NULL),
 (1157,NULL,NULL),
 (1158,NULL,NULL),
 (1159,NULL,NULL),
 (1160,NULL,NULL),
 (1162,NULL,NULL),
 (1163,NULL,NULL),
 (1410,NULL,NULL),
 (1412,NULL,NULL),
 (16302,NULL,NULL),
 (16868,NULL,NULL),
 (16870,NULL,NULL),
 (16871,NULL,NULL),
 (17516,NULL,NULL),
 (49268,'M. Duarn','1'),
 (49340,NULL,NULL),
 (49341,NULL,NULL),
 (49342,NULL,NULL),
 (49343,NULL,NULL),
 (49344,NULL,NULL),
 (49345,NULL,NULL);


--
-- Definition of table `preventif_famille`
--

CREATE TABLE `preventif_famille` (
  `fapr_seq` int(11) NOT NULL auto_increment,
  `fapr_typeprev` tinyint(3) unsigned default NULL,
  `fapr_freqval` tinyint(3) unsigned default NULL,
  `fapr_freqtype` tinyint(3) unsigned default NULL,
  `fapr_lundi` tinyint(3) unsigned default NULL,
  `fapr_mardi` tinyint(3) unsigned default NULL,
  `fapr_mercredi` tinyint(3) unsigned default NULL,
  `fapr_jeudi` tinyint(3) unsigned default NULL,
  `fapr_vendredi` tinyint(3) unsigned default NULL,
  `fapr_samedi` tinyint(3) unsigned default NULL,
  `fapr_dimanche` tinyint(3) unsigned default NULL,
  `fapr_feries` tinyint(3) unsigned default NULL,
  `fapr_comptunite` int(11) default NULL,
  `fapr_consignes` text,
  `fapr_stopservic` tinyint(3) unsigned default NULL,
  `fapr_gamadapt` tinyint(3) unsigned default NULL,
  `fapr_fuseffac` tinyint(3) unsigned default NULL,
  `fapr_saison` tinyint(3) unsigned default NULL,
  `fapr_seuilbas` decimal(16,4) default NULL,
  `fapr_seuilhaut` decimal(16,4) default NULL,
  `fapr_urgence` tinyint(3) unsigned default NULL,
  `fapr_progres` tinyint(3) unsigned default NULL,
  `fapr_progprev` tinyint(3) unsigned default NULL,
  `fapr_progreal` tinyint(3) unsigned default NULL,
  `fapr_contenu` text,
  `fapr_per1dat1` datetime default NULL,
  `fapr_per1dat2` datetime default NULL,
  `fapr_per2dat1` datetime default NULL,
  `fapr_per2dat2` datetime default NULL,
  `fapr_dureepres` decimal(16,2) default NULL,
  `fapr_dureejour` tinyint(3) unsigned default NULL,
  `fapr_maint_niveau` tinyint(3) unsigned default NULL,
  `fapr_docu` tinyint(3) unsigned default NULL,
  `fapr_pmes` tinyint(3) unsigned default NULL,
  `fapr_reglementaire` tinyint(3) unsigned default NULL,
  `fapr_verte` tinyint(3) unsigned default NULL,
  `fapr_fame_fk` int(11) default NULL,
  `fapr_game_fk` int(11) default NULL,
  `fapr_tppr_fk` int(11) default NULL,
  `fapr_mpmes_fk` int(11) default NULL,
  `fapr_maj_eqip` tinyint(3) unsigned default NULL,
  `fapr_attribut_orig` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`fapr_seq`),
  KEY `fapr_fame_fk` (`fapr_fame_fk`),
  KEY `fapr_game_fk` (`fapr_game_fk`),
  KEY `fapr_tppr_fk` (`fapr_tppr_fk`),
  KEY `fapr_mpmes_fk` (`fapr_mpmes_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `preventif_famille`
--



--
-- Definition of table `preventif_famille_attr`
--

CREATE TABLE `preventif_famille_attr` (
  `fapr_att_seq` int(16) NOT NULL auto_increment,
  `fapr_att_age` varchar(10) default NULL,
  `fapr_att_pers` varchar(1) default NULL,
  PRIMARY KEY  (`fapr_att_seq`)
) ENGINE=InnoDB AUTO_INCREMENT=211 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `preventif_famille_attr`
--

INSERT INTO `preventif_famille_attr` (`fapr_att_seq`,`fapr_att_age`,`fapr_att_pers`) VALUES 
 (1,NULL,NULL),
 (2,NULL,NULL),
 (3,NULL,NULL),
 (4,NULL,NULL),
 (5,NULL,NULL),
 (6,NULL,NULL),
 (9,NULL,NULL),
 (12,NULL,NULL),
 (16,NULL,NULL),
 (17,NULL,NULL),
 (21,NULL,NULL),
 (22,NULL,NULL),
 (25,NULL,NULL),
 (26,NULL,NULL),
 (47,NULL,NULL),
 (48,NULL,NULL),
 (54,NULL,NULL),
 (56,NULL,NULL),
 (113,NULL,NULL),
 (114,NULL,NULL),
 (115,NULL,NULL),
 (116,NULL,NULL),
 (119,NULL,NULL),
 (122,NULL,NULL),
 (123,NULL,NULL),
 (124,NULL,NULL),
 (126,NULL,NULL),
 (127,NULL,NULL),
 (133,NULL,NULL),
 (134,NULL,NULL),
 (137,NULL,NULL),
 (138,NULL,NULL),
 (139,NULL,NULL),
 (153,NULL,NULL),
 (159,NULL,NULL),
 (160,NULL,NULL),
 (161,NULL,NULL),
 (167,NULL,NULL),
 (176,NULL,NULL),
 (181,NULL,NULL),
 (183,NULL,NULL),
 (184,NULL,NULL),
 (187,NULL,NULL),
 (191,NULL,NULL),
 (192,NULL,NULL),
 (193,NULL,NULL),
 (194,NULL,NULL),
 (195,NULL,NULL),
 (196,NULL,NULL),
 (199,NULL,NULL),
 (200,NULL,NULL),
 (201,NULL,NULL),
 (203,NULL,NULL),
 (204,NULL,NULL),
 (207,NULL,NULL),
 (208,NULL,NULL),
 (209,NULL,NULL),
 (210,NULL,NULL);


--
-- Definition of table `profil`
--

CREATE TABLE `profil` (
  `prof_seq` int(11) NOT NULL auto_increment,
  `prof_code` varchar(15) NOT NULL,
  `prof_libelle` varchar(45) NOT NULL,
  `prof_annuaire` tinyint(4) NOT NULL default '0',
  `prof_accueil` tinyint(4) NOT NULL default '0',
  `prof_sosweb` tinyint(4) NOT NULL default '0',
  `prof_reunion` tinyint(4) NOT NULL default '0',
  `prof_infos` tinyint(4) NOT NULL default '0',
  `prof_services` tinyint(4) NOT NULL default '0',
  `prof_restaurant` tinyint(4) NOT NULL default '0',
  `prof_reporting` tinyint(4) NOT NULL default '0',
  `prof_niv_accueil` tinyint(4) NOT NULL default '1',
  `prof_niv_restaurant` tinyint(4) NOT NULL default '1',
  `prof_niv_reunion` tinyint(1) NOT NULL default '0',
  `prof_niv_infos` tinyint(4) NOT NULL default '1',
  `prof_niv_services` tinyint(4) NOT NULL default '1',
  `prof_niv_annuaire` tinyint(4) NOT NULL default '1',
  `prof_niv_sosweb` tinyint(4) NOT NULL default '0',
  `prof_niv_reporting` tinyint(4) NOT NULL default '0',
  `prof_admin` tinyint(4) NOT NULL default '0',
  `prof_crweb` tinyint(4) NOT NULL default '0',
  `prof_niv_crweb` tinyint(4) NOT NULL default '0',
  `prof_docline` tinyint(4) NOT NULL default '0',
  `prof_niv_docline` tinyint(4) NOT NULL default '0',
  `prof_statistiques` tinyint(4) NOT NULL default '0',
  `prof_niv_statistiques` tinyint(4) NOT NULL default '0',
  `prof_circval` tinyint(4) NOT NULL default '0',
  `prof_niv_circval` tinyint(4) NOT NULL default '0',
  `prof_ddurable` tinyint(4) NOT NULL default '0',
  `prof_niv_ddurable` tinyint(4) NOT NULL default '0',
  `prof_demfourni` tinyint(4) NOT NULL default '0',
  `prof_niv_demfourni` tinyint(4) NOT NULL default '0',
  `prof_aideligne` tinyint(4) NOT NULL default '1',
  `prof_niv_aideligne` tinyint(4) NOT NULL default '0',
  PRIMARY KEY  (`prof_seq`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `profil`
--

INSERT INTO `profil` (`prof_seq`,`prof_code`,`prof_libelle`,`prof_annuaire`,`prof_accueil`,`prof_sosweb`,`prof_reunion`,`prof_infos`,`prof_services`,`prof_restaurant`,`prof_reporting`,`prof_niv_accueil`,`prof_niv_restaurant`,`prof_niv_reunion`,`prof_niv_infos`,`prof_niv_services`,`prof_niv_annuaire`,`prof_niv_sosweb`,`prof_niv_reporting`,`prof_admin`,`prof_crweb`,`prof_niv_crweb`,`prof_docline`,`prof_niv_docline`,`prof_statistiques`,`prof_niv_statistiques`,`prof_circval`,`prof_niv_circval`,`prof_ddurable`,`prof_niv_ddurable`,`prof_demfourni`,`prof_niv_demfourni`,`prof_aideligne`,`prof_niv_aideligne`) VALUES 
 (1,'ADMIN','Administrateur SamFM',0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
 (2,'DEM','Demandeur',0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0);


--
-- Definition of table `projet`
--

CREATE TABLE `projet` (
  `proj_seq` int(11) NOT NULL auto_increment,
  `proj_code` varchar(10) default NULL,
  `proj_libelle` varchar(50) default NULL,
  `proj_objet` text,
  `proj_encours` tinyint(3) unsigned default NULL,
  `proj_historique` text,
  `proj_datedebutp` datetime default NULL,
  `proj_datefinp` datetime default NULL,
  `proj_datedebutr` datetime default NULL,
  `proj_datefinr` datetime default NULL,
  `proj_pcoutinitial` decimal(16,2) default NULL,
  `proj_pcoutrevise` decimal(16,2) default NULL,
  `proj_pcommande` decimal(16,2) default NULL,
  `proj_pheureinterne` int(11) default NULL,
  `proj_pcoutheureinterne` decimal(16,2) default NULL,
  `proj_pcoutbsm` decimal(16,2) default NULL,
  `proj_pcoutdivers` decimal(16,2) default NULL,
  `proj_rcouttotal` decimal(16,2) default NULL,
  `proj_rcommande` decimal(16,2) default NULL,
  `proj_rheureinterne` int(11) default NULL,
  `proj_rcoutheureinterne` decimal(16,2) default NULL,
  `proj_rcoutbsm` decimal(16,2) default NULL,
  `proj_rcoutdivers` decimal(16,2) default NULL,
  `proj_supe_fk` int(11) default NULL,
  `proj_tproj_fk` int(11) default NULL,
  `proj_comment` text,
  `proj_datmaj` datetime default NULL,
  `proj_zus_maj_fk` int(11) default NULL,
  PRIMARY KEY  (`proj_seq`),
  KEY `proj_code` (`proj_code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `projet`
--



--
-- Definition of table `projet_attr`
--

CREATE TABLE `projet_attr` (
  `proj_att_seq` int(16) NOT NULL auto_increment,
  PRIMARY KEY  (`proj_att_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `projet_attr`
--



--
-- Definition of table `rap_genere`
--

CREATE TABLE `rap_genere` (
  `rapg_seq` int(11) NOT NULL auto_increment,
  `rapg_libelle` varchar(30) default NULL,
  `rapg_periode` varchar(30) default NULL,
  `rapg_datecrea` datetime default NULL,
  `rapg_fichier` varchar(255) default NULL,
  `rapg_raps_fk` int(11) default NULL,
  PRIMARY KEY  (`rapg_seq`),
  KEY `rapg_raps_fk` (`rapg_raps_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `rap_genere`
--



--
-- Definition of table `rap_structure`
--

CREATE TABLE `rap_structure` (
  `raps_seq` int(11) NOT NULL auto_increment,
  `raps_libelle` varchar(30) default NULL,
  `raps_description` varchar(255) default NULL,
  `raps_format` varchar(6) default NULL,
  `raps_orientation` varchar(1) default NULL,
  `raps_datecrea` datetime default NULL,
  `raps_datemodif` datetime default NULL,
  `raps_fichier` varchar(36) default NULL,
  `raps_zus_fk` int(11) default NULL,
  PRIMARY KEY  (`raps_seq`),
  KEY `raps_zus_fk` (`raps_zus_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `rap_structure`
--



--
-- Definition of table `releve`
--

CREATE TABLE `releve` (
  `rele_seq` int(11) NOT NULL auto_increment,
  `rele_date` datetime default NULL,
  `rele_valeur` decimal(16,4) default NULL,
  `rele_oper_fk` int(11) default NULL,
  `rele_apmesure` varchar(15) default NULL,
  `rele_pmes_fk` int(11) default NULL,
  `rele_inte_fk` int(11) default NULL,
  `rele_heure` datetime default NULL,
  `rele_comment` varchar(255) default NULL,
  PRIMARY KEY  (`rele_seq`),
  KEY `rele_oper_fk` (`rele_oper_fk`),
  KEY `rele_pmes_fk` (`rele_pmes_fk`),
  KEY `rele_inte_fk` (`rele_inte_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `releve`
--



--
-- Definition of table `resa_materiel`
--

CREATE TABLE `resa_materiel` (
  `rema_seq` int(11) NOT NULL auto_increment,
  `rema_resa_fk` int(11) NOT NULL default '0',
  `rema_mate_fk` int(11) NOT NULL default '0',
  `rema_quantite` int(11) NOT NULL default '0',
  PRIMARY KEY  (`rema_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `resa_materiel`
--



--
-- Definition of table `resa_participant`
--

CREATE TABLE `resa_participant` (
  `repa_seq` int(11) NOT NULL auto_increment,
  `repa_resa_fk` int(11) NOT NULL default '0',
  `repa_cont_fk` int(11) NOT NULL default '0',
  `repa_vst_fk` int(11) NOT NULL default '0',
  `repa_dem_fk` int(11) NOT NULL default '0',
  `repa_sloc_fk` int(11) NOT NULL default '0',
  `repa_civilite` varchar(5) NOT NULL,
  `repa_nom` varchar(25) NOT NULL,
  `repa_prenom` varchar(25) NOT NULL,
  `repa_service` varchar(40) NOT NULL,
  `repa_fonction` varchar(40) NOT NULL,
  `repa_telephone` varchar(18) NOT NULL,
  `repa_email` varchar(45) NOT NULL,
  `repa_role` tinyint(3) default '0',
  PRIMARY KEY  (`repa_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `resa_participant`
--



--
-- Definition of table `resa_presta`
--

CREATE TABLE `resa_presta` (
  `repr_seq` int(11) NOT NULL auto_increment,
  `repr_resa_fk` int(11) NOT NULL default '0',
  `repr_prse_fk` int(11) NOT NULL default '0',
  `repr_quantite` int(11) NOT NULL default '0',
  PRIMARY KEY  (`repr_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `resa_presta`
--



--
-- Definition of table `reservation_salle`
--

CREATE TABLE `reservation_salle` (
  `resa_seq` int(11) NOT NULL auto_increment,
  `resa_libelle` varchar(30) NOT NULL,
  `resa_sreu_fk` int(11) NOT NULL default '0',
  `resa_cfgs_fk` int(11) default NULL,
  `resa_dem_fk` int(11) default NULL,
  `resa_demandeur` varchar(50) NOT NULL,
  `resa_telephone` varchar(15) NOT NULL,
  `resa_email` varchar(45) NOT NULL,
  `resa_sloc_fk` int(11) NOT NULL default '0',
  `resa_date_deb` date NOT NULL default '0000-00-00',
  `resa_date_fin` date default NULL,
  `resa_heure_deb` time NOT NULL default '00:00:00',
  `resa_heure_fin` time NOT NULL default '00:00:00',
  `resa_date_inscri` date NOT NULL default '0000-00-00',
  `resa_heure_inscri` time NOT NULL default '00:00:00',
  `resa_nb_participant` tinyint(5) default NULL,
  `resa_zus_inscri_fk` int(11) NOT NULL default '0',
  `resa_rety_fk` int(11) NOT NULL default '0',
  `resa_vis_fk` int(11) NOT NULL default '0',
  `resa_resa_cycle_fk` int(11) default NULL,
  `resa_resa_pere_fk` int(11) default NULL,
  `resa_etat` int(11) NOT NULL default '0',
  `resa_commentaire` text,
  `resa_code` varchar(11) default NULL,
  `resa_resa_multi_fk` int(11) default NULL,
  PRIMARY KEY  (`resa_seq`),
  UNIQUE KEY `resa_seq` (`resa_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `reservation_salle`
--



--
-- Definition of table `restaurant`
--

CREATE TABLE `restaurant` (
  `rest_seq` int(11) NOT NULL auto_increment,
  `rest_libelle` varchar(80) NOT NULL,
  `rest_description` text NOT NULL,
  `rest_news` text NOT NULL,
  `rest_email` varchar(80) NOT NULL,
  PRIMARY KEY  (`rest_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `restaurant`
--



--
-- Definition of table `resto_menu`
--

CREATE TABLE `resto_menu` (
  `rsmn_seq` int(11) NOT NULL auto_increment,
  `rsmn_rest_fk` int(11) NOT NULL default '0',
  `rsmn_date` date NOT NULL default '0000-00-00',
  `rsmn_ouvert` tinyint(4) NOT NULL default '0',
  `rsmn_entree` text NOT NULL,
  `rsmn_plat` text NOT NULL,
  `rsmn_dessert` text NOT NULL,
  `rsmn_divers` text NOT NULL,
  PRIMARY KEY  (`rsmn_seq`),
  KEY `rsmn_date` (`rsmn_date`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `resto_menu`
--



--
-- Definition of table `reunion_type`
--

CREATE TABLE `reunion_type` (
  `rety_seq` int(11) NOT NULL auto_increment,
  `rety_libelle` varchar(30) NOT NULL,
  `rety_couleur` varchar(10) NOT NULL,
  PRIMARY KEY  (`rety_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `reunion_type`
--



--
-- Definition of table `role`
--

CREATE TABLE `role` (
  `role_seq` int(11) NOT NULL auto_increment,
  `role_zus_fk` int(11) default NULL,
  `role_type` tinyint(3) unsigned default NULL,
  `role_elem_1_fk` int(11) default NULL,
  `role_elem_2_fk` int(11) default NULL,
  `role_en_titre` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`role_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `role`
--



--
-- Definition of table `salle_reunion`
--

CREATE TABLE `salle_reunion` (
  `sreu_seq` int(11) NOT NULL auto_increment,
  `sreu_loca_fk` int(11) NOT NULL default '0',
  `sreu_zone_fk` int(11) NOT NULL default '0',
  `sreu_bat_fk` int(11) NOT NULL default '0',
  `sreu_gsal_fk` int(11) NOT NULL default '0',
  `sreu_sloc_fk` int(11) NOT NULL default '0',
  `sreu_sreu_pere_fk` int(11) NOT NULL default '0',
  `sreu_cfgs_standard_fk` int(11) default NULL,
  `sreu_is_decomp` int(11) NOT NULL default '0',
  `sreu_libelle` varchar(15) NOT NULL,
  `sreu_desc` text NOT NULL,
  `sreu_capacite` int(11) NOT NULL default '0',
  `sreu_ordre` int(11) NOT NULL default '0',
  `sreu_bool_inactive` int(11) NOT NULL default '0',
  PRIMARY KEY  (`sreu_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `salle_reunion`
--



--
-- Definition of table `service`
--

CREATE TABLE `service` (
  `serv_seq` int(11) NOT NULL auto_increment,
  `serv_code` varchar(15) default NULL,
  `serv_libelle` varchar(30) default NULL,
  `serv_afin_fk` int(11) default NULL,
  `serv_crit_fk` int(11) default NULL,
  `serv_niveau` int(11) default NULL,
  `serv_ordre` int(11) default NULL,
  `serv_serv_fk` int(11) default NULL,
  `serv_codeconca` varchar(24) default NULL,
  PRIMARY KEY  (`serv_seq`),
  KEY `serv_code` (`serv_code`),
  KEY `serv_libelle` (`serv_libelle`),
  KEY `serv_afin_fk` (`serv_afin_fk`),
  KEY `serv_crit_fk` (`serv_crit_fk`),
  KEY `serv_crit_fk_2` (`serv_crit_fk`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `service`
--

INSERT INTO `service` (`serv_seq`,`serv_code`,`serv_libelle`,`serv_afin_fk`,`serv_crit_fk`,`serv_niveau`,`serv_ordre`,`serv_serv_fk`,`serv_codeconca`) VALUES 
 (1,'ALTYS','ALTYS',NULL,NULL,1,NULL,NULL,'ALTYS'),
 (2,'SODEXO','SODEXO',NULL,NULL,1,NULL,NULL,'SODEXO'),
 (3,'SA','Site Alpha',NULL,NULL,1,NULL,NULL,'SA');


--
-- Definition of table `service_attr`
--

CREATE TABLE `service_attr` (
  `serv_att_seq` int(16) NOT NULL auto_increment,
  PRIMARY KEY  (`serv_att_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `service_attr`
--



--
-- Definition of table `service_plus`
--

CREATE TABLE `service_plus` (
  `servp_seq` int(11) NOT NULL auto_increment,
  `servp_libelle` varchar(80) NOT NULL,
  `servp_url` varchar(250) NOT NULL,
  `servp_date` date NOT NULL default '0000-00-00',
  `servp_cookieNom` varchar(20) default NULL,
  `servp_cookieValeur` text,
  `servp_cookieExpire` int(11) default NULL,
  `servp_ordre` int(3) default '0',
  PRIMARY KEY  (`servp_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `service_plus`
--



--
-- Definition of table `service_tmp_sfm`
--

CREATE TABLE `service_tmp_sfm` (
  `slts_seq` int(11) NOT NULL default '0',
  `slts_sloc_fk` int(11) NOT NULL default '0',
  `slts_sfm_sess_id` varchar(40) default NULL,
  `slts_time` datetime default NULL,
  `slts_db_action` char(3) default NULL,
  PRIMARY KEY  (`slts_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `service_tmp_sfm`
--



--
-- Definition of table `servicelocaux`
--

CREATE TABLE `servicelocaux` (
  `sloc_seq` int(11) NOT NULL default '0',
  `sloc_code` varchar(8) NOT NULL,
  `sloc_libelle` varchar(30) NOT NULL,
  `sloc_dotation_initiale` decimal(13,2) default NULL,
  `sloc_dotation_initiale2` decimal(13,2) default NULL,
  `sloc_dotation_consommee` decimal(13,2) default NULL,
  `sloc_dotation_consommee2` decimal(13,2) default NULL,
  UNIQUE KEY `SLOC_SEQ` (`sloc_seq`),
  KEY `SLOC_CODE` (`sloc_code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `servicelocaux`
--



--
-- Definition of table `site`
--

CREATE TABLE `site` (
  `sit_seq` int(11) NOT NULL auto_increment,
  `sit_code` varchar(8) default NULL,
  `sit_libelle` varchar(35) default NULL,
  `sit_prefixe` varchar(4) default NULL,
  `sit_num_debut` int(11) default NULL,
  `sit_num_ordre` int(3) default NULL,
  `sit_moper_relev` tinyint(3) unsigned default NULL,
  `sit_mdata_stat` tinyint(3) unsigned default NULL,
  `sit_mstock` tinyint(3) unsigned default NULL,
  `sit_prefichemis` varchar(4) default NULL,
  `sit_numordfichemis` int(11) default NULL,
  `sit_pathfichemis` text,
  `sit_prefichrecep` varchar(4) default NULL,
  `sit_numordfichrecep` int(11) default NULL,
  `sit_pathfichrecep` text,
  `sit_datedebemis` date default NULL,
  `sit_heureemis` time default NULL,
  `sit_datdebrecep` date default NULL,
  `sit_heurerecep` time default NULL,
  `sit_balemis` varchar(15) default NULL,
  `sit_connexemis` varchar(15) default NULL,
  `sit_balrecep` varchar(15) default NULL,
  `sit_connexrecep` varchar(15) default NULL,
  `sit_datprocemis` datetime default NULL,
  `sit_datprocrecep` datetime default NULL,
  `sit_typ_nordre` tinyint(3) unsigned default NULL,
  `sit_surface_totale` decimal(16,2) default NULL,
  `sit_modtotal` tinyint(3) unsigned default NULL,
  `sit_surface_utile` decimal(16,2) default NULL,
  `sit_modutile` tinyint(3) unsigned default NULL,
  `sit_adr1` varchar(45) default NULL,
  `sit_adr2` varchar(45) default NULL,
  `sit_cp` varchar(6) default NULL,
  `sit_ville` varchar(25) default NULL,
  `sit_region` varchar(25) default NULL,
  `sit_pays` varchar(25) default NULL,
  `sit_blocnote` text,
  `sit_mast_fk` int(11) default NULL,
  `sit_communaute` tinyint(3) unsigned default NULL,
  `sit_ctra_fk` int(11) default NULL,
  `sit_crit_fk` int(11) default NULL,
  `sit_afin_fk` int(11) default NULL,
  `sit_nb_usgr` int(11) default NULL,
  `sit_modusager` tinyint(3) unsigned default NULL,
  `sit_affect_dom` tinyint(3) unsigned default NULL,
  `sit_tppr_fk` int(11) default NULL,
  `sit_maint_niveau` tinyint(3) unsigned default NULL,
  `sit_datmaj` datetime default NULL,
  `sit_zus_maj_fk` int(11) default NULL,
  PRIMARY KEY  (`sit_seq`),
  KEY `sat_code` (`sit_code`),
  KEY `sat_libelle` (`sit_libelle`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `site`
--

INSERT INTO `site` (`sit_seq`,`sit_code`,`sit_libelle`,`sit_prefixe`,`sit_num_debut`,`sit_num_ordre`,`sit_moper_relev`,`sit_mdata_stat`,`sit_mstock`,`sit_prefichemis`,`sit_numordfichemis`,`sit_pathfichemis`,`sit_prefichrecep`,`sit_numordfichrecep`,`sit_pathfichrecep`,`sit_datedebemis`,`sit_heureemis`,`sit_datdebrecep`,`sit_heurerecep`,`sit_balemis`,`sit_connexemis`,`sit_balrecep`,`sit_connexrecep`,`sit_datprocemis`,`sit_datprocrecep`,`sit_typ_nordre`,`sit_surface_totale`,`sit_modtotal`,`sit_surface_utile`,`sit_modutile`,`sit_adr1`,`sit_adr2`,`sit_cp`,`sit_ville`,`sit_region`,`sit_pays`,`sit_blocnote`,`sit_mast_fk`,`sit_communaute`,`sit_ctra_fk`,`sit_crit_fk`,`sit_afin_fk`,`sit_nb_usgr`,`sit_modusager`,`sit_affect_dom`,`sit_tppr_fk`,`sit_maint_niveau`,`sit_datmaj`,`sit_zus_maj_fk`) VALUES 
 (1,'SANOFI C','Sanofi pasteur Lyon Confluent',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `site_attr`
--

CREATE TABLE `site_attr` (
  `sit_att_seq` int(16) NOT NULL auto_increment,
  PRIMARY KEY  (`sit_att_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `site_attr`
--



--
-- Definition of table `specialite`
--

CREATE TABLE `specialite` (
  `spec_seq` int(11) NOT NULL auto_increment,
  `spec_code` varchar(20) default NULL,
  PRIMARY KEY  (`spec_seq`),
  KEY `spec_code` (`spec_code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `specialite`
--



--
-- Definition of table `stat_log_module`
--

CREATE TABLE `stat_log_module` (
  `slm_seq` int(11) NOT NULL auto_increment,
  `slm_zus_fk` int(11) NOT NULL default '0',
  `slm_slp_fk` int(11) NOT NULL default '0',
  `slm_module` varchar(20) default NULL,
  `slm_date` date NOT NULL default '0000-00-00',
  `slm_time` time NOT NULL default '00:00:00',
  PRIMARY KEY  (`slm_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stat_log_module`
--



--
-- Definition of table `stat_log_portail`
--

CREATE TABLE `stat_log_portail` (
  `slp_seq` int(11) NOT NULL auto_increment,
  `slp_zus_fk` int(11) NOT NULL default '0',
  `slp_date` date NOT NULL default '0000-00-00',
  `slp_time` time NOT NULL default '00:00:00',
  PRIMARY KEY  (`slp_seq`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stat_log_portail`
--

INSERT INTO `stat_log_portail` (`slp_seq`,`slp_zus_fk`,`slp_date`,`slp_time`) VALUES 
 (1,2,'2009-11-16','17:03:34'),
 (2,1,'2009-11-16','17:04:00'),
 (3,2,'2009-11-16','17:04:26'),
 (4,1,'2009-11-16','17:05:24');


--
-- Definition of table `statut_equip`
--

CREATE TABLE `statut_equip` (
  `steq_seq` int(11) NOT NULL auto_increment,
  `steq_code` varchar(4) default NULL,
  `steq_libelle` varchar(15) default NULL,
  `steq_numero_ordre` int(10) unsigned NOT NULL default '0',
  `steq_actif` tinyint(3) unsigned default NULL,
  PRIMARY KEY  (`steq_seq`),
  KEY `steq_code` (`steq_code`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `statut_equip`
--

INSERT INTO `statut_equip` (`steq_seq`,`steq_code`,`steq_libelle`,`steq_numero_ordre`,`steq_actif`) VALUES 
 (1,'NEUF','Neuf',1,1);


--
-- Definition of table `superviseur`
--

CREATE TABLE `superviseur` (
  `supe_seq` int(11) NOT NULL auto_increment,
  `supe_code` varchar(6) default NULL,
  `supe_libelle` varchar(20) default NULL,
  `supe_operation` tinyint(3) unsigned default NULL,
  `supe_commande` tinyint(3) unsigned default NULL,
  `supe_email` varchar(45) default NULL,
  `supe_age_fk` int(11) default NULL,
  `supe_gst_type` tinyint(3) unsigned default NULL,
  `supe_gst_nbjour` int(11) default NULL,
  `supe_actif` tinyint(3) unsigned default NULL,
  `supe_zus_maj_fk` int(11) default NULL,
  `supe_datmaj` datetime default NULL,
  PRIMARY KEY  (`supe_seq`),
  KEY `supe_code` (`supe_code`),
  KEY `supe_libelle` (`supe_libelle`),
  KEY `supe_age_fk` (`supe_age_fk`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `superviseur`
--

INSERT INTO `superviseur` (`supe_seq`,`supe_code`,`supe_libelle`,`supe_operation`,`supe_commande`,`supe_email`,`supe_age_fk`,`supe_gst_type`,`supe_gst_nbjour`,`supe_actif`,`supe_zus_maj_fk`,`supe_datmaj`) VALUES 
 (1,'RS','Resp de site',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),
 (2,'RO','Resp d\'opération',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),
 (3,'RA','Resp d\'Affaire',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL),
 (4,'RG','Resp de groupe',NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL);


--
-- Definition of table `surdomaine`
--

CREATE TABLE `surdomaine` (
  `sdom_seq` int(11) NOT NULL auto_increment,
  `sdom_libelle` varchar(15) default NULL,
  `sdom_desc` varchar(200) default NULL,
  `sdom_icone_chemin` varchar(100) default NULL,
  `sdom_ordre` int(11) default NULL,
  `sdom_form_fk` int(11) default NULL,
  PRIMARY KEY  (`sdom_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `surdomaine`
--



--
-- Definition of table `surdomaine_mlg`
--

CREATE TABLE `surdomaine_mlg` (
  `sdom_mlg_seq` int(11) NOT NULL default '0',
  `sdom_mlg_libelle` varchar(15) default NULL,
  PRIMARY KEY  (`sdom_mlg_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `surdomaine_mlg`
--



--
-- Definition of table `surdomaine_pref`
--

CREATE TABLE `surdomaine_pref` (
  `sdpr_seq` int(11) NOT NULL auto_increment,
  `sdpr_sdom_fk` int(11) NOT NULL default '0',
  `sdpr_masque_localisation` tinyint(5) default NULL,
  `sdpr_masque_detail` tinyint(5) default NULL,
  `sdpr_joindre_doc` tinyint(5) NOT NULL default '0',
  `sdpr_affiche_attribut` tinyint(5) default NULL,
  `sdpr_type_attribut` varchar(10) default NULL,
  `sdpr_form_specif` tinyint(4) NOT NULL default '0',
  `sdpr_pref_specif_fk` int(11) default '0',
  PRIMARY KEY  (`sdpr_seq`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `surdomaine_pref`
--



--
-- Definition of table `t_fparam_1`
--

CREATE TABLE `t_fparam_1` (
  `PREF_SEQ` int(11) NOT NULL auto_increment,
  `PREF_TITRE` varchar(30) default NULL,
  `PREF_NOMBRE` int(16) default NULL,
  `PREF_EXERCICE` date default NULL,
  `PREF_NBJOUR` int(3) default NULL,
  `PREF_PERIODE` int(3) default NULL,
  `PREF_HT_TTC` int(1) default NULL,
  `PREF_LICENCE` varchar(30) default NULL,
  `PREF_AN_INITIALE` date default NULL,
  `PREF_AN_PARDEFAUT` date default NULL,
  `PREF_GRPETABLIS` varchar(15) default NULL,
  `PREF_SURFACE1` varchar(15) default NULL,
  `PREF_SURFACE2` varchar(15) default NULL,
  `PREF_LOCAL1` varchar(20) default NULL,
  `PREF_LOCAL2` varchar(20) default NULL,
  `PREF_LOCAL3` varchar(20) default NULL,
  `PREF_LOCAL4` varchar(20) default NULL,
  `PREF_GRPLOCAUX` varchar(15) default NULL,
  `PREF_EAVDERMAJ` date default NULL,
  `PREF_LICENCIE` varchar(45) default NULL,
  `PREF_TOUCHE` char(1) default NULL,
  `PREF_ETABLIS` varchar(6) default NULL,
  `PREF_AUTOCODIF` int(1) default NULL,
  `PREF_PRONUMCDE` int(16) default NULL,
  `PREF_TYPE` varchar(20) default NULL,
  `PREF_EQUIP_RUB1` varchar(15) default NULL,
  `PREF_EQUIP_RUB2` varchar(15) default NULL,
  `PREF_DIAGRAM` char(1) default NULL,
  `PREF_T1TVA` decimal(9,2) default NULL,
  `PREF_T2TVA` decimal(9,2) default NULL,
  `PREF_T3TVA` decimal(9,2) default NULL,
  `PREF_FOUR_RUB1` varchar(15) default NULL,
  `PREF_FOUR_RUB2` varchar(15) default NULL,
  `PREF_BIPRELIE` int(1) default NULL,
  `PREF_BIPCANAL` varchar(5) default NULL,
  `PREF_CDE_NBCOPIE` int(3) default NULL,
  `PREF_VERSION` varchar(7) default NULL,
  `PREF_MDP_GESCLEF` varchar(15) default NULL,
  `PREF_UT1` varchar(170) default NULL,
  `PREF_UT2` varchar(170) default NULL,
  `PREF_UT3` varchar(170) default NULL,
  `PREF_UT4` varchar(170) default NULL,
  `PREF_UT5` varchar(170) default NULL,
  `PREF_UT6` varchar(170) default NULL,
  `PREF_UT7` varchar(170) default NULL,
  `PREF_UT8` varchar(170) default NULL,
  `PREF_FOUR_RUB3` varchar(15) default NULL,
  `PREF_FOUR_RUB4` varchar(15) default NULL,
  `PREF_EQUIP_CODE1` varchar(15) default NULL,
  `PREF_EQUIP_CODE2` varchar(15) default NULL,
  `PREF_EQUIP_CODE3` varchar(15) default NULL,
  `PREF_ARTI_RUB1` varchar(15) default NULL,
  `PREF_ARTI_RUB2` varchar(15) default NULL,
  `PREF_BSM` int(1) default NULL,
  `PREF_BRM` int(1) default NULL,
  `PREF_IMP_FORMAT` int(1) default NULL,
  `PREF_EQUIP_DETAIL` int(1) default NULL,
  `PREF_EQUIP_DECOMP` int(1) default NULL,
  `PREF_EQUIP_STD` int(1) default NULL,
  `PREF_EQUIP_AMOAVA` int(1) default NULL,
  `PREF_EQUIP_DESSERT` int(1) default NULL,
  `PREF_EQUIP_OPERAT` int(1) default NULL,
  `PREF_OT_NBCOPIE` int(3) default NULL,
  `PREF_OT_TYPE` char(1) default NULL,
  `PREF_OT_EQUIP` int(1) default NULL,
  `PREF_OT_DETAIL` int(1) default NULL,
  `PREF_OT_DECOMP` int(1) default NULL,
  `PREF_OT_STD` int(1) default NULL,
  `PREF_OT_AMOAVA` int(1) default NULL,
  `PREF_OT_DB` varchar(20) default NULL,
  `PREF_OT_P1` varchar(20) default NULL,
  `PREF_OT_P2` varchar(20) default NULL,
  `PREF_OT_P3` varchar(20) default NULL,
  `PREF_OT_DOC` int(1) default NULL,
  `PREF_MAJPROGMAST` int(1) default NULL,
  `PREF_NBCARDETAIL` int(11) default NULL,
  `PREF_NBCRDETAIL` int(11) default NULL,
  `PREF_OT_GRAPH` varchar(20) default NULL,
  `PREF_COMP_RUB1` varchar(15) default NULL,
  `PREF_COMP_RUB2` varchar(15) default NULL,
  `PREF_GARANTIE` int(3) default NULL,
  `PREF_BSM_SUR_OT` int(1) default NULL,
  `PREF_BSMOT_AUTO` int(1) default NULL,
  `PREF_BSMOT_MAGREF` varchar(6) default NULL,
  `PREF_BSMOT_MAGDEF` varchar(6) default NULL,
  `PREF_NB_JOUR_OT` int(11) default NULL,
  `PREF_DOC_RUB1` varchar(15) default NULL,
  `PREF_DOC_RUB2` varchar(15) default NULL,
  `PREF_DOC_RUB3` varchar(15) default NULL,
  `PREF_OT_IMAGE` int(1) default NULL,
  `PREF_OT_IMAPRE1` varchar(6) default NULL,
  `PREF_OT_IMASUF` char(3) default NULL,
  `PREF_OT_SON` int(1) default NULL,
  `PREF_OT_SNDPRE1` varchar(6) default NULL,
  `PREF_OT_SNDSUF` char(3) default NULL,
  `PREF_OT_VIDEO` int(1) default NULL,
  `PREF_OT_VIDPRE1` varchar(6) default NULL,
  `PREF_OT_VIDSUF` char(3) default NULL,
  `PREF_ARMOIRE_MULTIMEDIA` text,
  `PREF_OT_IMAPRE2` varchar(6) default NULL,
  `PREF_OT_SNDPRE2` varchar(6) default NULL,
  `PREF_OT_VIDPRE2` varchar(6) default NULL,
  `PREF_OT_PLAN` int(1) default NULL,
  `PREF_OT_PLAPRE1` varchar(6) default NULL,
  `PREF_OT_PLAPRE2` varchar(6) default NULL,
  `PREF_OT_PLASUF` char(3) default NULL,
  `PREF_OT_DOCAUTO` int(1) default NULL,
  `PREF_OPE_CALTRA` int(1) default NULL,
  `PREF_OPE_CRPREC` int(1) default NULL,
  `PREF_OPE_RUB1` varchar(15) default NULL,
  `PREF_OPE_RUB2` varchar(15) default NULL,
  `PREF_CPTMES_AP` varchar(15) default NULL,
  `PREF_CPTMES_TOLER` int(1) default NULL,
  `PREF_CPTMES_COHER` int(1) default NULL,
  `PREF_BLOC_DIFFERENCIE` int(1) default NULL,
  `PREF_BLOC_CONTENU` int(1) default NULL,
  `PREF_BLOC_DURPREST` int(1) default NULL,
  `PREF_BLOC_DURGLOBAL` int(1) default NULL,
  `PREF_BLOC_TRAVSUP` int(1) default NULL,
  `PREF_BLOC_CREASUP` int(1) default NULL,
  `PREF_BLOC_FREQ` int(1) default NULL,
  `PREF_BLOC_MODE` int(1) default NULL,
  `PREF_BLOC_SAISON` int(1) default NULL,
  `PREF_BLOC_FUSEFA` int(1) default NULL,
  `PREF_BLOC_DOC` int(1) default NULL,
  `PREF_PCENTCPT` int(3) default NULL,
  `PREF_NEWDISOS` int(1) default NULL,
  `PREF_FREQ_NEWDISOS` int(11) default NULL,
  `PREF_OPE_INDICHEURE` int(1) default NULL,
  `PREF_MAJ_CALTRA` int(1) default NULL,
  `PREF_OT_IMATYP` varchar(8) default NULL,
  `PREF_OT_SNDTYP` varchar(8) default NULL,
  `PREF_OT_VIDTYP` varchar(8) default NULL,
  `PREF_PEC_CONSIGNE` int(1) default NULL,
  `PREF_BAT_RUB1` varchar(15) default NULL,
  `PREF_BAT_RUB2` varchar(15) default NULL,
  `PREF_BAT_RUB3` varchar(15) default NULL,
  `PREF_BAT_UNITESURF1` varchar(5) default NULL,
  `PREF_DEM_RUB1` varchar(15) default NULL,
  `PREF_DEM_RUB2` varchar(15) default NULL,
  `PREF_DEM_RUB3` varchar(15) default NULL,
  `PREF_SAT_CODE` varchar(4) default NULL,
  `PREF_SAT_CODEL` varchar(15) default NULL,
  `PREF_TYP_CODIF` int(3) default NULL,
  `PREF_TC1_PREFIXE` varchar(4) default NULL,
  `PREF_TC1_NUMORDRE` int(11) default NULL,
  `PREF_TC1_JUSTIF` int(3) default NULL,
  `PREF_TC2_UNIQUE` int(1) default NULL,
  `PREF_TC2_PREFIXE` varchar(4) default NULL,
  `PREF_TC2_NUMORDRE` int(11) default NULL,
  `PREF_TC2_JUSTIF` int(3) default NULL,
  `PREF_TYP_NORDRE` int(3) default NULL,
  `PREF_CONTACT_RUB1` varchar(15) default NULL,
  `PREF_CONTACT_RUB2` varchar(15) default NULL,
  `PREF_CONTACT_RUB3` varchar(15) default NULL,
  `PREF_CONTACT_RUB4` varchar(15) default NULL,
  `PREF_CONTACT_RUB5` varchar(15) default NULL,
  `PREF_CONTACT_RUB6` varchar(15) default NULL,
  `PREF_DEV1_SIGLE` char(2) default NULL,
  `PREF_DEV1_LIBEL` varchar(15) default NULL,
  `PREF_DEV2_SIGLE` char(2) default NULL,
  `PREF_DEV2_LIBEL` varchar(15) default NULL,
  `PREF_TXCONV` decimal(15,5) default NULL,
  `PREF_DBLDEVISE` int(1) default NULL,
  `PREF_DEVISE` int(1) default NULL,
  `PREF_ACQUITTEMENT` int(1) default NULL,
  `PREF_ACQUIT_OPE` int(1) default NULL,
  `PREF_EQUIP_BIP` varchar(4) default NULL,
  `PREF_PATHEMISPSION` text,
  `PREF_PATHRECEPSION` text,
  `PREF_PATHCOMPSION` text,
  `PREF_EQUIP_SOS` varchar(4) default NULL,
  `PREF_TOPE_SOS` char(2) default NULL,
  `PREF_OPE_GLOBAL` int(1) default NULL,
  `PREF_OPE_LMESSAGE` int(1) default NULL,
  `PREF_MAJACTIF_CONTENU` int(1) default NULL,
  `PREF_MAJACTIF_CONSIPARTI` int(1) default NULL,
  `PREF_MAJACTIF_DUREEPREVIS` int(1) default NULL,
  `PREF_MAJACTIF_AFFAIRE` int(1) default NULL,
  `PREF_MAJACTIF_EQUIPTRAV` int(1) default NULL,
  `PREF_MAJACTIF_FOURNIT` int(1) default NULL,
  `PREF_MAJACTIF_MESCPT` int(1) default NULL,
  `PREF_PROC_ANNULEE` int(1) default NULL,
  `PREF_PA_SUPERVISION` int(1) default NULL,
  `PREF_PA_ARCHIVAGE` int(1) default NULL,
  `PREF_PA_RECONDUCTION` int(1) default NULL,
  `PREF_PUBLIC_DATA` int(1) default NULL,
  `PREF_SAT_ITEM1` varchar(10) default NULL,
  `PREF_SAT_ITEM2` varchar(10) default NULL,
  `PREF_SAT_ITEM3` varchar(25) default NULL,
  `PREF_SAT_ITEM4` varchar(25) default NULL,
  `PREF_PRONUMCGDE` int(11) default NULL,
  `PREF_PREFIXCGDE` varchar(4) default NULL,
  `PREF_PRONUMCGAT` int(11) default NULL,
  `PREF_CONSIGNATION` int(1) default NULL,
  `PREF_CGDE_LSTEQUIP` int(1) default NULL,
  `PREF_CGDE_LSTLOCAUX` int(1) default NULL,
  `PREF_CGDE_LSTSERVICES` int(1) default NULL,
  `PREF_CGDE` varchar(30) default NULL,
  `PREF_CGDE_NBJOUR` int(3) default NULL,
  `PREF_ENVOI_SMS` int(1) default NULL,
  `PREF_ACCUS_SMS` int(1) default NULL,
  `PREF_RETOUR_SMS` int(1) default NULL,
  `PREF_CR_SMS` int(1) default NULL,
  `PREF_RETOUR1` int(1) default NULL,
  `PREF_RETOUR2` int(1) default NULL,
  `PREF_RETOUR3` int(1) default NULL,
  `PREF_RETOUR4` int(1) default NULL,
  `PREF_ENVSMS_MSG` text,
  `PREF_RET1SMS_MSG` text,
  `PREF_RET2SMS_MSG` text,
  `PREF_RET3SMS_MSG` text,
  `PREF_RET4SMS_MSG` text,
  `PREF_PATHEMIS_SMS` text,
  `PREF_PATHRECEP_SMS` text,
  `PREF_NEWDIWEB` int(1) default NULL,
  `PREF_FREQ_NEWMSGSMS` int(11) default NULL,
  `PREF_PRONUMCGATT` int(11) default NULL,
  `PREF_PREFIXCGATT` varchar(4) default NULL,
  `PREF_CG_FICHE_PATH` text,
  `PREF_CG_FICHE_EXCEL` int(1) default NULL,
  `PREF_PATHIDENT_SMS` text,
  `PREF_ACQUI_SMS_INFO` int(1) default NULL,
  `PREF_ACQSMSINF_MSG` text,
  `PREF_ACQUI_SMS_REFUS` varchar(10) default NULL,
  `PREF_FLAGRECEP_SMS` int(1) default NULL,
  `PREF_TEMPO_SMS` int(16) default NULL,
  `PREF_CGDE_CTRL` varchar(25) default NULL,
  `PREF_CGDE_POLE` varchar(25) default NULL,
  `PREF_FUSEFFAC` int(1) default NULL,
  `PREF_FUSEFFAC_TYPE` int(1) default NULL,
  `PREF_FUSEFFAC_POURCENT` int(3) default NULL,
  `PREF_PDA_PATHDATA` text,
  `PREF_PDA_OA_TLJ` int(1) default NULL,
  `PREF_ACQUIT_OPE_CRDIRECT` int(1) default NULL,
  `PREF_NOMBASESMS` varchar(30) default NULL,
  `PREF_PDA_DS_TLJ` int(1) default NULL,
  `PREF_EMAIL_ENVOIE1` int(1) default NULL,
  `PREF_EMAIL_ENVOIE2` int(1) default NULL,
  `PREF_EMAIL_ENVOIE3` int(1) default NULL,
  `PREF_EMAIL_ENVOIE4` int(1) default NULL,
  `PREF_EMAIL_NOMFROM` varchar(40) default NULL,
  `PREF_EMAIL_ADRFROM` varchar(45) default NULL,
  `PREF_EMAIL_POP3` varchar(40) default NULL,
  `PREF_EMAIL_SMTP` varchar(40) default NULL,
  `PREF_EMAIL_DESTDMD1` int(1) default NULL,
  `PREF_EMAIL_DESTTRAV1` int(1) default NULL,
  `PREF_EMAIL_DESTSUP1` int(1) default NULL,
  `PREF_EMAIL_DESTFIXE1` int(1) default NULL,
  `PREF_EMAIL_DESTDMD2` int(1) default NULL,
  `PREF_EMAIL_DESTTRAV2` int(1) default NULL,
  `PREF_EMAIL_DESTSUP2` int(1) default NULL,
  `PREF_EMAIL_DESTFIXE2` int(1) default NULL,
  `PREF_EMAIL_DESTDMD3` int(1) default NULL,
  `PREF_EMAIL_DESTTRAV3` int(1) default NULL,
  `PREF_EMAIL_DESTSUP3` int(1) default NULL,
  `PREF_EMAIL_DESTFIXE3` int(1) default NULL,
  `PREF_EMAIL_DESTDMD4` int(1) default NULL,
  `PREF_EMAIL_DESTTRAV4` int(1) default NULL,
  `PREF_EMAIL_DESTSUP4` int(1) default NULL,
  `PREF_EMAIL_DESTFIXE4` int(1) default NULL,
  `PREF_EMAIL_FIXE1` varchar(45) default NULL,
  `PREF_EMAIL_FIXE2` varchar(45) default NULL,
  `PREF_EMAIL_FIXE3` varchar(45) default NULL,
  `PREF_EMAIL_FIXE4` varchar(45) default NULL,
  `PREF_LST1_EMT_SEQ` text,
  `PREF_LST2_EMT_SEQ` text,
  `PREF_LST3_EMT_SEQ` text,
  `PREF_LST4_EMT_SEQ` text,
  `PREF_CONFIRM1` int(1) default NULL,
  `PREF_CONFIRM2` int(1) default NULL,
  `PREF_CONFIRM3` int(1) default NULL,
  `PREF_CONFIRM4` int(1) default NULL,
  `PREF_PATHRECEP_EMAIL` text,
  `PREF_PROFIL_MSG_INTERNE` varchar(45) default NULL,
  `PREF_PROFIL_MDP` varchar(15) default NULL,
  `PREF_TYP_SERVER` int(3) default NULL,
  `PREF_EQUIP_SEL_LOC` int(1) default NULL,
  `PREF_EQUIP_SEL_TYP` int(3) default NULL,
  `PREF_DEMANDEUR` char(1) default NULL,
  `PREF_DECOMP_AUTO` int(1) default NULL,
  `PREF_DECOMP_CONFIRM` int(1) default NULL,
  `PREF_PDA_OA_XJOUR` int(11) default NULL,
  `PREF_PDA_DS_XJOUR` int(11) default NULL,
  `PREF_PDA_OA_DERSYNC` date default NULL,
  `PREF_PDA_DS_DERSYNC` date default NULL,
  `PREF_PDA_OA_PROSYNC` date default NULL,
  `PREF_PDA_DS_PROSYNC` date default NULL,
  `PREF_PDA_PAR_DERSYNC` date default NULL,
  `PREF_DEM_MODE` int(3) default NULL,
  `PREF_DIEXT_PATHDATA` text,
  `PREF_DIEXT_PATHPOUB` text,
  `PREF_FREQ_NEWDIEXT` int(11) default NULL,
  `PREF_ADRLIV_GLOBAL` int(1) default NULL,
  `PREF_ADRLIV_DEF` varchar(10) default NULL,
  `PREF_BKP_HEURE` date default NULL,
  `PREF_BKP_DUREE` int(11) default NULL,
  `PREF_BKP_PERIOTYP` char(1) default NULL,
  `PREF_BKP_PERIOJOUR` int(3) default NULL,
  `PREF_BKP_DATEDEB` date default NULL,
  `PREF_BKP_DATEPRO` date default NULL,
  `PREF_BKP_PATHFIC` text,
  `PREF_BKP_IO` int(1) default NULL,
  `PREF_EQUIP_SEL_UNIC` int(1) default NULL,
  `PREF_TRN_ANN` int(3) default NULL,
  `PREF_TRN_SUP` int(3) default NULL,
  `PREF_TRN_FAIT_VISIB` int(1) default NULL,
  `PREF_TRN_OK_VISIB` int(1) default NULL,
  `PREF_TRN_P_VISIB` varchar(10) default NULL,
  `PREF_TRN_N_VISIB` varchar(10) default NULL,
  `PREF_TRN_CM_VISIB` varchar(10) default NULL,
  `PREF_TRN_F_VISIB` varchar(10) default NULL,
  `PREF_TRN_L_VISIB` varchar(10) default NULL,
  `PREF_REGRP_CRTRN` int(3) default NULL,
  `PREF_REGRP_CRMD_OPER` int(3) default NULL,
  `PREF_REGRP_CRMD_OPER_CONF` int(3) default NULL,
  `PREF_TRN_TPP_DEF` int(3) default NULL,
  `PREF_TRN_TPR_DEF` int(3) default NULL,
  `PREF_ELEM_CONCERN_OBLIG` int(1) default NULL,
  `PREF_OPER_RETARD_COL_TXT` int(11) default NULL,
  `PREF_OPER_RETARD_COL_BCKGD` int(11) default NULL,
  `PREF_OPER_REFUS_COL_TXT` int(11) default NULL,
  `PREF_OPER_REFUS_COL_BCKGD` int(11) default NULL,
  `PREF_OPER_RELANCE_COL_TXT` int(11) default NULL,
  `PREF_OPER_RELANCE_COL_BCKGD` int(11) default NULL,
  `PREF_COM_RUB1` varchar(15) default NULL,
  `PREF_COM_RUB2` varchar(15) default NULL,
  `PREF_PRNTRN_LST_DET` int(1) default NULL,
  `PREF_PRNTRN_LST_AVEC_DET` int(3) default NULL,
  `PREF_PRNTRN_AVEC_OT_SEP` int(1) default NULL,
  `PREF_OT_TYPE_TRN` char(1) default NULL,
  `PREF_OT_EQUIP_TRN` int(1) default NULL,
  `PREF_OT_DETAIL_TRN` int(1) default NULL,
  `PREF_OT_DECOMP_TRN` int(1) default NULL,
  `PREF_OT_STD_TRN` int(1) default NULL,
  `PREF_OT_AMOAVA_TRN` int(1) default NULL,
  `PREF_OT_DOC_TRN` int(1) default NULL,
  `PREF_UPD_ET_PREVEQUIP` int(3) default NULL,
  `PREF_PRNTRN_REP_TR` int(1) default NULL,
  `PREF_PALM_SYNC_ACTIVE` int(1) default NULL,
  `PREF_REPORTING_PARAMETRED` int(1) default NULL,
  `PREF_CPT_MES_INTERF` int(3) default NULL,
  PRIMARY KEY  (`PREF_SEQ`),
  KEY `PREF_TITRE` (`PREF_TITRE`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `t_fparam_1`
--



--
-- Definition of table `t_fparam_3`
--

CREATE TABLE `t_fparam_3` (
  `PREF2_SEQ` int(11) NOT NULL auto_increment,
  `PREF2_SOSM_SET_DFP` int(1) default NULL,
  `PREF2_DUREEPRESP_VISIB` int(1) default NULL,
  `PREF2_CR_DIR_INDIC_CODE` int(1) default NULL,
  `PREF2_CLIENT_TIMEZONE_FK` int(11) default NULL,
  `PREF2_SERVER_TIMEZONE_FK` int(11) default NULL,
  `PREF2_MANAGE_TIMEZONE` int(1) default NULL,
  `PREF2_CPLOCA_ENBL` int(1) default NULL,
  `PREF2_CPLOCA_CPOT_FIRST` int(1) default NULL,
  `PREF2_AUTO_STOP_ENABLED` int(1) default NULL,
  `PREF2_AUTO_STOP_HOUR` date default NULL,
  `PREF2_AUTO_STOP_DURATION` int(11) default NULL,
  `PREF2_PLANXL_DATA_PATH` varchar(255) default NULL,
  `PREF2_INDC_SAVE_BEGIN_HOUR` date default NULL,
  `PREF2_INDC_SAVE_TYPE` decimal(2,0) default NULL,
  `PREF2_INDC_DAY_SPENT` decimal(10,0) default NULL,
  `PREF2_INDC_BEGIN_date` date default NULL,
  `PREF2_INDC_NEXT_date` date default NULL,
  `PREF2_INDC_AUTO_SAVE_INDICATOR` int(1) default NULL,
  `PREF2_ENVOI_BB` int(1) default NULL,
  `PREF2_ACCUS_BB` int(1) default NULL,
  `PREF2_TEMPO_BB` decimal(15,0) default NULL,
  `PREF2_NEWMSG_BB` decimal(10,0) default NULL,
  `PREF2_FLAGRECEP_BB` int(1) default NULL,
  `PREF2_OPE_PREV_CALC_MTHD` decimal(2,0) default NULL,
  `PREF2_OPE_REAL_CALC_MTHD` decimal(2,0) default NULL,
  `PREF2_OF_SERVICE_VISIBLE` int(1) default NULL,
  `PREF2_OF_REQUESTOR_VISIBLE` int(1) default NULL,
  `PREF2_OF_SERVICE_CONSOLIDATION` int(1) default NULL,
  `PREF2_DFO_GST_FOURNITURE` int(1) default NULL,
  `PREF2_DFO_MAG_SEQ` decimal(10,0) default NULL,
  `PREF2_PWD_SIZE_MIN` decimal(2,0) default NULL,
  `PREF2_PWD_IS_ALPHANUM` int(1) default NULL,
  `PREF2_ACCOUNT_BLOCKING` int(1) default NULL,
  `PREF2_ACCOUNT_BLOCKING_NB_TRY` decimal(2,0) default NULL,
  PRIMARY KEY  (`PREF2_SEQ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `t_fparam_3`
--



--
-- Definition of table `t_fparam_web_1`
--

CREATE TABLE `t_fparam_web_1` (
  `PWEB_SEQ` int(11) NOT NULL default '0',
  `PWEB_PK` int(11) default NULL,
  `PWEB_LOGFILE_PATH` varchar(255) default NULL,
  `PWEB_TARGETDATA_PATH` varchar(255) default NULL,
  `PWEB_BKUP_BUSY` int(3) default NULL,
  `PWEB_START_TIME` time default NULL,
  `PWEB_START_DATE` date default NULL,
  `PWEB_START_PERIODICITY` int(11) default NULL,
  `PWEB_RETRY_NBR` int(11) default NULL,
  `PWEB_RETRY_MINUTES` int(3) default NULL,
  `PWEB_NPORT` int(11) default NULL,
  `PWEB_DIT_OBLIG_DEM` int(1) default NULL,
  `PWEB_DIT_OBLIG_LIBELLE` int(1) default NULL,
  `PWEB_DIT_OBLIG_DETAIL` int(1) default NULL,
  `PWEB_DIT_OBLIG_BAT` int(1) default NULL,
  `PWEB_DIT_OBLIG_ZONE` int(1) default NULL,
  `PWEB_DIT_OBLIG_LOCAL` int(1) default NULL,
  `PWEB_DIT_OBLIG_RUBCOMP1` int(1) default NULL,
  `PWEB_DIT_OBLIG_RUBCOMP2` int(1) default NULL,
  `PWEB_DIT_ADD_RUBCOMP1` int(1) default NULL,
  `PWEB_DIT_ADD_RUBCOMP2` int(1) default NULL,
  `PWEB_DIT_FIGE_RUBCOMP1` int(1) default NULL,
  `PWEB_DIT_FIGE_RUBCOMP2` int(1) default NULL,
  `PWEB_ACCES` int(1) default NULL,
  `PWEB_ACCES_TYPE` int(1) default NULL,
  `PWEB_MODESITE` int(3) default NULL,
  `PWEB_SITEDEFAUT` varchar(8) default NULL,
  `PWEB_DIT_DEM_PLANIF` int(1) default NULL,
  `PWEB_DIT_NB_JOUR_PLANIF` int(11) default NULL,
  `PWEB_DIT_LOCALIS_DEM` int(1) default NULL,
  `PWEB_DIT_TDOM` int(1) default NULL,
  `PWEB_DIT_TTOPE` int(1) default NULL,
  `PWEB_DIT_GAMME_SITE` int(1) default NULL,
  `PWEB_DIT_DEMANDEUR_SITE` int(1) default NULL,
  `PWEB_PREF_DEMAR` int(1) default NULL,
  `PWEB_PREF_DEMINITIALE` varchar(5) default NULL,
  `PWEB_PREF_DEMCODE` varchar(25) default NULL,
  `PWEB_DIT_DETAIL_PREDEF` int(1) default NULL,
  `PWEB_DIT_PREDEF_GAMME` varchar(25) default NULL,
  `PWEB_DIT_DOMAINE_MAITRE` int(1) default NULL,
  `PWEB_DIT_ADD_CONSI_PARTI` int(1) default NULL,
  `PWEB_SERVER_IMG` text,
  `PWEB_DIT_RELANCE` int(1) default NULL,
  `PWEB_DIT_DEM_ENREG` int(1) default NULL,
  `PWEB_DIT_REDONDANCE` int(1) default NULL,
  `PWEB_DIT_LOC_REDOND` char(1) default NULL,
  `PWEB_DIT_TEMPS_REDOND` int(1) default NULL,
  `PWEB_DIT_HEURE_REDOND` int(11) default NULL,
  `PWEB_DIT_LIM_SERV` int(1) default NULL,
  `PWEB_SRE_GST_GRP` int(3) default NULL,
  `PWEB_SRE_GST_RSRV` int(3) default NULL,
  `PWEB_SRE_GST_JOURS_SEM` int(3) default NULL,
  `PWEB_SRE_GST_CONFID` int(3) default NULL,
  `PWEB_RST_MNU_VISIBLE` int(1) default NULL,
  `PWEB_THEM_CODE_PAGE` char(2) default NULL,
  `PWEB_THEM_CODE_ACCU` char(2) default NULL,
  `PWEB_SRE_OBLIG_LIBELLE` int(1) default NULL,
  `PWEB_SRE_OBLIG_DEM` int(1) default NULL,
  `PWEB_SRE_OBLIG_DEM_TEL` int(1) default NULL,
  `PWEB_SRE_OBLIG_DEM_EMAIL` int(1) default NULL,
  `PWEB_SRE_CONFIG_ACTIV` int(3) default NULL,
  `PWEB_SRE_ADD_PREST` int(1) default NULL,
  `PWEB_SRE_ADD_EQUIP` int(1) default NULL,
  `PWEB_SRE_PLG_HEUDEB` time default NULL,
  `PWEB_SRE_PLG_HEUFIN` time default NULL,
  `PWEB_GEN_TYPE_LIB_SERVICE` int(3) default NULL,
  `PWEB_SRE_GCFD_INFO_DEM` int(3) default NULL,
  `PWEB_DIT_REGROUP_DOMAINE` int(1) default NULL,
  `PWEB_ANN_GST_CONFID` int(3) default NULL,
  `PWEB_ACV_GST_CONFID_EMT` int(3) default NULL,
  `PWEB_DIT_GST_CONFID` int(3) default NULL,
  `PWEB_GEN_LIM_LST_DEM` int(3) default NULL,
  `PWEB_GEN_LIM_DEM_SITE` int(1) default NULL,
  `PWEB_GEN_LIM_DEM_SERV` int(1) default NULL,
  `PWEB_ACV_GST_CONF_SIMP` int(3) default NULL,
  `PWEB_ACV_GST_BADGE` int(3) default NULL,
  `PWEB_ACV_GST_BADGE_TYPE` int(3) default NULL,
  `PWEB_ACV_GST_PED` int(3) default NULL,
  `PWEB_ACV_GST_PED_TYPE` int(3) default NULL,
  `PWEB_ACV_GST_GSORT` int(3) default NULL,
  `PWEB_ACV_OBLIG_DEM` int(1) default NULL,
  `PWEB_ACV_OBLIG_DEM_TEL` int(1) default NULL,
  `PWEB_ACV_OBLIG_HEURE` int(1) default NULL,
  `PWEB_ACV_OBLIG_BAT` int(1) default NULL,
  `PWEB_ACV_OBLIG_ZONE` int(1) default NULL,
  `PWEB_ACV_OBLIG_LOCAL` int(1) default NULL,
  `PWEB_REP_AFF_HEURE` int(1) default NULL,
  `PWEB_REP_AFF_COUT` int(1) default NULL,
  `PWEB_SERVER_SERVICE_NT` text,
  `PWEB_CRW_NO_MAX_PRN_INT` int(11) default NULL,
  `PWEB_CRW_DIT_OBLIG_DEM` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_LIBELLE` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_DETAIL` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_BAT` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_ZONE` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_LOCAL` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_RUBCOMP1` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_RUBCOMP2` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_EQIP` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_TDEF` int(1) default NULL,
  `PWEB_CRW_DIT_OBLIG_AFFA` int(1) default NULL,
  `PWEB_LOG_ENABLED` int(1) default NULL,
  `PWEB_DIT_NO_MAX_PRN_INT` int(11) default NULL,
  `PWEB_MOD_ID` int(3) default NULL,
  `PWEB_MOD_NAME` varchar(50) default NULL,
  `PWEB_MOD_SELECTED` int(1) default NULL,
  `PWEB_WWW_PATH` text,
  PRIMARY KEY  (`PWEB_SEQ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `t_fparam_web_1`
--



--
-- Definition of table `tache_elem`
--

CREATE TABLE `tache_elem` (
  `tael_seq` int(11) NOT NULL auto_increment,
  `tael_code` varchar(15) default NULL,
  `tael_libelle` varchar(40) default NULL,
  `tael_ttal_fk` int(11) default NULL,
  `tael_tope_fk` int(11) default NULL,
  `tael_denominota` tinyint(3) unsigned default NULL,
  `tael_contenu` text,
  `tael_jourmoins` int(11) default NULL,
  `tael_jourplus` int(11) default NULL,
  PRIMARY KEY  (`tael_seq`),
  KEY `tael_code` (`tael_code`),
  KEY `tael_libelle` (`tael_libelle`),
  KEY `tael_ttal_fk` (`tael_ttal_fk`),
  KEY `tael_tope_fk` (`tael_tope_fk`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tache_elem`
--



--
-- Definition of table `tmp_affaire`
--

CREATE TABLE `tmp_affaire` (
  `affa_seq` int(11) NOT NULL default '0',
  `affa_code` varchar(10) NOT NULL default '',
  `affa_libelle` varchar(50) NOT NULL default '',
  `affa_coefheures` decimal(10,2) NOT NULL default '0.00',
  `affa_coeffournit` decimal(10,2) NOT NULL default '0.00',
  UNIQUE KEY `AFFA_SEQ` (`affa_seq`),
  KEY `AFFA_CODE` (`affa_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_affaire`
--

INSERT INTO `tmp_affaire` (`affa_seq`,`affa_code`,`affa_libelle`,`affa_coefheures`,`affa_coeffournit`) VALUES 
 (4,'ENTO','Réaménagement de la galerie d\'Entomologie','0.00','0.00'),
 (5,'95/FONCT/G','Budget de fonctionnement','0.00','0.00'),
 (6,'BADGE/Z','Installation des badges Zoothèque','0.00','0.00'),
 (7,'BADGE/G','Installation des badges Galerie','0.00','0.00'),
 (8,'BIBLIO','Réaménagement de l\'ancienne bibliothèque','0.00','0.00'),
 (9,'95/FONCT/Z','Budget de fonctionnement Zoothèque','0.00','0.00'),
 (10,'95/SOIREES','Prestations supplémentaires en soirée','0.00','0.00'),
 (11,'95/R+2','Bureaux du R+2','0.00','0.00'),
 (12,'95/CLIM','Total des opérations climatisation','0.00','0.00'),
 (13,'95/EQUIP','Premier équipement 1995','0.00','0.00'),
 (15,'95/CIEL','Différenciation des milieux - Ciel étoilé','0.00','0.00'),
 (16,'95/POELGER','Marché POELGER','0.00','0.00'),
 (17,'95/MEDIA','Prestations pour la Bibliothèque et médiathèque','0.00','0.00'),
 (19,'HALL','Réaménagement du hall','0.00','0.00'),
 (20,'95/DEM','Opération de déménagement de l\'ancienne bibliothèq','0.00','0.00'),
 (21,'95/R+1','Aménagement R+1','0.00','0.00'),
 (23,'95/BOTANIQ','Réaménagement de la salle de botanique','0.00','0.00'),
 (25,'95/NET','Commandes pour la propreté','0.00','0.00'),
 (26,'95/ONDUL','Changement d\'onduleur','0.00','0.00'),
 (27,'102','Cuisine relais CMC','0.00','0.00'),
 (28,'REGUL 94','Régularisation 1994','0.00','0.00'),
 (29,'95/MAINT','Opérations de maintenance','0.00','0.00'),
 (30,'95/CRYPTO','Réaménagement de la cryptogamie','0.00','0.00'),
 (31,'95/NOEL','PRESTATIONS POUR NOEL','0.00','0.00'),
 (32,'95/AUDIT','OPERATION POUR L\'AUDITORIUM','0.00','0.00'),
 (33,'BILLET','TOUTES LES OPERATIONS DE BILLETERIE','0.00','0.00'),
 (34,'PARVIS','Aménagement du parvis','0.00','0.00'),
 (35,'95/ZOO','OPERATION POUR LE MICRO-ZOO','0.00','0.00'),
 (36,'96/AUDIO','Equipement régie audiovisuelle','0.00','0.00'),
 (37,'96/MAINT','Opérations de maintenance','0.00','0.00'),
 (39,'96/TNEUF','Travaux neufs réalisés par la maintenance','0.00','0.00'),
 (40,'96/AVANCE','Régie d\'avance 1996','0.00','0.00'),
 (41,'96/AUDIT','Aménagement et matériels pour auditorium','0.00','0.00'),
 (42,'96/BADGES','Commandes pour installation badges','0.00','0.00'),
 (43,'96/BILLET','Commandes pour ensemble billetterie','0.00','0.00'),
 (44,'96/CONTRAT','Contrats et marchés de maintenance','0.00','0.00'),
 (45,'96/EQUIP','Achats d\'équipements non stockés','0.00','0.00'),
 (46,'99/FONCT','Fonctionnement général','0.00','0.00'),
 (47,'96/MEDIA','Opérations pour média et biblio','0.00','0.00'),
 (48,'96/NET','Toutes opérations propreté','0.00','0.00'),
 (49,'96/REGUL','Régularisation 1995','0.00','0.00'),
 (50,'96/SECU','Toutes opérations gardiennage et sécurité','0.00','0.00'),
 (51,'96/CHARGES','EDF - CPCU - TELECOM - POSTE - Trésor Public','0.00','0.00'),
 (52,'96/INCEN','Toutes opérations détection et protection incendie','0.00','0.00'),
 (53,'TOIT','Réfection de la toîture','0.00','0.00'),
 (54,'96/PHANE','PHANEROGAMIE','0.00','0.00'),
 (55,'96/BOTA','OPERATIONS POUR LA SALLE DE BOTANIQUE','0.00','0.00'),
 (56,'96/VISIO','TOUTES OPERATIONS DE VISIO ET AUDIOCONFERENCES','0.00','0.00'),
 (57,'AMPHI','Réaménagement de l\'Amphithéâtre ROUELLE','0.00','0.00'),
 (59,'96/MICRO','OPERATIONS POUR LE MICRO ZOO','0.00','0.00'),
 (60,'99/MAINT','Contrat Crédit Lyonnais','1.50','2.00'),
 (61,'99/CHARGES','EDF - CPCU - TELECOM - POSTE - Trésor Public','0.00','0.00'),
 (62,'01/SECU','Toutes opérations gardiennage et sécurité','0.00','0.00'),
 (63,'99/INCEN','Toutes opérations détection et protection incendie','0.00','0.00'),
 (64,'TRAV NEUF','Travaux neufs sur 7 ans','0.00','0.00'),
 (65,'99/NET','Toutes opérations de nettoyage','0.00','0.00'),
 (66,'99/055','Contrat du petit clamart','0.00','0.00'),
 (69,'ELEC','Electricité HT BT','1.00','1.00'),
 (70,'EAU CH','eau chaude','0.00','0.00'),
 (71,'01/MAINT','Contrat de Maintenance 2001','1.00','1.00'),
 (72,'27DÉCEMBRE','Tempête','1.00','1.00'),
 (73,'01/HC','Hors contrat maintenance','0.00','0.00'),
 (74,'03/MAINTE','Maintenance 2003','0.00','0.00'),
 (75,'04/MAINT','Maintenance 2004','0.00','0.00'),
 (76,'05/MAINT','Contrat de service 2005','0.00','1.20'),
 (77,'06','dcdc','0.00','0.00'),
 (78,'06 MAINT','Contrat de service 2006','1.20','1.10'),
 (79,'NEW','Nouveau contrat','1.00','1.00'),
 (80,'GG','gg','0.00','0.00');


--
-- Definition of table `tmp_batiments`
--

CREATE TABLE `tmp_batiments` (
  `bat_seq` int(11) NOT NULL auto_increment,
  `bat_sat_fk` int(11) NOT NULL default '0',
  `bat_code` varchar(6) NOT NULL default '',
  `bat_desi` varchar(35) NOT NULL default '',
  `bat_sat_code` varchar(8) NOT NULL default '',
  `bat_affa_fk` int(11) default NULL,
  `bat_adr1` varchar(45) default NULL,
  `bat_adr2` varchar(45) default NULL,
  `bat_cp` varchar(6) default NULL,
  `bat_ville` varchar(25) default NULL,
  UNIQUE KEY `bat_seq` (`bat_seq`),
  KEY `bat_sat_fk` (`bat_sat_fk`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_batiments`
--

INSERT INTO `tmp_batiments` (`bat_seq`,`bat_sat_fk`,`bat_code`,`bat_desi`,`bat_sat_code`,`bat_affa_fk`,`bat_adr1`,`bat_adr2`,`bat_cp`,`bat_ville`) VALUES 
 (1,7,'BAT A','Bâtiment A','DG',78,'213, avenue Henri Barbusse Est','','','MONTREAL, QC'),
 (12,8,'BAT C','Bâtiment C','DBS',0,'16, avenue de la Concorde','','',''),
 (13,8,'BAT B','Bâtiment B','DBS',78,'606, rue Cathcart','Suite 500','H3B1K9','MONTREAL, Qc'),
 (27,0,'BAT E','batiment E','',0,'','','','');


--
-- Definition of table `tmp_demandeur`
--

CREATE TABLE `tmp_demandeur` (
  `dem_seq` int(11) NOT NULL auto_increment,
  `dem_sloc_fk` int(11) NOT NULL default '0',
  `dem_sat_fk` int(11) default '0',
  `dem_bat_fk` int(11) default '0',
  `dem_zone_fk` int(11) default '0',
  `dem_loca_fk` int(11) default '0',
  `dem_nomcod` varchar(15) NOT NULL default '',
  `dem_sloc_code` varchar(8) default NULL,
  `dem_sat_code` varchar(8) default NULL,
  `dem_bat_code` varchar(6) default NULL,
  `dem_zone_nom` varchar(6) default NULL,
  `dem_loca_code` varchar(10) default NULL,
  `dem_nom` varchar(25) default NULL,
  `dem_prenom` varchar(25) default NULL,
  `dem_civilite` varchar(5) default NULL,
  `dem_fonction` varchar(40) default NULL,
  `dem_teldirect` varchar(15) default NULL,
  `dem_rub1` varchar(15) default NULL,
  `dem_email` varchar(45) default NULL,
  `dem_dem_assist_fk` int(11) default NULL,
  `dem_correspondant` int(11) default NULL,
  `dem_photo` varchar(30) NOT NULL default '',
  `dem_typeoper` char(1) default NULL,
  `dem_blocage` int(11) NOT NULL default '0',
  UNIQUE KEY `dem_seq` (`dem_seq`)
) ENGINE=MyISAM AUTO_INCREMENT=98 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_demandeur`
--

INSERT INTO `tmp_demandeur` (`dem_seq`,`dem_sloc_fk`,`dem_sat_fk`,`dem_bat_fk`,`dem_zone_fk`,`dem_loca_fk`,`dem_nomcod`,`dem_sloc_code`,`dem_sat_code`,`dem_bat_code`,`dem_zone_nom`,`dem_loca_code`,`dem_nom`,`dem_prenom`,`dem_civilite`,`dem_fonction`,`dem_teldirect`,`dem_rub1`,`dem_email`,`dem_dem_assist_fk`,`dem_correspondant`,`dem_photo`,`dem_typeoper`,`dem_blocage`) VALUES 
 (22,13,8,12,68,545,'J ELIOTT',NULL,NULL,NULL,NULL,NULL,'ELIOTT','Jean','Mme','Directeur financier','514 457 2124','','j.eliott@canon.ca',0,0,'',NULL,0),
 (26,16,8,12,70,806,'K THOMAS',NULL,NULL,NULL,NULL,NULL,'THOMAS','Karl','M.','Directeur dÃ©veloppement','515 572 0470','','k.thomas@hp.ca',NULL,NULL,'',NULL,0),
 (40,15,8,12,65,652,'C MARTIN',NULL,NULL,NULL,NULL,NULL,'MARTIN','CÃ©line','Mme','Assitante directeur','514 235 4541','','c.martin@msa.ca',NULL,NULL,'',NULL,0),
 (42,14,8,12,67,582,'N VUITON',NULL,NULL,NULL,NULL,NULL,'VUITON','Nicole','Mme','Directrice Achats','514 875 3244','','n.vuiton@telemarket.ca',NULL,NULL,'',NULL,0),
 (43,14,8,12,69,500,'L MAROIS',NULL,NULL,NULL,NULL,NULL,'MAROIS','Linda','Mme','Assistante Directrice achats','514 465 2125','','l.marois@telemarket.ca',NULL,NULL,'',NULL,0),
 (44,14,8,12,67,577,'J LAFORCE',NULL,NULL,NULL,NULL,NULL,'LAFORCE','Jocelyne','Mme','Assistante DG','514 757 3527','','j.laforce@telemarket.ca',NULL,NULL,'',NULL,0),
 (47,6,8,12,68,913,'Y BELANGER',NULL,NULL,NULL,NULL,NULL,'BELANGER','Yves','M','Directeur Canada','514 568 9810','','y.belanger@canon.ca',0,1,'',NULL,1),
 (48,5,7,1,5,214,'Q LEFEBVRE',NULL,NULL,NULL,NULL,NULL,'LEFEBVRE','Quentin','M','Comptable','515 857 3578','','q.lefebvre@comptabilite.ca',NULL,NULL,'',NULL,0),
 (49,5,7,1,5,211,'H BOILY',NULL,NULL,NULL,NULL,NULL,'BOILY','Hubert','M','Comptable','514 445 4479','','hboily@compagnie.ca',NULL,NULL,'',NULL,0),
 (50,5,7,1,5,209,'MC DELAGE',NULL,NULL,NULL,NULL,NULL,'DELAGE','Marie Claude','Mme','Directeur Comptable adjoint','450 574 2124','','mcdelage@compagnie.ca',NULL,NULL,'',NULL,0),
 (51,5,7,1,5,208,'P LONG',NULL,NULL,NULL,NULL,NULL,'LONG','Pauline','Mme','Directeur Comptable','515 577 2477','','plong@societe.ca',NULL,NULL,'',NULL,0),
 (52,9,7,1,5,208,'C TESSIER',NULL,NULL,NULL,NULL,NULL,'TESSIER','Cindy','Mme','Directrice Logistique','450 548 2443','','ctessier@compagnie.ca',NULL,NULL,'',NULL,0),
 (55,2,0,0,0,0,'C TURCOT',NULL,NULL,NULL,NULL,NULL,'TURCOT','Caroline','Mme','Responsable administrative','515 878 2164','','cturcot@compagnie.ca',NULL,NULL,'',NULL,0),
 (56,1,7,1,6,192,'C MALTAIS',NULL,NULL,NULL,NULL,NULL,'MALTAIS','Claude','M','Directeur financier','515 887 2765','','cmaltais@compagnie.ca',NULL,NULL,'',NULL,0),
 (57,11,0,13,38,0,'MJ JUTRAS',NULL,NULL,NULL,NULL,NULL,'JUTRAS','Marie JosÃ©e','Mme','ChargÃ©e de clientÃ¨le','514 546 1324','','mj.jutras@compagnie.ca',NULL,NULL,'',NULL,0),
 (58,11,8,12,71,463,'P TREMBLAY',NULL,NULL,NULL,NULL,NULL,'TREMBLAY','Pauline','Mme','ChargÃ©e de clientÃ¨le','514 893 2154','','p.tremblay@gestion.ca',NULL,NULL,'',NULL,0),
 (59,9,0,0,0,0,'J MOREAU',NULL,NULL,NULL,NULL,NULL,'MOREAU','Jacques','M.','Assistant directrice logistique','515 572 8791','','j.moreau@entreprise.com',NULL,NULL,'',NULL,0),
 (60,2,8,1,5,198,'S SENAY',NULL,NULL,NULL,NULL,NULL,'SENAY','Serge','Mme','Directeur GÃ©nÃ©ral','515 575 2485','','s.senay@compagnie.ca',NULL,NULL,'',NULL,0),
 (61,5,0,0,0,0,'M GUILLEMETTE',NULL,NULL,NULL,NULL,NULL,'GUILLEMETTE','Murielle','Mme','Assistante directeur comptable','515 571 2427','','m.guillemette@comptabilite.ca',NULL,NULL,'',NULL,0),
 (63,11,7,1,6,193,'J BISSONNETTE',NULL,NULL,NULL,NULL,NULL,'BISSONNETTE','Jacques','M','Directeur clientÃ¨le','514 987 2335','','bissonnette@entreprise.ca',0,0,'',NULL,0),
 (64,2,8,13,37,404,'N VEZINA',NULL,NULL,NULL,NULL,NULL,'VEZINA','Nicole','Mme','Adjointe Responsable Administrative','515 850 5320','','n.vezina@technique.ca',NULL,NULL,'',NULL,0),
 (65,1,7,1,11,310,'C BEAULIEU',NULL,NULL,NULL,NULL,NULL,'BEAULIEU','Claire','Mme','Assistante directeur financier','515 575 2747','','c.beaulieu@compagnie.ca',NULL,NULL,'',NULL,0),
 (66,15,8,12,65,644,'N SANTERRE',NULL,NULL,NULL,NULL,NULL,'SANTERRE','Nathalie','Mme','Directrice marketing','515 878 2415','','n.santerre@msa.ca',NULL,NULL,'',NULL,0),
 (67,15,8,12,65,658,'F MITCHELL',NULL,NULL,NULL,NULL,NULL,'MITCHELL','Francine','Mme','Adjointe directrice','514 465 2125','','f.mitchell@msa.ca',NULL,NULL,'',NULL,0),
 (68,11,7,1,5,166,'M PARENTEAU',NULL,NULL,NULL,NULL,NULL,'PARENTEAU','Marc','M','Directeur d\'Exploitation','514 789 5533','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (70,1,0,0,0,0,'OLOL',NULL,NULL,NULL,NULL,NULL,'louf','olivia','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (75,1,0,0,0,0,'OLOL',NULL,NULL,NULL,NULL,NULL,'louf','olivia','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (80,1,0,0,0,0,'OLOL',NULL,NULL,NULL,NULL,NULL,'louf','olivia','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (83,1,0,0,0,0,'OLOL',NULL,NULL,NULL,NULL,NULL,'louf','olivia','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (84,1,0,0,0,0,'OLOL',NULL,NULL,NULL,NULL,NULL,'louf','olivia','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (89,0,0,0,0,0,'A',NULL,NULL,NULL,NULL,NULL,'a','a','M','\'\'','','','o.louf@sitealpha.ca',NULL,NULL,'',NULL,0),
 (94,13,0,0,0,0,'123456',NULL,NULL,NULL,NULL,NULL,'toto','tutu','M','','514056201452','','',NULL,NULL,'',NULL,0),
 (97,6,0,0,0,0,'1325',NULL,NULL,NULL,NULL,NULL,'lolo','olivia','M','','5145624569','','',0,0,'',NULL,0),
 (96,6,8,12,71,461,'ZGD',NULL,NULL,NULL,NULL,NULL,'name','','Mr.','','514','','',0,0,'',NULL,0);


--
-- Definition of table `tmp_domaine`
--

CREATE TABLE `tmp_domaine` (
  `dom_seq` int(11) NOT NULL default '0',
  `dom_code` varchar(6) NOT NULL default '',
  `dom_libelle` varchar(30) NOT NULL default '',
  `dom_sdom_fk` int(11) NOT NULL default '0',
  `dom_bool_inactive` tinyint(3) default '0',
  UNIQUE KEY `DOM_SEQ` (`dom_seq`),
  KEY `DOM_CODE` (`dom_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_domaine`
--

INSERT INTO `tmp_domaine` (`dom_seq`,`dom_code`,`dom_libelle`,`dom_sdom_fk`,`dom_bool_inactive`) VALUES 
 (2,'DI','Détection Incendie',9,0),
 (3,'CVC','Chauffage Ventilation Clim',8,0),
 (5,'ASC','Ascenseur et M.C.',8,0),
 (7,'PI','Protection incendie',0,0),
 (8,'PB','Plomberie Sanitaire',0,0),
 (12,'VITR','Vitrerie',0,0),
 (13,'TEL','Téléphonie',0,0),
 (17,'GÉNÉ','Génératrice',0,0),
 (18,'ARCHI','Architecture',8,0),
 (19,'INF','Matériel Informatique',0,0),
 (20,'AUD','Audio-visuel',8,0),
 (21,'MENAG','Entretien Ménager',9,0),
 (22,'POR','Portes',0,0),
 (26,'MENE','Menuiserie ext',0,0),
 (28,'COUV','Couverture',0,0),
 (29,'FACA','Façade',0,0),
 (81,'REST','Restaurant',0,0),
 (82,'ACC','Contrôle d\'accès',0,0),
 (83,'ESP V','Espaces verts',0,0),
 (84,'CUIS','Cuisine',9,0),
 (85,'MECA','Mécanique - Grues',0,0),
 (86,'BIOMED','Biomédical',8,0),
 (93,'ELEC','Electricité',9,0),
 (94,'DEMENA','Déménagement',9,0),
 (95,'DOMCOD','domcode',0,0);


--
-- Definition of table `tmp_equipetravaux`
--

CREATE TABLE `tmp_equipetravaux` (
  `trav_seq` int(11) NOT NULL default '0',
  `trav_code` varchar(4) NOT NULL default '',
  `trav_libelle` varchar(25) NOT NULL default '',
  `trav_boolintern` tinyint(4) default NULL,
  `trav_couthoraire` decimal(20,2) default NULL,
  `trav_lundi` tinyint(4) default NULL,
  `trav_mardi` tinyint(4) default NULL,
  `trav_mercredi` tinyint(4) default NULL,
  `trav_jeudi` tinyint(4) default NULL,
  `trav_vendredi` tinyint(4) default NULL,
  `trav_samedi` tinyint(4) default NULL,
  `trav_dimanche` tinyint(4) default NULL,
  `trav_feries` tinyint(4) default NULL,
  `trav_controle` tinyint(4) default NULL,
  `trav_couthoraire2` decimal(20,2) default NULL,
  `trav_supe_fk` int(11) default NULL,
  `trav_rem1` char(1) default NULL,
  `trav_rem2` char(1) default NULL,
  `trav_email` varchar(45) default NULL,
  UNIQUE KEY `TRAV_SEQ` (`trav_seq`),
  KEY `TRAV_CODE` (`trav_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_equipetravaux`
--

INSERT INTO `tmp_equipetravaux` (`trav_seq`,`trav_code`,`trav_libelle`,`trav_boolintern`,`trav_couthoraire`,`trav_lundi`,`trav_mardi`,`trav_mercredi`,`trav_jeudi`,`trav_vendredi`,`trav_samedi`,`trav_dimanche`,`trav_feries`,`trav_controle`,`trav_couthoraire2`,`trav_supe_fk`,`trav_rem1`,`trav_rem2`,`trav_email`) VALUES 
 (1,'PES','SURVEILLANCE',1,'15.24',1,1,1,1,1,0,0,0,1,'99.97',12,'','','pc-securite@mainitenance.com'),
 (3,'ATEI','DETECTION INCENDIE',1,'39.64',1,1,1,1,1,0,0,0,1,'260.02',12,'','','di@maintenance.com'),
 (9,'CLIM','CLIMATISATION / CHAUFFAGE',0,'19.06',1,1,1,1,1,0,0,0,1,'125.02',10,'','','genie-clim@maintenance.com'),
 (12,'ELEC','ELECTRICITE',0,'18.90',1,1,1,1,1,0,0,0,1,'123.98',9,'','','electricite@maintenance.com'),
 (14,'GEL','GROUPE ELECTROGENE',1,'38.11',1,1,1,1,1,0,0,0,1,'249.99',9,'','','gel@maintenance.com'),
 (43,'VD','VERGER DELPORTE',1,'27.44',1,1,1,1,1,0,0,0,1,'179.99',9,'','','vd@maintenance.com'),
 (44,'DES','DESAUTEL',1,'17.53',1,1,1,1,1,0,0,0,1,'114.99',12,'','','desautel@maintenance.com'),
 (46,'INF','INFORMATIQUE',0,'38.11',1,1,1,1,1,0,0,0,1,'249.99',10,'','','informatique@maintenance.com'),
 (47,'AUD','AUDIOVISUEL',0,'17.23',1,1,1,1,1,0,0,0,1,'113.02',13,'','','audiovisuel@maintenance.com'),
 (48,'SOE','SECOND OEUVRE',0,'19.82',1,1,1,1,1,0,0,0,1,'130.01',9,'','','soe@maintenance.com'),
 (53,'ASC','ASCENSEUR',0,'10.00',1,1,1,1,1,0,0,0,1,'65.60',9,'','','ascenceur@maintenance.com'),
 (54,'ASC2','Equipe Ascenseur n°2',0,'30.49',1,1,1,1,1,0,0,0,1,'200.00',13,'','','ascenceur2@maintenance.com'),
 (55,'TEL','TELEPHONIE',1,'30.49',1,1,1,1,1,0,0,0,1,'200.00',13,'','','telephonie@maintenance.com'),
 (56,'SUD','Equipe sud',0,'21.37',1,1,1,1,1,0,0,0,1,'140.18',12,'','','equipe-sud@maintenance.com'),
 (57,'PB','PLOMBERIE',0,'19.66',1,1,1,1,1,0,0,0,1,'128.96',12,'','','la-noue@maintenance.com'),
 (58,'ECO','Economat',0,'20.05',1,1,1,1,1,0,0,0,1,'131.52',9,'','','economat@maintenance.com'),
 (61,'REST','Restaurant',0,'0.00',1,1,1,1,1,0,0,0,1,'0.00',9,'','',''),
 (62,'BIOM','Equipe biomédicale',0,'0.00',1,1,1,1,1,0,0,0,1,'0.00',13,'','','biomedical@ssss.gouv.qc.cq');


--
-- Definition of table `tmp_hlp_article_m_7quo75grbd008p6pcddvp9eko6`
--

CREATE TABLE `tmp_hlp_article_m_7quo75grbd008p6pcddvp9eko6` (
  `tmp_hlar_hlit_fk` int(11) unsigned NOT NULL default '0',
  `tmp_hlar_is_default` tinyint(3) unsigned NOT NULL default '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tmp_hlp_article_m_7quo75grbd008p6pcddvp9eko6`
--



--
-- Definition of table `tmp_lstope_hssnvq6nnijahprsiukh518s56`
--

CREATE TABLE `tmp_lstope_hssnvq6nnijahprsiukh518s56` (
  `oper_seq` int(11) NOT NULL default '0',
  `oper_code` varchar(8) NOT NULL default '',
  `oper_libelle` varchar(40) NOT NULL default '',
  `oper_sat_code` varchar(8) default '',
  `oper_bat_code` varchar(6) default '',
  `oper_dom_code` varchar(6) default '',
  `oper_tope_code` char(2) default '',
  `oper_avan_code` char(2) default '',
  `oper_trav_code` varchar(4) default '',
  `oper_affa_code` varchar(10) default '',
  `oper_eqip_libel` varchar(15) default '',
  `oper_tdef_code` varchar(30) default '',
  `oper_sloc_code` varchar(8) default '',
  `oper_dateinscri` date default '0000-00-00',
  `oper_dateacquit` date default '0000-00-00',
  `oper_datedebutp` date default '0000-00-00',
  `oper_datedebutr` date default '0000-00-00',
  `oper_relance` int(11) default NULL,
  `oper_datefinp` date default '0000-00-00',
  `oper_datefinr` date default '0000-00-00',
  `oper_dureepresp` decimal(11,2) default '0.00',
  `oper_dureepresr` decimal(11,2) default '0.00',
  `oper_coutp` decimal(11,2) default '0.00',
  `oper_cout` decimal(11,2) default '0.00',
  PRIMARY KEY  (`oper_seq`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tmp_lstope_hssnvq6nnijahprsiukh518s56`
--



--
-- Definition of table `tmp_lstope_v2da0evrepegv2qi2lmpaivcb2`
--

CREATE TABLE `tmp_lstope_v2da0evrepegv2qi2lmpaivcb2` (
  `oper_seq` int(11) NOT NULL default '0',
  `oper_code` varchar(8) NOT NULL default '',
  `oper_libelle` varchar(40) NOT NULL default '',
  `oper_sat_code` varchar(8) default '',
  `oper_bat_code` varchar(6) default '',
  `oper_dom_code` varchar(6) default '',
  `oper_tope_code` char(2) default '',
  `oper_avan_code` char(2) default '',
  `oper_trav_code` varchar(4) default '',
  `oper_affa_code` varchar(10) default '',
  `oper_eqip_libel` varchar(15) default '',
  `oper_tdef_code` varchar(30) default '',
  `oper_sloc_code` varchar(8) default '',
  `oper_dateinscri` date default '0000-00-00',
  `oper_dateacquit` date default '0000-00-00',
  `oper_datedebutp` date default '0000-00-00',
  `oper_datedebutr` date default '0000-00-00',
  `oper_relance` int(11) default NULL,
  `oper_datefinp` date default '0000-00-00',
  `oper_datefinr` date default '0000-00-00',
  `oper_dureepresp` decimal(11,2) default '0.00',
  `oper_dureepresr` decimal(11,2) default '0.00',
  `oper_coutp` decimal(11,2) default '0.00',
  `oper_cout` decimal(11,2) default '0.00',
  PRIMARY KEY  (`oper_seq`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tmp_lstope_v2da0evrepegv2qi2lmpaivcb2`
--



--
-- Definition of table `tmp_operation_generique`
--

CREATE TABLE `tmp_operation_generique` (
  `opge_seq` int(11) NOT NULL auto_increment,
  `opge_code` varchar(8) NOT NULL default '',
  `opge_oper_fk` int(11) default '0',
  UNIQUE KEY `oper_seq` (`opge_seq`)
) ENGINE=MyISAM AUTO_INCREMENT=634 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_operation_generique`
--

INSERT INTO `tmp_operation_generique` (`opge_seq`,`opge_code`,`opge_oper_fk`) VALUES 
 (478,'7046.6',7041),
 (479,'7047.1',7042),
 (480,'7048.2',7043),
 (481,'7049',7044),
 (482,'7050',7045),
 (483,'7051',7046),
 (484,'7052.1',7047),
 (485,'7051',7046),
 (486,'6892',6892),
 (487,'7051',7046),
 (488,'7052.1',7047),
 (489,'7053.1',7048),
 (490,'7054',7049),
 (491,'7055.1',7050),
 (492,'7068',7063),
 (493,'7069',7064),
 (494,'7051',7046),
 (495,'7052.1',7047),
 (496,'7053.1',7048),
 (497,'7054',7049),
 (498,'7055.1',7050),
 (499,'7056',7051),
 (500,'7057.1',7052),
 (501,'7058.1',7053),
 (502,'7059',7054),
 (503,'7060',7055),
 (504,'7051',7046),
 (505,'7052',7047),
 (506,'7053',7048),
 (507,'7054',7049),
 (508,'7055',7050),
 (509,'7056',7051),
 (510,'7057.1',7052),
 (511,'7058.1',7053),
 (512,'7051',7046),
 (513,'7052',7047),
 (514,'7053',7048),
 (515,'7054',7049),
 (516,'7055',7050),
 (517,'7056',7051),
 (518,'7057.1',7052),
 (519,'7058',7053),
 (520,'7059',7054),
 (521,'7060',7055),
 (522,'7061',7056),
 (523,'7062',7057),
 (524,'7066.1',7061),
 (525,'7053',7048),
 (526,'7054',7049),
 (527,'7055',7050),
 (528,'7056',7051),
 (529,'7057.1',7052),
 (530,'7058',7053),
 (531,'7059',7054),
 (532,'7060',7055),
 (533,'7053',7048),
 (534,'7056',7051),
 (535,'7057.1',7052),
 (536,'7058',7053),
 (537,'7059',7054),
 (538,'7060',7055),
 (539,'7061',7056),
 (540,'7062',7057),
 (541,'7056',7051),
 (542,'7057.1',7052),
 (543,'7058',7053),
 (544,'7059',7054),
 (545,'7060',7055),
 (546,'7061',7056),
 (547,'7062',7057),
 (548,'7063',7058),
 (549,'7064',7059),
 (550,'7065',7060),
 (551,'7066',7061),
 (552,'7067',7062),
 (553,'7056',7051),
 (554,'7057.1',7052),
 (555,'7058',7053),
 (556,'7056',7051),
 (557,'7057.1',7052),
 (558,'7056',7051),
 (559,'7032',7027),
 (560,'7057.1',7052),
 (561,'7058',7053),
 (562,'7059',7054),
 (563,'5829',5829),
 (564,'7057.1',7052),
 (565,'7058',7053),
 (566,'7061',7056),
 (567,'6280',6280),
 (568,'7061',7056),
 (569,'7061',7056),
 (570,'A-7062',7057),
 (571,'A-7063',7058),
 (572,'7061',7056),
 (573,'7061',7056),
 (574,'7061',7056),
 (575,'5813',5813),
 (576,'5962',5962),
 (577,'6991',6986),
 (578,'7061',7056),
 (579,'7062',7057),
 (580,'6925',6925),
 (581,'6262',6262),
 (582,'7064',7059),
 (583,'7065',7060),
 (584,'7066',7061),
 (585,'7063',7058),
 (586,'7064',7059),
 (587,'7065',7060),
 (588,'7065',7060),
 (589,'7067',7062),
 (590,'7068',7063),
 (591,'7065',7060),
 (592,'7066',7061),
 (593,'7067',7062),
 (594,'7069',7064),
 (595,'7070',7065),
 (596,'7071',7066),
 (597,'7072',7067),
 (598,'7073.1',7068),
 (599,'7069',7064),
 (600,'7070',7065),
 (601,'7071',7066),
 (602,'7072',7067),
 (603,'7073.1',7068),
 (604,'7074',7069),
 (605,'7069',7064),
 (606,'7070',7065),
 (607,'7069',7064),
 (608,'7071',7066),
 (609,'7070',7065),
 (610,'7071',7066),
 (611,'7072',7067),
 (612,'7073.1',7068),
 (613,'7074',7069),
 (614,'7075',7070),
 (615,'7076',7071),
 (616,'7077',7072),
 (617,'7078',7073),
 (618,'7079',7074),
 (619,'7080',7075),
 (620,'7081',7076),
 (621,'7082',7077),
 (622,'7083',7078),
 (623,'7084',7079),
 (624,'7085',7080),
 (625,'7086',7081),
 (626,'7087',7082),
 (627,'7095',7090),
 (628,'7096',7091),
 (629,'7097',7092),
 (630,'7088',7083),
 (631,'7089',7084),
 (632,'7090',7085),
 (633,'7091',7086);


--
-- Definition of table `tmp_service`
--

CREATE TABLE `tmp_service` (
  `sloc_seq` int(11) NOT NULL default '0',
  `sloc_code` varchar(8) NOT NULL default '',
  `sloc_libelle` varchar(30) NOT NULL default '',
  `sloc_dotation_initiale` decimal(13,2) default NULL,
  `sloc_dotation_initiale2` decimal(13,2) default NULL,
  `sloc_dotation_consommee` decimal(13,2) default NULL,
  `sloc_dotation_consommee2` decimal(13,2) default NULL,
  UNIQUE KEY `SLOC_SEQ` (`sloc_seq`),
  KEY `SLOC_CODE` (`sloc_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_service`
--

INSERT INTO `tmp_service` (`sloc_seq`,`sloc_code`,`sloc_libelle`,`sloc_dotation_initiale`,`sloc_dotation_initiale2`,`sloc_dotation_consommee`,`sloc_dotation_consommee2`) VALUES 
 (1,'DAF','Direction Affaires Financières','0.00','0.00','0.00','0.00'),
 (2,'DBS','Direction Bâtiment et Sécurité','0.00','0.00','0.00','0.00'),
 (4,'ST','Service Technique','500.00','3279.76','285.00','1869.47'),
 (5,'COMPTA','Comptabilité','0.00','0.00','0.00','0.00'),
 (6,'ADG','Administration / Gestion','150.00','983.93','0.00','0.00'),
 (7,'MARKET','Marketing','0.00','0.00','0.00','0.00'),
 (8,'FINANCES','Direction financière','0.00','0.00','0.00','0.00'),
 (9,'LOG','Logistique','0.00','0.00','0.00','0.00'),
 (10,'EXPORT','Export','0.00','0.00','0.00','0.00'),
 (11,'CLIENT','Clientèle','300.00','1967.86','296.90','1947.52'),
 (12,'COMMUN','Locaux communs','0.00','0.00','0.00','0.00'),
 (13,'CANON','CANON','200.00','1311.91','195.94','1285.27'),
 (14,'TELE MK','TELE MARKET','0.00','0.00','0.00','0.00'),
 (15,'MSA','MSA','1000.00','6559.53','20.85','136.77'),
 (16,'HP','Hewlett Packard','0.00','0.00','0.00','0.00');


--
-- Definition of table `tmp_typeoperation`
--

CREATE TABLE `tmp_typeoperation` (
  `tope_seq` int(11) NOT NULL default '0',
  `tope_code` char(2) NOT NULL default '',
  `tope_libelle` varchar(30) NOT NULL default '',
  `tope_ordre` int(11) NOT NULL default '0',
  UNIQUE KEY `TOPE_SEQ` (`tope_seq`),
  KEY `TOPE_CODE` (`tope_code`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_typeoperation`
--

INSERT INTO `tmp_typeoperation` (`tope_seq`,`tope_code`,`tope_libelle`,`tope_ordre`) VALUES 
 (1,'PS','Préventif systématique',1),
 (2,'PC','Préventif conditionnel',2),
 (3,'CO','Correctif',0),
 (4,'TO','Tournée',4),
 (7,'CU','Correctif Urgent',3),
 (12,'TN','Travaux neufs',6),
 (13,'TR','Travaux renouvellement',7);


--
-- Definition of table `tmp_wf_avance_circuit`
--

CREATE TABLE `tmp_wf_avance_circuit` (
  `wfai_seq` int(11) NOT NULL auto_increment,
  `wfai_libelle` varchar(30) NOT NULL default '',
  `wfai_regroupement` tinyint(1) default NULL,
  `wfai_opge_fk` int(11) default NULL,
  `wfai_etat` tinyint(1) default NULL,
  `wfai_datefinmax` date default NULL,
  `wfai_wfci_fk` int(11) default NULL,
  PRIMARY KEY  (`wfai_seq`)
) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_wf_avance_circuit`
--

INSERT INTO `tmp_wf_avance_circuit` (`wfai_seq`,`wfai_libelle`,`wfai_regroupement`,`wfai_opge_fk`,`wfai_etat`,`wfai_datefinmax`,`wfai_wfci_fk`) VALUES 
 (53,'circuit par etape',1,533,2,'0000-00-00',NULL),
 (54,'circuit par etape',1,536,2,'0000-00-00',NULL),
 (55,'circuit par etape',1,537,2,'0000-00-00',NULL),
 (56,'circuit par etape',1,539,2,'0000-00-00',NULL),
 (57,'circuit par etape',1,540,2,'0000-00-00',NULL),
 (58,'circuit par etape',1,541,2,'0000-00-00',NULL),
 (59,'circuit par etape',1,542,2,'0000-00-00',NULL),
 (60,'circuit par etape',1,543,2,'0000-00-00',NULL),
 (61,'circuit par etape',1,544,2,'0000-00-00',NULL),
 (62,'circuit par etape',1,545,2,'0000-00-00',NULL),
 (63,'circuit par etape',1,546,2,'0000-00-00',NULL),
 (64,'circuit par etape',1,547,2,'0000-00-00',NULL),
 (65,'circuit par etape',1,548,2,'0000-00-00',NULL),
 (66,'circuit par etape',1,549,2,'0000-00-00',NULL),
 (67,'circuit par etape',1,550,2,'0000-00-00',NULL),
 (68,'circuit simple',0,586,2,'0000-00-00',NULL),
 (69,'circuit simple',0,601,2,'0000-00-00',NULL),
 (70,'circuit simple',0,602,2,'0000-00-00',NULL),
 (71,'circuit simple',0,603,1,'0000-00-00',NULL),
 (72,'circuit par etape',1,604,1,'0000-00-00',NULL),
 (73,'circuit simple',0,605,2,'0000-00-00',NULL),
 (74,'circuit simple',0,607,2,'0000-00-00',NULL),
 (75,'circuit par etape',1,609,2,'0000-00-00',32),
 (76,'circuit simple',0,610,2,'0000-00-00',31),
 (77,'circuit 3',0,611,1,'0000-00-00',33),
 (78,'circuit simple',0,612,2,'0000-00-00',31),
 (79,'circuit simple',0,613,2,'0000-00-00',31),
 (80,'circuit simple',0,614,2,'0000-00-00',31),
 (81,'circuit simple',0,615,2,'0000-00-00',31),
 (82,'circuit simple',0,616,2,'0000-00-00',31),
 (83,'circuit par etape',1,617,1,'0000-00-00',32),
 (84,'circuit par etape',1,618,1,'0000-00-00',32),
 (85,'circuit 3',0,619,1,'0000-00-00',33),
 (86,'circuit 3',0,620,1,'0000-00-00',33),
 (87,'circuit simple',0,621,1,'0000-00-00',31),
 (88,'circuit simple',0,622,1,'0000-00-00',31),
 (89,'circuit simple',0,623,2,'0000-00-00',31),
 (90,'circuit par etape',1,624,1,'0000-00-00',32),
 (91,'circuit par etape',1,625,1,'0000-00-00',32),
 (92,'circuit simple',0,626,2,'0000-00-00',31),
 (93,'circuit simple',0,627,2,'0000-00-00',31),
 (95,'circuit par etape',1,628,1,'0000-00-00',32),
 (100,'circuit simple',0,629,1,'0000-00-00',31),
 (101,'circuit simple',0,630,1,'0000-00-00',31),
 (102,'circuit simple',0,633,1,'0000-00-00',31);


--
-- Definition of table `tmp_wf_avance_etape`
--

CREATE TABLE `tmp_wf_avance_etape` (
  `wfae_seq` int(11) NOT NULL auto_increment,
  `wfae_wfai_fk` int(11) NOT NULL default '0',
  `wfae_etat` tinyint(2) default NULL,
  `wfae_datelimite` date default NULL,
  `wfae_libelle` varchar(30) default NULL,
  `wfae_numetape` tinyint(3) default NULL,
  `wfae_precedent_wfae_fk` int(11) default NULL,
  PRIMARY KEY  (`wfae_seq`)
) ENGINE=MyISAM AUTO_INCREMENT=431 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_wf_avance_etape`
--

INSERT INTO `tmp_wf_avance_etape` (`wfae_seq`,`wfae_wfai_fk`,`wfae_etat`,`wfae_datelimite`,`wfae_libelle`,`wfae_numetape`,`wfae_precedent_wfae_fk`) VALUES 
 (333,53,2,NULL,'devis',1,0),
 (334,53,2,NULL,'info',2,0),
 (335,53,2,NULL,'validation',3,0),
 (336,54,2,NULL,'devis',1,0),
 (337,54,2,NULL,'info',2,0),
 (338,54,2,NULL,'validation',3,0),
 (339,55,2,NULL,'devis',1,0),
 (340,55,2,NULL,'info',2,0),
 (341,55,2,NULL,'validation',3,0),
 (342,56,2,NULL,'devis',1,0),
 (343,56,2,NULL,'info',2,0),
 (344,56,2,NULL,'validation',3,0),
 (345,57,2,NULL,'devis',1,0),
 (346,57,2,NULL,'info',2,0),
 (347,57,2,NULL,'validation',3,0),
 (348,58,2,NULL,'devis',1,0),
 (349,58,2,NULL,'info',2,0),
 (350,58,2,NULL,'validation',3,0),
 (351,59,2,NULL,'devis',1,0),
 (352,59,2,NULL,'info',2,0),
 (353,59,2,NULL,'validation',3,0),
 (354,60,2,NULL,'devis',1,0),
 (355,60,2,NULL,'info',2,0),
 (356,60,2,NULL,'validation',3,0),
 (357,61,2,NULL,'devis',1,0),
 (358,61,2,NULL,'info',2,0),
 (359,61,2,NULL,'validation',3,0),
 (360,62,2,NULL,'devis',1,0),
 (361,62,2,NULL,'info',2,0),
 (362,62,2,NULL,'validation',3,0),
 (363,63,2,NULL,'devis',1,0),
 (364,63,2,NULL,'info',2,0),
 (365,63,2,NULL,'validation',3,0),
 (366,64,2,NULL,'devis',1,0),
 (367,64,2,NULL,'info',2,0),
 (368,64,2,NULL,'validation',3,0),
 (369,65,2,NULL,'devis',1,0),
 (370,65,2,NULL,'info',2,0),
 (371,65,2,NULL,'validation',3,0),
 (372,66,2,NULL,'devis',1,0),
 (373,66,2,NULL,'info',2,0),
 (374,66,2,NULL,'validation',3,0),
 (375,67,2,NULL,'devis',1,0),
 (376,67,2,NULL,'info',2,0),
 (377,67,2,NULL,'validation',3,0),
 (378,68,2,NULL,'Simple',1,0),
 (379,69,2,NULL,'Simple',1,0),
 (380,70,2,NULL,'Simple',1,0),
 (381,71,2,NULL,'Simple',1,0),
 (382,72,2,NULL,'devis',1,0),
 (383,72,2,NULL,'information',2,0),
 (384,72,2,NULL,'validation',3,0),
 (385,73,2,NULL,'Simple',1,0),
 (386,74,2,NULL,'Simple',1,0),
 (387,75,2,NULL,'devis',1,0),
 (388,75,2,NULL,'information',2,0),
 (389,75,2,NULL,'validation',3,0),
 (390,76,2,NULL,'Simple',1,0),
 (391,77,1,NULL,'Simple',1,0),
 (392,78,2,NULL,'Simple',1,0),
 (393,79,2,NULL,'Simple',1,0),
 (394,80,2,NULL,'Simple',1,0),
 (395,81,2,NULL,'Simple',1,0),
 (396,82,2,NULL,'Simple',1,0),
 (397,83,2,NULL,'devis',1,0),
 (398,83,2,NULL,'information',2,0),
 (399,83,1,NULL,'validation',3,0),
 (400,84,1,NULL,'devis',1,0),
 (401,84,1,NULL,'information',2,0),
 (402,84,1,NULL,'validation',3,0),
 (403,85,1,NULL,'Simple',1,0),
 (404,86,1,NULL,'Simple',1,0),
 (405,87,1,NULL,'Simple',1,0),
 (406,88,1,NULL,'Simple',1,0),
 (407,89,2,NULL,'Simple',1,0),
 (408,90,2,NULL,'Consultation initiale',1,0),
 (409,90,2,NULL,'ComplÃ©ments d\'Info',2,0),
 (410,90,1,NULL,'Validation finale',3,0),
 (411,91,1,NULL,'Consultation initiale',1,0),
 (412,91,1,NULL,'ComplÃ©ments d\'Info',2,0),
 (413,91,1,NULL,'Validation finale',3,0),
 (414,92,2,NULL,'Simple',1,0),
 (415,93,2,NULL,'Simple',1,0),
 (417,95,1,NULL,'Consultation initiale',1,0),
 (418,95,1,NULL,'ComplÃ©ments d\'Info',2,0),
 (419,95,1,NULL,'Validation finale',3,0),
 (429,101,1,NULL,'Simple',1,0),
 (430,102,1,NULL,'Simple',1,0),
 (428,100,1,NULL,'Simple',1,0);


--
-- Definition of table `tmp_wf_avance_presta`
--

CREATE TABLE `tmp_wf_avance_presta` (
  `wfap_seq` int(11) NOT NULL auto_increment,
  `wfap_wfae_fk` int(11) NOT NULL default '0',
  `wfap_zus_inscrit_fk` int(11) default '0',
  `wfap_etat` tinyint(2) default NULL,
  `wfap_date` date default NULL,
  `wfap_heure` time default NULL,
  `wfap_detail` text,
  `wfap_valeur` varchar(10) default NULL,
  `wfap_niveau` tinyint(2) default '1',
  `wfap_numpresta` int(3) default NULL,
  `wfap_numprestapere` varchar(30) default NULL,
  `wfap_libelle` varchar(50) default NULL,
  `wfap_typedonnee` varchar(15) default NULL,
  `wfap_info` text,
  `wfap_wfap_fk` int(11) default NULL,
  `wfap_effet_validation` tinyint(2) default '0',
  `wfap_datecreation` date default NULL,
  `wfap_heurecreation` time default NULL,
  `wfap_zus_afairepar_fk` int(11) default NULL,
  `wfap_dem_afairepar_fk` int(11) default NULL,
  `wfap_cont_afairepar_fk` int(11) default NULL,
  `wfap_afairepar` varchar(60) default NULL,
  `wfap_zus_realisepar_fk` int(11) default NULL,
  `wfap_afairepar_mail` varchar(100) default NULL,
  `wfap_confidentiel` tinyint(1) default NULL,
  `wfap_date_premiere_consult` date default NULL,
  `wfap_heure_premiere_consult` time default NULL,
  `wfap_effet_refus` tinyint(2) default '0',
  `wfap_effet_survalidation` tinyint(2) default '0',
  `wfap_effet_surrefus` tinyint(2) default '0',
  `wfap_precedent_wfap_fk` int(11) default NULL,
  `wfap_zus_surval_fk` int(11) default NULL,
  `wfap_surval_mail` varchar(100) default NULL,
  `wfap_detailvalidation` text,
  `wfap_zus_avaliderpar_fk` int(11) default NULL,
  `wfap_zus_validepar_fk` int(11) default NULL,
  `wfap_datevalidation` date default NULL,
  `wfap_heurevalidation` time default NULL,
  PRIMARY KEY  (`wfap_seq`)
) ENGINE=MyISAM AUTO_INCREMENT=1084 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tmp_wf_avance_presta`
--

INSERT INTO `tmp_wf_avance_presta` (`wfap_seq`,`wfap_wfae_fk`,`wfap_zus_inscrit_fk`,`wfap_etat`,`wfap_date`,`wfap_heure`,`wfap_detail`,`wfap_valeur`,`wfap_niveau`,`wfap_numpresta`,`wfap_numprestapere`,`wfap_libelle`,`wfap_typedonnee`,`wfap_info`,`wfap_wfap_fk`,`wfap_effet_validation`,`wfap_datecreation`,`wfap_heurecreation`,`wfap_zus_afairepar_fk`,`wfap_dem_afairepar_fk`,`wfap_cont_afairepar_fk`,`wfap_afairepar`,`wfap_zus_realisepar_fk`,`wfap_afairepar_mail`,`wfap_confidentiel`,`wfap_date_premiere_consult`,`wfap_heure_premiere_consult`,`wfap_effet_refus`,`wfap_effet_survalidation`,`wfap_effet_surrefus`,`wfap_precedent_wfap_fk`,`wfap_zus_surval_fk`,`wfap_surval_mail`,`wfap_detailvalidation`,`wfap_zus_avaliderpar_fk`,`wfap_zus_validepar_fk`,`wfap_datevalidation`,`wfap_heurevalidation`) VALUES 
 (907,333,0,2,'2007-10-15','15:20:30','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-05','17:14:40',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-07-12','12:52:15',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (908,334,0,2,'2007-10-15','15:20:38','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-05','17:14:40',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:20:35',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (909,335,0,2,'2007-10-15','15:20:44','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-05','17:14:40',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:20:42',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (910,336,0,2,'2007-10-15','15:21:34','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:51:24',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:30',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (911,337,0,2,'2007-10-15','15:21:40','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:51:24',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:38',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (912,338,0,2,'2007-10-15','15:21:47','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:51:24',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:45',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (913,339,0,2,'2007-10-15','15:22:18','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:52:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:22:16',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (914,340,0,2,'2007-10-15','15:23:03','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:52:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:01',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (915,341,0,2,'2007-10-15','15:23:09','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','13:52:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:06',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (916,342,0,2,'2007-10-15','15:35:01','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:05:25',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:34:58',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (917,343,0,2,'2007-10-15','15:35:07','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:05:25',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:05',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (918,344,0,2,'2007-10-15','15:35:13','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:05:25',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:11',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (919,345,0,2,'2007-10-15','15:35:40','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:31:27',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:36',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (920,346,0,2,'2007-10-15','15:35:46','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:31:27',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:44',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (921,347,0,2,'2007-10-15','15:35:51','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-08','14:31:27',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:49',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (922,348,0,2,'2007-10-15','15:20:52','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:34:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:20:48',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (923,349,0,2,'2007-10-15','15:20:58','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:34:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:20:56',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (924,350,0,2,'2007-10-15','15:21:04','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:34:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:02',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (925,351,0,2,'2007-10-15','15:21:14','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:41:42',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:11',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (926,352,0,2,'2007-10-15','15:21:19','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:41:42',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:17',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (927,353,0,2,'2007-10-15','15:21:25','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','10:41:42',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:22',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (928,354,0,2,'2007-10-15','15:21:54','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:00:56',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:52',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (929,355,0,2,'2007-10-15','15:22:02','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:00:56',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:21:59',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (930,356,0,2,'2007-10-15','15:22:11','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:00:56',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:22:07',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (931,357,0,2,'2007-10-15','15:23:15','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:05:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:13',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (932,358,0,2,'2007-10-15','15:23:21','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:05:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:18',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (933,359,0,2,'2007-10-15','15:23:28','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:05:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:24',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (934,360,0,2,'2007-10-15','15:23:34','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:06:23',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:23:31',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (935,361,0,2,'2007-10-15','15:34:40','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:06:23',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:34:38',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (936,362,0,2,'2007-10-15','15:34:54','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:06:23',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:34:52',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (937,363,0,2,'2007-10-15','15:35:19','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:07:01',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:17',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (938,364,0,2,'2007-10-15','15:35:26','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:07:01',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:23',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (939,365,0,2,'2007-10-15','15:35:31','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:07:01',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:29',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (940,366,0,2,'2007-10-15','15:35:57','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:12:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:35:55',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (941,367,0,2,'2007-10-15','15:36:03','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:12:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:01',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (942,368,0,2,'2007-10-15','15:36:08','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:12:28',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:06',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (943,369,0,2,'2007-10-15','15:36:15','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:13:51',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:13',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (944,370,0,2,'2007-10-15','15:36:21','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:13:51',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:18',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (945,371,0,2,'2007-10-15','15:36:26','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:13:51',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:24',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (946,372,0,2,'2007-10-15','15:36:47','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:14:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:36:32',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (947,373,0,2,'2007-10-15','15:37:07','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:14:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:05',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (948,374,0,2,'2007-10-15','15:37:02','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:14:37',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:00',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (949,375,0,2,'2007-10-15','15:37:19','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:25:36',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:17',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (950,376,0,2,'2007-10-15','15:37:24','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:25:36',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:22',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (951,377,0,2,'2007-10-15','15:37:29','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-06-19','11:25:36',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:27',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (952,378,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-08-22','13:07:24',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (953,378,15,2,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-08-22','13:07:24',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (954,378,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-08-22','13:07:24',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,953,0,'',NULL,NULL,NULL,NULL,NULL),
 (955,378,0,2,NULL,NULL,NULL,NULL,1,4,NULL,'Action requested','is_action',NULL,NULL,0,'2007-08-22','13:07:24',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (956,378,0,2,'2007-10-15','15:37:13','','1',1,5,NULL,'Validation','is_validation',NULL,NULL,1,'2007-08-22','13:07:24',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:11',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (957,379,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:09:15',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,'2007-10-15','15:22:57',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (958,379,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:09:15',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,957,0,'',NULL,NULL,NULL,NULL,NULL),
 (959,379,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-05','12:09:15',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (960,379,0,2,'2007-10-15','15:36:57','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:09:15',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:22:26',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (961,380,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:10:36',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,'2007-10-05','12:28:36',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (962,380,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:10:36',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,961,0,'',NULL,NULL,NULL,NULL,NULL),
 (963,380,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-05','12:10:36',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (964,380,0,2,'2007-10-15','15:38:07','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:10:36',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:22:33',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (965,381,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:14:41',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,'2007-10-05','12:17:15',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (966,381,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-05','12:14:41',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2007-10-05','12:21:31',0,0,0,965,0,'',NULL,NULL,NULL,NULL,NULL),
 (967,381,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-05','12:14:41',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (968,381,0,2,'2007-10-15','15:38:14','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:14:41',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:38:11',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (969,382,0,2,'2007-10-15','15:38:24','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:15:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:38:21',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (970,383,0,2,'2007-10-15','15:38:29','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:15:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:38:27',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (971,384,0,2,'2007-10-15','15:38:48','','1',1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-05','12:15:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:38:46',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (972,384,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-05','12:15:43',13,NULL,NULL,'PARENTEAU Marc',NULL,'',0,NULL,NULL,0,0,0,971,0,'',NULL,NULL,NULL,NULL,NULL),
 (973,384,0,2,'2007-10-15','15:38:41','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-05','12:15:43',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:38:33',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (974,381,1718,2,NULL,NULL,NULL,NULL,2,1,'1','Validation devis','is_devis',NULL,965,0,'2007-10-05','12:17:38',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (975,380,0,2,NULL,NULL,NULL,'6',2,1,'1','Validation devis','is_devis',NULL,961,0,'2007-10-05','13:33:20',NULL,NULL,NULL,NULL,NULL,NULL,0,'2007-10-05','13:33:21',0,0,0,NULL,NULL,NULL,'',NULL,0,'2007-10-05','13:33:35'),
 (976,385,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-09','08:28:40',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,'2007-10-09','09:04:27',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (977,385,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-09','08:28:40',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,976,0,'',NULL,NULL,NULL,NULL,NULL),
 (978,385,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-09','08:28:40',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (979,385,0,2,'2007-10-15','15:37:35','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-09','08:28:40',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:33',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (980,385,15,2,NULL,NULL,NULL,NULL,2,1,'1','Validation devis','is_devis',NULL,976,0,'2007-10-09','09:11:21',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (981,386,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-09','10:12:13',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',1,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (982,386,0,2,NULL,NULL,NULL,NULL,1,2,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-09','10:12:13',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,981,0,'',NULL,NULL,NULL,NULL,NULL),
 (983,386,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-09','10:12:13',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (984,386,0,2,'2007-10-15','15:37:43','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-09','10:12:13',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:40',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (985,387,15,2,NULL,NULL,NULL,NULL,1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-15','14:49:41',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (986,387,0,2,'2007-10-15','15:37:56','','1',1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','14:49:41',1718,NULL,NULL,'SAM Administrateur',15,'adm@sitealpha.ca',0,'2007-10-15','15:37:54',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (987,388,0,2,'2007-10-15','15:37:51','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','14:49:41',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:48',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (988,389,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-15','14:49:41',13,NULL,NULL,'PARENTEAU Marc',NULL,'',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (989,389,0,2,'2007-10-15','15:38:01','','1',1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','14:49:41',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:37:59',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (990,390,0,2,'2007-10-15','15:06:27','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','14:50:07',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:05:38',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (991,390,1718,2,'2007-10-15','15:08:33','','3',1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','14:50:07',13,NULL,NULL,'PARENTEAU Marc',1718,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,990,0,'',NULL,NULL,NULL,NULL,NULL),
 (992,390,0,2,NULL,NULL,NULL,NULL,1,3,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-15','14:50:07',13,NULL,NULL,'PARENTEAU Marc',NULL,'bb',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (993,390,0,2,'2007-10-15','15:39:49','','1',1,4,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','14:50:07',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:08:40',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (994,391,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','14:57:59',82,NULL,NULL,'ol ol',NULL,'',1,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (995,391,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','14:57:59',13,NULL,NULL,'PARENTEAU Marc',NULL,'',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (996,390,1718,2,'2007-10-15','15:39:32','','3',2,1,'4','Validation devis','is_devis',NULL,993,0,'2007-10-15','15:08:56',1718,NULL,NULL,'SAM Administrateur',1718,'c.beaulieu@compagnie.ca',0,'2007-10-15','15:39:29',0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (997,392,0,2,'2007-10-15','15:46:10','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','15:42:17',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:45:55',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (998,392,1718,2,'2007-10-15','15:51:14','','3',1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','15:42:17',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','15:50:32',0,0,0,997,0,'',NULL,NULL,NULL,NULL,NULL),
 (999,392,0,2,'2007-10-15','17:01:37','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','15:42:17',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','16:51:06',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1000,393,0,2,'2007-10-15','16:19:54','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','16:14:13',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','16:19:47',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1001,393,1718,2,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','16:14:13',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1000,0,'',NULL,NULL,NULL,NULL,NULL),
 (1002,393,0,2,'2007-10-15','17:01:45','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:14:13',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','16:19:40',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1003,394,0,2,'2007-10-15','16:42:46','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','16:34:52',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','16:42:43',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1004,394,1718,2,'2007-10-15','16:43:07','','3',1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','16:34:52',0,NULL,NULL,'',1718,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1003,0,'',NULL,NULL,NULL,NULL,NULL),
 (1005,394,0,2,'2007-10-15','16:43:13','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:34:52',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','16:43:09',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1006,395,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','16:41:11',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1007,395,1718,2,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','16:41:11',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1006,0,'',NULL,NULL,NULL,NULL,NULL),
 (1008,395,0,2,'2007-10-15','17:01:55','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:41:11',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','17:01:52',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1009,396,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-15','16:41:41',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2007-10-15','17:02:12',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1010,396,1718,2,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-15','16:41:41',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1009,0,'',NULL,NULL,NULL,NULL,NULL),
 (1011,396,0,2,'2007-10-15','17:02:20','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:41:41',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','17:02:17',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1012,397,1718,2,'2007-10-15','17:00:41','','3',1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-15','16:54:18',0,NULL,NULL,'',1718,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1013,397,0,2,'2007-10-15','17:01:04','','1',1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:18',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','17:01:01',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1014,398,0,2,'2007-10-15','17:03:03','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:18',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-15','17:02:58',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1015,399,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-15','16:54:18',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:13:33',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1016,399,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:18',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:13:34',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1017,400,1718,1,NULL,NULL,NULL,NULL,1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-15','16:54:38',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1018,400,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:38',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1019,401,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:38',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1020,402,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-15','16:54:38',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:09:58',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1021,402,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-15','16:54:38',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:10:00',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1022,403,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-16','08:12:51',82,NULL,NULL,'ol ol',NULL,'',1,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1023,403,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','08:12:51',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:21',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1024,404,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-16','08:13:40',82,NULL,NULL,'ol ol',NULL,'',1,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1025,404,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','08:13:40',13,NULL,NULL,'PARENTEAU Marc',NULL,'',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1026,405,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-16','08:54:48',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:26',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1027,405,1718,0,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-16','08:54:48',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1026,0,'',NULL,NULL,NULL,NULL,NULL),
 (1028,405,0,1,NULL,NULL,NULL,NULL,1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','08:54:48',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:29',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1029,406,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-16','08:56:16',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:35',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1030,406,1718,0,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-16','08:56:16',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1029,0,'',NULL,NULL,NULL,NULL,NULL),
 (1031,406,0,1,NULL,NULL,NULL,NULL,1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','08:56:16',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1032,407,0,2,'2007-10-16','15:34:29','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-16','15:34:08',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-16','15:34:24',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1033,407,1718,2,'2007-10-16','15:35:02','','3',1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-16','15:34:08',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-16','15:34:55',0,0,0,1032,0,'',NULL,NULL,NULL,NULL,NULL),
 (1034,407,0,2,'2007-10-16','15:38:35','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:34:08',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-16','15:38:32',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1035,408,1718,2,'2007-10-16','15:45:47','','3',1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-16','15:44:57',0,NULL,NULL,'',1718,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1036,408,0,2,'2007-10-16','15:45:53','','1',1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:44:57',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-16','15:45:49',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1037,409,0,2,'2007-10-16','15:45:59','','1',1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:44:57',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-16','15:45:55',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1038,410,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-16','15:44:57',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:57',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1039,410,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:44:57',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:11:59',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1040,411,1780,1,NULL,NULL,NULL,NULL,1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-16','15:53:56',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1041,411,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:53:56',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1042,412,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:53:56',1780,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','14:40:29',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1043,413,1780,1,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-16','15:53:56',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:12:34',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1044,413,1780,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-16','15:53:56',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:12:36',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1045,414,0,2,'2007-10-17','15:58:42','','1',1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-17','15:55:30',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-17','15:58:38',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1046,414,1718,2,'2007-10-17','15:59:03','','3',1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-17','15:55:30',0,NULL,NULL,'',1718,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1045,0,'',NULL,NULL,NULL,NULL,NULL),
 (1047,414,0,2,'2007-10-17','15:59:09','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-17','15:55:30',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-17','15:59:06',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1048,415,0,2,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-17','17:28:31',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1049,415,1718,2,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-17','17:28:31',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1048,0,'',NULL,NULL,NULL,NULL,NULL),
 (1050,415,0,2,'2007-10-17','17:30:36','','1',1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-17','17:28:31',1718,NULL,NULL,'SAM Administrateur',1718,'adm@sitealpha.ca',0,'2007-10-17','17:30:30',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1056,418,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-18','10:06:11',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:12:59',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1054,417,1718,1,NULL,NULL,NULL,NULL,1,1,NULL,'devis','is_devis',NULL,NULL,0,'2007-10-18','10:06:11',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1055,417,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-18','10:06:11',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:12:56',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1057,419,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Action requested','is_action',NULL,NULL,0,'2007-10-18','10:06:11',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:13:04',0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1058,419,0,1,NULL,NULL,NULL,NULL,1,2,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-18','10:06:11',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,'2009-06-02','15:13:06',1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1079,429,1718,0,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-24','09:53:32',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1078,0,'',NULL,NULL,NULL,NULL,NULL),
 (1078,429,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-24','09:53:32',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1077,428,0,1,NULL,NULL,NULL,NULL,1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-18','10:19:28',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1076,428,15,0,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-18','10:19:28',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1075,0,'',NULL,NULL,NULL,NULL,NULL),
 (1075,428,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-18','10:19:28',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1080,429,0,1,NULL,NULL,NULL,NULL,1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-24','09:53:32',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1081,430,0,1,NULL,NULL,NULL,NULL,1,1,NULL,'Demande d\'action','is_action',NULL,NULL,0,'2007-10-24','09:55:45',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,0,0,'',NULL,NULL,NULL,NULL,NULL),
 (1082,430,15,0,NULL,NULL,NULL,NULL,1,2,NULL,'Devis','is_devis',NULL,NULL,0,'2007-10-24','09:55:45',0,NULL,NULL,'',NULL,'adm@sitealpha.ca',0,NULL,NULL,0,0,0,1081,0,'',NULL,NULL,NULL,NULL,NULL),
 (1083,430,0,1,NULL,NULL,NULL,NULL,1,3,NULL,'Validation','is_validation',NULL,NULL,1,'2007-10-24','09:55:45',1718,NULL,NULL,'SAM Administrateur',NULL,'adm@sitealpha.ca',0,NULL,NULL,1,1,1,0,0,'',NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `tmp_wf_circuit`
--

