-- 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=14 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,0,'banque','thirdparty','',0,NULL,NULL,'2019-01-14 14:20:46','(YourSEPAMandate)',1,'1',0,'__(YourSEPAMandate)__',NULL,'__(Hello)__,<br><br>\n\n__(FindYourSEPAMandate)__ :<br>\n__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br><br>\n__(Sincerely)__<br>\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);

--
-- 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=17 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,'30/50/20','40% à la commande\r\n30% en cours des travaux\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,1,'40/20/20/20','40% à la commande,\r\n20% au 1 Avril 2019,\r\n20% au 1 Mai 2019,\r\n20% à réception 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);

--
-- 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`)
) ENGINE=InnoDB AUTO_INCREMENT=230 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=3 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=9 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=11 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=9 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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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`
--


--
-- 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) DEFAULT NULL,
  `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 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=379 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'),(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'),(65,'MAIN_INFO_SOCIETE_LOGO',1,'logo-mt.jpg','chaine',0,'','2019-01-14 15:32:53'),(66,'MAIN_INFO_SOCIETE_LOGO_SMALL',1,'logo-mt_small.jpg','chaine',0,'','2019-01-14 15:32:54'),(67,'MAIN_INFO_SOCIETE_LOGO_MINI',1,'logo-mt_mini.jpg','chaine',0,'','2019-01-14 15:32:54'),(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'),(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'),(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'),(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'),(119,'MAIN_MODULE_COMPTABILITE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"::1\"}','2019-01-14 15:36:55'),(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'),(141,'CRON_KEY',0,'','chaine',0,'CRON KEY','2019-01-14 15:39:26'),(231,'MAIN_DISABLE_ALL_MAILS',1,'0','chaine',0,'','2019-01-15 17:50:37'),(232,'MAIN_MAIL_ENABLED_USER_DEST_SELECT',1,'1','chaine',0,'','2019-01-15 17:50:37'),(233,'MAIN_MAIL_SENDMODE',1,'smtps','chaine',0,'','2019-01-15 17:50:37'),(234,'MAIN_MAIL_SMTP_PORT',1,'587','chaine',0,'','2019-01-15 17:50:37'),(235,'MAIN_MAIL_SMTP_SERVER',1,'mail.infosolus.info','chaine',0,'','2019-01-15 17:50:37'),(236,'MAIN_MAIL_SMTPS_ID',1,'info@mt-solutions.africa','chaine',0,'','2019-01-15 17:50:37'),(237,'MAIN_MAIL_SMTPS_PW',1,'9r431hqi','chaine',0,'','2019-01-15 17:50:37'),(238,'MAIN_MAIL_EMAIL_TLS',1,'0','chaine',0,'','2019-01-15 17:50:37'),(239,'MAIN_MAIL_EMAIL_STARTTLS',1,'1','chaine',0,'','2019-01-15 17:50:37'),(240,'MAIN_MAIL_EMAIL_FROM',1,'info@mt-solutions.africa','chaine',0,'','2019-01-15 17:50:37'),(241,'MAIN_MAIL_ERRORS_TO',1,'info@mt-solutions.africa','chaine',0,'','2019-01-15 17:50:37'),(242,'MAIN_MAIL_DEFAULT_FROMTYPE',1,'user','chaine',0,'','2019-01-15 17:50:37'),(243,'MAIN_INFO_SOCIETE_COUNTRY',1,'108:GN:Guinée','chaine',0,'','2019-01-18 12:25:30'),(244,'MAIN_INFO_SOCIETE_NOM',1,'MT-Solutions','chaine',0,'','2019-01-18 12:25:32'),(245,'MAIN_INFO_SOCIETE_ADDRESS',1,'Quartier Almamya KALOUM\r\nImmeuble Airwell 4ème étage','chaine',0,'','2019-01-18 12:25:32'),(246,'MAIN_INFO_SOCIETE_TOWN',1,'CONAKRY','chaine',0,'','2019-01-18 12:25:32'),(247,'MAIN_INFO_SOCIETE_STATE',1,'0','chaine',0,'','2019-01-18 12:25:32'),(248,'MAIN_MONNAIE',1,'GNF','chaine',0,'','2019-01-18 12:25:32'),(249,'MAIN_INFO_SOCIETE_TEL',1,'00244623646455','chaine',0,'','2019-01-18 12:25:32'),(250,'MAIN_INFO_SOCIETE_MAIL',1,'callcenter@mt-solutions.africa','chaine',0,'','2019-01-18 12:25:32'),(251,'MAIN_INFO_SOCIETE_WEB',1,'www.mt-solutions.africa','chaine',0,'','2019-01-18 12:25:32'),(252,'MAIN_INFO_SOCIETE_FORME_JURIDIQUE',1,'0','chaine',0,'','2019-01-18 12:25:32'),(253,'MAIN_INFO_SIREN',1,'RCCM : GC-KAL/060.134A/2015','chaine',0,'','2019-01-18 12:25:32'),(254,'MAIN_INFO_SIRET',1,'NIF : 022660T','chaine',0,'','2019-01-18 12:25:32'),(255,'MAIN_INFO_TVAINTRA',1,'7G','chaine',0,'','2019-01-18 12:25:32'),(256,'SOCIETE_FISCAL_MONTH_START',1,'1','chaine',0,'','2019-01-18 12:25:32'),(257,'FACTURE_TVAOPTION',1,'1','chaine',0,'','2019-01-18 12:25:32'),(258,'FACTURE_LOCAL_TAX1_OPTION',1,'localtax1off','chaine',0,'','2019-01-18 12:25:33'),(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'),(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'),(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'),(367,'MAIN_MODULE_AGENDA',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:19'),(368,'MAIN_MODULE_CRON',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:23'),(369,'MAIN_MODULE_FOURNISSEUR',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:25'),(370,'MAIN_MODULE_HOLIDAY',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:31'),(371,'MAIN_MODULE_SALARIES',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:34'),(372,'MAIN_MODULE_SYSLOG',0,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:36'),(373,'MAIN_MODULE_SERVICE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:36'),(374,'MAIN_MODULE_USER',0,'1','string',0,'{\"authorid\":0,\"ip\":\"192.168.1.4\"}','2019-05-09 14:25:38'),(375,'MAIN_VERSION_LAST_UPGRADE',0,'8.0.4','chaine',0,'Dolibarr version for last upgrade','2019-05-09 14:26:12'),(378,'SYSTEMTOOLS_MYSQLDUMP',1,'/usr/bin/mysqldump','chaine',0,'','2019-05-09 14:32:10');

--
-- 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-05-09 14:33:03','2019-01-14 15:39:26','method','MakeLocalDatabaseDumpShort','','core/class/utils.class.php','Utils','dumpDatabase','none,auto,1,auto,10','','cron',90,'2019-05-09 14:33:03','2019-05-09 23:39:00','2019-01-14 23:39:00',NULL,NULL,'','','86400',1,0,9,0,1,1,'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=10 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);

--
-- 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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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=105 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','2854a98dfaf48e2025c2179d14d528da',NULL,1,'facture/FA1901-0001','FA1901-0001.pdf','facture',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 17:34:54','2019-01-29 18:26:32',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','fc5af5f8f233a871ff94822119321142',NULL,1,'facture/FA1901-0003','FA1901-0003.pdf','facture',5,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:43:59','2019-02-07 18:12:29',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','b8182f0e06a65d23960fb99fc1c35e17',NULL,1,'facture/FA1901-0004','FA1901-0004.pdf','facture',9,'','',NULL,NULL,1,'generated',NULL,'2019-01-21 19:25:23','2019-03-22 15:42:43',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','2ad174e91f8be978705ccb739695e07e',NULL,1,'facture/AC1902-0003','AC1902-0003.pdf','facture',11,'','',NULL,NULL,1,'generated',NULL,'2019-02-07 18:21:05','2019-02-26 11:25:12',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','09d91df757f10c9a9301c8aa4e3dd01d',NULL,1,'facture/AC1902-0004','AC1902-0004.pdf','facture',13,'','',NULL,NULL,1,'generated',NULL,'2019-02-26 11:29:52','2019-02-26 11:29:52',2,NULL,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','e85c2f15a2a920dc8ecaadc0441bcc41',NULL,1,'propale/PR1902-0006','PR1902-0006.pdf','propal',6,'','',NULL,NULL,1,'generated',NULL,'2019-02-28 16:55:05','2019-03-13 11:08:08',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','45603159108d08d63879277fcd5da30d',NULL,1,'propale/PR1903-0007','PR1903-0007.pdf','propal',7,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 10:43:09','2019-03-08 10:43:09',2,NULL,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','b217680f32c06332c77d78caef294d1a',NULL,1,'facture/FA1903-0008','FA1903-0008.pdf','facture',16,'','',NULL,NULL,1,'generated',NULL,'2019-03-12 12:01:21','2019-03-12 12:01:21',2,NULL,NULL),(52,'e4c805aee1d7585153f43c1618977896','0f217bfb0b1eedb96f9924f9823e070c',NULL,1,'facture/FA1903-0009','FA1903-0009.pdf','facture',18,'','',NULL,NULL,1,'generated',NULL,'2019-03-13 11:09:59','2019-03-27 10:28:50',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','198ffb1e607d5f2fc2e380ddf0655570',NULL,1,'facture/AC1903-0005','AC1903-0005.pdf','facture',19,'','',NULL,NULL,1,'generated',NULL,'2019-03-18 14:47:27','2019-04-01 17:17:37',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','cc7f98958dc9b9cc0b3381e252a1a271',NULL,1,'propale/PR1903-0011','PR1903-0011.pdf','propal',13,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 16:46:54','2019-04-03 17:16:28',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','72da04acd0c31fa17c86cc206df48871',NULL,1,'facture/FA1903-0011','FA1903-0011.pdf','facture',22,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 17:29:19','2019-04-01 19:19:13',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','3f0f7c7968dd3c677163f7720c5f3a13',NULL,1,'propale/PR1904-0015','PR1904-0015.pdf','propal',16,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 16:57:24','2019-04-10 16:51:44',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','b2c4049f1117e1af960fa07bba115045',NULL,1,'facture/FA1904-0013','FA1904-0013.pdf','facture',25,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:16:33','2019-04-08 17:16:33',2,NULL,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','10297ca5c45beab533da524788cf4862',NULL,1,'facture/FA1904-0015','FA1904-0015.pdf','facture',27,'','',NULL,NULL,1,'generated',NULL,'2019-04-12 17:59:16','2019-04-12 17:59:16',2,NULL,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','65cbbc2d9f25911934c73dff3dd63e35',NULL,1,'facture/AC1904-0008','AC1904-0008.pdf','facture',30,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:55:52','2019-04-15 18:14: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','eb796ffde32c8646abfd49be5b5c7b26',NULL,1,'propale/PR1904-0017','PR1904-0017.pdf','propal',19,'','',NULL,NULL,1,'generated',NULL,'2019-04-15 11:51:30','2019-04-30 12:58:58',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','fbbf46a4bdba8151a3632e19e7bc3200',NULL,1,'propale/PR1904-0019','PR1904-0019.pdf','propal',20,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 13:57:53','2019-04-24 14:30:33',2,2,NULL),(93,'fc3fb9d53cb3085d87e48e0c9c3e57e1','57f2b7db0efd22319a47e55c39ce73bf',NULL,1,'facture/AC1904-0009','AC1904-0009.pdf','facture',35,'','',NULL,NULL,1,'generated',NULL,'2019-04-26 16:07:34','2019-04-26 16:11:00',2,2,NULL),(94,'fcbd3df853bc3b56960b68ed3047b2e5','2dccb627ab6537fd8975b9ad2abebb6b',NULL,1,'facture/AC1904-0010','AC1904-0010.pdf','facture',36,'','',NULL,NULL,1,'generated',NULL,'2019-04-29 12:58:49','2019-04-29 12:58:49',2,NULL,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','4130f1e42b297f4346196b1a96089fe4',NULL,1,'propale/PR1904-0020','PR1904-0020.pdf','propal',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-30 14:24:09','2019-05-03 17:07:01',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','1a8a65774f3f54b7e1223529a712a8c9',NULL,1,'facture/FA1905-0016','FA1905-0016.pdf','facture',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 16:36:42','2019-05-06 16:43:59',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','019a22498422fde8c74718e44a2dcfd3',NULL,1,'propale/PR1905-0023','PR1905-0023.pdf','propal',27,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:28:30','2019-05-07 13:42:56',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=12 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),(3,'2019-01-21 19:00:15',4,3,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);

--
-- 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=13 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'),(2,6,'propal',18,'facture'),(3,8,'propal',22,'facture'),(4,12,'propal',28,'facture'),(5,12,'propal',29,'facture'),(6,14,'propal',30,'facture'),(7,20,'propal',31,'facture'),(8,20,'propal',32,'facture'),(9,20,'propal',33,'facture'),(10,20,'propal',34,'facture'),(11,20,'propal',35,'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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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=38 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture`
--

