-- Table structure for table `llx_c_ecotaxe`
--

CREATE TABLE `llx_c_ecotaxe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `organization` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_pays` int(11) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_ecotaxe` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_ecotaxe`
--

INSERT INTO `llx_c_ecotaxe` (`rowid`, `code`, `label`, `price`, `organization`, `fk_pays`, `active`) VALUES (1,'25040','PETIT APPAREILS MENAGERS',0.25000000,'Eco-systèmes',1,1),(2,'25050','TRES PETIT APPAREILS MENAGERS',0.08000000,'Eco-systèmes',1,1),(3,'32070','ECRAN POIDS < 5 KG',2.08000000,'Eco-systèmes',1,1),(4,'32080','ECRAN POIDS > 5 KG',1.25000000,'Eco-systèmes',1,1),(5,'32051','ORDINATEUR PORTABLE',0.42000000,'Eco-systèmes',1,1),(6,'32061','TABLETTE INFORMATIQUE',0.84000000,'Eco-systèmes',1,1),(7,'36011','ORDINATEUR FIXE (UC)',1.15000000,'Eco-systèmes',1,1),(8,'36021','IMPRIMANTES',0.83000000,'Eco-systèmes',1,1),(9,'36030','IT (INFORMATIQUE ET TELECOMS)',0.83000000,'Eco-systèmes',1,1),(10,'36040','PETIT IT (CLAVIERS / SOURIS)',0.08000000,'Eco-systèmes',1,1),(11,'36050','TELEPHONIE MOBILE',0.02000000,'Eco-systèmes',1,1),(12,'36060','CONNECTIQUE CABLES',0.02000000,'Eco-systèmes',1,1),(13,'45010','GROS MATERIEL GRAND PUBLIC (TELEAGRANDISSEURS)',1.67000000,'Eco-systèmes',1,1),(14,'45020','MOYEN MATERIEL GRAND PUBLIC (LOUPES ELECTRONIQUES)',0.42000000,'Eco-systèmes',1,1),(15,'45030','PETIT MATERIEL GRAND PUBLIC (VIE QUOTIDIENNE)',0.08000000,'Eco-systèmes',1,1),(16,'75030','JOUETS < 0,5 KG',0.08000000,'Eco-systèmes',1,1),(17,'75040','JOUETS ENTRE 0,5 KG ET 10 KG',0.17000000,'Eco-systèmes',1,1),(18,'74050','JOUETS > 10 KG',1.67000000,'Eco-systèmes',1,1),(19,'85010','EQUIPEMENT MEDICAL < 0,5 KG',0.08000000,'Eco-systèmes',1,1);

--
-- Table structure for table `llx_c_effectif`
--

CREATE TABLE `llx_c_effectif` (
  `id` int(11) NOT NULL,
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_effectif` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_effectif`
--

INSERT INTO `llx_c_effectif` (`id`, `code`, `libelle`, `active`, `module`) VALUES (0,'EF0','-',1,NULL),(1,'EF1-5','1 - 5',1,NULL),(2,'EF6-10','6 - 10',1,NULL),(3,'EF11-50','11 - 50',1,NULL),(4,'EF51-100','51 - 100',1,NULL),(5,'EF100-500','100 - 500',1,NULL),(6,'EF500-','> 500',1,NULL);

--
-- Table structure for table `llx_c_email_senderprofile`
--

CREATE TABLE `llx_c_email_senderprofile` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `private` smallint(6) NOT NULL DEFAULT '0',
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `signature` text COLLATE utf8_unicode_ci,
  `position` smallint(6) DEFAULT '0',
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_senderprofile` (`entity`,`label`,`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_email_senderprofile`
--


--
-- Table structure for table `llx_c_email_templates`
--

CREATE TABLE `llx_c_email_templates` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type_template` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lang` varchar(6) COLLATE utf8_unicode_ci DEFAULT '',
  `private` smallint(6) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(180) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` smallint(6) DEFAULT NULL,
  `enabled` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1',
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `topic` text COLLATE utf8_unicode_ci,
  `joinfiles` text COLLATE utf8_unicode_ci,
  `content` mediumtext COLLATE utf8_unicode_ci,
  `content_lines` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_templates` (`entity`,`label`,`lang`),
  KEY `idx_type` (`type_template`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_email_templates`
--

INSERT INTO `llx_c_email_templates` (`rowid`, `entity`, `module`, `type_template`, `lang`, `private`, `fk_user`, `datec`, `tms`, `label`, `position`, `enabled`, `active`, `topic`, `joinfiles`, `content`, `content_lines`) VALUES (1,1,'banque','thirdparty',NULL,0,NULL,NULL,'2019-05-24 16:10:14','(YourSEPAMandate)',1,'1',1,'__(YourSEPAMandate)__',NULL,'__(Hello)__,&nbsp;<br />\r\n<br />\r\n__(FindYourSEPAMandate)__ :<br />\r\n__MYCOMPANY_NAME__<br />\r\n__MYCOMPANY_FULLADDRESS__<br />\r\n<br />\r\n__(Sincerely)__<br />\r\n__USER_SIGNATURE__',NULL),(2,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingEmailOnAutoSubscription)',10,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipRequestWasReceived)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipRequestWasReceived)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(3,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingEmailOnMemberValidation)',20,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasValidated)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipWasValidated)__<br>__INFOS__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(4,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingEmailOnNewSubscription)',30,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourSubscriptionWasRecorded)__','1','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourSubscriptionWasRecorded)__<br>\n\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(5,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingReminderForExpiredSubscription)',40,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(SubscriptionReminderEmail)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfSubscriptionReminderEmail)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(6,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingEmailOnCancelation)',50,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasCanceled)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(YourMembershipWasCanceled)__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(7,0,'adherent','member','',0,NULL,NULL,'2019-01-14 14:20:46','(SendingAnEMailToMember)',60,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(CardContent)__','0','__(Hello)__,<br><br>\n\n__(ThisIsContentOfYourCard)__<br>\n__(ID)__ : __ID__<br>\n__(Civiliyty)__ : __MEMBER_CIVILITY__<br>\n__(Firstname)__ : __MEMBER_FIRSTNAME__<br>\n__(Lastname)__ : __MEMBER_LASTNAME__<br>\n__(Fullname)__ : __MEMBER_FULLNAME__<br>\n__(Company)__ : __MEMBER_COMPANY__<br>\n__(Address)__ : __MEMBER_ADDRESS__<br>\n__(Zip)__ : __MEMBER_ZIP__<br>\n__(Town)__ : __MEMBER_TOWN__<br>\n__(Country)__ : __MEMBER_COUNTRY__<br>\n__(Email)__ : __MEMBER_EMAIL__<br>\n__(Birthday)__ : __MEMBER_BIRTH__<br>\n__(Photo)__ : __MEMBER_PHOTO__<br>\n__(Login)__ : __MEMBER_LOGIN__<br>\n__(Password)__ : __MEMBER_PASSWORD__<br>\n__(Phone)__ : __MEMBER_PHONE__<br>\n__(PhonePerso)__ : __MEMBER_PHONEPRO__<br>\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(8,1,NULL,'propal_send',NULL,0,NULL,NULL,'2019-05-24 16:14:25','PR',1,'1',1,'__REF__','1','Bonjour,<br />\r\n<br />\r\nVous trouverez ci-jointe, la proposition commerciale &nbsp;__REF__&nbsp;<br />\r\n<br />\r\nCordialement.<br />\r\n<br />\r\n<u><em><strong>MT-SOLUTIONS</strong></em></u><br />\r\n<strong><em>Paris - Conakry - Barcelone<br />\r\n00244 623 64 64 55</em></strong><br />\r\n&nbsp;',NULL),(9,1,NULL,'facture_send','',0,NULL,NULL,'2019-05-24 16:15:44','FA',1,'1',1,'__REF__ ','1','Bonjour,<br />\r\n<br />\r\nVous trouverez ci-jointe, la facture &nbsp;__REF__&nbsp;<br />\r\n<br />\r\nCordialement.<br />\r\n<br />\r\n<u><em><strong>MT-SOLUTIONS</strong></em></u><br />\r\n<strong><em>Paris - Conakry - Barcelone<br />\r\n00244 623 64 64 55</em></strong><br />\r\n&nbsp;',NULL);

--
-- Table structure for table `llx_c_exp_tax_cat`
--

CREATE TABLE `llx_c_exp_tax_cat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(48) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `active` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_exp_tax_cat`
--

INSERT INTO `llx_c_exp_tax_cat` (`rowid`, `label`, `entity`, `active`) VALUES (1,'ExpAutoCat',1,0),(2,'ExpCycloCat',1,0),(3,'ExpMotoCat',1,0),(4,'ExpAuto3CV',1,1),(5,'ExpAuto4CV',1,1),(6,'ExpAuto5CV',1,1),(7,'ExpAuto6CV',1,1),(8,'ExpAuto7CV',1,1),(9,'ExpAuto8CV',1,1),(10,'ExpAuto9CV',1,0),(11,'ExpAuto10CV',1,0),(12,'ExpAuto11CV',1,0),(13,'ExpAuto12CV',1,0),(14,'ExpAuto3PCV',1,0),(15,'ExpAuto4PCV',1,0),(16,'ExpAuto5PCV',1,0),(17,'ExpAuto6PCV',1,0),(18,'ExpAuto7PCV',1,0),(19,'ExpAuto8PCV',1,0),(20,'ExpAuto9PCV',1,0),(21,'ExpAuto10PCV',1,0),(22,'ExpAuto11PCV',1,0),(23,'ExpAuto12PCV',1,0),(24,'ExpAuto13PCV',1,0),(25,'ExpCyclo',1,0),(26,'ExpMoto12CV',1,0),(27,'ExpMoto345CV',1,0),(28,'ExpMoto5PCV',1,0);

--
-- Table structure for table `llx_c_exp_tax_range`
--

CREATE TABLE `llx_c_exp_tax_range` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_c_exp_tax_cat` int(11) NOT NULL DEFAULT '1',
  `range_ik` double NOT NULL DEFAULT '0',
  `entity` int(11) NOT NULL DEFAULT '1',
  `active` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_exp_tax_range`
--

INSERT INTO `llx_c_exp_tax_range` (`rowid`, `fk_c_exp_tax_cat`, `range_ik`, `entity`, `active`) VALUES (1,4,0,1,1),(2,4,5000,1,1),(3,4,20000,1,1),(4,5,0,1,1),(5,5,5000,1,1),(6,5,20000,1,1),(7,6,0,1,1),(8,6,5000,1,1),(9,6,20000,1,1),(10,7,0,1,1),(11,7,5000,1,1),(12,7,20000,1,1),(13,8,0,1,1),(14,8,5000,1,1),(15,8,20000,1,1);

--
-- Table structure for table `llx_c_field_list`
--

CREATE TABLE `llx_c_field_list` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `element` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `name` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `alias` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `title` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `align` varchar(6) COLLATE utf8_unicode_ci DEFAULT 'left',
  `sort` tinyint(4) NOT NULL DEFAULT '1',
  `search` tinyint(4) NOT NULL DEFAULT '0',
  `enabled` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1',
  `rang` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_field_list`
--


--
-- Table structure for table `llx_c_format_cards`
--

CREATE TABLE `llx_c_format_cards` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `paper_size` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `orientation` varchar(1) COLLATE utf8_unicode_ci NOT NULL,
  `metric` varchar(5) COLLATE utf8_unicode_ci NOT NULL,
  `leftmargin` double(24,8) NOT NULL,
  `topmargin` double(24,8) NOT NULL,
  `nx` int(11) NOT NULL,
  `ny` int(11) NOT NULL,
  `spacex` double(24,8) NOT NULL,
  `spacey` double(24,8) NOT NULL,
  `width` double(24,8) NOT NULL,
  `height` double(24,8) NOT NULL,
  `font_size` int(11) NOT NULL,
  `custom_x` double(24,8) NOT NULL,
  `custom_y` double(24,8) NOT NULL,
  `active` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_format_cards`
--

INSERT INTO `llx_c_format_cards` (`rowid`, `code`, `name`, `paper_size`, `orientation`, `metric`, `leftmargin`, `topmargin`, `nx`, `ny`, `spacex`, `spacey`, `width`, `height`, `font_size`, `custom_x`, `custom_y`, `active`) VALUES (1,'5160','Avery-5160, WL-875WX','letter','P','mm',5.58165000,12.70000000,3,10,3.55600000,0.00000000,65.87490000,25.40000000,7,0.00000000,0.00000000,1),(2,'5161','Avery-5161, WL-75WX','letter','P','mm',4.44500000,12.70000000,2,10,3.96800000,0.00000000,101.60000000,25.40000000,7,0.00000000,0.00000000,1),(3,'5162','Avery-5162, WL-100WX','letter','P','mm',3.87350000,22.35200000,2,7,4.95400000,0.00000000,101.60000000,33.78100000,8,0.00000000,0.00000000,1),(4,'5163','Avery-5163, WL-125WX','letter','P','mm',4.57200000,12.70000000,2,5,3.55600000,0.00000000,101.60000000,50.80000000,10,0.00000000,0.00000000,1),(5,'5164','5164 (Letter)','letter','P','in',0.14800000,0.50000000,2,3,0.20310000,0.00000000,4.00000000,3.33000000,12,0.00000000,0.00000000,0),(6,'8600','Avery-8600','letter','P','mm',7.10000000,19.00000000,3,10,9.50000000,3.10000000,66.60000000,25.40000000,7,0.00000000,0.00000000,1),(7,'99012','DYMO 99012 89*36mm','custom','L','mm',1.00000000,1.00000000,1,1,0.00000000,0.00000000,36.00000000,89.00000000,10,36.00000000,89.00000000,1),(8,'99014','DYMO 99014 101*54mm','custom','L','mm',1.00000000,1.00000000,1,1,0.00000000,0.00000000,54.00000000,101.00000000,10,54.00000000,101.00000000,1),(9,'AVERYC32010','Avery-C32010','A4','P','mm',15.00000000,13.00000000,2,5,10.00000000,0.00000000,85.00000000,54.00000000,10,0.00000000,0.00000000,1),(10,'CARD','Dolibarr Business cards','A4','P','mm',15.00000000,15.00000000,2,5,0.00000000,0.00000000,85.00000000,54.00000000,10,0.00000000,0.00000000,1),(11,'L7163','Avery-L7163','A4','P','mm',5.00000000,15.00000000,2,7,2.50000000,0.00000000,99.10000000,38.10000000,8,0.00000000,0.00000000,1);

--
-- Table structure for table `llx_c_forme_juridique`
--

CREATE TABLE `llx_c_forme_juridique` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `isvatexempted` tinyint(4) NOT NULL DEFAULT '0',
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_forme_juridique` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=238 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_forme_juridique`
--

INSERT INTO `llx_c_forme_juridique` (`rowid`, `code`, `fk_pays`, `libelle`, `isvatexempted`, `active`, `module`, `position`) VALUES (1,0,0,'-',0,1,NULL,0),(2,2301,23,'Monotributista',0,1,NULL,0),(3,2302,23,'Sociedad Civil',0,1,NULL,0),(4,2303,23,'Sociedades Comerciales',0,1,NULL,0),(5,2304,23,'Sociedades de Hecho',0,1,NULL,0),(6,2305,23,'Sociedades Irregulares',0,1,NULL,0),(7,2306,23,'Sociedad Colectiva',0,1,NULL,0),(8,2307,23,'Sociedad en Comandita Simple',0,1,NULL,0),(9,2308,23,'Sociedad de Capital e Industria',0,1,NULL,0),(10,2309,23,'Sociedad Accidental o en participación',0,1,NULL,0),(11,2310,23,'Sociedad de Responsabilidad Limitada',0,1,NULL,0),(12,2311,23,'Sociedad Anónima',0,1,NULL,0),(13,2312,23,'Sociedad Anónima con Participación Estatal Mayoritaria',0,1,NULL,0),(14,2313,23,'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)',0,1,NULL,0),(15,4100,41,'GmbH - Gesellschaft mit beschränkter Haftung',0,1,NULL,0),(16,4101,41,'GesmbH - Gesellschaft mit beschränkter Haftung',0,1,NULL,0),(17,4102,41,'AG - Aktiengesellschaft',0,1,NULL,0),(18,4103,41,'EWIV - Europäische wirtschaftliche Interessenvereinigung',0,1,NULL,0),(19,4104,41,'KEG - Kommanditerwerbsgesellschaft',0,1,NULL,0),(20,4105,41,'OEG - Offene Erwerbsgesellschaft',0,1,NULL,0),(21,4106,41,'OHG - Offene Handelsgesellschaft',0,1,NULL,0),(22,4107,41,'AG & Co KG - Kommanditgesellschaft',0,1,NULL,0),(23,4108,41,'GmbH & Co KG - Kommanditgesellschaft',0,1,NULL,0),(24,4109,41,'KG - Kommanditgesellschaft',0,1,NULL,0),(25,4110,41,'OG - Offene Gesellschaft',0,1,NULL,0),(26,4111,41,'GbR - Gesellschaft nach bürgerlichem Recht',0,1,NULL,0),(27,4112,41,'GesbR - Gesellschaft nach bürgerlichem Recht',0,1,NULL,0),(28,4113,41,'GesnbR - Gesellschaft nach bürgerlichem Recht',0,1,NULL,0),(29,4114,41,'e.U. - eingetragener Einzelunternehmer',0,1,NULL,0),(30,11,1,'Artisan Commerçant (EI)',0,1,NULL,0),(31,12,1,'Commerçant (EI)',0,1,NULL,0),(32,13,1,'Artisan (EI)',0,1,NULL,0),(33,14,1,'Officier public ou ministériel',0,1,NULL,0),(34,15,1,'Profession libérale (EI)',0,1,NULL,0),(35,16,1,'Exploitant agricole',0,1,NULL,0),(36,17,1,'Agent commercial',0,1,NULL,0),(37,18,1,'Associé Gérant de société',0,1,NULL,0),(38,19,1,'Personne physique',0,1,NULL,0),(39,21,1,'Indivision',0,1,NULL,0),(40,22,1,'Société créée de fait',0,1,NULL,0),(41,23,1,'Société en participation',0,1,NULL,0),(42,27,1,'Paroisse hors zone concordataire',0,1,NULL,0),(43,29,1,'Groupement de droit privé non doté de la personnalité morale',0,1,NULL,0),(44,31,1,'Personne morale de droit étranger, immatriculée au RCS',0,1,NULL,0),(45,32,1,'Personne morale de droit étranger, non immatriculée au RCS',0,1,NULL,0),(46,35,1,'Régime auto-entrepreneur',0,1,NULL,0),(47,41,1,'Etablissement public ou régie à caractère industriel ou commercial',0,1,NULL,0),(48,51,1,'Société coopérative commerciale particulière',0,1,NULL,0),(49,52,1,'Société en nom collectif',0,1,NULL,0),(50,53,1,'Société en commandite',0,1,NULL,0),(51,54,1,'Société à responsabilité limitée (SARL)',0,1,NULL,0),(52,55,1,'Société anonyme à conseil d administration',0,1,NULL,0),(53,56,1,'Société anonyme à directoire',0,1,NULL,0),(54,57,1,'Société par actions simplifiée (SAS)',0,1,NULL,0),(55,58,1,'Entreprise Unipersonnelle à Responsabilité Limitée (EURL)',0,1,NULL,0),(56,59,1,'Société par actions simplifiée unipersonnelle (SASU)',0,1,NULL,0),(57,60,1,'Entreprise Individuelle à Responsabilité Limitée (EIRL)',0,1,NULL,0),(58,61,1,'Caisse d\'épargne et de prévoyance',0,1,NULL,0),(59,62,1,'Groupement d\'intérêt économique (GIE)',0,1,NULL,0),(60,63,1,'Société coopérative agricole',0,1,NULL,0),(61,64,1,'Société non commerciale d assurances',0,1,NULL,0),(62,65,1,'Société civile',0,1,NULL,0),(63,69,1,'Personnes de droit privé inscrites au RCS',0,1,NULL,0),(64,71,1,'Administration de l état',0,1,NULL,0),(65,72,1,'Collectivité territoriale',0,1,NULL,0),(66,73,1,'Etablissement public administratif',0,1,NULL,0),(67,74,1,'Personne morale de droit public administratif',0,1,NULL,0),(68,81,1,'Organisme gérant régime de protection social à adhésion obligatoire',0,1,NULL,0),(69,82,1,'Organisme mutualiste',0,1,NULL,0),(70,83,1,'Comité d entreprise',0,1,NULL,0),(71,84,1,'Organisme professionnel',0,1,NULL,0),(72,85,1,'Organisme de retraite à adhésion non obligatoire',0,1,NULL,0),(73,91,1,'Syndicat de propriétaires',0,1,NULL,0),(74,92,1,'Association loi 1901 ou assimilé',0,1,NULL,0),(75,93,1,'Fondation',0,1,NULL,0),(76,99,1,'Personne morale de droit privé',0,1,NULL,0),(77,200,2,'Indépendant',0,1,NULL,0),(78,201,2,'SPRL - Société à responsabilité limitée',0,1,NULL,0),(79,202,2,'SA   - Société Anonyme',0,1,NULL,0),(80,203,2,'SCRL - Société coopérative à responsabilité limitée',0,1,NULL,0),(81,204,2,'ASBL - Association sans but Lucratif',0,1,NULL,0),(82,205,2,'SCRI - Société coopérative à responsabilité illimitée',0,1,NULL,0),(83,206,2,'SCS  - Société en commandite simple',0,1,NULL,0),(84,207,2,'SCA  - Société en commandite par action',0,1,NULL,0),(85,208,2,'SNC  - Société en nom collectif',0,1,NULL,0),(86,209,2,'GIE  - Groupement d intérêt économique',0,1,NULL,0),(87,210,2,'GEIE - Groupement européen d intérêt économique',0,1,NULL,0),(88,220,2,'Eenmanszaak',0,1,NULL,0),(89,221,2,'BVBA - Besloten vennootschap met beperkte aansprakelijkheid',0,1,NULL,0),(90,222,2,'NV   - Naamloze Vennootschap',0,1,NULL,0),(91,223,2,'CVBA - Coöperatieve vennootschap met beperkte aansprakelijkheid',0,1,NULL,0),(92,224,2,'VZW  - Vereniging zonder winstoogmerk',0,1,NULL,0),(93,225,2,'CVOA - Coöperatieve vennootschap met onbeperkte aansprakelijkheid ',0,1,NULL,0),(94,226,2,'GCV  - Gewone commanditaire vennootschap',0,1,NULL,0),(95,227,2,'Comm.VA - Commanditaire vennootschap op aandelen',0,1,NULL,0),(96,228,2,'VOF  - Vennootschap onder firma',0,1,NULL,0),(97,229,2,'VS0  - Vennootschap met sociaal oogmerk',0,1,NULL,0),(98,500,5,'GmbH - Gesellschaft mit beschränkter Haftung',0,1,NULL,0),(99,501,5,'AG - Aktiengesellschaft ',0,1,NULL,0),(100,502,5,'GmbH&Co. KG - Gesellschaft mit beschränkter Haftung & Compagnie Kommanditgesellschaft',0,1,NULL,0),(101,503,5,'Gewerbe - Personengesellschaft',0,1,NULL,0),(102,504,5,'UG - Unternehmergesellschaft -haftungsbeschränkt-',0,1,NULL,0),(103,505,5,'GbR - Gesellschaft des bürgerlichen Rechts',0,1,NULL,0),(104,506,5,'KG - Kommanditgesellschaft',0,1,NULL,0),(105,507,5,'Ltd. - Limited Company',0,1,NULL,0),(106,508,5,'OHG - Offene Handelsgesellschaft',0,1,NULL,0),(107,10201,102,'Ατομική επιχείρηση',0,1,NULL,0),(108,10202,102,'Εταιρική  επιχείρηση',0,1,NULL,0),(109,10203,102,'Ομόρρυθμη Εταιρεία Ο.Ε',0,1,NULL,0),(110,10204,102,'Ετερόρρυθμη Εταιρεία Ε.Ε',0,1,NULL,0),(111,10205,102,'Εταιρεία Περιορισμένης Ευθύνης Ε.Π.Ε',0,1,NULL,0),(112,10206,102,'Ανώνυμη Εταιρεία Α.Ε',0,1,NULL,0),(113,10207,102,'Ανώνυμη ναυτιλιακή εταιρεία Α.Ν.Ε',0,1,NULL,0),(114,10208,102,'Συνεταιρισμός',0,1,NULL,0),(115,10209,102,'Συμπλοιοκτησία',0,1,NULL,0),(116,301,3,'Società semplice',0,1,NULL,0),(117,302,3,'Società in nome collettivo s.n.c.',0,1,NULL,0),(118,303,3,'Società in accomandita semplice s.a.s.',0,1,NULL,0),(119,304,3,'Società per azioni s.p.a.',0,1,NULL,0),(120,305,3,'Società a responsabilità limitata s.r.l.',0,1,NULL,0),(121,306,3,'Società in accomandita per azioni s.a.p.a.',0,1,NULL,0),(122,307,3,'Società cooperativa a r.l.',0,1,NULL,0),(123,308,3,'Società consortile',0,1,NULL,0),(124,309,3,'Società europea',0,1,NULL,0),(125,310,3,'Società cooperativa europea',0,1,NULL,0),(126,311,3,'Società unipersonale',0,1,NULL,0),(127,312,3,'Società di professionisti',0,1,NULL,0),(128,313,3,'Società di fatto',0,1,NULL,0),(129,315,3,'Società apparente',0,1,NULL,0),(130,316,3,'Impresa individuale ',0,1,NULL,0),(131,317,3,'Impresa coniugale',0,1,NULL,0),(132,318,3,'Impresa familiare',0,1,NULL,0),(133,319,3,'Consorzio cooperativo',0,1,NULL,0),(134,320,3,'Società cooperativa sociale',0,1,NULL,0),(135,321,3,'Società cooperativa di consumo',0,1,NULL,0),(136,322,3,'Società cooperativa agricola',0,1,NULL,0),(137,323,3,'A.T.I. Associazione temporanea di imprese',0,1,NULL,0),(138,324,3,'R.T.I. Raggruppamento temporaneo di imprese',0,1,NULL,0),(139,325,3,'Studio associato',0,1,NULL,0),(140,600,6,'Raison Individuelle',0,1,NULL,0),(141,601,6,'Société Simple',0,1,NULL,0),(142,602,6,'Société en nom collectif',0,1,NULL,0),(143,603,6,'Société en commandite',0,1,NULL,0),(144,604,6,'Société anonyme (SA)',0,1,NULL,0),(145,605,6,'Société en commandite par actions',0,1,NULL,0),(146,606,6,'Société à responsabilité limitée (SARL)',0,1,NULL,0),(147,607,6,'Société coopérative',0,1,NULL,0),(148,608,6,'Association',0,1,NULL,0),(149,609,6,'Fondation',0,1,NULL,0),(150,700,7,'Sole Trader',0,1,NULL,0),(151,701,7,'Partnership',0,1,NULL,0),(152,702,7,'Private Limited Company by shares (LTD)',0,1,NULL,0),(153,703,7,'Public Limited Company',0,1,NULL,0),(154,704,7,'Workers Cooperative',0,1,NULL,0),(155,705,7,'Limited Liability Partnership',0,1,NULL,0),(156,706,7,'Franchise',0,1,NULL,0),(157,1000,10,'Société à responsabilité limitée (SARL)',0,1,NULL,0),(158,1001,10,'Société en Nom Collectif (SNC)',0,1,NULL,0),(159,1002,10,'Société en Commandite Simple (SCS)',0,1,NULL,0),(160,1003,10,'société en participation',0,1,NULL,0),(161,1004,10,'Société Anonyme (SA)',0,1,NULL,0),(162,1005,10,'Société Unipersonnelle à Responsabilité Limitée (SUARL)',0,1,NULL,0),(163,1006,10,'Groupement d\'intérêt économique (GEI)',0,1,NULL,0),(164,1007,10,'Groupe de sociétés',0,1,NULL,0),(165,1701,17,'Eenmanszaak',0,1,NULL,0),(166,1702,17,'Maatschap',0,1,NULL,0),(167,1703,17,'Vennootschap onder firma',0,1,NULL,0),(168,1704,17,'Commanditaire vennootschap',0,1,NULL,0),(169,1705,17,'Besloten vennootschap (BV)',0,1,NULL,0),(170,1706,17,'Naamloze Vennootschap (NV)',0,1,NULL,0),(171,1707,17,'Vereniging',0,1,NULL,0),(172,1708,17,'Stichting',0,1,NULL,0),(173,1709,17,'Coöperatie met beperkte aansprakelijkheid (BA)',0,1,NULL,0),(174,1710,17,'Coöperatie met uitgesloten aansprakelijkheid (UA)',0,1,NULL,0),(175,1711,17,'Coöperatie met wettelijke aansprakelijkheid (WA)',0,1,NULL,0),(176,1712,17,'Onderlinge waarborgmaatschappij',0,1,NULL,0),(177,401,4,'Empresario Individual',0,1,NULL,0),(178,402,4,'Comunidad de Bienes',0,1,NULL,0),(179,403,4,'Sociedad Civil',0,1,NULL,0),(180,404,4,'Sociedad Colectiva',0,1,NULL,0),(181,405,4,'Sociedad Limitada',0,1,NULL,0),(182,406,4,'Sociedad Anónima',0,1,NULL,0),(183,407,4,'Sociedad Comanditaria por Acciones',0,1,NULL,0),(184,408,4,'Sociedad Comanditaria Simple',0,1,NULL,0),(185,409,4,'Sociedad Laboral',0,1,NULL,0),(186,410,4,'Sociedad Cooperativa',0,1,NULL,0),(187,411,4,'Sociedad de Garantía Recíproca',0,1,NULL,0),(188,412,4,'Entidad de Capital-Riesgo',0,1,NULL,0),(189,413,4,'Agrupación de Interés Económico',0,1,NULL,0),(190,414,4,'Sociedad de Inversión Mobiliaria',0,1,NULL,0),(191,415,4,'Agrupación sin Ánimo de Lucro',0,1,NULL,0),(192,15201,152,'Mauritius Private Company Limited By Shares',0,1,NULL,0),(193,15202,152,'Mauritius Company Limited By Guarantee',0,1,NULL,0),(194,15203,152,'Mauritius Public Company Limited By Shares',0,1,NULL,0),(195,15204,152,'Mauritius Foreign Company',0,1,NULL,0),(196,15205,152,'Mauritius GBC1 (Offshore Company)',0,1,NULL,0),(197,15206,152,'Mauritius GBC2 (International Company)',0,1,NULL,0),(198,15207,152,'Mauritius General Partnership',0,1,NULL,0),(199,15208,152,'Mauritius Limited Partnership',0,1,NULL,0),(200,15209,152,'Mauritius Sole Proprietorship',0,1,NULL,0),(201,15210,152,'Mauritius Trusts',0,1,NULL,0),(202,15401,154,'Sociedad en nombre colectivo',0,1,NULL,0),(203,15402,154,'Sociedad en comandita simple',0,1,NULL,0),(204,15403,154,'Sociedad de responsabilidad limitada',0,1,NULL,0),(205,15404,154,'Sociedad anónima',0,1,NULL,0),(206,15405,154,'Sociedad en comandita por acciones',0,1,NULL,0),(207,15406,154,'Sociedad cooperativa',0,1,NULL,0),(208,14001,140,'Entreprise individuelle',0,1,NULL,0),(209,14002,140,'Société en nom collectif (SENC)',0,1,NULL,0),(210,14003,140,'Société en commandite simple (SECS)',0,1,NULL,0),(211,14004,140,'Société en commandite par actions (SECA)',0,1,NULL,0),(212,14005,140,'Société à responsabilité limitée (SARL)',0,1,NULL,0),(213,14006,140,'Société anonyme (SA)',0,1,NULL,0),(214,14007,140,'Société coopérative (SC)',0,1,NULL,0),(215,14008,140,'Société européenne (SE)',0,1,NULL,0),(216,18801,188,'AFJ - Alte forme juridice',0,1,NULL,0),(217,18802,188,'ASF - Asociatie familialã',0,1,NULL,0),(218,18803,188,'CON - Concesiune',0,1,NULL,0),(219,18804,188,'CRL - Soc civilã profesionala cu pers. juridica si rãspundere limitata (SPRL)',0,1,NULL,0),(220,18805,188,'INC - Închiriere',0,1,NULL,0),(221,18806,188,'LOC - Locaţie de gestiune',0,1,NULL,0),(222,18807,188,'OC1 - Organizaţie cooperatistã meşteşugãreascã',0,1,NULL,0),(223,18808,188,'OC2 - Organizaţie cooperatistã de consum',0,1,NULL,0),(224,18809,188,'OC3 - Organizaţie cooperatistã de credit',0,1,NULL,0),(225,18810,188,'PFA - Persoanã fizicã independentã',0,1,NULL,0),(226,18811,188,'RA - Regie autonomã',0,1,NULL,0),(227,18812,188,'SA - Societate comercialã pe acţiuni',0,1,NULL,0),(228,18813,188,'SCS - Societate comercialã în comanditã simplã',0,1,NULL,0),(229,18814,188,'SNC - Societate comercialã în nume colectiv',0,1,NULL,0),(230,18815,188,'SPI - Societate profesionala practicieni in insolventa (SPPI)',0,1,NULL,0),(231,18816,188,'SRL - Societate comercialã cu rãspundere limitatã',0,1,NULL,0),(232,18817,188,'URL - Intreprindere profesionala unipersonala cu rãspundere limitata (IPURL)',0,1,NULL,0),(233,17801,178,'Empresa individual',0,1,NULL,0),(234,17802,178,'Asociación General',0,1,NULL,0),(235,17803,178,'Sociedad de Responsabilidad Limitada',0,1,NULL,0),(236,17804,178,'Sociedad Civil',0,1,NULL,0),(237,17805,178,'Sociedad Anónima',0,1,NULL,0);

