CREATE TABLE `llx_facturedet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facturedet_rec`
--

CREATE TABLE `llx_facturedet_rec` (
  `rowid` int(11) NOT NULL,
  `fk_facture` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `product_type` int(11) DEFAULT '0',
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `tva_tx` double(6,3) DEFAULT '19.600',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `special_code` int(10) UNSIGNED DEFAULT '0',
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture_extrafields`
--

CREATE TABLE `llx_facture_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture_fourn`
--

CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(30) DEFAULT NULL,
  `ref_supplier` varchar(50) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(30) DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `libelle` varchar(255) DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double(24,8) DEFAULT '0.00000000',
  `close_code` varchar(16) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture_fourn_det`
--

CREATE TABLE `llx_facture_fourn_det` (
  `rowid` int(11) NOT NULL,
  `fk_facture_fourn` int(11) NOT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture_fourn_extrafields`
--

CREATE TABLE `llx_facture_fourn_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture_rec`
--

CREATE TABLE `llx_facture_rec` (
  `rowid` int(11) NOT NULL,
  `titre` varchar(50) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT '0',
  `fk_mode_reglement` int(11) DEFAULT '0',
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `usenewprice` int(11) DEFAULT '0',
  `frequency` int(11) DEFAULT NULL,
  `unit_frequency` varchar(2) DEFAULT 'd',
  `date_when` datetime DEFAULT NULL,
  `date_last_gen` datetime DEFAULT NULL,
  `nb_gen_done` int(11) DEFAULT NULL,
  `nb_gen_max` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_facture_rec`
--

INSERT INTO `llx_facture_rec` (`rowid`, `titre`, `entity`, `fk_soc`, `datec`, `amount`, `remise`, `remise_percent`, `remise_absolue`, `tva`, `localtax1`, `localtax2`, `total`, `total_ttc`, `fk_user_author`, `fk_projet`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `note_private`, `note_public`, `usenewprice`, `frequency`, `unit_frequency`, `date_when`, `date_last_gen`, `nb_gen_done`, `nb_gen_max`) VALUES
(1, 'envoie', 1, 68, '2018-04-18 14:24:09', 0.00000000, 0, 0, 0, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 4, NULL, 1, 0, NULL, NULL, NULL, 0, NULL, 'd', NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_fichinter`
--

CREATE TABLE `llx_fichinter` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT '0',
  `fk_contrat` int(11) DEFAULT '0',
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `datei` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `duree` double DEFAULT NULL,
  `description` text,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_fichinterdet`
--

CREATE TABLE `llx_fichinterdet` (
  `rowid` int(11) NOT NULL,
  `fk_fichinter` int(11) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `description` text,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_fichinter_extrafields`
--

CREATE TABLE `llx_fichinter_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_holiday`
--

CREATE TABLE `llx_holiday` (
  `rowid` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `date_create` datetime NOT NULL,
  `description` varchar(255) NOT NULL,
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `halfday` int(11) DEFAULT '0',
  `statut` int(11) NOT NULL DEFAULT '1',
  `fk_validator` int(11) NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `detail_refuse` varchar(250) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `fk_user_create` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_holiday_config`
--

CREATE TABLE `llx_holiday_config` (
  `rowid` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `value` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_holiday_config`
--

INSERT INTO `llx_holiday_config` (`rowid`, `name`, `value`) VALUES
(1, 'userGroup', NULL),
(2, 'lastUpdate', '20150427135444'),
(3, 'nbUser', '8'),
(4, 'delayForRequest', '31'),
(5, 'AlertValidatorDelay', '0'),
(6, 'AlertValidatorSolde', '0'),
(7, 'nbHolidayDeducted', '1'),
(8, 'nbHolidayEveryMonth', '2.08334');

-- --------------------------------------------------------

--
-- Structure de la table `llx_holiday_events`
--

CREATE TABLE `llx_holiday_events` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `name` varchar(255) NOT NULL,
  `value` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_holiday_logs`
--

CREATE TABLE `llx_holiday_logs` (
  `rowid` int(11) NOT NULL,
  `date_action` datetime NOT NULL,
  `fk_user_action` int(11) NOT NULL,
  `fk_user_update` int(11) NOT NULL,
  `type_action` varchar(255) NOT NULL,
  `prev_solde` varchar(255) NOT NULL,
  `new_solde` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_holiday_users`
--

CREATE TABLE `llx_holiday_users` (
  `fk_user` int(11) NOT NULL,
  `nb_holiday` double NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_holiday_users`
--

INSERT INTO `llx_holiday_users` (`fk_user`, `nb_holiday`) VALUES
(1, 0),
(2, 0),
(3, 0),
(4, 0),
(5, 0),
(6, 0),
(7, 0),
(8, 0);

-- --------------------------------------------------------

--
-- Structure de la table `llx_import_model`
--

CREATE TABLE `llx_import_model` (
  `rowid` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL DEFAULT '0',
  `label` varchar(50) NOT NULL,
  `type` varchar(20) NOT NULL,
  `field` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_links`
--

CREATE TABLE `llx_links` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datea` datetime NOT NULL,
  `url` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `objecttype` varchar(255) NOT NULL,
  `objectid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_livraison`
--

CREATE TABLE `llx_livraison` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `ref_ext` varchar(30) DEFAULT NULL,
  `ref_int` varchar(30) DEFAULT NULL,
  `ref_customer` varchar(30) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` date DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_livraisondet`
--

CREATE TABLE `llx_livraisondet` (
  `rowid` int(11) NOT NULL,
  `fk_livraison` int(11) DEFAULT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `description` text,
  `qty` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_localtax`
--

CREATE TABLE `llx_localtax` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_mailing`
--

CREATE TABLE `llx_mailing` (
  `rowid` int(11) NOT NULL,
  `statut` smallint(6) DEFAULT '0',
  `titre` varchar(60) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `sujet` varchar(60) DEFAULT NULL,
  `body` mediumtext,
  `bgcolor` varchar(8) DEFAULT NULL,
  `bgimage` varchar(255) DEFAULT NULL,
  `cible` varchar(60) DEFAULT NULL,
  `nbemail` int(11) DEFAULT NULL,
  `email_from` varchar(160) DEFAULT NULL,
  `email_replyto` varchar(160) DEFAULT NULL,
  `email_errorsto` varchar(160) DEFAULT NULL,
  `tag` varchar(128) DEFAULT NULL,
  `date_creat` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_appro` datetime DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_appro` int(11) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `joined_file1` varchar(255) DEFAULT NULL,
  `joined_file2` varchar(255) DEFAULT NULL,
  `joined_file3` varchar(255) DEFAULT NULL,
  `joined_file4` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_mailing_cibles`
--

CREATE TABLE `llx_mailing_cibles` (
  `rowid` int(11) NOT NULL,
  `fk_mailing` int(11) NOT NULL,
  `fk_contact` int(11) NOT NULL,
  `lastname` varchar(160) DEFAULT NULL,
  `firstname` varchar(160) DEFAULT NULL,
  `email` varchar(160) NOT NULL,
  `other` varchar(255) DEFAULT NULL,
  `tag` varchar(128) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `source_url` varchar(160) DEFAULT NULL,
  `source_id` int(11) DEFAULT NULL,
  `source_type` varchar(16) DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_menu`
--

CREATE TABLE `llx_menu` (
  `rowid` int(11) NOT NULL,
  `menu_handler` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `module` varchar(64) DEFAULT NULL,
  `type` varchar(4) NOT NULL,
  `mainmenu` varchar(100) NOT NULL,
  `leftmenu` varchar(100) DEFAULT NULL,
  `fk_menu` int(11) NOT NULL,
  `fk_mainmenu` varchar(24) DEFAULT NULL,
  `fk_leftmenu` varchar(24) DEFAULT NULL,
  `position` int(11) NOT NULL,
  `url` varchar(255) NOT NULL,
  `target` varchar(100) DEFAULT NULL,
  `titre` varchar(255) NOT NULL,
  `langs` varchar(100) DEFAULT NULL,
  `level` smallint(6) DEFAULT NULL,
  `perms` varchar(255) DEFAULT NULL,
  `enabled` varchar(255) DEFAULT '1',
  `usertype` int(11) NOT NULL DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_menu`
--

INSERT INTO `llx_menu` (`rowid`, `menu_handler`, `entity`, `module`, `type`, `mainmenu`, `leftmenu`, `fk_menu`, `fk_mainmenu`, `fk_leftmenu`, `position`, `url`, `target`, `titre`, `langs`, `level`, `perms`, `enabled`, `usertype`, `tms`) VALUES
(1, 'all', 1, 'agenda', 'top', 'agenda', NULL, 0, NULL, NULL, 100, '/comm/action/index.php', '', 'Agenda', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(2, 'all', 1, 'agenda', 'left', 'agenda', NULL, 1, NULL, NULL, 100, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda', '', 'Actions', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(3, 'all', 1, 'agenda', 'left', 'agenda', NULL, 2, NULL, NULL, 101, '/comm/action/fiche.php?mainmenu=agenda&amp;leftmenu=agenda&amp;action=create', '', 'NewAction', 'commercial', NULL, '($user->rights->agenda->myactions->create||$user->rights->agenda->allactions->create)', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(4, 'all', 1, 'agenda', 'left', 'agenda', NULL, 2, NULL, NULL, 102, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda', '', 'Calendar', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(5, 'all', 1, 'agenda', 'left', 'agenda', NULL, 4, NULL, NULL, 103, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine', '', 'MenuToDoMyActions', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(6, 'all', 1, 'agenda', 'left', 'agenda', NULL, 4, NULL, NULL, 104, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine', '', 'MenuDoneMyActions', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(7, 'all', 1, 'agenda', 'left', 'agenda', NULL, 4, NULL, NULL, 105, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo', '', 'MenuToDoActions', 'agenda', NULL, '$user->rights->agenda->allactions->read', '$user->rights->agenda->allactions->read', 2, '2014-06-17 12:30:17'),
(8, 'all', 1, 'agenda', 'left', 'agenda', NULL, 4, NULL, NULL, 106, '/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done', '', 'MenuDoneActions', 'agenda', NULL, '$user->rights->agenda->allactions->read', '$user->rights->agenda->allactions->read', 2, '2014-06-17 12:30:17'),
(9, 'all', 1, 'agenda', 'left', 'agenda', NULL, 2, NULL, NULL, 112, '/comm/action/listactions.php?mainmenu=agenda&amp;leftmenu=agenda', '', 'List', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(10, 'all', 1, 'agenda', 'left', 'agenda', NULL, 9, NULL, NULL, 113, '/comm/action/listactions.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine', '', 'MenuToDoMyActions', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(11, 'all', 1, 'agenda', 'left', 'agenda', NULL, 9, NULL, NULL, 114, '/comm/action/listactions.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine', '', 'MenuDoneMyActions', 'agenda', NULL, '$user->rights->agenda->myactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(12, 'all', 1, 'agenda', 'left', 'agenda', NULL, 9, NULL, NULL, 115, '/comm/action/listactions.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo', '', 'MenuToDoActions', 'agenda', NULL, '$user->rights->agenda->allactions->read', '$user->rights->agenda->allactions->read', 2, '2014-06-17 12:30:17'),
(13, 'all', 1, 'agenda', 'left', 'agenda', NULL, 9, NULL, NULL, 116, '/comm/action/listactions.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done', '', 'MenuDoneActions', 'agenda', NULL, '$user->rights->agenda->allactions->read', '$user->rights->agenda->allactions->read', 2, '2014-06-17 12:30:17'),
(14, 'all', 1, 'agenda', 'left', 'agenda', NULL, 2, NULL, NULL, 120, '/comm/action/rapport/index.php?mainmenu=agenda&amp;leftmenu=agenda', '', 'Reportings', 'agenda', NULL, '$user->rights->agenda->allactions->read', '$conf->agenda->enabled', 2, '2014-06-17 12:30:17'),
(15, 'all', 1, 'ecm', 'top', 'ecm', NULL, 0, NULL, NULL, 100, '/ecm/index.php', '', 'MenuECM', 'ecm', NULL, '$user->rights->ecm->read || $user->rights->ecm->upload || $user->rights->ecm->setup', '$conf->ecm->enabled', 2, '2015-04-05 19:44:14'),
(16, 'all', 1, 'ecm', 'left', 'ecm', NULL, 15, NULL, NULL, 101, '/ecm/index.php', '', 'ECMArea', 'ecm', NULL, '$user->rights->ecm->read || $user->rights->ecm->upload', '$user->rights->ecm->read || $user->rights->ecm->upload', 2, '2015-04-05 19:44:14'),
(17, 'all', 1, 'ecm', 'left', 'ecm', NULL, 16, NULL, NULL, 100, '/ecm/docdir.php?action=create', '', 'ECMNewSection', 'ecm', NULL, '$user->rights->ecm->setup', '$user->rights->ecm->setup', 2, '2015-04-05 19:44:14'),
(18, 'all', 1, 'ecm', 'left', 'ecm', NULL, 16, NULL, NULL, 102, '/ecm/index.php?action=file_manager', '', 'ECMFileManager', 'ecm', NULL, '$user->rights->ecm->read || $user->rights->ecm->upload', '$user->rights->ecm->read || $user->rights->ecm->upload', 2, '2015-04-05 19:44:14'),
(19, 'all', 1, 'margins', 'left', 'accountancy', 'margins', -1, 'accountancy', NULL, 100, '/margin/index.php', '', 'Margins', 'margins', NULL, '1', '$user->rights->margins->liretous', 2, '2015-04-05 19:44:51');

-- --------------------------------------------------------

--
-- Structure de la table `llx_notify`
--

CREATE TABLE `llx_notify` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `daten` datetime DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `objet_type` varchar(24) NOT NULL,
  `objet_id` int(11) NOT NULL,
  `email` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_notify_def`
--

CREATE TABLE `llx_notify_def` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` date DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) DEFAULT 'email'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_opensurvey_comments`
--

CREATE TABLE `llx_opensurvey_comments` (
  `id_comment` int(10) UNSIGNED NOT NULL,
  `id_sondage` char(16) NOT NULL,
  `comment` text NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `usercomment` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_opensurvey_sondage`
--

CREATE TABLE `llx_opensurvey_sondage` (
  `id_sondage` varchar(16) NOT NULL,
  `id_sondage_admin` varchar(24) DEFAULT NULL,
  `commentaires` text,
  `mail_admin` varchar(128) DEFAULT NULL,
  `nom_admin` varchar(64) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `titre` text NOT NULL,
  `date_fin` datetime NOT NULL,
  `format` varchar(2) NOT NULL,
  `mailsonde` tinyint(4) NOT NULL DEFAULT '0',
  `survey_link_visible` int(11) DEFAULT '1',
  `canedit` int(11) DEFAULT '0',
  `origin` varchar(64) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `sujet` text,
  `entity` int(11) NOT NULL DEFAULT '1',
  `allow_comments` tinyint(4) NOT NULL DEFAULT '1',
  `allow_spy` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_opensurvey_user_studs`
--

CREATE TABLE `llx_opensurvey_user_studs` (
  `id_users` int(11) NOT NULL,
  `nom` varchar(64) NOT NULL,
  `id_sondage` varchar(16) NOT NULL,
  `reponses` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_paiement`
--

CREATE TABLE `llx_paiement` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_export_compta` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_paiement`
--

INSERT INTO `llx_paiement` (`rowid`, `entity`, `datec`, `tms`, `datep`, `amount`, `fk_paiement`, `num_paiement`, `note`, `fk_bank`, `fk_user_creat`, `fk_user_modif`, `statut`, `fk_export_compta`) VALUES
(1, 1, '2014-10-24 13:51:44', '2014-10-24 09:51:44', '2014-08-14 12:00:00', 848.00000000, 2, '', '', 2, 4, NULL, 0, 0),
(2, 1, '2014-10-24 13:52:37', '2014-10-24 09:52:37', '2014-07-29 12:00:00', 1216.00000000, 2, '', '', 3, 4, NULL, 0, 0),
(3, 1, '2014-10-24 13:53:21', '2014-10-24 09:53:21', '2014-08-04 12:00:00', 2550.00000000, 2, '', '', 4, 4, NULL, 0, 0),
(4, 1, '2014-10-24 13:55:32', '2014-10-24 09:55:32', '2014-08-12 12:00:00', 1625.00000000, 2, '', '', 5, 4, NULL, 0, 0),
(5, 1, '2014-10-24 13:56:23', '2014-10-24 09:56:23', '2014-08-14 12:00:00', 2210.00000000, 2, '', '', 6, 4, NULL, 0, 0),
(6, 1, '2014-10-24 14:11:51', '2014-10-24 10:11:51', '2014-08-27 12:00:00', 2178.00000000, 2, '', '', 7, 4, NULL, 0, 0),
(7, 1, '2014-11-17 14:32:13', '2014-11-17 10:32:13', '2014-11-17 12:00:00', 4158.00000000, 2, '', '', 8, 4, NULL, 0, 0),
(8, 1, '2014-11-17 14:33:31', '2014-11-17 10:33:31', '2014-10-28 12:00:00', 600.00000000, 2, '', '', 9, 4, NULL, 0, 0),
(9, 1, '2014-12-05 13:18:30', '2014-12-05 09:18:30', '2014-12-05 12:00:00', 2017.00000000, 2, '', '', 10, 4, NULL, 0, 0),
(10, 1, '2014-12-15 13:51:27', '2014-12-15 09:51:27', '2014-12-15 12:00:00', 304.92000000, 2, '', '', 11, 4, NULL, 0, 0),
(11, 1, '2014-12-15 13:52:08', '2014-12-15 09:52:08', '2014-12-15 12:00:00', 540.00000000, 2, '', '', 12, 4, NULL, 0, 0),
(12, 1, '2015-02-18 12:43:52', '2015-02-18 08:43:52', '2015-02-05 12:00:00', 532.40000000, 2, '', '', 13, 2, NULL, 0, 0),
(13, 1, '2015-02-18 12:47:17', '2015-02-18 08:47:17', '2015-01-28 12:00:00', 4701.00000000, 2, '', '', 14, 2, NULL, 0, 0),
(14, 1, '2015-02-18 12:50:01', '2015-02-18 08:50:01', '2014-11-28 12:00:00', 1275.00000000, 2, '', '', 15, 2, NULL, 0, 0),
(15, 1, '2015-02-18 12:52:07', '2015-02-18 08:52:08', '2014-10-29 12:00:00', 588.00000000, 2, '', '', 16, 2, NULL, 0, 0),
(16, 1, '2015-03-05 17:36:36', '2015-03-05 13:36:36', '2015-03-05 12:00:00', 5586.57000000, 2, '', '', 17, 2, NULL, 0, 0),
(17, 1, '2015-03-16 11:56:26', '2015-03-16 07:56:27', '2015-03-11 12:00:00', 750.00000000, 2, '', '', 18, 2, NULL, 0, 0),
(18, 1, '2015-03-17 18:53:30', '2015-03-17 14:53:30', '2015-03-17 12:00:00', 3519.29000000, 2, '', '', 19, 2, NULL, 0, 0),
(19, 1, '2015-03-24 13:50:24', '2015-03-24 09:50:24', '2015-03-24 12:00:00', 2225.00000000, 2, '', '', 20, 2, NULL, 0, 0),
(20, 1, '2015-04-14 10:31:28', '2015-04-14 06:31:28', '2015-04-14 12:00:00', 181.50000000, 2, '', '', 21, 4, NULL, 0, 0),
(21, 1, '2015-04-24 11:09:53', '2015-04-24 07:09:53', '2011-03-31 12:00:00', 1547.00000000, 2, '', '', 22, 2, NULL, 0, 0),
(22, 1, '2015-04-24 11:15:05', '2015-04-24 07:15:05', '2015-04-10 12:00:00', 1422.96000000, 2, '', '', 23, 2, NULL, 0, 0),
(23, 1, '2015-04-24 11:16:33', '2015-04-24 07:16:33', '2015-04-08 12:00:00', 425.92000000, 2, '', '', 24, 2, NULL, 0, 0),
(24, 1, '2015-04-24 11:17:17', '2015-04-24 07:17:17', '2015-04-07 12:00:00', 363.00000000, 2, '', '', 25, 2, NULL, 0, 0),
(25, 1, '2015-04-24 11:20:15', '2015-04-24 07:20:15', '2015-04-16 12:00:00', 2457.00000000, 2, '', '', 26, 2, NULL, 0, 0),
(26, 1, '2015-04-24 11:27:09', '2015-04-24 07:27:09', '2015-04-13 12:00:00', 1575.42000000, 2, '', '', 27, 2, NULL, 0, 0),
(27, 1, '2015-04-24 13:50:25', '2015-04-24 09:50:25', '2013-04-01 12:00:00', 1210.00000000, 2, '', '', 28, 2, NULL, 0, 0),
(28, 1, '2015-04-24 13:53:45', '2015-04-24 09:53:45', '2015-03-04 12:00:00', 19166.52000000, 2, '', '', 29, 2, NULL, 0, 0),
(29, 1, '2015-04-24 13:59:21', '2015-04-24 09:59:21', '2015-03-19 12:00:00', 968.00000000, 2, '', '', 30, 2, NULL, 0, 0),
(30, 1, '2015-04-24 14:00:22', '2015-04-24 10:00:22', '2014-12-02 12:00:00', 669.00000000, 2, '', '', 31, 2, NULL, 0, 0),
(31, 1, '2015-04-24 14:04:27', '2015-04-24 10:04:27', '2015-03-06 12:00:00', 3598.54000000, 2, '', '', 32, 2, NULL, 0, 0),
(32, 1, '2015-04-28 12:25:07', '2015-04-28 08:25:07', '2015-04-27 12:00:00', 12281.50000000, 2, '', '', 33, 2, NULL, 0, 0),
(33, 1, '2015-05-07 11:09:32', '2015-05-07 07:09:32', '2015-05-07 12:00:00', 425.92000000, 2, '', '', 34, 2, NULL, 0, 0),
(34, 1, '2015-05-07 11:10:31', '2015-05-07 07:10:31', '2015-05-04 12:00:00', 2635.05000000, 2, '', '', 35, 2, NULL, 0, 0),
(35, 1, '2015-06-01 15:54:54', '2015-06-01 11:54:54', '2015-05-13 12:00:00', 3132.09000000, 2, '', '', 36, 2, NULL, 0, 0),
(36, 1, '2015-06-01 16:01:36', '2015-06-01 12:01:36', '2015-04-08 12:00:00', 425.92000000, 2, '', '', 37, 2, NULL, 0, 0),
(37, 1, '2015-06-02 14:58:20', '2015-06-02 10:58:20', '2015-06-02 12:00:00', 4946.75000000, 2, '', '', 38, 2, NULL, 0, 0),
(38, 1, '2015-06-02 14:59:11', '2015-06-02 10:59:11', '2015-06-02 12:00:00', 425.92000000, 2, '', '', 39, 2, NULL, 0, 0),
(39, 1, '2015-06-11 13:29:15', '2015-06-11 09:29:15', '2015-06-11 12:00:00', 11918.50000000, 2, '', '', 40, 4, NULL, 0, 0),
(40, 1, '2015-06-16 11:22:06', '2015-06-16 07:22:06', '2015-06-16 12:00:00', 12049.18000000, 2, '', '', 41, 2, NULL, 0, 0),
(41, 1, '2015-06-16 11:25:02', '2015-06-16 07:25:02', '2015-06-12 12:00:00', 326.70000000, 2, '', '', 42, 2, NULL, 0, 0),
(42, 1, '2015-08-27 12:57:36', '2015-08-27 08:57:36', '2015-05-03 12:00:00', 4295.50000000, 2, '', '', 43, 2, NULL, 0, 0),
(43, 1, '2015-08-27 12:58:19', '2015-08-27 08:58:19', '2015-05-18 12:00:00', 4831.53000000, 2, '', '', 44, 2, NULL, 0, 0),
(44, 1, '2015-08-27 12:59:01', '2015-08-27 08:59:01', '2015-06-09 12:00:00', 8835.42000000, 2, '', '', 45, 2, NULL, 0, 0),
(45, 1, '2015-08-27 12:59:37', '2015-08-27 08:59:37', '2015-08-04 12:00:00', 12784.86000000, 2, '', '', 46, 2, NULL, 0, 0),
(46, 1, '2015-08-27 13:01:13', '2015-08-27 09:01:13', '2015-08-20 12:00:00', 9452.25000000, 2, '', '', 47, 2, NULL, 0, 0),
(47, 1, '2015-08-27 13:02:19', '2015-08-27 09:02:19', '2015-07-20 12:00:00', 16877.75000000, 2, '', '', 48, 2, NULL, 0, 0),
(48, 1, '2015-08-27 13:02:50', '2015-08-27 09:02:50', '2015-06-17 12:00:00', 240.50000000, 2, '', '', 49, 2, NULL, 0, 0),
(49, 1, '2015-08-27 13:05:23', '2015-08-27 09:05:23', '2015-06-17 12:00:00', 7194.25000000, 2, '', '', 50, 2, NULL, 0, 0),
(50, 1, '2015-08-27 13:13:04', '2015-08-27 09:13:04', '2015-07-13 12:00:00', 399.30000000, 2, '', '', 51, 2, NULL, 0, 0),
(51, 1, '2015-08-27 13:19:10', '2015-08-27 09:19:10', '2015-07-09 12:00:00', 6050.00000000, 2, '', '', 52, 2, NULL, 0, 0),
(52, 1, '2015-08-27 13:20:25', '2015-08-27 09:20:25', '2015-08-20 12:00:00', 1900.00000000, 2, '', '', 53, 2, NULL, 0, 0),
(53, 1, '2015-08-27 13:21:35', '2015-08-27 09:21:35', '2015-08-21 12:00:00', 19677.02000000, 2, '', '', 54, 2, NULL, 0, 0),
(54, 1, '2015-08-27 13:23:17', '2015-08-27 09:23:17', '2015-07-22 12:00:00', 1422.96000000, 2, '', '', 55, 2, NULL, 0, 0),
(55, 1, '2015-08-27 13:26:01', '2015-08-27 09:26:01', '2015-07-03 12:00:00', 5609.00000000, 2, '', '', 56, 2, NULL, 0, 0),
(56, 1, '2015-08-27 13:26:34', '2015-08-27 09:26:34', '2015-08-04 12:00:00', 6957.50000000, 2, '', '', 57, 2, NULL, 0, 0),
(57, 1, '2015-08-27 13:32:53', '2015-08-27 09:32:53', '2015-08-25 12:00:00', 1340.00000000, 2, '', '', 58, 2, NULL, 0, 0),
(58, 1, '2015-08-27 13:33:33', '2015-08-27 09:33:33', '2015-08-25 12:00:00', 1113.00000000, 2, '', '', 59, 2, NULL, 0, 0),
(59, 1, '2015-08-27 13:34:04', '2015-08-27 09:34:04', '2015-07-30 12:00:00', 1113.00000000, 2, '', '', 60, 2, NULL, 0, 0),
(60, 1, '2015-08-27 13:34:29', '2015-08-27 09:34:29', '2015-07-29 12:00:00', 842.00000000, 2, '', '', 61, 2, NULL, 0, 0),
(61, 1, '2015-08-27 13:35:02', '2015-08-27 09:35:03', '2015-07-29 12:00:00', 965.00000000, 2, '', '', 62, 2, NULL, 0, 0),
(62, 1, '2015-08-27 13:35:31', '2015-08-27 09:35:31', '2015-07-29 12:00:00', 1270.00000000, 2, '', '', 63, 2, NULL, 0, 0),
(63, 1, '2015-08-27 13:42:29', '2015-08-27 09:42:29', '2015-08-27 12:00:00', 1452.00000000, 4, '', '', 64, 4, NULL, 0, 0),
(64, 1, '2015-08-27 16:07:05', '2015-08-27 12:07:05', '2015-08-27 12:00:00', 59.50000000, 2, '', '', 65, 4, NULL, 0, 0),
(65, 1, '2015-09-15 11:00:26', '2015-09-15 07:00:26', '2015-09-14 12:00:00', 2941.54000000, 2, '', '', 66, 2, NULL, 0, 0),
(66, 1, '2015-09-15 11:09:13', '2015-09-15 07:09:13', '2015-09-08 12:00:00', 7315.00000000, 2, '', '', 67, 2, NULL, 0, 0),
(67, 1, '2015-09-15 11:10:03', '2015-09-15 07:10:03', '2015-09-07 12:00:00', 9000.00000000, 2, '', '', 68, 2, NULL, 0, 0),
(68, 1, '2015-09-15 11:10:42', '2015-09-15 07:10:42', '2015-09-04 12:00:00', 7092.30000000, 2, '', '', 69, 2, NULL, 0, 0),
(69, 1, '2015-09-15 11:17:51', '2015-09-15 07:17:51', '2015-09-01 12:00:00', 968.00000000, 4, '', '', 70, 2, NULL, 0, 0),
(70, 1, '2015-09-16 12:13:02', '2015-09-16 08:13:02', '2015-09-16 12:00:00', 1712.31000000, 2, '', '', 71, 2, NULL, 0, 0),
(71, 1, '2015-09-16 12:16:51', '2015-09-16 08:16:51', '2015-09-16 12:00:00', 1929.95000000, 2, '', '', 72, 2, NULL, 0, 0),
(72, 1, '2015-09-16 12:18:42', '2015-09-16 08:18:42', '2015-09-16 12:00:00', 7000.00000000, 2, '', '', 73, 2, NULL, 0, 0),
(73, 1, '2015-09-30 13:20:22', '2015-09-30 09:20:22', '2015-09-29 12:00:00', 4000.00000000, 2, '', '', 74, 2, NULL, 0, 0),
(74, 1, '2015-09-30 13:20:49', '2015-09-30 09:20:49', '2015-09-28 12:00:00', 800.00000000, 2, '', '', 75, 2, NULL, 0, 0),
(75, 1, '2015-09-30 13:21:46', '2015-09-30 09:21:46', '2015-09-28 12:00:00', 1219.68000000, 2, '', '', 76, 2, NULL, 0, 0),
(76, 1, '2015-10-06 15:05:49', '2015-10-06 11:05:49', '2015-10-02 12:00:00', 1331.00000000, 2, '', '', 77, 2, NULL, 0, 0),
(77, 1, '2015-10-06 15:10:29', '2015-10-06 11:10:29', '2015-10-05 12:00:00', 6392.50000000, 2, '', '', 78, 2, NULL, 0, 0),
(78, 1, '2015-10-06 15:26:17', '2015-10-06 11:26:17', '2015-10-05 12:00:00', 691.60000000, 2, '', '', 79, 2, NULL, 0, 0),
(79, 1, '2015-10-06 15:28:23', '2015-10-06 11:28:23', '2015-10-05 12:00:00', 0.52000000, 2, '', '', 80, 2, NULL, 0, 0),
(80, 1, '2015-10-12 15:41:33', '2015-10-12 11:41:33', '2015-10-09 12:00:00', 8145.00000000, 2, '', '', 81, 2, NULL, 0, 0),
(81, 1, '2015-10-13 15:00:23', '2015-10-13 11:00:23', '2015-10-13 12:00:00', 1210.00000000, 2, '', '', 82, 2, NULL, 0, 0),
(82, 1, '2015-10-13 15:01:43', '2015-10-13 11:01:43', '2015-10-12 12:00:00', 1173.80000000, 2, '', '', 83, 2, NULL, 0, 0),
(83, 1, '2015-11-16 15:06:19', '2015-11-16 11:06:19', '2015-11-04 12:00:00', 600.16000000, 2, '', '', 84, 2, NULL, 0, 0),
(84, 1, '2015-11-16 15:07:29', '2015-11-16 11:07:29', '2015-11-02 12:00:00', 8458.50000000, 2, '', '', 85, 2, NULL, 0, 0),
(85, 1, '2015-11-16 15:09:29', '2015-11-16 11:09:29', '2015-10-30 12:00:00', 16305.96000000, 2, '', '', 86, 2, NULL, 0, 0),
(86, 1, '2015-11-18 12:23:18', '2015-11-18 08:23:18', '2015-11-18 12:00:00', 3343.55000000, 2, '', '', 87, 2, NULL, 0, 0),
(87, 1, '2015-11-18 12:24:40', '2015-11-18 08:24:41', '2015-11-18 12:00:00', 1346.73000000, 2, '', '', 88, 2, NULL, 0, 0),
(88, 1, '2015-11-19 16:09:29', '2015-11-19 12:09:29', '2015-11-19 12:00:00', 6229.75000000, 2, '', '', 89, 2, NULL, 0, 0),
(89, 1, '2015-11-19 16:11:32', '2015-11-19 12:11:32', '2015-11-19 12:00:00', 484.00000000, 2, '', '', 90, 2, NULL, 0, 0),
(90, 1, '2015-11-19 16:12:41', '2015-11-19 12:12:41', '2015-11-19 12:00:00', 598.95000000, 2, '', '', 91, 2, NULL, 0, 0),
(91, 1, '2015-12-03 16:51:01', '2015-12-03 12:51:01', '2015-12-02 12:00:00', 8965.00000000, 2, '', '', 92, 2, NULL, 0, 0),
(92, 1, '2016-01-06 23:36:02', '2016-01-06 19:36:02', '2016-01-06 12:00:00', 8036.90000000, 2, '', '', 93, 2, NULL, 0, 0),
(93, 1, '2016-01-06 23:43:38', '2016-01-06 19:43:38', '2016-01-04 12:00:00', 638.88000000, 2, '', '', 94, 2, NULL, 0, 0),
(94, 1, '2016-01-06 23:46:48', '2016-01-06 19:46:48', '2015-10-08 12:00:00', 484.00000000, 2, '', '', 95, 2, NULL, 0, 0),
(95, 1, '2016-01-06 23:49:04', '2016-01-06 19:49:04', '2015-11-03 12:00:00', 968.00000000, 2, '', '', 96, 2, NULL, 0, 0),
(96, 1, '2016-01-06 23:52:40', '2016-01-06 19:52:40', '2015-12-16 12:00:00', 14399.00000000, 2, '', '', 97, 2, NULL, 0, 0),
(97, 1, '2016-01-07 18:45:13', '2016-01-07 14:45:13', '2016-01-07 12:00:00', 2076.36000000, 2, '', '', 98, 2, NULL, 0, 0),
(98, 1, '2016-01-12 12:19:04', '2016-01-12 08:19:04', '2016-01-12 12:00:00', 2049.74000000, 2, '', '', 99, 2, NULL, 0, 0),
(99, 1, '2016-01-12 12:23:27', '2016-01-12 08:23:27', '2016-01-11 12:00:00', 2319.72000000, 2, '', '', 100, 2, NULL, 0, 0),
(100, 1, '2016-01-30 16:58:56', '2016-01-30 12:58:56', '2016-01-28 12:00:00', 3770.00000000, 2, '', '', 101, 2, NULL, 0, 0),
(101, 1, '2016-02-03 21:57:24', '2016-02-03 17:57:24', '2016-02-02 12:00:00', 25000.00000000, 2, '', '', 102, 2, NULL, 0, 0),
(102, 1, '2016-02-25 01:41:36', '2016-02-24 21:41:36', '2016-02-04 12:00:00', 425.92000000, 2, '', '', 103, 2, NULL, 0, 0),
(103, 1, '2016-02-25 01:44:18', '2016-02-24 21:44:18', '2016-01-15 12:00:00', 1321.32000000, 2, '', '', 104, 2, NULL, 0, 0),
(104, 1, '2016-02-25 01:45:50', '2016-02-24 21:45:50', '2016-01-13 12:00:00', 425.92000000, 2, '', '', 105, 2, NULL, 0, 0),
(105, 1, '2016-02-25 01:51:18', '2016-02-24 21:51:18', '2016-02-09 12:00:00', 4748.70000000, 2, '', '', 106, 2, NULL, 0, 0),
(106, 1, '2016-02-25 02:01:05', '2016-02-24 22:01:06', '2016-02-05 12:00:00', 9946.20000000, 2, '', '', 107, 2, NULL, 0, 0),
(107, 1, '2016-02-25 02:08:49', '2016-02-24 22:08:49', '2016-02-23 12:00:00', 420.00000000, 2, '', '', 108, 2, NULL, 0, 0),
(108, 1, '2016-02-25 02:12:16', '2016-02-24 22:12:16', '2016-02-11 12:00:00', 3920.00000000, 2, '', '', 109, 2, NULL, 0, 0),
(109, 1, '2016-03-08 00:43:38', '2016-03-07 20:43:38', '2016-03-04 12:00:00', 6361.50000000, 2, '', '', 110, 2, NULL, 0, 0),
(110, 1, '2016-03-10 13:55:09', '2016-03-10 09:55:09', '2016-03-10 12:00:00', 532.40000000, 2, '', '', 111, 2, NULL, 0, 0),
(111, 1, '2016-03-10 13:55:59', '2016-03-10 09:55:59', '2016-03-10 12:00:00', 532.40000000, 2, '', '', 112, 2, NULL, 0, 0),
(112, 1, '2016-03-20 19:18:23', '2016-03-20 15:18:23', '2016-03-03 12:00:00', 1219.68000000, 2, '', '', 113, 2, NULL, 0, 0),
(113, 1, '2016-04-15 23:50:21', '2016-04-15 19:50:21', '2016-04-08 12:00:00', 4365.68000000, 2, '', '', 114, 2, NULL, 0, 0),
(114, 1, '2016-04-18 20:17:41', '2016-04-18 16:17:41', '2016-04-18 12:00:00', 402.50000000, 2, '', '', 115, 2, NULL, 0, 0),
(115, 1, '2016-04-18 20:20:26', '2016-04-18 16:20:27', '2016-04-04 12:00:00', 532.40000000, 2, '', '', 116, 2, NULL, 0, 0),
(116, 1, '2016-04-25 12:33:54', '2016-04-25 08:33:54', '2016-04-25 12:00:00', 425.92000000, 2, '', '', 117, 4, NULL, 0, 0),
(117, 1, '2016-04-28 14:31:52', '2016-04-28 10:31:52', '2016-04-28 12:00:00', 10285.00000000, 2, '', '', 118, 2, NULL, 0, 0),
(118, 1, '2016-05-13 00:56:11', '2016-05-12 20:56:12', '2016-05-10 12:00:00', 5363.93000000, 2, '', '', 119, 2, NULL, 0, 0),
(119, 1, '2016-05-13 00:58:28', '2016-05-12 20:58:28', '2016-05-04 12:00:00', 13246.50000000, 2, '', '', 120, 2, NULL, 0, 0),
(120, 1, '2016-05-18 15:56:24', '2016-05-18 11:56:24', '2016-05-18 12:00:00', 831.04000000, 2, '', '', 121, 2, NULL, 0, 0),
(121, 1, '2016-05-31 21:55:54', '2016-05-31 17:55:54', '2016-05-19 12:00:00', 22022.00000000, 2, '', '', 122, 2, NULL, 0, 0),
(122, 1, '2016-06-03 21:14:41', '2016-06-03 17:14:42', '2016-06-03 12:00:00', 319.44000000, 2, '', '', 123, 2, NULL, 0, 0),
(123, 1, '2016-06-03 21:16:26', '2016-06-03 17:16:26', '2016-06-01 12:00:00', 285.00000000, 2, '', '', 124, 2, NULL, 0, 0),
(124, 1, '2016-06-14 15:55:13', '2016-06-14 11:55:13', '2016-06-13 12:00:00', 12438.80000000, 2, '', '', 125, 2, NULL, 0, 0),
(125, 1, '2016-06-14 15:59:07', '2016-06-14 11:59:07', '2016-04-05 12:00:00', 6198.50000000, 2, '', '', 126, 2, NULL, 0, 0),
(126, 1, '2016-06-14 16:04:29', '2016-06-14 12:04:29', '2016-04-11 12:00:00', 1221.00000000, 2, '', '', 127, 2, NULL, 0, 0),
(127, 1, '2016-06-15 11:16:01', '2016-06-15 07:16:02', '2016-06-15 12:00:00', 479.16000000, 2, '', '', 128, 2, NULL, 0, 0),
(128, 1, '2016-06-22 10:59:12', '2016-06-22 06:59:13', '2016-06-22 12:00:00', 605.00000000, 4, '', '', 129, 4, NULL, 0, 0),
(129, 1, '2016-06-22 11:04:33', '2016-06-22 07:04:33', '2016-06-22 12:00:00', 605.00000000, 4, '', '', 130, 4, NULL, 0, 0),
(130, 1, '2016-06-24 13:44:05', '2016-06-24 09:44:05', '2016-06-23 12:00:00', 523.40000000, 2, '', '', 131, 2, NULL, 0, 0),
(131, 1, '2016-06-24 13:44:29', '2016-06-24 09:44:30', '2016-06-23 12:00:00', 9.00000000, 2, '', '', 132, 2, NULL, 0, 0),
(132, 1, '2016-06-24 13:45:00', '2016-06-24 09:45:01', '2016-06-24 12:00:00', 425.92000000, 2, '', '', 133, 2, NULL, 0, 0),
(133, 1, '2016-06-24 13:45:58', '2016-06-24 09:45:58', '2016-06-22 12:00:00', 1120.00000000, 2, '', '', 134, 2, NULL, 0, 0),
(134, 1, '2016-06-30 21:37:19', '2016-06-30 17:37:19', '2016-06-30 12:00:00', 4764.98000000, 2, '', '', 135, 2, NULL, 0, 0),
(135, 1, '2016-06-30 21:39:48', '2016-06-30 17:39:48', '2016-06-30 12:00:00', 4964.63000000, 2, '', '', 136, 2, NULL, 0, 0),
(136, 1, '2016-07-18 19:11:05', '2016-07-18 15:11:05', '2016-07-11 12:00:00', 1200.00000000, 2, '', '', 137, 2, NULL, 0, 0),
(137, 1, '2016-07-18 19:12:09', '2016-07-18 15:12:09', '2016-07-18 12:00:00', 559.02000000, 2, '', '', 138, 2, NULL, 0, 0),
(138, 1, '2016-07-18 19:14:25', '2016-07-18 15:14:25', '2016-07-18 12:00:00', 479.16000000, 2, '', '', 139, 2, NULL, 0, 0),
(139, 1, '2016-07-18 19:24:20', '2016-07-18 15:24:20', '2016-07-12 12:00:00', 425.92000000, 2, '', '', 140, 2, NULL, 0, 0),
(140, 1, '2016-07-26 23:55:30', '2016-07-26 19:55:30', '2016-07-20 12:00:00', 6082.67000000, 2, '', '', 141, 2, NULL, 0, 0),
(141, 1, '2016-07-26 23:59:00', '2016-07-26 19:59:00', '2016-07-20 12:00:00', 11549.99000000, 2, '', '', 142, 2, NULL, 0, 0),
(142, 1, '2016-07-27 00:03:03', '2016-07-26 20:03:03', '2016-07-06 12:00:00', 203.28000000, 2, '', '', 143, 2, NULL, 0, 0),
(143, 1, '2016-08-10 11:12:37', '2016-08-10 07:12:37', '2016-08-10 12:00:00', 465.85000000, 2, '', '', 144, 2, NULL, 0, 0),
(144, 1, '2016-08-22 13:53:58', '2016-08-22 09:53:58', '2016-08-19 12:00:00', 5111.04000000, 2, '', '', 145, 2, NULL, 0, 0),
(145, 1, '2016-09-13 16:58:41', '2016-09-13 12:58:41', '2016-09-12 12:00:00', 5547.85000000, 2, '', '', 146, 2, NULL, 0, 0),
(146, 1, '2016-09-13 17:01:24', '2016-09-13 13:01:24', '2016-09-12 12:00:00', 425.92000000, 2, '', '', 147, 2, NULL, 0, 0),
(147, 1, '2016-10-11 19:44:45', '2016-10-11 15:44:45', '2016-10-10 12:00:00', 5637.39000000, 2, '', '', 148, 2, NULL, 0, 0),
(148, 1, '2016-10-11 19:48:01', '2016-10-11 15:48:01', '2016-10-06 12:00:00', 479.16000000, 2, '', '', 149, 2, NULL, 0, 0),
(149, 1, '2016-10-15 08:39:00', '2016-10-15 04:39:00', '2016-10-14 12:00:00', 5334.00000000, 3, '', '', 150, 2, NULL, 0, 0),
(150, 1, '2016-11-01 00:45:25', '2016-10-31 20:45:25', '2016-10-28 12:00:00', 344.85000000, 2, '', '', 151, 2, NULL, 0, 0),
(151, 1, '2016-11-01 00:46:42', '2016-10-31 20:46:42', '2016-10-27 12:00:00', 453.75000000, 2, '', '', 152, 2, NULL, 0, 0),
(152, 1, '2016-11-01 00:48:50', '2016-10-31 20:48:50', '2016-10-18 12:00:00', 1890.00000000, 2, '', '', 153, 2, NULL, 0, 0),
(153, 1, '2016-11-01 00:52:32', '2016-10-31 20:52:32', '2016-10-18 12:00:00', 2235.00000000, 2, '', '', 154, 2, NULL, 0, 0),
(154, 1, '2016-11-01 00:53:19', '2016-10-31 20:53:20', '2016-10-18 12:00:00', 477.53000000, 2, '', '', 155, 2, NULL, 0, 0),
(155, 1, '2016-11-01 00:55:21', '2016-10-31 20:55:21', '2016-10-18 12:00:00', 2648.69000000, 2, '', '', 156, 2, NULL, 0, 0),
(156, 1, '2016-11-01 01:17:29', '2016-10-31 21:17:29', '2016-09-27 12:00:00', 6098.40000000, 2, '', '', 157, 2, NULL, 0, 0),
(157, 1, '2016-11-10 16:54:49', '2016-11-10 12:54:49', '2016-11-09 12:00:00', 585.64000000, 2, '', '', 158, 2, NULL, 0, 0),
(158, 1, '2016-11-14 16:55:29', '2016-11-14 12:55:29', '2016-11-14 12:00:00', 58858.82000000, 2, '', '', 159, 4, NULL, 0, 0),
(159, 1, '2016-11-15 14:24:09', '2016-11-15 10:24:09', '2016-11-15 12:00:00', -1890.00000000, 2, '', '', 160, 4, NULL, 0, 0),
(160, 1, '2016-11-15 14:24:25', '2016-11-15 10:24:25', '2016-11-15 12:00:00', 1890.00000000, 2, '', '', 161, 4, NULL, 0, 0),
(161, 1, '2016-11-15 22:10:45', '2016-11-15 18:10:45', '2016-11-08 12:00:00', 21852.60000000, 2, '', '', 162, 2, NULL, 0, 0),
(162, 1, '2016-11-15 22:12:58', '2016-11-15 18:12:58', '2016-11-15 12:00:00', 53000.00000000, 2, '', '', 163, 2, NULL, 0, 0),
(163, 1, '2016-11-15 22:13:49', '2016-11-15 18:13:50', '2016-11-15 12:00:00', -106000.00000000, 2, '', '', 164, 2, NULL, 0, 0),
(164, 1, '2016-11-28 23:05:13', '2016-11-28 19:05:13', '2016-11-28 12:00:00', 1210.00000000, 2, '', '', 165, 2, NULL, 0, 0),
(165, 1, '2016-11-28 23:08:31', '2016-11-28 19:08:31', '2016-11-24 12:00:00', 770.00000000, 2, '', '', 166, 2, NULL, 0, 0),
(166, 1, '2016-11-28 23:09:46', '2016-11-28 19:09:47', '2016-11-22 12:00:00', 452.54000000, 2, '', '', 167, 2, NULL, 0, 0),
(167, 1, '2016-11-28 23:15:48', '2016-11-28 19:15:48', '2016-11-12 12:00:00', 910.00000000, 2, '', '', 168, 2, NULL, 0, 0),
(168, 1, '2016-11-28 23:17:09', '2016-11-28 19:17:09', '2016-11-10 12:00:00', 726.00000000, 2, '', '', 169, 2, NULL, 0, 0),
(169, 1, '2016-11-30 12:12:22', '2016-11-30 08:12:22', '2016-11-30 12:00:00', 813.12000000, 2, '', '', 170, 4, NULL, 0, 0),
(170, 1, '2016-11-30 12:12:42', '2016-11-30 08:12:42', '2016-11-30 12:00:00', -813.12000000, 2, '', '', 171, 4, NULL, 0, 0),
(171, 1, '2016-11-30 12:13:17', '2016-11-30 08:13:17', '2016-11-30 12:00:00', 813.12000000, 2, '', '', 172, 4, NULL, 0, 0),
(172, 1, '2016-11-30 12:13:49', '2016-11-30 08:13:49', '2016-11-30 12:00:00', -813.12000000, 2, '', '', 173, 4, NULL, 0, 0),
(173, 1, '2016-11-30 12:14:47', '2016-11-30 08:14:47', '2016-11-30 12:00:00', -3323.02000000, 2, '', '', 174, 4, NULL, 0, 0),
(174, 1, '2016-11-30 12:15:26', '2016-11-30 08:15:26', '2016-11-30 12:00:00', 3323.02000000, 2, '', '', 175, 4, NULL, 0, 0),
(175, 1, '2016-12-09 16:30:46', '2016-12-09 12:30:47', '2016-12-09 12:00:00', 5991.92000000, 2, '', '', 176, 2, NULL, 0, 0),
(176, 1, '2016-12-09 16:37:28', '2016-12-09 12:37:28', '2016-12-08 12:00:00', 7530.00000000, 2, '', '', 177, 2, NULL, 0, 0),
(177, 1, '2016-12-15 12:06:03', '2016-12-15 08:06:03', '2016-12-12 12:00:00', 585.64000000, 2, '', '', 178, 2, NULL, 0, 0),
(178, 1, '2016-12-15 12:17:21', '2016-12-15 08:17:21', '2016-12-15 12:00:00', 3511.32000000, 2, '', '', 179, 2, NULL, 0, 0),
(179, 1, '2017-01-19 19:21:10', '2017-01-19 15:21:10', '2017-01-13 12:00:00', 3500.00000000, 2, '', '', 180, 2, NULL, 0, 0),
(180, 1, '2017-01-19 19:32:15', '2017-01-19 15:32:15', '2017-01-09 12:00:00', 406.56000000, 2, '', '', 181, 2, NULL, 0, 0),
(181, 1, '2017-01-19 19:33:34', '2017-01-19 15:33:34', '2017-01-09 12:00:00', 1000.00000000, 2, '', '', 182, 2, NULL, 0, 0),
(182, 1, '2017-01-19 19:36:59', '2017-01-19 15:36:59', '2017-01-06 12:00:00', 479.16000000, 2, '', '', 183, 2, NULL, 0, 0),
(183, 1, '2017-01-19 19:38:00', '2017-01-19 15:38:00', '2017-01-02 12:00:00', 585.56000000, 2, '', '', 184, 2, NULL, 0, 0),
(184, 1, '2017-01-19 19:40:50', '2017-01-19 15:40:50', '2017-01-02 12:00:00', 435.00000000, 2, '', '', 185, 2, NULL, 0, 0),
(185, 1, '2017-01-19 19:47:27', '2017-01-19 15:47:27', '2016-12-09 12:00:00', 968.00000000, 2, '', '', 186, 2, NULL, 0, 0),
(186, 1, '2017-01-19 19:48:28', '2017-01-19 15:48:28', '2017-01-19 12:00:00', 648.56000000, 2, '', '', 187, 2, NULL, 0, 0),
(187, 1, '2017-01-19 19:49:09', '2017-01-19 15:49:09', '2017-01-19 12:00:00', 605.00000000, 2, '', '', 188, 2, NULL, 0, 0),
(188, 1, '2017-01-19 19:49:39', '2017-01-19 15:49:39', '2017-01-19 12:00:00', 423.50000000, 2, '', '', 189, 2, NULL, 0, 0),
(189, 1, '2017-01-19 19:50:19', '2017-01-19 15:50:19', '2017-01-19 12:00:00', 605.00000000, 2, '', '', 190, 2, NULL, 0, 0),
(190, 1, '2017-01-19 19:51:01', '2017-01-19 15:51:01', '2017-01-19 12:00:00', 400.00000000, 2, '', '', 191, 2, NULL, 0, 0),
(191, 1, '2017-01-19 19:51:55', '2017-01-19 15:51:55', '2017-01-19 12:00:00', 121.00000000, 2, '', '', 192, 2, NULL, 0, 0),
(192, 1, '2017-01-19 19:52:28', '2017-01-19 15:52:28', '2017-01-19 12:00:00', 181.50000000, 2, '', '', 193, 2, NULL, 0, 0),
(193, 1, '2017-01-19 19:53:42', '2017-01-19 15:53:42', '2017-01-19 12:00:00', 455.98000000, 2, '', '', 194, 2, NULL, 0, 0),
(194, 1, '2017-01-19 19:54:32', '2017-01-19 15:54:32', '2017-01-19 12:00:00', 0.08000000, 2, '', '', 195, 2, NULL, 0, 0),
(195, 1, '2017-02-02 01:32:32', '2017-02-01 21:32:33', '2017-02-01 12:00:00', 28392.65000000, 2, '', '', 196, 2, NULL, 0, 0),
(196, 1, '2017-02-02 01:34:05', '2017-02-01 21:34:06', '2017-02-01 12:00:00', 15174.61000000, 2, '', '', 197, 2, NULL, 0, 0),
(197, 1, '2017-02-16 16:16:14', '2017-02-16 12:16:14', '2017-02-16 12:00:00', 945.00000000, 2, '', '', 198, 4, NULL, 0, 0),
(198, 1, '2017-02-16 16:17:07', '2017-02-16 12:17:07', '2017-02-16 12:00:00', 532.40000000, 2, '', '', 199, 4, NULL, 0, 0),
(199, 1, '2017-02-16 16:17:51', '2017-02-16 12:17:51', '2017-02-16 12:00:00', 319.44000000, 2, '', '', 200, 4, NULL, 0, 0),
(200, 1, '2017-02-16 16:19:27', '2017-02-16 12:19:27', '2017-02-06 12:00:00', 203.28000000, 2, '', '', 201, 4, NULL, 0, 0),
(201, 1, '2017-02-16 16:20:16', '2017-02-16 12:20:16', '2017-02-06 12:00:00', 479.16000000, 2, '', '', 202, 4, NULL, 0, 0),
(202, 1, '2017-03-03 12:03:23', '2017-03-03 08:03:23', '2017-03-03 12:00:00', 7768.20000000, 2, '', '', 203, 4, NULL, 0, 0),
(203, 1, '2017-03-14 14:48:41', '2017-03-14 10:48:42', '2017-03-14 12:00:00', 8145.00000000, 2, '', '', 204, 4, NULL, 0, 0),
(204, 1, '2017-03-31 13:42:57', '2017-03-31 09:42:57', '2017-03-07 12:00:00', 435.00000000, 2, '', '', 205, 2, NULL, 0, 0),
(205, 1, '2017-04-04 12:48:57', '2017-04-04 08:48:58', '2017-04-04 12:00:00', 5091.68000000, 2, '', '', 206, 2, NULL, 0, 0),
(206, 1, '2017-04-11 14:03:11', '2017-04-11 10:03:11', '2017-04-11 12:00:00', 1464.10000000, 2, '', '', 207, 4, NULL, 0, 0),
(207, 1, '2017-04-11 14:05:58', '2017-04-11 10:05:58', '2017-04-11 12:00:00', 459.80000000, 2, '', '', 208, 4, NULL, 0, 0),
(208, 1, '2017-04-11 14:08:37', '2017-04-11 10:08:38', '2017-04-05 12:00:00', 203.28000000, 2, '', '', 209, 4, NULL, 0, 0),
(209, 1, '2017-04-11 14:09:22', '2017-04-11 10:09:22', '2017-04-05 12:00:00', 319.44000000, 2, '', '', 210, 4, NULL, 0, 0),
(210, 1, '2017-04-11 14:13:24', '2017-04-11 10:13:24', '2017-03-16 12:00:00', 1050.00000000, 2, '', '', 211, 4, NULL, 0, 0),
(211, 1, '2017-04-11 14:14:39', '2017-04-11 10:14:39', '2017-03-06 12:00:00', 612.26000000, 2, '', '', 212, 4, NULL, 0, 0),
(212, 1, '2017-04-11 14:15:32', '2017-04-11 10:15:32', '2017-03-03 12:00:00', 3025.00000000, 2, '', '', 213, 4, NULL, 0, 0),
(213, 1, '2017-04-11 14:16:12', '2017-04-11 10:16:12', '2017-03-03 12:00:00', 875.00000000, 2, '', '', 214, 4, NULL, 0, 0),
(214, 1, '2017-04-11 14:17:57', '2017-04-11 10:17:57', '2017-03-02 12:00:00', 266.20000000, 2, '', '', 215, 4, NULL, 0, 0),
(215, 1, '2017-04-11 14:18:54', '2017-04-11 10:18:54', '2017-03-02 12:00:00', 875.00000000, 2, '', '', 216, 4, NULL, 0, 0),
(216, 1, '2017-04-11 14:19:44', '2017-04-11 10:19:44', '2017-03-02 12:00:00', 1560.90000000, 2, '', '', 217, 4, NULL, 0, 0),
(217, 1, '2017-05-08 12:39:36', '2017-05-08 08:39:36', '2017-05-08 12:00:00', 5311.90000000, 2, '', '', 218, 4, NULL, 0, 0),
(218, 1, '2017-05-10 21:18:28', '2017-05-10 17:18:28', '2017-05-10 12:00:00', 4493.94000000, 2, '', '', 219, 2, NULL, 0, 0),
(219, 1, '2017-05-11 13:52:43', '2017-05-11 09:52:43', '2017-05-10 12:00:00', 390.83000000, 2, '', '', 220, 2, NULL, 0, 0),
(220, 1, '2017-05-15 16:42:53', '2017-05-15 12:42:53', '2017-05-15 12:00:00', 1785.00000000, 2, '', '', 221, 4, NULL, 0, 0),
(221, 1, '2017-05-30 15:06:41', '2017-05-30 11:06:41', '2017-05-30 12:00:00', 363.00000000, 2, '', '', 222, 4, NULL, 0, 0),
(222, 1, '2017-05-30 15:08:34', '2017-05-30 11:08:34', '2017-03-23 12:00:00', 595.00000000, 2, '', '', 223, 4, NULL, 0, 0),
(223, 1, '2017-06-08 15:32:02', '2017-06-08 11:32:02', '2017-06-08 12:00:00', 3025.00000000, 2, '', '', 224, 4, NULL, 0, 0),
(224, 1, '2017-06-12 14:50:39', '2017-06-12 10:50:39', '2017-06-09 12:00:00', 390.83000000, 2, '', '', 225, 4, NULL, 0, 0),
(225, 1, '2017-06-12 14:51:01', '2017-06-12 10:51:01', '2017-06-09 12:00:00', 425.92000000, 2, '', '', 226, 4, NULL, 0, 0),
(226, 1, '2017-06-21 14:53:10', '2017-06-21 10:53:11', '2017-06-21 12:00:00', 1534.28000000, 2, '', '', 227, 4, NULL, 0, 0),
(227, 1, '2017-07-01 01:04:27', '2017-06-30 21:04:27', '2017-02-21 12:00:00', 4430.00000000, 4, '', '', 228, 2, NULL, 0, 0),
(228, 1, '2017-07-01 01:06:01', '2017-06-30 21:06:01', '2017-09-08 12:00:00', 726.00000000, 4, '', '', 229, 2, NULL, 0, 0),
(229, 1, '2017-07-01 01:07:23', '2017-06-30 21:07:23', '2017-01-16 12:00:00', 968.00000000, 4, '', '', 230, 2, NULL, 0, 0),
(231, 1, '2017-08-01 15:55:26', '2017-08-01 11:55:26', '2017-08-01 12:00:00', 4547.18000000, 2, '', '', 232, 4, NULL, 0, 0),
(232, 1, '2017-09-07 11:22:53', '2017-09-07 07:22:53', '2017-09-08 12:00:00', 4360.84000000, 2, '', '', 233, 2, NULL, 0, 0),
(233, 1, '2017-09-07 12:11:58', '2017-09-07 08:11:58', '2017-09-07 12:00:00', 4467.32000000, 2, '', '', 234, 4, NULL, 0, 0),
(234, 1, '2017-09-12 10:31:40', '2017-09-12 06:31:40', '2017-09-12 12:00:00', 413.82000000, 2, '', '', 235, 4, NULL, 0, 0),
(235, 1, '2017-09-12 10:32:36', '2017-09-12 06:32:36', '2017-09-12 12:00:00', 2265.12000000, 2, '', '', 236, 4, NULL, 0, 0),
(236, 1, '2017-09-13 17:33:44', '2017-09-13 13:33:44', '2017-08-09 12:00:00', 735.68000000, 2, '', '', 237, 2, NULL, 0, 0),
(237, 1, '2017-09-13 17:39:28', '2017-09-13 13:39:28', '2017-08-08 12:00:00', 1008.00000000, 2, '', '', 238, 2, NULL, 0, 0),
(238, 1, '2017-09-13 17:44:00', '2017-09-13 13:44:00', '2017-07-27 12:00:00', 319.44000000, 2, '', '', 239, 2, NULL, 0, 0),
(239, 1, '2017-09-13 17:44:18', '2017-09-13 13:44:18', '2017-07-27 12:00:00', 319.44000000, 2, '', '', 240, 2, NULL, 0, 0),
(240, 1, '2017-09-13 17:45:30', '2017-09-13 13:45:30', '2017-05-22 12:00:00', 425.92000000, 2, '', '', 241, 2, NULL, 0, 0),
(241, 1, '2017-09-13 17:47:06', '2017-09-13 13:47:06', '2017-05-22 12:00:00', 425.92000000, 2, '', '', 242, 2, NULL, 0, 0),
(242, 1, '2017-09-13 17:53:11', '2017-09-13 13:53:11', '2017-07-20 12:00:00', 1650.00000000, 2, '', '', 243, 2, NULL, 0, 0),
(243, 1, '2017-09-13 17:59:33', '2017-09-13 13:59:33', '2017-09-13 12:00:00', 18.00000000, 2, '', '', 244, 2, NULL, 0, 0),
(244, 1, '2017-09-20 14:31:47', '2017-09-20 10:31:47', '2017-09-20 12:00:00', 1688.56000000, 2, '', '', 245, 4, NULL, 0, 0),
(245, 1, '2017-09-20 14:32:33', '2017-09-20 10:32:33', '2017-09-20 12:00:00', 692.12000000, 2, '', '', 246, 4, NULL, 0, 0),
(246, 1, '2017-09-22 11:06:58', '2017-09-22 07:06:58', '2017-09-22 12:00:00', 1219.68000000, 2, '', '', 247, 2, NULL, 0, 0),
(247, 1, '2017-09-29 11:36:30', '2017-09-29 07:36:30', '2017-09-29 12:00:00', 1771.44000000, 2, '', '', 248, 4, NULL, 0, 0),
(248, 1, '2017-09-29 11:36:53', '2017-09-29 07:36:53', '2017-09-29 12:00:00', -4036.56000000, 2, '', '', 249, 4, NULL, 0, 0),
(249, 1, '2017-10-11 12:56:34', '2017-10-11 08:56:34', '2017-10-11 12:00:00', 413.82000000, 2, '', '', 250, 4, NULL, 0, 0),
(250, 1, '2017-10-18 14:24:16', '2017-10-18 10:24:16', '2017-10-18 12:00:00', 425.92000000, 2, '', '', 251, 4, NULL, 0, 0),
(251, 1, '2017-10-19 12:48:28', '2017-10-19 08:48:28', '2017-10-19 12:00:00', 8328.00000000, 2, '', '', 252, 4, NULL, 0, 0),
(252, 1, '2017-10-31 13:28:45', '2017-10-31 09:28:45', '2017-10-31 12:00:00', 1452.00000000, 2, '', '', 253, 4, NULL, 0, 0),
(253, 1, '2017-11-14 11:12:47', '2017-11-14 07:12:47', '2017-11-08 12:00:00', 459.80000000, 2, '', '', 254, 2, NULL, 0, 0),
(254, 1, '2017-11-14 13:41:30', '2017-11-14 09:41:30', '2017-11-14 12:00:00', 3876.00000000, 2, '', '', 255, 4, NULL, 0, 0),
(255, 1, '2017-11-17 13:25:57', '2017-11-17 09:25:57', '2017-11-17 12:00:00', 1437.48000000, 2, '', '', 256, 4, NULL, 0, 0),
(256, 1, '2017-11-20 15:50:06', '2017-11-20 11:50:06', '2017-11-20 12:00:00', 532.40000000, 2, '', '', 257, 4, NULL, 0, 0),
(257, 1, '2017-11-20 15:51:38', '2017-11-20 11:51:39', '2017-11-20 12:00:00', 10599.60000000, 2, '', '', 258, 4, NULL, 0, 0),
(258, 1, '2017-11-20 15:52:12', '2017-11-20 11:52:12', '2017-11-20 12:00:00', 1422.96000000, 2, '', '', 259, 4, NULL, 0, 0),
(259, 1, '2017-12-28 12:58:18', '2017-12-28 08:58:18', '2017-12-28 12:00:00', 6086.30000000, 2, '', '', 260, 4, NULL, 0, 0),
(260, 1, '2017-12-28 13:42:01', '2017-12-28 09:42:01', '2017-12-28 12:00:00', 6103.24000000, 2, '', '', 261, 4, NULL, 0, 0),
(261, 1, '2017-12-28 13:42:25', '2017-12-28 09:42:25', '2017-12-28 12:00:00', 425.92000000, 2, '', '', 262, 4, NULL, 0, 0),
(262, 1, '2017-12-28 13:42:25', '2017-12-28 09:42:25', '2017-12-28 12:00:00', 425.92000000, 2, '', '', 263, 4, NULL, 0, 0),
(263, 1, '2017-12-28 13:42:25', '2017-12-28 09:42:25', '2017-12-28 12:00:00', 425.92000000, 2, '', '', 264, 4, NULL, 0, 0),
(264, 1, '2017-12-28 13:42:45', '2017-12-28 09:42:45', '2017-12-28 12:00:00', 459.80000000, 2, '', '', 265, 4, NULL, 0, 0),
(265, 1, '2018-01-08 10:03:39', '2018-01-08 09:03:39', '2018-01-04 12:00:00', 4728.00000000, 2, '', '', 266, 2, NULL, 0, 0),
(266, 1, '2018-01-10 15:26:25', '2018-01-10 14:26:25', '2018-01-10 12:00:00', 413.82000000, 2, '', '', 267, 4, NULL, 0, 0),
(267, 1, '2018-01-10 15:28:35', '2018-01-10 14:28:35', '2018-01-10 12:00:00', 425.92000000, 2, '', '', 268, 4, NULL, 0, 0),
(268, 1, '2018-01-11 10:46:35', '2018-01-11 09:46:35', '2018-01-11 12:00:00', 544.50000000, 2, '', '', 269, 4, NULL, 0, 0),
(269, 1, '2018-02-16 09:04:36', '2018-02-16 08:04:36', '2018-02-16 12:00:00', 7260.00000000, 2, '', '', 270, 4, NULL, 0, 0),
(270, 1, '2018-03-02 09:00:35', '2018-03-02 08:00:35', '2018-03-02 12:00:00', 5403.86000000, 2, '', '', 271, 4, NULL, 0, 0),
(271, 1, '2018-03-02 09:01:00', '2018-03-02 08:01:00', '2018-03-02 12:00:00', -1287.44000000, 2, '', '', 272, 4, NULL, 0, 0),
(272, 1, '2018-03-19 13:36:28', '2018-03-19 12:36:28', '2018-03-19 12:00:00', 5004.56000000, 2, '', '', 273, 4, NULL, 0, 0),
(273, 1, '2018-03-20 09:14:16', '2018-03-20 08:14:16', '2018-03-20 12:00:00', 275.88000000, 2, '', '', 274, 4, NULL, 0, 0),
(274, 1, '2018-03-28 10:30:59', '2018-03-28 08:30:59', '2018-03-28 12:00:00', 851.84000000, 2, '', '', 275, 4, NULL, 0, 0),
(275, 1, '2018-04-19 11:58:42', '2018-04-19 09:58:42', '2018-04-19 12:00:00', 6082.67000000, 2, '', '', 276, 4, NULL, 0, 0),
(276, 1, '2018-05-03 10:23:38', '2018-05-03 08:23:38', '2018-05-03 12:00:00', 367.84000000, 2, '', '', 277, 4, NULL, 0, 0),
(277, 1, '2018-05-03 10:24:39', '2018-05-03 08:24:39', '2018-05-03 12:00:00', 5111.04000000, 2, '', '', 278, 4, NULL, 0, 0),
(278, 1, '2018-05-03 10:25:12', '2018-05-03 08:25:12', '2018-05-03 12:00:00', 425.92000000, 2, '', '', 279, 4, NULL, 0, 0),
(279, 1, '2018-05-09 08:57:28', '2018-05-09 06:57:28', '2018-03-03 12:00:00', 929.28000000, 2, '', '', 280, 2, NULL, 0, 0),
(280, 1, '2018-05-14 08:57:12', '2018-05-14 06:57:12', '2018-05-14 12:00:00', 580.80000000, 2, '', '', 281, 4, NULL, 0, 0),
(281, 1, '2018-05-14 09:15:30', '2018-05-14 07:15:30', '2018-05-14 12:00:00', 605.61000000, 2, '', '', 282, 4, NULL, 0, 0),
(282, 1, '2018-05-31 11:08:43', '2018-05-31 09:08:43', '2018-05-31 12:00:00', 425.92000000, 2, '', '', 283, 4, NULL, 0, 0),
(283, 1, '2018-06-05 13:40:44', '2018-06-05 11:40:44', '2018-05-22 12:00:00', 10332.60000000, 2, '', '', 284, 4, NULL, 0, 0),
(284, 1, '2018-06-05 13:44:19', '2018-06-05 11:44:19', '2018-02-13 12:00:00', 6050.00000000, 2, '', '', 285, 4, NULL, 0, 0),
(285, 1, '2018-06-05 13:58:09', '2018-06-05 11:58:09', '2018-01-24 12:00:00', 6076.62000000, 2, '', '', 286, 4, NULL, 0, 0),
(286, 1, '2018-06-06 08:50:06', '2018-06-06 06:50:07', '2018-03-13 12:00:00', 4969.50000000, 2, '', '', 287, 4, NULL, 0, 0),
(287, 1, '2018-06-25 10:24:28', '2018-06-25 08:24:28', '2018-06-25 12:00:00', 425.92000000, 2, '', '', 288, 4, NULL, 0, 0),
(288, 1, '2018-07-04 11:00:32', '2018-07-04 09:00:32', '2018-07-04 12:00:00', 1823.40000000, 2, '', '', 289, 4, NULL, 0, 0),
(289, 1, '2018-07-04 14:42:40', '2018-07-04 12:42:40', '2018-07-04 12:00:00', 5057.80000000, 2, '', '', 290, 4, NULL, 0, 0),
(290, 1, '2018-07-11 08:52:23', '2018-07-11 06:52:24', '2018-07-11 12:00:00', 459.80000000, 2, '', '', 291, 4, NULL, 0, 0),
(291, 1, '2018-07-11 08:52:50', '2018-07-11 06:52:50', '2018-07-11 12:00:00', 367.84000000, 2, '', '', 292, 4, NULL, 0, 0),
(292, 1, '2018-07-18 08:10:57', '2018-07-18 06:10:57', '2018-07-18 12:00:00', 5111.04000000, 2, '', '', 293, 4, NULL, 0, 0),
(293, 1, '2018-07-18 08:21:50', '2018-07-18 06:21:50', '2018-07-18 12:00:00', 27628.00000000, 2, '', '', 294, 4, NULL, 0, 0),
(294, 1, '2018-07-18 08:25:20', '2018-07-18 06:25:20', '2018-07-18 12:00:00', 1484.00000000, 2, '', '', 295, 4, NULL, 0, 0),
(295, 1, '2018-07-18 08:29:51', '2018-07-18 06:29:51', '2018-04-16 12:00:00', 1931.16000000, 2, '', '', 296, 4, NULL, 0, 0),
(296, 1, '2018-07-18 08:34:40', '2018-07-18 06:34:40', '2018-07-18 12:00:00', 4000.00000000, 2, '', '', 297, 4, NULL, 0, 0),
(297, 1, '2018-07-18 08:40:54', '2018-07-18 06:40:54', '2018-07-18 12:00:00', 464.64000000, 2, '', '', 298, 4, NULL, 0, 0),
(298, 1, '2018-07-18 08:47:00', '2018-07-18 06:47:00', '2018-07-18 12:00:00', 242.00000000, 2, '', '', 299, 4, NULL, 0, 0),
(299, 1, '2018-07-18 09:48:47', '2018-07-18 07:48:47', '2018-07-18 12:00:00', 638.88000000, 2, '', '', 300, 4, NULL, 0, 0),
(300, 1, '2018-08-13 13:45:33', '2018-08-13 11:45:33', '2018-08-13 12:00:00', 816.75000000, 2, '', '', 301, 4, NULL, 0, 0),
(301, 1, '2018-08-21 09:45:15', '2018-08-21 07:45:15', '2018-08-21 12:00:00', 367.84000000, 2, '', '', 302, 4, NULL, 0, 0),
(302, 1, '2018-09-06 15:07:32', '2018-09-06 13:07:32', '2018-09-06 12:00:00', 367.84000000, 2, '', '', 303, 4, NULL, 0, 0),
(303, 1, '2018-09-10 08:25:26', '2018-09-10 06:25:26', '2018-09-10 12:00:00', 10275.32000000, 2, '', '', 304, 4, NULL, 0, 0),
(304, 1, '2018-09-10 12:19:26', '2018-09-10 10:19:26', '2018-09-10 12:00:00', 2664.00000000, 2, '', '', 305, 4, NULL, 0, 0),
(305, 1, '2018-09-10 12:20:26', '2018-09-10 10:20:26', '2018-09-10 12:00:00', 8208.00000000, 2, '', '', 306, 4, NULL, 0, 0),
(306, 1, '2018-09-10 12:21:26', '2018-09-10 10:21:26', '2018-09-10 12:00:00', 929.28000000, 2, '', '', 307, 4, NULL, 0, 0),
(307, 1, '2018-09-10 12:22:13', '2018-09-10 10:22:13', '2018-09-10 12:00:00', 784.00000000, 2, '', '', 308, 4, NULL, 0, 0),
(308, 1, '2018-10-08 13:26:08', '2018-10-08 11:26:08', '2018-10-08 12:00:00', 367.84000000, 2, '', '', 309, 4, NULL, 0, 0),
(309, 1, '2018-10-11 14:06:48', '2018-10-11 12:06:48', '2018-10-11 12:00:00', 4472.16000000, 2, '', '', 310, 4, NULL, 0, 0),
(310, 1, '2018-10-18 13:27:44', '2018-10-18 11:27:44', '2018-10-18 12:00:00', 929.28000000, 2, '', '', 311, 4, NULL, 0, 0),
(311, 1, '2018-11-15 09:45:56', '2018-11-15 08:45:56', '2018-11-15 12:00:00', 2592.00000000, 2, '', '', 312, 4, NULL, 0, 0),
(312, 1, '2018-11-23 07:54:36', '2018-11-23 06:54:36', '2018-11-23 12:00:00', 2675.31000000, 2, '', '', 313, 4, NULL, 0, 0),
(313, 1, '2018-11-23 10:01:22', '2018-11-23 09:01:22', '2018-11-23 12:00:00', -159.72000000, 2, '', '', 314, 4, NULL, 0, 0),
(314, 1, '2018-11-26 09:09:44', '2018-11-26 08:09:44', '2018-11-26 12:00:00', 367.84000000, 2, '', '', 315, 4, NULL, 0, 0),
(315, 1, '2018-12-07 09:25:31', '2018-12-07 08:25:31', '2018-12-07 12:00:00', 1210.00000000, 2, '', '', 316, 4, NULL, 0, 0),
(316, 1, '2018-12-10 10:42:20', '2018-12-10 09:42:20', '2018-12-10 12:00:00', 4848.00000000, 2, '', '', 317, 4, NULL, 0, 0),
(317, 1, '2018-12-11 09:20:21', '2018-12-11 08:20:21', '2018-12-11 12:00:00', 580.64000000, 2, '', '', 318, 4, NULL, 0, 0),
(318, 1, '2018-12-11 09:20:46', '2018-12-11 08:20:46', '2018-12-11 12:00:00', 464.80000000, 2, '', '', 319, 4, NULL, 0, 0),
(319, 1, '2018-12-13 10:24:27', '2018-12-13 09:24:27', '2018-12-13 12:00:00', 367.84000000, 2, '', '', 320, 4, NULL, 0, 0),
(320, 1, '2018-12-17 08:14:48', '2018-12-17 07:14:48', '2018-12-17 12:00:00', 2555.52000000, 2, '', '', 321, 4, NULL, 0, 0),
(321, 1, '2019-01-16 12:01:08', '2019-01-16 11:01:08', '2019-01-16 12:00:00', 2236.08000000, 2, '', '', 322, 4, NULL, 0, 0),
(322, 1, '2019-01-18 10:57:46', '2019-01-18 09:57:46', '2019-01-18 12:00:00', 367.84000000, 2, '', '', 323, 4, NULL, 0, 0),
(323, 1, '2019-01-21 09:14:12', '2019-01-21 08:14:13', '2019-01-21 12:00:00', 4704.00000000, 2, '', '', 324, 4, NULL, 0, 0),
(324, 1, '2019-02-05 09:48:11', '2019-02-05 08:48:11', '2019-02-05 12:00:00', 968.00000000, 2, '', '', 325, 4, NULL, 0, 0),
(325, 1, '2019-02-05 09:48:40', '2019-02-05 08:48:40', '2019-02-05 12:00:00', 4704.00000000, 2, '', '', 326, 4, NULL, 0, 0),
(326, 1, '2019-02-08 07:56:56', '2019-02-08 06:56:56', '2019-02-08 12:00:00', 4907.76000000, 2, '', '', 327, 4, NULL, 0, 0),
(327, 1, '2019-02-15 09:22:46', '2019-02-15 08:22:46', '2019-02-15 12:00:00', 464.64000000, 2, '', '', 328, 1, NULL, 0, 0),
(328, 1, '2019-02-15 09:23:29', '2019-02-15 08:23:29', '2019-02-15 12:00:00', 580.80000000, 2, '', '', 329, 1, NULL, 0, 0),
(329, 1, '2019-03-11 09:24:56', '2019-03-11 08:24:56', '2019-03-11 12:00:00', 2635.38000000, 2, '', '', 330, 4, NULL, 0, 0),
(330, 1, '2019-03-18 09:41:53', '2019-03-18 08:41:53', '2019-03-18 12:00:00', 4056.00000000, 2, '', '', 331, 4, NULL, 0, 0),
(331, 1, '2019-03-26 13:07:29', '2019-03-26 12:07:29', '2019-03-26 12:00:00', 580.80000000, 2, '', '', 332, 4, NULL, 0, 0),
(332, 1, '2019-03-26 13:08:40', '2019-03-26 12:08:40', '2019-03-26 12:00:00', 6648.00000000, 2, '', '', 333, 4, NULL, 0, 0),
(333, 1, '2019-04-09 10:40:50', '2019-04-09 08:40:50', '2019-04-09 12:00:00', 2608.76000000, 2, '', '', 334, 4, NULL, 0, 0),
(334, 1, '2019-04-11 08:40:34', '2019-04-11 06:40:34', '2019-04-11 12:00:00', 1103.52000000, 2, '', '', 335, 4, NULL, 0, 0),
(335, 1, '2019-04-12 13:34:56', '2019-04-12 11:34:56', '2019-04-12 12:00:00', 928.00000000, 2, '', '', 336, 4, NULL, 0, 0),
(336, 1, '2019-05-06 11:34:41', '2019-05-06 09:34:41', '2019-05-06 12:00:00', 4824.00000000, 2, '', '', 337, 4, NULL, 0, 0),
(337, 1, '2019-05-16 11:53:48', '2019-05-16 09:53:48', '2019-05-16 12:00:00', 1314.40000000, 2, '', '', 338, 4, NULL, 0, 0),
(338, 1, '2019-05-16 11:54:16', '2019-05-16 09:54:16', '2019-05-16 12:00:00', 2600.00000000, 2, '', '', 339, 4, NULL, 0, 0),
(339, 1, '2019-05-16 12:13:56', '2019-05-16 10:13:56', '2019-05-16 12:00:00', 929.28000000, 2, '', '', 340, 4, NULL, 0, 0),
(340, 1, '2019-05-16 12:23:20', '2019-05-16 10:23:20', '2019-05-16 12:00:00', 367.84000000, 2, '', '', 341, 4, NULL, 0, 0),
(341, 1, '2019-05-20 08:41:13', '2019-05-20 06:41:13', '2019-05-20 12:00:00', 2635.38000000, 2, '', '', 342, 4, NULL, 0, 0),
(342, 1, '2019-05-27 11:55:51', '2019-05-27 09:55:51', '2019-05-27 12:00:00', 1700.00000000, 2, '', '', 343, 4, NULL, 0, 0),
(343, 1, '2019-05-28 07:56:06', '2019-05-28 05:56:06', '2019-05-28 12:00:00', 5184.00000000, 2, '', '', 344, 4, NULL, 0, 0),
(344, 1, '2019-06-11 12:57:22', '2019-06-11 10:57:22', '2019-06-11 12:00:00', 2395.80000000, 2, '', '', 345, 4, NULL, 0, 0),
(345, 1, '2019-06-12 10:32:32', '2019-06-12 08:32:32', '2019-06-12 12:00:00', 464.64000000, 2, '', '', 346, 4, NULL, 0, 0),
(346, 1, '2019-06-24 07:57:15', '2019-06-24 05:57:15', '2019-06-24 12:00:00', 413.82000000, 2, '', '', 347, 4, NULL, 0, 0),
(347, 1, '2019-07-15 10:14:47', '2019-07-15 08:14:47', '2019-07-15 12:00:00', 464.64000000, 2, '', '', 348, 4, NULL, 0, 0),
(348, 1, '2019-07-15 10:15:21', '2019-07-15 08:15:21', '2019-07-15 12:00:00', 2289.32000000, 2, '', '', 349, 4, NULL, 0, 0),
(349, 1, '2019-07-15 10:15:37', '2019-07-15 08:15:37', '2019-07-15 12:00:00', 367.84000000, 2, '', '', 350, 4, NULL, 0, 0),
(350, 1, '2019-07-15 10:16:02', '2019-07-15 08:16:02', '2019-07-15 12:00:00', 5136.00000000, 2, '', '', 351, 4, NULL, 0, 0),
(351, 1, '2019-09-18 10:19:30', '2019-09-18 08:19:30', '2019-09-18 12:00:00', 484.00000000, 2, '', '', 352, 4, NULL, 0, 0),
(352, 1, '2019-09-25 12:52:01', '2019-09-25 10:52:01', '2019-09-25 12:00:00', 12480.00000000, 2, '', '', 353, 4, NULL, 0, 0),
(353, 1, '2019-10-07 12:18:05', '2019-10-07 10:18:06', '2019-10-07 12:00:00', 8119.10000000, 2, '', '', 354, 4, NULL, 0, 0),
(354, 1, '2019-10-14 10:43:08', '2019-10-14 08:43:08', '2019-10-14 12:00:00', 919.60000000, 2, '', '', 355, 4, NULL, 0, 0),
(355, 1, '2019-10-14 10:43:52', '2019-10-14 08:43:52', '2019-10-14 12:00:00', 1393.92000000, 2, '', '', 356, 4, NULL, 0, 0),
(356, 1, '2019-10-14 10:44:14', '2019-10-14 08:44:14', '2019-10-14 12:00:00', 3585.00000000, 2, '', '', 357, 4, NULL, 0, 0),
(357, 1, '2019-11-07 09:29:11', '2019-11-07 08:29:11', '2019-11-07 12:00:00', -812.00000000, 2, '', '', 358, 4, NULL, 0, 0),
(358, 1, '2019-11-07 09:29:45', '2019-11-07 08:29:45', '2019-11-07 12:00:00', 3580.80000000, 2, '', '', 359, 4, NULL, 0, 0),
(359, 1, '2019-11-07 09:30:28', '2019-11-07 08:30:28', '2019-11-07 12:00:00', 24523.50000000, 2, '', '', 360, 4, NULL, 0, 0),
(360, 1, '2019-11-13 12:37:28', '2019-11-13 11:37:28', '2019-11-13 12:00:00', 464.64000000, 2, '', '', 361, 4, NULL, 0, 0),
(361, 1, '2019-11-13 12:42:01', '2019-11-13 11:42:01', '2019-11-13 12:00:00', 413.82000000, 2, '', '', 362, 4, NULL, 0, 0),
(362, 1, '2020-01-10 10:27:59', '2020-01-10 09:27:59', '2020-01-10 12:00:00', 5352.00000000, 2, '', '', 363, 4, NULL, 0, 0),
(363, 1, '2020-01-10 10:28:47', '2020-01-10 09:28:47', '2020-01-10 12:00:00', -2044.80000000, 2, '', '', 364, 4, NULL, 0, 0),
(364, 1, '2020-01-21 10:47:44', '2020-01-21 09:47:44', '2020-01-21 12:00:00', 12816.00000000, 2, '', '', 365, 1, NULL, 0, 0),
(365, 1, '2020-03-04 11:56:13', '2020-03-04 10:56:13', '2020-03-04 12:00:00', 1609.30000000, 2, '', '', 366, 1, NULL, 0, 0),
(366, 1, '2020-09-07 10:39:18', '2020-09-07 08:39:18', '2020-09-07 12:00:00', 80826.70000000, 1, '', '', 367, 1, NULL, 0, 0),
(367, 1, '2020-09-07 10:40:55', '2020-09-07 08:40:55', '2020-09-07 12:00:00', 3379.53000000, 2, '', '', 368, 1, NULL, 0, 0),
(368, 1, '2020-09-07 10:46:39', '2020-09-07 08:46:39', '2020-09-07 12:00:00', 3136.32000000, 2, '', '', 369, 1, NULL, 0, 0),
(369, 1, '2020-09-07 10:54:25', '2020-09-07 08:54:25', '2020-09-07 12:00:00', 20750.29000000, 2, '', '', 370, 1, NULL, 0, 0),
(370, 1, '2020-09-07 11:04:02', '2020-09-07 09:04:02', '2020-09-07 12:00:00', 0.50000000, 2, '', '', 371, 1, NULL, 0, 0),
(371, 1, '2020-09-22 14:14:04', '2020-09-22 12:14:04', '2020-09-22 12:00:00', 464.64000000, 2, '', '', 372, 1, NULL, 0, 0),
(372, 1, '2020-09-23 07:45:14', '2020-09-23 05:45:14', '2020-09-23 12:00:00', 116.16000000, 2, '', '', 373, 1, NULL, 0, 0),
(373, 1, '2021-01-07 11:19:23', '2021-01-07 10:19:23', '2021-01-07 12:00:00', 39576.00000000, 2, '', '', 374, 1, NULL, 0, 0),
(374, 1, '2021-05-18 11:03:13', '2021-05-18 09:03:13', '2021-05-18 12:00:00', 3949.44000000, 2, '', '', 375, 1, NULL, 0, 0),
(375, 1, '2021-11-03 10:04:56', '2021-11-03 09:04:56', '2021-11-03 12:00:00', 5023.32000000, 2, '', '', 376, 1, NULL, 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `llx_paiementcharge`
--

CREATE TABLE `llx_paiementcharge` (
  `rowid` int(11) NOT NULL,
  `fk_charge` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double DEFAULT '0',
  `fk_typepaiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_paiementfourn`
--

CREATE TABLE `llx_paiementfourn` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` datetime DEFAULT NULL,
  `amount` double DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text,
  `fk_bank` int(11) NOT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_paiementfourn_facturefourn`
--

CREATE TABLE `llx_paiementfourn_facturefourn` (
  `rowid` int(11) NOT NULL,
  `fk_paiementfourn` int(11) DEFAULT NULL,
  `fk_facturefourn` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_paiement_facture`
--

CREATE TABLE `llx_paiement_facture` (
  `rowid` int(11) NOT NULL,
  `fk_paiement` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_paiement_facture`
--

INSERT INTO `llx_paiement_facture` (`rowid`, `fk_paiement`, `fk_facture`, `amount`) VALUES
(1, 1, 4, 848.00000000),
(2, 2, 1, 1216.00000000),
(3, 3, 3, 2550.00000000),
(4, 4, 2, 1250.00000000),
(5, 4, 5, 375.00000000),
(6, 5, 6, 2210.00000000),
(7, 6, 7, 2178.00000000),
(8, 7, 9, 4158.00000000),
(9, 8, 10, 600.00000000),
(10, 9, 20, 1125.00000000),
(11, 9, 23, 592.00000000),
(12, 9, 24, 300.00000000),
(13, 10, 21, 304.92000000),
(14, 11, 15, 540.00000000),
(15, 12, 33, 532.40000000),
(16, 13, 25, 600.00000000),
(17, 13, 26, 815.00000000),
(18, 13, 29, 3286.00000000),
(19, 14, 17, 1275.00000000),
(20, 15, 8, 588.00000000),
(21, 16, 11, 302.50000000),
(22, 16, 12, 2662.00000000),
(23, 16, 31, 2622.07000000),
(24, 17, 34, 750.00000000),
(25, 18, 27, 2032.80000000),
(26, 18, 32, 1486.49000000),
(27, 19, 36, 800.00000000),
(28, 19, 37, 1425.00000000),
(29, 20, 54, 181.50000000),
(30, 21, 30, 183.75000000),
(31, 21, 38, 1363.25000000),
(32, 22, 39, 1422.96000000),
(33, 23, 50, 425.92000000),
(34, 24, 44, 363.00000000),
(35, 25, 46, 2457.00000000),
(36, 26, 49, 1575.42000000),
(37, 27, 14, 1210.00000000),
(38, 28, 13, 726.00000000),
(39, 28, 16, 159.72000000),
(40, 28, 22, 6613.86000000),
(41, 28, 28, 425.92000000),
(42, 28, 42, 3993.00000000),
(43, 28, 43, 3533.20000000),
(44, 28, 48, 3714.82000000),
(45, 29, 45, 968.00000000),
(46, 30, 19, 669.00000000),
(47, 31, 40, 452.54000000),
(48, 31, 41, 3146.00000000),
(49, 32, 55, 12281.50000000),
(50, 33, 60, 425.92000000),
(51, 34, 52, 2635.05000000),
(52, 35, 61, 3132.09000000),
(53, 36, 65, 425.92000000),
(54, 37, 59, 4946.75000000),
(55, 38, 63, 425.92000000),
(56, 39, 75, 11918.50000000),
(57, 40, 76, 11686.18000000),
(58, 40, 77, 363.00000000),
(59, 41, 73, 326.70000000),
(60, 42, 57, 4295.50000000),
(61, 43, 62, 4831.53000000),
(62, 44, 72, 4150.30000000),
(63, 44, 68, 4685.12000000),
(64, 45, 86, 4791.60000000),
(65, 45, 92, 2855.60000000),
(66, 45, 100, 5137.66000000),
(67, 46, 93, 9452.25000000),
(68, 47, 78, 16877.75000000),
(69, 48, 53, 240.50000000),
(70, 49, 58, 7194.25000000),
(71, 50, 67, 399.30000000),
(72, 51, 91, 6050.00000000),
(73, 52, 105, 1900.00000000),
(74, 53, 102, 1321.32000000),
(75, 53, 107, 18355.70000000),
(76, 54, 88, 1422.96000000),
(77, 55, 66, 5609.00000000),
(78, 56, 89, 6957.50000000),
(79, 57, 96, 1340.00000000),
(80, 58, 98, 1113.00000000),
(81, 59, 79, 1113.00000000),
(82, 60, 85, 842.00000000),
(83, 61, 83, 965.00000000),
(84, 62, 84, 1270.00000000),
(85, 63, 82, 1452.00000000),
(86, 64, 97, 59.50000000),
(87, 65, 64, 1141.54000000),
(88, 65, 94, 1800.00000000),
(89, 66, 70, 4143.00000000),
(90, 66, 71, 2457.00000000),
(91, 66, 74, 715.00000000),
(92, 67, 108, 9000.00000000),
(93, 68, 103, 7092.30000000),
(94, 69, 56, 968.00000000),
(95, 70, 95, 1712.31000000),
(96, 71, 69, 625.57000000),
(97, 71, 87, 665.50000000),
(98, 71, 101, 638.88000000),
(99, 72, 108, 7000.00000000),
(100, 73, 108, 4000.00000000),
(101, 74, 108, 800.00000000),
(102, 75, 112, 1219.68000000),
(103, 76, 136, 319.44000000),
(104, 76, 141, 1011.56000000),
(105, 77, 113, 6392.50000000),
(106, 78, 139, 425.40000000),
(107, 78, 142, 266.20000000),
(108, 79, 139, 0.52000000),
(109, 80, 118, 842.00000000),
(110, 80, 119, 1270.00000000),
(111, 80, 120, 965.00000000),
(112, 80, 121, 3570.00000000),
(113, 80, 123, 1113.00000000),
(114, 80, 126, 385.00000000),
(115, 81, 146, 1210.00000000),
(116, 82, 108, 1173.80000000),
(117, 83, 147, 600.16000000),
(118, 84, 138, 8458.50000000),
(119, 85, 137, 1422.96000000),
(120, 85, 149, 14883.00000000),
(121, 86, 90, 572.00000000),
(122, 86, 99, 430.00000000),
(123, 86, 130, 600.00000000),
(124, 86, 132, 570.77000000),
(125, 86, 150, 285.39000000),
(126, 86, 164, 885.39000000),
(127, 87, 152, 1346.73000000),
(128, 88, 104, 6229.75000000),
(129, 89, 153, 484.00000000),
(130, 90, 158, 598.95000000),
(131, 91, 157, 8965.00000000),
(132, 92, 167, 8036.90000000),
(133, 93, 51, 212.96000000),
(134, 93, 134, 212.96000000),
(135, 93, 135, 212.96000000),
(136, 94, 127, 484.00000000),
(137, 95, 128, 968.00000000),
(138, 96, 174, 14399.00000000),
(139, 97, 111, 585.64000000),
(140, 97, 116, 638.88000000),
(141, 97, 155, 532.40000000),
(142, 97, 169, 319.44000000),
(143, 98, 110, 1197.90000000),
(144, 98, 154, 425.92000000),
(145, 98, 168, 425.92000000),
(146, 99, 156, 1422.96000000),
(147, 99, 165, 83.64000000),
(148, 99, 170, 813.12000000),
(149, 100, 131, 3432.00000000),
(150, 100, 151, 338.00000000),
(151, 101, 161, 5297.38000000),
(152, 101, 163, 1331.00000000),
(153, 101, 173, 5789.85000000),
(154, 101, 175, 3015.32000000),
(155, 101, 178, 4112.79000000),
(156, 101, 185, 5453.66000000),
(157, 102, 177, 425.92000000),
(158, 103, 179, 1321.32000000),
(159, 104, 171, 425.92000000),
(160, 105, 176, 4748.70000000),
(161, 106, 188, 9946.20000000),
(162, 107, 189, 420.00000000),
(163, 108, 122, 1340.00000000),
(164, 108, 129, 2310.00000000),
(165, 108, 181, 270.00000000),
(166, 109, 183, 6361.50000000),
(167, 110, 115, 532.40000000),
(168, 111, 115, 532.40000000),
(169, 112, 194, 1219.68000000),
(170, 113, 195, 4365.68000000),
(171, 114, 58, 402.50000000),
(172, 115, 184, 532.40000000),
(173, 116, 196, 425.92000000),
(174, 117, 191, 10285.00000000),
(175, 118, 204, 5363.93000000),
(176, 119, 198, 4853.00000000),
(177, 119, 200, 8393.50000000),
(178, 120, 202, 831.04000000),
(179, 121, 214, 22022.00000000),
(180, 122, 217, 319.44000000),
(181, 123, 212, 285.00000000),
(182, 124, 186, 1219.68000000),
(183, 124, 203, 813.12000000),
(184, 124, 206, 10406.00000000),
(185, 125, 197, 6198.50000000),
(186, 126, 190, 805.00000000),
(187, 126, 215, 416.00000000),
(188, 127, 205, 479.16000000),
(189, 128, 223, 605.00000000),
(190, 129, 224, 605.00000000),
(191, 130, 211, 523.40000000),
(192, 131, 211, 9.00000000),
(193, 132, 210, 425.92000000),
(194, 133, 213, 1120.00000000),
(195, 134, 209, 4764.98000000),
(196, 135, 219, 4964.63000000),
(197, 136, 229, 1200.00000000),
(198, 137, 226, 559.02000000),
(199, 138, 225, 479.16000000),
(200, 139, 218, 425.92000000),
(201, 140, 227, 6082.67000000),
(202, 141, 231, 11549.99000000),
(203, 142, 228, 203.28000000),
(204, 143, 234, 465.85000000),
(205, 144, 235, 5111.04000000),
(206, 145, 240, 423.50000000),
(207, 145, 243, 5124.35000000),
(208, 146, 244, 425.92000000),
(209, 147, 256, 5637.39000000),
(210, 148, 257, 479.16000000),
(212, 149, 250, 1190.00000000),
(213, 150, 263, 344.85000000),
(214, 151, 264, 453.75000000),
(215, 152, 261, 1890.00000000),
(216, 153, 182, 300.00000000),
(217, 153, 201, 390.00000000),
(218, 153, 221, 390.00000000),
(219, 153, 232, 1155.00000000),
(220, 154, 249, 477.53000000),
(221, 155, 233, 2249.39000000),
(222, 155, 258, 399.30000000),
(223, 156, 248, 6098.40000000),
(224, 157, 268, 585.64000000),
(225, 158, 270, 58858.82000000),
(226, 159, 280, -1890.00000000),
(227, 160, 274, 1890.00000000),
(228, 161, 271, 12124.20000000),
(229, 161, 272, 9728.40000000),
(230, 162, 270, 53000.00000000),
(231, 163, 270, -106000.00000000),
(232, 164, 282, 1210.00000000),
(233, 165, 265, 770.00000000),
(234, 166, 267, 452.54000000),
(235, 167, 262, 910.00000000),
(236, 168, 275, 726.00000000),
(237, 169, 220, 813.12000000),
(238, 170, 222, -813.12000000),
(239, 171, 208, 813.12000000),
(240, 172, 288, -813.12000000),
(241, 173, 247, -3323.02000000),
(242, 174, 241, 3323.02000000),
(243, 175, 293, 5991.92000000),
(244, 176, 277, 7530.00000000),
(245, 177, 291, 585.64000000),
(246, 178, 236, 254.10000000),
(247, 178, 237, 2257.76000000),
(248, 178, 242, 203.28000000),
(249, 178, 254, 338.80000000),
(250, 178, 255, 254.10000000),
(251, 178, 269, 203.28000000),
(252, 179, 297, 3500.00000000),
(253, 180, 292, 203.28000000),
(254, 180, 300, 203.28000000),
(255, 181, 273, 1000.00000000),
(256, 182, 298, 479.16000000),
(257, 183, 290, 585.56000000),
(258, 184, 251, 435.00000000),
(259, 185, 284, 968.00000000),
(260, 186, 162, 648.56000000),
(261, 187, 192, 605.00000000),
(262, 188, 193, 423.50000000),
(263, 189, 216, 605.00000000),
(264, 190, 180, 400.00000000),
(265, 191, 238, 121.00000000),
(266, 192, 253, 181.50000000),
(267, 193, 185, 455.98000000),
(268, 194, 290, 0.08000000),
(269, 195, 109, 2674.10000000),
(270, 195, 117, 1911.80000000),
(271, 195, 125, 5257.45000000),
(272, 195, 133, 2674.10000000),
(273, 195, 140, 4019.62000000),
(274, 195, 144, 5244.14000000),
(275, 195, 159, 2954.82000000),
(276, 195, 166, 435.60000000),
(277, 195, 172, 3221.02000000),
(278, 196, 187, 2299.00000000),
(279, 196, 266, 2704.35000000),
(280, 196, 285, 931.70000000),
(281, 196, 286, 4094.64000000),
(282, 196, 301, 5144.92000000),
(283, 197, 289, 945.00000000),
(284, 198, 306, 532.40000000),
(285, 199, 245, 319.44000000),
(286, 200, 307, 203.28000000),
(287, 201, 305, 479.16000000),
(288, 202, 302, 2783.00000000),
(289, 202, 308, 4985.20000000),
(290, 203, 309, 1320.00000000),
(291, 203, 311, 2730.00000000),
(292, 203, 313, 2520.00000000),
(293, 203, 319, 1575.00000000),
(294, 204, 303, 435.00000000),
(295, 205, 318, 5091.68000000),
(296, 206, 322, 1464.10000000),
(300, 210, 320, 1050.00000000),
(301, 211, 316, 612.26000000),
(302, 212, 314, 3025.00000000),
(303, 213, 312, 875.00000000),
(304, 214, 315, 266.20000000),
(305, 215, 283, 875.00000000),
(306, 216, 260, 1028.50000000),
(307, 216, 299, 532.40000000),
(311, 220, 326, 1190.00000000),
(313, 221, 321, 363.00000000),
(319, 227, 310, 4430.00000000),
(320, 228, 239, 726.00000000),
(321, 229, 304, 968.00000000),
(330, 237, 273, 540.00000000),
(331, 237, 281, 468.00000000),
(337, 243, 281, 18.00000000),
(352, 255, 207, 1437.48000000),
(407, 295, 317, 203.28000000),
(454, 327, 478, 464.64000000),
(455, 328, 473, 580.80000000),
(456, 329, 490, 2635.38000000),
(457, 330, 476, 4056.00000000),
(458, 331, 485, 580.80000000),
(459, 332, 480, 1584.00000000),
(460, 332, 483, 5064.00000000),
(461, 333, 491, 2608.76000000),
(462, 334, 484, 367.84000000),
(463, 334, 488, 367.84000000),
(464, 334, 493, 367.84000000),
(465, 335, 469, 928.00000000),
(466, 336, 487, 4824.00000000),
(467, 337, 495, 1314.40000000),
(468, 338, 496, 2600.00000000),
(469, 339, 489, 464.64000000),
(470, 339, 492, 464.64000000),
(471, 340, 499, 367.84000000),
(472, 341, 497, 2635.38000000),
(473, 342, 501, 1700.00000000),
(474, 343, 494, 5184.00000000),
(475, 344, 503, 2395.80000000),
(476, 345, 498, 464.64000000),
(477, 346, 505, 413.82000000),
(478, 347, 504, 464.64000000),
(479, 348, 507, 2289.32000000),
(480, 349, 509, 367.84000000),
(481, 350, 500, 5136.00000000),
(482, 351, 523, 484.00000000),
(483, 352, 506, 4824.00000000),
(484, 352, 510, 5112.00000000),
(485, 352, 516, 2544.00000000),
(486, 353, 514, 2715.24000000),
(487, 353, 518, 2688.62000000),
(488, 353, 527, 2715.24000000),
(489, 354, 515, 183.92000000),
(490, 354, 519, 367.84000000),
(491, 354, 528, 367.84000000),
(492, 355, 508, 464.64000000),
(493, 355, 517, 464.64000000),
(494, 355, 520, 464.64000000),
(495, 356, 529, 3585.00000000),
(496, 357, 524, -812.00000000),
(497, 358, 458, 3580.80000000),
(498, 359, 521, 3288.00000000),
(499, 359, 530, 21235.50000000),
(500, 360, 526, 464.64000000),
(501, 361, 533, 413.82000000),
(502, 362, 525, 5352.00000000),
(503, 363, 512, -2044.80000000),
(504, 364, 525, 720.00000000),
(505, 364, 535, 6048.00000000),
(506, 364, 541, 6048.00000000),
(507, 365, 543, 367.84000000),
(508, 365, 548, 413.82000000),
(509, 365, 554, 413.82000000),
(510, 365, 559, 413.82000000),
(511, 366, 549, 4824.00000000),
(512, 366, 555, 6216.00000000),
(513, 366, 560, 5664.00000000),
(514, 366, 562, 9768.00000000),
(515, 366, 568, 1415.70000000),
(516, 366, 569, 10104.00000000),
(517, 366, 576, 8832.00000000),
(518, 366, 579, 12768.00000000),
(519, 366, 582, 21235.00000000),
(520, 367, 563, 413.82000000),
(521, 367, 571, 620.73000000),
(522, 367, 574, 597.74000000),
(523, 367, 581, 528.77000000),
(524, 367, 587, 666.71000000),
(525, 367, 593, 551.76000000),
(526, 368, 531, 464.64000000),
(527, 368, 544, 464.64000000),
(528, 368, 547, 464.64000000),
(529, 368, 553, 580.80000000),
(530, 368, 558, 580.80000000),
(531, 368, 564, 232.32000000),
(532, 368, 578, 348.48000000),
(533, 369, 532, 1863.40000000),
(534, 369, 540, 1623.82000000),
(535, 369, 546, 2236.08000000),
(536, 369, 552, 2422.42000000),
(537, 369, 557, 2116.29000000),
(538, 369, 565, 1743.61000000),
(539, 369, 570, 2142.91000000),
(540, 369, 575, 2129.60000000),
(541, 369, 580, 2236.08000000),
(542, 369, 586, 2236.08000000),
(543, 370, 582, 0.50000000),
(544, 371, 584, 464.64000000),
(545, 372, 578, 116.16000000),
(546, 373, 576, 2856.00000000),
(547, 373, 585, 7176.00000000),
(548, 373, 591, 11592.00000000),
(549, 373, 601, 7368.00000000),
(550, 373, 605, 6240.00000000),
(551, 373, 610, 4344.00000000),
(552, 374, 462, 464.64000000),
(553, 374, 590, 464.64000000),
(554, 374, 600, 464.64000000),
(555, 374, 604, 464.64000000),
(556, 374, 609, 464.64000000),
(557, 374, 614, 348.48000000),
(558, 374, 619, 464.64000000),
(559, 374, 624, 464.64000000),
(560, 374, 638, 348.48000000),
(561, 375, 602, 689.70000000),
(562, 375, 606, 597.74000000),
(563, 375, 611, 551.76000000),
(564, 375, 613, 643.72000000),
(565, 375, 621, 586.25000000),
(566, 375, 626, 597.74000000),
(567, 375, 635, 712.69000000),
(568, 375, 640, 643.72000000);

-- --------------------------------------------------------

--
-- Structure de la table `llx_payment_salary`
--

CREATE TABLE `llx_payment_salary` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user` int(11) NOT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double NOT NULL DEFAULT '0',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `datesp` date DEFAULT NULL,
  `dateep` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_prelevement_bons`
--

CREATE TABLE `llx_prelevement_bons` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(12) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `amount` double DEFAULT '0',
  `statut` smallint(6) DEFAULT '0',
  `credite` smallint(6) DEFAULT '0',
  `note` text,
  `date_trans` datetime DEFAULT NULL,
  `method_trans` smallint(6) DEFAULT NULL,
  `fk_user_trans` int(11) DEFAULT NULL,
  `date_credit` datetime DEFAULT NULL,
  `fk_user_credit` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_prelevement_facture`
--

CREATE TABLE `llx_prelevement_facture` (
  `rowid` int(11) NOT NULL,
  `fk_facture` int(11) NOT NULL,
  `fk_prelevement_lignes` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_prelevement_facture_demande`
--

CREATE TABLE `llx_prelevement_facture_demande` (
  `rowid` int(11) NOT NULL,
  `fk_facture` int(11) NOT NULL,
  `amount` double NOT NULL,
  `date_demande` datetime NOT NULL,
  `traite` smallint(6) DEFAULT '0',
  `date_traite` datetime DEFAULT NULL,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_user_demande` int(11) NOT NULL,
  `code_banque` varchar(7) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_prelevement_lignes`
--

CREATE TABLE `llx_prelevement_lignes` (
  `rowid` int(11) NOT NULL,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `statut` smallint(6) DEFAULT '0',
  `client_nom` varchar(255) DEFAULT NULL,
  `amount` double DEFAULT '0',
  `code_banque` varchar(7) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_prelevement_rejet`
--

CREATE TABLE `llx_prelevement_rejet` (
  `rowid` int(11) NOT NULL,
  `fk_prelevement_lignes` int(11) DEFAULT NULL,
  `date_rejet` datetime DEFAULT NULL,
  `motif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_creation` int(11) DEFAULT NULL,
  `note` text,
  `afacturer` tinyint(4) DEFAULT '0',
  `fk_facture` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_printer_ipp`
--

CREATE TABLE `llx_printer_ipp` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `printer_name` text NOT NULL,
  `printer_location` text NOT NULL,
  `printer_uri` varchar(255) NOT NULL,
  `copy` int(11) NOT NULL DEFAULT '1',
  `module` varchar(16) NOT NULL,
  `login` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product`
--

CREATE TABLE `llx_product` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(128) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(128) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `virtual` tinyint(4) NOT NULL DEFAULT '0',
  `fk_parent` int(11) DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text,
  `note` text,
  `customcode` varchar(32) DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `fk_user_author` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT '1',
  `tobuy` tinyint(4) DEFAULT '1',
  `fk_product_type` int(11) DEFAULT '0',
  `duration` varchar(6) DEFAULT NULL,
  `seuil_stock_alerte` int(11) DEFAULT '0',
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT '0',
  `accountancy_code_sell` varchar(15) DEFAULT NULL,
  `accountancy_code_buy` varchar(15) DEFAULT NULL,
  `partnumber` varchar(32) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `weight_units` tinyint(4) DEFAULT NULL,
  `length` float DEFAULT NULL,
  `length_units` tinyint(4) DEFAULT NULL,
  `surface` float DEFAULT NULL,
  `surface_units` tinyint(4) DEFAULT NULL,
  `volume` float DEFAULT NULL,
  `volume_units` tinyint(4) DEFAULT NULL,
  `stock` int(11) DEFAULT NULL,
  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  `canvas` varchar(32) DEFAULT NULL,
  `finished` tinyint(4) DEFAULT NULL,
  `hidden` tinyint(4) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `desiredstock` int(11) DEFAULT '0',
  `url` varchar(255) DEFAULT NULL,
  `tobatch` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_product`
--

INSERT INTO `llx_product` (`rowid`, `ref`, `entity`, `ref_ext`, `datec`, `tms`, `virtual`, `fk_parent`, `label`, `description`, `note`, `customcode`, `fk_country`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax2_tx`, `fk_user_author`, `tosell`, `tobuy`, `fk_product_type`, `duration`, `seuil_stock_alerte`, `barcode`, `fk_barcode_type`, `accountancy_code_sell`, `accountancy_code_buy`, `partnumber`, `weight`, `weight_units`, `length`, `length_units`, `surface`, `surface_units`, `volume`, `volume_units`, `stock`, `pmp`, `canvas`, `finished`, `hidden`, `import_key`, `desiredstock`, `url`, `tobatch`) VALUES
(1, 'nettoyage_maison_prive', 1, NULL, '2014-06-26 13:26:49', '2014-06-30 10:29:20', 0, 0, 'NMP', 'BAASBERGSTRAAT 9 - LENNIK', '', '', NULL, 25.00000000, 30.25000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 1, 1, '', NULL, NULL, 0, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.00000000, '', 0, 0, NULL, NULL, NULL, 0),
(2, 'Nettoyage', 1, NULL, '2014-10-31 13:13:51', '2014-10-31 09:24:02', 0, 0, 'Nettoyage', 'nettoyage', '', '', NULL, 22.00000000, 26.62000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 1, 0, '', NULL, NULL, 0, '', '', NULL, NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL, 0.00000000, '', NULL, 0, NULL, NULL, NULL, 0),
(3, 'netBur', 1, NULL, '2015-04-27 14:32:44', '2015-04-27 10:32:44', 0, 0, 'netBur', '', '', '', NULL, 17.00000000, 20.57000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 1, 1, '1h', NULL, NULL, NULL, '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.00000000, '', 0, 0, NULL, NULL, NULL, 0);

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_association`
--

CREATE TABLE `llx_product_association` (
  `rowid` int(11) NOT NULL,
  `fk_product_pere` int(11) NOT NULL DEFAULT '0',
  `fk_product_fils` int(11) NOT NULL DEFAULT '0',
  `qty` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_batch`
--

CREATE TABLE `llx_product_batch` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product_stock` int(11) NOT NULL,
  `eatby` datetime DEFAULT NULL,
  `sellby` datetime DEFAULT NULL,
  `batch` varchar(30) DEFAULT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_customer_price`
--

CREATE TABLE `llx_product_customer_price` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_customer_price_log`
--

CREATE TABLE `llx_product_customer_price_log` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) DEFAULT 'HT',
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_extrafields`
--

CREATE TABLE `llx_product_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_fournisseur_price`
--

CREATE TABLE `llx_product_fournisseur_price` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `ref_fourn` varchar(30) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT '0',
  `remise` double NOT NULL DEFAULT '0',
  `unitprice` double(24,8) DEFAULT '0.00000000',
  `charges` double(24,8) DEFAULT '0.00000000',
  `unitcharges` double(24,8) DEFAULT '0.00000000',
  `tva_tx` double(6,3) NOT NULL,
  `info_bits` int(11) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_product_fournisseur_price`
--

INSERT INTO `llx_product_fournisseur_price` (`rowid`, `entity`, `datec`, `tms`, `fk_product`, `fk_soc`, `ref_fourn`, `fk_availability`, `price`, `quantity`, `remise_percent`, `remise`, `unitprice`, `charges`, `unitcharges`, `tva_tx`, `info_bits`, `fk_user`, `import_key`) VALUES
(2, 1, '2015-04-27 14:35:09', '2015-04-27 10:35:09', 3, 17, 'hdhh', 0, 15.00000000, 1, 0, 0, 15.00000000, 0.00000000, 0.00000000, 21.000, 0, 4, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_fournisseur_price_log`
--

CREATE TABLE `llx_product_fournisseur_price_log` (
  `rowid` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `fk_product_fournisseur` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_lang`
--

CREATE TABLE `llx_product_lang` (
  `rowid` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL DEFAULT '0',
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_price`
--

CREATE TABLE `llx_product_price` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `date_price` datetime NOT NULL,
  `price_level` smallint(6) DEFAULT '1',
  `price` double(24,8) DEFAULT NULL,
  `price_ttc` double(24,8) DEFAULT NULL,
  `price_min` double(24,8) DEFAULT NULL,
  `price_min_ttc` double(24,8) DEFAULT NULL,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `tva_tx` double(6,3) NOT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `fk_user_author` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT '1',
  `price_by_qty` int(11) NOT NULL DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_product_price`
--

INSERT INTO `llx_product_price` (`rowid`, `entity`, `tms`, `fk_product`, `date_price`, `price_level`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax2_tx`, `fk_user_author`, `tosell`, `price_by_qty`, `import_key`) VALUES
(1, 1, '2014-06-26 09:26:49', 1, '2014-06-26 13:26:49', 1, 25.00000000, 30.25000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 0, NULL),
(2, 1, '2014-10-31 09:13:51', 2, '2014-10-31 13:13:51', 1, 22.00000000, 26.62000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 0, NULL),
(3, 1, '2015-04-27 10:32:44', 3, '2015-04-27 14:32:44', 1, 17.00000000, 20.57000000, 0.00000000, 0.00000000, 'HT', 21.000, 0, 0.000, 0.000, 4, 1, 0, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_price_by_qty`
--

CREATE TABLE `llx_product_price_by_qty` (
  `rowid` int(11) NOT NULL,
  `fk_product_price` int(11) NOT NULL,
  `date_price` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT '0',
  `remise` double NOT NULL DEFAULT '0',
  `unitprice` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_product_stock`
--

CREATE TABLE `llx_product_stock` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `reel` double DEFAULT NULL,
  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_projet`
--

CREATE TABLE `llx_projet` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `datec` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `title` varchar(255) NOT NULL,
  `description` text,
  `fk_user_creat` int(11) NOT NULL,
  `public` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_projet_extrafields`
--

CREATE TABLE `llx_projet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_projet_task`
--

CREATE TABLE `llx_projet_task` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_projet` int(11) NOT NULL,
  `fk_task_parent` int(11) NOT NULL DEFAULT '0',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dateo` datetime DEFAULT NULL,
  `datee` datetime DEFAULT NULL,
  `datev` datetime DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `description` text,
  `duration_effective` double NOT NULL DEFAULT '0',
  `planned_workload` double NOT NULL DEFAULT '0',
  `progress` int(11) DEFAULT '0',
  `priority` int(11) DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `rang` int(11) DEFAULT '0',
  `model_pdf` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_projet_task_extrafields`
--

CREATE TABLE `llx_projet_task_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_projet_task_time`
--

CREATE TABLE `llx_projet_task_time` (
  `rowid` int(11) NOT NULL,
  `fk_task` int(11) NOT NULL,
  `task_date` date DEFAULT NULL,
  `task_duration` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `thm` double(24,8) DEFAULT NULL,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_propal`
--

CREATE TABLE `llx_propal` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_client` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `price` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_propal`
--

INSERT INTO `llx_propal` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `fk_soc`, `fk_projet`, `tms`, `datec`, `datep`, `fin_validite`, `date_valid`, `date_cloture`, `fk_user_author`, `fk_user_valid`, `fk_user_cloture`, `fk_statut`, `price`, `remise_percent`, `remise_absolue`, `remise`, `total_ht`, `tva`, `localtax1`, `localtax2`, `total`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `note_private`, `note_public`, `model_pdf`, `date_livraison`, `fk_availability`, `fk_input_reason`, `import_key`, `extraparams`, `fk_delivery_address`) VALUES
(1, 'PR1508-0001', 1, NULL, NULL, 'Chatier Rue de Facq', 23, NULL, '2015-08-17 12:46:07', '2015-08-17 16:42:53', '2015-08-17', '2015-09-01 12:00:00', '2015-08-17 16:45:29', '2015-08-17 16:46:07', 4, 4, 4, 2, 0, NULL, NULL, 0, 1550.00000000, 325.50000000, 0.00000000, 0.00000000, 1875.50000000, NULL, NULL, 7, 2, '', '', 'azur', NULL, 0, 8, NULL, NULL, NULL),
(2, 'PR1606-0002', 1, NULL, NULL, '', 35, NULL, '2016-06-15 11:17:58', '2016-06-15 14:58:04', '2016-06-15', '2016-06-30 12:00:00', '2016-06-15 15:17:58', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 775.00000000, 0.00000000, 0.00000000, 0.00000000, 775.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(4, 'PR1703-0003', 1, NULL, NULL, '', 54, NULL, '2017-03-23 11:58:53', '2017-03-23 15:52:47', '2017-03-23', '2017-04-07 12:00:00', '2017-03-23 15:58:53', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(5, 'PR1705-0004', 1, NULL, NULL, '', 57, NULL, '2017-05-24 09:48:17', '2017-05-24 13:46:26', '2017-05-24', '2017-06-08 12:00:00', '2017-05-24 13:48:17', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 24.00000000, 5.04000000, 0.00000000, 0.00000000, 29.04000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(6, 'PR1706-0005', 1, NULL, NULL, '', 57, NULL, '2017-06-14 09:07:47', '2017-06-14 12:11:35', '2017-06-14', '2017-06-29 12:11:35', '2017-06-14 13:07:47', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 52.00000000, 10.92000000, 0.00000000, 0.00000000, 62.92000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(7, 'PR1709-0006', 1, NULL, NULL, '', 60, NULL, '2017-09-20 12:05:50', '2017-09-18 14:25:14', '2017-09-18', '2017-10-03 12:00:00', '2017-09-20 16:05:50', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 63180.00000000, 0.00000000, 0.00000000, 0.00000000, 63180.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(8, 'PR1709-0007', 1, NULL, NULL, '', 60, NULL, '2017-09-20 12:04:46', '2017-09-18 14:33:27', '2017-09-18', '2017-10-03 12:00:00', '2017-09-20 16:04:46', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 14200.00000000, 0.00000000, 0.00000000, 0.00000000, 14200.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(9, 'PR1709-0008', 1, NULL, NULL, '', 61, NULL, '2017-09-20 12:03:24', '2017-09-18 14:47:13', '2017-09-18', '2017-10-03 12:00:00', '2017-09-20 16:03:24', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 56200.00000000, 0.00000000, 0.00000000, 0.00000000, 56200.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(10, 'PR1709-0009', 1, NULL, NULL, '', 61, NULL, '2017-09-20 12:04:18', '2017-09-20 14:55:11', '2017-09-20', '2017-10-05 12:00:00', '2017-09-20 16:04:18', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 35000.00000000, 0.00000000, 0.00000000, 0.00000000, 35000.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(11, 'PR1709-0010', 1, NULL, NULL, '', 60, NULL, '2017-09-20 11:48:12', '2017-09-20 15:47:14', '2017-09-20', '2017-10-05 12:00:00', '2017-09-20 15:48:12', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 65000.00000000, 0.00000000, 0.00000000, 0.00000000, 65000.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(12, 'PR1711-0011', 1, NULL, NULL, '', 63, NULL, '2017-11-22 06:59:16', '2017-11-22 10:54:16', '2017-11-22', '2017-12-07 12:00:00', '2017-11-22 10:59:16', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 834.00000000, 175.14000000, 0.00000000, 0.00000000, 1009.14000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(13, 'PR1812-0012', 1, NULL, NULL, '', 72, NULL, '2018-12-18 10:59:48', '2018-12-18 11:56:39', '2018-11-01', '2019-01-02 12:00:00', '2018-12-18 11:59:48', NULL, 4, 4, NULL, 1, 0, NULL, NULL, 0, 6200.00000000, 1302.00000000, 0.00000000, 0.00000000, 7502.00000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL),
(14, '(PROV14)', 1, NULL, NULL, '', 89, NULL, '2020-07-15 10:47:39', '2020-07-15 12:47:10', '2020-07-15', '2020-07-30 12:00:00', NULL, NULL, 1, NULL, NULL, 0, 0, NULL, NULL, 0, 16.00000000, 3.36000000, 0.00000000, 0.00000000, 19.36000000, NULL, NULL, 1, 0, '', '', 'azur', NULL, 0, 0, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_propaldet`
--

CREATE TABLE `llx_propaldet` (
  `rowid` int(11) NOT NULL,
  `fk_propal` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `fk_remise_except` int(11) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `product_type` int(11) DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT '0.00000000',
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_propaldet`
--

INSERT INTO `llx_propaldet` (`rowid`, `fk_propal`, `fk_parent_line`, `fk_product`, `label`, `description`, `fk_remise_except`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `price`, `subprice`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `buy_price_ht`, `fk_product_fournisseur_price`, `special_code`, `rang`) VALUES
(1, 1, NULL, NULL, NULL, 'Placement D\'une Vouvelle Porte de Sécurité', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1550.00000000, 1550.00000000, 325.50000000, 0.00000000, 0.00000000, 1875.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(2, 2, NULL, NULL, NULL, 'Maison n° 11 -  Beauvechain, \r\nEnlèvement d objet encombrants + nettoyage maison complète + vitres ', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 350, 350.00000000, 350.00000000, 0.00000000, 0.00000000, 0.00000000, 350.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(3, 2, NULL, NULL, NULL, ' Maison n° 12 - Beauvechain,\r\nEnlèvement d objet encombrants + nettoyage maison complète + vitres', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 425, 425.00000000, 425.00000000, 0.00000000, 0.00000000, 0.00000000, 425.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(4, 4, NULL, NULL, NULL, 'Naar aanleiding van uw vraag, hebben wij het genoegen u hierbij onze tarieven mee te delen voor de schoonmaak van de verschillende werven van DINNER INVEST\r\n\r\nTarief tijdens de week:   				25.50 euro excl. BTW /uur\r\nTarif op zaterdag: 					31.00 euro excl. BTW/uur\r\n\r\n\r\nIndien u meer informatie had gewenst, aarzel niet ons te contacteren. \r\n\r\nHoogachtend, \r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 1),
(5, 4, NULL, NULL, NULL, '\r\nSuite à votre demande, vous trouverez ci-joint les tarifs relatifs au nettoyage des différents chantiers de DINNER INVEST\r\n\r\nTarif en semaine :					25.50 euros HTVA /heure\r\nTarif du samedi : 					31.00 euros HTVA /heure\r\n\r\n\r\nNous nous tenons à votre disposition pour toute information complémentaire. \r\n\r\nNous vous prions d’agréer, Madame, Monsieur, nos respectueuses salutations. \r\n\r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 2),
(6, 5, NULL, NULL, NULL, 'Notre meilleure offre pour le nettoyage des bureaux ainsi que pour le repassage est de 24 euros / heure\r\n\r\nCette offre comprend pour le nettoyage : le matériel et les produits \r\n\r\n', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 24.00000000, 24.00000000, 5.04000000, 0.00000000, 0.00000000, 29.04000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(7, 6, NULL, NULL, NULL, 'Notre meilleure offre pour le nettoyage selon votre cahier de charge est de 24 euros de l heure\r\n\r\nDans un premier temps il est nécessaire de mettre 2 personnes pour mettre à jour le chantier\r\nCette offre comprend pour le nettoyage : le matériel et les produits  ', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, 24, 24.00000000, 24.00000000, 5.04000000, 0.00000000, 0.00000000, 29.04000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(8, 6, NULL, NULL, NULL, 'Pour le nettoyage des vitres 1/mois', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 28.00000000, 28.00000000, 5.88000000, 0.00000000, 0.00000000, 33.88000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(9, 7, NULL, NULL, NULL, '1// Landscape maintenance\r\n	Regular maintenance\r\n	Seasonal maintenance\r\n	Maintenance of the irrigation system\r\n	Road sweeping and cleaning of the borders', NULL, 0.000, 0.000, '0', 0.000, '0', 3, 0, 0, 4500, 4500.00000000, 13500.00000000, 0.00000000, 0.00000000, 0.00000000, 13500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(10, 7, NULL, NULL, NULL, '2// Pest / insect / Rodent (rats/mice) control', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 980, 980.00000000, 980.00000000, 0.00000000, 0.00000000, 0.00000000, 980.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3),
(12, 7, NULL, NULL, NULL, '3// buildings and accessories\r\n	Maintenance of the exterior doors, windows and doors not powered\r\n	Toilet maintenance\r\n	Maintenance offices\r\n	Maintenance kitchens and offices\r\n	Maintenance stairs outside\r\n	Maintenance of signalling the entrance gate\r\n	Maintenance of the frame\r\n	Maintenance of the roof\r\n	Maintenance gutters / roof evacuations\r\n	Maintenance of storm drains\r\n	Maintenance of doors not powered\r\n	Maintenance of the entrance gate\r\n	Paintings', NULL, 0.000, 0.000, '0', 0.000, '0', 2, 0, 0, 4500, 4500.00000000, 9000.00000000, 0.00000000, 0.00000000, 0.00000000, 9000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 4),
(13, 7, NULL, NULL, NULL, '4// Materials to allow maintenance of the:\r\nbuildings and accessories \r\nPhysics - painting - electrical system', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 5700, 5700.00000000, 5700.00000000, 0.00000000, 0.00000000, 0.00000000, 5700.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 5),
(14, 7, NULL, NULL, NULL, '5// Maintenance Swimming Pool / Sauna / Jacuzzi\r\n	Maintenance of pumps - filters - valves 6 channels\r\n	Control of the Ph of the pool + the rate of chlorine (keeping in the standard)\r\n	Maintenance Sauna\r\n	Maintenance Jacuzzi\r\nThe components of the pool are to be repaired and the Jacuzzi is to be replaced before doing the maintenance	', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 1700, 1700.00000000, 1700.00000000, 0.00000000, 0.00000000, 0.00000000, 1700.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 6),
(15, 7, NULL, NULL, NULL, '6// Cleaning of the Premises\r\n	Entrance, hall and corridors\r\n	Office and living room\r\n	Toilets and bathroom \r\n	Kitchens\r\n	Glass inside and outside\r\n	Gym\r\nThere is a leak to fix at the ceiling probably caused by the fridge leaking	', NULL, 0.000, 0.000, '0', 0.000, '0', 5, 0, 0, 4500, 4500.00000000, 22500.00000000, 0.00000000, 0.00000000, 0.00000000, 22500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 7),
(16, 7, NULL, NULL, NULL, '7// Sewer Maintenance\r\nProviding product maintenance and hardware maintenance for cleaning\r\nProviding hardware maintenance garden\r\n Rental of the necessary machines\r\n(elevator, engines for maintain garden, engines for cleaning)', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 9800, 9800.00000000, 9800.00000000, 0.00000000, 0.00000000, 0.00000000, 9800.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 8),
(20, 7, NULL, NULL, NULL, 'MONTHLY PRICE', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 1),
(21, 8, NULL, NULL, NULL, 'ANNUAL PRICE', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 1),
(22, 8, NULL, NULL, NULL, '1// Electrical systems (annual price)', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 9200, 9200.00000000, 9200.00000000, 0.00000000, 0.00000000, 0.00000000, 9200.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(23, 8, NULL, NULL, NULL, 'maintenance of electrical systems\r\nmaintenance of indoor and outdoor light\r\nmaintenance elevator (additional maintenance contract)\r\n\r\nthe outdoor light is to be repaired before doing the maintenance - \r\nworks not included in this tender		', NULL, 0.000, 0.000, '0', 0.000, '0', 2, 0, 0, 2500, 2500.00000000, 5000.00000000, 0.00000000, 0.00000000, 0.00000000, 5000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3),
(24, 8, NULL, NULL, NULL, '\"the great works of complete replacement of a system or part of the building, will be subject to an extra quote  (for example full paint, tile, ceiling replacement replacement, etc)\"					\r\n \r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 4),
(25, 8, NULL, NULL, NULL, 'POSITIONS TO DEFINE', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 5),
(26, 8, NULL, NULL, NULL, '1// HVAC €130 / h - approximate number of hours - a check during the first maintenance - to define (HVAC = heating - ventilation and air conditioning)\r\n	Maintenance boiler\r\n	Maintenance water heater\r\n	Maintenance ventilation system\r\n\r\n130 euros / hour\r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 6),
(27, 8, NULL, NULL, NULL, '6// systems of detection and fire suppression  (to define due to the passage of a specialized technician)\r\n	Maintenance of systems of detection of fire\r\n	Maintenance of alarm systems - NOT INCLUDED\r\n	Maintenance of fire extinguishers (number to be defined)\r\n\r\nMO joint - sealed - label - including maintenance\r\n\r\n\r\nNOT INCLUDED\r\n75€ excl VAT / PU', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, 0, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 7),
(28, 8, NULL, NULL, NULL, '\r\n9// Certificates\r\n	risk management - to define what it is exactly\r\n	certificate for electrical system\r\n	certificate for fire system\r\n	certificate for elevator system\r\nThe certificates will be produced by certified contractors\r\n\r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 8),
(29, 8, NULL, NULL, NULL, '2// Consumables for maintenance services (sufficient list for duration of the contract)', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 9),
(31, 9, NULL, NULL, NULL, '2// Pest / insect / Rodent (rats/mice) control', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 450, 450.00000000, 450.00000000, 0.00000000, 0.00000000, 0.00000000, 450.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(32, 9, NULL, NULL, NULL, '3// buildings and accessories (outstanding men:6)\r\n	Maintenance of doors and windows\r\n	Toilet maintenance\r\n	Maintenance offices\r\n	Maintenance kitchens and offices\r\n	Maintenance stairs outside\r\n	Maintenance of signalling the entrance gate\r\n	Maintenance of the frame\r\n	Maintenance of the roof\r\n	Maintenance gutters / roof evacuations\r\n	Maintenance of storm drains\r\n	Maintenance of doors not powered\r\n	Maintenance fence steel\r\n	Paintings', NULL, 0.000, 0.000, '0', 0.000, '0', 2, 0, 0, 4500, 4500.00000000, 9000.00000000, 0.00000000, 0.00000000, 0.00000000, 9000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(33, 9, NULL, NULL, NULL, '4// Materials to allow maintenance of the:\r\nLandscape - buildings and accessories - security system\r\nPhysics - painting - electrical system', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 4800, 4800.00000000, 4800.00000000, 0.00000000, 0.00000000, 0.00000000, 4800.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3),
(34, 9, NULL, NULL, NULL, 'B CUSTODIAL SERVICES // Cleaning of the premises\r\nSchedule workforce\r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 4),
(35, 9, NULL, NULL, NULL, '8h of work per day per cleaning staff (x 5 persons)', NULL, 0.000, 0.000, '0', 0.000, '0', 5, 0, 0, 4500, 4500.00000000, 22500.00000000, 0.00000000, 0.00000000, 0.00000000, 22500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 5),
(36, 9, NULL, NULL, NULL, '8h of work per day per coffee service staff + drinks + etc.', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 4500, 4500.00000000, 4500.00000000, 0.00000000, 0.00000000, 0.00000000, 4500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 6),
(37, 9, NULL, NULL, NULL, '8h of work per day for Manager of the office - schedules – materials // Secretary', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 4500, 4500.00000000, 4500.00000000, 0.00000000, 0.00000000, 0.00000000, 4500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 7),
(38, 9, NULL, NULL, NULL, '1// Cleaning of the Premises\r\n	Entrance, hall and corridors\r\n	Office and living room\r\n	Toilets \r\n	Kitchens and offices\r\n	Glass inside and outside\r\n\r\n2// Providing product maintenance and hardware maintenance for cleaning', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 1200, 1200.00000000, 1200.00000000, 0.00000000, 0.00000000, 0.00000000, 1200.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 8),
(39, 9, NULL, NULL, NULL, 'ANNUAL PRICE\r\n1// Electrical systems (annual price)\r\nmaintenance of electrical systems\r\nmaintenance backup generator', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 6000, 6000.00000000, 6000.00000000, 0.00000000, 0.00000000, 0.00000000, 6000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 9),
(40, 9, NULL, NULL, NULL, 'maintenance elevator (additional maintenance contract)\r\nmaintenance of indoor and outdoor light', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 2500, 2500.00000000, 2500.00000000, 0.00000000, 0.00000000, 0.00000000, 2500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 10),
(41, 9, NULL, NULL, NULL, 'maintenance of the lightning protection system – to define\r\nmaintenance of the building management system\r\n\r\nCurrently the water softener, the system of cascade, the automatic sprinkler system, and many accessories such as handles are broken or need to be repaired or replaced.\r\n\r\nThe great works of complete replacement of a system or part of the building, will be subject to an extra quote (for example full paint, tile, ceiling replacement, etc.)\r\n\r\nFor any questions or remarks, please contact us', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 750, 750.00000000, 750.00000000, 0.00000000, 0.00000000, 0.00000000, 750.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 11),
(42, 9, NULL, NULL, NULL, 'POSITIONS TO DEFINE\r\n1// HVAC €130 / h - approximate number of hours - a check during the first maintenance - to define (HVAC = heating - ventilation and air conditioning)\r\n	Maintenance of water cooler\r\n	Maintenance of water distribution system\r\n	Maintenance of air compressor\r\n	Maintenance of pumps\r\n	Maintenance of fire dampers\r\n	Maintenance boiler\r\n	Maintenance water heater\r\n\r\n6// Systems of detection and fire suppression\r\n	Maintenance of systems of detection of fire\r\n	Maintenance of alarm systems - NOT INCLUDED\r\n	Maintenance of Sprinkler system\r\n	Maintenance of Cleaning Agent FM200V\r\n	Maintenance of fire extinguishers (number to be defined)\r\n\r\nMO joint - sealed - label - including maintenance\r\n\r\n9// Certificates\r\n	risk management - to define what it is exactly\r\n	certificate for electrical system\r\n	certificate for fire system\r\n	certificate for elevator system\r\nThe certificates will be produced by certified contractors\r\n\r\n2// Consumables for maintenance services (sufficient list for duration of the contract)\r\n', NULL, 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 3, 12),
(43, 10, NULL, NULL, NULL, 'General rehabilitation ', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 35000, 35000.00000000, 35000.00000000, 0.00000000, 0.00000000, 0.00000000, 35000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(44, 11, NULL, NULL, NULL, 'General rehabilitation\r\nRepair of damaged equipment\r\nDrainage of rain rehabilitated (not included: restoring coating of the roads', NULL, 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, 65000, 65000.00000000, 65000.00000000, 0.00000000, 0.00000000, 0.00000000, 65000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(45, 12, NULL, NULL, NULL, 'GRAND NETTOYAGE\r\nlocaux situé à Basteleusstraat 2-6   - 1600 sint-pieters-leeuw\r\n\r\n\r\nNettoyage en profondeur des sanitaires WC + douches\r\nNettoyage des fenêtres  + châssis  int/ext + dépoussiérage des stores\r\nNettoyage du mobilier int/ext\r\nAspirateur et nettoyage des sols\r\n\r\n\r\n\r\n', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 450.00000000, 450.00000000, 94.50000000, 0.00000000, 0.00000000, 544.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(46, 12, NULL, NULL, NULL, 'ENTRETIEN GÉNÉRAL DES LOCAUX \r\nsitué à Basteleusstraat 2-6 - 1600 sint-pieters-leeuw\r\n- Nettoyage des sanitaires + cuisine\r\nNettoyage des sols\r\nNettoyage des bureaux + vider les poubelles\r\n(24 euros/heure) *4 heures / passage\r\ntotal au  mois  \r\n', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 384.00000000, 384.00000000, 80.64000000, 0.00000000, 0.00000000, 464.64000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2),
(47, 13, NULL, NULL, NULL, 'INTERVENTION SUITE A DEGATS DES EAUX \r\n\r\n* CUISINE DU REZ DE CHAUSSEE\r\n- Démolition et évacuation des déchets + containers\r\n- réparation fuite\r\n- fermer les tranchées\r\n- Masticage, ponçage, peinture primaire + couleur \r\n\r\nSDB 1er étage\r\n\r\nEnlèvement du carrelage \r\nréparation\r\nplacement nouveau carrelage\r\n\r\n\r\n', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 6200.00000000, 6200.00000000, 1302.00000000, 0.00000000, 0.00000000, 7502.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1),
(48, 14, NULL, NULL, NULL, 'Transport d\'échantillons d\'eau usée :\r\n- à garder au froid (glacière)\r\n- 1 pot de 500 ml\r\n- 2x/semaine pendant 2 ans\r\n- heure de retrait : +/- 10h00\r\n- adresse de retrait : 319 rue Bollinckx B-1190 Forest (Station d’épuration)\r\n- adresse de livraison : 14 rue Juliette Wytsman B-1050 Ixelles (Sciensano)\r\n\r\n- Début des services : première semaine d’août', NULL, 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 16.00000000, 16.00000000, 3.36000000, 0.00000000, 0.00000000, 19.36000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_propaldet_extrafields`
--

CREATE TABLE `llx_propaldet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_propal_extrafields`
--

CREATE TABLE `llx_propal_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_resource`
--

CREATE TABLE `llx_resource` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) DEFAULT NULL,
  `ref` varchar(255) DEFAULT NULL,
  `description` text,
  `fk_code_type_resource` varchar(32) DEFAULT NULL,
  `note_public` text,
  `note_private` text,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_rights_def`
--

CREATE TABLE `llx_rights_def` (
  `id` int(11) NOT NULL DEFAULT '0',
  `libelle` varchar(255) DEFAULT NULL,
  `module` varchar(64) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `perms` varchar(50) DEFAULT NULL,
  `subperms` varchar(50) DEFAULT NULL,
  `type` varchar(1) DEFAULT NULL,
  `bydefault` tinyint(4) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_rights_def`
--

INSERT INTO `llx_rights_def` (`id`, `libelle`, `module`, `entity`, `perms`, `subperms`, `type`, `bydefault`) VALUES
(11, 'Lire les factures', 'facture', 1, 'lire', NULL, 'a', 1),
(12, 'Creer/modifier les factures', 'facture', 1, 'creer', NULL, 'a', 0),
(13, 'Dévalider les factures', 'facture', 1, 'invoice_advance', 'unvalidate', 'a', 0),
(14, 'Valider les factures', 'facture', 1, 'valider', NULL, 'a', 0),
(15, 'Envoyer les factures par mail', 'facture', 1, 'invoice_advance', 'send', 'a', 0),
(16, 'Emettre des paiements sur les factures', 'facture', 1, 'paiement', NULL, 'a', 0),
(19, 'Supprimer les factures', 'facture', 1, 'supprimer', NULL, 'a', 0),
(21, 'Lire les propositions commerciales', 'propale', 1, 'lire', NULL, 'r', 1),
(22, 'Creer/modifier les propositions commerciales', 'propale', 1, 'creer', NULL, 'w', 0),
(24, 'Valider les propositions commerciales', 'propale', 1, 'valider', NULL, 'd', 0),
(25, 'Envoyer les propositions commerciales aux clients', 'propale', 1, 'propal_advance', 'send', 'd', 0),
(26, 'Cloturer les propositions commerciales', 'propale', 1, 'cloturer', NULL, 'd', 0),
(27, 'Supprimer les propositions commerciales', 'propale', 1, 'supprimer', NULL, 'd', 0),
(28, 'Exporter les propositions commerciales et attributs', 'propale', 1, 'export', NULL, 'r', 0),
(31, 'Lire les produits', 'produit', 1, 'lire', NULL, 'r', 1),
(32, 'Creer/modifier les produits', 'produit', 1, 'creer', NULL, 'w', 0),
(34, 'Supprimer les produits', 'produit', 1, 'supprimer', NULL, 'd', 0),
(38, 'Exporter les produits', 'produit', 1, 'export', NULL, 'r', 0),
(41, 'Lire les projets et tâches (partagés ou dont je suis contact)', 'projet', 1, 'lire', NULL, 'r', 1),
(42, 'Creer/modifier les projets et tâches (partagés ou dont je suis contact)', 'projet', 1, 'creer', NULL, 'w', 0),
(44, 'Supprimer les projets et tâches (partagés ou dont je suis contact)', 'projet', 1, 'supprimer', NULL, 'd', 0),
(45, 'Exporter les projets', 'projet', 1, 'export', NULL, 'd', 0),
(61, 'Lire les fiches d\'intervention', 'ficheinter', 1, 'lire', NULL, 'r', 1),
(62, 'Creer/modifier les fiches d\'intervention', 'ficheinter', 1, 'creer', NULL, 'w', 0),
(64, 'Supprimer les fiches d\'intervention', 'ficheinter', 1, 'supprimer', NULL, 'd', 0),
(67, 'Exporter les fiches interventions', 'ficheinter', 1, 'export', NULL, 'r', 0),
(68, 'Envoyer les fiches d\'intervention par courriel', 'ficheinter', 1, 'ficheinter_advance', 'send', 'r', 0),
(81, 'Lire les commandes clients', 'commande', 1, 'lire', NULL, 'r', 1),
(82, 'Creer/modifier les commandes clients', 'commande', 1, 'creer', NULL, 'w', 0),
(84, 'Valider les commandes clients', 'commande', 1, 'valider', NULL, 'd', 0),
(86, 'Envoyer les commandes clients', 'commande', 1, 'order_advance', 'send', 'd', 0),
(87, 'Cloturer les commandes clients', 'commande', 1, 'cloturer', NULL, 'd', 0),
(88, 'Annuler les commandes clients', 'commande', 1, 'annuler', NULL, 'd', 0),
(89, 'Supprimer les commandes clients', 'commande', 1, 'supprimer', NULL, 'd', 0),
(91, 'Lire les charges', 'tax', 1, 'charges', 'lire', 'r', 1),
(92, 'Creer/modifier les charges', 'tax', 1, 'charges', 'creer', 'w', 0),
(93, 'Supprimer les charges', 'tax', 1, 'charges', 'supprimer', 'd', 0),
(94, 'Exporter les charges', 'tax', 1, 'charges', 'export', 'r', 0),
(95, 'Lire CA, bilans, resultats', 'compta', 1, 'resultat', 'lire', 'r', 1),
(96, 'Parametrer la ventilation', 'compta', 1, 'ventilation', 'parametrer', 'r', 0),
(97, 'Lire les ventilations de factures', 'compta', 1, 'ventilation', 'lire', 'r', 1),
(98, 'Ventiler les lignes de factures', 'compta', 1, 'ventilation', 'creer', 'r', 0),
(111, 'Lire les comptes bancaires', 'banque', 1, 'lire', NULL, 'r', 1),
(112, 'Creer/modifier montant/supprimer ecriture bancaire', 'banque', 1, 'modifier', NULL, 'w', 0),
(113, 'Configurer les comptes bancaires (creer, gerer categories)', 'banque', 1, 'configurer', NULL, 'a', 0),
(114, 'Rapprocher les ecritures bancaires', 'banque', 1, 'consolidate', NULL, 'w', 0),
(115, 'Exporter transactions et releves', 'banque', 1, 'export', NULL, 'r', 0),
(116, 'Virements entre comptes', 'banque', 1, 'transfer', NULL, 'w', 0),
(117, 'Gerer les envois de cheques', 'banque', 1, 'cheque', NULL, 'w', 0),
(121, 'Lire les societes', 'societe', 1, 'lire', NULL, 'r', 1),
(122, 'Creer modifier les societes', 'societe', 1, 'creer', NULL, 'w', 0),
(125, 'Supprimer les societes', 'societe', 1, 'supprimer', NULL, 'd', 0),
(126, 'Exporter les societes', 'societe', 1, 'export', NULL, 'r', 0),
(141, 'Lire tous les projets et tâches (y compris prives qui ne me sont pas affectes)', 'projet', 1, 'all', 'lire', 'r', 0),
(142, 'Creer/modifier tous les projets et tâches (y compris prives qui ne me sont pas affectes)', 'projet', 1, 'all', 'creer', 'w', 0),
(144, 'Supprimer tous les projets et tâches (y compris prives qui ne me sont pas affectes)', 'projet', 1, 'all', 'supprimer', 'd', 0),
(161, 'Lire les contrats', 'contrat', 1, 'lire', NULL, 'r', 1),
(162, 'Creer / modifier les contrats', 'contrat', 1, 'creer', NULL, 'w', 0),
(163, 'Activer un service d\'un contrat', 'contrat', 1, 'activer', NULL, 'w', 0),
(164, 'Desactiver un service d\'un contrat', 'contrat', 1, 'desactiver', NULL, 'w', 0),
(165, 'Supprimer un contrat', 'contrat', 1, 'supprimer', NULL, 'd', 0),
(171, 'Lire les deplacements', 'deplacement', 1, 'lire', NULL, 'r', 1),
(172, 'Creer/modifier les deplacements', 'deplacement', 1, 'creer', NULL, 'w', 0),
(173, 'Supprimer les deplacements', 'deplacement', 1, 'supprimer', NULL, 'd', 0),
(178, 'Exporter les deplacements', 'deplacement', 1, 'export', NULL, 'd', 0),
(221, 'Consulter les mailings', 'mailing', 1, 'lire', NULL, 'r', 1),
(222, 'Creer/modifier les mailings (sujet, destinataires...)', 'mailing', 1, 'creer', NULL, 'w', 0),
(223, 'Valider les mailings (permet leur envoi)', 'mailing', 1, 'valider', NULL, 'w', 0),
(229, 'Supprimer les mailings', 'mailing', 1, 'supprimer', NULL, 'd', 0),
(237, 'View recipients and info', 'mailing', 1, 'mailing_advance', 'recipient', 'r', 0),
(238, 'Manually send mailings', 'mailing', 1, 'mailing_advance', 'send', 'w', 0),
(239, 'Delete mailings after validation and/or sent', 'mailing', 1, 'mailing_advance', 'delete', 'd', 0),
(241, 'Lire les categories', 'categorie', 1, 'lire', NULL, 'r', 1),
(242, 'Creer/modifier les categories', 'categorie', 1, 'creer', NULL, 'w', 0),
(243, 'Supprimer les categories', 'categorie', 1, 'supprimer', NULL, 'd', 0),
(251, 'Consulter les autres utilisateurs', 'user', 1, 'user', 'lire', 'r', 0),
(252, 'Consulter les permissions des autres utilisateurs', 'user', 1, 'user_advance', 'readperms', 'r', 0),
(253, 'Creer/modifier utilisateurs internes et externes', 'user', 1, 'user', 'creer', 'w', 0),
(254, 'Creer/modifier utilisateurs externes seulement', 'user', 1, 'user_advance', 'write', 'w', 0),
(255, 'Modifier le mot de passe des autres utilisateurs', 'user', 1, 'user', 'password', 'w', 0),
(256, 'Supprimer ou desactiver les autres utilisateurs', 'user', 1, 'user', 'supprimer', 'd', 0),
(262, 'Consulter tous les tiers par utilisateurs internes (sinon uniquement si contact commercial). Non effectif pour utilisateurs externes (tjs limités à eux-meme).', 'societe', 1, 'client', 'voir', 'r', 1),
(281, 'Lire les contacts', 'societe', 1, 'contact', 'lire', 'r', 1),
(282, 'Creer modifier les contacts', 'societe', 1, 'contact', 'creer', 'w', 0),
(283, 'Supprimer les contacts', 'societe', 1, 'contact', 'supprimer', 'd', 0),
(286, 'Exporter les contacts', 'societe', 1, 'contact', 'export', 'd', 0),
(341, 'Consulter ses propres permissions', 'user', 1, 'self_advance', 'readperms', 'r', 1),
(342, 'Creer/modifier ses propres infos utilisateur', 'user', 1, 'self', 'creer', 'w', 1),
(343, 'Modifier son propre mot de passe', 'user', 1, 'self', 'password', 'w', 1),
(344, 'Modifier ses propres permissions', 'user', 1, 'self_advance', 'writeperms', 'w', 1),
(351, 'Consulter les groupes', 'user', 1, 'group_advance', 'read', 'r', 0),
(352, 'Consulter les permissions des groupes', 'user', 1, 'group_advance', 'readperms', 'r', 0),
(353, 'Creer/modifier les groupes et leurs permissions', 'user', 1, 'group_advance', 'write', 'w', 0),
(354, 'Supprimer ou desactiver les groupes', 'user', 1, 'group_advance', 'delete', 'd', 0),
(358, 'Exporter les utilisateurs', 'user', 1, 'user', 'export', 'r', 0),
(510, 'Read salaries', 'salaries', 1, 'read', NULL, 'r', 0),
(512, 'Create/modify salaries', 'salaries', 1, 'write', NULL, 'w', 0),
(514, 'Delete salaries', 'salaries', 1, 'delete', NULL, 'd', 0),
(517, 'Export salaries', 'salaries', 1, 'export', NULL, 'r', 0),
(531, 'Lire les services', 'service', 1, 'lire', NULL, 'r', 1),
(532, 'Creer/modifier les services', 'service', 1, 'creer', NULL, 'w', 0),
(534, 'Supprimer les services', 'service', 1, 'supprimer', NULL, 'd', 0),
(538, 'Exporter les services', 'service', 1, 'export', NULL, 'r', 0),
(1181, 'Consulter les fournisseurs', 'fournisseur', 1, 'lire', NULL, 'r', 1),
(1182, 'Consulter les commandes fournisseur', 'fournisseur', 1, 'commande', 'lire', 'r', 1),
(1183, 'Creer une commande fournisseur', 'fournisseur', 1, 'commande', 'creer', 'w', 0),
(1184, 'Valider une commande fournisseur', 'fournisseur', 1, 'commande', 'valider', 'w', 0),
(1185, 'Approuver une commande fournisseur', 'fournisseur', 1, 'commande', 'approuver', 'w', 0),
(1186, 'Commander une commande fournisseur', 'fournisseur', 1, 'commande', 'commander', 'w', 0),
(1187, 'Receptionner une commande fournisseur', 'fournisseur', 1, 'commande', 'receptionner', 'd', 0),
(1188, 'Supprimer une commande fournisseur', 'fournisseur', 1, 'commande', 'supprimer', 'd', 0),
(1231, 'Consulter les factures fournisseur', 'fournisseur', 1, 'facture', 'lire', 'r', 1),
(1232, 'Creer une facture fournisseur', 'fournisseur', 1, 'facture', 'creer', 'w', 0),
(1233, 'Valider une facture fournisseur', 'fournisseur', 1, 'facture', 'valider', 'w', 0),
(1234, 'Supprimer une facture fournisseur', 'fournisseur', 1, 'facture', 'supprimer', 'd', 0),
(1235, 'Envoyer les factures par mail', 'fournisseur', 1, 'supplier_invoice_advance', 'send', 'a', 0),
(1236, 'Exporter les factures fournisseurs, attributs et reglements', 'fournisseur', 1, 'facture', 'export', 'r', 0),
(1237, 'Exporter les commande fournisseurs, attributs', 'fournisseur', 1, 'commande', 'export', 'r', 0),
(1321, 'Exporter les factures clients, attributs et reglements', 'facture', 1, 'facture', 'export', 'r', 0),
(1421, 'Exporter les commandes clients et attributs', 'commande', 1, 'commande', 'export', 'r', 0),
(2401, 'Read actions/tasks linked to his account', 'agenda', 1, 'myactions', 'read', 'r', 1),
(2402, 'Create/modify actions/tasks linked to his account', 'agenda', 1, 'myactions', 'create', 'w', 0),
(2403, 'Delete actions/tasks linked to his account', 'agenda', 1, 'myactions', 'delete', 'w', 0),
(2411, 'Read actions/tasks of others', 'agenda', 1, 'allactions', 'read', 'r', 0),
(2412, 'Create/modify actions/tasks of others', 'agenda', 1, 'allactions', 'create', 'w', 0),
(2413, 'Delete actions/tasks of others', 'agenda', 1, 'allactions', 'delete', 'w', 0),
(2414, 'Export actions/tasks of others', 'agenda', 1, 'export', NULL, 'w', 0),
(2501, 'Consulter/Télécharger les documents', 'ecm', 1, 'read', NULL, 'r', 1),
(2503, 'Soumettre ou supprimer des documents', 'ecm', 1, 'upload', NULL, 'w', 1),
(2515, 'Administrer les rubriques de documents', 'ecm', 1, 'setup', NULL, 'w', 1),
(20001, 'Lire/créer/modifier ses demandes de congés payés', 'holiday', 1, 'write', NULL, 'w', 1),
(20002, 'Lire/créer/modifier toutes les demandes de congés payés', 'holiday', 1, 'lire_tous', NULL, 'w', 0),
(20003, 'Supprimer des demandes de congés payés', 'holiday', 1, 'delete', NULL, 'w', 0),
(20004, 'Définir les congés payés des utilisateurs', 'holiday', 1, 'define_holiday', NULL, 'w', 0),
(20005, 'Voir les logs de modification des congés payés', 'holiday', 1, 'view_log', NULL, 'w', 0),
(20006, 'Accéder au rapport mensuel des congés payés', 'holiday', 1, 'month_report', NULL, 'w', 0),
(59001, 'Visualiser les marges', 'margins', 1, 'liretous', NULL, 'r', 1),
(59002, 'Définir les marges', 'margins', 1, 'creer', NULL, 'w', 0);

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe`
--

CREATE TABLE `llx_societe` (
  `rowid` int(11) NOT NULL,
  `nom` varchar(60) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(128) DEFAULT NULL,
  `ref_int` varchar(60) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT '0',
  `parent` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `status` tinyint(4) DEFAULT '1',
  `code_client` varchar(24) DEFAULT NULL,
  `code_fournisseur` varchar(24) DEFAULT NULL,
  `code_compta` varchar(24) DEFAULT NULL,
  `code_compta_fournisseur` varchar(24) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT '0',
  `fk_pays` int(11) DEFAULT '0',
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `email` varchar(128) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `fk_effectif` int(11) DEFAULT '0',
  `fk_typent` int(11) DEFAULT '0',
  `fk_forme_juridique` int(11) DEFAULT '0',
  `fk_currency` varchar(3) DEFAULT NULL,
  `siren` varchar(128) DEFAULT NULL,
  `siret` varchar(128) DEFAULT NULL,
  `ape` varchar(128) DEFAULT NULL,
  `idprof4` varchar(128) DEFAULT NULL,
  `idprof5` varchar(128) DEFAULT NULL,
  `idprof6` varchar(128) DEFAULT NULL,
  `tva_intra` varchar(20) DEFAULT NULL,
  `capital` double DEFAULT NULL,
  `fk_stcomm` int(11) NOT NULL DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `prefix_comm` varchar(5) DEFAULT NULL,
  `client` tinyint(4) DEFAULT '0',
  `fournisseur` tinyint(4) DEFAULT '0',
  `supplier_account` varchar(32) DEFAULT NULL,
  `fk_prospectlevel` varchar(12) DEFAULT NULL,
  `customer_bad` tinyint(4) DEFAULT '0',
  `customer_rate` double DEFAULT '0',
  `supplier_rate` double DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `remise_client` double DEFAULT '0',
  `mode_reglement` tinyint(4) DEFAULT NULL,
  `cond_reglement` tinyint(4) DEFAULT NULL,
  `mode_reglement_supplier` tinyint(4) DEFAULT NULL,
  `cond_reglement_supplier` tinyint(4) DEFAULT NULL,
  `tva_assuj` tinyint(4) DEFAULT '1',
  `localtax1_assuj` tinyint(4) DEFAULT '0',
  `localtax2_assuj` tinyint(4) DEFAULT '0',
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT '0',
  `price_level` int(11) DEFAULT NULL,
  `outstanding_limit` double(24,8) DEFAULT NULL,
  `default_lang` varchar(6) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_societe`
--

INSERT INTO `llx_societe` (`rowid`, `nom`, `entity`, `ref_ext`, `ref_int`, `statut`, `parent`, `tms`, `datec`, `status`, `code_client`, `code_fournisseur`, `code_compta`, `code_compta_fournisseur`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `phone`, `fax`, `url`, `email`, `skype`, `fk_effectif`, `fk_typent`, `fk_forme_juridique`, `fk_currency`, `siren`, `siret`, `ape`, `idprof4`, `idprof5`, `idprof6`, `tva_intra`, `capital`, `fk_stcomm`, `note_private`, `note_public`, `prefix_comm`, `client`, `fournisseur`, `supplier_account`, `fk_prospectlevel`, `customer_bad`, `customer_rate`, `supplier_rate`, `fk_user_creat`, `fk_user_modif`, `remise_client`, `mode_reglement`, `cond_reglement`, `mode_reglement_supplier`, `cond_reglement_supplier`, `tva_assuj`, `localtax1_assuj`, `localtax2_assuj`, `barcode`, `fk_barcode_type`, `price_level`, `outstanding_limit`, `default_lang`, `logo`, `canvas`, `import_key`) VALUES
(1, 'Bouwonderneming DE GREEF bvba', 1, NULL, NULL, 0, NULL, '2017-01-10 08:48:57', '2014-06-17 14:28:38', 1, NULL, NULL, NULL, NULL, 'Assesteenweg 266', '1742', 'TERNAT', 0, 2, '025826588', '025824494', NULL, 'Info@bouwondernemingdegreef.be', NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', '0437099519', 0, 0, NULL, NULL, NULL, 1, 0, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'HEROCONSTRUCT', 1, NULL, NULL, 0, NULL, '2015-09-08 06:44:45', '2014-07-02 14:11:40', 1, NULL, NULL, NULL, NULL, 'Reihagenstraat 1 -  Dendermonde', '9200', 'Dendermonde', 0, 2, '+3252345750', '++3252345751', NULL, 'daisy@heroconstruct.be', NULL, NULL, 0, 202, '0', '', '', '', '', '', '', 'BE0454643849', 0, 0, NULL, NULL, NULL, 1, 0, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'AISU', 1, NULL, NULL, 0, NULL, '2014-08-13 10:49:50', '2014-08-13 14:49:50', 1, NULL, NULL, NULL, NULL, 'rue Beeckman, 89', '1180', 'Uccle', 104, 2, '023486879', '02/3486878', NULL, 'aisu@uccle.be', NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', ' 0469.541.069', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 'REPRESENTATION PERMANENTE DE LA ROUMANIE', 1, NULL, NULL, 0, NULL, '2014-09-29 12:41:18', '2014-09-29 16:41:18', 1, NULL, NULL, NULL, NULL, 'Rue Montoyer 12', '1000', 'Bruxelles', 0, 2, '+32(0)27000214', '+32(0)27000641', NULL, 'dragos.rosu@rpro.eu', NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 'Patrona Pharma Group', 1, NULL, NULL, 0, NULL, '2014-10-21 09:35:29', '2014-10-21 13:35:29', 1, 'PATRONA PHARMA', NULL, NULL, NULL, 'Avenue Henri Jaspar ,138', '1060', '1060 / Saint-Gilles', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'be0859585888', 0, 0, NULL, NULL, NULL, 1, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 'Notaire  FREDERIKA LENS & JO ABBELOOS', 1, NULL, NULL, 0, NULL, '2014-10-21 10:40:09', '2014-10-21 14:40:09', 1, NULL, NULL, NULL, NULL, 'Grote Markt 21', '1800', 'Vilvoorde', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', '0466266936', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(7, 'Notaire  FREDERIKA LENS & JO ABBELOOS', 1, NULL, NULL, 0, NULL, '2014-10-21 10:42:03', '2014-10-21 14:42:03', 1, NULL, NULL, NULL, NULL, 'Grote Markt 21', '1800', 'Vilvoorde', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'be0466266936', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(8, 'ACTIUS Bvba', 1, NULL, NULL, 0, NULL, '2016-08-08 09:56:45', '2014-12-02 12:37:55', 1, NULL, NULL, NULL, NULL, 'Rijksweg 10H   bus 0-2', '2880', 'Bornem', 0, 2, NULL, NULL, NULL, 'paul@actius.be', NULL, NULL, 0, 202, '0', '', '', '', '', '', '', 'be0842276932', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(9, 'CONCOR Facility Services sa', 1, NULL, NULL, 0, NULL, '2016-02-22 12:25:14', '2015-02-02 14:41:51', 1, NULL, NULL, NULL, NULL, 'Gerzevien 25', '3150', 'Haacht', 104, 2, '+32491157221', '+3215518933', 'www.concor.be', NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'Be0812054997', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(10, 'Zellik Pharma', 1, NULL, NULL, 0, NULL, '2015-02-03 08:50:03', '2015-02-03 12:50:03', 1, NULL, NULL, NULL, NULL, 'Brusselsesteenweg 812', '1731', 'Zellik', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'be881910538', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(11, 'ETAU sprl', 1, NULL, NULL, 0, NULL, '2015-03-12 13:07:50', '2015-03-12 17:07:50', 1, NULL, NULL, NULL, NULL, 'Rue des Fidèles 45', '1180', 'Uccle', 104, 2, NULL, NULL, NULL, 'd.daive@etau.be', NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'BE 0446.942.148', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(12, 'Caty Dossche', 1, NULL, NULL, 0, NULL, '2015-03-25 08:26:35', '2015-03-25 12:26:35', 1, NULL, NULL, NULL, NULL, 'Avenue des Cardamimes 6 -', '1070', 'Anderlecht', 0, 2, '0498/837045', NULL, NULL, 'caty_dossche@hotmail.com', NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(13, 'Pharma 2 Care', 1, NULL, NULL, 0, NULL, '2015-03-31 10:52:57', '2015-03-31 14:51:28', 1, NULL, NULL, NULL, NULL, '50 Nieuwesteenweg', '8377', 'Zuinekerke', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, '0', '', '', '', '', '', '', 'BE 0427391896', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(14, 'BM S', 1, NULL, NULL, 0, NULL, '2015-04-07 10:56:44', '2015-04-07 14:56:44', 1, NULL, NULL, NULL, NULL, 'Maalbeekweg 53', '1930', 'Zaventem', 0, 2, NULL, NULL, NULL, 'info@bm-services.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '899339359', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(15, 'Madame huts', 1, NULL, NULL, 0, NULL, '2015-04-14 06:10:12', '2015-04-14 10:10:12', 1, NULL, NULL, NULL, NULL, 'Rue prince Baudouin 69', '1083', 'Ganshoren', 0, 2, NULL, NULL, NULL, 'michele.huts@gmail.com', NULL, 1, 8, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(16, 'Mevr.VanHootegem Sabine', 1, NULL, NULL, 0, NULL, '2015-04-21 11:45:51', '2015-04-21 15:45:51', 1, NULL, NULL, NULL, NULL, 'Sleeuwstraat  8', '3600', 'gent', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(17, 'Ali GAMADA', 1, NULL, NULL, 0, NULL, '2015-04-27 10:34:46', '2015-04-27 14:34:46', 1, NULL, NULL, NULL, NULL, '', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 0, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(18, 'Pharma base NV', 1, NULL, NULL, 0, NULL, '2015-06-02 06:32:41', '2015-06-02 10:32:41', 1, NULL, NULL, NULL, NULL, 'Seinhuisstraat 7 bus 1', '3600', 'genk', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'be0441943282', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(19, 'C&A BELGIE', 1, NULL, NULL, 0, NULL, '2017-02-16 13:18:02', '2015-06-17 10:13:26', 1, NULL, NULL, NULL, NULL, 'Senneberg, Jean Monnetlaan 1', '1804', 'Vilvoorde', 0, 2, NULL, NULL, NULL, 'b00a33@canda.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE 0402.128.346', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(20, 'Guy HARDENNE', 1, NULL, NULL, 0, NULL, '2015-06-26 07:43:25', '2015-06-26 11:43:25', 1, NULL, NULL, NULL, NULL, 'rue de la forêt 31', '6980', 'la roche', 0, 2, NULL, NULL, NULL, NULL, NULL, 1, 8, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(21, 'Van de Velde & Zonen bvba', 1, NULL, NULL, 0, NULL, '2015-07-08 09:18:15', '2015-07-08 13:18:15', 1, NULL, NULL, NULL, NULL, 'Avenue de l independance Belge 111', '1081', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '402185457', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(22, 'Monsieur Costa', 1, NULL, NULL, 0, NULL, '2015-08-03 09:10:37', '2015-08-03 13:10:37', 1, NULL, NULL, NULL, NULL, 'rue de treille 17', '1050', 'bruxelles', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(23, 'Mme Guyot', 1, NULL, NULL, 0, NULL, '2015-08-18 07:48:17', '2015-08-17 16:41:37', 1, 'Guyot', NULL, NULL, NULL, '30 Bld Richard Lenoir', '75011', 'Paris', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 1, 0, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(24, 'BINDOUZA', 1, NULL, NULL, 0, NULL, '2015-09-14 07:57:07', '2015-09-14 11:57:07', 1, NULL, NULL, NULL, NULL, 'Chaussée des près 05', '1020', 'liege', 0, 2, NULL, NULL, NULL, 'bindouza.sprl@hotmail.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'be 0845978372', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(25, 'Mme Jassaud', 1, NULL, NULL, 0, NULL, '2015-09-18 06:25:49', '2015-09-18 10:25:49', 1, NULL, NULL, NULL, NULL, 'Rue Capouillet 38', '1060', '1060 / Saint-Gilles', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(26, 'Mme. Ghys Mireille', 1, NULL, NULL, 0, NULL, '2015-09-24 07:52:41', '2015-09-24 11:52:41', 1, NULL, NULL, NULL, NULL, 'Rue de la Porte de Hal 11A', '1060', 'St. Gilles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(27, 'Gossens Petrus', 1, NULL, NULL, 0, NULL, '2015-10-05 10:28:38', '2015-10-05 14:28:38', 1, NULL, NULL, NULL, NULL, 'Beekstraat 132', '9420', 'erpe meere', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(28, 'PHARMA FORCE N.V.', 1, NULL, NULL, 0, NULL, '2015-10-15 11:08:50', '2015-10-15 15:07:48', 1, NULL, NULL, NULL, NULL, 'Poortakkerstraat 41 G\r\n9051  Sint-Denijs-Westrem', NULL, NULL, 0, 2, NULL, NULL, NULL, 'stefan.stroobants@patrona.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'TVA BE 0859 585 888 ', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(29, 'EléonoreJezierski-Ramakers', 1, NULL, NULL, 0, NULL, '2015-10-22 06:02:03', '2015-10-20 16:33:38', 1, NULL, NULL, NULL, NULL, 'Succession Helena Vandermosten\r\nChemin de Vieusart 186', '1300', 'Wavre', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(30, 'Esterlina Investments', 1, NULL, NULL, 0, NULL, '2016-01-13 11:33:08', '2016-01-13 15:33:08', 1, NULL, NULL, NULL, NULL, 'rue des Dominicains 7', '1000', 'bruxelles', 0, 2, NULL, NULL, NULL, 'esterlinainvest@gmail.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE 0437 951 535', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(31, '*B.V.B.A. Advocatenkantoor Struyven Paul SPRL', 1, NULL, NULL, 0, NULL, '2016-02-24 11:45:15', '2016-02-24 15:45:15', 1, NULL, NULL, NULL, NULL, 'Opperstraat 95,', '1050', 'Brussel', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE94 734-9191919-14 ', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(32, 'Monsieur et Madame Coppens.', 1, NULL, NULL, 0, NULL, '2016-02-25 13:08:16', '2016-02-25 17:08:16', 1, NULL, NULL, NULL, NULL, 'Chaussée d’Alsemberg 1164', '1650', 'Bersel', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(33, 'BCP BOUW BVBA', 1, NULL, NULL, 0, NULL, '2016-03-29 09:50:30', '2016-03-29 13:50:30', 1, NULL, NULL, NULL, NULL, 'VOLAERTWEGEL 13A', '9200', 'Dendermonde', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0635487085', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(34, 'sa PREMIER', 1, NULL, NULL, 0, NULL, '2016-05-19 06:45:46', '2016-05-19 10:45:46', 1, NULL, NULL, NULL, NULL, 'LE SAGITAIRE \r\nrue Cuylits 1', '1180', 'Uccle', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(35, 'La Régie des Bâtiments  Wallonie Région', 1, NULL, NULL, 0, NULL, '2016-06-15 10:57:49', '2016-06-15 14:57:49', 1, NULL, NULL, NULL, NULL, 'Rue Verte, 11', '7000', 'Mons', 0, 2, NULL, NULL, NULL, 'freemarket.wro@buildingsagency.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(36, 'Monsieur Mustapha MANSOUR', 1, NULL, NULL, 0, NULL, '2017-03-08 11:19:50', '2016-06-22 10:55:43', 1, NULL, NULL, NULL, NULL, 'rue de Kayrawan', '2150', 'Gafsa', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(37, 'Représentation Permanente de la Roumanie auprès de l\"UE', 1, NULL, NULL, 0, NULL, '2016-07-01 12:03:08', '2016-07-01 16:03:08', 1, NULL, NULL, NULL, NULL, 'Rue Montoyer 12', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(38, 'Catherine Tackoen', 1, NULL, NULL, 0, NULL, '2016-08-23 07:02:57', '2016-08-23 11:02:57', 1, NULL, NULL, NULL, NULL, 'Sleutelplasstraat, 24', '1700', 'Dilbeek', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '507 749 963', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(39, 'SCO-services sprl', 1, NULL, NULL, 0, NULL, '2016-08-31 07:20:30', '2016-08-31 11:20:30', 1, NULL, NULL, NULL, NULL, 'Chée d\'Alsemberg 842', '1180', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0646.822.724 ', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(40, 'Bouwonderneming Vekemans & Zoon NV', 1, NULL, NULL, 0, NULL, '2016-09-26 06:16:12', '2016-09-26 10:16:12', 1, NULL, NULL, NULL, NULL, 'Baasrodestraat 97', '9200', 'Baasrode', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '05221 51 36', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(41, 'crocs store brussel', 1, NULL, NULL, 0, NULL, '2016-09-29 09:21:37', '2016-09-29 13:21:37', 1, NULL, NULL, NULL, NULL, 'rue des frippiers 44', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '084439696', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(42, 'madame RUFFO', 1, NULL, NULL, 0, NULL, '2016-10-21 09:40:27', '2016-10-21 13:40:27', 1, NULL, NULL, NULL, NULL, '24, place de la sainte famille', '1200', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(43, 'Mme Claes Jacqueline', 1, NULL, NULL, 0, NULL, '2016-11-10 09:45:16', '2016-11-10 13:45:16', 1, NULL, NULL, NULL, NULL, 'Rue de la Mehaigne 31', '4260', 'Ciplet', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(44, 'Mme Claes Jacqueline', 1, NULL, NULL, 0, NULL, '2016-11-10 09:45:16', '2016-11-10 13:45:16', 1, NULL, NULL, NULL, NULL, 'Rue de la Mehaigne 31', '4260', 'Ciplet', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(45, 'Khelifi Aida', 1, NULL, NULL, 0, NULL, '2016-11-14 15:29:33', '2016-11-14 19:29:33', 1, 'Aida', NULL, NULL, NULL, 'Avenue Ibn Badis', NULL, 'Sousse', 0, 10, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 1, 0, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(46, 'Hardenne Charles-Emmanuel', 1, NULL, NULL, 0, NULL, '2016-11-21 07:04:36', '2016-11-21 11:04:36', 1, NULL, NULL, NULL, NULL, 'Avenue Léopold III 16b', '1410', 'Waterloo', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(47, 'MADAME Reifferscheidt Lieselotte', 1, NULL, NULL, 0, NULL, '2016-11-21 09:42:42', '2016-11-21 13:42:42', 1, NULL, NULL, NULL, NULL, '144 avenue WANNECOUTER', '1020', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(48, 'Pharma Real Estate', 1, NULL, NULL, 0, NULL, '2016-12-05 13:02:11', '2016-12-05 17:02:10', 1, NULL, NULL, NULL, NULL, 'Poortakkerstraat 41G', '9051', 'Sint denijs Westrem', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE0873955449', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(49, 'Madame Larnot', 1, NULL, NULL, 0, NULL, '2017-01-16 10:45:09', '2017-01-16 14:45:09', 1, NULL, NULL, NULL, NULL, 'rue Ossegem 131', '1080', 'Molenbeek', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(50, 'Anwar TLILI', 1, NULL, NULL, 0, NULL, '2017-02-17 11:43:55', '2017-02-17 15:41:23', 1, NULL, NULL, NULL, NULL, 'Route Ennadhour\r\nMidoun Djerba \r\nCHEZ TRT \r\nP/C...... RADEF TUNISIE', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(51, 'Mr Benoit BODSON Notaire', 1, NULL, NULL, 0, NULL, '2017-04-18 08:43:56', '2017-02-28 13:19:14', 1, NULL, NULL, NULL, NULL, 'Avenue Clémenceau 88', '1070', 'Anderlecht', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE 0644.617.359', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(52, 'Wallonie-Bruxelles International', 1, NULL, NULL, 0, NULL, '2017-03-20 08:25:25', '2017-03-08 15:56:41', 1, NULL, NULL, NULL, NULL, 'Place Sainctelette, 2', '1080', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(53, 'Mme Martens', 1, NULL, NULL, 0, NULL, '2017-03-10 10:29:11', '2017-03-10 14:29:11', 1, NULL, NULL, NULL, NULL, 'rue de la Loyauté 3', '1090', 'jette', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(54, 'DINNER INVEST', 1, NULL, NULL, 0, NULL, '2017-03-23 11:52:24', '2017-03-23 15:52:24', 1, NULL, NULL, NULL, NULL, 'Delften 23 / Hal 20-21', '2390', 'Malle', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'ba0454.213.881', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(55, 'Tribune M BVBA', 1, NULL, NULL, 0, NULL, '2017-04-27 10:26:34', '2017-04-27 14:26:34', 1, NULL, NULL, NULL, NULL, 'Delften 23 hal 20-21', '2390', 'Malle', 0, 2, NULL, NULL, NULL, 'sammyghadhoun@gmail.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE  0672.485.558.', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(56, 'Etude du Notaire Bernard LACONTE', 1, NULL, NULL, 0, NULL, '2017-05-18 07:17:38', '2017-05-18 11:17:38', 1, NULL, NULL, NULL, NULL, 'Avenue des Combattants 230', '1332', 'Rixensart', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(57, 'TRAFIROAD nv', 1, NULL, NULL, 0, NULL, '2018-08-23 10:41:33', '2017-05-24 13:46:17', 1, NULL, NULL, NULL, NULL, 'Nieuwe Dreef 17', '9160', 'Lokeren', 0, 2, NULL, NULL, NULL, 'boekhouding@trafiroad.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0418 384 358', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(58, 'Monsieur Feyaerts -Mal', 1, NULL, NULL, 0, NULL, '2017-05-29 08:59:49', '2017-05-29 12:16:18', 1, NULL, NULL, NULL, NULL, 'Avenue du Fusain 50', '1020', 'laeken', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(59, 'Umédia Production Services', 1, NULL, NULL, 0, NULL, '2017-09-14 08:37:59', '2017-09-14 12:37:59', 1, NULL, NULL, NULL, NULL, '235 avenue Louise', '1050', 'bruxelles', 0, 2, NULL, NULL, NULL, 'guillaume.orainaudooren@gmail.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE0867 459 716', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(60, 'Maison de l Ambassadeur  arabie Saoudite', 1, NULL, NULL, 0, NULL, '2017-09-18 10:35:14', '2017-09-18 14:24:12', 1, NULL, NULL, NULL, NULL, '', NULL, 'rode st genese', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(61, 'Ambassade arabie Saoudite', 1, NULL, NULL, 0, NULL, '2017-09-18 11:09:36', '2017-09-18 14:47:07', 1, NULL, NULL, NULL, NULL, 'Rooseveltlaan 45,', '1050', 'Brussel', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(62, 'Mme Elza de Canne', 1, NULL, NULL, 0, NULL, '2017-10-19 08:56:10', '2017-10-19 12:56:10', 1, NULL, NULL, NULL, NULL, 'Gillebertusstraat 32', '1090', 'jette', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(63, 'Dinak Belgium', 1, NULL, NULL, 0, NULL, '2017-11-22 06:54:13', '2017-11-22 10:54:13', 1, NULL, NULL, NULL, NULL, 'Langveld park unit 4\r\n\r\nBasteleusstraat 2-6', '1600', 'sint-pieters-leeuw', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE 0864 984 731', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(64, 'Madame Van Rossem.', 1, NULL, NULL, 0, NULL, '2017-11-30 09:53:25', '2017-11-30 13:53:25', 1, NULL, NULL, NULL, NULL, 'avenue J.B. Depaire 101', '1020', 'laeken', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(65, 'Monsieur Smets', 1, NULL, NULL, 0, NULL, '2018-01-05 09:13:36', '2018-01-05 10:13:36', 1, NULL, NULL, NULL, NULL, 'Rue des Trois Rois 14', '1180', 'Uccle', 104, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(66, 'Meneer Cornand', 1, NULL, NULL, 0, NULL, '2018-01-22 09:31:19', '2018-01-22 10:31:19', 1, NULL, NULL, NULL, NULL, 'Broustinlaan 95', '1083', 'Ganshoren', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(67, 'Q-Park Belgium', 1, NULL, NULL, 0, NULL, '2018-01-23 09:35:23', '2018-01-23 10:33:06', 1, NULL, NULL, NULL, NULL, 'Belgicastraat 3 bus 6', '1930', 'Zaventem', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'be0471121080', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(68, 'Intissar Ben Rached', 1, NULL, NULL, 0, NULL, '2018-04-18 12:21:48', '2018-04-18 14:21:48', 1, NULL, NULL, NULL, NULL, '6 rue du Martyr Abderrahmane mani el Menzah 9b', '1013', 'Tunis', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(69, 'ROCIO DOLORES Villegas Pena', 1, NULL, NULL, 0, NULL, '2018-06-08 10:47:18', '2018-06-07 10:44:36', 1, NULL, NULL, NULL, NULL, 'c/Huela n°25\r\nSan Juan del Puertu \r\n(HUELVA  CP 21.610\r\n\r\nCIP : 48 92.6.048.B', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(70, 'Madame Joly', 1, NULL, NULL, 0, NULL, '2018-10-08 11:10:13', '2018-10-08 13:10:13', 1, NULL, NULL, NULL, NULL, 'avenue  Auguste de Boeck 36', NULL, 'Wemmel', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(71, 'DEWOLF-DEGREEF', 1, NULL, NULL, 0, NULL, '2018-11-05 12:12:45', '2018-11-05 13:12:45', 1, NULL, NULL, NULL, NULL, 'Assesteenweg 266 – 1742 Ternat - België', NULL, NULL, 0, 2, NULL, NULL, NULL, 'info@bouwondernemingdegreef.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BTW BE 0437 099 519', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(72, 'ACTIUS', 1, NULL, NULL, 0, NULL, '2020-03-29 14:40:07', '2018-12-18 11:56:31', 1, NULL, NULL, NULL, NULL, 'RIJKSWEG 10H BUS 0_2', '2880', 'Bornem', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE04842276932', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(73, 'Notaire Benoît BODSON', 1, NULL, NULL, 0, NULL, '2019-04-29 06:55:15', '2019-01-28 12:56:34', 1, NULL, NULL, NULL, NULL, 'Avenue Clemenceau 88,', '1070', 'Anderlecht', 0, 2, NULL, NULL, NULL, 'foulkire@hotmail.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0644.617.359', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(74, 'La star de Tunis', 1, NULL, NULL, 0, NULL, '2019-04-12 10:28:13', '2019-04-12 12:28:13', 1, NULL, NULL, NULL, NULL, 'Maurice Lemonnier 109', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0876519813', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(75, 'Comensia', 1, NULL, NULL, 0, NULL, '2019-04-30 06:44:49', '2019-04-29 07:19:11', 1, NULL, NULL, NULL, NULL, 'Rue de Koninckstraat 40 / b24', '1080', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0403.302.046', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(76, 'Delta Relay Sprl', 1, NULL, NULL, 0, NULL, '2019-05-17 08:07:55', '2019-05-17 10:07:55', 1, NULL, NULL, NULL, NULL, 'rue des anciens etangs 40', '1190', 'forest', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0464107485', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(77, 'Maitre Sandrine VAIVEKENS', 1, NULL, NULL, 0, NULL, '2019-07-23 05:29:35', '2019-07-23 07:29:35', 1, NULL, NULL, NULL, NULL, 'rue de livourne 45 - b', '1050', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0894446304', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(78, 'MULTIPHARMA scrl', 1, NULL, NULL, 0, NULL, '2019-09-03 05:59:14', '2019-09-03 07:59:14', 1, NULL, NULL, NULL, NULL, 'square Marie Curie 30', '1070', 'Anderlecht', 0, 2, NULL, NULL, NULL, 'e-invoicing@multipharma.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE0866855346', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(79, 'Madame VISSE Daniele', 1, NULL, NULL, 0, NULL, '2019-09-17 11:22:56', '2019-09-17 13:22:56', 1, NULL, NULL, NULL, NULL, 'C/O Blanc Yannick\r\nBoulevard de la Cambre 74\r\n Bruxelles', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(80, 'Mevrouw Van Noten Rita', 1, NULL, NULL, 0, NULL, '2019-11-06 09:42:43', '2019-11-06 10:42:43', 1, NULL, NULL, NULL, NULL, 'Klaproosstraat 74C', '2610', 'wilrijk', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(81, 'Madame Françoise Fery', 1, NULL, NULL, 0, NULL, '2019-11-25 11:41:07', '2019-11-25 09:46:05', 1, NULL, NULL, NULL, NULL, '46 avenue des Églantiers', '1180', 'Uccle', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(82, 'M. Richard Cote', 1, NULL, NULL, 0, NULL, '2020-01-06 10:22:19', '2020-01-06 11:22:19', 1, NULL, NULL, NULL, NULL, 'Rue Nifiet 166', '4671', 'SAIVE', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 4, 4, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(83, 'Bd Landscape', 1, NULL, NULL, 0, NULL, '2020-02-07 08:42:32', '2020-02-07 09:42:32', 1, NULL, NULL, NULL, NULL, 'Rue de Livourne 7 bte 4', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(84, 'DW', 1, NULL, NULL, 0, NULL, '2020-03-31 11:31:53', '2020-03-31 13:31:53', 1, NULL, NULL, NULL, NULL, 'rue de verger 27', '1160', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(85, 'Josaphatpark Produkties BVBA', 1, NULL, NULL, 0, NULL, '2020-04-06 07:43:17', '2020-04-06 09:43:17', 1, NULL, NULL, NULL, NULL, 'TAV RubenBellinkx\r\nrue Edouard Fiers 18\r\n1030  schaerbeek', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE0811632355', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(86, 'Mme Nuyts', 1, NULL, NULL, 0, NULL, '2020-05-05 09:24:31', '2020-05-05 09:47:44', 1, NULL, NULL, NULL, NULL, 'Chateau de Walsin 4, 3eme étage', '1180', 'Uccle', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(87, 'Paul Fournier', 1, NULL, NULL, 0, NULL, '2020-06-02 07:49:19', '2020-06-02 09:49:19', 1, NULL, NULL, NULL, NULL, 'Avenue Marcel Thiry 101 Boîte 01', '1200', 'bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(88, 'Mme Vergeynst', 1, NULL, NULL, 0, NULL, '2020-06-05 07:41:12', '2020-06-05 09:41:12', 1, NULL, NULL, NULL, NULL, 'avenue des constellations 6', 'woluwe st Lambert', NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(89, 'Société Bruxelloise de Gestion de l’Eau', 1, NULL, NULL, 0, NULL, '2020-07-15 10:47:04', '2020-07-15 12:47:04', 1, NULL, NULL, NULL, NULL, 'Boulevard de l’Impératrice,17-19', '1000', 'Bruxelles', 0, 2, NULL, NULL, NULL, 'jco@sbge.be', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(90, 'OCASC', 1, NULL, NULL, 0, NULL, '2020-07-27 09:43:18', '2020-07-27 11:43:18', 1, NULL, NULL, NULL, NULL, 'Quartier Reine Astrid,\r\nRue Bruyn 1', '1120', 'Bruxelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(91, 'Monsieur Mc Guffie', 1, NULL, NULL, 0, NULL, '2020-08-13 06:58:18', '2020-08-13 08:58:18', 1, NULL, NULL, NULL, NULL, 'Avenue Guillaume Gilbert 40,', '1050', 'Ixelles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(92, 'Concerts de Midi', 1, NULL, NULL, 0, NULL, '2020-09-08 06:38:50', '2020-09-02 13:10:24', 1, NULL, NULL, NULL, NULL, '109 rue Defacqz', '1060', 'St Gilles', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0408.170.654', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(93, 'Abd Alhaseb alsaleh a2zticaret', 1, NULL, NULL, 0, NULL, '2021-01-12 10:29:02', '2021-01-12 11:29:02', 1, NULL, NULL, NULL, NULL, 'Fevzi çakmak mah. Fevzi çakmak Cad.\r\nNo : 34 iç KAPI\r\nNO: 8 ESENLER/Istanbul\r\n\r\nTAX : 0471476614', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(94, 'Madame Gaëlle Kremer', 1, NULL, NULL, 0, NULL, '2021-01-15 11:58:33', '2021-01-15 12:53:42', 1, NULL, NULL, NULL, NULL, 'Potvlietlaan 1', '2600', 'Berchem', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(95, 'Annie-Raymonde Pierre', 1, NULL, NULL, 0, NULL, '2021-02-01 09:53:04', '2021-02-01 10:53:04', 1, NULL, NULL, NULL, NULL, 'Avenue Franz Guillaume 49 bte 15', '1140', 'Evere', 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(96, 'Faouzi Wederni', 1, NULL, NULL, 0, NULL, '2021-05-20 10:55:24', '2021-02-11 10:16:13', 1, NULL, NULL, NULL, NULL, 'SFAX\r\n\r\nTUNISIE', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(97, 'SOLAR PFK BV (Belgian Branch)', 1, NULL, NULL, 0, NULL, '2021-03-24 06:42:13', '2021-03-24 07:42:13', 1, NULL, NULL, NULL, NULL, 'Rue Montoyer 10', '1000', 'Bruxelles', 0, 2, NULL, 'BE0898217327', NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(98, 'ACP VAN BECELAERE C/o MGS Srl', 1, NULL, NULL, 0, NULL, '2021-03-29 07:15:40', '2021-03-25 10:57:18', 1, NULL, NULL, NULL, NULL, 'Chaussée de la hulpe 150\r\n1170 Bruxelles', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '0850.584.090', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(99, 'Volkshuisvesting Willebroek', 1, NULL, NULL, 0, NULL, '2021-04-08 05:55:42', '2021-04-08 07:55:42', 1, NULL, NULL, NULL, NULL, 'Catherine Cauberghe \r\nA.van landeghemplein 2\r\n2830 Willebroek', NULL, NULL, 0, 2, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', 'BE 0403 698 162', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(100, 'Magasin Cale', 1, NULL, NULL, 0, NULL, '2021-08-31 09:35:09', '2021-06-11 11:26:10', 1, NULL, NULL, NULL, NULL, 'DInostrans\r\n\r\nTUNISIE', '1190', 'FOREST', 0, 2, '0484604852', NULL, NULL, 'coralie@delta-relay.com', NULL, NULL, 0, NULL, NULL, '', '', '', '', '', '', '', 0, 0, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 0, 0, 1, 1, 0, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_address`
--

CREATE TABLE `llx_societe_address` (
  `rowid` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(30) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT '0',
  `name` varchar(60) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `note` text,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_commerciaux`
--

CREATE TABLE `llx_societe_commerciaux` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_societe_commerciaux`
--

INSERT INTO `llx_societe_commerciaux` (`rowid`, `fk_soc`, `fk_user`) VALUES
(1, 1, 4),
(2, 2, 4),
(3, 3, 4),
(4, 4, 4),
(5, 5, 4),
(6, 6, 4),
(7, 7, 4),
(8, 8, 4),
(9, 9, 4),
(18, 9, 6),
(20, 9, 7),
(10, 10, 4),
(11, 11, 4),
(12, 12, 4),
(13, 13, 4),
(14, 14, 4),
(17, 14, 6),
(19, 14, 7),
(15, 15, 4),
(16, 16, 4),
(21, 17, 4),
(22, 18, 4),
(23, 19, 4),
(24, 20, 4),
(25, 21, 4),
(26, 22, 4),
(27, 23, 4),
(28, 24, 4),
(29, 25, 4),
(30, 26, 4),
(31, 27, 4),
(32, 28, 4),
(33, 29, 4),
(34, 30, 4),
(35, 31, 4),
(36, 32, 4),
(37, 33, 4),
(38, 34, 4),
(39, 35, 4),
(40, 36, 4),
(41, 37, 4),
(42, 38, 4),
(43, 39, 4),
(44, 40, 4),
(45, 41, 4),
(46, 42, 4),
(47, 43, 4),
(48, 44, 4),
(49, 45, 4),
(50, 46, 4),
(51, 47, 4),
(52, 48, 4),
(53, 49, 4),
(54, 50, 4),
(55, 51, 4),
(56, 52, 4),
(57, 53, 4),
(58, 54, 4),
(59, 55, 4),
(60, 56, 4),
(61, 57, 4),
(62, 58, 4),
(63, 59, 4),
(64, 60, 4),
(65, 61, 4),
(66, 62, 4),
(67, 63, 4),
(68, 64, 4),
(69, 65, 4),
(70, 66, 4),
(71, 67, 4),
(72, 68, 4),
(73, 69, 4),
(74, 70, 4),
(75, 71, 4),
(76, 72, 4),
(77, 73, 4),
(78, 74, 4),
(79, 75, 4),
(80, 76, 4),
(81, 77, 4),
(82, 78, 4),
(83, 79, 4),
(84, 80, 4),
(85, 81, 4),
(86, 82, 4),
(87, 83, 1),
(88, 84, 1),
(89, 85, 1),
(90, 86, 1),
(91, 87, 1),
(92, 88, 1),
(93, 89, 1),
(94, 90, 1),
(95, 91, 1),
(96, 92, 1),
(97, 93, 1),
(98, 94, 1),
(99, 95, 1),
(100, 96, 1),
(101, 97, 1),
(102, 98, 1),
(103, 99, 1),
(104, 100, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_extrafields`
--

CREATE TABLE `llx_societe_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_log`
--

CREATE TABLE `llx_societe_log` (
  `id` int(11) NOT NULL,
  `datel` datetime DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_statut` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `author` varchar(30) DEFAULT NULL,
  `label` varchar(128) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_prices`
--

CREATE TABLE `llx_societe_prices` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `price_level` tinyint(4) DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_remise`
--

CREATE TABLE `llx_societe_remise` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `remise_client` double(6,3) NOT NULL DEFAULT '0.000',
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_remise_except`
--

CREATE TABLE `llx_societe_remise_except` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `amount_ht` double(24,8) NOT NULL,
  `amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  `tva_tx` double(6,3) NOT NULL DEFAULT '0.000',
  `fk_user` int(11) NOT NULL,
  `fk_facture_line` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `description` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_societe_rib`
--

CREATE TABLE `llx_societe_rib` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(30) DEFAULT NULL,
  `bank` varchar(255) DEFAULT NULL,
  `code_banque` varchar(7) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(20) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  `default_rib` smallint(6) NOT NULL DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_socpeople`
--

CREATE TABLE `llx_socpeople` (
  `rowid` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_soc` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(128) DEFAULT NULL,
  `civilite` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(255) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `birthday` date DEFAULT NULL,
  `poste` varchar(80) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `phone_perso` varchar(30) DEFAULT NULL,
  `phone_mobile` varchar(30) DEFAULT NULL,
  `fax` varchar(30) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `jabberid` varchar(255) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `no_email` smallint(6) NOT NULL DEFAULT '0',
  `priv` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_creat` int(11) DEFAULT '0',
  `fk_user_modif` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `default_lang` varchar(6) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `statut` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_socpeople`
--

INSERT INTO `llx_socpeople` (`rowid`, `datec`, `tms`, `fk_soc`, `entity`, `ref_ext`, `civilite`, `lastname`, `firstname`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `birthday`, `poste`, `phone`, `phone_perso`, `phone_mobile`, `fax`, `email`, `jabberid`, `skype`, `no_email`, `priv`, `fk_user_creat`, `fk_user_modif`, `note_private`, `note_public`, `default_lang`, `canvas`, `import_key`, `statut`) VALUES
(1, '2014-10-21 13:36:28', '2014-10-21 09:36:28', 5, 1, NULL, '', 'Stefan Stroobants', '', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'stefan.stroobants@patrona.be', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(2, '2014-10-21 13:36:52', '2014-10-21 09:36:52', 5, 1, NULL, '', 'Michael Jacobs', '', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'Michael.Jacobs@patrona.be', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(3, '2014-12-02 12:38:44', '2014-12-02 08:38:44', 8, 1, NULL, 'MR', 'Paul', 'Paul', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'paul@pnplogistiek.be', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(4, '2015-02-02 14:42:32', '2015-02-02 10:42:32', 9, 1, NULL, '', 'Eulalie Gomez', '', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'eulalie.gomez@concor.be', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(5, '2015-03-31 14:53:21', '2015-03-31 10:53:21', 13, 1, NULL, '', 'P2C', '', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'BE 0427391896', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(6, '2015-04-14 10:10:12', '2015-04-14 06:10:12', 15, 1, NULL, 'MME', 'Madame huts', '', 'Rue prince Baudouin 69', '1083', 'Ganshoren', NULL, 2, NULL, '', '', '', '', '', 'michele.huts@gmail.com', '', '', 0, 0, 4, 4, NULL, NULL, NULL, NULL, NULL, 1),
(7, '2015-06-02 10:36:52', '2015-06-02 06:36:52', 18, 1, NULL, 'MR', 'Stroobant', 'stefan', '', '', '', NULL, 2, NULL, '', '', '', '', '', 'stefan.stroobants@patrona.be', '', '', 0, 0, 4, 4, '', '', NULL, NULL, NULL, 1),
(8, '2015-06-26 11:43:25', '2015-06-26 07:43:25', 20, 1, NULL, 'MR', 'HARDENNE', 'Guy', 'rue de la forêt 31', '6980', 'la roche', NULL, 2, NULL, '', '', '', '', '', '', '', '', 0, 0, 4, 4, NULL, NULL, NULL, NULL, NULL, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_socpeople_extrafields`
--

CREATE TABLE `llx_socpeople_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_stock_mouvement`
--

CREATE TABLE `llx_stock_mouvement` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datem` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `value` double DEFAULT NULL,
  `price` float(13,4) DEFAULT '0.0000',
  `type_mouvement` smallint(6) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `label` varchar(128) DEFAULT NULL,
  `fk_origin` int(11) DEFAULT NULL,
  `origintype` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_texts`
--

CREATE TABLE `llx_texts` (
  `rowid` int(11) NOT NULL,
  `module` varchar(32) DEFAULT NULL,
  `typemodele` varchar(32) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `private` smallint(6) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `title` varchar(128) DEFAULT NULL,
  `filename` varchar(128) DEFAULT NULL,
  `content` text,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_tva`
--

CREATE TABLE `llx_tva` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double NOT NULL DEFAULT '0',
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_typepayment` int(11) DEFAULT NULL,
  `num_payment` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_user`
--

CREATE TABLE `llx_user` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(50) DEFAULT NULL,
  `ref_int` varchar(50) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `login` varchar(24) NOT NULL,
  `pass` varchar(32) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `pass_temp` varchar(32) DEFAULT NULL,
  `civilite` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_state` int(11) DEFAULT '0',
  `fk_country` int(11) DEFAULT '0',
  `job` varchar(128) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `office_phone` varchar(20) DEFAULT NULL,
  `office_fax` varchar(20) DEFAULT NULL,
  `user_mobile` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `signature` text,
  `admin` smallint(6) DEFAULT '0',
  `module_comm` smallint(6) DEFAULT '1',
  `module_compta` smallint(6) DEFAULT '1',
  `fk_societe` int(11) DEFAULT NULL,
  `fk_socpeople` int(11) DEFAULT NULL,
  `fk_member` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `thm` double(24,8) DEFAULT NULL,
  `note` text,
  `datelastlogin` datetime DEFAULT NULL,
  `datepreviouslogin` datetime DEFAULT NULL,
  `egroupware_id` int(11) DEFAULT NULL,
  `ldap_sid` varchar(255) DEFAULT NULL,
  `openid` varchar(255) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT '1',
  `photo` varchar(255) DEFAULT NULL,
  `lang` varchar(6) DEFAULT NULL,
  `color` varchar(6) DEFAULT NULL,
  `accountancy_code` varchar(24) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT '0',
  `nb_holiday` int(11) DEFAULT '0',
  `salary` double(24,8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_user`
--

INSERT INTO `llx_user` (`rowid`, `entity`, `ref_ext`, `ref_int`, `datec`, `tms`, `login`, `pass`, `pass_crypted`, `pass_temp`, `civilite`, `lastname`, `firstname`, `address`, `zip`, `town`, `fk_state`, `fk_country`, `job`, `skype`, `office_phone`, `office_fax`, `user_mobile`, `email`, `signature`, `admin`, `module_comm`, `module_compta`, `fk_societe`, `fk_socpeople`, `fk_member`, `fk_user`, `thm`, `note`, `datelastlogin`, `datepreviouslogin`, `egroupware_id`, `ldap_sid`, `openid`, `statut`, `photo`, `lang`, `color`, `accountancy_code`, `barcode`, `fk_barcode_type`, `nb_holiday`, `salary`) VALUES
(1, 0, NULL, NULL, '2014-06-17 13:44:55', '2014-06-17 11:09:46', 'admin', 'HICHEM12031999', 'fc5daac159cd813b92a0db0d9862024b', NULL, NULL, 'SuperAdmin', '', '', '', '', NULL, NULL, '', '', '', '', '', '', '', 1, 1, 1, NULL, NULL, NULL, NULL, NULL, '', '2021-11-29 08:47:17', '2021-11-29 08:43:34', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(2, 1, NULL, NULL, '2014-06-17 14:09:49', '2014-06-17 10:09:49', 'rachbm', 'adam2006', '4ea12511d2a456761e5abe429b575d31', NULL, NULL, 'rached', 'rached', '', '', '', NULL, NULL, 'Manager', '', '', '', '', 'rachbm@aab-cleaning.be', '', 0, 1, 1, NULL, NULL, NULL, NULL, NULL, '', '2018-05-31 10:11:33', '2018-05-15 11:00:23', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(3, 1, NULL, NULL, '2014-06-17 14:10:28', '2014-06-17 10:10:28', 'chokri', 'hammamlif', '612a15507a11c8d5f8697a53c8e9d774', NULL, NULL, 'chokri', 'chokri', '', '', '', NULL, NULL, 'manager', '', '', '', '', 'chokri@aab-cleaning.be', '', 0, 1, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(4, 1, NULL, NULL, '2014-06-17 14:11:07', '2015-05-29 11:24:31', 'coralie', 'vidacore7', '3e93dabcb687e39d39796cb6e00f5d1d', NULL, NULL, 'coralie', 'coralie', '', '', '', NULL, NULL, 'secrétaire de direction', '', '', '', '', 'coralie@aab-cleaning.be', '', 0, 1, 1, NULL, NULL, NULL, 2, NULL, '', '2020-01-10 10:14:59', '2020-01-09 11:16:55', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(5, 1, NULL, NULL, '2014-12-05 15:06:38', '2015-04-27 10:19:18', 'mourad', '051968', '02034c658348cb0e2b68a8730a4b6f98', NULL, NULL, 'Ben Marzouk', 'mourad', '', '', '', NULL, NULL, 'Dispacher', '', '', '', '', 'mourad@delta-relay.com', '', 0, 1, 1, NULL, NULL, NULL, NULL, NULL, '', '2015-05-08 13:56:09', '2015-04-27 14:19:31', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(6, 0, NULL, NULL, '2015-04-27 13:23:07', '2015-04-27 09:59:09', 'hafid', 'hafid2015', '4fd1ca55af9d1da62d54ca8d363bfd05', NULL, NULL, 'Boutuil', 'Hafid', '', '', '', NULL, NULL, 'Chef de Chantier', '', '', '', '', 'hafid@aab-cleaning.be', '', 0, 1, 1, NULL, NULL, NULL, 2, NULL, '', '2015-04-27 13:59:17', '2015-04-27 13:28:50', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(7, 0, NULL, NULL, '2015-04-27 13:41:14', '2015-04-27 09:47:02', 'ali', 'cleaning2015', '1a2f0b2d127362df8db4693988ecb0e5', NULL, NULL, 'gamada', 'Ali', '', '', '', NULL, NULL, 'responsable de chantier', '', '', '', '', 'ali.gamada@aab-cleaning.be', '', 0, 1, 1, NULL, NULL, NULL, 2, NULL, '', '2015-04-27 13:43:24', NULL, NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(8, 0, NULL, NULL, '2015-04-27 13:48:50', '2015-04-27 09:48:50', 'khalil', '2015khalil2015', '90b0e0b1d560be19fe81b3dca1e04635', NULL, NULL, 'bouchefirat', 'khalil', '', '', '', NULL, NULL, 'responsable de chantier', '', '', '', '', 'khalilbouchefirat@hotmail.fr', '', 0, 1, 1, NULL, NULL, NULL, 2, NULL, '', '2015-04-27 13:55:15', NULL, NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(9, 0, NULL, NULL, '2015-11-23 14:10:49', '2015-11-23 10:10:50', 'aabcleaning', 'adam2006!', '5e8cf03bd82a6af833807a1a017139ff', NULL, NULL, 'aabcleaning', '', '', '', '', NULL, NULL, '', '', '', '', '', '', '', 1, 1, 1, NULL, NULL, NULL, NULL, NULL, '', '2019-02-14 08:22:24', '2019-02-13 12:52:53', NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL),
(10, 0, NULL, NULL, '2019-02-12 13:13:32', '2019-02-12 12:13:32', 'admin2', '1111', 'b59c67bf196a4758191e42f76670ceba', NULL, NULL, 'SuperAdmin', '', '', '', '', NULL, NULL, '', '', '', '', '', '', '', 1, 1, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, '', NULL, 1, NULL, NULL, NULL, '', NULL, 0, 0, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_usergroup`
--

CREATE TABLE `llx_usergroup` (
  `rowid` int(11) NOT NULL,
  `nom` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_usergroup_rights`
--

CREATE TABLE `llx_usergroup_rights` (
  `rowid` int(11) NOT NULL,
  `fk_usergroup` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_usergroup_user`
--

CREATE TABLE `llx_usergroup_user` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_user` int(11) NOT NULL,
  `fk_usergroup` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_user_alert`
--

CREATE TABLE `llx_user_alert` (
  `rowid` int(11) NOT NULL,
  `type` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_user_clicktodial`
--

CREATE TABLE `llx_user_clicktodial` (
  `fk_user` int(11) NOT NULL,
  `url` varchar(255) DEFAULT NULL,
  `login` varchar(32) DEFAULT NULL,
  `pass` varchar(64) DEFAULT NULL,
  `poste` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_user_extrafields`
--

CREATE TABLE `llx_user_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `llx_user_param`
--

CREATE TABLE `llx_user_param` (
  `fk_user` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `param` varchar(64) NOT NULL,
  `value` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_user_param`
--

INSERT INTO `llx_user_param` (`fk_user`, `entity`, `param`, `value`) VALUES
(4, 1, 'MAIN_SIZE_LISTE_LIMIT', '50');

-- --------------------------------------------------------

--
-- Structure de la table `llx_user_rights`
--

CREATE TABLE `llx_user_rights` (
  `rowid` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `llx_user_rights`
--

INSERT INTO `llx_user_rights` (`rowid`, `fk_user`, `fk_id`) VALUES
(143, 1, 11),
(136, 1, 12),
(137, 1, 13),
(139, 1, 14),
(140, 1, 15),
(142, 1, 16),
(144, 1, 19),
(737, 1, 21),
(729, 1, 22),
(731, 1, 24),
(732, 1, 25),
(734, 1, 26),
(736, 1, 27),
(738, 1, 28),
(759, 1, 31),
(756, 1, 32),
(758, 1, 34),
(760, 1, 38),
(713, 1, 41),
(710, 1, 42),
(712, 1, 44),
(714, 1, 45),
(111, 1, 61),
(108, 1, 62),
(110, 1, 64),
(112, 1, 67),
(113, 1, 68),
(57, 1, 81),
(49, 1, 82),
(51, 1, 84),
(52, 1, 86),
(54, 1, 87),
(56, 1, 88),
(58, 1, 89),
(179, 1, 91),
(176, 1, 92),
(178, 1, 93),
(180, 1, 94),
(129, 1, 95),
(130, 1, 96),
(132, 1, 97),
(133, 1, 98),
(172, 1, 111),
(163, 1, 112),
(165, 1, 113),
(167, 1, 114),
(169, 1, 115),
(171, 1, 116),
(173, 1, 117),
(744, 1, 121),
(741, 1, 122),
(743, 1, 125),
(745, 1, 126),
(718, 1, 141),
(717, 1, 142),
(719, 1, 144),
(82, 1, 161),
(77, 1, 162),
(79, 1, 163),
(81, 1, 164),
(83, 1, 165),
(186, 1, 171),
(183, 1, 172),
(185, 1, 173),
(187, 1, 178),
(552, 1, 221),
(549, 1, 222),
(551, 1, 223),
(553, 1, 229),
(554, 1, 237),
(555, 1, 238),
(556, 1, 239),
(723, 1, 241),
(722, 1, 242),
(724, 1, 243),
(985, 1, 251),
(947, 1, 252),
(950, 1, 253),
(953, 1, 254),
(956, 1, 255),
(960, 1, 256),
(746, 1, 262),
(752, 1, 281),
(749, 1, 282),
(751, 1, 283),
(753, 1, 286),
(963, 1, 341),
(965, 1, 342),
(967, 1, 343),
(969, 1, 344),
(981, 1, 351),
(974, 1, 352),
(978, 1, 353),
(982, 1, 354),
(986, 1, 358),
(766, 1, 510),
(763, 1, 512),
(765, 1, 514),
(767, 1, 517),
(104, 1, 531),
(101, 1, 532),
(103, 1, 534),
(105, 1, 538),
(188, 1, 1181),
(212, 1, 1182),
(191, 1, 1183),
(193, 1, 1184),
(195, 1, 1185),
(197, 1, 1186),
(199, 1, 1187),
(201, 1, 1188),
(210, 1, 1231),
(204, 1, 1232),
(206, 1, 1233),
(208, 1, 1234),
(209, 1, 1235),
(211, 1, 1236),
(213, 1, 1237),
(145, 1, 1321),
(59, 1, 1421),
(560, 1, 2401),
(559, 1, 2402),
(561, 1, 2403),
(565, 1, 2411),
(564, 1, 2412),
(566, 1, 2413),
(567, 1, 2414),
(700, 1, 2501),
(699, 1, 2503),
(701, 1, 2515),
(702, 1, 20001),
(703, 1, 20002),
(704, 1, 20003),
(705, 1, 20004),
(706, 1, 20005),
(707, 1, 20006),
(573, 1, 23001),
(570, 1, 23002),
(572, 1, 23003),
(574, 1, 23004),
(725, 1, 59001),
(726, 1, 59002),
(498, 2, 11),
(499, 2, 12),
(500, 2, 13),
(501, 2, 14),
(502, 2, 15),
(503, 2, 16),
(504, 2, 19),
(237, 2, 21),
(526, 2, 31),
(527, 2, 32),
(528, 2, 34),
(529, 2, 38),
(506, 2, 61),
(507, 2, 62),
(508, 2, 64),
(509, 2, 67),
(510, 2, 68),
(477, 2, 81),
(478, 2, 82),
(479, 2, 84),
(480, 2, 86),
(481, 2, 87),
(482, 2, 88),
(483, 2, 89),
(543, 2, 91),
(544, 2, 92),
(545, 2, 93),
(546, 2, 94),
(485, 2, 95),
(486, 2, 96),
(487, 2, 97),
(488, 2, 98),
(470, 2, 111),
(471, 2, 112),
(472, 2, 113),
(473, 2, 114),
(474, 2, 115),
(475, 2, 116),
(476, 2, 117),
(534, 2, 121),
(535, 2, 122),
(536, 2, 125),
(537, 2, 126),
(489, 2, 161),
(490, 2, 162),
(491, 2, 163),
(492, 2, 164),
(493, 2, 165),
(494, 2, 171),
(495, 2, 172),
(496, 2, 173),
(497, 2, 178),
(538, 2, 262),
(539, 2, 281),
(540, 2, 282),
(541, 2, 283),
(542, 2, 286),
(250, 2, 341),
(251, 2, 342),
(252, 2, 343),
(253, 2, 344),
(530, 2, 531),
(531, 2, 532),
(532, 2, 534),
(533, 2, 538),
(511, 2, 1181),
(512, 2, 1182),
(513, 2, 1183),
(514, 2, 1184),
(515, 2, 1185),
(516, 2, 1186),
(517, 2, 1187),
(518, 2, 1188),
(519, 2, 1231),
(520, 2, 1232),
(521, 2, 1233),
(522, 2, 1234),
(523, 2, 1235),
(524, 2, 1236),
(525, 2, 1237),
(505, 2, 1321),
(484, 2, 1421),
(414, 3, 11),
(415, 3, 12),
(416, 3, 13),
(417, 3, 14),
(418, 3, 15),
(419, 3, 16),
(420, 3, 19),
(446, 3, 21),
(447, 3, 22),
(448, 3, 24),
(449, 3, 25),
(450, 3, 26),
(451, 3, 27),
(452, 3, 28),
(442, 3, 31),
(443, 3, 32),
(444, 3, 34),
(445, 3, 38),
(422, 3, 61),
(423, 3, 62),
(424, 3, 64),
(425, 3, 67),
(426, 3, 68),
(393, 3, 81),
(394, 3, 82),
(395, 3, 84),
(396, 3, 86),
(397, 3, 87),
(398, 3, 88),
(399, 3, 89),
(466, 3, 91),
(467, 3, 92),
(468, 3, 93),
(469, 3, 94),
(401, 3, 95),
(402, 3, 96),
(403, 3, 97),
(404, 3, 98),
(386, 3, 111),
(387, 3, 112),
(388, 3, 113),
(389, 3, 114),
(390, 3, 115),
(391, 3, 116),
(392, 3, 117),
(457, 3, 121),
(458, 3, 122),
(459, 3, 125),
(460, 3, 126),
(405, 3, 161),
(406, 3, 162),
(407, 3, 163),
(408, 3, 164),
(409, 3, 165),
(410, 3, 171),
(411, 3, 172),
(412, 3, 173),
(413, 3, 178),
(461, 3, 262),
(462, 3, 281),
(463, 3, 282),
(464, 3, 283),
(465, 3, 286),
(272, 3, 341),
(273, 3, 342),
(274, 3, 343),
(275, 3, 344),
(453, 3, 531),
(454, 3, 532),
(455, 3, 534),
(456, 3, 538),
(427, 3, 1181),
(428, 3, 1182),
(429, 3, 1183),
(430, 3, 1184),
(431, 3, 1185),
(432, 3, 1186),
(433, 3, 1187),
(434, 3, 1188),
(435, 3, 1231),
(436, 3, 1232),
(437, 3, 1233),
(438, 3, 1234),
(439, 3, 1235),
(440, 3, 1236),
(441, 3, 1237),
(421, 3, 1321),
(400, 3, 1421),
(330, 4, 11),
(331, 4, 12),
(332, 4, 13),
(333, 4, 14),
(334, 4, 15),
(335, 4, 16),
(336, 4, 19),
(362, 4, 21),
(363, 4, 22),
(364, 4, 24),
(365, 4, 25),
(366, 4, 26),
(367, 4, 27),
(368, 4, 28),
(358, 4, 31),
(359, 4, 32),
(360, 4, 34),
(361, 4, 38),
(791, 4, 41),
(792, 4, 42),
(793, 4, 44),
(794, 4, 45),
(338, 4, 61),
(339, 4, 62),
(340, 4, 64),
(341, 4, 67),
(342, 4, 68),
(309, 4, 81),
(310, 4, 82),
(311, 4, 84),
(312, 4, 86),
(313, 4, 87),
(314, 4, 88),
(315, 4, 89),
(382, 4, 91),
(383, 4, 92),
(384, 4, 93),
(385, 4, 94),
(317, 4, 95),
(318, 4, 96),
(319, 4, 97),
(320, 4, 98),
(302, 4, 111),
(303, 4, 112),
(304, 4, 113),
(305, 4, 114),
(306, 4, 115),
(307, 4, 116),
(308, 4, 117),
(373, 4, 121),
(374, 4, 122),
(375, 4, 125),
(376, 4, 126),
(795, 4, 141),
(796, 4, 142),
(797, 4, 144),
(321, 4, 161),
(322, 4, 162),
(323, 4, 163),
(324, 4, 164),
(325, 4, 165),
(326, 4, 171),
(327, 4, 172),
(328, 4, 173),
(329, 4, 178),
(784, 4, 221),
(785, 4, 222),
(786, 4, 223),
(787, 4, 229),
(788, 4, 237),
(789, 4, 238),
(790, 4, 239),
(775, 4, 241),
(776, 4, 242),
(777, 4, 243),
(377, 4, 262),
(378, 4, 281),
(379, 4, 282),
(380, 4, 283),
(381, 4, 286),
(294, 4, 341),
(295, 4, 342),
(296, 4, 343),
(297, 4, 344),
(798, 4, 510),
(799, 4, 512),
(800, 4, 514),
(801, 4, 517),
(369, 4, 531),
(370, 4, 532),
(371, 4, 534),
(372, 4, 538),
(343, 4, 1181),
(344, 4, 1182),
(345, 4, 1183),
(346, 4, 1184),
(347, 4, 1185),
(348, 4, 1186),
(349, 4, 1187),
(350, 4, 1188),
(351, 4, 1231),
(352, 4, 1232),
(353, 4, 1233),
(354, 4, 1234),
(355, 4, 1235),
(356, 4, 1236),
(357, 4, 1237),
(337, 4, 1321),
(316, 4, 1421),
(768, 4, 2401),
(769, 4, 2402),
(770, 4, 2403),
(771, 4, 2411),
(772, 4, 2412),
(773, 4, 2413),
(774, 4, 2414),
(778, 4, 20001),
(779, 4, 20002),
(780, 4, 20003),
(781, 4, 20004),
(782, 4, 20005),
(783, 4, 20006),
(634, 5, 11),
(635, 5, 12),
(636, 5, 13),
(637, 5, 14),
(638, 5, 15),
(639, 5, 16),
(640, 5, 19),
(669, 5, 21),
(670, 5, 22),
(671, 5, 24),
(672, 5, 25),
(673, 5, 26),
(674, 5, 27),
(675, 5, 28),
(676, 5, 31),
(677, 5, 32),
(678, 5, 34),
(679, 5, 38),
(642, 5, 61),
(643, 5, 62),
(644, 5, 64),
(645, 5, 67),
(646, 5, 68),
(613, 5, 81),
(614, 5, 82),
(615, 5, 84),
(616, 5, 86),
(617, 5, 87),
(618, 5, 88),
(619, 5, 89),
(693, 5, 91),
(694, 5, 92),
(695, 5, 93),
(696, 5, 94),
(621, 5, 95),
(622, 5, 96),
(623, 5, 97),
(624, 5, 98),
(606, 5, 111),
(607, 5, 112),
(608, 5, 113),
(609, 5, 114),
(610, 5, 115),
(611, 5, 116),
(612, 5, 117),
(684, 5, 121),
(685, 5, 122),
(686, 5, 125),
(687, 5, 126),
(625, 5, 161),
(626, 5, 162),
(627, 5, 163),
(628, 5, 164),
(629, 5, 165),
(630, 5, 171),
(631, 5, 172),
(632, 5, 173),
(633, 5, 178),
(662, 5, 221),
(663, 5, 222),
(664, 5, 223),
(665, 5, 229),
(666, 5, 237),
(667, 5, 238),
(668, 5, 239),
(688, 5, 262),
(689, 5, 281),
(690, 5, 282),
(691, 5, 283),
(692, 5, 286),
(590, 5, 341),
(591, 5, 342),
(592, 5, 343),
(593, 5, 344),
(680, 5, 531),
(681, 5, 532),
(682, 5, 534),
(683, 5, 538),
(647, 5, 1181),
(648, 5, 1182),
(649, 5, 1183),
(650, 5, 1184),
(651, 5, 1185),
(652, 5, 1186),
(653, 5, 1187),
(654, 5, 1188),
(655, 5, 1231),
(656, 5, 1232),
(657, 5, 1233),
(658, 5, 1234),
(659, 5, 1235),
(660, 5, 1236),
(661, 5, 1237),
(641, 5, 1321),
(620, 5, 1421),
(599, 5, 2401),
(600, 5, 2402),
(601, 5, 2403),
(602, 5, 2411),
(603, 5, 2412),
(604, 5, 2413),
(605, 5, 2414),
(838, 6, 61),
(839, 6, 62),
(819, 6, 341),
(822, 6, 344),
(833, 6, 2401),
(834, 6, 2402),
(836, 6, 2411),
(837, 6, 2412),
(873, 7, 61),
(874, 7, 62),
(857, 7, 341),
(858, 7, 342),
(859, 7, 343),
(860, 7, 344),
(871, 7, 2401),
(872, 7, 2402),
(913, 7, 2411),
(911, 8, 61),
(912, 8, 62),
(892, 8, 341),
(893, 8, 342),
(894, 8, 343),
(895, 8, 344),
(906, 8, 2401),
(907, 8, 2402),
(909, 8, 2411),
(914, 9, 11),
(915, 9, 21),
(916, 9, 31),
(917, 9, 41),
(918, 9, 61),
(919, 9, 81),
(920, 9, 91),
(921, 9, 95),
(922, 9, 97),
(923, 9, 111),
(924, 9, 121),
(925, 9, 161),
(926, 9, 171),
(927, 9, 221),
(928, 9, 241),
(987, 9, 251),
(948, 9, 252),
(952, 9, 253),
(954, 9, 254),
(958, 9, 255),
(962, 9, 256),
(929, 9, 262),
(930, 9, 281),
(964, 9, 341),
(966, 9, 342),
(968, 9, 343),
(970, 9, 344),
(983, 9, 351),
(976, 9, 352),
(980, 9, 353),
(984, 9, 354),
(988, 9, 358),
(935, 9, 531),
(936, 9, 1181),
(937, 9, 1182),
(938, 9, 1231),
(939, 9, 2401),
(940, 9, 2501),
(941, 9, 2503),
(942, 9, 2515),
(943, 9, 20001),
(944, 9, 59001),
(989, 10, 11),
(990, 10, 21),
(991, 10, 31),
(992, 10, 41),
(993, 10, 61),
(994, 10, 81),
(995, 10, 91),
(996, 10, 95),
(997, 10, 97),
(998, 10, 111),
(999, 10, 121),
(1000, 10, 161),
(1001, 10, 171),
(1002, 10, 221),
(1003, 10, 241),
(1004, 10, 262),
(1005, 10, 281),
(1006, 10, 341),
(1007, 10, 342),
(1008, 10, 343),
(1009, 10, 344),
(1010, 10, 531),
(1011, 10, 1181),
(1012, 10, 1182),
(1013, 10, 1231),
(1014, 10, 2401),
(1015, 10, 2501),
(1016, 10, 2503),
(1017, 10, 2515),
(1018, 10, 20001),
(1019, 10, 59001);

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `llx_accountingaccount`
--
ALTER TABLE `llx_accountingaccount`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_accountingaccount_fk_pcg_version` (`fk_pcg_version`);

--
-- Index pour la table `llx_accountingtransaction`
--
ALTER TABLE `llx_accountingtransaction`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_accounting_system`
--
ALTER TABLE `llx_accounting_system`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_accounting_system_pcg_version` (`pcg_version`);

--
-- Index pour la table `llx_actioncomm`
--
ALTER TABLE `llx_actioncomm`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_actioncomm_datea` (`datea`),
  ADD KEY `idx_actioncomm_fk_soc` (`fk_soc`),
  ADD KEY `idx_actioncomm_fk_contact` (`fk_contact`),
  ADD KEY `idx_actioncomm_code` (`code`);

--
-- Index pour la table `llx_actioncomm_extrafields`
--
ALTER TABLE `llx_actioncomm_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_actioncomm_extrafields` (`fk_object`);

--
-- Index pour la table `llx_actioncomm_resources`
--
ALTER TABLE `llx_actioncomm_resources`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_actioncomm_resources_idx1` (`fk_actioncomm`,`element_type`,`fk_element`),
  ADD KEY `idx_actioncomm_resources_fk_element` (`fk_element`);

--
-- Index pour la table `llx_adherent`
--
ALTER TABLE `llx_adherent`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_adherent_login` (`login`,`entity`),
  ADD UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`),
  ADD KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`);

--
-- Index pour la table `llx_adherent_extrafields`
--
ALTER TABLE `llx_adherent_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_adherent_extrafields` (`fk_object`);

--
-- Index pour la table `llx_adherent_type`
--
ALTER TABLE `llx_adherent_type`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`);

--
-- Index pour la table `llx_adherent_type_extrafields`
--
ALTER TABLE `llx_adherent_type_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_adherent_type_extrafields` (`fk_object`);

--
-- Index pour la table `llx_bank`
--
ALTER TABLE `llx_bank`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_bank_datev` (`datev`),
  ADD KEY `idx_bank_dateo` (`dateo`),
  ADD KEY `idx_bank_fk_account` (`fk_account`),
  ADD KEY `idx_bank_rappro` (`rappro`);

--
-- Index pour la table `llx_bank_account`
--
ALTER TABLE `llx_bank_account`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_bank_account_label` (`label`,`entity`);

--
-- Index pour la table `llx_bank_categ`
--
ALTER TABLE `llx_bank_categ`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_bank_class`
--
ALTER TABLE `llx_bank_class`
  ADD UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`);

--
-- Index pour la table `llx_bank_url`
--
ALTER TABLE `llx_bank_url`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_bank_url` (`fk_bank`,`type`);

--
-- Index pour la table `llx_bookmark`
--
ALTER TABLE `llx_bookmark`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_bookmark_url` (`fk_user`,`url`),
  ADD UNIQUE KEY `uk_bookmark_title` (`fk_user`,`title`);

--
-- Index pour la table `llx_bordereau_cheque`
--
ALTER TABLE `llx_bordereau_cheque`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_bordereau_cheque` (`number`,`entity`);

--
-- Index pour la table `llx_boxes`
--
ALTER TABLE `llx_boxes`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_boxes` (`entity`,`box_id`,`position`,`fk_user`),
  ADD KEY `idx_boxes_boxid` (`box_id`),
  ADD KEY `idx_boxes_fk_user` (`fk_user`);

--
-- Index pour la table `llx_boxes_def`
--
ALTER TABLE `llx_boxes_def`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`);

--
-- Index pour la table `llx_categorie`
--
ALTER TABLE `llx_categorie`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_categorie_ref` (`entity`,`fk_parent`,`label`,`type`),
  ADD KEY `idx_categorie_type` (`type`),
  ADD KEY `idx_categorie_label` (`label`);

--
-- Index pour la table `llx_categories_extrafields`
--
ALTER TABLE `llx_categories_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_categories_extrafields` (`fk_object`);

--
-- Index pour la table `llx_categorie_contact`
--
ALTER TABLE `llx_categorie_contact`
  ADD PRIMARY KEY (`fk_categorie`,`fk_socpeople`),
  ADD KEY `idx_categorie_contact_fk_categorie` (`fk_categorie`),
  ADD KEY `idx_categorie_contact_fk_socpeople` (`fk_socpeople`);

--
-- Index pour la table `llx_categorie_fournisseur`
--
ALTER TABLE `llx_categorie_fournisseur`
  ADD PRIMARY KEY (`fk_categorie`,`fk_societe`),
  ADD KEY `idx_categorie_fournisseur_fk_categorie` (`fk_categorie`),
  ADD KEY `idx_categorie_fournisseur_fk_societe` (`fk_societe`);

--
-- Index pour la table `llx_categorie_lang`
--
ALTER TABLE `llx_categorie_lang`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_category_lang` (`fk_category`,`lang`);

--
-- Index pour la table `llx_categorie_member`
--
ALTER TABLE `llx_categorie_member`
  ADD PRIMARY KEY (`fk_categorie`,`fk_member`),
  ADD KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
  ADD KEY `idx_categorie_member_fk_member` (`fk_member`);

--
-- Index pour la table `llx_categorie_product`
--
ALTER TABLE `llx_categorie_product`
  ADD PRIMARY KEY (`fk_categorie`,`fk_product`),
  ADD KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
  ADD KEY `idx_categorie_product_fk_product` (`fk_product`);

--
-- Index pour la table `llx_categorie_societe`
--
ALTER TABLE `llx_categorie_societe`
  ADD PRIMARY KEY (`fk_categorie`,`fk_societe`),
  ADD KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
  ADD KEY `idx_categorie_societe_fk_societe` (`fk_societe`);

--
-- Index pour la table `llx_chargesociales`
--
ALTER TABLE `llx_chargesociales`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_commande`
--
ALTER TABLE `llx_commande`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
  ADD KEY `idx_commande_fk_soc` (`fk_soc`),
  ADD KEY `idx_commande_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_commande_fk_user_valid` (`fk_user_valid`),
  ADD KEY `idx_commande_fk_user_cloture` (`fk_user_cloture`),
  ADD KEY `idx_commande_fk_projet` (`fk_projet`),
  ADD KEY `idx_commande_fk_account` (`fk_account`),
  ADD KEY `idx_commande_fk_currency` (`fk_currency`);

--
-- Index pour la table `llx_commandedet`
--
ALTER TABLE `llx_commandedet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_commandedet_fk_commande` (`fk_commande`),
  ADD KEY `idx_commandedet_fk_product` (`fk_product`);

--
-- Index pour la table `llx_commandedet_extrafields`
--
ALTER TABLE `llx_commandedet_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_commandedet_extrafields` (`fk_object`);

--
-- Index pour la table `llx_commande_extrafields`
--
ALTER TABLE `llx_commande_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_commande_extrafields` (`fk_object`);

--
-- Index pour la table `llx_commande_fournisseur`
--
ALTER TABLE `llx_commande_fournisseur`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`),
  ADD KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`);

--
-- Index pour la table `llx_commande_fournisseurdet`
--
ALTER TABLE `llx_commande_fournisseurdet`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_commande_fournisseur_dispatch`
--
ALTER TABLE `llx_commande_fournisseur_dispatch`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`);

--
-- Index pour la table `llx_commande_fournisseur_extrafields`
--
ALTER TABLE `llx_commande_fournisseur_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_commande_fournisseur_extrafields` (`fk_object`);

--
-- Index pour la table `llx_commande_fournisseur_log`
--
ALTER TABLE `llx_commande_fournisseur_log`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_compta`
--
ALTER TABLE `llx_compta`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_compta_account`
--
ALTER TABLE `llx_compta_account`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_compta_compte_generaux`
--
ALTER TABLE `llx_compta_compte_generaux`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `numero` (`numero`);

--
-- Index pour la table `llx_const`
--
ALTER TABLE `llx_const`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_const` (`name`,`entity`);

--
-- Index pour la table `llx_contrat`
--
ALTER TABLE `llx_contrat`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
  ADD KEY `idx_contrat_fk_soc` (`fk_soc`),
  ADD KEY `idx_contrat_fk_user_author` (`fk_user_author`);

--
-- Index pour la table `llx_contratdet`
--
ALTER TABLE `llx_contratdet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
  ADD KEY `idx_contratdet_fk_product` (`fk_product`),
  ADD KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
  ADD KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
  ADD KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`);

--
-- Index pour la table `llx_contratdet_log`
--
ALTER TABLE `llx_contratdet_log`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
  ADD KEY `idx_contratdet_log_date` (`date`);

--
-- Index pour la table `llx_contrat_extrafields`
--
ALTER TABLE `llx_contrat_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_contrat_extrafields` (`fk_object`);

--
-- Index pour la table `llx_cotisation`
--
ALTER TABLE `llx_cotisation`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_cotisation` (`fk_adherent`,`dateadh`);

--
-- Index pour la table `llx_cronjob`
--
ALTER TABLE `llx_cronjob`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_actioncomm`
--
ALTER TABLE `llx_c_actioncomm`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_actioncomm` (`code`);

--
-- Index pour la table `llx_c_action_trigger`
--
ALTER TABLE `llx_c_action_trigger`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_action_trigger_code` (`code`),
  ADD KEY `idx_action_trigger_rang` (`rang`);

--
-- Index pour la table `llx_c_availability`
--
ALTER TABLE `llx_c_availability`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_availability` (`code`);

--
-- Index pour la table `llx_c_barcode_type`
--
ALTER TABLE `llx_c_barcode_type`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_barcode_type` (`code`,`entity`);

--
-- Index pour la table `llx_c_chargesociales`
--
ALTER TABLE `llx_c_chargesociales`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `llx_c_civilite`
--
ALTER TABLE `llx_c_civilite`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_civilite` (`code`);

--
-- Index pour la table `llx_c_currencies`
--
ALTER TABLE `llx_c_currencies`
  ADD PRIMARY KEY (`code_iso`),
  ADD UNIQUE KEY `uk_c_currencies_code_iso` (`code_iso`);

--
-- Index pour la table `llx_c_departements`
--
ALTER TABLE `llx_c_departements`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`),
  ADD KEY `idx_departements_fk_region` (`fk_region`);

--
-- Index pour la table `llx_c_ecotaxe`
--
ALTER TABLE `llx_c_ecotaxe`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_ecotaxe` (`code`);

--
-- Index pour la table `llx_c_effectif`
--
ALTER TABLE `llx_c_effectif`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_effectif` (`code`);

--
-- Index pour la table `llx_c_email_templates`
--
ALTER TABLE `llx_c_email_templates`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_field_list`
--
ALTER TABLE `llx_c_field_list`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_forme_juridique`
--
ALTER TABLE `llx_c_forme_juridique`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_forme_juridique` (`code`);

--
-- Index pour la table `llx_c_input_method`
--
ALTER TABLE `llx_c_input_method`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_input_method` (`code`);

--
-- Index pour la table `llx_c_input_reason`
--
ALTER TABLE `llx_c_input_reason`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_input_reason` (`code`);

--
-- Index pour la table `llx_c_paiement`
--
ALTER TABLE `llx_c_paiement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_paiement` (`code`);

--
-- Index pour la table `llx_c_paper_format`
--
ALTER TABLE `llx_c_paper_format`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_payment_term`
--
ALTER TABLE `llx_c_payment_term`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_pays`
--
ALTER TABLE `llx_c_pays`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_c_country_code` (`code`),
  ADD UNIQUE KEY `idx_c_pays_libelle` (`libelle`),
  ADD UNIQUE KEY `idx_c_country_code_iso` (`code_iso`);

--
-- Index pour la table `llx_c_propalst`
--
ALTER TABLE `llx_c_propalst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_propalst` (`code`);

--
-- Index pour la table `llx_c_prospectlevel`
--
ALTER TABLE `llx_c_prospectlevel`
  ADD PRIMARY KEY (`code`);

--
-- Index pour la table `llx_c_regions`
--
ALTER TABLE `llx_c_regions`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `code_region` (`code_region`),
  ADD KEY `idx_c_regions_fk_pays` (`fk_pays`);

--
-- Index pour la table `llx_c_revenuestamp`
--
ALTER TABLE `llx_c_revenuestamp`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_shipment_mode`
--
ALTER TABLE `llx_c_shipment_mode`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_c_stcomm`
--
ALTER TABLE `llx_c_stcomm`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_stcomm` (`code`);

--
-- Index pour la table `llx_c_tva`
--
ALTER TABLE `llx_c_tva`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_tva_id` (`fk_pays`,`taux`,`recuperableonly`);

--
-- Index pour la table `llx_c_typent`
--
ALTER TABLE `llx_c_typent`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_typent` (`code`);

--
-- Index pour la table `llx_c_type_contact`
--
ALTER TABLE `llx_c_type_contact`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_type_contact_id` (`element`,`source`,`code`);

--
-- Index pour la table `llx_c_type_fees`
--
ALTER TABLE `llx_c_type_fees`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_c_type_fees` (`code`);

--
-- Index pour la table `llx_c_type_resource`
--
ALTER TABLE `llx_c_type_resource`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_c_type_resource_id` (`label`,`code`);

--
-- Index pour la table `llx_c_ziptown`
--
ALTER TABLE `llx_c_ziptown`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_ziptown_fk_pays` (`zip`,`town`,`fk_pays`),
  ADD KEY `idx_c_ziptown_fk_county` (`fk_county`),
  ADD KEY `idx_c_ziptown_fk_pays` (`fk_pays`),
  ADD KEY `idx_c_ziptown_zip` (`zip`);

--
-- Index pour la table `llx_deplacement`
--
ALTER TABLE `llx_deplacement`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_document_generator`
--
ALTER TABLE `llx_document_generator`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_document_model`
--
ALTER TABLE `llx_document_model`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`);

--
-- Index pour la table `llx_domain`
--
ALTER TABLE `llx_domain`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_don`
--
ALTER TABLE `llx_don`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_ecm_directories`
--
ALTER TABLE `llx_ecm_directories`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_ecm_directories` (`label`,`fk_parent`,`entity`),
  ADD KEY `idx_ecm_directories_fk_user_c` (`fk_user_c`),
  ADD KEY `idx_ecm_directories_fk_user_m` (`fk_user_m`);

--
-- Index pour la table `llx_element_contact`
--
ALTER TABLE `llx_element_contact`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
  ADD KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
  ADD KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`);

--
-- Index pour la table `llx_element_element`
--
ALTER TABLE `llx_element_element`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
  ADD KEY `idx_element_element_fk_target` (`fk_target`);

--
-- Index pour la table `llx_element_lock`
--
ALTER TABLE `llx_element_lock`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_element_resources`
--
ALTER TABLE `llx_element_resources`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_element_resources_idx1` (`resource_id`,`resource_type`,`element_id`,`element_type`),
  ADD KEY `idx_element_element_element_id` (`element_id`);

--
-- Index pour la table `llx_element_tag`
--
ALTER TABLE `llx_element_tag`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_element_tag` (`entity`,`lang`,`tag`,`fk_element`,`element`);

--
-- Index pour la table `llx_entrepot`
--
ALTER TABLE `llx_entrepot`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_entrepot_label` (`label`,`entity`);

--
-- Index pour la table `llx_events`
--
ALTER TABLE `llx_events`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_events_dateevent` (`dateevent`);

--
-- Index pour la table `llx_event_element`
--
ALTER TABLE `llx_event_element`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_expedition`
--
ALTER TABLE `llx_expedition`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
  ADD KEY `idx_expedition_fk_soc` (`fk_soc`),
  ADD KEY `idx_expedition_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
  ADD KEY `idx_expedition_fk_shipping_method` (`fk_shipping_method`);

--
-- Index pour la table `llx_expeditiondet`
--
ALTER TABLE `llx_expeditiondet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`);

--
-- Index pour la table `llx_expeditiondet_batch`
--
ALTER TABLE `llx_expeditiondet_batch`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_fk_expeditiondet` (`fk_expeditiondet`);

--
-- Index pour la table `llx_export_compta`
--
ALTER TABLE `llx_export_compta`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_export_model`
--
ALTER TABLE `llx_export_model`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_export_model` (`label`,`type`);

--
-- Index pour la table `llx_extrafields`
--
ALTER TABLE `llx_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`);

--
-- Index pour la table `llx_facture`
--
ALTER TABLE `llx_facture`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`),
  ADD KEY `idx_facture_fk_soc` (`fk_soc`),
  ADD KEY `idx_facture_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  ADD KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  ADD KEY `idx_facture_fk_projet` (`fk_projet`),
  ADD KEY `idx_facture_fk_account` (`fk_account`),
  ADD KEY `idx_facture_fk_currency` (`fk_currency`);

--
-- Index pour la table `llx_facturedet`
--
ALTER TABLE `llx_facturedet`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  ADD KEY `idx_facturedet_fk_facture` (`fk_facture`),
  ADD KEY `idx_facturedet_fk_product` (`fk_product`);

--
-- Index pour la table `llx_facturedet_extrafields`
--
ALTER TABLE `llx_facturedet_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_facturedet_extrafields` (`fk_object`);

--
-- Index pour la table `llx_facturedet_rec`
--
ALTER TABLE `llx_facturedet_rec`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_facture_extrafields`
--
ALTER TABLE `llx_facture_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_facture_extrafields` (`fk_object`);

--
-- Index pour la table `llx_facture_fourn`
--
ALTER TABLE `llx_facture_fourn`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_facture_fourn_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  ADD UNIQUE KEY `uk_facture_fourn_ref` (`ref`,`entity`),
  ADD KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  ADD KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  ADD KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  ADD KEY `idx_facture_fourn_fk_projet` (`fk_projet`);

--
-- Index pour la table `llx_facture_fourn_det`
--
ALTER TABLE `llx_facture_fourn_det`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`);

--
-- Index pour la table `llx_facture_fourn_extrafields`
--
ALTER TABLE `llx_facture_fourn_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_facture_fourn_extrafields` (`fk_object`);

--
-- Index pour la table `llx_facture_rec`
--
ALTER TABLE `llx_facture_rec`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
  ADD KEY `idx_facture_rec_fk_soc` (`fk_soc`),
  ADD KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_facture_rec_fk_projet` (`fk_projet`);

--
-- Index pour la table `llx_fichinter`
--
ALTER TABLE `llx_fichinter`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`),
  ADD KEY `idx_fichinter_fk_soc` (`fk_soc`);

--
-- Index pour la table `llx_fichinterdet`
--
ALTER TABLE `llx_fichinterdet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`);

--
-- Index pour la table `llx_fichinter_extrafields`
--
ALTER TABLE `llx_fichinter_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_ficheinter_extrafields` (`fk_object`);

--
-- Index pour la table `llx_holiday`
--
ALTER TABLE `llx_holiday`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_holiday_fk_user` (`fk_user`),
  ADD KEY `idx_holiday_date_debut` (`date_debut`),
  ADD KEY `idx_holiday_date_fin` (`date_fin`),
  ADD KEY `idx_holiday_fk_user_create` (`fk_user_create`),
  ADD KEY `idx_holiday_date_create` (`date_create`),
  ADD KEY `idx_holiday_fk_validator` (`fk_validator`);

--
-- Index pour la table `llx_holiday_config`
--
ALTER TABLE `llx_holiday_config`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `name` (`name`);

--
-- Index pour la table `llx_holiday_events`
--
ALTER TABLE `llx_holiday_events`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_holiday_name` (`name`,`entity`);

--
-- Index pour la table `llx_holiday_logs`
--
ALTER TABLE `llx_holiday_logs`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_holiday_users`
--
ALTER TABLE `llx_holiday_users`
  ADD PRIMARY KEY (`fk_user`);

--
-- Index pour la table `llx_import_model`
--
ALTER TABLE `llx_import_model`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_import_model` (`label`,`type`);

--
-- Index pour la table `llx_links`
--
ALTER TABLE `llx_links`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_livraison`
--
ALTER TABLE `llx_livraison`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`),
  ADD KEY `idx_livraison_fk_soc` (`fk_soc`),
  ADD KEY `idx_livraison_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_livraison_fk_user_valid` (`fk_user_valid`);

--
-- Index pour la table `llx_livraisondet`
--
ALTER TABLE `llx_livraisondet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_livraisondet_fk_expedition` (`fk_livraison`);

--
-- Index pour la table `llx_localtax`
--
ALTER TABLE `llx_localtax`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_mailing`
--
ALTER TABLE `llx_mailing`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_mailing_cibles`
--
ALTER TABLE `llx_mailing_cibles`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`),
  ADD KEY `idx_mailing_cibles_email` (`email`);

--
-- Index pour la table `llx_menu`
--
ALTER TABLE `llx_menu`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`),
  ADD KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`);

--
-- Index pour la table `llx_notify`
--
ALTER TABLE `llx_notify`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_notify_def`
--
ALTER TABLE `llx_notify_def`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_opensurvey_comments`
--
ALTER TABLE `llx_opensurvey_comments`
  ADD PRIMARY KEY (`id_comment`),
  ADD KEY `idx_id_comment` (`id_comment`),
  ADD KEY `idx_id_sondage` (`id_sondage`);

--
-- Index pour la table `llx_opensurvey_sondage`
--
ALTER TABLE `llx_opensurvey_sondage`
  ADD PRIMARY KEY (`id_sondage`),
  ADD KEY `idx_id_sondage_admin` (`id_sondage_admin`),
  ADD KEY `idx_date_fin` (`date_fin`);

--
-- Index pour la table `llx_opensurvey_user_studs`
--
ALTER TABLE `llx_opensurvey_user_studs`
  ADD PRIMARY KEY (`id_users`),
  ADD KEY `idx_opensurvey_user_studs_id_users` (`id_users`),
  ADD KEY `idx_opensurvey_user_studs_nom` (`nom`),
  ADD KEY `idx_opensurvey_user_studs_id_sondage` (`id_sondage`);

--
-- Index pour la table `llx_paiement`
--
ALTER TABLE `llx_paiement`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_paiementcharge`
--
ALTER TABLE `llx_paiementcharge`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_paiementfourn`
--
ALTER TABLE `llx_paiementfourn`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_paiementfourn_facturefourn`
--
ALTER TABLE `llx_paiementfourn_facturefourn`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
  ADD KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
  ADD KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`);

--
-- Index pour la table `llx_paiement_facture`
--
ALTER TABLE `llx_paiement_facture`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
  ADD KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
  ADD KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`);

--
-- Index pour la table `llx_payment_salary`
--
ALTER TABLE `llx_payment_salary`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_prelevement_bons`
--
ALTER TABLE `llx_prelevement_bons`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`);

--
-- Index pour la table `llx_prelevement_facture`
--
ALTER TABLE `llx_prelevement_facture`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`);

--
-- Index pour la table `llx_prelevement_facture_demande`
--
ALTER TABLE `llx_prelevement_facture_demande`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_prelevement_lignes`
--
ALTER TABLE `llx_prelevement_lignes`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`);

--
-- Index pour la table `llx_prelevement_rejet`
--
ALTER TABLE `llx_prelevement_rejet`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_printer_ipp`
--
ALTER TABLE `llx_printer_ipp`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_product`
--
ALTER TABLE `llx_product`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_ref` (`ref`,`entity`),
  ADD UNIQUE KEY `uk_product_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  ADD KEY `idx_product_label` (`label`),
  ADD KEY `idx_product_barcode` (`barcode`),
  ADD KEY `idx_product_import_key` (`import_key`),
  ADD KEY `idx_product_seuil_stock_alerte` (`seuil_stock_alerte`);

--
-- Index pour la table `llx_product_association`
--
ALTER TABLE `llx_product_association`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
  ADD KEY `idx_product_association_fils` (`fk_product_fils`);

--
-- Index pour la table `llx_product_batch`
--
ALTER TABLE `llx_product_batch`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_fk_product_stock` (`fk_product_stock`);

--
-- Index pour la table `llx_product_customer_price`
--
ALTER TABLE `llx_product_customer_price`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_customer_price_fk_product_fk_soc` (`fk_product`,`fk_soc`),
  ADD KEY `idx_product_customer_price_fk_user` (`fk_user`),
  ADD KEY `idx_product_customer_price_fk_soc` (`fk_soc`);

--
-- Index pour la table `llx_product_customer_price_log`
--
ALTER TABLE `llx_product_customer_price_log`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_product_extrafields`
--
ALTER TABLE `llx_product_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_product_extrafields` (`fk_object`);

--
-- Index pour la table `llx_product_fournisseur_price`
--
ALTER TABLE `llx_product_fournisseur_price`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_fournisseur_price_ref` (`ref_fourn`,`fk_soc`,`quantity`,`entity`),
  ADD KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
  ADD KEY `idx_product_fourn_price_fk_product` (`fk_product`,`entity`),
  ADD KEY `idx_product_fourn_price_fk_soc` (`fk_soc`,`entity`);

--
-- Index pour la table `llx_product_fournisseur_price_log`
--
ALTER TABLE `llx_product_fournisseur_price_log`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_product_lang`
--
ALTER TABLE `llx_product_lang`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`);

--
-- Index pour la table `llx_product_price`
--
ALTER TABLE `llx_product_price`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_product_price_by_qty`
--
ALTER TABLE `llx_product_price_by_qty`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_price_by_qty_level` (`fk_product_price`,`quantity`),
  ADD KEY `idx_product_price_by_qty_fk_product_price` (`fk_product_price`);

--
-- Index pour la table `llx_product_stock`
--
ALTER TABLE `llx_product_stock`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`),
  ADD KEY `idx_product_stock_fk_product` (`fk_product`),
  ADD KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`);

--
-- Index pour la table `llx_projet`
--
ALTER TABLE `llx_projet`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_projet_ref` (`ref`,`entity`),
  ADD KEY `idx_projet_fk_soc` (`fk_soc`);

--
-- Index pour la table `llx_projet_extrafields`
--
ALTER TABLE `llx_projet_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_projet_extrafields` (`fk_object`);

--
-- Index pour la table `llx_projet_task`
--
ALTER TABLE `llx_projet_task`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_projet_task_fk_projet` (`fk_projet`),
  ADD KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`),
  ADD KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`);

--
-- Index pour la table `llx_projet_task_extrafields`
--
ALTER TABLE `llx_projet_task_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_projet_task_extrafields` (`fk_object`);

--
-- Index pour la table `llx_projet_task_time`
--
ALTER TABLE `llx_projet_task_time`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_propal`
--
ALTER TABLE `llx_propal`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_propal_ref` (`ref`,`entity`),
  ADD KEY `idx_propal_fk_soc` (`fk_soc`),
  ADD KEY `idx_propal_fk_user_author` (`fk_user_author`),
  ADD KEY `idx_propal_fk_user_valid` (`fk_user_valid`),
  ADD KEY `idx_propal_fk_user_cloture` (`fk_user_cloture`),
  ADD KEY `idx_propal_fk_projet` (`fk_projet`),
  ADD KEY `idx_propal_fk_account` (`fk_account`),
  ADD KEY `idx_propal_fk_currency` (`fk_currency`);

--
-- Index pour la table `llx_propaldet`
--
ALTER TABLE `llx_propaldet`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_propaldet_fk_propal` (`fk_propal`),
  ADD KEY `idx_propaldet_fk_product` (`fk_product`);

--
-- Index pour la table `llx_propaldet_extrafields`
--
ALTER TABLE `llx_propaldet_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_propaldet_extrafields` (`fk_object`);

--
-- Index pour la table `llx_propal_extrafields`
--
ALTER TABLE `llx_propal_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_propal_extrafields` (`fk_object`);

--
-- Index pour la table `llx_resource`
--
ALTER TABLE `llx_resource`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `fk_code_type_resource_idx` (`fk_code_type_resource`);

--
-- Index pour la table `llx_rights_def`
--
ALTER TABLE `llx_rights_def`
  ADD PRIMARY KEY (`id`,`entity`);

--
-- Index pour la table `llx_societe`
--
ALTER TABLE `llx_societe`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`),
  ADD UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`),
  ADD UNIQUE KEY `uk_societe_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  ADD UNIQUE KEY `uk_societe_code_fournisseur` (`code_fournisseur`,`entity`),
  ADD KEY `idx_societe_user_creat` (`fk_user_creat`),
  ADD KEY `idx_societe_user_modif` (`fk_user_modif`),
  ADD KEY `idx_societe_barcode` (`barcode`);

--
-- Index pour la table `llx_societe_address`
--
ALTER TABLE `llx_societe_address`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_societe_commerciaux`
--
ALTER TABLE `llx_societe_commerciaux`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`);

--
-- Index pour la table `llx_societe_extrafields`
--
ALTER TABLE `llx_societe_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_societe_extrafields` (`fk_object`);

--
-- Index pour la table `llx_societe_log`
--
ALTER TABLE `llx_societe_log`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `llx_societe_prices`
--
ALTER TABLE `llx_societe_prices`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_societe_remise`
--
ALTER TABLE `llx_societe_remise`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_societe_remise_except`
--
ALTER TABLE `llx_societe_remise_except`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_societe_remise_except_fk_user` (`fk_user`),
  ADD KEY `idx_societe_remise_except_fk_soc` (`fk_soc`),
  ADD KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`),
  ADD KEY `idx_societe_remise_except_fk_facture` (`fk_facture`),
  ADD KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`);

--
-- Index pour la table `llx_societe_rib`
--
ALTER TABLE `llx_societe_rib`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_socpeople`
--
ALTER TABLE `llx_socpeople`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_socpeople_fk_soc` (`fk_soc`),
  ADD KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`);

--
-- Index pour la table `llx_socpeople_extrafields`
--
ALTER TABLE `llx_socpeople_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_socpeople_extrafields` (`fk_object`);

--
-- Index pour la table `llx_stock_mouvement`
--
ALTER TABLE `llx_stock_mouvement`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_stock_mouvement_fk_product` (`fk_product`),
  ADD KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`);

--
-- Index pour la table `llx_texts`
--
ALTER TABLE `llx_texts`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_tva`
--
ALTER TABLE `llx_tva`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_user`
--
ALTER TABLE `llx_user`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_user_login` (`login`,`entity`),
  ADD UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`),
  ADD UNIQUE KEY `uk_user_fk_member` (`fk_member`),
  ADD KEY `uk_user_fk_societe` (`fk_societe`);

--
-- Index pour la table `llx_usergroup`
--
ALTER TABLE `llx_usergroup`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`);

--
-- Index pour la table `llx_usergroup_rights`
--
ALTER TABLE `llx_usergroup_rights`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `fk_usergroup` (`fk_usergroup`,`fk_id`);

--
-- Index pour la table `llx_usergroup_user`
--
ALTER TABLE `llx_usergroup_user`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_usergroup_user` (`entity`,`fk_user`,`fk_usergroup`),
  ADD KEY `fk_usergroup_user_fk_user` (`fk_user`),
  ADD KEY `fk_usergroup_user_fk_usergroup` (`fk_usergroup`);

--
-- Index pour la table `llx_user_alert`
--
ALTER TABLE `llx_user_alert`
  ADD PRIMARY KEY (`rowid`);

--
-- Index pour la table `llx_user_clicktodial`
--
ALTER TABLE `llx_user_clicktodial`
  ADD PRIMARY KEY (`fk_user`);

--
-- Index pour la table `llx_user_extrafields`
--
ALTER TABLE `llx_user_extrafields`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_user_extrafields` (`fk_object`);

--
-- Index pour la table `llx_user_param`
--
ALTER TABLE `llx_user_param`
  ADD UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`);

--
-- Index pour la table `llx_user_rights`
--
ALTER TABLE `llx_user_rights`
  ADD PRIMARY KEY (`rowid`),
  ADD UNIQUE KEY `uk_user_rights` (`fk_user`,`fk_id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `llx_accountingaccount`
--
ALTER TABLE `llx_accountingaccount`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1508;

--
-- AUTO_INCREMENT pour la table `llx_accountingtransaction`
--
ALTER TABLE `llx_accountingtransaction`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_accounting_system`
--
ALTER TABLE `llx_accounting_system`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `llx_actioncomm`
--
ALTER TABLE `llx_actioncomm`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2894;

--
-- AUTO_INCREMENT pour la table `llx_actioncomm_extrafields`
--
ALTER TABLE `llx_actioncomm_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_actioncomm_resources`
--
ALTER TABLE `llx_actioncomm_resources`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_adherent`
--
ALTER TABLE `llx_adherent`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_adherent_extrafields`
--
ALTER TABLE `llx_adherent_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_adherent_type`
--
ALTER TABLE `llx_adherent_type`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_adherent_type_extrafields`
--
ALTER TABLE `llx_adherent_type_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_bank`
--
ALTER TABLE `llx_bank`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=377;

--
-- AUTO_INCREMENT pour la table `llx_bank_account`
--
ALTER TABLE `llx_bank_account`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `llx_bank_categ`
--
ALTER TABLE `llx_bank_categ`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_bank_url`
--
ALTER TABLE `llx_bank_url`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=751;

--
-- AUTO_INCREMENT pour la table `llx_bookmark`
--
ALTER TABLE `llx_bookmark`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_bordereau_cheque`
--
ALTER TABLE `llx_bordereau_cheque`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_boxes`
--
ALTER TABLE `llx_boxes`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT pour la table `llx_boxes_def`
--
ALTER TABLE `llx_boxes_def`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT pour la table `llx_categorie`
--
ALTER TABLE `llx_categorie`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_categories_extrafields`
--
ALTER TABLE `llx_categories_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_categorie_lang`
--
ALTER TABLE `llx_categorie_lang`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_chargesociales`
--
ALTER TABLE `llx_chargesociales`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande`
--
ALTER TABLE `llx_commande`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commandedet`
--
ALTER TABLE `llx_commandedet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commandedet_extrafields`
--
ALTER TABLE `llx_commandedet_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_extrafields`
--
ALTER TABLE `llx_commande_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_fournisseur`
--
ALTER TABLE `llx_commande_fournisseur`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_fournisseurdet`
--
ALTER TABLE `llx_commande_fournisseurdet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_fournisseur_dispatch`
--
ALTER TABLE `llx_commande_fournisseur_dispatch`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_fournisseur_extrafields`
--
ALTER TABLE `llx_commande_fournisseur_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_commande_fournisseur_log`
--
ALTER TABLE `llx_commande_fournisseur_log`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_compta`
--
ALTER TABLE `llx_compta`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_compta_account`
--
ALTER TABLE `llx_compta_account`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_compta_compte_generaux`
--
ALTER TABLE `llx_compta_compte_generaux`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_const`
--
ALTER TABLE `llx_const`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=558;

--
-- AUTO_INCREMENT pour la table `llx_contrat`
--
ALTER TABLE `llx_contrat`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_contratdet`
--
ALTER TABLE `llx_contratdet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_contratdet_log`
--
ALTER TABLE `llx_contratdet_log`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_contrat_extrafields`
--
ALTER TABLE `llx_contrat_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_cotisation`
--
ALTER TABLE `llx_cotisation`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_cronjob`
--
ALTER TABLE `llx_cronjob`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_c_action_trigger`
--
ALTER TABLE `llx_c_action_trigger`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT pour la table `llx_c_availability`
--
ALTER TABLE `llx_c_availability`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `llx_c_barcode_type`
--
ALTER TABLE `llx_c_barcode_type`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_c_chargesociales`
--
ALTER TABLE `llx_c_chargesociales`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=231;

--
-- AUTO_INCREMENT pour la table `llx_c_departements`
--
ALTER TABLE `llx_c_departements`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1010;

--
-- AUTO_INCREMENT pour la table `llx_c_ecotaxe`
--
ALTER TABLE `llx_c_ecotaxe`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT pour la table `llx_c_email_templates`
--
ALTER TABLE `llx_c_email_templates`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_c_field_list`
--
ALTER TABLE `llx_c_field_list`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_c_forme_juridique`
--
ALTER TABLE `llx_c_forme_juridique`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=383;

--
-- AUTO_INCREMENT pour la table `llx_c_input_method`
--
ALTER TABLE `llx_c_input_method`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `llx_c_input_reason`
--
ALTER TABLE `llx_c_input_reason`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `llx_c_paper_format`
--
ALTER TABLE `llx_c_paper_format`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=226;

--
-- AUTO_INCREMENT pour la table `llx_c_regions`
--
ALTER TABLE `llx_c_regions`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23210;

--
-- AUTO_INCREMENT pour la table `llx_c_revenuestamp`
--
ALTER TABLE `llx_c_revenuestamp`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102;

--
-- AUTO_INCREMENT pour la table `llx_c_shipment_mode`
--
ALTER TABLE `llx_c_shipment_mode`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `llx_c_tva`
--
ALTER TABLE `llx_c_tva`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2469;

--
-- AUTO_INCREMENT pour la table `llx_c_type_fees`
--
ALTER TABLE `llx_c_type_fees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `llx_c_type_resource`
--
ALTER TABLE `llx_c_type_resource`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_c_ziptown`
--
ALTER TABLE `llx_c_ziptown`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_deplacement`
--
ALTER TABLE `llx_deplacement`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_document_model`
--
ALTER TABLE `llx_document_model`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `llx_domain`
--
ALTER TABLE `llx_domain`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_don`
--
ALTER TABLE `llx_don`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_ecm_directories`
--
ALTER TABLE `llx_ecm_directories`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_element_contact`
--
ALTER TABLE `llx_element_contact`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_element_element`
--
ALTER TABLE `llx_element_element`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_element_lock`
--
ALTER TABLE `llx_element_lock`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_element_resources`
--
ALTER TABLE `llx_element_resources`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_element_tag`
--
ALTER TABLE `llx_element_tag`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_entrepot`
--
ALTER TABLE `llx_entrepot`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_events`
--
ALTER TABLE `llx_events`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_event_element`
--
ALTER TABLE `llx_event_element`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_expedition`
--
ALTER TABLE `llx_expedition`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_expeditiondet`
--
ALTER TABLE `llx_expeditiondet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_expeditiondet_batch`
--
ALTER TABLE `llx_expeditiondet_batch`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_export_compta`
--
ALTER TABLE `llx_export_compta`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_export_model`
--
ALTER TABLE `llx_export_model`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_extrafields`
--
ALTER TABLE `llx_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture`
--
ALTER TABLE `llx_facture`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=658;

--
-- AUTO_INCREMENT pour la table `llx_facturedet`
--
ALTER TABLE `llx_facturedet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1739;

--
-- AUTO_INCREMENT pour la table `llx_facturedet_extrafields`
--
ALTER TABLE `llx_facturedet_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facturedet_rec`
--
ALTER TABLE `llx_facturedet_rec`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture_extrafields`
--
ALTER TABLE `llx_facture_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture_fourn`
--
ALTER TABLE `llx_facture_fourn`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture_fourn_det`
--
ALTER TABLE `llx_facture_fourn_det`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture_fourn_extrafields`
--
ALTER TABLE `llx_facture_fourn_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_facture_rec`
--
ALTER TABLE `llx_facture_rec`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `llx_fichinter`
--
ALTER TABLE `llx_fichinter`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_fichinterdet`
--
ALTER TABLE `llx_fichinterdet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_fichinter_extrafields`
--
ALTER TABLE `llx_fichinter_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_holiday`
--
ALTER TABLE `llx_holiday`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_holiday_config`
--
ALTER TABLE `llx_holiday_config`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `llx_holiday_events`
--
ALTER TABLE `llx_holiday_events`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_holiday_logs`
--
ALTER TABLE `llx_holiday_logs`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_import_model`
--
ALTER TABLE `llx_import_model`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_links`
--
ALTER TABLE `llx_links`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_livraison`
--
ALTER TABLE `llx_livraison`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_livraisondet`
--
ALTER TABLE `llx_livraisondet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_localtax`
--
ALTER TABLE `llx_localtax`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_mailing`
--
ALTER TABLE `llx_mailing`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_mailing_cibles`
--
ALTER TABLE `llx_mailing_cibles`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_menu`
--
ALTER TABLE `llx_menu`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT pour la table `llx_notify`
--
ALTER TABLE `llx_notify`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_notify_def`
--
ALTER TABLE `llx_notify_def`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_opensurvey_comments`
--
ALTER TABLE `llx_opensurvey_comments`
  MODIFY `id_comment` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_opensurvey_user_studs`
--
ALTER TABLE `llx_opensurvey_user_studs`
  MODIFY `id_users` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_paiement`
--
ALTER TABLE `llx_paiement`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=376;

--
-- AUTO_INCREMENT pour la table `llx_paiementcharge`
--
ALTER TABLE `llx_paiementcharge`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_paiementfourn`
--
ALTER TABLE `llx_paiementfourn`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_paiementfourn_facturefourn`
--
ALTER TABLE `llx_paiementfourn_facturefourn`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_paiement_facture`
--
ALTER TABLE `llx_paiement_facture`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=569;

--
-- AUTO_INCREMENT pour la table `llx_payment_salary`
--
ALTER TABLE `llx_payment_salary`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_prelevement_bons`
--
ALTER TABLE `llx_prelevement_bons`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_prelevement_facture`
--
ALTER TABLE `llx_prelevement_facture`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_prelevement_facture_demande`
--
ALTER TABLE `llx_prelevement_facture_demande`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_prelevement_lignes`
--
ALTER TABLE `llx_prelevement_lignes`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_prelevement_rejet`
--
ALTER TABLE `llx_prelevement_rejet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_printer_ipp`
--
ALTER TABLE `llx_printer_ipp`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product`
--
ALTER TABLE `llx_product`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `llx_product_association`
--
ALTER TABLE `llx_product_association`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_batch`
--
ALTER TABLE `llx_product_batch`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_customer_price`
--
ALTER TABLE `llx_product_customer_price`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_customer_price_log`
--
ALTER TABLE `llx_product_customer_price_log`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_extrafields`
--
ALTER TABLE `llx_product_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_fournisseur_price`
--
ALTER TABLE `llx_product_fournisseur_price`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `llx_product_fournisseur_price_log`
--
ALTER TABLE `llx_product_fournisseur_price_log`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_lang`
--
ALTER TABLE `llx_product_lang`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_price`
--
ALTER TABLE `llx_product_price`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `llx_product_price_by_qty`
--
ALTER TABLE `llx_product_price_by_qty`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_product_stock`
--
ALTER TABLE `llx_product_stock`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_projet`
--
ALTER TABLE `llx_projet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_projet_extrafields`
--
ALTER TABLE `llx_projet_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_projet_task`
--
ALTER TABLE `llx_projet_task`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_projet_task_extrafields`
--
ALTER TABLE `llx_projet_task_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_projet_task_time`
--
ALTER TABLE `llx_projet_task_time`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_propal`
--
ALTER TABLE `llx_propal`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT pour la table `llx_propaldet`
--
ALTER TABLE `llx_propaldet`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- AUTO_INCREMENT pour la table `llx_propaldet_extrafields`
--
ALTER TABLE `llx_propaldet_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_propal_extrafields`
--
ALTER TABLE `llx_propal_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_resource`
--
ALTER TABLE `llx_resource`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe`
--
ALTER TABLE `llx_societe`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;

--
-- AUTO_INCREMENT pour la table `llx_societe_address`
--
ALTER TABLE `llx_societe_address`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_commerciaux`
--
ALTER TABLE `llx_societe_commerciaux`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=105;

--
-- AUTO_INCREMENT pour la table `llx_societe_extrafields`
--
ALTER TABLE `llx_societe_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_log`
--
ALTER TABLE `llx_societe_log`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_prices`
--
ALTER TABLE `llx_societe_prices`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_remise`
--
ALTER TABLE `llx_societe_remise`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_remise_except`
--
ALTER TABLE `llx_societe_remise_except`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_societe_rib`
--
ALTER TABLE `llx_societe_rib`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_socpeople`
--
ALTER TABLE `llx_socpeople`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `llx_socpeople_extrafields`
--
ALTER TABLE `llx_socpeople_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_stock_mouvement`
--
ALTER TABLE `llx_stock_mouvement`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_texts`
--
ALTER TABLE `llx_texts`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_tva`
--
ALTER TABLE `llx_tva`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_user`
--
ALTER TABLE `llx_user`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `llx_usergroup`
--
ALTER TABLE `llx_usergroup`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_usergroup_rights`
--
ALTER TABLE `llx_usergroup_rights`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_usergroup_user`
--
ALTER TABLE `llx_usergroup_user`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_user_alert`
--
ALTER TABLE `llx_user_alert`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_user_extrafields`
--
ALTER TABLE `llx_user_extrafields`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `llx_user_rights`
--
ALTER TABLE `llx_user_rights`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1020;

--
-- Contraintes pour les tables déchargées
--

--
-- Contraintes pour la table `llx_accountingaccount`
--
ALTER TABLE `llx_accountingaccount`
  ADD CONSTRAINT `fk_accountingaccount_fk_pcg_version` FOREIGN KEY (`fk_pcg_version`) REFERENCES `llx_accounting_system` (`pcg_version`);

--
-- Contraintes pour la table `llx_adherent`
--
ALTER TABLE `llx_adherent`
  ADD CONSTRAINT `adherent_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_adherent_adherent_type` FOREIGN KEY (`fk_adherent_type`) REFERENCES `llx_adherent_type` (`rowid`);

--
-- Contraintes pour la table `llx_boxes`
--
ALTER TABLE `llx_boxes`
  ADD CONSTRAINT `fk_boxes_box_id` FOREIGN KEY (`box_id`) REFERENCES `llx_boxes_def` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_contact`
--
ALTER TABLE `llx_categorie_contact`
  ADD CONSTRAINT `fk_categorie_contact_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  ADD CONSTRAINT `fk_categorie_contact_fk_socpeople` FOREIGN KEY (`fk_socpeople`) REFERENCES `llx_socpeople` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_fournisseur`
--
ALTER TABLE `llx_categorie_fournisseur`
  ADD CONSTRAINT `fk_categorie_fournisseur_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  ADD CONSTRAINT `fk_categorie_fournisseur_fk_soc` FOREIGN KEY (`fk_societe`) REFERENCES `llx_societe` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_lang`
--
ALTER TABLE `llx_categorie_lang`
  ADD CONSTRAINT `fk_category_lang_fk_category` FOREIGN KEY (`fk_category`) REFERENCES `llx_categorie` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_member`
--
ALTER TABLE `llx_categorie_member`
  ADD CONSTRAINT `fk_categorie_member_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  ADD CONSTRAINT `fk_categorie_member_member_rowid` FOREIGN KEY (`fk_member`) REFERENCES `llx_adherent` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_product`
--
ALTER TABLE `llx_categorie_product`
  ADD CONSTRAINT `fk_categorie_product_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  ADD CONSTRAINT `fk_categorie_product_product_rowid` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`);

--
-- Contraintes pour la table `llx_categorie_societe`
--
ALTER TABLE `llx_categorie_societe`
  ADD CONSTRAINT `fk_categorie_societe_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  ADD CONSTRAINT `fk_categorie_societe_fk_soc` FOREIGN KEY (`fk_societe`) REFERENCES `llx_societe` (`rowid`);

--
-- Contraintes pour la table `llx_commande`
--
ALTER TABLE `llx_commande`
  ADD CONSTRAINT `fk_commande_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_commande_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_commande_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_commande_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_commandedet`
--
ALTER TABLE `llx_commandedet`
  ADD CONSTRAINT `fk_commandedet_fk_commande` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`);

--
-- Contraintes pour la table `llx_commande_fournisseur`
--
ALTER TABLE `llx_commande_fournisseur`
  ADD CONSTRAINT `fk_commande_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`);

--
-- Contraintes pour la table `llx_contrat`
--
ALTER TABLE `llx_contrat`
  ADD CONSTRAINT `fk_contrat_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_contrat_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_contratdet`
--
ALTER TABLE `llx_contratdet`
  ADD CONSTRAINT `fk_contratdet_fk_contrat` FOREIGN KEY (`fk_contrat`) REFERENCES `llx_contrat` (`rowid`),
  ADD CONSTRAINT `fk_contratdet_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`);

--
-- Contraintes pour la table `llx_contratdet_log`
--
ALTER TABLE `llx_contratdet_log`
  ADD CONSTRAINT `fk_contratdet_log_fk_contratdet` FOREIGN KEY (`fk_contratdet`) REFERENCES `llx_contratdet` (`rowid`);

--
-- Contraintes pour la table `llx_c_regions`
--
ALTER TABLE `llx_c_regions`
  ADD CONSTRAINT `fk_c_regions_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_pays` (`rowid`);

--
-- Contraintes pour la table `llx_c_ziptown`
--
ALTER TABLE `llx_c_ziptown`
  ADD CONSTRAINT `fk_c_ziptown_fk_county` FOREIGN KEY (`fk_county`) REFERENCES `llx_c_departements` (`rowid`),
  ADD CONSTRAINT `fk_c_ziptown_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_pays` (`rowid`);

--
-- Contraintes pour la table `llx_ecm_directories`
--
ALTER TABLE `llx_ecm_directories`
  ADD CONSTRAINT `fk_ecm_directories_fk_user_c` FOREIGN KEY (`fk_user_c`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_ecm_directories_fk_user_m` FOREIGN KEY (`fk_user_m`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_element_contact`
--
ALTER TABLE `llx_element_contact`
  ADD CONSTRAINT `fk_element_contact_fk_c_type_contact` FOREIGN KEY (`fk_c_type_contact`) REFERENCES `llx_c_type_contact` (`rowid`);

--
-- Contraintes pour la table `llx_expedition`
--
ALTER TABLE `llx_expedition`
  ADD CONSTRAINT `fk_expedition_fk_shipping_method` FOREIGN KEY (`fk_shipping_method`) REFERENCES `llx_c_shipment_mode` (`rowid`),
  ADD CONSTRAINT `fk_expedition_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_expedition_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_expedition_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_expeditiondet`
--
ALTER TABLE `llx_expeditiondet`
  ADD CONSTRAINT `fk_expeditiondet_fk_expedition` FOREIGN KEY (`fk_expedition`) REFERENCES `llx_expedition` (`rowid`);

--
-- Contraintes pour la table `llx_expeditiondet_batch`
--
ALTER TABLE `llx_expeditiondet_batch`
  ADD CONSTRAINT `fk_expeditiondet_batch_fk_expeditiondet` FOREIGN KEY (`fk_expeditiondet`) REFERENCES `llx_expeditiondet` (`rowid`);

--
-- Contraintes pour la table `llx_facture`
--
ALTER TABLE `llx_facture`
  ADD CONSTRAINT `fk_facture_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  ADD CONSTRAINT `fk_facture_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_facture_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_facture_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_facture_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_facturedet`
--
ALTER TABLE `llx_facturedet`
  ADD CONSTRAINT `fk_facturedet_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`);

--
-- Contraintes pour la table `llx_facture_fourn`
--
ALTER TABLE `llx_facture_fourn`
  ADD CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_facture_fourn_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_facture_fourn_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_facture_fourn_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_facture_fourn_det`
--
ALTER TABLE `llx_facture_fourn_det`
  ADD CONSTRAINT `fk_facture_fourn_det_fk_facture` FOREIGN KEY (`fk_facture_fourn`) REFERENCES `llx_facture_fourn` (`rowid`);

--
-- Contraintes pour la table `llx_facture_rec`
--
ALTER TABLE `llx_facture_rec`
  ADD CONSTRAINT `fk_facture_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_facture_rec_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_facture_rec_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_fichinter`
--
ALTER TABLE `llx_fichinter`
  ADD CONSTRAINT `fk_fichinter_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`);

--
-- Contraintes pour la table `llx_fichinterdet`
--
ALTER TABLE `llx_fichinterdet`
  ADD CONSTRAINT `fk_fichinterdet_fk_fichinter` FOREIGN KEY (`fk_fichinter`) REFERENCES `llx_fichinter` (`rowid`);

--
-- Contraintes pour la table `llx_livraison`
--
ALTER TABLE `llx_livraison`
  ADD CONSTRAINT `fk_livraison_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_livraison_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_livraison_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_livraisondet`
--
ALTER TABLE `llx_livraisondet`
  ADD CONSTRAINT `fk_livraisondet_fk_livraison` FOREIGN KEY (`fk_livraison`) REFERENCES `llx_livraison` (`rowid`);

--
-- Contraintes pour la table `llx_paiement_facture`
--
ALTER TABLE `llx_paiement_facture`
  ADD CONSTRAINT `fk_paiement_facture_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  ADD CONSTRAINT `fk_paiement_facture_fk_paiement` FOREIGN KEY (`fk_paiement`) REFERENCES `llx_paiement` (`rowid`);

--
-- Contraintes pour la table `llx_prelevement_facture`
--
ALTER TABLE `llx_prelevement_facture`
  ADD CONSTRAINT `fk_prelevement_facture_fk_prelevement_lignes` FOREIGN KEY (`fk_prelevement_lignes`) REFERENCES `llx_prelevement_lignes` (`rowid`);

--
-- Contraintes pour la table `llx_prelevement_lignes`
--
ALTER TABLE `llx_prelevement_lignes`
  ADD CONSTRAINT `fk_prelevement_lignes_fk_prelevement_bons` FOREIGN KEY (`fk_prelevement_bons`) REFERENCES `llx_prelevement_bons` (`rowid`);

--
-- Contraintes pour la table `llx_product_batch`
--
ALTER TABLE `llx_product_batch`
  ADD CONSTRAINT `fk_product_batch_fk_product_stock` FOREIGN KEY (`fk_product_stock`) REFERENCES `llx_product_stock` (`rowid`);

--
-- Contraintes pour la table `llx_product_customer_price`
--
ALTER TABLE `llx_product_customer_price`
  ADD CONSTRAINT `fk_customer_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  ADD CONSTRAINT `fk_customer_price_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_product_customer_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  ADD CONSTRAINT `fk_product_customer_price_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_product_customer_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_product_fournisseur_price`
--
ALTER TABLE `llx_product_fournisseur_price`
  ADD CONSTRAINT `fk_product_fournisseur_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  ADD CONSTRAINT `fk_product_fournisseur_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_product_lang`
--
ALTER TABLE `llx_product_lang`
  ADD CONSTRAINT `fk_product_lang_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`);

--
-- Contraintes pour la table `llx_product_price_by_qty`
--
ALTER TABLE `llx_product_price_by_qty`
  ADD CONSTRAINT `fk_product_price_by_qty_fk_product_price` FOREIGN KEY (`fk_product_price`) REFERENCES `llx_product_price` (`rowid`);

--
-- Contraintes pour la table `llx_projet`
--
ALTER TABLE `llx_projet`
  ADD CONSTRAINT `fk_projet_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`);

--
-- Contraintes pour la table `llx_projet_task`
--
ALTER TABLE `llx_projet_task`
  ADD CONSTRAINT `fk_projet_task_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_projet_task_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_projet_task_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_propal`
--
ALTER TABLE `llx_propal`
  ADD CONSTRAINT `fk_propal_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  ADD CONSTRAINT `fk_propal_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_propal_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_propal_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_propal_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_propaldet`
--
ALTER TABLE `llx_propaldet`
  ADD CONSTRAINT `fk_propaldet_fk_propal` FOREIGN KEY (`fk_propal`) REFERENCES `llx_propal` (`rowid`);

--
-- Contraintes pour la table `llx_societe_remise_except`
--
ALTER TABLE `llx_societe_remise_except`
  ADD CONSTRAINT `fk_societe_remise_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  ADD CONSTRAINT `fk_societe_remise_fk_facture_line` FOREIGN KEY (`fk_facture_line`) REFERENCES `llx_facturedet` (`rowid`),
  ADD CONSTRAINT `fk_societe_remise_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  ADD CONSTRAINT `fk_societe_remise_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_societe_remise_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_socpeople`
--
ALTER TABLE `llx_socpeople`
  ADD CONSTRAINT `fk_socpeople_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  ADD CONSTRAINT `fk_socpeople_user_creat_user_rowid` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`);

--
-- Contraintes pour la table `llx_usergroup_rights`
--
ALTER TABLE `llx_usergroup_rights`
  ADD CONSTRAINT `fk_usergroup_rights_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`);

--
-- Contraintes pour la table `llx_usergroup_user`
--
ALTER TABLE `llx_usergroup_user`
  ADD CONSTRAINT `fk_usergroup_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`),
  ADD CONSTRAINT `fk_usergroup_user_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`);

--
-- Contraintes pour la table `llx_user_rights`
--
ALTER TABLE `llx_user_rights`
  ADD CONSTRAINT `fk_user_rights_fk_user_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`);
COMMIT;