INSERT INTO `llx_facture` (`rowid`, `facnumber`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `type`, `increment`, `fk_soc`, `datec`, `datef`, `date_pointoftax`, `date_valid`, `tms`, `paye`, `amount`, `remise_percent`, `remise_absolue`, `remise`, `close_code`, `close_note`, `tva`, `localtax1`, `localtax2`, `revenuestamp`, `total`, `total_ttc`, `fk_statut`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_fac_rec_source`, `fk_facture_source`, `fk_projet`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `note_private`, `note_public`, `model_pdf`, `last_main_doc`, `fk_incoterms`, `location_incoterms`, `situation_cycle_ref`, `situation_counter`, `situation_final`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (2,'FA1901-0001',1,NULL,NULL,NULL,0,NULL,4,'2019-01-16 17:34:27','2019-01-16',NULL,'2019-01-29','2019-01-29 18:26:31',0,0.00000000,NULL,NULL,0,NULL,NULL,40500000.00000000,0.00000000,0.00000000,0.00000000,225000000.00000000,265500000.00000000,0,2,NULL,2,1,NULL,NULL,1,NULL,2,2,'2019-02-15','G&eacute;n&eacute;r&eacute; depuis la facture mod&egrave;le r&eacute;currente Facture de solde ARPT',NULL,'crabe','facture/FA1901-0001/FA1901-0001.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,225000000.00000000,40500000.00000000,265500000.00000000),(3,'FA1901-0002',1,NULL,NULL,NULL,0,NULL,5,'2019-01-16 18:04:55','2019-01-16',NULL,'2019-01-16','2019-01-16 18:18:08',0,0.00000000,NULL,NULL,0,NULL,NULL,70166254.32000000,0.00000000,0.00000000,0.00000000,389812524.00000000,459978778.32000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-01-17',NULL,NULL,'crabe','facture/FA1901-0002/FA1901-0002.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,389812524.00000000,70166254.32000000,459978778.32000000),(5,'FA1901-0003',1,NULL,NULL,NULL,0,NULL,6,'2019-01-18 12:28:21','2019-01-18',NULL,'2019-01-18','2019-01-29 10:06:03',0,0.00000000,NULL,NULL,0,NULL,NULL,34568460.72000001,0.00000000,0.00000000,0.00000000,192047004.00000000,226615464.72000000,0,2,NULL,2,NULL,NULL,6,NULL,NULL,1,0,'2019-01-19',NULL,NULL,'crabe','facture/FA1901-0003/FA1901-0003.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,192047004.00000000,34568460.72000000,226615464.72000000),(8,'AC1901-0001',1,NULL,NULL,NULL,3,NULL,6,'2019-01-18 12:59:04','2019-01-18',NULL,'2019-01-19','2019-01-29 10:05:46',0,0.00000000,NULL,NULL,0,NULL,NULL,5761410.12000000,0.00000000,0.00000000,0.00000000,32007834.00000000,37769244.12000000,1,2,NULL,2,NULL,NULL,6,NULL,NULL,1,7,'2019-01-19',NULL,NULL,'crabe','facture/AC1901-0001/AC1901-0001.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,32007834.00000000,5761410.12000000,37769244.12000000),(9,'FA1901-0004',1,NULL,NULL,NULL,0,NULL,19,'2019-01-21 19:16:26','2019-01-07',NULL,'2019-01-21','2019-01-21 19:25:23',0,0.00000000,NULL,NULL,0,NULL,NULL,8209079.64000000,0.00000000,0.00000000,0.00000000,45605998.00000000,53815077.64000000,1,2,NULL,2,NULL,NULL,5,NULL,NULL,1,0,'2019-01-08',NULL,NULL,'crabe','facture/FA1901-0004/FA1901-0004.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,45605998.00000000,8209079.64000000,53815077.64000000),(10,'AC1811-0002',1,NULL,NULL,NULL,3,NULL,6,'2019-01-29 09:52:37','2018-11-13',NULL,'2019-01-29','2019-01-29 10:06:48',0,0.00000000,NULL,NULL,0,NULL,NULL,17284230.36000000,0.00000000,0.00000000,0.00000000,96023502.00000000,113307732.36000001,1,2,NULL,NULL,NULL,NULL,6,1,NULL,1,7,'2019-02-15',NULL,NULL,'crabe','facture/AC1811-0002/AC1811-0002.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,96023502.00000000,17284230.36000000,113307732.36000000),(11,'AC1902-0003',1,NULL,NULL,NULL,3,NULL,6,'2019-02-07 18:16:53','2019-02-07',NULL,'2019-02-07','2019-02-07 18:21:05',0,0.00000000,NULL,NULL,0,NULL,NULL,11522820.24000000,0.00000000,0.00000000,0.00000000,64015668.00000000,75538488.24000000,1,2,NULL,2,NULL,NULL,6,1,NULL,1,7,'2019-02-08',NULL,NULL,'crabe','facture/AC1902-0003/AC1902-0003.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,64015668.00000000,11522820.24000000,75538488.24000000),(12,'FA1902-0005',1,NULL,NULL,NULL,0,NULL,27,'2019-02-21 18:26:35','2019-02-21',NULL,'2019-02-21','2019-02-21 18:30:28',0,0.00000000,NULL,NULL,0,NULL,NULL,907200.00000000,0.00000000,0.00000000,0.00000000,5040000.00000000,5947200.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-02-22',NULL,NULL,'crabe','facture/FA1902-0005/FA1902-0005.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,5040000.00000000,907200.00000000,5947200.00000000),(13,'AC1902-0004',1,NULL,NULL,NULL,3,NULL,6,'2019-02-26 11:26:56','2019-02-26',NULL,'2019-02-26','2019-02-26 11:29:52',0,0.00000000,NULL,NULL,0,NULL,NULL,14403525.30000000,0.00000000,0.00000000,0.00000000,80019585.00000000,94423110.30000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-02-27',NULL,NULL,'crabe','facture/AC1902-0004/AC1902-0004.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,80019585.00000000,14403525.30000000,94423110.30000000),(14,'FA1903-0006',1,NULL,NULL,NULL,0,NULL,22,'2019-03-01 13:23:32','2019-03-01',NULL,'2019-03-01','2019-03-18 15:58:23',1,0.00000000,NULL,NULL,0,NULL,NULL,289080.00000000,0.00000000,0.00000000,0.00000000,1606000.00000000,1895080.00000000,2,2,NULL,2,NULL,NULL,NULL,NULL,NULL,6,0,'2019-03-02',NULL,NULL,'crabe','facture/FA1903-0006/FA1903-0006.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,1606000.00000000,289080.00000000,1895080.00000000),(15,'FA1903-0007',1,NULL,NULL,NULL,0,NULL,30,'2019-03-06 17:46:40','2019-03-06',NULL,'2019-03-13','2019-03-13 17:07:07',0,0.00000000,NULL,NULL,0,NULL,NULL,5112000.00000000,0.00000000,0.00000000,0.00000000,28400000.00000000,33512000.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-07',NULL,NULL,'crabe','facture/FA1903-0007/FA1903-0007.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,28400000.00000000,5112000.00000000,33512000.00000000),(16,'FA1903-0008',1,NULL,NULL,NULL,0,NULL,34,'2019-03-12 11:52:35','2019-03-12',NULL,'2019-03-12','2019-03-12 12:01:21',0,0.00000000,NULL,NULL,0,NULL,NULL,179100.00000000,0.00000000,0.00000000,0.00000000,995000.00000000,1174100.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-13',NULL,NULL,'crabe','facture/FA1903-0008/FA1903-0008.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,995000.00000000,179100.00000000,1174100.00000000),(17,'(PROV17)',1,NULL,NULL,NULL,0,NULL,29,'2019-03-13 11:05:34','2019-03-13',NULL,NULL,'2019-03-13 11:05:34',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,2,NULL,NULL,NULL,NULL,9,NULL,NULL,13,0,'2019-03-14',NULL,NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,0.00000000,0.00000000,0.00000000),(18,'FA1903-0009',1,NULL,NULL,NULL,0,NULL,29,'2019-03-13 11:08:54','2019-03-13',NULL,'2019-03-13','2019-03-13 11:09:59',0,0.00000000,NULL,NULL,0,NULL,NULL,15757380.00000000,0.00000000,0.00000000,0.00000000,87541000.00000000,103298380.00000000,1,2,NULL,2,NULL,NULL,9,NULL,NULL,13,0,'2019-04-09','12/03/2019<br />\r\n&nbsp;',NULL,'crabe','facture/FA1903-0009/FA1903-0009.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,87541000.00000000,15757380.00000000,103298380.00000000),(19,'AC1903-0005',1,NULL,NULL,NULL,3,NULL,26,'2019-03-18 14:44:55','2019-03-18',NULL,'2019-03-19','2019-03-19 19:01:27',0,0.00000000,NULL,NULL,0,NULL,NULL,25124905.00799999,0.00000000,0.00000000,0.00000000,139582805.60000000,164707710.60799998,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-03-19',NULL,NULL,'crabe','facture/AC1903-0005/AC1903-0005.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'EUR',0.00009615,13420.88675844,2415.75961652,15836.64637496),(21,'FA1903-0010',1,NULL,NULL,NULL,0,NULL,27,'2019-03-20 17:06:11','2019-03-20',NULL,'2019-03-20','2019-03-20 17:11:35',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,19702415.00000000,19702415.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-21',NULL,NULL,'crabe','facture/FA1903-0010/FA1903-0010.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,19702415.00000000,0.00000000,19702415.00000000),(22,'FA1903-0011',1,NULL,NULL,NULL,0,NULL,31,'2019-03-25 17:27:05','2019-03-25',NULL,'2019-03-25','2019-04-01 19:19:12',0,0.00000000,NULL,NULL,0,NULL,NULL,1830510.00000000,0.00000000,0.00000000,0.00000000,10169500.00000000,12000010.00000000,0,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-03-26',NULL,NULL,'crabe','facture/FA1903-0011/FA1903-0011.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,10169500.00000000,1830510.00000000,12000010.00000000),(23,'AC1904-0006',1,NULL,NULL,NULL,3,NULL,26,'2019-04-01 17:09:48','2019-04-01',NULL,'2019-04-01','2019-04-01 17:12:13',0,0.00000000,NULL,NULL,0,NULL,NULL,12562371.29000000,0.00000000,0.00000000,0.00000000,69790951.64000000,82353322.92999999,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-04-02',NULL,NULL,'crabe','facture/AC1904-0006/AC1904-0006.pdf',0,'',NULL,NULL,0,NULL,NULL,2,'EUR',0.00009615,6710.40000000,1207.87000000,7918.27000000),(24,'FA1904-0012',1,NULL,NULL,NULL,0,NULL,31,'2019-04-01 19:19:01','2019-04-01',NULL,'2019-04-01','2019-04-01 19:20:20',0,0.00000000,NULL,NULL,0,NULL,NULL,1647459.00000000,0.00000000,0.00000000,0.00000000,9152550.00000000,10800009.00000000,1,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-04-02',NULL,NULL,'crabe','facture/FA1904-0012/FA1904-0012.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,9152550.00000000,1647459.00000000,10800009.00000000),(25,'FA1904-0013',1,NULL,NULL,NULL,0,NULL,34,'2019-04-08 17:13:41','2019-04-08',NULL,'2019-04-08','2019-04-08 17:16:34',0,0.00000000,NULL,NULL,0,NULL,NULL,162000.00000000,0.00000000,0.00000000,0.00000000,900000.00000000,1062000.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-04-09',NULL,NULL,'crabe','facture/FA1904-0013/FA1904-0013.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,900000.00000000,162000.00000000,1062000.00000000),(26,'FA1904-0014',1,NULL,NULL,NULL,0,NULL,31,'2019-04-10 17:29:22','2019-04-10',NULL,'2019-04-10','2019-04-10 19:16:51',0,0.00000000,NULL,NULL,0,NULL,NULL,1926000.00000000,0.00000000,0.00000000,0.00000000,10700000.00000000,12626000.00000000,1,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-04-11',NULL,NULL,'crabe','facture/FA1904-0014/FA1904-0014.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,10700000.00000000,1926000.00000000,12626000.00000000),(27,'FA1904-0015',1,NULL,NULL,NULL,0,NULL,35,'2019-04-12 17:53:33','2019-04-12',NULL,'2019-04-12','2019-04-13 14:51:15',0,0.00000000,NULL,NULL,0,NULL,NULL,1674000.00000000,0.00000000,0.00000000,0.00000000,9300000.00000000,10974000.00000000,1,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-13',NULL,NULL,'crabe','facture/FA1904-0015/FA1904-0015.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,9300000.00000000,1674000.00000000,10974000.00000000),(28,'(PROV28)',1,NULL,NULL,NULL,3,NULL,35,'2019-04-13 14:39:48','2019-04-15',NULL,NULL,'2019-04-13 14:51:36',0,0.00000000,NULL,NULL,0,NULL,NULL,365875.38000000,0.00000000,0.00000000,0.00000000,2032641.20000000,2398516.38000000,0,2,NULL,NULL,NULL,NULL,11,NULL,NULL,1,0,'2019-04-16',NULL,NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,2032641.20000000,365875.42000000,2398516.62000000),(29,'AC1904-0007',1,NULL,NULL,NULL,3,NULL,35,'2019-04-13 14:41:41','2019-04-15',NULL,'2019-04-13','2019-04-15 18:15:46',1,0.00000000,NULL,NULL,0,NULL,NULL,36587541.60000000,0.00000000,0.00000000,0.00000000,203264120.40000000,239851661.60000000,2,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-16',NULL,NULL,'crabe','facture/AC1904-0007/AC1904-0007.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,203264120.40000000,36587541.67000000,239851662.07000000),(30,'AC1904-0008',1,NULL,NULL,NULL,3,NULL,35,'2019-04-13 14:55:40','2019-04-15',NULL,'2019-04-13','2019-04-15 18:14:02',1,0.00000000,NULL,NULL,0,NULL,NULL,54815407.91999999,0.00000000,0.00000000,0.00000000,304530044.00000000,359345451.91999996,2,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-16',NULL,NULL,'crabe','facture/AC1904-0008/AC1904-0008.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,304530044.00000000,54815407.92000000,359345451.92000000),(31,'(PROV31)',1,NULL,NULL,NULL,3,NULL,35,'2019-04-24 14:40:01','2019-04-24',NULL,NULL,'2019-04-24 14:40:01',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,2,NULL,NULL,NULL,NULL,11,1,NULL,1,0,'2019-04-25','FACTURE',NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,0.00000000,0.00000000,0.00000000),(32,'(PROV32)',1,NULL,NULL,NULL,3,NULL,35,'2019-04-24 14:59:15','2019-04-24',NULL,NULL,'2019-04-24 14:59:15',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,40.00000000,40.00000000,0,2,NULL,NULL,NULL,NULL,11,1,NULL,1,7,'2019-04-25','FACTURE',NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,40.00000000,0.00000000,40.00000000),(33,'(PROV33)',1,NULL,NULL,NULL,3,NULL,35,'2019-04-24 15:01:43','2019-04-24',NULL,NULL,'2019-04-24 15:01:43',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,2,NULL,NULL,NULL,NULL,11,1,NULL,1,7,'2019-04-25','FACTURE',NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,0.00000000,0.00000000,0.00000000),(34,'(PROV34)',1,NULL,NULL,NULL,3,NULL,35,'2019-04-26 16:04:59','2019-04-24',NULL,NULL,'2019-04-26 16:04:59',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.40000000,0.40000000,0,2,NULL,NULL,NULL,NULL,11,1,NULL,1,7,'2019-04-25','FACTURE',NULL,'crabe',NULL,0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,0.40000000,0.00000000,0.40000000),(35,'AC1904-0009',1,NULL,NULL,NULL,3,NULL,35,'2019-04-26 16:06:24','2019-04-24',NULL,'2019-04-26','2019-04-26 16:07:34',0,0.00000000,NULL,NULL,0,NULL,NULL,7621859.52000000,0.00000000,0.00000000,0.00000000,42343663.60000000,49965523.52000000,1,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-04-25','FACTURE',NULL,'crabe','facture/AC1904-0009/AC1904-0009.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,42343663.60000000,7621859.45000000,49965523.05000000),(36,'AC1904-0010',1,NULL,NULL,NULL,3,NULL,26,'2019-04-29 12:58:34','2019-04-29',NULL,'2019-04-29','2019-04-29 12:58:49',0,0.00000000,NULL,NULL,0,NULL,NULL,12562452.54000000,0.00000000,0.00000000,0.00000000,69791402.80000000,82353855.54000000,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-04-30',NULL,NULL,'crabe','facture/AC1904-0010/AC1904-0010.pdf',0,'',NULL,NULL,0,NULL,NULL,2,'EUR',0.00009615,6710.71000000,1207.93000000,7918.64000000),(37,'FA1905-0016',1,NULL,NULL,NULL,0,NULL,26,'2019-05-06 15:13:52','2019-05-06',NULL,'2019-05-06','2019-05-06 16:43:58',0,0.00000000,NULL,NULL,0,NULL,NULL,6210522.00000000,0.00000000,0.00000000,0.00000000,34502900.00000000,40713422.00000000,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-05-07',NULL,NULL,'crabe','facture/FA1905-0016/FA1905-0016.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'EUR',0.00009615,3317.46000000,597.14000000,3914.60000000);

--
-- Table structure for table `llx_facture_extrafields`
--

CREATE TABLE `llx_facture_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_facture_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture_extrafields`
--


--
-- Table structure for table `llx_facture_fourn`
--

CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `ref_supplier` 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,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `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,
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double(24,8) DEFAULT '0.00000000',
  `close_code` varchar(16) 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',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `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_facture_fourn_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_facture_fourn_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fourn_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn`
--

INSERT INTO `llx_facture_fourn` (`rowid`, `ref`, `ref_supplier`, `entity`, `ref_ext`, `type`, `fk_soc`, `datec`, `datef`, `date_pointoftax`, `date_valid`, `tms`, `libelle`, `paye`, `amount`, `remise`, `close_code`, `close_note`, `tva`, `localtax1`, `localtax2`, `total`, `total_ht`, `total_tva`, `total_ttc`, `fk_statut`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_facture_source`, `fk_projet`, `fk_account`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `note_private`, `note_public`, `fk_incoterms`, `location_incoterms`, `model_pdf`, `last_main_doc`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (2,'SI1901-0001','CA0103',1,NULL,0,8,'2019-01-21 14:50:58','2019-01-03',NULL,'2019-01-21','2019-01-21 18:52:35','',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,355000.00000000,0.00000000,355000.00000000,2,2,NULL,2,NULL,2,2,1,4,'2019-01-04','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,355000.00000000,0.00000000,355000.00000000),(3,'SI1901-0002','CA0104',1,NULL,0,9,'2019-01-21 14:59:06','2019-01-03',NULL,'2019-01-21','2019-01-21 18:51:10','',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,20000.00000000,0.00000000,20000.00000000,2,2,NULL,2,NULL,2,2,1,4,'2019-01-04','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,20000.00000000,0.00000000,20000.00000000),(4,'SI1901-0003','CA0105',1,NULL,0,9,'2019-01-21 15:05:01','2019-01-03',NULL,'2019-01-21','2019-01-21 18:57:21','Achat sucre',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,15000.00000000,0.00000000,15000.00000000,2,2,NULL,2,NULL,2,2,1,4,'2019-01-04','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,15000.00000000,0.00000000,15000.00000000),(5,'SI1901-0004','TEST',1,NULL,0,10,'2019-01-21 15:13:12','2019-01-03',NULL,'2019-01-21','2019-01-21 19:02:33','Recharge',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,100000.00000000,0.00000000,100000.00000000,2,2,NULL,2,NULL,3,2,1,4,'2019-01-04','','test 2',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,100000.00000000,0.00000000,100000.00000000),(6,'SI1901-0005','CA0108',1,NULL,0,11,'2019-01-21 15:28:35','2019-01-04',NULL,'2019-01-21','2019-01-21 18:59:05','Ménage des bureaux',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,25000.00000000,0.00000000,25000.00000000,2,2,NULL,2,NULL,2,2,1,4,'2019-01-05','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,25000.00000000,0.00000000,25000.00000000),(7,'SI1901-0006','CA0110',1,NULL,0,12,'2019-01-21 15:40:42','2019-01-07',NULL,'2019-01-21','2019-01-21 18:59:40','Achat journaux',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,5000.00000000,0.00000000,5000.00000000,2,2,NULL,2,NULL,2,2,1,4,'2019-01-08','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,5000.00000000,0.00000000,5000.00000000),(8,'SI1901-0007','CA0111',1,NULL,0,13,'2019-01-21 15:52:59','2019-01-07',NULL,'2019-01-21','2019-01-21 19:06:39','Achat carrelage',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,1950000.00000000,0.00000000,1950000.00000000,2,2,NULL,2,NULL,5,2,1,4,'2019-01-08','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,1950000.00000000,0.00000000,1950000.00000000),(9,'SI1901-0008','CA0112',1,NULL,0,14,'2019-01-21 16:09:47','2019-01-07',NULL,'2019-01-21','2019-01-21 19:01:54','Carburant Mamady',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,150000.00000000,0.00000000,150000.00000000,2,2,NULL,2,NULL,3,2,1,4,'2019-01-07','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,150000.00000000,0.00000000,150000.00000000),(10,'SI1901-0009','CA0113',1,NULL,0,15,'2019-01-21 16:13:22','2019-01-07',NULL,'2019-01-21','2019-01-21 19:07:11','Achat 2 sacs de ciment',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,200000.00000000,0.00000000,200000.00000000,2,2,NULL,2,NULL,5,2,1,4,'2019-01-07','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,200000.00000000,0.00000000,200000.00000000),(11,'SI1901-0010','CA01114',1,NULL,0,16,'2019-01-21 16:16:33','2019-01-07',NULL,'2019-01-21','2019-01-21 19:07:32','Frais de restauration Cédric',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,145000.00000000,0.00000000,145000.00000000,2,2,NULL,2,NULL,4,2,1,4,'2019-01-07','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,145000.00000000,0.00000000,145000.00000000),(12,'SI1901-0011','HELENE K',1,NULL,0,17,'2019-01-21 16:38:40','2019-01-08',NULL,'2019-01-21','2019-01-21 19:05:51','Achat sac de ciment',1,0.00000000,0.00000000,NULL,NULL,0.00000000,NULL,NULL,0.00000000,300000.00000000,0.00000000,300000.00000000,2,2,NULL,2,NULL,5,2,1,4,'2019-01-08','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,300000.00000000,0.00000000,300000.00000000),(13,'SI1901-0012','TEST',1,NULL,0,18,'2019-01-21 16:43:27','2019-01-08',NULL,'2019-01-21','2019-01-21 19:06:13','Verrière + porte',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,1200000.00000000,0.00000000,1200000.00000000,2,2,NULL,2,NULL,5,NULL,1,4,'2019-01-08','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,1200000.00000000,0.00000000,1200000.00000000),(14,'SI1901-0013','000',1,NULL,0,10,'2019-01-21 18:07:33','2019-01-08',NULL,'2019-01-21','2019-01-21 19:01:27','Recharge Cédric',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,100000.00000000,0.00000000,100000.00000000,2,2,NULL,2,NULL,3,2,1,4,'2019-01-08','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,100000.00000000,0.00000000,100000.00000000),(15,'SI1901-0014','13274',1,NULL,0,3,'2019-02-07 19:27:38','2019-01-29',NULL,'2019-02-07','2019-02-07 19:32:06','Loyer 1er trimestre',1,0.00000000,0.00000000,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,17661945.76000000,3179150.24000000,20841096.00000000,2,2,NULL,2,NULL,7,1,1,7,'2019-02-28','','',0,'',NULL,NULL,NULL,NULL,0,'GNF',1.00000000,17661945.76000000,3179150.24000000,20841096.00000000);

--