--
-- Table structure for table `llx_c_holiday_types`
--

CREATE TABLE `llx_c_holiday_types` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `affect` int(11) NOT NULL,
  `delay` int(11) NOT NULL,
  `newByMonth` double(8,5) NOT NULL DEFAULT '0.00000',
  `fk_country` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_holiday_types` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_holiday_types`
--

INSERT INTO `llx_c_holiday_types` (`rowid`, `code`, `label`, `affect`, `delay`, `newByMonth`, `fk_country`, `active`) VALUES (1,'LEAVE_SICK','Sick leave',0,0,0.00000,NULL,1),(2,'LEAVE_OTHER','Other leave',0,0,0.00000,NULL,1),(3,'LEAVE_PAID','Paid vacation',1,7,0.00000,NULL,0),(4,'LEAVE_RTT_FR','RTT',1,7,0.83000,1,1),(5,'LEAVE_PAID_FR','Paid vacation',1,30,2.08334,1,1),(6,'LEAVE_ABSENCE','ABSENCE',1,0,0.00000,108,1);

--
-- Table structure for table `llx_c_hrm_department`
--

CREATE TABLE `llx_c_hrm_department` (
  `rowid` int(11) NOT NULL,
  `pos` tinyint(4) NOT NULL DEFAULT '0',
  `code` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_hrm_department`
--

INSERT INTO `llx_c_hrm_department` (`rowid`, `pos`, `code`, `label`, `active`) VALUES (1,5,'MANAGEMENT','Management',1),(3,15,'TRAINING','Training',1),(4,20,'IT','Inform. Technology (IT)',0),(5,25,'MARKETING','Marketing',0),(6,30,'SALES','Sales',1),(7,35,'LEGAL','Legal',0),(8,40,'FINANCIAL','Financial accounting',1),(9,45,'HUMANRES','Human resources',1),(10,50,'PURCHASING','Purchasing',1),(12,60,'CUSTOMSERV','Customer service',0),(14,70,'LOGISTIC','Logistics',1),(15,75,'CONSTRUCT','Engineering/design',0),(16,80,'PRODUCTION','Production',1),(17,85,'QUALITY','Quality assurance',0);

--
-- Table structure for table `llx_c_hrm_function`
--

CREATE TABLE `llx_c_hrm_function` (
  `rowid` int(11) NOT NULL,
  `pos` tinyint(4) NOT NULL DEFAULT '0',
  `code` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `c_level` tinyint(4) NOT NULL DEFAULT '0',
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_hrm_function`
--

INSERT INTO `llx_c_hrm_function` (`rowid`, `pos`, `code`, `label`, `c_level`, `active`) VALUES (1,5,'EXECBOARD','Executive board',0,1),(2,10,'MANAGDIR','Managing director',1,1),(3,15,'ACCOUNTMANAG','Account manager',0,1),(4,20,'ENGAGDIR','Engagement director',1,1),(5,25,'DIRECTOR','Director',1,1),(6,30,'PROJMANAG','Project manager',0,1),(7,35,'DEPHEAD','Department head',0,1),(8,40,'SECRETAR','Secretary',0,1),(9,45,'EMPLOYEE','Department employee',0,1);

--
-- Table structure for table `llx_c_incoterms`
--

CREATE TABLE `llx_c_incoterms` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_incoterms` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_incoterms`
--

INSERT INTO `llx_c_incoterms` (`rowid`, `code`, `libelle`, `active`) VALUES (1,'EXW','Ex Works, au départ non chargé, non dédouané sortie d\'usine (uniquement adapté aux flux domestiques, nationaux)',1),(2,'FCA','Free Carrier, marchandises dédouanées et chargées dans le pays de départ, chez le vendeur ou chez le commissionnaire de transport de l\'acheteur',1),(3,'FAS','Free Alongside Ship, sur le quai du port de départ',1),(4,'FOB','Free On Board, chargé sur le bateau, les frais de chargement dans celui-ci étant fonction du liner term indiqué par la compagnie maritime (à la charge du vendeur)',1),(5,'CFR','Cost and Freight, chargé dans le bateau, livraison au port de départ, frais payés jusqu\'au port d\'arrivée, sans assurance pour le transport, non déchargé du navire à destination (les frais de déchargement sont inclus ou non au port d\'arrivée)',1),(6,'CIF','Cost, Insurance and Freight, chargé sur le bateau, frais jusqu\'au port d\'arrivée, avec l\'assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur',1),(7,'CPT','Carriage Paid To, livraison au premier transporteur, frais jusqu\'au déchargement du mode de transport, sans assurance pour le transport',1),(8,'CIP','Carriage and Insurance Paid to, idem CPT, avec assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur',1),(9,'DAT','Delivered At Terminal, marchandises (déchargées) livrées sur quai, dans un terminal maritime, fluvial, aérien, routier ou ferroviaire désigné (dédouanement import, et post-acheminement payés par l\'acheteur)',1),(10,'DAP','Delivered At Place, marchandises (non déchargées) mises à disposition de l\'acheteur dans le pays d\'importation au lieu précisé dans le contrat (déchargement, dédouanement import payé par l\'acheteur)',1),(11,'DDP','Delivered Duty Paid, marchandises (non déchargées) livrées à destination finale, dédouanement import et taxes à la charge du vendeur ; l\'acheteur prend en charge uniquement le déchargement (si exclusion des taxes type TVA, le préciser clairement)',1);

--
-- Table structure for table `llx_c_input_method`
--

CREATE TABLE `llx_c_input_method` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `libelle` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_input_method` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_input_method`
--

INSERT INTO `llx_c_input_method` (`rowid`, `code`, `libelle`, `active`, `module`) VALUES (1,'OrderByMail','Courrier',1,NULL),(2,'OrderByFax','Fax',1,NULL),(3,'OrderByEMail','EMail',1,NULL),(4,'OrderByPhone','Téléphone',1,NULL),(5,'OrderByWWW','En ligne',1,NULL);

--
-- Table structure for table `llx_c_input_reason`
--

CREATE TABLE `llx_c_input_reason` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_input_reason` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_input_reason`
--

INSERT INTO `llx_c_input_reason` (`rowid`, `code`, `label`, `active`, `module`) VALUES (1,'SRC_INTE','Web site',1,NULL),(2,'SRC_CAMP_MAIL','Mailing campaign',1,NULL),(3,'SRC_CAMP_PHO','Phone campaign',1,NULL),(4,'SRC_CAMP_FAX','Fax campaign',1,NULL),(5,'SRC_COMM','Commercial contact',1,NULL),(6,'SRC_SHOP','Shop contact',1,NULL),(7,'SRC_CAMP_EMAIL','EMailing campaign',1,NULL),(8,'SRC_WOM','Word of mouth',1,NULL),(9,'SRC_PARTNER','Partner',1,NULL),(10,'SRC_EMPLOYEE','Employee',1,NULL),(11,'SRC_SPONSORING','Sponsorship',1,NULL);

--
-- Table structure for table `llx_c_lead_status`
--

CREATE TABLE `llx_c_lead_status` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) DEFAULT NULL,
  `percent` double(5,2) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_lead_status_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_lead_status`
--

INSERT INTO `llx_c_lead_status` (`rowid`, `code`, `label`, `position`, `percent`, `active`) VALUES (1,'PROSP','Prospection',10,0.00,1),(2,'QUAL','Qualification',20,20.00,1),(3,'PROPO','Proposal',30,40.00,1),(4,'NEGO','Negotiation',40,60.00,1),(5,'PENDING','Pending',50,50.00,0),(6,'WON','Won',60,100.00,1),(7,'LOST','Lost',70,0.00,1);

--
-- Table structure for table `llx_c_paiement`
--

CREATE TABLE `llx_c_paiement` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `code` varchar(6) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(62) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_paiement_code` (`entity`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_paiement`
--

INSERT INTO `llx_c_paiement` (`id`, `entity`, `code`, `libelle`, `type`, `active`, `accountancy_code`, `module`, `position`) VALUES (1,1,'TIP','TIP',2,0,NULL,NULL,0),(2,1,'VIR','Transfer',2,1,NULL,NULL,0),(3,1,'PRE','Debit order',2,1,NULL,NULL,0),(4,1,'LIQ','Cash',2,1,NULL,NULL,0),(6,1,'CB','Credit card',2,1,NULL,NULL,0),(7,1,'CHQ','Cheque',2,1,NULL,NULL,0),(50,1,'VAD','Online payment',2,0,NULL,NULL,0),(51,1,'TRA','Traite',2,0,NULL,NULL,0),(52,1,'LCR','LCR',2,0,NULL,NULL,0),(53,1,'FAC','Factor',2,0,NULL,NULL,0);

--
-- Table structure for table `llx_c_paiement_temp`
--

CREATE TABLE `llx_c_paiement_temp` (
  `id` int(11) NOT NULL DEFAULT '0',
  `entity` int(11) NOT NULL DEFAULT '1',
  `code` varchar(6) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(62) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `module` varchar(32) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `llx_c_paiement_temp`
--

INSERT INTO `llx_c_paiement_temp` (`id`, `entity`, `code`, `libelle`, `type`, `active`, `accountancy_code`, `module`, `position`) VALUES (1,1,'TIP','TIP',2,0,NULL,NULL,0),(2,1,'VIR','Transfer',2,1,NULL,NULL,0),(3,1,'PRE','Debit order',2,1,NULL,NULL,0),(4,1,'LIQ','Cash',2,1,NULL,NULL,0),(6,1,'CB','Credit card',2,1,NULL,NULL,0),(7,1,'CHQ','Cheque',2,1,NULL,NULL,0),(50,1,'VAD','Online payment',2,0,NULL,NULL,0),(51,1,'TRA','Traite',2,0,NULL,NULL,0),(52,1,'LCR','LCR',2,0,NULL,NULL,0),(53,1,'FAC','Factor',2,0,NULL,NULL,0);

--
-- Table structure for table `llx_c_paper_format`
--

CREATE TABLE `llx_c_paper_format` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `width` float(6,2) DEFAULT '0.00',
  `height` float(6,2) DEFAULT '0.00',
  `unit` varchar(5) COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=226 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_paper_format`
--

INSERT INTO `llx_c_paper_format` (`rowid`, `code`, `label`, `width`, `height`, `unit`, `active`, `module`) VALUES (1,'EU4A0','Format 4A0',1682.00,2378.00,'mm',1,NULL),(2,'EU2A0','Format 2A0',1189.00,1682.00,'mm',1,NULL),(3,'EUA0','Format A0',840.00,1189.00,'mm',1,NULL),(4,'EUA1','Format A1',594.00,840.00,'mm',1,NULL),(5,'EUA2','Format A2',420.00,594.00,'mm',1,NULL),(6,'EUA3','Format A3',297.00,420.00,'mm',1,NULL),(7,'EUA4','Format A4',210.00,297.00,'mm',1,NULL),(8,'EUA5','Format A5',148.00,210.00,'mm',1,NULL),(9,'EUA6','Format A6',105.00,148.00,'mm',1,NULL),(100,'USLetter','Format Letter (A)',216.00,279.00,'mm',1,NULL),(105,'USLegal','Format Legal',216.00,356.00,'mm',1,NULL),(110,'USExecutive','Format Executive',190.00,254.00,'mm',1,NULL),(115,'USLedger','Format Ledger/Tabloid (B)',279.00,432.00,'mm',1,NULL),(200,'CAP1','Format Canadian P1',560.00,860.00,'mm',1,NULL),(205,'CAP2','Format Canadian P2',430.00,560.00,'mm',1,NULL),(210,'CAP3','Format Canadian P3',280.00,430.00,'mm',1,NULL),(215,'CAP4','Format Canadian P4',215.00,280.00,'mm',1,NULL),(220,'CAP5','Format Canadian P5',140.00,215.00,'mm',1,NULL),(225,'CAP6','Format Canadian P6',107.00,140.00,'mm',1,NULL);

--
-- Table structure for table `llx_c_payment_term`
--

CREATE TABLE `llx_c_payment_term` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `code` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `libelle_facture` text COLLATE utf8_unicode_ci,
  `type_cdr` tinyint(4) DEFAULT NULL,
  `nbjour` smallint(6) DEFAULT NULL,
  `decalage` smallint(6) DEFAULT NULL,
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_payment_term_code` (`entity`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_payment_term`
--

INSERT INTO `llx_c_payment_term` (`rowid`, `entity`, `code`, `sortorder`, `active`, `libelle`, `libelle_facture`, `type_cdr`, `nbjour`, `decalage`, `module`, `position`) VALUES (1,1,'RECEP',1,1,'Due upon receipt','Due upon receipt',0,1,NULL,NULL,0),(2,1,'30D',2,1,'30 days','Due in 30 days',0,30,NULL,NULL,0),(3,1,'30DENDMONTH',3,1,'30 days end of month','Due in 30 days, end of month',1,30,NULL,NULL,0),(4,1,'60D',4,0,'60 days','Due in 60 days, end of month',0,60,NULL,NULL,0),(6,1,'PT_ORDER',6,1,'Due on order','Due on order',0,1,NULL,NULL,0),(7,1,'PT_DELIVERY',7,1,'Due on delivery','Due on delivery',0,1,NULL,NULL,0),(8,1,'PT_5050',8,1,'50 and 50','50% on order, 50% on delivery',0,1,NULL,NULL,0),(11,1,'14D',11,1,'14 days','Due in 14 days',0,14,NULL,NULL,0),(13,1,'PT_4030 ',0,1,'40/30/20','40% à la commande\r\n30% à la livraison du matériel\r\nsolde à la réception du chantier',0,1,NULL,NULL,0),(14,1,'PT_4060',0,1,'4060','40% à la commande,\r\n60% à réception du chantier.',0,1,NULL,NULL,0),(15,1,'PT_40202020',0,0,'50/20/20/10','50% à la signature,\r\n20% à 60% de réalisation des travaux,\r\n20% à la fin des travaux,\r\n10% six mois après la remise définitive du chantier.',0,1,NULL,NULL,0),(16,1,'PT_30203020',0,1,'30/20/30/20','30% à la commande,\r\n20% à la livraison du matériel commandé,\r\n30% à la réalisation des partitions,\r\n20% à la réception du chantier.',0,1,NULL,NULL,0),(17,1,'PT_8020',0,1,'80/20','80% à la commande,\r\n20% à la réception du chantier.',0,1,NULL,NULL,0);

--
-- Table structure for table `llx_c_price_expression`
--

CREATE TABLE `llx_c_price_expression` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `expression` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_price_expression`
--


--
-- Table structure for table `llx_c_price_global_variable`
--

CREATE TABLE `llx_c_price_global_variable` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `value` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_price_global_variable`
--


--
-- Table structure for table `llx_c_price_global_variable_updater`
--

CREATE TABLE `llx_c_price_global_variable_updater` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` int(11) NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `parameters` text COLLATE utf8_unicode_ci,
  `fk_variable` int(11) NOT NULL,
  `update_interval` int(11) DEFAULT '0',
  `next_update` int(11) DEFAULT '0',
  `last_status` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_price_global_variable_updater`
--


--
-- Table structure for table `llx_c_propalst`
--

CREATE TABLE `llx_c_propalst` (
  `id` smallint(6) NOT NULL,
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_propalst` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_propalst`
--

INSERT INTO `llx_c_propalst` (`id`, `code`, `label`, `active`) VALUES (0,'PR_DRAFT','Brouillon',1),(1,'PR_OPEN','Ouverte',1),(2,'PR_SIGNED','Signée',1),(3,'PR_NOTSIGNED','Non Signée',1),(4,'PR_FAC','Facturée',1);

--
-- Table structure for table `llx_c_prospectlevel`
--

CREATE TABLE `llx_c_prospectlevel` (
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` smallint(6) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_prospectlevel`
--

INSERT INTO `llx_c_prospectlevel` (`code`, `label`, `sortorder`, `active`, `module`) VALUES ('PL_HIGH','High',4,1,NULL),('PL_LOW','Low',2,1,NULL),('PL_MEDIUM','Medium',3,1,NULL),('PL_NONE','None',1,1,NULL);

--
-- Table structure for table `llx_c_regions`
--

CREATE TABLE `llx_c_regions` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code_region` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `cheflieu` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tncc` int(11) DEFAULT NULL,
  `nom` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code_region` (`code_region`),
  KEY `idx_c_regions_fk_pays` (`fk_pays`),
  CONSTRAINT `fk_c_regions_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=229 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_regions`
--

INSERT INTO `llx_c_regions` (`rowid`, `code_region`, `fk_pays`, `cheflieu`, `tncc`, `nom`, `active`) VALUES (1,0,0,'0',0,'-',1),(2,1,1,'97105',3,'Guadeloupe',1),(3,2,1,'97209',3,'Martinique',1),(4,3,1,'97302',3,'Guyane',1),(5,4,1,'97411',3,'Réunion',1),(6,6,1,'97601',3,'Mayotte',1),(7,11,1,'75056',1,'Île-de-France',1),(8,21,1,'51108',0,'Champagne-Ardenne',1),(9,22,1,'80021',0,'Picardie',1),(10,23,1,'76540',0,'Haute-Normandie',1),(11,24,1,'45234',2,'Centre',1),(12,25,1,'14118',0,'Basse-Normandie',1),(13,26,1,'21231',0,'Bourgogne',1),(14,31,1,'59350',2,'Nord-Pas-de-Calais',1),(15,41,1,'57463',0,'Lorraine',1),(16,42,1,'67482',1,'Alsace',1),(17,43,1,'25056',0,'Franche-Comté',1),(18,52,1,'44109',4,'Pays de la Loire',1),(19,53,1,'35238',0,'Bretagne',1),(20,54,1,'86194',2,'Poitou-Charentes',1),(21,72,1,'33063',1,'Aquitaine',1),(22,73,1,'31555',0,'Midi-Pyrénées',1),(23,74,1,'87085',2,'Limousin',1),(24,82,1,'69123',2,'Rhône-Alpes',1),(25,83,1,'63113',1,'Auvergne',1),(26,91,1,'34172',2,'Languedoc-Roussillon',1),(27,93,1,'13055',0,'Provence-Alpes-Côte d\'Azur',1),(28,94,1,'2A004',0,'Corse',1),(29,4101,41,'',0,'Österreich',1),(30,201,2,'',1,'Flandre',1),(31,202,2,'',2,'Wallonie',1),(32,203,2,'',3,'Bruxelles-Capitale',1),(33,301,3,NULL,1,'Abruzzo',1),(34,302,3,NULL,1,'Basilicata',1),(35,303,3,NULL,1,'Calabria',1),(36,304,3,NULL,1,'Campania',1),(37,305,3,NULL,1,'Emilia-Romagna',1),(38,306,3,NULL,1,'Friuli-Venezia Giulia',1),(39,307,3,NULL,1,'Lazio',1),(40,308,3,NULL,1,'Liguria',1),(41,309,3,NULL,1,'Lombardia',1),(42,310,3,NULL,1,'Marche',1),(43,311,3,NULL,1,'Molise',1),(44,312,3,NULL,1,'Piemonte',1),(45,313,3,NULL,1,'Puglia',1),(46,314,3,NULL,1,'Sardegna',1),(47,315,3,NULL,1,'Sicilia',1),(48,316,3,NULL,1,'Toscana',1),(49,317,3,NULL,1,'Trentino-Alto Adige',1),(50,318,3,NULL,1,'Umbria',1),(51,319,3,NULL,1,'Valle d Aosta',1),(52,320,3,NULL,1,'Veneto',1),(53,401,4,'',0,'Andalucia',1),(54,402,4,'',0,'Aragón',1),(55,403,4,'',0,'Castilla y León',1),(56,404,4,'',0,'Castilla la Mancha',1),(57,405,4,'',0,'Canarias',1),(58,406,4,'',0,'Cataluña',1),(59,407,4,'',0,'Comunidad de Ceuta',1),(60,408,4,'',0,'Comunidad Foral de Navarra',1),(61,409,4,'',0,'Comunidad de Melilla',1),(62,410,4,'',0,'Cantabria',1),(63,411,4,'',0,'Comunidad Valenciana',1),(64,412,4,'',0,'Extemadura',1),(65,413,4,'',0,'Galicia',1),(66,414,4,'',0,'Islas Baleares',1),(67,415,4,'',0,'La Rioja',1),(68,416,4,'',0,'Comunidad de Madrid',1),(69,417,4,'',0,'Región de Murcia',1),(70,418,4,'',0,'Principado de Asturias',1),(71,419,4,'',0,'Pais Vasco',1),(72,420,4,'',0,'Otros',1),(73,501,5,'',0,'Deutschland',1),(74,10201,102,NULL,NULL,'Αττική',1),(75,10202,102,NULL,NULL,'Στερεά Ελλάδα',1),(76,10203,102,NULL,NULL,'Κεντρική Μακεδονία',1),(77,10204,102,NULL,NULL,'Κρήτη',1),(78,10205,102,NULL,NULL,'Ανατολική Μακεδονία και Θράκη',1),(79,10206,102,NULL,NULL,'Ήπειρος',1),(80,10207,102,NULL,NULL,'Ιόνια νησιά',1),(81,10208,102,NULL,NULL,'Βόρειο Αιγαίο',1),(82,10209,102,NULL,NULL,'Πελοπόννησος',1),(83,10210,102,NULL,NULL,'Νότιο Αιγαίο',1),(84,10211,102,NULL,NULL,'Δυτική Ελλάδα',1),(85,10212,102,NULL,NULL,'Θεσσαλία',1),(86,10213,102,NULL,NULL,'Δυτική Μακεδονία',1),(87,601,6,'',1,'Cantons',1),(88,701,7,'',0,'England',1),(89,702,7,'',0,'Wales',1),(90,703,7,'',0,'Scotland',1),(91,704,7,'',0,'Northern Ireland',1),(92,1001,10,'',0,'Ariana',1),(93,1002,10,'',0,'Béja',1),(94,1003,10,'',0,'Ben Arous',1),(95,1004,10,'',0,'Bizerte',1),(96,1005,10,'',0,'Gabès',1),(97,1006,10,'',0,'Gafsa',1),(98,1007,10,'',0,'Jendouba',1),(99,1008,10,'',0,'Kairouan',1),(100,1009,10,'',0,'Kasserine',1),(101,1010,10,'',0,'Kébili',1),(102,1011,10,'',0,'La Manouba',1),(103,1012,10,'',0,'Le Kef',1),(104,1013,10,'',0,'Mahdia',1),(105,1014,10,'',0,'Médenine',1),(106,1015,10,'',0,'Monastir',1),(107,1016,10,'',0,'Nabeul',1),(108,1017,10,'',0,'Sfax',1),(109,1018,10,'',0,'Sidi Bouzid',1),(110,1019,10,'',0,'Siliana',1),(111,1020,10,'',0,'Sousse',1),(112,1021,10,'',0,'Tataouine',1),(113,1022,10,'',0,'Tozeur',1),(114,1023,10,'',0,'Tunis',1),(115,1024,10,'',0,'Zaghouan',1),(116,1101,11,'',0,'United-States',1),(117,1301,13,'',0,'Algerie',1),(118,1401,14,'',0,'Canada',1),(119,1701,17,'',0,'Provincies van Nederland ',1),(120,2301,23,'',0,'Norte',1),(121,2302,23,'',0,'Litoral',1),(122,2303,23,'',0,'Cuyana',1),(123,2304,23,'',0,'Central',1),(124,2305,23,'',0,'Patagonia',1),(125,2801,28,'',0,'Australia',1),(126,4601,46,'',0,'Barbados',1),(127,5201,52,'',0,'Chuquisaca',1),(128,5202,52,'',0,'La Paz',1),(129,5203,52,'',0,'Cochabamba',1),(130,5204,52,'',0,'Oruro',1),(131,5205,52,'',0,'Potosí',1),(132,5206,52,'',0,'Tarija',1),(133,5207,52,'',0,'Santa Cruz',1),(134,5208,52,'',0,'El Beni',1),(135,5209,52,'',0,'Pando',1),(136,5601,56,'',0,'Brasil',1),(137,7001,70,'',0,'Colombie',1),(138,6701,67,NULL,NULL,'Tarapacá',1),(139,6702,67,NULL,NULL,'Antofagasta',1),(140,6703,67,NULL,NULL,'Atacama',1),(141,6704,67,NULL,NULL,'Coquimbo',1),(142,6705,67,NULL,NULL,'Valparaíso',1),(143,6706,67,NULL,NULL,'General Bernardo O Higgins',1),(144,6707,67,NULL,NULL,'Maule',1),(145,6708,67,NULL,NULL,'Biobío',1),(146,6709,67,NULL,NULL,'Raucanía',1),(147,6710,67,NULL,NULL,'Los Lagos',1),(148,6711,67,NULL,NULL,'Aysén General Carlos Ibáñez del Campo',1),(149,6712,67,NULL,NULL,'Magallanes y Antártica Chilena',1),(150,6713,67,NULL,NULL,'Metropolitana de Santiago',1),(151,6714,67,NULL,NULL,'Los Ríos',1),(152,6715,67,NULL,NULL,'Arica y Parinacota',1),(153,8601,86,NULL,NULL,'Central',1),(154,8602,86,NULL,NULL,'Oriental',1),(155,8603,86,NULL,NULL,'Occidental',1),(156,11401,114,'',0,'Honduras',1),(157,11701,117,'',0,'India',1),(158,11801,118,'',0,'Indonesia',1),(159,1201,12,'',0,'Tanger-Tétouan',1),(160,1202,12,'',0,'Gharb-Chrarda-Beni Hssen',1),(161,1203,12,'',0,'Taza-Al Hoceima-Taounate',1),(162,1204,12,'',0,'L\'Oriental',1),(163,1205,12,'',0,'Fès-Boulemane',1),(164,1206,12,'',0,'Meknès-Tafialet',1),(165,1207,12,'',0,'Rabat-Salé-Zemour-Zaër',1),(166,1208,12,'',0,'Grand Cassablanca',1),(167,1209,12,'',0,'Chaouia-Ouardigha',1),(168,1210,12,'',0,'Doukahla-Adba',1),(169,1211,12,'',0,'Marrakech-Tensift-Al Haouz',1),(170,1212,12,'',0,'Tadla-Azilal',1),(171,1213,12,'',0,'Sous-Massa-Drâa',1),(172,1214,12,'',0,'Guelmim-Es Smara',1),(173,1215,12,'',0,'Laâyoune-Boujdour-Sakia el Hamra',1),(174,1216,12,'',0,'Oued Ed-Dahab Lagouira',1),(175,14001,140,'',0,'Diekirch',1),(176,14002,140,'',0,'Grevenmacher',1),(177,14003,140,'',0,'Luxembourg',1),(178,15201,152,'',0,'Rivière Noire',1),(179,15202,152,'',0,'Flacq',1),(180,15203,152,'',0,'Grand Port',1),(181,15204,152,'',0,'Moka',1),(182,15205,152,'',0,'Pamplemousses',1),(183,15206,152,'',0,'Plaines Wilhems',1),(184,15207,152,'',0,'Port-Louis',1),(185,15208,152,'',0,'Rivière du Rempart',1),(186,15209,152,'',0,'Savanne',1),(187,15210,152,'',0,'Rodrigues',1),(188,15211,152,'',0,'Les îles Agaléga',1),(189,15212,152,'',0,'Les écueils des Cargados Carajos',1),(190,15401,154,'',0,'Mexique',1),(191,18801,188,'',0,'Romania',1),(192,23201,232,'',0,'Los Andes',1),(193,23202,232,'',0,'Capital',1),(194,23203,232,'',0,'Central',1),(195,23204,232,'',0,'Cento Occidental',1),(196,23205,232,'',0,'Guayana',1),(197,23206,232,'',0,'Insular',1),(198,23207,232,'',0,'Los Llanos',1),(199,23208,232,'',0,'Nor-Oriental',1),(200,23209,232,'',0,'Zuliana',1),(201,18101,181,'',0,'Amazonas',1),(202,18102,181,'',0,'Ancash',1),(203,18103,181,'',0,'Apurimac',1),(204,18104,181,'',0,'Arequipa',1),(205,18105,181,'',0,'Ayacucho',1),(206,18106,181,'',0,'Cajamarca',1),(207,18107,181,'',0,'Callao',1),(208,18108,181,'',0,'Cuzco',1),(209,18109,181,'',0,'Huancavelica',1),(210,18110,181,'',0,'Huanuco',1),(211,18111,181,'',0,'Ica',1),(212,18112,181,'',0,'Junin',1),(213,18113,181,'',0,'La Libertad',1),(214,18114,181,'',0,'Lambayeque',1),(215,18115,181,'',0,'Lima Metropolitana',1),(216,18116,181,'',0,'Lima',1),(217,18117,181,'',0,'Loreto',1),(218,18118,181,'',0,'Madre de Dios',1),(219,18119,181,'',0,'Moquegua',1),(220,18120,181,'',0,'Pasco',1),(221,18121,181,'',0,'Piura',1),(222,18122,181,'',0,'Puno',1),(223,18123,181,'',0,'San Martín',1),(224,18124,181,'',0,'Tacna',1),(225,18125,181,'',0,'Tumbes',1),(226,18126,181,'',0,'Ucayali',1),(227,17801,178,'',0,'Panama',1),(228,22701,227,'',0,'United Arab Emirates',1);

--
-- Table structure for table `llx_c_revenuestamp`
--

CREATE TABLE `llx_c_revenuestamp` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_pays` int(11) NOT NULL,
  `taux` double NOT NULL,
  `revenuestamp_type` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'fixed',
  `note` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code_sell` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_buy` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=1543 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_revenuestamp`
--

INSERT INTO `llx_c_revenuestamp` (`rowid`, `fk_pays`, `taux`, `revenuestamp_type`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES (101,10,0.4,'fixed','Revenue stamp tunisia',1,NULL,NULL),(1541,154,1.5,'percent','Revenue stamp mexico',1,NULL,NULL),(1542,154,3,'percent','Revenue stamp mexico',1,NULL,NULL);

--
-- Table structure for table `llx_c_shipment_mode`
--

CREATE TABLE `llx_c_shipment_mode` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `code` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `tracking` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) DEFAULT '0',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_shipment_mode` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_shipment_mode`
--

INSERT INTO `llx_c_shipment_mode` (`rowid`, `tms`, `code`, `libelle`, `description`, `tracking`, `active`, `module`) VALUES (1,'2019-01-14 14:20:49','CATCH','At-Store Reclamation','At-Store Reclamation by the customer','',1,NULL),(2,'2019-01-14 14:20:49','TRANS','Generic transporter','Generic transporter','',1,NULL),(3,'2019-01-14 14:20:49','COLSUI','Colissimo Suivi','Colissimo Suivi','http://www.colissimo.fr/portail_colissimo/suivre.do?colispart={TRACKID}',0,NULL),(4,'2019-01-14 14:20:49','LETTREMAX','Lettre Max','Courrier Suivi et Lettre Max','',0,NULL),(5,'2019-01-14 14:20:49','UPS','UPS','United Parcel Service','http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber2=&InquiryNumber3=&tracknums_displayed=3&loc=fr_FR&TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber22=&InquiryNumber32=&track=Track&Suivi.x=64&Suivi.y=7&Suivi=Valider&InquiryNumber1={TRACKID}',0,NULL),(6,'2019-01-14 14:20:49','KIALA','KIALA','Relais Kiala','http://www.kiala.fr/tnt/delivery/{TRACKID}',0,NULL),(7,'2019-01-14 14:20:49','GLS','GLS','General Logistics Systems','https://gls-group.eu/FR/fr/suivi-colis?match={TRACKID}',0,NULL),(8,'2019-01-14 14:20:49','CHRONO','Chronopost','Chronopost','http://www.chronopost.fr/expedier/inputLTNumbersNoJahia.do?listeNumeros={TRACKID}',0,NULL);

--
-- Table structure for table `llx_c_stcomm`
--

CREATE TABLE `llx_c_stcomm` (
  `id` int(11) NOT NULL,
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `picto` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_stcomm` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_stcomm`
--

INSERT INTO `llx_c_stcomm` (`id`, `code`, `libelle`, `picto`, `active`) VALUES (-1,'ST_NO','Do not contact',NULL,1),(0,'ST_NEVER','Never contacted',NULL,1),(1,'ST_TODO','To contact',NULL,1),(2,'ST_PEND','Contact in progress',NULL,1),(3,'ST_DONE','Contacted',NULL,1);

--
-- Table structure for table `llx_c_ticket_category`
--

CREATE TABLE `llx_c_ticket_category` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `pos` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `active` int(11) DEFAULT '1',
  `use_default` int(11) DEFAULT '1',
  `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_ticket_category`
--

INSERT INTO `llx_c_ticket_category` (`rowid`, `entity`, `code`, `pos`, `label`, `active`, `use_default`, `description`) VALUES (1,1,'OTHER','10','Other',1,1,NULL);

--
-- Table structure for table `llx_c_ticket_severity`
--

CREATE TABLE `llx_c_ticket_severity` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `pos` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `active` int(11) DEFAULT '1',
  `use_default` int(11) DEFAULT '1',
  `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_ticket_severity`
--

INSERT INTO `llx_c_ticket_severity` (`rowid`, `entity`, `code`, `pos`, `label`, `color`, `active`, `use_default`, `description`) VALUES (1,1,'LOW','10','Low','',1,0,NULL),(2,1,'NORMAL','20','Normal','',1,1,NULL),(3,1,'HIGH','30','High','',1,0,NULL),(4,1,'BLOCKING','40','Critical / blocking','',1,0,NULL);

--
-- Table structure for table `llx_c_ticket_type`
--

CREATE TABLE `llx_c_ticket_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `pos` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `active` int(11) DEFAULT '1',
  `use_default` int(11) DEFAULT '1',
  `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_ticket_type`
--

INSERT INTO `llx_c_ticket_type` (`rowid`, `entity`, `code`, `pos`, `label`, `active`, `use_default`, `description`) VALUES (1,1,'COM','10','Commercial question',1,1,NULL),(2,1,'ISSUE','20','Issue or problem',1,0,NULL),(3,1,'REQUEST','25','Change or enhancement request',1,0,NULL),(4,1,'PROJECT','30','Project',0,0,NULL),(5,1,'OTHER','40','Other',1,0,NULL);

--
-- Table structure for table `llx_c_tva`
--

CREATE TABLE `llx_c_tva` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_pays` int(11) NOT NULL,
  `code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `taux` double NOT NULL,
  `localtax1` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `localtax2` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `note` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code_sell` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_buy` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_tva_id` (`fk_pays`,`code`,`taux`,`recuperableonly`)
) ENGINE=InnoDB AUTO_INCREMENT=2471 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_tva`
--

INSERT INTO `llx_c_tva` (`rowid`, `fk_pays`, `code`, `taux`, `localtax1`, `localtax1_type`, `localtax2`, `localtax2_type`, `recuperableonly`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES (11,1,'',20,'0','0','0','0',0,'VAT standard rate (France hors DOM-TOM)',1,NULL,NULL),(14,1,'',5.5,'0','0','0','0',0,'VAT reduced rate (France hors DOM-TOM)',1,NULL,NULL),(15,1,'',0,'0','0','0','0',0,'VAT Rate 0 ou non applicable',1,NULL,NULL),(16,1,'',2.1,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(17,1,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(21,2,'',21,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(22,2,'',6,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(23,2,'',0,'0','0','0','0',0,'VAT Rate 0 ou non applicable',1,NULL,NULL),(24,2,'',12,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(31,3,'',22,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(32,3,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(33,3,'',4,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(34,3,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(41,4,'',21,'5.2','3','-19:-15:-9','5',0,'VAT standard rate',1,NULL,NULL),(42,4,'',10,'1.4','3','-19:-15:-9','5',0,'VAT reduced rate',1,NULL,NULL),(43,4,'',4,'0.5','3','-19:-15:-9','5',0,'VAT super-reduced rate',1,NULL,NULL),(44,4,'',0,'0','3','-19:-15:-9','5',0,'VAT Rate 0',1,NULL,NULL),(51,5,'',19,'0','0','0','0',0,'allgemeine Ust.',1,NULL,NULL),(52,5,'',7,'0','0','0','0',0,'ermäßigte USt.',1,NULL,NULL),(53,5,'',0,'0','0','0','0',0,'keine USt.',1,NULL,NULL),(54,5,'',5.5,'0','0','0','0',0,'USt. Forst',0,NULL,NULL),(55,5,'',10.7,'0','0','0','0',0,'USt. Landwirtschaft',0,NULL,NULL),(61,6,'',7.7,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(62,6,'',3.7,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(63,6,'',2.5,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(64,6,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(71,7,'',20,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(72,7,'',17.5,'0','0','0','0',0,'VAT standard rate before 2011',1,NULL,NULL),(73,7,'',5,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(74,7,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(81,8,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(82,8,'',23,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(83,8,'',13.5,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(84,8,'',9,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(85,8,'',4.8,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(91,9,'',17,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(92,9,'',13,'0','0','0','0',0,'VAT reduced rate 0',1,NULL,NULL),(93,9,'',3,'0','0','0','0',0,'VAT super reduced rate 0',1,NULL,NULL),(94,9,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(101,10,'',6,'1','4','0','0',0,'VAT 6%',1,NULL,NULL),(102,10,'',12,'1','4','0','0',0,'VAT 12%',1,NULL,NULL),(103,10,'',18,'1','4','0','0',0,'VAT 18%',1,NULL,NULL),(104,10,'',7.5,'1','4','0','0',0,'VAT 6% Majoré à 25% (7.5%)',1,NULL,NULL),(105,10,'',15,'1','4','0','0',0,'VAT 12% Majoré à 25% (15%)',1,NULL,NULL),(106,10,'',22.5,'1','4','0','0',0,'VAT 18% Majoré à 25% (22.5%)',1,NULL,NULL),(107,10,'',0,'1','4','0','0',0,'VAT Rate 0',1,NULL,NULL),(111,11,'',0,'0','0','0','0',0,'No Sales Tax',1,NULL,NULL),(112,11,'',4,'0','0','0','0',0,'Sales Tax 4%',1,NULL,NULL),(113,11,'',6,'0','0','0','0',0,'Sales Tax 6%',1,NULL,NULL),(121,12,'',20,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(122,12,'',14,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(123,12,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(124,12,'',7,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(125,12,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(141,14,'',7,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(142,14,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(143,14,'',5,'9.975','1','0','0',0,'GST/TPS and PST/TVQ rate for Province',1,NULL,NULL),(171,17,'',19,'0','0','0','0',0,'Algemeen BTW tarief',1,NULL,NULL),(172,17,'',6,'0','0','0','0',0,'Verlaagd BTW tarief',1,NULL,NULL),(173,17,'',0,'0','0','0','0',0,'0 BTW tarief',1,NULL,NULL),(174,17,'',21,'0','0','0','0',0,'Algemeen BTW tarief (vanaf 1 oktober 2012)',0,NULL,NULL),(201,20,'',25,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(202,20,'',12,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(203,20,'',6,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(204,20,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(211,21,'',0,'0','0','0','0',0,'IVA Rate 0',1,NULL,NULL),(212,21,'',18,'7.5','2','0','0',0,'IVA standard rate',1,NULL,NULL),(221,22,'',18,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(222,22,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(223,22,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(231,23,'',21,'0','0','0','0',0,'IVA standard rate',1,NULL,NULL),(232,23,'',10.5,'0','0','0','0',0,'IVA reduced rate',1,NULL,NULL),(233,23,'',0,'0','0','0','0',0,'IVA Rate 0',1,NULL,NULL),(241,24,'',19.25,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(242,24,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(251,25,'',23,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(252,25,'',13,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(253,25,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(254,25,'',6,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(261,26,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(262,26,'',5,'0','0','0','0',0,'VAT Rate 5',1,NULL,NULL),(271,27,'',19.6,'0','0','0','0',0,'VAT standard rate (France hors DOM-TOM)',1,NULL,NULL),(272,27,'',8.5,'0','0','0','0',0,'VAT standard rate (DOM sauf Guyane et Saint-Martin)',0,NULL,NULL),(273,27,'',8.5,'0','0','0','0',1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL,NULL),(274,27,'',5.5,'0','0','0','0',0,'VAT reduced rate (France hors DOM-TOM)',0,NULL,NULL),(275,27,'',0,'0','0','0','0',0,'VAT Rate 0 ou non applicable',1,NULL,NULL),(276,27,'',2.1,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(277,27,'',7,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(281,28,'',10,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(282,28,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(411,41,'',20,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(412,41,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(413,41,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(461,46,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(462,46,'',15,'0','0','0','0',0,'VAT 15%',1,NULL,NULL),(463,46,'',7.5,'0','0','0','0',0,'VAT 7.5%',1,NULL,NULL),(561,56,'',0,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(591,59,'',20,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(592,59,'',7,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(593,59,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(671,67,'',19,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(672,67,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(781,78,'',19,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(782,78,'',9,'0','0','0','0',0,'VAT Rate 9',1,NULL,NULL),(783,78,'',5,'0','0','0','0',0,'VAT Rate 5',1,NULL,NULL),(784,78,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(801,80,'',25,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(802,80,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(803,1,'85',8.5,'0','0','0','0',0,'VAT standard rate (DOM sauf Guyane et Saint-Martin)',0,NULL,NULL),(804,1,'85NPR',8.5,'0','0','0','0',1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL,NULL),(805,1,'85NPROM',8.5,'2','3','0','0',1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), NPR, Octroi de Mer',0,NULL,NULL),(806,1,'85NPROMOMR',8.5,'2','3','2.5','3',1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), NPR, Octroi de Mer et Octroi de Mer Regional',0,NULL,NULL),(861,86,'',13,'0','0','0','0',0,'IVA 13',1,NULL,NULL),(862,86,'',0,'0','0','0','0',0,'SIN IVA',1,NULL,NULL),(1141,114,'',0,'0','0','0','0',0,'No ISV',1,NULL,NULL),(1142,114,'',12,'0','0','0','0',0,'ISV 12%',1,NULL,NULL),(1161,116,'',25.5,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1162,116,'',7,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1163,116,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1171,117,'',0,'0','0','0','0',0,'VAT Rate 0',0,NULL,NULL),(1176,117,'C+S-18',0,'9','1','9','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1177,117,'I-18',18,'0','0','0','0',0,'IGST',1,NULL,NULL),(1178,117,'C+S-5',0,'2.5','1','2.5','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1179,117,'I-5',5,'0','0','0','0',0,'IGST',1,NULL,NULL),(1180,117,'C+S-12',0,'6','1','6','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1181,117,'I-12',12,'0','0','0','0',0,'IGST',1,NULL,NULL),(1182,117,'C+S-28',0,'14','1','14','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1183,117,'I-28',28,'0','0','0','0',0,'IGST',1,NULL,NULL),(1231,123,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1232,123,'',5,'0','0','0','0',0,'VAT Rate 5',1,NULL,NULL),(1401,140,'',17,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1402,140,'',14,'0','0','0','0',0,'VAT intermediary rate',1,NULL,NULL),(1403,140,'',8,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1404,140,'',3,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(1405,140,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1481,148,'',18,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1482,148,'',7,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1483,148,'',5,'0','0','0','0',0,'VAT super-reduced rate',1,NULL,NULL),(1484,148,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1511,151,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1512,151,'',14,'0','0','0','0',0,'VAT Rate 14',1,NULL,NULL),(1521,152,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1522,152,'',15,'0','0','0','0',0,'VAT Rate 15',1,NULL,NULL),(1541,154,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(1542,154,'',16,'0','0','0','0',0,'VAT 16%',1,NULL,NULL),(1543,154,'',10,'0','0','0','0',0,'VAT Frontero',1,NULL,NULL),(1662,166,'',15,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1663,166,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1692,169,'',5,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1693,169,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1731,173,'',25,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1732,173,'',14,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1733,173,'',8,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1734,173,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1781,178,'',7,'0','0','0','0',0,'ITBMS standard rate',1,NULL,NULL),(1782,178,'',0,'0','0','0','0',0,'ITBMS Rate 0',1,NULL,NULL),(1811,181,'',18,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1812,181,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1841,184,'',23,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1842,184,'',8,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1843,184,'',3,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1844,184,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1881,188,'',19,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(1882,188,'',9,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1883,188,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(1884,188,'',5,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(1931,193,'',0,'0','0','0','0',0,'No VAT in SPM',1,NULL,NULL),(2011,201,'',19,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(2012,201,'',10,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(2013,201,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(2021,202,'',22,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(2022,202,'',9.5,'0','0','0','0',0,'VAT reduced rate',1,NULL,NULL),(2023,202,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(2051,205,'',15,'0','0','0','0',0,'VAT standard rate',1,NULL,NULL),(2052,205,'',14,'0','0','0','0',0,'VAT 14%',1,NULL,NULL),(2053,205,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(2071,207,'',0,'0','0','0','0',0,'VAT 0',1,NULL,NULL),(2072,207,'',15,'0','0','0','0',0,'VAT 15%',1,NULL,NULL),(2131,213,'',5,'0','0','0','0',0,'VAT 5%',1,NULL,NULL),(2132,213,'',0,'0','0','0','0',0,'VAT 0',1,NULL,NULL),(2261,226,'',20,'0','0','0','0',0,'VAT standart rate',1,NULL,NULL),(2262,226,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(2321,232,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(2322,232,'',12,'0','0','0','0',0,'VAT 12%',1,NULL,NULL),(2323,232,'',8,'0','0','0','0',0,'VAT 8%',1,NULL,NULL),(2461,246,'',0,'0','0','0','0',0,'VAT Rate 0',1,NULL,NULL),(2462,102,'',24,'0','0','0','0',0,'Κανονικός Φ.Π.Α.',1,NULL,NULL),(2463,102,'',0,'0','0','0','0',0,'Μηδενικό Φ.Π.Α.',1,NULL,NULL),(2464,102,'',13,'0','0','0','0',0,'Μειωμένος Φ.Π.Α.',1,NULL,NULL),(2465,102,'',6.5,'0','0','0','0',0,'Υπερμειωμένος Φ.Π.Α.',1,NULL,NULL),(2466,102,'',16,'0','0','0','0',0,'Νήσων κανονικός Φ.Π.Α.',1,NULL,NULL),(2467,102,'',9,'0','0','0','0',0,'Νήσων μειωμένος Φ.Π.Α.',1,NULL,NULL),(2468,102,'',5,'0','0','0','0',0,'Νήσων υπερμειωμένος Φ.Π.Α.',1,NULL,NULL),(2469,108,'TVA',18,'0','1','0','0',0,'TVA',1,NULL,NULL),(2470,108,'HT',0,'0','0','0','0',0,'HT',1,NULL,NULL);

--
-- Table structure for table `llx_c_type_contact`
--

CREATE TABLE `llx_c_type_contact` (
  `rowid` int(11) NOT NULL,
  `element` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `source` varchar(8) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'external',
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_contact_id` (`element`,`source`,`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_type_contact`
--

INSERT INTO `llx_c_type_contact` (`rowid`, `element`, `source`, `code`, `libelle`, `active`, `module`, `position`) VALUES (10,'contrat','internal','SALESREPSIGN','Commercial signataire du contrat',1,NULL,0),(11,'contrat','internal','SALESREPFOLL','Commercial suivi du contrat',1,NULL,0),(20,'contrat','external','BILLING','Contact client facturation contrat',1,NULL,0),(21,'contrat','external','CUSTOMER','Contact client suivi contrat',1,NULL,0),(22,'contrat','external','SALESREPSIGN','Contact client signataire contrat',1,NULL,0),(31,'propal','internal','SALESREPFOLL','Commercial à l\'origine de la propale',1,NULL,0),(40,'propal','external','BILLING','Contact client facturation propale',1,NULL,0),(41,'propal','external','CUSTOMER','Contact client suivi propale',1,NULL,0),(42,'propal','external','SHIPPING','Contact client livraison propale',1,NULL,0),(50,'facture','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL,0),(60,'facture','external','BILLING','Contact client facturation',1,NULL,0),(61,'facture','external','SHIPPING','Contact client livraison',1,NULL,0),(62,'facture','external','SERVICE','Contact client prestation',1,NULL,0),(70,'invoice_supplier','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL,0),(71,'invoice_supplier','external','BILLING','Contact fournisseur facturation',1,NULL,0),(72,'invoice_supplier','external','SHIPPING','Contact fournisseur livraison',1,NULL,0),(73,'invoice_supplier','external','SERVICE','Contact fournisseur prestation',1,NULL,0),(80,'agenda','internal','ACTOR','Responsable',1,NULL,0),(81,'agenda','internal','GUEST','Guest',1,NULL,0),(85,'agenda','external','ACTOR','Responsable',1,NULL,0),(86,'agenda','external','GUEST','Guest',1,NULL,0),(91,'commande','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL,0),(100,'commande','external','BILLING','Contact client facturation commande',1,NULL,0),(101,'commande','external','CUSTOMER','Contact client suivi commande',1,NULL,0),(102,'commande','external','SHIPPING','Contact client livraison commande',1,NULL,0),(120,'fichinter','internal','INTERREPFOLL','Responsable suivi de l\'intervention',1,NULL,0),(121,'fichinter','internal','INTERVENING','Intervenant',1,NULL,0),(130,'fichinter','external','BILLING','Contact client facturation intervention',1,NULL,0),(131,'fichinter','external','CUSTOMER','Contact client suivi de l\'intervention',1,NULL,0),(140,'order_supplier','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL,0),(141,'order_supplier','internal','SHIPPING','Responsable réception de la commande',1,NULL,0),(142,'order_supplier','external','BILLING','Contact fournisseur facturation commande',1,NULL,0),(143,'order_supplier','external','CUSTOMER','Contact fournisseur suivi commande',1,NULL,0),(145,'order_supplier','external','SHIPPING','Contact fournisseur livraison commande',1,NULL,0),(150,'dolresource','internal','USERINCHARGE','In charge of resource',1,NULL,0),(151,'dolresource','external','THIRDINCHARGE','In charge of resource',1,NULL,0),(155,'ticket','internal','SUPPORTTEC','Utilisateur contact support',1,NULL,0),(156,'ticket','internal','CONTRIBUTOR','Intervenant',1,NULL,0),(157,'ticket','external','SUPPORTCLI','Contact client suivi incident',1,NULL,0),(158,'ticket','external','CONTRIBUTOR','Intervenant',1,NULL,0),(160,'project','internal','PROJECTLEADER','Chef de Projet',1,NULL,0),(161,'project','internal','PROJECTCONTRIBUTOR','Intervenant',1,NULL,0),(170,'project','external','PROJECTLEADER','Chef de Projet',1,NULL,0),(171,'project','external','PROJECTCONTRIBUTOR','Intervenant',1,NULL,0),(180,'project_task','internal','TASKEXECUTIVE','Responsable',1,NULL,0),(181,'project_task','internal','TASKCONTRIBUTOR','Intervenant',1,NULL,0),(190,'project_task','external','TASKEXECUTIVE','Responsable',1,NULL,0),(191,'project_task','external','TASKCONTRIBUTOR','Intervenant',1,NULL,0);

--
-- Table structure for table `llx_c_type_container`
--

CREATE TABLE `llx_c_type_container` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `label` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_container_id` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_type_container`
--

INSERT INTO `llx_c_type_container` (`rowid`, `code`, `entity`, `label`, `module`, `active`) VALUES (1,'page',1,'Page','system',1),(2,'banner',1,'Banner','system',1),(3,'blogpost',1,'BlogPost','system',1),(4,'other',1,'Other','system',1);

--
-- Table structure for table `llx_c_type_fees`
--

CREATE TABLE `llx_c_type_fees` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` int(11) DEFAULT '0',
  `accountancy_code` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_type_fees` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_type_fees`
--

INSERT INTO `llx_c_type_fees` (`id`, `code`, `label`, `type`, `accountancy_code`, `active`, `module`, `position`) VALUES (1,'TF_OTHER','Other',0,NULL,1,NULL,0),(2,'TF_TRIP','Transportation',0,NULL,1,NULL,0),(3,'TF_LUNCH','Lunch',0,NULL,1,NULL,0),(4,'EX_KME','ExpLabelKm',0,NULL,1,NULL,0),(5,'EX_FUE','ExpLabelFuelCV',0,NULL,0,NULL,0),(6,'EX_HOT','ExpLabelHotel',0,NULL,0,NULL,0),(7,'EX_PAR','ExpLabelParkingCV',0,NULL,0,NULL,0),(8,'EX_TOL','ExpLabelTollCV',0,NULL,0,NULL,0),(9,'EX_TAX','ExpLabelVariousTaxes',0,NULL,0,NULL,0),(10,'EX_IND','ExpLabelIndemnityTransSubscrip',0,NULL,0,NULL,0),(11,'EX_SUM','ExpLabelMaintenanceSupply',0,NULL,0,NULL,0),(12,'EX_SUO','ExpLabelOfficeSupplies',0,NULL,0,NULL,0),(13,'EX_CAR','ExpLabelCarRental',0,NULL,0,NULL,0),(14,'EX_DOC','ExpLabelDocumentation',0,NULL,0,NULL,0),(15,'EX_CUR','ExpLabelCustomersReceiving',0,NULL,0,NULL,0),(16,'EX_OTR','ExpLabelOtherReceiving',0,NULL,0,NULL,0),(17,'EX_POS','ExpLabelPostage',0,NULL,0,NULL,0),(18,'EX_CAM','ExpLabelMaintenanceRepairCV',0,NULL,0,NULL,0),(19,'EX_EMM','ExpLabelEmployeesMeal',0,NULL,0,NULL,0),(20,'EX_GUM','ExpLabelGuestsMeal',0,NULL,0,NULL,0),(21,'EX_BRE','ExpLabelBreakfast',0,NULL,0,NULL,0),(22,'EX_FUE_VP','ExpLabelFuelPV',0,NULL,0,NULL,0),(23,'EX_TOL_VP','ExpLabelTollPV',0,NULL,0,NULL,0),(24,'EX_PAR_VP','ExpLabelParkingPV',0,NULL,0,NULL,0),(25,'EX_CAM_VP','ExpLabelMaintenanceRepairPV',0,NULL,0,NULL,0);

--
-- Table structure for table `llx_c_type_resource`
--

CREATE TABLE `llx_c_type_resource` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_resource_id` (`label`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_type_resource`
--

INSERT INTO `llx_c_type_resource` (`rowid`, `code`, `label`, `active`) VALUES (1,'RES_ROOMS','Rooms',1),(2,'RES_CARS','Cars',1);

--
-- Table structure for table `llx_c_typent`
--

CREATE TABLE `llx_c_typent` (
  `id` int(11) NOT NULL,
  `code` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_typent` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_typent`
--

INSERT INTO `llx_c_typent` (`id`, `code`, `libelle`, `fk_country`, `active`, `module`, `position`) VALUES (0,'TE_UNKNOWN','-',NULL,1,NULL,0),(1,'TE_STARTUP','Start-up',NULL,0,NULL,0),(2,'TE_GROUP','Grand groupe',NULL,1,NULL,0),(3,'TE_MEDIUM','PME/PMI',NULL,1,NULL,0),(4,'TE_SMALL','TPE',NULL,1,NULL,0),(5,'TE_ADMIN','Administration',NULL,1,NULL,0),(6,'TE_WHOLE','Grossiste',NULL,0,NULL,0),(7,'TE_RETAIL','Revendeur',NULL,0,NULL,0),(8,'TE_PRIVATE','Particulier',NULL,1,NULL,0),(100,'TE_OTHER','Autres',NULL,1,NULL,0),(231,'TE_A_RI','Responsable Inscripto (typo A)',23,0,NULL,0),(232,'TE_B_RNI','Responsable No Inscripto (typo B)',23,0,NULL,0),(233,'TE_C_FE','Consumidor Final/Exento (typo C)',23,0,NULL,0);

--
-- Table structure for table `llx_c_units`
--

CREATE TABLE `llx_c_units` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `short_label` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_units_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_units`
--

INSERT INTO `llx_c_units` (`rowid`, `code`, `label`, `short_label`, `active`) VALUES (1,'P','piece','p',1),(2,'SET','set','se',1),(3,'S','second','s',1),(4,'H','hour','h',1),(5,'D','day','d',1),(6,'KG','kilogram','kg',1),(7,'G','gram','g',1),(8,'M','meter','m',1),(9,'LM','linear meter','lm',1),(10,'M2','square meter','m2',1),(11,'M3','cubic meter','m3',1),(12,'L','liter','l',1);

--
-- Table structure for table `llx_c_ziptown`
--

CREATE TABLE `llx_c_ziptown` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_county` int(11) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL DEFAULT '0',
  `zip` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `town` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ziptown_fk_pays` (`zip`,`town`,`fk_pays`),
  KEY `idx_c_ziptown_fk_county` (`fk_county`),
  KEY `idx_c_ziptown_fk_pays` (`fk_pays`),
  KEY `idx_c_ziptown_zip` (`zip`),
  CONSTRAINT `fk_c_ziptown_fk_county` FOREIGN KEY (`fk_county`) REFERENCES `llx_c_departements` (`rowid`),
  CONSTRAINT `fk_c_ziptown_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_c_ziptown`
--


--
-- Table structure for table `llx_categorie`
--

CREATE TABLE `llx_categorie` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_parent` int(11) NOT NULL DEFAULT '0',
  `label` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `type` tinyint(4) NOT NULL DEFAULT '1',
  `description` text COLLATE utf8_unicode_ci,
  `color` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `visible` tinyint(4) NOT NULL DEFAULT '1',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_categorie_ref` (`entity`,`fk_parent`,`label`,`type`),
  KEY `idx_categorie_type` (`type`),
  KEY `idx_categorie_label` (`label`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie`
--

INSERT INTO `llx_categorie` (`rowid`, `entity`, `fk_parent`, `label`, `type`, `description`, `color`, `fk_soc`, `visible`, `import_key`) VALUES (1,1,0,'TEST ALMAMY',0,'','ff0000',NULL,0,NULL),(2,1,0,'Placoplâtre',0,'','',NULL,0,NULL);

--
-- Table structure for table `llx_categorie_account`
--

CREATE TABLE `llx_categorie_account` (
  `fk_categorie` int(11) NOT NULL,
  `fk_account` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_account`),
  KEY `idx_categorie_account_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_account_fk_account` (`fk_account`),
  CONSTRAINT `fk_categorie_account_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_account_fk_account` FOREIGN KEY (`fk_account`) REFERENCES `llx_bank_account` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_account`
--


--
-- Table structure for table `llx_categorie_contact`
--

CREATE TABLE `llx_categorie_contact` (
  `fk_categorie` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_socpeople`),
  KEY `idx_categorie_contact_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_categorie_contact_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_contact_fk_socpeople` FOREIGN KEY (`fk_socpeople`) REFERENCES `llx_socpeople` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_contact`
--


--
-- Table structure for table `llx_categorie_fournisseur`
--

CREATE TABLE `llx_categorie_fournisseur` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_soc`),
  KEY `idx_categorie_fournisseur_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_fournisseur_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_fournisseur_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_fournisseur`
--


--
-- Table structure for table `llx_categorie_lang`
--

CREATE TABLE `llx_categorie_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_category` int(11) NOT NULL DEFAULT '0',
  `lang` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_category_lang` (`fk_category`,`lang`),
  CONSTRAINT `fk_category_lang_fk_category` FOREIGN KEY (`fk_category`) REFERENCES `llx_categorie` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_lang`
--


--
-- Table structure for table `llx_categorie_member`
--

CREATE TABLE `llx_categorie_member` (
  `fk_categorie` int(11) NOT NULL,
  `fk_member` int(11) NOT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_member`),
  KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_member_fk_member` (`fk_member`),
  CONSTRAINT `fk_categorie_member_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_member_member_rowid` FOREIGN KEY (`fk_member`) REFERENCES `llx_adherent` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_member`
--


--
-- Table structure for table `llx_categorie_product`
--

CREATE TABLE `llx_categorie_product` (
  `fk_categorie` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_product`),
  KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_product_fk_product` (`fk_product`),
  CONSTRAINT `fk_categorie_product_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_product_product_rowid` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_product`
--

INSERT INTO `llx_categorie_product` (`fk_categorie`, `fk_product`, `import_key`) VALUES (2,12,NULL);

--
-- Table structure for table `llx_categorie_project`
--

CREATE TABLE `llx_categorie_project` (
  `fk_categorie` int(11) NOT NULL,
  `fk_project` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_project`),
  KEY `idx_categorie_project_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_project_fk_project` (`fk_project`),
  CONSTRAINT `fk_categorie_project_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_project_fk_project_rowid` FOREIGN KEY (`fk_project`) REFERENCES `llx_projet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_project`
--


--
-- Table structure for table `llx_categorie_societe`
--

CREATE TABLE `llx_categorie_societe` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_soc`),
  KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_societe_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_societe_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_societe_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_societe`
--


--
-- Table structure for table `llx_categorie_user`
--

CREATE TABLE `llx_categorie_user` (
  `fk_categorie` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_user`),
  KEY `idx_categorie_user_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_user_fk_user` (`fk_user`),
  CONSTRAINT `fk_categorie_user_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_user`
--


--
-- Table structure for table `llx_categories_extrafields`
--

CREATE TABLE `llx_categories_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_categories_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categories_extrafields`
--


--
-- Table structure for table `llx_chargesociales`
--

CREATE TABLE `llx_chargesociales` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_ech` datetime NOT NULL,
  `libelle` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `periode` date DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_chargesociales`
--


--
-- Table structure for table `llx_commande`
--

CREATE TABLE `llx_commande` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_int` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_client` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `date_commande` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `source` smallint(6) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `amount_ht` double(24,8) DEFAULT '0.00000000',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` 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_ht` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `facture` tinyint(4) DEFAULT '0',
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
  KEY `idx_commande_fk_soc` (`fk_soc`),
  KEY `idx_commande_fk_user_author` (`fk_user_author`),
  KEY `idx_commande_fk_user_valid` (`fk_user_valid`),
  KEY `idx_commande_fk_user_cloture` (`fk_user_cloture`),
  KEY `idx_commande_fk_projet` (`fk_projet`),
  KEY `idx_commande_fk_account` (`fk_account`),
  KEY `idx_commande_fk_currency` (`fk_currency`),
  CONSTRAINT `fk_commande_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande`
--


--
-- Table structure for table `llx_commande_extrafields`
--

CREATE TABLE `llx_commande_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_extrafields`
--


--
-- Table structure for table `llx_commande_fournisseur`
--

CREATE TABLE `llx_commande_fournisseur` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_supplier` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_approve` datetime DEFAULT NULL,
  `date_approve2` datetime DEFAULT NULL,
  `date_commande` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_approve` int(11) DEFAULT NULL,
  `fk_user_approve2` int(11) DEFAULT NULL,
  `source` smallint(6) NOT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `billed` smallint(6) DEFAULT '0',
  `amount_ht` double(24,8) DEFAULT '0.00000000',
  `remise_percent` double DEFAULT '0',
  `remise` 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_ht` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_livraison` datetime DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `fk_input_method` int(11) DEFAULT '0',
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`),
  KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`),
  KEY `billed` (`billed`),
  CONSTRAINT `fk_commande_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseur`
--


--
-- Table structure for table `llx_commande_fournisseur_dispatch`
--

CREATE TABLE `llx_commande_fournisseur_dispatch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `qty` float DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `batch` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseur_dispatch`
--


--
-- Table structure for table `llx_commande_fournisseur_extrafields`
--

CREATE TABLE `llx_commande_fournisseur_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseur_extrafields`
--


--
-- Table structure for table `llx_commande_fournisseur_log`
--

CREATE TABLE `llx_commande_fournisseur_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datelog` datetime NOT NULL,
  `fk_commande` int(11) NOT NULL,
  `fk_statut` smallint(6) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseur_log`
--


--
-- Table structure for table `llx_commande_fournisseurdet`
--

CREATE TABLE `llx_commande_fournisseurdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `vat_src_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `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',
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `fk_commande_fournisseurdet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_commande_fournisseurdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseurdet`
--


--
-- Table structure for table `llx_commande_fournisseurdet_extrafields`
--

CREATE TABLE `llx_commande_fournisseurdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseurdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commande_fournisseurdet_extrafields`
--


--
-- Table structure for table `llx_commandedet`
--

CREATE TABLE `llx_commandedet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `vat_src_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `fk_remise_except` int(11) DEFAULT NULL,
  `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',
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_fk_commande` (`fk_commande`),
  KEY `idx_commandedet_fk_product` (`fk_product`),
  KEY `fk_commandedet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_commandedet_fk_commande` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commandedet`
--


--
-- Table structure for table `llx_commandedet_extrafields`
--

CREATE TABLE `llx_commandedet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_commandedet_extrafields`
--


--
-- Table structure for table `llx_comment`
--

CREATE TABLE `llx_comment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_element` int(11) DEFAULT NULL,
  `element_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `import_key` varchar(125) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_comment`
--


--
-- Table structure for table `llx_const`
--

CREATE TABLE `llx_const` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `value` text COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(64) COLLATE utf8_unicode_ci DEFAULT 'string',
  `visible` tinyint(4) NOT NULL DEFAULT '1',
  `note` text COLLATE utf8_unicode_ci,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_const` (`name`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=462 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_const`
--

INSERT INTO `llx_const` (`rowid`, `name`, `entity`, `value`, `type`, `visible`, `note`, `tms`) VALUES (2,'MAIN_FEATURES_LEVEL',0,'0','chaine',1,'Level of features to show: -1=stable+deprecated, 0=stable only (default), 1=stable+experimental, 2=stable+experimental+development','2019-01-14 14:20:50'),(3,'MAILING_LIMIT_SENDBYWEB',0,'25','chaine',1,'Number of targets to defined packet size when sending mass email','2019-01-14 14:20:50'),(4,'MAIN_ENABLE_LOG_TO_HTML',0,'0','chaine',1,'If this option is set to 1, it is possible to see log output at end of HTML sources by adding paramater logtohtml=1 on URL. Module log must also be enabled.','2019-01-14 14:20:50'),(5,'MAIN_SECURITY_CSRF_WITH_TOKEN',0,'0','chaine',1,'If this option is set to 1, a CSRF protection using an antiCSRF token is added.','2019-01-14 14:20:50'),(6,'SYSLOG_HANDLERS',0,'[\"mod_syslog_file\"]','chaine',0,'Which logger to use','2019-01-14 14:20:50'),(7,'SYSLOG_FILE',0,'DOL_DATA_ROOT/dolibarr.log','chaine',0,'Directory where to write log file','2019-01-14 14:20:50'),(8,'SYSLOG_LEVEL',0,'7','chaine',0,'Level of debug info to show','2019-01-14 14:20:50'),(9,'MAIN_UPLOAD_DOC',0,'2048','chaine',0,'Max size for file upload (0 means no upload allowed)','2019-01-14 14:20:50'),(10,'MAIN_ENABLE_OVERWRITE_TRANSLATION',1,'1','chaine',0,'Enable translation overwrite','2019-01-14 14:20:50'),(11,'MAIN_ENABLE_DEFAULT_VALUES',1,'1','chaine',0,'Enable default value overwrite','2019-01-14 14:20:50'),(16,'MAIN_SIZE_LISTE_LIMIT',0,'25','chaine',0,'Longueur maximum des listes','2019-01-14 14:20:50'),(17,'MAIN_SIZE_SHORTLIST_LIMIT',0,'3','chaine',0,'Longueur maximum des listes courtes (fiche client)','2019-01-14 14:20:50'),(18,'MAIN_MENU_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for internal users','2019-01-14 14:20:50'),(19,'MAIN_MENUFRONT_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for external users','2019-01-14 14:20:50'),(20,'MAIN_MENU_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for internal users using smartphones','2019-01-14 14:20:50'),(21,'MAIN_MENUFRONT_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for external users using smartphones','2019-01-14 14:20:50'),(22,'MAIN_DELAY_ACTIONS_TODO',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées','2019-01-14 14:20:50'),(23,'MAIN_DELAY_ORDERS_TO_PROCESS',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées','2019-01-14 14:20:50'),(24,'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées','2019-01-14 14:20:50'),(25,'MAIN_DELAY_PROPALS_TO_CLOSE',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales à cloturer','2019-01-14 14:20:50'),(26,'MAIN_DELAY_PROPALS_TO_BILL',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales non facturées','2019-01-14 14:20:50'),(27,'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures client impayées','2019-01-14 14:20:50'),(28,'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées','2019-01-14 14:20:50'),(29,'MAIN_DELAY_NOT_ACTIVATED_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services à activer','2019-01-14 14:20:50'),(30,'MAIN_DELAY_RUNNING_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services expirés','2019-01-14 14:20:50'),(31,'MAIN_DELAY_MEMBERS',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard','2019-01-14 14:20:50'),(32,'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE',1,'62','chaine',0,'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire','2019-01-14 14:20:50'),(33,'MAIN_DELAY_EXPENSEREPORTS_TO_PAY',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur les notes de frais impayées','2019-01-14 14:20:50'),(34,'MAIN_FIX_FOR_BUGGED_MTA',1,'1','chaine',1,'Set constant to fix email ending from PHP with some linux ike system','2019-01-14 14:20:50'),(35,'MAILING_EMAIL_FROM',1,'dolibarr@domain.com','chaine',0,'EMail emmetteur pour les envois d emailings','2019-01-14 14:20:50'),(36,'PRODUCT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/products','chaine',0,NULL,'2019-01-14 14:20:50'),(37,'CONTRACT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/contracts','chaine',0,NULL,'2019-01-14 14:20:50'),(38,'USERGROUP_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/usergroups','chaine',0,NULL,'2019-01-14 14:20:50'),(39,'USER_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/users','chaine',0,NULL,'2019-01-14 14:20:50'),(40,'MAIN_MODULE_USER',0,'1','string',0,'{\"authorid\":0,\"ip\":\"::1\"}','2019-01-14 14:21:07'),(41,'DATABASE_PWD_ENCRYPTED',1,'1','chaine',0,'','2019-01-14 14:21:07'),(42,'MAIN_SECURITY_SALT',0,'20190114142107','chaine',0,'','2019-01-14 14:21:07'),(43,'MAIN_SECURITY_HASH_ALGO',0,'password_hash','chaine',0,'','2019-01-14 14:21:07'),(44,'MAIN_VERSION_FIRST_INSTALL',0,'8.0.4','chaine',0,'Dolibarr version when first install','2019-01-14 14:21:07'),(45,'MAIN_VERSION_LAST_INSTALL',0,'8.0.4','chaine',0,'Dolibarr version when last install','2019-01-14 14:21:07'),(46,'MAIN_REMOVE_INSTALL_WARNING',0,'1','chaine',1,'Disable install warnings','2019-01-14 14:21:07'),(47,'MAIN_LANG_DEFAULT',1,'auto','chaine',0,'Default language','2019-01-14 14:21:08'),(86,'MAIN_MODULE_SOCIETE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:34:29'),(87,'SOCIETE_CODECLIENT_ADDON',1,'mod_codeclient_monkey','chaine',0,'Module to control third parties codes','2019-01-14 15:34:29'),(88,'SOCIETE_CODECOMPTA_ADDON',1,'mod_codecompta_panicum','chaine',0,'Module to control third parties codes','2019-01-14 15:34:29'),(89,'COMPANY_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/thirdparties','chaine',0,NULL,'2019-01-14 15:34:29'),(90,'SOCIETE_ADD_REF_IN_LIST',1,'0','yesno',0,'Display customer ref into select list','2019-01-14 15:34:29'),(91,'MAIN_MODULE_PROPALE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:34:36'),(92,'PROPALE_ADDON_PDF',1,'azur','chaine',0,'Name of the proposal generation manager in PDF format','2019-01-14 15:34:36'),(93,'PROPALE_ADDON',1,'mod_propale_marbre','chaine',0,'Name of proposal numbering manager','2019-01-14 15:34:36'),(95,'PROPALE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/proposals','chaine',0,NULL,'2019-01-14 15:34:36'),(96,'MAIN_MODULE_FOURNISSEUR',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:35:25'),(97,'COMMANDE_SUPPLIER_ADDON_PDF',1,'muscadet','chaine',0,'Nom du gestionnaire de generation des bons de commande en PDF','2019-01-14 15:35:25'),(98,'COMMANDE_SUPPLIER_ADDON_NUMBER',1,'mod_commande_fournisseur_muguet','chaine',0,'Nom du gestionnaire de numerotation des commandes fournisseur','2019-01-14 15:35:25'),(99,'INVOICE_SUPPLIER_ADDON_NUMBER',1,'mod_facture_fournisseur_cactus','chaine',0,'Nom du gestionnaire de numerotation des factures fournisseur','2019-01-14 15:35:25'),(100,'MAIN_MODULE_SUPPLIERPROPOSAL',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:35:34'),(101,'SUPPLIER_PROPOSAL_ADDON_PDF',1,'aurore','chaine',0,'Name of submodule to generate PDF for supplier quotation request','2019-01-14 15:35:34'),(102,'SUPPLIER_PROPOSAL_ADDON',1,'mod_supplier_proposal_marbre','chaine',0,'Name of submodule to number supplier quotation request','2019-01-14 15:35:34'),(103,'SUPPLIER_PROPOSAL_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/supplier_proposal','chaine',0,NULL,'2019-01-14 15:35:34'),(104,'MAIN_MODULE_FACTURE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:35:45'),(105,'FACTURE_ADDON',1,'mod_facture_terre','chaine',0,'Name of numbering numerotation rules of invoice','2019-01-14 15:35:45'),(106,'FACTURE_ADDON_PDF',1,'crabe','chaine',0,'Name of PDF model of invoice','2019-01-14 15:35:45'),(107,'FACTURE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/invoices','chaine',0,NULL,'2019-01-14 15:35:45'),(108,'MAIN_MODULE_TAX',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:07'),(109,'MAIN_MODULE_SALARIES',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:15'),(110,'SALARIES_ACCOUNTING_ACCOUNT_PAYMENT',1,'421','chaine',0,NULL,'2019-01-14 15:36:15'),(111,'SALARIES_ACCOUNTING_ACCOUNT_CHARGE',1,'641','chaine',0,NULL,'2019-01-14 15:36:15'),(112,'MAIN_MODULE_BANQUE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:23'),(113,'MAIN_MODULE_MARGIN',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:47'),(114,'MAIN_MODULE_MARGIN_TABS_0',1,'product:+margin:Margins:margins:$user->rights->margins->liretous:/margin/tabs/productMargins.php?id=__ID__','chaine',0,NULL,'2019-01-14 15:36:47'),(115,'MAIN_MODULE_MARGIN_TABS_1',1,'thirdparty:+margin:Margins:margins:empty($user->societe_id) && $user->rights->margins->liretous && ($object->client > 0):/margin/tabs/thirdpartyMargins.php?socid=__ID__','chaine',0,NULL,'2019-01-14 15:36:47'),(116,'MARGIN_TYPE',1,'costprice','chaine',0,'Rule for margin calculation by default','2019-01-14 15:36:47'),(117,'MAIN_MODULE_PRODUCT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:48'),(118,'PRODUCT_CODEPRODUCT_ADDON',1,'mod_codeproduct_leopard','chaine',0,'Module to control product codes','2019-01-14 15:36:48'),(120,'MAIN_MODULE_SERVICE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:37:23'),(121,'MAIN_MODULE_STOCK',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:37:32'),(122,'STOCK_ALLOW_NEGATIVE_TRANSFER',1,'1','chaine',1,NULL,'2019-01-14 15:37:32'),(123,'STOCK_ADDON_PDF',1,'Standard','chaine',0,'Name of PDF model of stock','2019-01-14 15:37:32'),(124,'MOUVEMENT_ADDON_PDF',1,'StdMouvement','chaine',0,'Name of PDF model of stock mouvement','2019-01-14 15:37:32'),(125,'STOCK_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/stocks','chaine',0,NULL,'2019-01-14 15:37:32'),(126,'MOUVEMENT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/stocks/mouvements','chaine',0,NULL,'2019-01-14 15:37:32'),(127,'MAIN_MODULE_CATEGORIE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:38:01'),(128,'CATEGORIE_RECURSIV_ADD',1,'0','yesno',0,'Affect parent categories','2019-01-14 15:38:01'),(129,'MAIN_MODULE_FCKEDITOR',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:38:08'),(130,'FCKEDITOR_ENABLE_SOCIETE',1,'1','yesno',0,'WYSIWIG for description and note (except products/services)','2019-01-14 15:38:08'),(131,'FCKEDITOR_ENABLE_PRODUCTDESC',1,'1','yesno',0,'WYSIWIG for products/services description and note','2019-01-14 15:38:08'),(132,'FCKEDITOR_ENABLE_MAILING',1,'1','yesno',0,'WYSIWIG for mass emailings','2019-01-14 15:38:08'),(133,'FCKEDITOR_ENABLE_DETAILS',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2019-01-14 15:38:08'),(134,'FCKEDITOR_ENABLE_USERSIGN',1,'1','yesno',0,'WYSIWIG for user signature','2019-01-14 15:38:08'),(135,'FCKEDITOR_ENABLE_MAIL',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2019-01-14 15:38:08'),(136,'FCKEDITOR_SKIN',1,'moono-lisa','string',0,'Skin by default for fckeditor','2019-01-14 15:38:08'),(137,'MAIN_MODULE_WORKFLOW',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:38:47'),(138,'MAIN_MODULE_IMPORT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:38:54'),(139,'MAIN_MODULE_EXPORT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:39:02'),(140,'MAIN_MODULE_CRON',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:39:26'),(141,'CRON_KEY',0,'','chaine',0,'CRON KEY','2019-01-14 15:39:26'),(142,'MAIN_MODULE_SYSLOG',0,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:39:32'),(261,'MAIN_MODULE_PROJET',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"::1\"}','2019-01-21 18:21:05'),(262,'PROJECT_ADDON_PDF',1,'baleine','chaine',0,'Name of PDF/ODT project manager class','2019-01-21 18:21:05'),(263,'PROJECT_ADDON',1,'mod_project_simple','chaine',0,'Name of Numbering Rule project manager class','2019-01-21 18:21:05'),(264,'PROJECT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/projects','chaine',0,NULL,'2019-01-21 18:21:05'),(265,'PROJECT_TASK_ADDON_PDF',1,'','chaine',0,'Name of PDF/ODT tasks manager class','2019-01-21 18:21:05'),(266,'PROJECT_TASK_ADDON',1,'mod_task_simple','chaine',0,'Name of Numbering Rule task manager class','2019-01-21 18:21:05'),(267,'PROJECT_TASK_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/tasks','chaine',0,NULL,'2019-01-21 18:21:05'),(268,'PROJECT_USE_OPPORTUNITIES',1,'1','chaine',0,NULL,'2019-01-21 18:21:05'),(269,'MAIN_DELAY_PROJECT_TO_CLOSE',1,'7','chaine',0,NULL,'2019-01-21 18:21:05'),(270,'MAIN_DELAY_TASKS_TODO',1,'7','chaine',0,NULL,'2019-01-21 18:21:05'),(271,'MAIN_MODULE_AGENDA',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"::1\"}','2019-01-21 18:21:13'),(272,'MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(273,'MAIN_AGENDA_ACTIONAUTO_COMPANY_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(274,'MAIN_AGENDA_ACTIONAUTO_PROPAL_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(275,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_SIGNED',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(276,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_REFUSED',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(277,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(278,'MAIN_AGENDA_ACTIONAUTO_PROPAL_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(279,'MAIN_AGENDA_ACTIONAUTO_ORDER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(280,'MAIN_AGENDA_ACTIONAUTO_ORDER_CLOSE',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(281,'MAIN_AGENDA_ACTIONAUTO_ORDER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-01-21 18:21:13'),(282,'MAIN_AGENDA_ACTIONAUTO_ORDER_CANCEL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(283,'MAIN_AGENDA_ACTIONAUTO_ORDER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(284,'MAIN_AGENDA_ACTIONAUTO_BILL_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(285,'MAIN_AGENDA_ACTIONAUTO_BILL_PAYED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(286,'MAIN_AGENDA_ACTIONAUTO_BILL_CANCEL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(287,'MAIN_AGENDA_ACTIONAUTO_BILL_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(288,'MAIN_AGENDA_ACTIONAUTO_BILL_UNVALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(289,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(290,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(291,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_SIGNED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(292,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_REFUSED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(293,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(294,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_APPROVE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(295,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SUBMIT',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(296,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_RECEIVE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(297,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_REFUSE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(298,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(299,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(300,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(301,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_UNVALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(302,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_PAYED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(303,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(304,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_CANCELED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(305,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(306,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(307,'MAIN_AGENDA_ACTIONAUTO_SHIPPING_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(308,'MAIN_AGENDA_ACTIONAUTO_SHIPPING_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(309,'MAIN_AGENDA_ACTIONAUTO_MEMBER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(310,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(311,'MAIN_AGENDA_ACTIONAUTO_MEMBER_MODIFY',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(312,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_CREATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(313,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_MODIFY',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(314,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_DELETE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(315,'MAIN_AGENDA_ACTIONAUTO_MEMBER_RESILIATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(316,'MAIN_AGENDA_ACTIONAUTO_MEMBER_DELETE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(317,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(318,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_MODIFY',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(319,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(320,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_UNBILLED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(321,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_REOPEN',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(322,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(323,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_CREATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(324,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_MODIFY',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(325,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_DELETE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(326,'MAIN_AGENDA_ACTIONAUTO_PROJECT_CREATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(327,'MAIN_AGENDA_ACTIONAUTO_PROJECT_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(328,'MAIN_AGENDA_ACTIONAUTO_PROJECT_MODIFY',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(329,'MAIN_AGENDA_ACTIONAUTO_PROJECT_DELETE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(330,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_CREATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(331,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_VALIDATE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(332,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_APPROVE',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(333,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_PAYED',1,'1','chaine',0,NULL,'2019-01-21 18:21:14'),(334,'MAIN_MODULE_RESOURCE',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"::1\"}','2019-01-21 18:21:23'),(335,'MAIN_MODULE_HOLIDAY',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"::1\"}','2019-01-21 18:37:03'),(336,'PRODUIT_LIMIT_SIZE',1,'1000','chaine',0,'','2019-01-29 09:28:42'),(337,'PRODUCT_PRICE_UNIQ',1,'0','chaine',0,'','2019-01-29 09:28:42'),(338,'PRODUIT_MULTIPRICES',1,'1','chaine',0,'','2019-01-29 09:28:42'),(339,'PRODUIT_CUSTOMER_PRICES',1,'0','chaine',0,'','2019-01-29 09:28:42'),(340,'PRODUIT_SOUSPRODUITS',1,'1','chaine',0,'','2019-01-29 09:28:43'),(341,'PRODUIT_DESC_IN_FORM',1,'0','chaine',0,'','2019-01-29 09:28:43'),(342,'PRODUIT_USE_SEARCH_TO_SELECT',1,'0','chaine',0,'','2019-01-29 09:28:43'),(344,'FACTURE_RIB_NUMBER',1,'1','chaine',0,'','2019-01-29 18:08:56'),(345,'FACTURE_CHQ_NUMBER',1,'-1','chaine',0,'','2019-01-29 18:08:56'),(351,'PROPALE_VALIDITY_DURATION',1,'30','chaine',0,'','2019-03-11 10:15:05'),(354,'MAIN_MODULE_MULTICURRENCY',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"::1\"}','2019-03-19 18:17:43'),(356,'MULTICURRENCY_USE_RATE_ON_DOCUMENT_DATE',1,'1','chaine',0,'','2019-03-19 18:22:27'),(363,'MAIN_MAX_DECIMALS_UNIT',1,'0','chaine',0,'','2019-03-25 16:46:23'),(364,'MAIN_MAX_DECIMALS_TOT',1,'2','chaine',0,'','2019-03-25 16:46:23'),(365,'MAIN_MAX_DECIMALS_SHOWN',1,'2','chaine',0,'','2019-03-25 16:46:23'),(381,'MAIN_MODULE_ECM',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"192.168.1.4\"}','2019-05-11 13:37:30'),(382,'ECM_AUTO_TREE_ENABLED',1,'1','chaine',0,'Auto tree is enabled by default','2019-05-11 13:37:30'),(383,'MAIN_INFO_SOCIETE_COUNTRY',1,'108:GN:Guinée','chaine',0,'','2019-05-11 16:05:38'),(384,'MAIN_INFO_SOCIETE_NOM',1,'MT-Solutions','chaine',0,'','2019-05-11 16:05:39'),(385,'MAIN_INFO_SOCIETE_ADDRESS',1,'Quartier Almamya KALOUM\r\nImmeuble Airwell 4ème étage','chaine',0,'','2019-05-11 16:05:39'),(386,'MAIN_INFO_SOCIETE_TOWN',1,'CONAKRY','chaine',0,'','2019-05-11 16:05:39'),(387,'MAIN_INFO_SOCIETE_STATE',1,'0','chaine',0,'','2019-05-11 16:05:39'),(388,'MAIN_MONNAIE',1,'GNF','chaine',0,'','2019-05-11 16:05:39'),(389,'MAIN_INFO_SOCIETE_TEL',1,'00244623646455','chaine',0,'','2019-05-11 16:05:39'),(390,'MAIN_INFO_SOCIETE_MAIL',1,'callcenter@mt-solutions.africa','chaine',0,'','2019-05-11 16:05:39'),(391,'MAIN_INFO_SOCIETE_WEB',1,'www.mt-solutions.africa','chaine',0,'','2019-05-11 16:05:39'),(392,'MAIN_INFO_SOCIETE_LOGO',1,'logo-mt.jpg','chaine',0,'','2019-05-11 16:05:39'),(393,'MAIN_INFO_SOCIETE_LOGO_SMALL',1,'logo-mt_small.jpg','chaine',0,'','2019-05-11 16:05:39'),(394,'MAIN_INFO_SOCIETE_LOGO_MINI',1,'logo-mt_mini.jpg','chaine',0,'','2019-05-11 16:05:40'),(395,'MAIN_INFO_SOCIETE_FORME_JURIDIQUE',1,'0','chaine',0,'','2019-05-11 16:05:40'),(396,'MAIN_INFO_SIREN',1,'RCCM : GC-KAL/060.134A/2015','chaine',0,'','2019-05-11 16:05:40'),(397,'MAIN_INFO_SIRET',1,'NIF : 369750369','chaine',0,'','2019-05-11 16:05:40'),(399,'SOCIETE_FISCAL_MONTH_START',1,'1','chaine',0,'','2019-05-11 16:05:40'),(400,'FACTURE_TVAOPTION',1,'1','chaine',0,'','2019-05-11 16:05:40'),(401,'FACTURE_LOCAL_TAX1_OPTION',1,'localtax1off','chaine',0,'','2019-05-11 16:05:40'),(402,'MAIN_DISABLE_ALL_MAILS',1,'0','chaine',0,'','2019-05-11 16:16:29'),(403,'MAIN_MAIL_ENABLED_USER_DEST_SELECT',1,'1','chaine',0,'','2019-05-11 16:16:29'),(404,'MAIN_MAIL_SENDMODE',1,'swiftmailer','chaine',0,'','2019-05-11 16:16:29'),(405,'MAIN_MAIL_SMTP_PORT',1,'587','chaine',0,'','2019-05-11 16:16:29'),(406,'MAIN_MAIL_SMTP_SERVER',1,'mail.infosolus.info','chaine',0,'','2019-05-11 16:16:30'),(407,'MAIN_MAIL_SMTPS_ID',1,'info@mt-solutions.africa','chaine',0,'','2019-05-11 16:16:30'),(408,'MAIN_MAIL_SMTPS_PW',1,'9r431hqi','chaine',0,'','2019-05-11 16:16:30'),(409,'MAIN_MAIL_EMAIL_TLS',1,'0','chaine',0,'','2019-05-11 16:16:30'),(410,'MAIN_MAIL_EMAIL_STARTTLS',1,'1','chaine',0,'','2019-05-11 16:16:30'),(411,'MAIN_MAIL_EMAIL_DKIM_ENABLED',1,'0','chaine',0,'','2019-05-11 16:16:30'),(412,'MAIN_MAIL_EMAIL_FROM',1,'info@mt-solutions.africa','chaine',0,'','2019-05-11 16:16:30'),(413,'MAIN_MAIL_ERRORS_TO',1,'info@mt-solutions.africa','chaine',0,'','2019-05-11 16:16:30'),(414,'MAIN_MAIL_AUTOCOPY_TO',1,'cedric@mt-solutions.africa','chaine',0,'','2019-05-11 16:16:30'),(415,'MAIN_MAIL_DEFAULT_FROMTYPE',1,'user','chaine',0,'','2019-05-11 16:16:30'),(417,'INVOICE_SUPPLIER_ADDON_PDF',1,'canelle','chaine',0,'','2019-07-02 19:04:25'),(418,'MAIN_MODULE_BARCODE',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"192.168.1.13\"}','2019-07-02 19:16:04'),(440,'TAX_MODE',1,'0','chaine',0,'','2019-07-02 19:33:27'),(441,'TAX_MODE_SELL_PRODUCT',1,'invoice','chaine',0,'','2019-07-02 19:33:27'),(442,'TAX_MODE_BUY_PRODUCT',1,'invoice','chaine',0,'','2019-07-02 19:33:27'),(443,'TAX_MODE_SELL_SERVICE',1,'payment','chaine',0,'','2019-07-02 19:33:27'),(444,'TAX_MODE_BUY_SERVICE',1,'payment','chaine',0,'','2019-07-02 19:33:27'),(445,'MAIN_INFO_TVAINTRA',1,'3J','chaine',0,'','2019-07-02 19:33:27'),(446,'MAIN_INFO_VAT_RETURN',1,'1','chaine',0,'','2019-07-02 19:33:27'),(447,'MAIN_MODULE_ACCOUNTING',1,'1','string',0,'{\"authorid\":\"2\",\"ip\":\"192.168.1.13\"}','2019-07-02 19:34:06'),(448,'MAIN_COMPANY_CODE_ALWAYS_REQUIRED',1,'1','chaine',0,'With this constants on, third party code is always required whatever is numbering module behaviour','2019-07-02 19:34:06'),(449,'MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED',1,'1','chaine',0,'With this constants on, bank account number is always required','2019-07-02 19:34:06'),(450,'ACCOUNTING_ACCOUNT_SUSPENSE',1,'471','chaine',0,NULL,'2019-07-02 19:34:06'),(451,'ACCOUNTING_ACCOUNT_TRANSFER_CASH',1,'58','chaine',0,NULL,'2019-07-02 19:34:06'),(452,'CHARTOFACCOUNTS',1,'2','chaine',0,NULL,'2019-07-02 19:34:06'),(453,'ACCOUNTING_EXPORT_MODELCSV',1,'1','chaine',0,NULL,'2019-07-02 19:34:06'),(454,'ACCOUNTING_LENGTH_GACCOUNT',1,'','chaine',0,NULL,'2019-07-02 19:34:06'),(455,'ACCOUNTING_LENGTH_AACCOUNT',1,'','chaine',0,NULL,'2019-07-02 19:34:06'),(456,'ACCOUNTING_LIST_SORT_VENTILATION_TODO',1,'1','yesno',0,NULL,'2019-07-02 19:34:06'),(457,'ACCOUNTING_LIST_SORT_VENTILATION_DONE',1,'1','yesno',0,NULL,'2019-07-02 19:34:06'),(458,'ACCOUNTING_EXPORT_DATE',1,'%d%m%Y','chaine',0,NULL,'2019-07-02 19:34:06'),(459,'ACCOUNTING_EXPORT_SEPARATORCSV',1,',','string',0,NULL,'2019-07-02 19:34:06'),(460,'ACCOUNTING_EXPORT_FORMAT',1,'csv','chaine',0,NULL,'2019-07-02 19:34:06'),(461,'SYSTEMTOOLS_MYSQLDUMP',1,'/usr/bin/mysqldump','chaine',0,'','2019-07-02 19:37:38');

--
-- Table structure for table `llx_contrat`
--

CREATE TABLE `llx_contrat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_customer` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_supplier` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `date_contrat` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT '0',
  `mise_en_service` datetime DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_commercial_signature` int(11) DEFAULT NULL,
  `fk_commercial_suivi` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT '0',
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_mise_en_service` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
  KEY `idx_contrat_fk_soc` (`fk_soc`),
  KEY `idx_contrat_fk_user_author` (`fk_user_author`),
  CONSTRAINT `fk_contrat_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_contrat_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_contrat`
--


--
-- Table structure for table `llx_contrat_extrafields`
--

CREATE TABLE `llx_contrat_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contrat_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_contrat_extrafields`
--


--
-- Table structure for table `llx_contratdet`
--

CREATE TABLE `llx_contratdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_contrat` int(11) NOT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `statut` smallint(6) DEFAULT '0',
  `label` text COLLATE utf8_unicode_ci,
  `description` text COLLATE utf8_unicode_ci,
  `fk_remise_except` int(11) DEFAULT NULL,
  `date_commande` datetime DEFAULT NULL,
  `date_ouverture_prevue` datetime DEFAULT NULL,
  `date_ouverture` datetime DEFAULT NULL,
  `date_fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `vat_src_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double NOT NULL,
  `remise_percent` double DEFAULT '0',
  `subprice` double(24,8) DEFAULT '0.00000000',
  `price_ht` double DEFAULT NULL,
  `remise` double DEFAULT '0',
  `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 '1',
  `info_bits` int(11) DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT NULL,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT '0',
  `fk_user_ouverture` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `commentaire` text COLLATE utf8_unicode_ci,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
  KEY `idx_contratdet_fk_product` (`fk_product`),
  KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
  KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
  KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`),
  KEY `fk_contratdet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_contratdet_fk_contrat` FOREIGN KEY (`fk_contrat`) REFERENCES `llx_contrat` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_contratdet`
--


--
-- Table structure for table `llx_contratdet_extrafields`
--

CREATE TABLE `llx_contratdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_contratdet_extrafields`
--


--
-- Table structure for table `llx_contratdet_log`
--

CREATE TABLE `llx_contratdet_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_contratdet` int(11) NOT NULL,
  `date` datetime NOT NULL,
  `statut` smallint(6) NOT NULL,
  `fk_user_author` int(11) NOT NULL,
  `commentaire` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
  KEY `idx_contratdet_log_date` (`date`),
  CONSTRAINT `fk_contratdet_log_fk_contratdet` FOREIGN KEY (`fk_contratdet`) REFERENCES `llx_contratdet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_contratdet_log`
--


--
-- Table structure for table `llx_cronjob`
--

CREATE TABLE `llx_cronjob` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `jobtype` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `label` text COLLATE utf8_unicode_ci NOT NULL,
  `command` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `classesname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `objectname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `methodename` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `params` text COLLATE utf8_unicode_ci,
  `md5params` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `module_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `priority` int(11) DEFAULT '0',
  `datelastrun` datetime DEFAULT NULL,
  `datenextrun` datetime DEFAULT NULL,
  `datestart` datetime DEFAULT NULL,
  `dateend` datetime DEFAULT NULL,
  `datelastresult` datetime DEFAULT NULL,
  `lastresult` text COLLATE utf8_unicode_ci,
  `lastoutput` text COLLATE utf8_unicode_ci,
  `unitfrequency` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '3600',
  `frequency` int(11) NOT NULL DEFAULT '0',
  `maxrun` int(11) NOT NULL DEFAULT '0',
  `nbrun` int(11) DEFAULT NULL,
  `autodelete` int(11) DEFAULT '0',
  `status` int(11) NOT NULL DEFAULT '1',
  `processing` int(11) NOT NULL DEFAULT '0',
  `test` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_mailing` int(11) DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `libname` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_cronjob_status` (`status`),
  KEY `idx_cronjob_datelastrun` (`datelastrun`),
  KEY `idx_cronjob_datenextrun` (`datenextrun`),
  KEY `idx_cronjob_datestart` (`datestart`),
  KEY `idx_cronjob_dateend` (`dateend`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_cronjob`
--

INSERT INTO `llx_cronjob` (`rowid`, `tms`, `datec`, `jobtype`, `label`, `command`, `classesname`, `objectname`, `methodename`, `params`, `md5params`, `module_name`, `priority`, `datelastrun`, `datenextrun`, `datestart`, `dateend`, `datelastresult`, `lastresult`, `lastoutput`, `unitfrequency`, `frequency`, `maxrun`, `nbrun`, `autodelete`, `status`, `processing`, `test`, `fk_user_author`, `fk_user_mod`, `fk_mailing`, `note`, `libname`, `entity`) VALUES (1,'2019-01-14 15:35:45','2019-01-14 15:35:45','method','RecurringInvoices',NULL,'compta/facture/class/facture-rec.class.php','FactureRec','createRecurringInvoices',NULL,NULL,'facture',50,NULL,NULL,'2019-01-14 15:35:45',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,1,0,'$conf->facture->enabled',NULL,NULL,NULL,'Generate recurring invoices',NULL,1),(2,'2019-01-14 15:39:26','2019-01-14 15:39:26','method','PurgeDeleteTemporaryFilesShort',NULL,'core/class/utils.class.php','Utils','purgeFiles',NULL,NULL,'cron',50,NULL,NULL,'2019-01-14 15:39:26',NULL,NULL,NULL,NULL,'604800',2,0,NULL,0,1,0,'1',NULL,NULL,NULL,'PurgeDeleteTemporaryFiles',NULL,0),(3,'2019-06-24 12:13:23','2019-01-14 15:39:26','method','MakeLocalDatabaseDumpShort','','core/class/utils.class.php','Utils','dumpDatabase','none,auto,1,auto,10','','cron',20,'2019-06-06 11:51:01','2019-06-25 00:00:00','2019-06-06 00:00:00',NULL,'2019-06-06 11:51:01','0','','86400',1,0,6,0,1,0,'1',NULL,1,NULL,'MakeLocalDatabaseDump',NULL,0),(4,'2019-01-14 15:39:32','2019-01-14 15:39:32','method','CompressSyslogs',NULL,'core/class/utils.class.php','Utils','compressSyslogs',NULL,NULL,'syslog',50,NULL,NULL,'2019-01-14 15:39:32',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,0,0,'1',NULL,NULL,NULL,'Compress and archive log files. Warning: batch must be run with same account than your web server to avoid to get log files with different owner than required by web server. Another solution is to set web server Operating System group as the group of directory documents and set GROUP permission \"rws\" on this directory so log files will always have the group and permissions of the web server Operating System group',NULL,1),(5,'2019-01-21 18:21:14','2019-01-21 18:21:14','method','SendEmailsReminders',NULL,'comm/action/class/actioncomm.class.php','ActionComm','sendEmailsReminder',NULL,NULL,'agenda',10,NULL,NULL,'2019-01-21 18:21:14',NULL,NULL,NULL,NULL,'60',10,0,NULL,0,1,0,'$conf->agenda->enabled',NULL,NULL,NULL,'SendEMailsReminder',NULL,1);

--
-- Table structure for table `llx_default_values`
--

CREATE TABLE `llx_default_values` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `user_id` int(11) NOT NULL DEFAULT '0',
  `page` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `param` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `value` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_default_values` (`type`,`entity`,`user_id`,`page`,`param`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_default_values`
--


--
-- Table structure for table `llx_deplacement`
--

CREATE TABLE `llx_deplacement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dated` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `type` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `fk_statut` int(11) NOT NULL DEFAULT '1',
  `km` double DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT '0',
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_deplacement`
--


--
-- Table structure for table `llx_document_model`
--

CREATE TABLE `llx_document_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `type` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_document_model`
--

INSERT INTO `llx_document_model` (`rowid`, `nom`, `entity`, `type`, `libelle`, `description`) VALUES (1,'azur',1,'propal',NULL,NULL),(2,'muscadet',1,'order_supplier',NULL,NULL),(3,'aurore',1,'supplier_proposal',NULL,NULL),(4,'crabe',1,'invoice',NULL,NULL),(5,'Standard',1,'stock',NULL,NULL),(6,'StdMouvement',1,'mouvement',NULL,NULL),(7,'',1,'task',NULL,NULL),(8,'beluga',1,'project',NULL,NULL),(9,'baleine',1,'project',NULL,NULL),(11,'canelle',1,'invoice_supplier',NULL,NULL);

--
-- Table structure for table `llx_don`
--

CREATE TABLE `llx_don` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `datedon` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `fk_payment` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `firstname` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lastname` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `societe` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `zip` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `town` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_country` int(11) NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `phone` varchar(24) COLLATE utf8_unicode_ci DEFAULT NULL,
  `phone_mobile` varchar(24) COLLATE utf8_unicode_ci DEFAULT NULL,
  `public` smallint(6) NOT NULL DEFAULT '1',
  `fk_projet` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_don`
--


--
-- Table structure for table `llx_don_extrafields`
--

CREATE TABLE `llx_don_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_don_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_don_extrafields`
--


--
-- Table structure for table `llx_ecm_directories`
--

CREATE TABLE `llx_ecm_directories` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_parent` int(11) DEFAULT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `cachenbofdoc` int(11) NOT NULL DEFAULT '0',
  `fullpath` varchar(750) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_c` datetime DEFAULT NULL,
  `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_c` int(11) DEFAULT NULL,
  `fk_user_m` int(11) DEFAULT NULL,
  `acl` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ecm_directories` (`label`,`fk_parent`,`entity`),
  KEY `idx_ecm_directories_fk_user_c` (`fk_user_c`),
  KEY `idx_ecm_directories_fk_user_m` (`fk_user_m`),
  CONSTRAINT `fk_ecm_directories_fk_user_c` FOREIGN KEY (`fk_user_c`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_ecm_directories_fk_user_m` FOREIGN KEY (`fk_user_m`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_ecm_directories`
--

INSERT INTO `llx_ecm_directories` (`rowid`, `label`, `entity`, `fk_parent`, `description`, `cachenbofdoc`, `fullpath`, `extraparams`, `date_c`, `date_m`, `fk_user_c`, `fk_user_m`, `acl`) VALUES (1,'Documents',1,0,'',0,NULL,NULL,'2019-05-11 13:38:34','2019-05-11 13:38:34',2,NULL,NULL),(2,'Papier entete',1,1,'',1,NULL,NULL,'2019-05-11 13:38:51','2019-05-11 13:39:37',2,NULL,NULL);

--
-- Table structure for table `llx_ecm_files`
--

CREATE TABLE `llx_ecm_files` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `share` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `filepath` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `filename` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `src_object_type` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `src_object_id` int(11) DEFAULT NULL,
  `fullpath_orig` varchar(750) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `keywords` varchar(750) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cover` text COLLATE utf8_unicode_ci,
  `position` int(11) DEFAULT NULL,
  `gen_or_uploaded` varchar(12) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_c` datetime DEFAULT NULL,
  `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_c` int(11) DEFAULT NULL,
  `fk_user_m` int(11) DEFAULT NULL,
  `acl` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ecm_files` (`filepath`,`filename`,`entity`),
  KEY `idx_ecm_files_label` (`label`)
) ENGINE=InnoDB AUTO_INCREMENT=196 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_ecm_files`
--

INSERT INTO `llx_ecm_files` (`rowid`, `ref`, `label`, `share`, `entity`, `filepath`, `filename`, `src_object_type`, `src_object_id`, `fullpath_orig`, `description`, `keywords`, `cover`, `position`, `gen_or_uploaded`, `extraparams`, `date_c`, `date_m`, `fk_user_c`, `fk_user_m`, `acl`) VALUES (2,'1627fe73ac4d39c7af90e0ec9e8d29b5','10e9c9bc77fd539180c78b898285948e',NULL,1,'facture/FA1901-0001','FA1901-0001.pdf','facture',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 17:34:54','2019-05-16 12:18:43',2,2,NULL),(3,'302886adbb699ac7cf9868cc3096d897','0ca37dc2a1bce3c0758d0da2978f14f1',NULL,1,'facture/(PROV3)','(PROV3).pdf','facture',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:07:09','2019-01-16 18:09:30',2,2,NULL),(4,'dc6418a36e54e9e949533db997b03752','9d9926618c8e3e8c15cc9e58d9ee9fbb',NULL,1,'facture/(PROV4)','(PROV4).pdf','facture',4,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:14:26','2019-01-16 18:14:26',2,NULL,NULL),(6,'22b27981a6c8552777f5cb2c32da48e2','62dc3862e5823475fc1ccc37be894eaf',NULL,1,'facture/FA1901-0002','FA1901-0002.pdf','facture',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:18:08','2019-04-10 16:31:41',2,2,NULL),(7,'e9419ff6da311011c723413af54e95e6','dc99b1b350fd6db5d8111c14ad338e02',NULL,1,'facture/(PROV5)','(PROV5).pdf','facture',5,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:31:47','2019-01-18 12:43:47',2,2,NULL),(8,'bf3f95620ffc517e238165ea18328d02','d2452fb66a4f7bb5d07860fd3916aa8d',NULL,1,'facture/(PROV6)','(PROV6).pdf','facture',6,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:37:56','2019-01-18 12:37:56',2,NULL,NULL),(9,'13d9b3438fca48355b6449fde4ec1a12','72cf4236361fe945b6d1f9625761b2b7',NULL,1,'facture/FA1901-0003','FA1901-0003.pdf','facture',5,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:43:59','2019-05-16 11:05:50',2,2,NULL),(12,'2f19a4e7a8d8905acbd0bf2ae7b2b829','6f70666fa0c4ff1ceda03954993d68d9',NULL,1,'facture/(PROV8)','(PROV8).pdf','facture',8,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 13:01:11','2019-01-18 13:01:11',2,NULL,NULL),(14,'20fa90540a59ab48c402c3508e93d092','8b3e17f8c8d3005661304228432a2c50',NULL,1,'facture/AC1901-0001','AC1901-0001.pdf','facture',8,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 13:09:37','2019-01-29 09:46:14',2,2,NULL),(15,'e641b27c714d1bbeca1d58af03057009','1f1bcba6ca7ac966a8ad4666adc15975',NULL,1,'propale/(PROV1)','(PROV1).pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-01-19 16:07:38','2019-01-28 18:17:49',2,2,NULL),(16,'0f3d931f1ad2cac84be31571d4de9826','6640b19c06297b460a4a9284603e641a',NULL,1,'facture/(PROV9)','(PROV9).pdf','facture',9,'','',NULL,NULL,1,'generated',NULL,'2019-01-21 19:17:41','2019-01-21 19:22:15',2,2,NULL),(17,'8d67dfcd04d204a0010cc336e22a84a6','d1783051011aafa22e8c115b54ffbf74',NULL,1,'facture/FA1901-0004','FA1901-0004.pdf','facture',9,'','',NULL,NULL,1,'generated',NULL,'2019-01-21 19:25:23','2019-05-17 14:12:25',2,2,NULL),(18,'c980e95026769f41570cdba5c3f2bce1','60fc91f2802e3fa0d4796d814125a9d8',NULL,1,'propale/(PROV2)','(PROV2).pdf','propal',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-22 17:24:46','2019-01-22 17:40:47',2,2,NULL),(19,'9107f8f30a33ecfbaec82e0dd3ea212d','6b7aef987af46e187a9630b6405ccfff',NULL,1,'propale/PR1901-0001','PR1901-0001.pdf','propal',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-22 17:40:58','2019-02-22 18:26:36',2,2,NULL),(20,'d15b5f7ac05e1913d7a4e6d8f661f993','10b8152e22c76a2582faa262ede20cf6',NULL,1,'propale/(PROV3)','(PROV3).pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-26 16:36:37','2019-01-26 17:17:00',2,2,NULL),(21,'4934773998d73d40a7b70ca9e3a94077','33bfe36f2b30f652e6abb240bfb1bf56',NULL,1,'propale/PR1901-0002','PR1901-0002.pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-26 17:17:57','2019-03-01 13:22:45',2,2,NULL),(22,'63d72ca6d32b51d6ecb37bd5a8bf22b1','6f1909daa286e004008d4d516a5c06c1',NULL,1,'propale/PR1901-0003','PR1901-0003.pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-01-28 18:17:57','2019-02-07 17:55:10',2,2,NULL),(24,'f379c005e9c0d1df557ca625a7735c32','a3964f6a3bf75644fda8aa3f621fae89',NULL,1,'facture/(PROV10)','(PROV10).pdf','facture',10,'','',NULL,NULL,1,'generated',NULL,'2019-01-29 09:54:06','2019-01-29 09:54:06',2,NULL,NULL),(25,'af069576886e481f62241cdf6142b601','825c2ff80e38f1e882fb8dd50b86bfbf',NULL,1,'facture/AC1811-0002','AC1811-0002.pdf','facture',10,'','',NULL,NULL,1,'generated',NULL,'2019-01-29 09:54:41','2019-01-29 09:55:30',2,2,NULL),(26,'a4afb750ef58ad27329983f49c834f24','0323e27756a72e9d7d5c4c60cae9a4e4',NULL,1,'facture/(PROV11)','(PROV11).pdf','facture',11,'','',NULL,NULL,1,'generated',NULL,'2019-02-07 18:20:11','2019-02-07 18:20:11',2,NULL,NULL),(27,'5def22bddda5dd9194dcc09a3eb0d2c0','f469e5471a66617a5c5d1376e331edc6',NULL,1,'facture/AC1902-0003','AC1902-0003.pdf','facture',11,'','',NULL,NULL,1,'generated',NULL,'2019-02-07 18:21:05','2019-06-03 14:04:17',2,2,NULL),(28,'28699bf820e297705925d011e38bd97d','0cb32e8c98d7cf9d3b42fb4aec4938ff',NULL,1,'propale/(PROV4)','(PROV4).pdf','propal',4,'','',NULL,NULL,1,'generated',NULL,'2019-02-18 11:19:22','2019-02-18 18:12:19',2,2,NULL),(29,'b7128825a414f262a266404ee262e814','59105bce0fe42a84811796617a7d639a',NULL,1,'propale/PR1902-0004','PR1902-0004.pdf','propal',4,'','',NULL,NULL,1,'generated',NULL,'2019-02-18 18:14:52','2019-04-29 12:58:04',2,2,NULL),(30,'be5a67e42eee31914deb35ad889adfaa','b3d401aa52d5424d46ac1a14d1de5363',NULL,1,'facture/(PROV12)','(PROV12).pdf','facture',12,'','',NULL,NULL,1,'generated',NULL,'2019-02-21 18:29:08','2019-02-21 18:29:55',2,2,NULL),(31,'754ebec4087d6f26c1969c10f6d03cff','ae86ba3f7ff05b2a882e6fec502b8712',NULL,1,'facture/FA1902-0005','FA1902-0005.pdf','facture',12,'','',NULL,NULL,1,'generated',NULL,'2019-02-21 18:30:28','2019-02-21 18:30:28',2,NULL,NULL),(32,'5da6cbd0f179fe7b6e8b10b17ccd5229','a2016564c8a4611a0d4fc0ff12c448e9',NULL,1,'propale/(PROV5)','(PROV5).pdf','propal',5,'','',NULL,NULL,1,'generated',NULL,'2019-02-25 16:33:21','2019-02-25 16:55:52',2,2,NULL),(33,'bbeafb32089ceae13aa4574eb9380c76','10103b5e7ffd93a6c4969691bccaf63b',NULL,1,'propale/PR1902-0005','PR1902-0005.pdf','propal',5,'','',NULL,NULL,1,'generated',NULL,'2019-02-25 17:02:59','2019-02-25 17:16:59',2,2,NULL),(34,'a2a87276389294a83b40ed2f265ce6a7','e2a63db452076dd7dd6d8f13a33329af',NULL,1,'facture/(PROV13)','(PROV13).pdf','facture',13,'','',NULL,NULL,1,'generated',NULL,'2019-02-26 11:29:35','2019-02-26 11:29:35',2,NULL,NULL),(35,'2e8ebea6839309a5683e9b47da25464b','a5dd08345075af154f449de884a8f984',NULL,1,'facture/AC1902-0004','AC1902-0004.pdf','facture',13,'','',NULL,NULL,1,'generated',NULL,'2019-02-26 11:29:52','2019-06-03 14:05:43',2,2,NULL),(36,'6665ce5f7239976b6f62ffe8a1340446','6048d7598e9c3829b73134ea97076bae',NULL,1,'propale/(PROV6)','(PROV6).pdf','propal',6,'','',NULL,NULL,1,'generated',NULL,'2019-02-28 16:01:45','2019-02-28 16:54:44',2,2,NULL),(37,'dcd8593f1db5b7ef1b7629eba29edba3','67afd9e490edab4e10fde3a2ed84bbdd',NULL,1,'propale/PR1902-0006','PR1902-0006.pdf','propal',6,'','',NULL,NULL,1,'generated',NULL,'2019-02-28 16:55:05','2019-06-09 19:38:17',2,2,NULL),(38,'e87c33eb89b5e3a8700512caacefafa0','4e3499d204628f914fcdc5c7dbf35950',NULL,1,'facture/FA1903-0006','FA1903-0006.pdf','facture',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-01 13:23:48','2019-03-18 15:58:23',2,2,NULL),(39,'ab3cd136d9a8948014641676ce5ddef5','33eefccfc45ceff340182c3194c41258',NULL,1,'facture/(PROV15)','(PROV15).pdf','facture',15,'','',NULL,NULL,1,'generated',NULL,'2019-03-06 17:54:39','2019-03-06 17:59:07',2,2,NULL),(40,'6def405745fa5bbf98ea3ad708663764','87d792df5904ccc41e45949d27762b31',NULL,1,'facture/FA1903-0007','FA1903-0007.pdf','facture',15,'','',NULL,NULL,1,'generated',NULL,'2019-03-06 18:00:45','2019-03-13 17:07:08',2,2,NULL),(41,'7f83bd3eb0ad7979f64c54252acff5de','be13782dc74d07d0c68e89676302fd00',NULL,1,'propale/(PROV7)','(PROV7).pdf','propal',7,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 10:40:53','2019-03-08 10:41:28',2,2,NULL),(42,'541a3325241214f86669a1484881fae5','ca0f580b919124d34daf2e8100db676c',NULL,1,'propale/PR1903-0007','PR1903-0007.pdf','propal',7,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 10:43:09','2019-06-09 19:24:50',2,2,NULL),(43,'f74a2b25302b34561835876358cabd75','46623630a5f347a160e11c8056d2251d',NULL,1,'propale/(PROV8)','(PROV8).pdf','propal',8,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 16:51:42','2019-03-08 17:12:48',2,2,NULL),(44,'0b0edd60effc11cd3173595b258b6b01','ec6d7ecae4f7e25c4bf981cc7d307c39',NULL,1,'propale/PR1903-0008','PR1903-0008.pdf','propal',8,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 17:13:09','2019-03-25 17:17:23',2,2,NULL),(45,'87ba2fa7efb6d86bbf25ef5799b5084e','d1d431b3cc74af97cbf1d2100d685452',NULL,1,'propale/(PROV9)','(PROV9).pdf','propal',9,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 15:04:33','2019-03-11 15:06:57',2,2,NULL),(46,'a1609c545439483b8a61741b0ebbdec1','29f38d35b58dd05575d1896fd76ee5fd',NULL,1,'propale/PR1903-0009','PR1903-0009.pdf','propal',9,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 15:07:14','2019-03-13 19:48:00',2,2,NULL),(47,'c730ca773c96eaf0d82288e73f63b09e','6a36e090309b3f421f481c8047e0b921',NULL,1,'propale/(PROV10)','(PROV10).pdf','propal',10,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:08:53','2019-03-11 16:21:43',2,2,NULL),(48,'4008e7198d359084707fb4a3db85fad2','cf41c43d992846fc00083187863da651',NULL,1,'propale/PR1903-0010','PR1903-0010.pdf','propal',10,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:22:54','2019-03-11 16:25:00',2,2,NULL),(49,'6af4fb6782080483c60bbbda76a3f18b','57da861d75764a4f5d9c26bdfa21cb86',NULL,1,'propale/(PROV11)','(PROV11).pdf','propal',11,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:44:05','2019-03-11 17:06:26',2,2,NULL),(50,'203cb41e1035905fa2edaf40eb31fa66','f880e88a6a3d2f4563413cafaec436f0',NULL,1,'facture/(PROV16)','(PROV16).pdf','facture',16,'','',NULL,NULL,1,'generated',NULL,'2019-03-12 11:54:17','2019-03-12 11:59:12',2,2,NULL),(51,'0d9360cb4c8637315da961574466eed2','ace5e64a411b0e7e538d88eae7ab4d31',NULL,1,'facture/FA1903-0008','FA1903-0008.pdf','facture',16,'','',NULL,NULL,1,'generated',NULL,'2019-03-12 12:01:21','2019-05-16 12:02:03',2,2,NULL),(52,'e4c805aee1d7585153f43c1618977896','7312df423fcfe717270ad0041c18308a',NULL,1,'facture/FA1903-0009','FA1903-0009.pdf','facture',18,'','',NULL,NULL,1,'generated',NULL,'2019-03-13 11:09:59','2019-06-27 17:54:58',2,2,NULL),(53,'70d9e082d187d7c0ce9da0236812433c','1375535f7bd1073a436566b5ee83eba0',NULL,1,'facture/(PROV19)','(PROV19).pdf','facture',19,'','',NULL,NULL,1,'generated',NULL,'2019-03-18 14:46:41','2019-03-18 14:46:41',2,NULL,NULL),(54,'dbd25d1808e2abf2c5836cb4af151e2a','a5a116e25024472480f2ab1cc5fc3dd9',NULL,1,'facture/AC1903-0005','AC1903-0005.pdf','facture',19,'','',NULL,NULL,1,'generated',NULL,'2019-03-18 14:47:27','2019-07-01 13:50:42',2,2,NULL),(56,'628ee1d443d2f185ad3ee8835b27374e','e62e3e9848cfda91dbbb32103bef7f77',NULL,1,'facture/(PROV21)','(PROV21).pdf','facture',21,'','',NULL,NULL,1,'generated',NULL,'2019-03-20 17:08:20','2019-03-20 17:08:31',2,2,NULL),(57,'93df3840cbb3998fb7856cc5a9e5f4f9','05c786a5f9bed6adad95057132d1b0ad',NULL,1,'facture/FA1903-0010','FA1903-0010.pdf','facture',21,'','',NULL,NULL,1,'generated',NULL,'2019-03-20 17:08:59','2019-04-10 15:23:43',2,2,NULL),(58,'acd9269e5b5a3d707c52bb41359908be','2ee34317596fe2d05bce0f4b6b4b34da',NULL,1,'propale/(PROV12)','(PROV12).pdf','propal',12,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 14:54:39','2019-03-25 16:33:36',2,2,NULL),(59,'deda740eb3c86d5b7e60e363a97455c3','1d8300c10380e3a57f343a4b322c8379',NULL,1,'propale/(PROV13)','(PROV13).pdf','propal',13,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 16:37:36','2019-03-23 16:46:46',2,2,NULL),(60,'3f838230755bb395fb1923857eb3fffe','43e7bf7c5fbe477bffa06afe9fa5f1ad',NULL,1,'propale/PR1903-0011','PR1903-0011.pdf','propal',13,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 16:46:54','2019-05-27 17:23:09',2,2,NULL),(61,'2862af1576f8263dd7b0ac39792c4ebc','5982c3fcf0b130d5ff82b59b0ff0ff28',NULL,1,'propale/PR1903-0012','PR1903-0012.pdf','propal',12,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 16:46:38','2019-04-13 14:38:32',2,2,NULL),(62,'63e069cb68dad1dbee77d0d8f4000c18','625a764b73ddb5f8b0f8b4a830a475f9',NULL,1,'facture/(PROV22)','(PROV22).pdf','facture',22,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 17:27:39','2019-03-25 17:27:51',2,2,NULL),(63,'ff2a4319f4570a3bfe17c2524978e171','d177cb48140e237755de9ceea787a087',NULL,1,'facture/FA1903-0011','FA1903-0011.pdf','facture',22,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 17:29:19','2019-05-11 13:15:33',2,2,NULL),(64,'e76f230dbcf4ed5889a8b47845470123','608193dda5c3e465242f1ae5e6f54705',NULL,1,'propale/(PROV14)','(PROV14).pdf','propal',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-27 14:50:54','2019-03-27 15:24:49',2,2,NULL),(65,'585d65197349e394d1a0df46947772f6','acbcec82f1d393467713219d5a1c3208',NULL,1,'propale/PR1903-0013','PR1903-0013.pdf','propal',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-27 15:25:21','2019-04-13 14:55:10',2,2,NULL),(66,'192e7e8b6f32d1e83f6e7ee266cd94ba','dd76aba0261e5605f0e93d4e7d928a2d',NULL,1,'facture/(PROV23)','(PROV23).pdf','facture',23,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 17:11:28','2019-04-01 17:11:28',2,NULL,NULL),(67,'a3292a821ddb01b8b329a4951d254d58','5f296970a9f33e5dd28a664d24b2eeaa',NULL,1,'facture/AC1904-0006','AC1904-0006.pdf','facture',23,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 17:12:13','2019-04-10 15:04:38',2,2,NULL),(68,'b039a8feb294af7458dec7663d3b686f','80d33d6920458ff4ee4fb1fc94ddfcb9',NULL,1,'facture/(PROV24)','(PROV24).pdf','facture',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 19:20:01','2019-04-01 19:20:01',2,NULL,NULL),(69,'a57e3cb9b7fa28747f519f3bbf76b014','39da9c3de7c72414e8218f6761e057a3',NULL,1,'facture/FA1904-0012','FA1904-0012.pdf','facture',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 19:20:20','2019-04-01 19:20:20',2,NULL,NULL),(70,'d35111b6710556fa0fa833b44738b9dd','24ddc5b282b98aed51cf7c0da79835ca',NULL,1,'propale/(PROV15)','(PROV15).pdf','propal',15,'','',NULL,NULL,1,'generated',NULL,'2019-04-04 17:56:35','2019-04-04 18:53:07',2,2,NULL),(71,'9c6fb731594864700bd4f382fdb00dfa','db03616deeb84a3f05d8870520f4efad',NULL,1,'propale/PR1904-0014','PR1904-0014.pdf','propal',15,'','',NULL,NULL,1,'generated',NULL,'2019-04-04 19:10:16','2019-04-09 10:26:21',2,2,NULL),(72,'53119fc9e6c59a29738e1da8639b5c25','cd107e7168ba3aeb42623328172181b9',NULL,1,'propale/(PROV16)','(PROV16).pdf','propal',16,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 16:51:02','2019-04-08 16:56:41',2,2,NULL),(73,'6d8dea2d5f262e7663d7eecf1a5ef066','c177e089d83ea212022a44897ec3c0a0',NULL,1,'propale/PR1904-0015','PR1904-0015.pdf','propal',16,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 16:57:24','2019-06-09 19:40:55',2,2,NULL),(74,'c6839361a37c2318c4e2dea763b14c74','979c58b21c5a806f1721ef6e67468095',NULL,1,'facture/(PROV25)','(PROV25).pdf','facture',25,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:15:48','2019-04-08 17:16:08',2,2,NULL),(75,'ebd39d0b051ec58aef16d703b81a9732','b3fff000307a3d53f8e4b0b7aba5abf8',NULL,1,'facture/FA1904-0013','FA1904-0013.pdf','facture',25,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:16:33','2019-06-09 18:46:12',2,2,NULL),(76,'f0e011ce688c912e731d1ba92e0cde8d','30b7326c076ee16c6ca94dd57b6d1f7f',NULL,1,'propale/(PROV17)','(PROV17).pdf','propal',17,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:22:12','2019-04-08 17:26:27',2,2,NULL),(77,'c93da0ed06405f3c036c5a0244efd18c','513354adc44a8e12a8a236ce2c69f4a0',NULL,1,'propale/PR1904-0016','PR1904-0016.pdf','propal',17,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:27:32','2019-04-08 17:27:32',2,NULL,NULL),(78,'c524530834ee8a292095a173a09160e2','53588deb65b2f4ad88b105a74b808161',NULL,1,'facture/(PROV26)','(PROV26).pdf','facture',26,'','',NULL,NULL,1,'generated',NULL,'2019-04-10 17:33:20','2019-04-10 17:39:13',2,2,NULL),(79,'100914ae86a0ac20f1c32cd80ba7dbfc','fe8148b28e183a2caef582b253c362d6',NULL,1,'facture/FA1904-0014','FA1904-0014.pdf','facture',26,'','',NULL,NULL,1,'generated',NULL,'2019-04-10 17:43:35','2019-04-10 19:16:52',2,2,NULL),(80,'738d82d09b422448f9676bebef5903e6','2375bb71dab94ada58b078556f41f81c',NULL,1,'facture/(PROV27)','(PROV27).pdf','facture',27,'','',NULL,NULL,1,'generated',NULL,'2019-04-12 17:57:34','2019-04-12 17:59:07',2,2,NULL),(81,'3c95bf6f080e426787b23dd211034143','247b1077646ba253c1a777794175ab75',NULL,1,'facture/FA1904-0015','FA1904-0015.pdf','facture',27,'','',NULL,NULL,1,'generated',NULL,'2019-04-12 17:59:16','2019-06-19 17:08:17',2,6,NULL),(82,'3b5a92c57d5e747a51b4ff92e0edacfa','f50eb488b8b86f68e0c3324a6cc1c2e4',NULL,1,'propale/(PROV18)','(PROV18).pdf','propal',18,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:33:03','2019-04-13 14:35:24',2,2,NULL),(83,'692ecaceb9c4ae7a4e4908724e7d4229','dd4d5bec09929e59163b67c26d8c7c9d',NULL,1,'facture/AC1904-0007','AC1904-0007.pdf','facture',29,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:42:01','2019-04-15 18:15:47',2,2,NULL),(84,'bcf959cec575e75fd2da6e6516ae8dc0','8048a6ac91e9f8c7cb30f4b887331537',NULL,1,'facture/AC1904-0008','AC1904-0008.pdf','facture',30,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:55:52','2019-06-06 12:18:05',2,2,NULL),(85,'1ebcde0d432fb70bfbd1c5796323962d','208890618b99332b8fafb8f1c2388e4f',NULL,1,'propale/(PROV19)','(PROV19).pdf','propal',19,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 15:02:07','2019-04-15 11:48:21',2,2,NULL),(86,'af1081ded537b52489298eff7ef5c7d8','d5c115cbf1fd91159cd14baef11c0fdc',NULL,1,'propale/PR1904-0017','PR1904-0017.pdf','propal',19,'','',NULL,NULL,1,'generated',NULL,'2019-04-15 11:51:30','2019-06-24 09:33:35',2,2,NULL),(87,'26e9f4f40ebd88355e02305fde2c69d2','03b26bb3d323862e4d59dd984f5dba8c',NULL,1,'propale/(PROV20)','(PROV20).pdf','propal',20,'','',NULL,NULL,1,'generated',NULL,'2019-04-18 09:28:06','2019-04-24 11:11:33',2,2,NULL),(88,'7af0087c54108b5166569313f78feb0a','45d21a0ce4ce583a644fba9f1d8ea617',NULL,1,'propale/(PROV21)','(PROV21).pdf','propal',21,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 12:29:36','2019-04-24 12:53:05',2,2,NULL),(89,'60e0b00d844002c1f2e54a879745c061','e33daf3065fac47f1db6bc542a83a640',NULL,1,'propale/PR1904-0018','PR1904-0018.pdf','propal',21,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 13:51:45','2019-04-29 16:52:38',2,2,NULL),(90,'3dd8febb0e310f5119fc30fae269325c','d943a64746989aa1f0fb3687dfcdcf7c',NULL,1,'propale/PR1904-0019','PR1904-0019.pdf','propal',20,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 13:57:53','2019-06-21 14:35:17',2,2,NULL),(93,'fc3fb9d53cb3085d87e48e0c9c3e57e1','9426579cf8477089b628625844560683',NULL,1,'facture/AC1904-0009','AC1904-0009.pdf','facture',35,'','',NULL,NULL,1,'generated',NULL,'2019-04-26 16:07:34','2019-05-13 18:44:05',2,2,NULL),(94,'fcbd3df853bc3b56960b68ed3047b2e5','be0af4acfa745d9e5c48455b749556e4',NULL,1,'facture/AC1904-0010','AC1904-0010.pdf','facture',36,'','',NULL,NULL,1,'generated',NULL,'2019-04-29 12:58:49','2019-06-05 17:12:21',2,2,NULL),(95,'a297198660b9813b1ff156bd8cbfa351','a5821272df0c2a5d299900901210c210',NULL,1,'propale/(PROV24)','(PROV24).pdf','propal',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-30 12:04:30','2019-04-30 14:23:58',2,2,NULL),(96,'9c570d0acf43d53d2f773a9853f56162','aa896d8b6aaa5aa22d0335af322af719',NULL,1,'propale/PR1904-0020','PR1904-0020.pdf','propal',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-30 14:24:09','2019-05-22 14:42:51',2,2,NULL),(97,'c7bb2da7985ca55e4f4f2f812ebb0456','2cca7350617eb4637c25d8ed6fa6384f',NULL,1,'facture/(PROV37)','(PROV37).pdf','facture',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 15:16:39','2019-05-06 16:25:18',2,2,NULL),(98,'606cb4bee6fb83d3526624a0c2b94eba','48de43b91df1c83d572687eb886cdfc4',NULL,1,'facture/FA1905-0016','FA1905-0016.pdf','facture',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 16:36:42','2019-06-07 16:36:54',2,2,NULL),(99,'da859151a14edb006fa1b43fd64fae63','4685c3e3122d8ba85d6b8b2b1a2bf5fc',NULL,1,'propale/(PROV25)','(PROV25).pdf','propal',25,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 18:43:24','2019-05-06 18:49:38',2,2,NULL),(101,'c7aab337a54cb9561348efae4661a8cc','6a542b0af1a55c29cc4b4eddf017326e',NULL,1,'propale/(PROV26)','(PROV26).pdf','propal',26,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 18:55:49','2019-05-06 19:21:32',2,2,NULL),(102,'e0b238cc1757ee341f152c3e7acbcc62','2b7e487ee85037030a156743a496c50e',NULL,1,'propale/PR1905-0022','PR1905-0022.pdf','propal',26,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:21:40','2019-05-06 19:21:40',2,NULL,NULL),(103,'a254c2ed5e956a097a3acb63b4808f59','22cf31ec37a6e34547ccdeaaa97e7867',NULL,1,'propale/(PROV27)','(PROV27).pdf','propal',27,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:24:14','2019-05-06 19:28:10',2,2,NULL),(104,'daed872a2a89ed9421a6071bcc6a3403','5763fe225b5f1d8040a64980c3ebad95',NULL,1,'propale/PR1905-0023','PR1905-0023.pdf','propal',27,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:28:30','2019-05-22 13:09:03',2,2,NULL),(105,'ab869af2dc737a6c8464e1748d9de0dc','76be69bfd7e03d9c98ab3735e505eb8b',NULL,1,'facture/(PROV38)','(PROV38).pdf','facture',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-10 16:25:14','2019-05-10 16:26:24',2,2,NULL),(106,'2da81319357bc07bc37c9fb83134cab8','e6963bea9d83605c55adba2e58903825',NULL,1,'facture/FA1905-0017','FA1905-0017.pdf','facture',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-10 16:26:52','2019-05-10 16:26:52',2,NULL,NULL),(107,'b9f21636cea078d7f7a87e8e859a28e4','fc649ebbb3025ca9f86241340754bc9d',NULL,1,'ecm/Documents/Papier entete','ENTETE MTS 2018.docx',NULL,NULL,'ENTETE MTS 2018.docx','',NULL,NULL,1,'uploaded',NULL,'2019-05-11 13:39:37','2019-05-11 13:39:37',2,NULL,NULL),(108,'232d3c6ce9788d52fe681e098c0591d1','64f848aeb53f8bb08dc1410686a52b08',NULL,1,'propale/(PROV28)','(PROV28).pdf','propal',28,'','',NULL,NULL,1,'generated',NULL,'2019-05-11 16:06:12','2019-05-11 16:10:02',2,2,NULL),(109,'1d304a222433950a50938a79b8e05e18','c10005dde9912f46dd0348fe65ee4265',NULL,1,'propale/PR1905-0024','PR1905-0024.pdf','propal',28,'','',NULL,NULL,1,'generated',NULL,'2019-05-11 16:10:07','2019-06-09 19:29:30',2,2,NULL),(110,'b7f7b6fa1735e1a4216a7085ced2cedc','a196329cc988a862a40c785804014b36',NULL,1,'facture/FA1905-0018','FA1905-0018.pdf','facture',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 14:25:18','2019-05-15 18:17:07',2,2,NULL),(112,'bf864d1285c3991d85adac9e10925356','e6f158b36739ad11617d27e26eb64254',NULL,1,'propale/(PROV29)','(PROV29).pdf','propal',29,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 18:53:37','2019-05-13 19:06:59',2,2,NULL),(113,'59dbb30798f43472cbe4cc98fe5b2580','e86110fa3de1666d318720728856be06',NULL,1,'propale/PR1905-0025','PR1905-0025.pdf','propal',29,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 19:07:07','2019-05-13 19:13:53',2,2,NULL),(114,'edb71f6e83e9b4a2753e1c0dc2d34cd0','756e14db87030450399d2bf331a3bb98',NULL,1,'propale/(PROV30)','(PROV30).pdf','propal',30,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 10:04:21','2019-05-14 10:13:29',2,2,NULL),(115,'a2f3139cf12b2a3f1ca1b29f8fae448e','bf84ad18a68d3530dc632edc88546d42',NULL,1,'propale/PR1905-0026','PR1905-0026.pdf','propal',30,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 10:13:39','2019-07-01 13:21:21',2,2,NULL),(116,'6bdc2d0b8e14d8a06a0ee22ab3399d95','44604cb2d39c4168cfbba99818fd34f5',NULL,1,'propale/(PROV31)','(PROV31).pdf','propal',31,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 14:18:15','2019-05-14 15:28:08',2,2,NULL),(117,'f852b82e00eb1ee9f8ea4ad132199d32','6fab1cc198880725837305f1b574451e',NULL,1,'propale/PR1905-0027','PR1905-0027.pdf','propal',31,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 16:00:06','2019-05-14 17:17:58',2,2,NULL),(118,'5d4884e7e029f2cd02d8e8cdc6647e43','37cd8a3a7e9650614bea8b62b9d5b021',NULL,1,'facture/AC1905-0011','AC1905-0011.pdf','facture',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 17:30:51','2019-05-16 12:21:52',2,2,NULL),(120,'2df288964af497d81c40ff509090ae4f','b885729eb711d096333b890999e8a169',NULL,1,'propale/(PROV33)','(PROV33).pdf','propal',33,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:17:02','2019-05-14 18:22:07',2,2,NULL),(121,'592f5184dfc20a7a310556bf97b4f01c','25c2765299a6f1c456f6e8ecfa6cd092',NULL,1,'propale/PR1905-0028','PR1905-0028.pdf','propal',33,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:22:12','2019-05-14 18:22:40',2,2,NULL),(122,'ae8448050bdd19750f4773d648a05f3b','126924ae0e964711c42268c359d043aa',NULL,1,'facture/AC1905-0012','AC1905-0012.pdf','facture',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:23:08','2019-05-20 17:07:25',2,2,NULL),(123,'edbc50fd18b43aa87c3ef5a714c50ac6','7f47f60f64e2a523a9d450ce055cbc7e',NULL,1,'propale/(PROV34)','(PROV34).pdf','propal',34,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 17:34:44','2019-05-15 17:55:04',2,2,NULL),(124,'239f3a479da23b935d1d79f3c2bb5572','681a41ef905893e95bcba3a73903e28a',NULL,1,'propale/PR1905-0029','PR1905-0029.pdf','propal',34,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 17:55:47','2019-05-15 17:55:47',2,NULL,NULL),(125,'b6d2d8f28af54e97a6e39111e474d89c','4e99f21f33f1a03f686714aa15da08e5',NULL,1,'facture/(PROV43)','(PROV43).pdf','facture',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 18:06:18','2019-05-15 18:08:44',2,2,NULL),(126,'7c3a6019e31e8d759b19ce51548d6d91','9988a83ae9546217831b62a7a5e6d08a',NULL,1,'facture/FA1904-0019','FA1904-0019.pdf','facture',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 18:09:46','2019-05-15 18:12:25',2,2,NULL),(127,'6a71bd990867b997dba86c594af73051','71b735f399e04668a38e5367acf455a5',NULL,1,'facture/(PROV44)','(PROV44).pdf','facture',44,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:13:11','2019-05-16 11:15:37',2,2,NULL),(129,'6de4b71be0cf38c9ca4ea6e152ca467a','deeb59818d9ff8ab05cea3ed1fb24263',NULL,1,'facture/(PROV45)','(PROV45).pdf','facture',45,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:21:01','2019-05-16 11:36:03',2,2,NULL),(130,'ede8284f2e83a9f044406cec776a88ff','cb6922f3ae2fd9a7997592f98132448f',NULL,1,'facture/FA1911-0020','FA1911-0020.pdf','facture',45,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:36:20','2019-05-16 11:36:20',2,NULL,NULL),(131,'ccd85d5fb5816ca8a1046fcd6629b83f','812d926a1a6fa71ef84cf5a5df6e790e',NULL,1,'propale/(PROV35)','(PROV35).pdf','propal',35,'','',NULL,NULL,1,'generated',NULL,'2019-05-17 14:17:22','2019-05-17 14:21:07',2,2,NULL),(132,'bb5397581387d4dbf6fdc517649bd749','8294ff0eabbe5762338e594a3e7a9e9f',NULL,1,'propale/PR1905-0030','PR1905-0030.pdf','propal',35,'','',NULL,NULL,1,'generated',NULL,'2019-05-17 14:21:54','2019-06-09 18:43:07',2,2,NULL),(133,'1babcb6f626240183b36e18e4034d0b0','860f05f4c75a076b43decb8126216c28',NULL,1,'propale/(PROV36)','(PROV36).pdf','propal',36,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:26:22','2019-05-20 16:30:14',2,2,NULL),(134,'6f1c1fe93077660b66b2a0ff5312aa48','476f63e18fe51097d0b9faab57bd963d',NULL,1,'propale/PR1905-0031','PR1905-0031.pdf','propal',36,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:30:24','2019-06-09 19:08:56',2,2,NULL),(135,'4442ec40b14308f9a93c0a7922eacaab','f83fde28d78894ce2ebf14e99674ee3f',NULL,1,'propale/(PROV37)','(PROV37).pdf','propal',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:43:57','2019-05-20 17:00:14',2,2,NULL),(136,'329563a72c22314f1e14fb8e4a8c3556','fccda6281ef7b01ee36072f3bbd04f45',NULL,1,'propale/PR1905-0032','PR1905-0032.pdf','propal',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 17:00:18','2019-05-24 17:45:15',2,2,NULL),(137,'f82bf0f253c0f5a4b825d439d6926700','b6d2833b0278d003243274b909c62485',NULL,1,'facture/AC1905-0013','AC1905-0013.pdf','facture',46,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 17:12:53','2019-05-23 16:08:41',2,2,NULL),(138,'3088575e9dc1302cb24b8c8232fecf18','cc1d44f2e7d2366c353c3db073f0ced7',NULL,1,'propale/(PROV38)','(PROV38).pdf','propal',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-22 16:23:48','2019-05-22 16:24:13',2,2,NULL),(139,'bbbe12e9aa57fc083416f27d18acd32f','6fcd228a367db0d2927c719b1b4075e3',NULL,1,'propale/PR1905-0033','PR1905-0033.pdf','propal',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-22 16:29:27','2019-06-09 19:10:44',2,2,NULL),(140,'213620aa87f35ba024f91543b4ea0e7f','a96e2a031ccc52c7570dcce72ff92296',NULL,1,'propale/(PROV39)','(PROV39).pdf','propal',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-23 17:42:15','2019-05-23 17:48:44',2,2,NULL),(141,'9205d3fa28ec2d4f793c81b9569e7bef','14fa2039b262ca5407b4cadf89e049cc',NULL,1,'propale/PR1905-0034','PR1905-0034.pdf','propal',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-23 17:49:01','2019-05-24 16:41:36',2,2,NULL),(142,'1841237f9c5b8c77a4f4ccd5e5516898','e661fd6bc5b547f9bd6908c57678baa7',NULL,1,'propale/(PROV40)','(PROV40).pdf','propal',40,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 16:48:04','2019-05-24 17:32:41',2,2,NULL),(143,'3bf95c24cb10d416edf16eaa6282b3fd','c958e81010d0e61d1961e60b4a720ddd',NULL,1,'propale/PR1905-0035','PR1905-0035.pdf','propal',40,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:32:54','2019-05-24 17:32:54',2,NULL,NULL),(144,'9ed844196b4587488fc477fc596d880e','901b22eeddc292266815bd4986e6357d',NULL,1,'propale/(PROV41)','(PROV41).pdf','propal',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:35:39','2019-05-24 17:44:07',2,2,NULL),(145,'8e555faf659fbc0c6b974b6a69402a3b','12e029a48ecf735d6062afba3fb059b2',NULL,1,'propale/PR1905-0036','PR1905-0036.pdf','propal',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:44:15','2019-05-24 17:44:15',2,NULL,NULL),(146,'110bf6bd1cde963d1fc5a73a59f4b647','207b373dce3ed9c8ca2b5159d89a75e4',NULL,1,'facture/AC1905-0014','AC1905-0014.pdf','facture',48,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:46:41','2019-05-25 10:14:28',2,2,NULL),(147,'7e908e33db66dead34342157c2c69ec3','855466ed9f1f6fdbf0e0f51b0c0842f5',NULL,1,'propale/(PROV42)','(PROV42).pdf','propal',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 10:45:49','2019-05-27 11:20:43',2,2,NULL),(148,'621c17f2bdbbd1aefdd44d34f4aa8667','abad527802b427ef6906e028031ee016',NULL,1,'propale/PR1905-0037','PR1905-0037.pdf','propal',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 11:20:53','2019-05-27 11:20:53',2,NULL,NULL),(149,'86c73a7db8032997a3e5d1570d7a8a56','a740ba4830070bab6a62384c3e425f48',NULL,1,'facture/FA1905-0021','FA1905-0021.pdf','facture',49,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 17:24:03','2019-05-27 17:24:03',2,NULL,NULL),(150,'74211804d6f10ab8306919573cee5afe','8878108e73e4a33209925fec62f8162c',NULL,1,'propale/(PROV43)','(PROV43).pdf','propal',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-30 18:09:52','2019-05-30 18:17:51',2,2,NULL),(151,'835f4bc748db4b3771684713616f75ff','67b880e97d6e5c46b813703ab7ab6f58',NULL,1,'propale/PR1905-0038','PR1905-0038.pdf','propal',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-30 18:18:16','2019-05-31 18:29:18',2,2,NULL),(152,'893dceff16561719394678701f635f91','ca59145d08830dcdd8322f30f71c41f8',NULL,1,'facture/AC1905-0015','AC1905-0015.pdf','facture',50,'','',NULL,NULL,1,'generated',NULL,'2019-05-31 15:30:48','2019-06-03 14:49:26',2,2,NULL),(153,'b2a505be0e6f8ff031daecc6c978d096','3b098fe39d5a6ad1f63646520846ce75',NULL,1,'facture/AC1905-0016','AC1905-0016.pdf','facture',51,'','',NULL,NULL,1,'generated',NULL,'2019-05-31 18:30:08','2019-06-03 14:56:25',2,2,NULL),(154,'478bb396cf52dc5fb26c2d0fe61d90d6','807d523a75e0f94169a027d4a7dfb416',NULL,1,'facture/FA1906-0022','FA1906-0022.pdf','facture',52,'','',NULL,NULL,1,'generated',NULL,'2019-06-05 15:43:16','2019-07-01 13:50:54',2,2,NULL),(155,'6161a9d5289bd684aaff30620e0d548d','324d0d46a931aac6c284c3a132564cae',NULL,1,'facture/FA1906-0023','FA1906-0023.pdf','facture',53,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 18:43:31','2019-06-09 18:43:31',2,NULL,NULL),(156,'661b876bbc631dd630be4f2f9b434cd6','5af7465a24748c9ad865fe7294774efe',NULL,1,'propale/PR1906-0039','PR1906-0039.pdf','propal',18,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 18:51:15','2019-06-09 18:51:21',2,2,NULL),(157,'168dacfae50cb017d0a456788014f433','a0e018107dfa4f24b3b9f5be6ba4f9ac',NULL,1,'facture/(PROV54)','(PROV54).pdf','facture',54,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:03:01','2019-06-09 19:03:24',2,2,NULL),(158,'91826e54da62b38f9edffaa4e1938095','d678c485980385ec4eefdc120ef883ef',NULL,1,'facture/FA1906-0024','FA1906-0024.pdf','facture',54,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:04:00','2019-06-09 19:04:00',2,NULL,NULL),(159,'e6856fe47b85fc3427ef7044538c6bc1','12f979115f9069fd0bb5dbbfdb9121aa',NULL,1,'facture/(PROV55)','(PROV55).pdf','facture',55,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:04:53','2019-06-09 19:04:53',2,NULL,NULL),(160,'6620132db8d83dedd6355de4cb55f1f6','59f4bbef180ca06a789213471d08bfdb',NULL,1,'facture/FA1906-0025','FA1906-0025.pdf','facture',55,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:05:09','2019-07-02 16:02:40',2,2,NULL),(161,'bf9687c246e1468388c23937243db519','41fe6f0a95283e3bb724218651e1a117',NULL,1,'facture/AC1906-0017','AC1906-0017.pdf','facture',56,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:07:10','2019-06-21 14:33:25',2,2,NULL),(162,'ead36fd55fa816cc308f74bf199388f9','47caf0be54a0621e4f8e2bc4218ee158',NULL,1,'facture/(PROV57)','(PROV57).pdf','facture',57,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:10:17','2019-06-09 19:10:17',2,NULL,NULL),(163,'7e193f4270c963e35b7a3b5545b35bdb','3c33f606fdd6f785c42ca0cdfd8590f7',NULL,1,'facture/FA1906-0026','FA1906-0026.pdf','facture',57,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:10:24','2019-06-21 14:25:24',2,2,NULL),(164,'c28eb2322a2bddf6bcf026555bd7e1fd','40873d49d7faa8b740ca45283c194027',NULL,1,'facture/FA1906-0027','FA1906-0027.pdf','facture',58,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:11:19','2019-07-02 16:00:53',2,2,NULL),(166,'293a732f016716e796453584d1bfd003','03a770df943e93aaeaa5a1ae5609cb31',NULL,1,'facture/FA1906-0028','FA1906-0028.pdf','facture',60,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:29:52','2019-06-27 17:52:00',2,2,NULL),(167,'7fdeaf984203360f7bcdc5716cbf9f25','006e4b47bc712cd1de9678f2f7dc758b',NULL,1,'facture/FA1906-0029','FA1906-0029.pdf','facture',63,'','',NULL,NULL,1,'generated',NULL,'2019-06-09 19:41:15','2019-06-26 12:56:32',2,2,NULL),(168,'2f54b30b5ee1a58166b7a9bc208b0316','43d1eafffd23964fbb608a9b5d25cc20',NULL,1,'propale/(PROV44)','(PROV44).pdf','propal',44,'','',NULL,NULL,1,'generated',NULL,'2019-06-20 15:09:21','2019-06-20 15:09:21',7,NULL,NULL),(169,'744d20d45ed938882baa89c772933e83','9e6f312716fd1c4bc1e1857f0ef6cf01',NULL,1,'propale/(PROV45)','(PROV45).pdf','propal',45,'','',NULL,NULL,1,'generated',NULL,'2019-06-20 15:41:34','2019-06-20 16:23:59',7,7,NULL),(170,'1b22c21c85ccf8adcf3b4416116a2b0e','1e613a3d7fd7123732a9d71eceec319c',NULL,1,'propale/PR1906-0040','PR1906-0040.pdf','propal',45,'','',NULL,NULL,1,'generated',NULL,'2019-06-20 16:25:08','2019-06-29 16:03:56',7,7,NULL),(171,'cd5acc5377f0243a6ed8b598d8cab485','cbc0db8b9260218b6675c51d79053b2c',NULL,1,'facture/FA1906-0030','FA1906-0030.pdf','facture',64,'','',NULL,NULL,1,'generated',NULL,'2019-06-21 14:36:51','2019-06-21 14:36:56',2,2,NULL),(172,'ce3033a8b9992b03d5cca72d7870b4fa','abf01a3698b0be94792296718d5d9ed2',NULL,1,'propale/(PROV46)','(PROV46).pdf','propal',46,'','',NULL,NULL,1,'generated',NULL,'2019-06-22 13:11:09','2019-06-22 13:11:09',7,NULL,NULL),(173,'c50abcb1b5973bde3341f3d7c76e1d7a','ffae5dfe6d05146c2c0102158fac45f1',NULL,1,'facture/(PROV65)','(PROV65).pdf','facture',65,'','',NULL,NULL,1,'generated',NULL,'2019-06-26 13:13:24','2019-06-26 13:31:22',2,2,NULL),(174,'c165dddf90a9c60fc08cdaf05ddfc484','e14c820a46420d30035eebbb472cd91c',NULL,1,'facture/FA1906-0031','FA1906-0031.pdf','facture',65,'','',NULL,NULL,1,'generated',NULL,'2019-06-26 13:32:18','2019-06-27 11:19:40',2,2,NULL),(176,'271a5685332de739579bc645cdcb0491','d643fd4ba8ccb1dc3bfa61de8b3eb2cf',NULL,1,'propale/(PROV47)','(PROV47).pdf','propal',47,'','',NULL,NULL,1,'generated',NULL,'2019-06-29 15:41:46','2019-06-29 15:48:07',2,2,NULL),(177,'ca24b1aee8be2fd71c5d575a36d19979','cf94bf3adaff79c4bec31b8196dff5a1',NULL,1,'propale/PR1906-0041','PR1906-0041.pdf','propal',47,'','',NULL,NULL,1,'generated',NULL,'2019-06-29 15:48:16','2019-06-29 15:48:16',2,NULL,NULL),(178,'f8bd824daaf21ff7e5e815e4fbb2e57f','f364bdb16b6426da02edbcc5c37f149d',NULL,1,'facture/FA1905-0032','FA1905-0032.pdf','facture',70,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 13:24:27','2019-07-01 13:24:27',2,NULL,NULL),(181,'be6b17646eeeea1e1ca6ae9b005f3369','f56762c453a87e6ffce9226ac91a9853',NULL,1,'facture/(PROV73)','(PROV73).pdf','facture',73,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 13:48:21','2019-07-01 13:48:21',2,NULL,NULL),(183,'008eb3d2fda3c5e5d9e1d3d911c15617','ea51843f960e4d7e6a3b9ac76701c8bc',NULL,1,'facture/(PROV74)','(PROV74).pdf','facture',74,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 13:50:14','2019-07-01 13:50:14',2,NULL,NULL),(184,'e690f8f0799877cf3985e35176eeaa5e','4532bebc6bdd1c1d362385121e9ac5e3',NULL,1,'facture/AV1907-0001','AV1907-0001.pdf','facture',74,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 13:50:17','2019-07-01 13:50:17',2,NULL,NULL),(186,'7e60bf375c2241c29085aee261b45eee','021ffd21d3a618838bf3c09648db32f5',NULL,1,'propale/(PROV48)','(PROV48).pdf','propal',48,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 14:04:59','2019-07-01 14:12:10',2,2,NULL),(187,'d2cd0e32e46a67e66b2b6b1c9ac9473d','f16b4fbae61e49c47434e4fe10d54bbf',NULL,1,'propale/PR1907-0042','PR1907-0042.pdf','propal',48,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 14:12:37','2019-07-01 14:13:17',2,2,NULL),(188,'7ba352265a0681266f547d05cbf3f583','40acc52ec95515cca3043450941444b3',NULL,1,'propale/(PROV49)','(PROV49).pdf','propal',49,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 14:15:26','2019-07-01 14:17:48',2,2,NULL),(189,'b4a849a37f4eb0071be1ab4988f050c0','ccd767203f8e9b3b3ee2de2861f31f72',NULL,1,'propale/PR1907-0043','PR1907-0043.pdf','propal',49,'','',NULL,NULL,1,'generated',NULL,'2019-07-01 14:18:09','2019-07-01 14:18:09',2,NULL,NULL),(191,'3be09aeab2e78b415d6fdd08e42ad5dd','55902626aaed92e313c15eef4d9a8a11',NULL,1,'fournisseur/facture/1/1/(PROV311)','(PROV311).pdf','facture_fourn',311,'','',NULL,NULL,1,'generated',NULL,'2019-07-02 19:04:33','2019-07-02 19:05:01',5,5,NULL),(192,'8220cf74f9e399d8017c7c106d51c5c7','6474b296364cae55426a074d2a429576',NULL,1,'fournisseur/facture/9/8/SI1907-0256','SI1907-0256.pdf','facture_fourn',289,'','',NULL,NULL,1,'generated',NULL,'2019-07-02 19:04:47','2019-07-02 19:04:47',2,NULL,NULL),(193,'d33b9a531d1062fcd8f241ff8832f2ec','b82a39e79193c0f72776c9ec0fd82c20',NULL,1,'fournisseur/facture/1/1/SI1907-0272','SI1907-0272.pdf','facture_fourn',311,'','',NULL,NULL,1,'generated',NULL,'2019-07-02 19:05:07','2019-07-02 19:05:21',5,5,NULL),(194,'0e33f58b2e2519ef04809d6675eb3ffb','abbd5c5d9df4b09fbd84f5c28513036f',NULL,1,'fournisseur/facture/9/9/SI1907-0260','SI1907-0260.pdf','facture_fourn',299,'','',NULL,NULL,1,'generated',NULL,'2019-07-02 19:05:19','2019-07-02 19:05:19',2,NULL,NULL),(195,'1d609c76b4dac7b8901f89cf9a57a46d','07cd8619fec658b4351c0907b62c312d',NULL,1,'fournisseur/facture/1/9/SI1907-0258','SI1907-0258.pdf','facture_fourn',291,'','',NULL,NULL,1,'generated',NULL,'2019-07-02 19:06:03','2019-07-02 19:12:28',2,2,NULL);

--
-- Table structure for table `llx_element_contact`
--

CREATE TABLE `llx_element_contact` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datecreate` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT '5',
  `element_id` int(11) NOT NULL,
  `fk_c_type_contact` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
  KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
  KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_element_contact_fk_c_type_contact` FOREIGN KEY (`fk_c_type_contact`) REFERENCES `llx_c_type_contact` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_element_contact`
--

INSERT INTO `llx_element_contact` (`rowid`, `datecreate`, `statut`, `element_id`, `fk_c_type_contact`, `fk_socpeople`) VALUES (2,'2019-01-21 18:49:38',4,2,160,2),(4,'2019-01-21 19:02:51',4,4,160,2),(5,'2019-01-21 19:03:42',4,5,160,2),(6,'2019-01-29 10:05:09',4,6,160,2),(7,'2019-02-07 19:28:33',4,7,160,2),(8,'2019-03-08 16:49:55',4,8,160,2),(9,'2019-03-13 11:04:54',4,9,160,2),(10,'2019-03-18 14:44:25',4,10,160,2),(11,'2019-04-13 14:49:38',4,11,160,2),(12,'2019-06-06 17:49:33',4,12,160,2),(13,'2019-06-06 17:49:48',4,13,160,2),(14,'2019-06-07 12:44:53',4,14,160,2),(15,'2019-06-07 12:46:15',4,15,160,2),(16,'2019-06-07 14:40:46',4,16,160,6),(17,'2019-06-08 15:39:57',4,17,160,2),(18,'2019-06-11 09:34:05',4,18,160,6),(19,'2019-06-11 10:19:47',4,19,160,6),(20,'2019-06-11 14:16:39',4,20,160,6),(21,'2019-06-11 14:17:42',4,21,160,6),(22,'2019-06-11 14:18:45',4,22,160,6),(23,'2019-06-11 14:20:23',4,23,160,6),(24,'2019-06-11 14:21:40',4,24,160,6),(25,'2019-06-12 09:58:55',4,25,160,6),(26,'2019-06-12 10:04:12',4,26,160,6),(27,'2019-06-12 10:10:50',4,27,160,6),(28,'2019-06-17 16:07:28',4,28,160,6),(29,'2019-06-28 15:18:41',4,29,160,6),(30,'2019-06-28 15:26:17',4,30,160,6),(31,'2019-07-01 17:02:49',4,31,160,2);

--
-- Table structure for table `llx_element_element`
--

CREATE TABLE `llx_element_element` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_source` int(11) NOT NULL,
  `sourcetype` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
  KEY `idx_element_element_fk_target` (`fk_target`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_element_element`
--

INSERT INTO `llx_element_element` (`rowid`, `fk_source`, `sourcetype`, `fk_target`, `targettype`) VALUES (1,3,'propal',14,'facture'),(12,4,'propal',36,'facture'),(24,4,'propal',52,'facture'),(2,6,'propal',18,'facture'),(3,8,'propal',22,'facture'),(5,12,'propal',29,'facture'),(18,12,'propal',46,'facture'),(22,12,'propal',50,'facture'),(26,12,'propal',54,'facture'),(21,13,'propal',49,'facture'),(6,14,'propal',30,'facture'),(27,14,'propal',55,'facture'),(13,16,'propal',39,'facture'),(17,16,'propal',43,'facture'),(35,16,'propal',63,'facture'),(15,19,'propal',41,'facture'),(11,20,'propal',35,'facture'),(28,20,'propal',56,'facture'),(36,20,'propal',64,'facture'),(32,28,'propal',60,'facture'),(39,30,'propal',70,'facture'),(16,33,'propal',42,'facture'),(25,35,'propal',53,'facture'),(20,37,'propal',48,'facture'),(29,37,'propal',57,'facture'),(30,38,'propal',58,'facture'),(23,43,'propal',51,'facture');

--
-- Table structure for table `llx_element_resources`
--

CREATE TABLE `llx_element_resources` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `element_id` int(11) DEFAULT NULL,
  `element_type` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `resource_id` int(11) DEFAULT NULL,
  `resource_type` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `busy` int(11) DEFAULT NULL,
  `mandatory` int(11) DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_resources_idx1` (`resource_id`,`resource_type`,`element_id`,`element_type`),
  KEY `idx_element_element_element_id` (`element_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_element_resources`
--


--
-- Table structure for table `llx_entrepot`
--

CREATE TABLE `llx_entrepot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `entity` int(11) NOT NULL DEFAULT '1',
  `description` text COLLATE utf8_unicode_ci,
  `lieu` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `town` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `statut` tinyint(4) DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_parent` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_entrepot_label` (`ref`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_entrepot`
--

INSERT INTO `llx_entrepot` (`rowid`, `ref`, `datec`, `tms`, `entity`, `description`, `lieu`, `address`, `zip`, `town`, `fk_departement`, `fk_pays`, `statut`, `fk_user_author`, `model_pdf`, `import_key`, `fk_parent`) VALUES (1,'COLEAH','2019-07-02 19:21:49','2019-07-02 19:21:49',1,'','','Route du Niger','','CONAKRY',NULL,108,1,2,NULL,NULL,NULL);

--
-- Table structure for table `llx_establishment`
--

CREATE TABLE `llx_establishment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL,
  `town` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_state` int(11) DEFAULT '0',
  `fk_country` int(11) DEFAULT '0',
  `profid1` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `profid2` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `profid3` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `status` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_establishment`
--


--
-- Table structure for table `llx_event_element`
--

CREATE TABLE `llx_event_element` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_source` int(11) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_event_element`
--


--
-- Table structure for table `llx_events`
--

CREATE TABLE `llx_events` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `type` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `dateevent` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `description` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `ip` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `user_agent` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_events_dateevent` (`dateevent`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_events`
--


--
-- Table structure for table `llx_expedition`
--

CREATE TABLE `llx_expedition` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_int` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_customer` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `date_expedition` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `billed` smallint(6) DEFAULT '0',
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `size` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
  KEY `idx_expedition_fk_soc` (`fk_soc`),
  KEY `idx_expedition_fk_user_author` (`fk_user_author`),
  KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expedition_fk_shipping_method` (`fk_shipping_method`),
  CONSTRAINT `fk_expedition_fk_shipping_method` FOREIGN KEY (`fk_shipping_method`) REFERENCES `llx_c_shipment_mode` (`rowid`),
  CONSTRAINT `fk_expedition_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expedition`
--


--
-- Table structure for table `llx_expedition_extrafields`
--

CREATE TABLE `llx_expedition_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expedition_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expedition_extrafields`
--


--
-- Table structure for table `llx_expeditiondet`
--

CREATE TABLE `llx_expeditiondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expedition` int(11) NOT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `rang` int(11) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`),
  CONSTRAINT `fk_expeditiondet_fk_expedition` FOREIGN KEY (`fk_expedition`) REFERENCES `llx_expedition` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expeditiondet`
--


--
-- Table structure for table `llx_expeditiondet_batch`
--

CREATE TABLE `llx_expeditiondet_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expeditiondet` int(11) NOT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `batch` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `fk_origin_stock` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_fk_expeditiondet` (`fk_expeditiondet`),
  CONSTRAINT `fk_expeditiondet_batch_fk_expeditiondet` FOREIGN KEY (`fk_expeditiondet`) REFERENCES `llx_expeditiondet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expeditiondet_batch`
--


--
-- Table structure for table `llx_expeditiondet_extrafields`
--

CREATE TABLE `llx_expeditiondet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expeditiondet_extrafields`
--


--
-- Table structure for table `llx_expensereport`
--

CREATE TABLE `llx_expensereport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_number_int` int(11) DEFAULT NULL,
  `ref_ext` int(11) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `date_create` datetime NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_approve` datetime DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_validator` int(11) DEFAULT NULL,
  `fk_user_approve` int(11) DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `fk_statut` int(11) NOT NULL,
  `fk_c_paiement` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `note_public` text COLLATE utf8_unicode_ci,
  `note_private` text COLLATE utf8_unicode_ci,
  `detail_refuse` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `detail_cancel` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `integration_compta` int(11) DEFAULT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `model_pdf` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expensereport_uk_ref` (`ref`,`entity`),
  KEY `idx_expensereport_date_debut` (`date_debut`),
  KEY `idx_expensereport_date_fin` (`date_fin`),
  KEY `idx_expensereport_fk_statut` (`fk_statut`),
  KEY `idx_expensereport_fk_user_author` (`fk_user_author`),
  KEY `idx_expensereport_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expensereport_fk_user_approve` (`fk_user_approve`),
  KEY `idx_expensereport_fk_refuse` (`fk_user_approve`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expensereport`
--


--
-- Table structure for table `llx_expensereport_det`
--

CREATE TABLE `llx_expensereport_det` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expensereport` int(11) NOT NULL,
  `docnumber` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `fk_c_exp_tax_cat` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `comments` text COLLATE utf8_unicode_ci NOT NULL,
  `product_type` int(11) DEFAULT '-1',
  `qty` double NOT NULL,
  `value_unit` double NOT NULL,
  `remise_percent` double DEFAULT NULL,
  `vat_src_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_ht` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  `date` date NOT NULL,
  `info_bits` int(11) DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_facture` int(11) DEFAULT '0',
  `fk_code_ventilation` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `rule_warning_message` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expensereport_det`
--


--
-- Table structure for table `llx_expensereport_extrafields`
--

CREATE TABLE `llx_expensereport_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expensereport_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expensereport_extrafields`
--


--
-- Table structure for table `llx_expensereport_ik`
--

CREATE TABLE `llx_expensereport_ik` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_c_exp_tax_cat` int(11) NOT NULL DEFAULT '0',
  `fk_range` int(11) NOT NULL DEFAULT '0',
  `coef` double NOT NULL DEFAULT '0',
  `ikoffset` double NOT NULL DEFAULT '0',
  `active` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expensereport_ik`
--

INSERT INTO `llx_expensereport_ik` (`rowid`, `datec`, `tms`, `fk_c_exp_tax_cat`, `fk_range`, `coef`, `ikoffset`, `active`) VALUES (1,NULL,'2019-01-14 14:20:50',4,1,0.41,0,1),(2,NULL,'2019-01-14 14:20:50',4,2,0.244,824,1),(3,NULL,'2019-01-14 14:20:50',4,3,0.286,0,1),(4,NULL,'2019-01-14 14:20:50',5,4,0.493,0,1),(5,NULL,'2019-01-14 14:20:50',5,5,0.277,1082,1),(6,NULL,'2019-01-14 14:20:50',5,6,0.332,0,1),(7,NULL,'2019-01-14 14:20:50',6,7,0.543,0,1),(8,NULL,'2019-01-14 14:20:50',6,8,0.305,1180,1),(9,NULL,'2019-01-14 14:20:50',6,9,0.364,0,1),(10,NULL,'2019-01-14 14:20:50',7,10,0.568,0,1),(11,NULL,'2019-01-14 14:20:50',7,11,0.32,1244,1),(12,NULL,'2019-01-14 14:20:50',7,12,0.382,0,1),(13,NULL,'2019-01-14 14:20:50',8,13,0.595,0,1),(14,NULL,'2019-01-14 14:20:50',8,14,0.337,1288,1),(15,NULL,'2019-01-14 14:20:50',8,15,0.401,0,1);

--
-- Table structure for table `llx_expensereport_rules`
--

CREATE TABLE `llx_expensereport_rules` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dates` datetime NOT NULL,
  `datee` datetime NOT NULL,
  `amount` double(24,8) NOT NULL,
  `restrictive` tinyint(4) NOT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_usergroup` int(11) DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `code_expense_rules_type` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `is_for_all` tinyint(4) DEFAULT '0',
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expensereport_rules`
--


--
-- Table structure for table `llx_export_compta`
--

CREATE TABLE `llx_export_compta` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(12) COLLATE utf8_unicode_ci NOT NULL,
  `date_export` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `note` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_export_compta`
--


--
-- Table structure for table `llx_export_model`
--

CREATE TABLE `llx_export_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL DEFAULT '0',
  `label` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `field` text COLLATE utf8_unicode_ci NOT NULL,
  `filter` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_export_model` (`label`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_export_model`
--

INSERT INTO `llx_export_model` (`rowid`, `fk_user`, `label`, `type`, `field`, `filter`) VALUES (1,2,'TEST Cedric','facture_2','s.rowid,f.facnumber,f.type,f.datec,f.total,f.total_ttc,f.tva,none.rest,f.rowid,f.paye,f.fk_statut,f.note_private,p.amount,p.rowid,pf.amount,p.datep,p.num_paiement,pt.code,pt.libelle',''),(4,2,'Suivi des créances','facture_2','s.nom,f.facnumber,f.rowid,f.datef,f.total,f.total_ttc,p.rowid,p.datep,p.amount,none.rest,f.fk_statut','');

--
-- Table structure for table `llx_extrafields`
--

CREATE TABLE `llx_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `elementtype` varchar(64) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'member',
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  `size` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fieldcomputed` text COLLATE utf8_unicode_ci,
  `fielddefault` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fieldunique` int(11) DEFAULT '0',
  `fieldrequired` int(11) DEFAULT '0',
  `perms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `enabled` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `pos` int(11) DEFAULT '0',
  `alwayseditable` int(11) DEFAULT '0',
  `param` text COLLATE utf8_unicode_ci,
  `list` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1',
  `langs` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_extrafields`
--

INSERT INTO `llx_extrafields` (`rowid`, `name`, `entity`, `elementtype`, `label`, `type`, `size`, `fieldcomputed`, `fielddefault`, `fieldunique`, `fieldrequired`, `perms`, `enabled`, `pos`, `alwayseditable`, `param`, `list`, `langs`, `fk_user_author`, `fk_user_modif`, `datec`, `tms`) VALUES (1,'test',1,'bank_account','test CEDRIC','text','2000',NULL,NULL,0,0,NULL,'1',100,1,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','1',NULL,2,2,'2019-06-07 13:25:02','2019-06-07 13:25:02');

--
-- Table structure for table `llx_facture`
--

CREATE TABLE `llx_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `facnumber` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_int` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_client` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `increment` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `close_code` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `close_note` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `revenuestamp` double(24,8) DEFAULT '0.00000000',
  `total` 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_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_fac_rec_source` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `situation_cycle_ref` smallint(6) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`),
  KEY `idx_facture_fk_soc` (`fk_soc`),
  KEY `idx_facture_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  KEY `idx_facture_fk_projet` (`fk_projet`),
  KEY `idx_facture_fk_account` (`fk_account`),
  KEY `idx_facture_fk_currency` (`fk_currency`),
  KEY `idx_facture_fk_statut` (`fk_statut`),
  CONSTRAINT `fk_facture_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facture_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
