-- 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,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` int(11) NOT NULL DEFAULT 1,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_categorie_ref` (`entity`,`fk_parent`,`label`,`type`),
  KEY `idx_categorie_type` (`type`),
  KEY `idx_categorie_label` (`label`)
) ENGINE=InnoDB AUTO_INCREMENT=88 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_categorie` (`rowid`, `entity`, `fk_parent`, `label`, `ref_ext`, `type`, `description`, `color`, `fk_soc`, `visible`, `import_key`, `date_creation`, `tms`, `fk_user_creat`, `fk_user_modif`) VALUES (3,1,0,'AGRAFE ET AGRAFEUSE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(4,1,0,'ARISTA',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(5,1,0,'BARRE DE TENSION',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(6,1,0,'BARREAUDAGE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(7,1,0,'BARRIÈRES LEVANTES',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(8,1,0,'BAVOLETS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(9,1,0,'BORDURE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(10,1,0,'CLOTURE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(11,1,0,'CRAMPILLON GALVANISÉ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(12,1,0,'DIVERS ACCESSOIRES ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(13,1,0,'ETENDOIR À LINGE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(14,1,0,'FIL',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(15,1,0,'GRILLAGE À MOUTON AGRICLOS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(16,1,0,'JDF',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(17,1,0,'LAMELLES D OCCULTATION LIXO®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(18,1,0,'LATTES D OCCULTATION',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(19,1,0,'LOOKX®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(20,1,0,'MAILLE CARRÉE ARAVIS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(21,1,0,'MAIN COURANTE AXISTADE®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(22,1,0,'PANNEAU',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(23,1,0,'PORTAIL AUTOPORTANT',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(24,1,0,'PORTAIL COULISSANT',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(25,1,0,'PORTAIL PIVOTANT',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(26,1,0,'PORTILLON',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(27,1,0,'POTEAU',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(28,1,0,'Produit complémentaire',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(29,1,0,'RAIDISSEUR',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(30,1,0,'RONCES ET CABLE LISSE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(31,1,0,'ROULEAU',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(32,1,0,'SIMPLE TORSION',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(33,1,0,'SOUDÉ ARIZONA',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(34,1,0,'TIGRE/CONCERTINA',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(35,1,0,'TOURNIQUETS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(36,1,0,'TREILLIS POUR CHAPE ET DALLE FLOTTANTE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(37,1,0,'TRIPLE TORSION',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(38,1,6,'BARREAUDAGE EXALT®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(39,1,6,'BARREAUDAGE myMIX®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(40,1,9,'BORDURE AXIAL',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(41,1,9,'BORDURE DE JARDIN',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(42,1,9,'BORNES ESCAMOTABLES',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(43,1,10,'CLÔTURE DE L AIRE DE JEU',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(44,1,10,'CLÔTURE TENNIS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(45,1,14,'FIL D ATTACHE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(46,1,14,'FIL DE PALISSAGE FLUIDIFIL',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(47,1,14,'FIL DE TENSION',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(48,1,14,'FIL EN BOTTE galva riche',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(49,1,16,'JAMBE DE FORCE (JDF) / BARRE D ÉCARTEMENT (BE) UNIVERS GALVANISÉES',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(50,1,16,'JAMBE DE FORCE (JDF) / BARRE D ÉCARTEMENT (BE) UNIVERS PLASTIFIÉES',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(51,1,18,'LATTES D OCCULTATION LIXO 3D',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(52,1,18,'LATTES D OCCULTATION LIXO BOIS',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(53,1,18,'LATTES D OCCULTATION LIXO TOP',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(54,1,22,'PANNEAU AXIS®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(55,1,22,'PANNEAU AXOR®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(56,1,22,'PANNEAU AXYLE®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(57,1,23,'PORTAIL AUTOPORTANT ALLIX®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(58,1,23,'PORTAIL AUTOPORTANT ESPACE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(59,1,23,'PORTAIL AUTOPORTANT SANS RAIL EN ALUMINIUM ELIXIUM®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(60,1,24,'PORTAIL COULISSANT ALLIX®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(61,1,24,'PORTAIL COULISSANT ESPACE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(62,1,25,'PORTAIL PIVOTANT 2 VANTAUX AXOR®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(63,1,25,'PORTAIL PIVOTANT ALLIX® MANUEL',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(64,1,25,'PORTAIL PIVOTANT ALLIX® MOTORISÉ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(65,1,25,'PORTAIL PIVOTANT ESPACE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(66,1,25,'PORTAILS PIVOTANTS ALLIX®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(67,1,26,'PORTILLON ECO GARDEN',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(68,1,26,'PORTILLON ECO GARDEN +',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(69,1,26,'PORTILLON ET PORTAIL 2 BATTANTS EN ALUMINIUM ELIXIUM®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(70,1,26,'PORTILLON ET PORTAIL AXOR®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(71,1,27,'POTEAU AXIS®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(72,1,27,'POTEAU AXOR®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(73,1,27,'POTEAU AXYLE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(74,1,27,'POTEAU BARREAUDAGE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(75,1,27,'POTEAU RECTANGULAIRE REX',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(76,1,27,'POTEAU T LONGUE DURÉE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(77,1,27,'POTEAU T PRO GALVANISÉ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(78,1,27,'POTEAU TE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(79,1,27,'POTEAU UNIVERS GALVANISÉ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(80,1,27,'POTEAU UNIVERS PLASTIFIÉ',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(81,1,31,'ROULEAU SOUDÉ AXIAL®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(82,1,31,'ROULEAU SOUDÉ BASTILLE® PARC',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(83,1,31,'ROULEAUX D OCCULTATION LIXO®',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(84,1,32,'SIMPLE TORSION FINITION EXTRUDÉE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(85,1,32,'SIMPLE TORSION FINITION FLUIDISÉE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(86,1,32,'SIMPLE TORSION FINITION GALVANISÉE',NULL,0,NULL,NULL,NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL),(87,1,0,'PROFESSIONNEL',NULL,2,'','',NULL,0,NULL,NULL,'2022-03-14 14:11:00',NULL,NULL);

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

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

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


--
-- Table structure for table `llx_categorie_actioncomm`
--

CREATE TABLE `llx_categorie_actioncomm` (
  `fk_categorie` int(11) NOT NULL,
  `fk_actioncomm` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_actioncomm`),
  KEY `idx_categorie_actioncomm_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_actioncomm_fk_actioncomm` (`fk_actioncomm`),
  CONSTRAINT `fk_categorie_actioncomm_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_actioncomm_fk_actioncomm` FOREIGN KEY (`fk_actioncomm`) REFERENCES `llx_actioncomm` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_actioncomm`
--


--
-- 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 DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_category_lang` (`fk_category`,`lang`),
  CONSTRAINT `fk_category_lang_fk_category` FOREIGN KEY (`fk_category`) REFERENCES `llx_categorie` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


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

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

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


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

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

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

INSERT INTO `llx_categorie_product` (`fk_categorie`, `fk_product`, `import_key`) VALUES (3,794,NULL),(3,795,NULL),(3,796,NULL),(3,797,NULL),(3,798,NULL),(3,799,NULL),(3,800,NULL),(3,801,NULL),(4,867,NULL),(4,868,NULL),(4,869,NULL),(4,870,NULL),(4,871,NULL),(4,872,NULL),(4,873,NULL),(4,874,NULL),(4,875,NULL),(4,876,NULL),(4,877,NULL),(4,878,NULL),(4,1924,NULL),(4,1925,NULL),(4,1926,NULL),(4,1927,NULL),(4,1928,NULL),(4,1929,NULL),(4,1932,NULL),(4,1933,NULL),(5,759,NULL),(5,760,NULL),(5,761,NULL),(5,762,NULL),(5,763,NULL),(5,764,NULL),(5,765,NULL),(5,766,NULL),(5,767,NULL),(5,768,NULL),(5,769,NULL),(5,770,NULL),(5,771,NULL),(5,772,NULL),(5,773,NULL),(5,774,NULL),(5,775,NULL),(5,776,NULL),(5,777,NULL),(5,778,NULL),(5,779,NULL),(7,347,NULL),(7,348,NULL),(7,349,NULL),(7,350,NULL),(7,351,NULL),(7,352,NULL),(7,353,NULL),(7,354,NULL),(7,355,NULL),(7,356,NULL),(7,357,NULL),(7,358,NULL),(7,359,NULL),(7,360,NULL),(7,361,NULL),(7,362,NULL),(7,363,NULL),(7,364,NULL),(7,365,NULL),(7,366,NULL),(7,367,NULL),(7,368,NULL),(7,369,NULL),(7,370,NULL),(7,371,NULL),(7,372,NULL),(7,373,NULL),(7,374,NULL),(7,375,NULL),(7,376,NULL),(7,377,NULL),(7,378,NULL),(7,379,NULL),(7,380,NULL),(7,381,NULL),(7,382,NULL),(7,383,NULL),(7,384,NULL),(7,385,NULL),(7,386,NULL),(7,387,NULL),(7,388,NULL),(7,389,NULL),(7,390,NULL),(7,391,NULL),(7,392,NULL),(7,393,NULL),(7,394,NULL),(7,395,NULL),(7,396,NULL),(7,397,NULL),(7,398,NULL),(7,399,NULL),(7,400,NULL),(7,401,NULL),(7,402,NULL),(7,403,NULL),(7,404,NULL),(7,405,NULL),(7,406,NULL),(7,407,NULL),(7,408,NULL),(7,409,NULL),(7,410,NULL),(7,411,NULL),(7,412,NULL),(7,413,NULL),(7,414,NULL),(7,415,NULL),(7,416,NULL),(7,417,NULL),(8,784,NULL),(8,785,NULL),(8,788,NULL),(8,789,NULL),(8,802,NULL),(8,806,NULL),(8,809,NULL),(8,946,NULL),(8,956,NULL),(8,1267,NULL),(8,1268,NULL),(8,1269,NULL),(8,1270,NULL),(8,1271,NULL),(8,1272,NULL),(8,1273,NULL),(8,1274,NULL),(8,1275,NULL),(8,1276,NULL),(8,1277,NULL),(8,1278,NULL),(8,1279,NULL),(8,1280,NULL),(8,1281,NULL),(8,1282,NULL),(8,1283,NULL),(11,1145,NULL),(11,1146,NULL),(11,1147,NULL),(12,684,NULL),(12,685,NULL),(13,688,NULL),(13,689,NULL),(13,692,NULL),(13,693,NULL),(15,834,NULL),(15,835,NULL),(15,836,NULL),(15,837,NULL),(15,838,NULL),(15,839,NULL),(15,840,NULL),(17,1148,NULL),(17,1149,NULL),(17,1150,NULL),(17,1151,NULL),(17,1152,NULL),(17,1153,NULL),(17,1154,NULL),(17,1155,NULL),(17,1156,NULL),(17,1157,NULL),(17,1158,NULL),(17,1160,NULL),(17,1161,NULL),(17,1162,NULL),(17,1163,NULL),(17,1164,NULL),(17,1165,NULL),(17,1167,NULL),(17,1168,NULL),(17,1169,NULL),(17,1170,NULL),(17,1171,NULL),(17,1172,NULL),(17,1173,NULL),(17,1174,NULL),(17,1175,NULL),(17,1176,NULL),(17,1177,NULL),(17,1178,NULL),(17,1179,NULL),(17,1180,NULL),(17,1181,NULL),(17,1182,NULL),(17,1183,NULL),(17,1184,NULL),(17,1185,NULL),(17,1186,NULL),(17,1187,NULL),(17,1188,NULL),(19,418,NULL),(19,419,NULL),(19,420,NULL),(19,421,NULL),(19,422,NULL),(19,423,NULL),(19,424,NULL),(19,425,NULL),(19,426,NULL),(19,427,NULL),(19,428,NULL),(19,429,NULL),(19,430,NULL),(19,431,NULL),(19,432,NULL),(19,433,NULL),(19,434,NULL),(19,435,NULL),(19,436,NULL),(19,437,NULL),(19,438,NULL),(19,439,NULL),(19,440,NULL),(19,441,NULL),(19,442,NULL),(19,443,NULL),(19,444,NULL),(19,445,NULL),(19,446,NULL),(19,447,NULL),(19,448,NULL),(19,449,NULL),(19,450,NULL),(19,451,NULL),(19,452,NULL),(19,453,NULL),(19,454,NULL),(19,455,NULL),(19,456,NULL),(19,457,NULL),(19,458,NULL),(19,459,NULL),(19,460,NULL),(19,461,NULL),(19,462,NULL),(19,463,NULL),(19,464,NULL),(19,465,NULL),(19,466,NULL),(19,467,NULL),(19,468,NULL),(19,469,NULL),(19,470,NULL),(19,471,NULL),(19,472,NULL),(19,473,NULL),(19,474,NULL),(19,475,NULL),(19,476,NULL),(19,477,NULL),(19,478,NULL),(19,479,NULL),(19,480,NULL),(19,481,NULL),(19,482,NULL),(19,483,NULL),(19,484,NULL),(19,485,NULL),(19,486,NULL),(19,487,NULL),(19,488,NULL),(19,489,NULL),(19,490,NULL),(19,491,NULL),(19,492,NULL),(19,493,NULL),(19,494,NULL),(19,495,NULL),(19,496,NULL),(19,497,NULL),(19,498,NULL),(19,499,NULL),(19,500,NULL),(19,501,NULL),(19,502,NULL),(19,503,NULL),(19,504,NULL),(19,505,NULL),(19,506,NULL),(19,507,NULL),(19,508,NULL),(19,509,NULL),(19,510,NULL),(19,511,NULL),(19,512,NULL),(19,513,NULL),(19,514,NULL),(19,515,NULL),(19,516,NULL),(19,517,NULL),(19,518,NULL),(19,519,NULL),(19,520,NULL),(19,521,NULL),(19,522,NULL),(19,523,NULL),(19,524,NULL),(19,525,NULL),(19,526,NULL),(19,527,NULL),(19,528,NULL),(19,529,NULL),(19,530,NULL),(19,531,NULL),(19,532,NULL),(19,533,NULL),(19,534,NULL),(19,535,NULL),(19,536,NULL),(19,537,NULL),(19,538,NULL),(19,539,NULL),(19,540,NULL),(19,541,NULL),(19,542,NULL),(19,543,NULL),(19,544,NULL),(19,545,NULL),(19,546,NULL),(19,547,NULL),(19,548,NULL),(19,549,NULL),(19,550,NULL),(19,551,NULL),(19,552,NULL),(19,553,NULL),(19,554,NULL),(19,555,NULL),(19,556,NULL),(19,557,NULL),(19,558,NULL),(19,559,NULL),(19,560,NULL),(19,561,NULL),(19,562,NULL),(19,563,NULL),(19,564,NULL),(19,565,NULL),(19,566,NULL),(19,567,NULL),(19,568,NULL),(19,569,NULL),(19,570,NULL),(19,571,NULL),(19,572,NULL),(19,573,NULL),(19,574,NULL),(19,575,NULL),(19,815,NULL),(19,816,NULL),(19,817,NULL),(19,818,NULL),(19,819,NULL),(19,820,NULL),(20,1013,NULL),(20,1014,NULL),(20,1015,NULL),(20,1016,NULL),(20,1017,NULL),(20,1018,NULL),(20,1019,NULL),(20,1020,NULL),(20,1021,NULL),(21,1,NULL),(21,2,NULL),(21,3,NULL),(21,4,NULL),(21,5,NULL),(21,6,NULL),(21,7,NULL),(21,8,NULL),(21,9,NULL),(21,10,NULL),(21,11,NULL),(21,12,NULL),(21,13,NULL),(21,960,NULL),(21,961,NULL),(21,972,NULL),(21,973,NULL),(21,1141,NULL),(21,1142,NULL),(29,745,NULL),(29,746,NULL),(29,747,NULL),(29,748,NULL),(29,749,NULL),(29,750,NULL),(29,751,NULL),(29,752,NULL),(29,753,NULL),(29,754,NULL),(29,755,NULL),(29,756,NULL),(29,757,NULL),(29,758,NULL),(30,702,NULL),(30,703,NULL),(30,704,NULL),(30,705,NULL),(30,706,NULL),(30,707,NULL),(30,708,NULL),(30,709,NULL),(30,710,NULL),(30,711,NULL),(30,712,NULL),(33,974,NULL),(33,975,NULL),(33,976,NULL),(33,977,NULL),(33,978,NULL),(33,979,NULL),(33,980,NULL),(33,981,NULL),(33,982,NULL),(34,686,NULL),(34,687,NULL),(34,696,NULL),(34,697,NULL),(34,698,NULL),(34,699,NULL),(34,700,NULL),(34,701,NULL),(35,20,NULL),(35,21,NULL),(35,22,NULL),(35,23,NULL),(35,24,NULL),(35,25,NULL),(35,26,NULL),(35,27,NULL),(35,29,NULL),(35,30,NULL),(35,31,NULL),(35,32,NULL),(35,33,NULL),(35,34,NULL),(35,35,NULL),(35,36,NULL),(35,37,NULL),(35,38,NULL),(35,39,NULL),(35,40,NULL),(36,41,NULL),(37,1025,NULL),(37,1026,NULL),(37,1027,NULL),(37,1028,NULL),(37,1029,NULL),(37,1030,NULL),(37,1031,NULL),(37,1032,NULL),(37,1033,NULL),(37,1034,NULL),(37,1035,NULL),(37,1036,NULL),(37,1037,NULL),(37,1038,NULL),(37,1039,NULL),(37,1040,NULL),(37,1041,NULL),(37,1042,NULL),(37,1043,NULL),(37,1044,NULL),(37,1045,NULL),(37,1046,NULL),(37,1047,NULL),(37,1049,NULL),(37,1050,NULL),(37,1051,NULL),(37,1052,NULL),(37,1053,NULL),(40,986,NULL),(40,987,NULL),(40,988,NULL),(41,828,NULL),(41,829,NULL),(41,830,NULL),(41,831,NULL),(41,832,NULL),(41,833,NULL),(42,336,NULL),(42,337,NULL),(42,338,NULL),(42,339,NULL),(42,340,NULL),(42,341,NULL),(42,342,NULL),(42,343,NULL),(42,344,NULL),(42,345,NULL),(42,346,NULL),(43,808,NULL),(43,957,NULL),(43,958,NULL),(43,2119,NULL),(43,2120,NULL),(44,1022,NULL),(44,1023,NULL),(44,1024,NULL),(44,1128,NULL),(44,1129,NULL),(44,1130,NULL),(44,1131,NULL),(44,1132,NULL),(44,1133,NULL),(45,713,NULL),(45,726,NULL),(45,727,NULL),(45,728,NULL),(45,729,NULL),(45,730,NULL),(45,731,NULL),(45,732,NULL),(45,733,NULL),(45,734,NULL),(46,690,NULL),(46,691,NULL),(47,714,NULL),(47,715,NULL),(47,716,NULL),(47,717,NULL),(47,718,NULL),(47,719,NULL),(47,720,NULL),(47,721,NULL),(47,722,NULL),(47,723,NULL),(47,724,NULL),(47,725,NULL),(47,735,NULL),(47,736,NULL),(47,737,NULL),(47,738,NULL),(47,739,NULL),(47,740,NULL),(47,741,NULL),(47,742,NULL),(48,743,NULL),(48,744,NULL),(49,782,NULL),(49,783,NULL),(49,787,NULL),(49,789,NULL),(49,809,NULL),(50,780,NULL),(50,781,NULL),(50,782,NULL),(50,786,NULL),(50,787,NULL),(50,789,NULL),(50,809,NULL),(50,810,NULL),(50,811,NULL),(50,812,NULL),(50,1989,NULL),(50,1990,NULL),(50,1991,NULL),(50,1992,NULL),(50,1993,NULL),(50,1994,NULL),(51,1261,NULL),(51,1262,NULL),(51,1263,NULL),(51,1264,NULL),(51,1265,NULL),(52,1249,NULL),(52,1250,NULL),(52,1251,NULL),(52,1252,NULL),(52,1253,NULL),(52,1254,NULL),(53,1189,NULL),(53,1190,NULL),(53,1191,NULL),(53,1192,NULL),(53,1193,NULL),(53,1194,NULL),(53,1195,NULL),(53,1196,NULL),(53,1197,NULL),(53,1198,NULL),(53,1199,NULL),(53,1200,NULL),(53,1201,NULL),(53,1202,NULL),(53,1203,NULL),(53,1204,NULL),(53,1205,NULL),(53,1206,NULL),(53,1207,NULL),(53,1208,NULL),(53,1209,NULL),(53,1210,NULL),(53,1211,NULL),(53,1212,NULL),(53,1213,NULL),(53,1214,NULL),(53,1215,NULL),(53,1216,NULL),(53,1217,NULL),(53,1218,NULL),(53,1219,NULL),(53,1220,NULL),(53,1221,NULL),(53,1222,NULL),(53,1223,NULL),(53,1224,NULL),(53,1225,NULL),(53,1226,NULL),(53,1227,NULL),(53,1228,NULL),(53,1229,NULL),(53,1230,NULL),(53,1231,NULL),(53,1232,NULL),(53,1233,NULL),(53,1234,NULL),(53,1235,NULL),(53,1236,NULL),(53,1237,NULL),(53,1238,NULL),(53,1239,NULL),(53,1240,NULL),(53,1241,NULL),(53,1242,NULL),(53,1243,NULL),(53,1244,NULL),(53,1245,NULL),(53,1246,NULL),(53,1247,NULL),(53,1248,NULL),(54,879,NULL),(54,880,NULL),(54,881,NULL),(54,882,NULL),(54,883,NULL),(54,884,NULL),(54,885,NULL),(54,886,NULL),(54,887,NULL),(54,888,NULL),(54,896,NULL),(54,897,NULL),(54,898,NULL),(54,899,NULL),(54,900,NULL),(54,901,NULL),(54,902,NULL),(54,903,NULL),(54,904,NULL),(54,905,NULL),(54,906,NULL),(54,937,NULL),(54,938,NULL),(54,939,NULL),(54,940,NULL),(54,941,NULL),(54,942,NULL),(54,943,NULL),(54,944,NULL),(54,945,NULL),(54,947,NULL),(54,948,NULL),(54,949,NULL),(54,950,NULL),(54,951,NULL),(54,952,NULL),(54,953,NULL),(54,954,NULL),(54,955,NULL),(54,959,NULL),(54,962,NULL),(54,963,NULL),(54,964,NULL),(54,965,NULL),(54,966,NULL),(54,967,NULL),(54,968,NULL),(54,969,NULL),(54,970,NULL),(54,971,NULL),(55,843,NULL),(55,844,NULL),(55,845,NULL),(55,846,NULL),(55,847,NULL),(55,848,NULL),(55,849,NULL),(55,850,NULL),(55,851,NULL),(55,852,NULL),(55,853,NULL),(55,854,NULL),(55,855,NULL),(55,856,NULL),(55,857,NULL),(55,858,NULL),(55,859,NULL),(55,860,NULL),(55,861,NULL),(55,862,NULL),(55,863,NULL),(55,864,NULL),(55,865,NULL),(55,866,NULL),(55,907,NULL),(55,908,NULL),(55,909,NULL),(55,910,NULL),(55,911,NULL),(55,912,NULL),(55,913,NULL),(55,914,NULL),(55,915,NULL),(55,916,NULL),(55,917,NULL),(55,918,NULL),(55,919,NULL),(55,920,NULL),(55,921,NULL),(55,922,NULL),(55,923,NULL),(55,924,NULL),(55,925,NULL),(55,926,NULL),(56,889,NULL),(56,890,NULL),(56,891,NULL),(56,892,NULL),(56,893,NULL),(56,894,NULL),(56,895,NULL),(56,927,NULL),(56,928,NULL),(56,929,NULL),(56,930,NULL),(56,931,NULL),(56,932,NULL),(56,933,NULL),(56,934,NULL),(56,935,NULL),(56,936,NULL),(57,43,NULL),(57,44,NULL),(57,45,NULL),(57,46,NULL),(57,47,NULL),(57,48,NULL),(57,49,NULL),(57,50,NULL),(57,51,NULL),(57,52,NULL),(57,53,NULL),(57,54,NULL),(57,55,NULL),(57,56,NULL),(57,57,NULL),(57,58,NULL),(57,59,NULL),(57,60,NULL),(57,61,NULL),(57,62,NULL),(57,63,NULL),(57,64,NULL),(57,65,NULL),(57,66,NULL),(57,67,NULL),(57,68,NULL),(57,69,NULL),(57,70,NULL),(57,71,NULL),(57,72,NULL),(57,73,NULL),(57,74,NULL),(57,75,NULL),(57,76,NULL),(57,77,NULL),(57,78,NULL),(57,79,NULL),(57,80,NULL),(57,81,NULL),(57,82,NULL),(57,83,NULL),(57,84,NULL),(57,85,NULL),(57,86,NULL),(57,87,NULL),(57,88,NULL),(57,89,NULL),(57,90,NULL),(57,91,NULL),(57,92,NULL),(57,93,NULL),(57,94,NULL),(57,95,NULL),(57,96,NULL),(57,97,NULL),(57,98,NULL),(57,99,NULL),(57,100,NULL),(57,101,NULL),(57,102,NULL),(57,103,NULL),(57,104,NULL),(57,105,NULL),(57,106,NULL),(57,683,NULL),(57,1140,NULL),(57,1143,NULL),(57,1144,NULL),(58,324,NULL),(58,325,NULL),(58,326,NULL),(58,327,NULL),(58,328,NULL),(58,329,NULL),(58,330,NULL),(58,331,NULL),(58,332,NULL),(58,333,NULL),(58,334,NULL),(58,335,NULL),(58,1143,NULL),(58,1144,NULL),(59,14,NULL),(59,18,NULL),(59,107,NULL),(59,108,NULL),(59,109,NULL),(59,110,NULL),(59,111,NULL),(59,112,NULL),(59,113,NULL),(59,114,NULL),(59,115,NULL),(59,116,NULL),(59,117,NULL),(59,118,NULL),(59,119,NULL),(59,120,NULL),(59,121,NULL),(59,122,NULL),(59,123,NULL),(59,124,NULL),(59,125,NULL),(59,126,NULL),(59,127,NULL),(59,128,NULL),(59,129,NULL),(59,130,NULL),(59,131,NULL),(59,132,NULL),(59,133,NULL),(59,134,NULL),(59,135,NULL),(59,136,NULL),(59,137,NULL),(59,138,NULL),(59,139,NULL),(59,140,NULL),(59,141,NULL),(59,142,NULL),(59,143,NULL),(59,144,NULL),(59,145,NULL),(59,146,NULL),(59,147,NULL),(59,148,NULL),(59,149,NULL),(59,150,NULL),(59,151,NULL),(59,152,NULL),(59,153,NULL),(59,154,NULL),(59,155,NULL),(59,156,NULL),(59,157,NULL),(59,158,NULL),(59,159,NULL),(59,160,NULL),(59,161,NULL),(59,162,NULL),(59,163,NULL),(59,164,NULL),(59,165,NULL),(59,166,NULL),(59,167,NULL),(59,168,NULL),(59,169,NULL),(59,170,NULL),(59,171,NULL),(59,172,NULL),(59,173,NULL),(59,174,NULL),(59,175,NULL),(59,176,NULL),(59,177,NULL),(59,178,NULL),(59,179,NULL),(59,180,NULL),(59,181,NULL),(59,182,NULL),(59,183,NULL),(59,184,NULL),(59,185,NULL),(59,186,NULL),(59,187,NULL),(59,188,NULL),(59,189,NULL),(59,190,NULL),(59,191,NULL),(59,192,NULL),(59,193,NULL),(59,194,NULL),(59,195,NULL),(59,196,NULL),(59,197,NULL),(59,198,NULL),(59,199,NULL),(59,200,NULL),(59,201,NULL),(59,202,NULL),(59,203,NULL),(59,204,NULL),(59,205,NULL),(59,206,NULL),(59,207,NULL),(59,208,NULL),(59,209,NULL),(59,210,NULL),(59,211,NULL),(59,212,NULL),(59,213,NULL),(59,214,NULL),(59,215,NULL),(59,216,NULL),(59,217,NULL),(59,218,NULL),(59,219,NULL),(59,220,NULL),(59,221,NULL),(59,222,NULL),(59,223,NULL),(59,224,NULL),(59,225,NULL),(59,226,NULL),(59,227,NULL),(59,228,NULL),(59,229,NULL),(59,230,NULL),(59,231,NULL),(59,232,NULL),(59,233,NULL),(59,234,NULL),(59,235,NULL),(59,236,NULL),(59,237,NULL),(59,238,NULL),(59,239,NULL),(59,240,NULL),(59,241,NULL),(59,242,NULL),(59,243,NULL),(59,244,NULL),(59,245,NULL),(59,246,NULL),(59,247,NULL),(59,248,NULL),(59,249,NULL),(59,250,NULL),(59,251,NULL),(59,252,NULL),(59,253,NULL),(59,254,NULL),(59,255,NULL),(59,256,NULL),(59,257,NULL),(59,258,NULL),(59,259,NULL),(59,260,NULL),(59,261,NULL),(59,262,NULL),(59,263,NULL),(59,264,NULL),(59,265,NULL),(59,266,NULL),(59,268,NULL),(59,270,NULL),(59,271,NULL),(59,272,NULL),(59,273,NULL),(59,274,NULL),(59,275,NULL),(59,276,NULL),(59,277,NULL),(59,278,NULL),(59,279,NULL),(59,280,NULL),(59,281,NULL),(59,282,NULL),(59,283,NULL),(59,284,NULL),(59,285,NULL),(59,286,NULL),(59,287,NULL),(59,288,NULL),(59,289,NULL),(59,290,NULL),(59,291,NULL),(59,292,NULL),(59,293,NULL),(59,294,NULL),(59,295,NULL),(59,296,NULL),(59,297,NULL),(59,298,NULL),(59,299,NULL),(59,300,NULL),(59,301,NULL),(59,302,NULL),(59,303,NULL),(59,304,NULL),(59,305,NULL),(59,306,NULL),(59,307,NULL),(59,308,NULL),(59,309,NULL),(59,310,NULL),(59,311,NULL),(59,312,NULL),(59,313,NULL),(59,314,NULL),(59,315,NULL),(59,316,NULL),(59,317,NULL),(59,318,NULL),(59,319,NULL),(59,320,NULL),(59,321,NULL),(59,322,NULL),(59,323,NULL),(60,576,NULL),(60,577,NULL),(60,578,NULL),(60,579,NULL),(60,580,NULL),(60,581,NULL),(60,582,NULL),(60,583,NULL),(60,584,NULL),(60,585,NULL),(60,586,NULL),(60,587,NULL),(60,588,NULL),(60,589,NULL),(60,590,NULL),(60,591,NULL),(60,592,NULL),(60,593,NULL),(60,594,NULL),(60,595,NULL),(60,596,NULL),(60,597,NULL),(60,598,NULL),(60,599,NULL),(60,600,NULL),(60,601,NULL),(60,602,NULL),(60,603,NULL),(60,604,NULL),(60,605,NULL),(60,606,NULL),(60,607,NULL),(60,608,NULL),(60,609,NULL),(60,610,NULL),(60,611,NULL),(60,612,NULL),(60,613,NULL),(60,614,NULL),(60,615,NULL),(60,616,NULL),(60,617,NULL),(60,618,NULL),(60,619,NULL),(60,620,NULL),(60,621,NULL),(60,622,NULL),(60,623,NULL),(60,624,NULL),(60,625,NULL),(60,626,NULL),(60,627,NULL),(60,628,NULL),(60,629,NULL),(60,630,NULL),(60,631,NULL),(60,632,NULL),(60,633,NULL),(60,634,NULL),(60,635,NULL),(60,636,NULL),(60,637,NULL),(60,638,NULL),(60,639,NULL),(60,640,NULL),(60,641,NULL),(60,642,NULL),(60,643,NULL),(60,644,NULL),(60,645,NULL),(60,646,NULL),(60,647,NULL),(60,648,NULL),(60,649,NULL),(60,650,NULL),(60,651,NULL),(60,652,NULL),(60,653,NULL),(60,654,NULL),(60,655,NULL),(60,656,NULL),(60,657,NULL),(60,658,NULL),(60,659,NULL),(60,660,NULL),(60,661,NULL),(60,662,NULL),(60,663,NULL),(60,664,NULL),(60,665,NULL),(60,682,NULL),(60,683,NULL),(60,695,NULL),(60,1139,NULL),(60,1143,NULL),(60,1144,NULL),(61,15,NULL),(61,16,NULL),(61,17,NULL),(61,666,NULL),(61,667,NULL),(61,668,NULL),(61,669,NULL),(61,670,NULL),(61,671,NULL),(61,672,NULL),(61,673,NULL),(61,674,NULL),(61,675,NULL),(61,676,NULL),(61,677,NULL),(61,678,NULL),(61,679,NULL),(61,680,NULL),(61,681,NULL),(61,682,NULL),(61,694,NULL),(62,1599,NULL),(62,1600,NULL),(62,1601,NULL),(62,1602,NULL),(62,1603,NULL),(62,1604,NULL),(62,1605,NULL),(62,1606,NULL),(62,1607,NULL),(62,1608,NULL),(63,42,NULL),(63,683,NULL),(63,841,NULL),(63,842,NULL),(63,1138,NULL),(63,1303,NULL),(63,1304,NULL),(63,1305,NULL),(63,1306,NULL),(63,1307,NULL),(63,1308,NULL),(63,1309,NULL),(63,1310,NULL),(63,1311,NULL),(63,1312,NULL),(63,1313,NULL),(63,1314,NULL),(63,1315,NULL),(63,1316,NULL),(63,1317,NULL),(63,1318,NULL),(63,1319,NULL),(63,1320,NULL),(63,1321,NULL),(63,1322,NULL),(63,1323,NULL),(63,1324,NULL),(63,1325,NULL),(63,1326,NULL),(63,1327,NULL),(63,1328,NULL),(63,1329,NULL),(63,1330,NULL),(63,1331,NULL),(63,1332,NULL),(63,1333,NULL),(63,1334,NULL),(63,1335,NULL),(63,1336,NULL),(63,1337,NULL),(63,1338,NULL),(63,1339,NULL),(63,1340,NULL),(63,1341,NULL),(63,1342,NULL),(63,1343,NULL),(63,1344,NULL),(63,1345,NULL),(63,1346,NULL),(63,1347,NULL),(63,1348,NULL),(63,1349,NULL),(63,1350,NULL),(63,1351,NULL),(63,1352,NULL),(63,1353,NULL),(63,1354,NULL),(63,1355,NULL),(63,1356,NULL),(63,1357,NULL),(63,1358,NULL),(63,1359,NULL),(63,1360,NULL),(63,1361,NULL),(63,1362,NULL),(63,1363,NULL),(63,1364,NULL),(63,1365,NULL),(63,1366,NULL),(63,1367,NULL),(63,1368,NULL),(63,1369,NULL),(63,1370,NULL),(63,1371,NULL),(63,1372,NULL),(63,1373,NULL),(63,1374,NULL),(63,1375,NULL),(63,1376,NULL),(63,1377,NULL),(63,1378,NULL),(63,1379,NULL),(63,1380,NULL),(63,1381,NULL),(63,1382,NULL),(63,1383,NULL),(63,1384,NULL),(63,1385,NULL),(63,1386,NULL),(63,1387,NULL),(63,1388,NULL),(63,1389,NULL),(63,1390,NULL),(63,1391,NULL),(63,1392,NULL),(63,1393,NULL),(63,1394,NULL),(63,1395,NULL),(63,1396,NULL),(63,1397,NULL),(63,1398,NULL),(63,1399,NULL),(63,1400,NULL),(63,1401,NULL),(63,1402,NULL),(63,1403,NULL),(63,1404,NULL),(63,1405,NULL),(63,1406,NULL),(63,1407,NULL),(63,1408,NULL),(63,1409,NULL),(63,1410,NULL),(63,1411,NULL),(63,1412,NULL),(63,1413,NULL),(63,1414,NULL),(63,1415,NULL),(63,1416,NULL),(63,1417,NULL),(63,1418,NULL),(63,1419,NULL),(63,1420,NULL),(63,1421,NULL),(63,1422,NULL),(63,1423,NULL),(63,1424,NULL),(63,1425,NULL),(63,1426,NULL),(63,1427,NULL),(63,1428,NULL),(63,1429,NULL),(63,1430,NULL),(63,1431,NULL),(63,1432,NULL),(63,1433,NULL),(63,1434,NULL),(63,1435,NULL),(63,1436,NULL),(63,1437,NULL),(63,1438,NULL),(63,1439,NULL),(63,1440,NULL),(63,1441,NULL),(63,1442,NULL),(63,1443,NULL),(63,1444,NULL),(63,1445,NULL),(63,1446,NULL),(63,1447,NULL),(63,1448,NULL),(63,1449,NULL),(63,1450,NULL),(63,1451,NULL),(63,1452,NULL),(63,1453,NULL),(63,1454,NULL),(63,1455,NULL),(63,1456,NULL),(63,1457,NULL),(63,1458,NULL),(63,1459,NULL),(63,1460,NULL),(63,1461,NULL),(63,1462,NULL),(64,1463,NULL),(64,1464,NULL),(64,1465,NULL),(64,1466,NULL),(64,1467,NULL),(64,1468,NULL),(64,1469,NULL),(64,1470,NULL),(64,1471,NULL),(64,1472,NULL),(64,1473,NULL),(64,1474,NULL),(64,1475,NULL),(64,1476,NULL),(64,1477,NULL),(64,1478,NULL),(64,1479,NULL),(64,1480,NULL),(64,1481,NULL),(64,1482,NULL),(64,1483,NULL),(64,1484,NULL),(64,1485,NULL),(64,1486,NULL),(64,1487,NULL),(64,1488,NULL),(64,1489,NULL),(64,1490,NULL),(64,1491,NULL),(64,1492,NULL),(64,1493,NULL),(64,1494,NULL),(64,1495,NULL),(64,1496,NULL),(64,1497,NULL),(64,1498,NULL),(64,1499,NULL),(64,1500,NULL),(64,1501,NULL),(64,1502,NULL),(64,1503,NULL),(64,1504,NULL),(64,1505,NULL),(64,1506,NULL),(64,1507,NULL),(64,1508,NULL),(64,1509,NULL),(64,1510,NULL),(64,1511,NULL),(64,1512,NULL),(64,1513,NULL),(64,1514,NULL),(64,1515,NULL),(64,1516,NULL),(64,1517,NULL),(64,1518,NULL),(64,1519,NULL),(64,1520,NULL),(64,1521,NULL),(64,1522,NULL),(64,1523,NULL),(64,1524,NULL),(64,1525,NULL),(64,1526,NULL),(64,1527,NULL),(64,1528,NULL),(64,1529,NULL),(64,1530,NULL),(64,1531,NULL),(64,1532,NULL),(64,1533,NULL),(64,1534,NULL),(64,1535,NULL),(64,1536,NULL),(64,1537,NULL),(64,1538,NULL),(64,1539,NULL),(64,1540,NULL),(64,1541,NULL),(64,1542,NULL),(64,1543,NULL),(64,1544,NULL),(64,1545,NULL),(64,1546,NULL),(64,1547,NULL),(64,1548,NULL),(64,1549,NULL),(64,1550,NULL),(64,1551,NULL),(64,1552,NULL),(64,1553,NULL),(64,1554,NULL),(64,1555,NULL),(64,1556,NULL),(64,1557,NULL),(64,1558,NULL),(64,1559,NULL),(64,1560,NULL),(64,1561,NULL),(64,1562,NULL),(64,1563,NULL),(64,1564,NULL),(64,1565,NULL),(64,1566,NULL),(64,1567,NULL),(64,1568,NULL),(64,1569,NULL),(64,1570,NULL),(64,1571,NULL),(64,1572,NULL),(64,1573,NULL),(64,1574,NULL),(64,1575,NULL),(64,1576,NULL),(64,1577,NULL),(64,1578,NULL),(64,1579,NULL),(64,1580,NULL),(64,1581,NULL),(64,1582,NULL),(64,1583,NULL),(64,1584,NULL),(64,1585,NULL),(64,1586,NULL),(64,1587,NULL),(64,1588,NULL),(64,1589,NULL),(64,1590,NULL),(64,1591,NULL),(64,1592,NULL),(64,1593,NULL),(64,1594,NULL),(64,1595,NULL),(64,1596,NULL),(64,1597,NULL),(64,1598,NULL),(65,1890,NULL),(65,1891,NULL),(65,1892,NULL),(65,1893,NULL),(65,1894,NULL),(65,1895,NULL),(65,1896,NULL),(65,1897,NULL),(65,1898,NULL),(65,1899,NULL),(65,1900,NULL),(65,1901,NULL),(65,1902,NULL),(65,1903,NULL),(65,1904,NULL),(65,1905,NULL),(65,1906,NULL),(65,1907,NULL),(65,1908,NULL),(65,1909,NULL),(65,1910,NULL),(65,1911,NULL),(65,1912,NULL),(65,1913,NULL),(65,1914,NULL),(66,15,NULL),(66,16,NULL),(69,19,NULL),(69,28,NULL),(69,267,NULL),(69,269,NULL),(69,1609,NULL),(69,1610,NULL),(69,1611,NULL),(69,1612,NULL),(69,1613,NULL),(69,1614,NULL),(69,1615,NULL),(69,1616,NULL),(69,1617,NULL),(69,1618,NULL),(69,1619,NULL),(69,1620,NULL),(69,1621,NULL),(69,1622,NULL),(69,1623,NULL),(69,1624,NULL),(69,1625,NULL),(69,1626,NULL),(69,1627,NULL),(69,1628,NULL),(69,1629,NULL),(69,1630,NULL),(69,1631,NULL),(69,1632,NULL),(69,1633,NULL),(69,1634,NULL),(69,1635,NULL),(69,1636,NULL),(69,1637,NULL),(69,1638,NULL),(69,1639,NULL),(69,1640,NULL),(69,1641,NULL),(69,1642,NULL),(69,1643,NULL),(69,1644,NULL),(69,1645,NULL),(69,1646,NULL),(69,1647,NULL),(69,1648,NULL),(69,1649,NULL),(69,1650,NULL),(69,1651,NULL),(69,1652,NULL),(69,1653,NULL),(69,1654,NULL),(69,1655,NULL),(69,1656,NULL),(69,1657,NULL),(69,1658,NULL),(69,1659,NULL),(69,1660,NULL),(69,1661,NULL),(69,1662,NULL),(69,1663,NULL),(69,1664,NULL),(69,1665,NULL),(69,1666,NULL),(69,1667,NULL),(69,1668,NULL),(69,1669,NULL),(69,1670,NULL),(69,1671,NULL),(69,1672,NULL),(69,1673,NULL),(69,1674,NULL),(69,1675,NULL),(69,1676,NULL),(69,1677,NULL),(69,1678,NULL),(69,1679,NULL),(69,1680,NULL),(69,1681,NULL),(69,1682,NULL),(69,1683,NULL),(69,1684,NULL),(69,1685,NULL),(69,1686,NULL),(69,1687,NULL),(69,1688,NULL),(69,1689,NULL),(69,1690,NULL),(69,1691,NULL),(69,1692,NULL),(69,1693,NULL),(69,1694,NULL),(69,1695,NULL),(69,1696,NULL),(69,1697,NULL),(69,1698,NULL),(69,1699,NULL),(69,1700,NULL),(69,1701,NULL),(69,1702,NULL),(69,1703,NULL),(69,1704,NULL),(69,1705,NULL),(69,1706,NULL),(69,1707,NULL),(69,1708,NULL),(69,1709,NULL),(69,1710,NULL),(69,1711,NULL),(69,1712,NULL),(69,1713,NULL),(69,1714,NULL),(69,1715,NULL),(69,1716,NULL),(69,1717,NULL),(69,1718,NULL),(69,1719,NULL),(69,1720,NULL),(69,1721,NULL),(69,1722,NULL),(69,1723,NULL),(69,1724,NULL),(69,1725,NULL),(69,1726,NULL),(69,1727,NULL),(69,1728,NULL),(69,1729,NULL),(69,1730,NULL),(69,1731,NULL),(69,1732,NULL),(69,1733,NULL),(69,1734,NULL),(69,1735,NULL),(69,1736,NULL),(69,1737,NULL),(69,1738,NULL),(69,1739,NULL),(69,1740,NULL),(69,1741,NULL),(69,1742,NULL),(69,1743,NULL),(69,1744,NULL),(69,1745,NULL),(69,1746,NULL),(69,1747,NULL),(69,1748,NULL),(69,1749,NULL),(69,1750,NULL),(69,1751,NULL),(69,1752,NULL),(69,1753,NULL),(69,1754,NULL),(69,1755,NULL),(69,1756,NULL),(69,1757,NULL),(69,1758,NULL),(69,1759,NULL),(69,1760,NULL),(69,1761,NULL),(69,1762,NULL),(69,1763,NULL),(69,1764,NULL),(69,1765,NULL),(69,1766,NULL),(69,1767,NULL),(69,1768,NULL),(69,1769,NULL),(69,1770,NULL),(69,1771,NULL),(69,1772,NULL),(69,1773,NULL),(69,1774,NULL),(69,1775,NULL),(69,1776,NULL),(69,1777,NULL),(69,1778,NULL),(69,1779,NULL),(69,1780,NULL),(69,1781,NULL),(69,1782,NULL),(69,1783,NULL),(69,1784,NULL),(69,1785,NULL),(69,1786,NULL),(69,1787,NULL),(69,1788,NULL),(69,1789,NULL),(69,1790,NULL),(69,1791,NULL),(69,1792,NULL),(69,1793,NULL),(69,1794,NULL),(69,1795,NULL),(69,1796,NULL),(69,1797,NULL),(69,1798,NULL),(69,1799,NULL),(69,1800,NULL),(69,1801,NULL),(69,1802,NULL),(69,1803,NULL),(69,1804,NULL),(69,1805,NULL),(69,1806,NULL),(69,1807,NULL),(69,1808,NULL),(69,1809,NULL),(69,1810,NULL),(69,1811,NULL),(69,1812,NULL),(69,1813,NULL),(69,1814,NULL),(69,1815,NULL),(69,1816,NULL),(69,1817,NULL),(69,1818,NULL),(69,1819,NULL),(69,1820,NULL),(69,1821,NULL),(69,1822,NULL),(69,1823,NULL),(69,1824,NULL),(69,1825,NULL),(69,1826,NULL),(69,1827,NULL),(69,1828,NULL),(69,1829,NULL),(69,1830,NULL),(69,1831,NULL),(69,1832,NULL),(69,1833,NULL),(69,1834,NULL),(69,1835,NULL),(69,1836,NULL),(69,1837,NULL),(69,1838,NULL),(69,1839,NULL),(69,1840,NULL),(69,1841,NULL),(69,1842,NULL),(69,1843,NULL),(69,1844,NULL),(69,1845,NULL),(69,1846,NULL),(69,1847,NULL),(69,1848,NULL),(69,1849,NULL),(69,1850,NULL),(69,1851,NULL),(69,1852,NULL),(69,1853,NULL),(69,1854,NULL),(69,1855,NULL),(69,1856,NULL),(69,1857,NULL),(69,1858,NULL),(69,1859,NULL),(69,1860,NULL),(69,1861,NULL),(69,1862,NULL),(69,1863,NULL),(69,1864,NULL),(69,1865,NULL),(69,1866,NULL),(69,1867,NULL),(69,1868,NULL),(69,1869,NULL),(69,1870,NULL),(69,1871,NULL),(69,1872,NULL),(69,1873,NULL),(69,1874,NULL),(69,1875,NULL),(69,1876,NULL),(69,1877,NULL),(69,1878,NULL),(69,1879,NULL),(69,1880,NULL),(69,1881,NULL),(69,1882,NULL),(69,1883,NULL),(69,1884,NULL),(69,1885,NULL),(69,1886,NULL),(69,1887,NULL),(69,1888,NULL),(69,1889,NULL),(71,803,NULL),(71,804,NULL),(71,813,NULL),(71,814,NULL),(71,1266,NULL),(71,2051,NULL),(71,2052,NULL),(71,2053,NULL),(71,2054,NULL),(71,2055,NULL),(71,2056,NULL),(71,2057,NULL),(71,2058,NULL),(71,2059,NULL),(71,2060,NULL),(71,2061,NULL),(71,2062,NULL),(71,2063,NULL),(71,2064,NULL),(71,2065,NULL),(71,2066,NULL),(71,2067,NULL),(71,2068,NULL),(71,2069,NULL),(71,2070,NULL),(71,2071,NULL),(71,2072,NULL),(71,2073,NULL),(71,2074,NULL),(71,2075,NULL),(71,2076,NULL),(71,2077,NULL),(71,2078,NULL),(71,2079,NULL),(71,2080,NULL),(71,2081,NULL),(71,2082,NULL),(71,2083,NULL),(71,2084,NULL),(71,2085,NULL),(71,2086,NULL),(71,2087,NULL),(71,2088,NULL),(71,2089,NULL),(71,2090,NULL),(71,2091,NULL),(71,2092,NULL),(71,2093,NULL),(71,2094,NULL),(71,2095,NULL),(71,2096,NULL),(71,2097,NULL),(71,2098,NULL),(71,2099,NULL),(71,2100,NULL),(71,2101,NULL),(71,2102,NULL),(71,2103,NULL),(71,2104,NULL),(71,2105,NULL),(71,2106,NULL),(72,790,NULL),(72,791,NULL),(72,805,NULL),(72,807,NULL),(72,1999,NULL),(72,2000,NULL),(72,2001,NULL),(72,2002,NULL),(72,2003,NULL),(72,2004,NULL),(72,2005,NULL),(72,2006,NULL),(72,2007,NULL),(72,2008,NULL),(72,2009,NULL),(72,2010,NULL),(72,2011,NULL),(72,2012,NULL),(72,2013,NULL),(72,2014,NULL),(72,2015,NULL),(72,2016,NULL),(72,2017,NULL),(72,2018,NULL),(72,2019,NULL),(72,2020,NULL),(72,2021,NULL),(72,2022,NULL),(72,2023,NULL),(72,2024,NULL),(72,2025,NULL),(72,2026,NULL),(72,2027,NULL),(72,2028,NULL),(72,2029,NULL),(72,2030,NULL),(72,2031,NULL),(72,2032,NULL),(72,2033,NULL),(72,2034,NULL),(72,2035,NULL),(72,2036,NULL),(72,2037,NULL),(72,2038,NULL),(72,2039,NULL),(72,2040,NULL),(72,2041,NULL),(72,2042,NULL),(72,2043,NULL),(72,2044,NULL),(72,2045,NULL),(72,2046,NULL),(72,2047,NULL),(72,2048,NULL),(72,2049,NULL),(72,2050,NULL),(73,821,NULL),(73,822,NULL),(73,823,NULL),(73,824,NULL),(73,825,NULL),(73,1284,NULL),(73,1285,NULL),(73,1286,NULL),(73,1287,NULL),(73,1288,NULL),(73,1289,NULL),(73,1290,NULL),(73,1291,NULL),(73,1292,NULL),(73,1293,NULL),(73,1294,NULL),(73,1295,NULL),(73,1296,NULL),(73,1297,NULL),(73,1298,NULL),(73,1299,NULL),(73,1300,NULL),(73,1301,NULL),(75,826,NULL),(75,827,NULL),(75,2111,NULL),(75,2112,NULL),(75,2113,NULL),(75,2114,NULL),(75,2115,NULL),(75,2116,NULL),(75,2117,NULL),(75,2118,NULL),(76,1957,NULL),(76,1958,NULL),(76,1959,NULL),(76,1960,NULL),(76,1961,NULL),(76,1962,NULL),(76,1963,NULL),(76,1964,NULL),(76,1965,NULL),(77,1966,NULL),(77,1967,NULL),(77,1968,NULL),(77,1969,NULL),(77,1970,NULL),(77,1971,NULL),(77,1972,NULL),(77,1973,NULL),(78,1934,NULL),(78,1935,NULL),(78,1936,NULL),(78,1937,NULL),(78,1938,NULL),(78,1939,NULL),(78,1940,NULL),(78,1941,NULL),(78,1942,NULL),(78,1943,NULL),(78,1944,NULL),(78,1945,NULL),(78,1946,NULL),(78,1947,NULL),(78,1948,NULL),(78,1949,NULL),(78,1950,NULL),(78,1951,NULL),(78,1952,NULL),(78,1953,NULL),(78,1954,NULL),(78,1955,NULL),(78,1956,NULL),(79,1995,NULL),(79,1996,NULL),(79,1997,NULL),(79,1998,NULL),(80,1918,NULL),(80,1919,NULL),(80,1920,NULL),(80,1921,NULL),(80,1922,NULL),(80,1923,NULL),(80,1930,NULL),(80,1931,NULL),(80,1974,NULL),(80,1975,NULL),(80,1976,NULL),(80,1977,NULL),(80,1978,NULL),(80,1979,NULL),(80,1980,NULL),(80,1981,NULL),(80,1982,NULL),(80,1983,NULL),(80,1984,NULL),(80,1985,NULL),(80,1986,NULL),(80,1987,NULL),(80,1988,NULL),(81,983,NULL),(81,984,NULL),(81,985,NULL),(81,989,NULL),(81,990,NULL),(81,991,NULL),(81,992,NULL),(81,993,NULL),(81,994,NULL),(81,995,NULL),(81,996,NULL),(81,997,NULL),(81,998,NULL),(81,999,NULL),(81,1000,NULL),(81,1001,NULL),(81,1002,NULL),(81,1003,NULL),(81,1004,NULL),(81,1005,NULL),(81,1006,NULL),(81,1915,NULL),(81,1916,NULL),(81,1917,NULL),(82,1007,NULL),(82,1008,NULL),(82,1009,NULL),(82,1010,NULL),(82,1011,NULL),(82,1012,NULL),(83,1159,NULL),(83,1166,NULL),(83,1255,NULL),(83,1256,NULL),(83,1257,NULL),(83,1258,NULL),(83,1259,NULL),(83,1260,NULL),(84,1072,NULL),(84,1073,NULL),(84,1074,NULL),(84,1075,NULL),(84,1076,NULL),(84,1077,NULL),(84,1078,NULL),(84,1079,NULL),(84,1080,NULL),(84,1081,NULL),(84,1082,NULL),(84,1083,NULL),(84,1084,NULL),(84,1085,NULL),(84,1086,NULL),(84,1095,NULL),(84,1096,NULL),(84,1097,NULL),(84,1098,NULL),(84,1099,NULL),(84,1100,NULL),(84,1101,NULL),(84,1102,NULL),(84,1103,NULL),(84,1104,NULL),(85,1048,NULL),(85,1087,NULL),(85,1088,NULL),(85,1089,NULL),(85,1090,NULL),(85,1091,NULL),(85,1092,NULL),(85,1093,NULL),(85,1094,NULL),(85,1105,NULL),(85,1106,NULL),(85,1107,NULL),(85,1108,NULL),(85,1109,NULL),(85,1110,NULL),(85,1111,NULL),(85,1112,NULL),(85,1113,NULL),(85,1114,NULL),(85,1115,NULL),(85,1116,NULL),(85,1117,NULL),(85,1118,NULL),(85,1119,NULL),(85,1120,NULL),(85,1121,NULL),(85,1122,NULL),(85,1123,NULL),(85,1124,NULL),(85,1125,NULL),(85,1126,NULL),(85,1127,NULL),(86,1054,NULL),(86,1055,NULL),(86,1056,NULL),(86,1057,NULL),(86,1058,NULL),(86,1059,NULL),(86,1060,NULL),(86,1061,NULL),(86,1062,NULL),(86,1063,NULL),(86,1064,NULL),(86,1065,NULL),(86,1066,NULL),(86,1067,NULL),(86,1068,NULL),(86,1069,NULL),(86,1070,NULL),(86,1071,NULL),(86,1134,NULL),(86,1135,NULL),(86,1136,NULL),(86,1137,NULL);

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

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

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


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

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

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

INSERT INTO `llx_categorie_societe` (`fk_categorie`, `fk_soc`, `import_key`) VALUES (87,5,NULL);

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

CREATE TABLE `llx_categorie_warehouse` (
  `fk_categorie` int(11) NOT NULL,
  `fk_warehouse` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_warehouse`),
  KEY `idx_categorie_warehouse_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_warehouse_fk_warehouse` (`fk_warehouse`),
  CONSTRAINT `fk_categorie_warehouse_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_warehouse_fk_warehouse_rowid` FOREIGN KEY (`fk_warehouse`) REFERENCES `llx_entrepot` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_warehouse`
--


--
-- Table structure for table `llx_categorie_website_page`
--

CREATE TABLE `llx_categorie_website_page` (
  `fk_categorie` int(11) NOT NULL,
  `fk_website_page` int(11) NOT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_website_page`),
  KEY `idx_categorie_website_page_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_website_page_fk_website_page` (`fk_website_page`),
  CONSTRAINT `fk_categorie_website_page_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_website_page_website_page_rowid` FOREIGN KEY (`fk_website_page`) REFERENCES `llx_website_page` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_categorie_website_page`
--


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

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

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


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

CREATE TABLE `llx_chargesociales` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_ech` datetime NOT NULL,
  `libelle` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `periode` date DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user` int(11) 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(155) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_int` varchar(155) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_client` varchar(155) 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,
  `total_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 DEFAULT NULL,
  `note_public` text 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,
  `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` datetime 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,
  `module_source` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `pos_source` text COLLATE utf8_unicode_ci DEFAULT NULL,
  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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_commande` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `fk_soc`, `fk_projet`, `tms`, `date_creation`, `date_valid`, `date_cloture`, `date_commande`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_user_cloture`, `source`, `fk_statut`, `amount_ht`, `remise_percent`, `remise_absolue`, `remise`, `total_tva`, `localtax1`, `localtax2`, `total_ht`, `total_ttc`, `note_private`, `note_public`, `model_pdf`, `last_main_doc`, `facture`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `date_livraison`, `fk_shipping_method`, `fk_warehouse`, `fk_availability`, `fk_input_reason`, `fk_delivery_address`, `fk_incoterms`, `location_incoterms`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`, `module_source`, `pos_source`) VALUES (1,'CO1906-0001',1,NULL,NULL,'Dépose et mise en place d\'une clôture en panneaux rigides',2,NULL,'2019-07-25 07:44:05','2019-06-11 11:06:22','2019-06-11 11:07:01',NULL,'2019-06-11',3,NULL,3,NULL,NULL,1,0.00000000,0,NULL,0,163.12000000,0.00000000,0.00000000,1631.15000000,1794.27000000,'','','einstein','commande/CO1906-0001/CO1906-0001.pdf',0,NULL,NULL,14,7,NULL,NULL,NULL,NULL,NULL,NULL,0,'',NULL,NULL,0,'EUR',1.00000000,1631.15000000,163.12000000,1794.27000000,NULL,NULL);

--
-- 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,
  `total_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 DEFAULT NULL,
  `note_public` text 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,
  `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(128) 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(),
  `fk_projet` int(11) DEFAULT NULL,
  `fk_reception` int(11) DEFAULT NULL,
  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_dispatch_extrafields`
--

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

--
-- Dumping data for table `llx_commande_fournisseur_dispatch_extrafields`
--


--
-- 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 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 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,
  `date_cre` datetime DEFAULT NULL,
  `date_maj` datetime DEFAULT NULL,
  `poids` int(11) NOT NULL DEFAULT 0,
  `tarif_poids` double NOT NULL DEFAULT 0,
  `metre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `fk_commande_fournisseurdet_fk_unit` (`fk_unit`),
  KEY `idx_commande_fournisseurdet_fk_commande` (`fk_commande`),
  KEY `idx_commande_fournisseurdet_fk_product` (`fk_product`),
  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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  `subtotal_nc` varchar(255) 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,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci 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,
  `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,
  `date_cre` datetime DEFAULT NULL,
  `date_maj` datetime DEFAULT NULL,
  `poids` int(11) NOT NULL DEFAULT 0,
  `tarif_poids` double NOT NULL DEFAULT 0,
  `metre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_fk_commande` (`fk_commande`),
  KEY `idx_commandedet_fk_product` (`fk_product`),
  KEY `fk_commandedet_fk_unit` (`fk_unit`),
  KEY `fk_commandedet_fk_commandefourndet` (`fk_commandefourndet`),
  CONSTRAINT `fk_commandedet_fk_commande` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_commandefourndet` FOREIGN KEY (`fk_commandefourndet`) REFERENCES `llx_commande_fournisseurdet` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_commandedet` (`rowid`, `fk_commande`, `fk_parent_line`, `fk_product`, `label`, `ref_ext`, `description`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `fk_remise_except`, `price`, `subprice`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `buy_price_ht`, `fk_product_fournisseur_price`, `special_code`, `rang`, `fk_unit`, `import_key`, `fk_commandefourndet`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`, `date_cre`, `date_maj`, `poids`, `tarif_poids`, `metre`) VALUES (1,1,NULL,NULL,'depose cloture',NULL,'','',0.000,0.000,'0',0.000,'0',1,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,1,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(2,1,NULL,2121,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',1,0,0,NULL,250,250.00000000,250.00000000,25.00000000,0.00000000,0.00000000,275.00000000,1,NULL,NULL,0,0.00000000,NULL,0,2,NULL,NULL,NULL,NULL,'EUR',250.00000000,250.00000000,25.00000000,275.00000000,NULL,NULL,0,0,NULL),(3,1,NULL,NULL,'Sous-total depose cloture',NULL,'','',0.000,0.000,'0',0.000,'0',99,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,3,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(4,1,NULL,NULL,'Fourniture et pose (15.50ml)',NULL,'','',0.000,0.000,'0',0.000,'0',1,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,4,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(5,1,NULL,NULL,'cloture',NULL,'','',0.000,0.000,'0',0.000,'0',2,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,5,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(6,1,NULL,NULL,NULL,NULL,'<p>Mise en place d&#39;une cl&ocirc;ture en panneaux rigides AXIS C H.1m73 Coloris Gris RAL 7016 ou Vert RAL 6005 avec poteaux H.2m00 carrot&eacute;s sur murette existante</p>','',0.000,0.000,'0',0.000,'0',50,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,6,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(7,1,NULL,944,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',7,0,0,NULL,39.71,39.71000000,277.97000000,27.80000000,0.00000000,0.00000000,305.77000000,0,NULL,NULL,0,26.54000000,NULL,0,7,NULL,NULL,NULL,NULL,'EUR',39.71000000,277.97000000,27.80000000,305.77000000,NULL,NULL,0,0,NULL),(8,1,NULL,2007,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',8,0,0,NULL,17.55,17.55000000,140.40000000,14.04000000,0.00000000,0.00000000,154.44000000,0,NULL,NULL,0,11.70000000,NULL,0,8,NULL,NULL,NULL,NULL,'EUR',17.55000000,140.40000000,14.04000000,154.44000000,NULL,NULL,0,0,NULL),(9,1,NULL,2123,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',0.5,0,0,NULL,160,160.00000000,80.00000000,8.00000000,0.00000000,0.00000000,88.00000000,0,NULL,NULL,0,0.00000000,NULL,0,9,NULL,NULL,NULL,NULL,'EUR',160.00000000,80.00000000,8.00000000,88.00000000,NULL,NULL,0,0,NULL),(10,1,NULL,2122,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',0.5,0,0,NULL,1150,1150.00000000,575.00000000,57.50000000,0.00000000,0.00000000,632.50000000,1,NULL,NULL,0,0.00000000,NULL,0,10,NULL,NULL,NULL,NULL,'EUR',1150.00000000,575.00000000,57.50000000,632.50000000,NULL,NULL,0,0,NULL),(11,1,NULL,NULL,'Sous-total',NULL,'','',0.000,0.000,'0',0.000,'0',98,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,11,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(12,1,NULL,NULL,'lames occultantes',NULL,'','',0.000,0.000,'0',0.000,'0',2,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,12,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(13,1,NULL,NULL,NULL,NULL,'<p>kit de lames occultantes</p>','',0.000,0.000,'0',0.000,'0',50,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,13,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(14,1,NULL,1193,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',2,0,0,NULL,78.89,78.89000000,157.78000000,15.78000000,0.00000000,0.00000000,173.56000000,0,NULL,NULL,0,52.58000000,NULL,0,14,NULL,NULL,NULL,NULL,'EUR',78.89000000,157.78000000,15.78000000,173.56000000,NULL,NULL,0,0,NULL),(15,1,NULL,2122,NULL,NULL,'','',10.000,0.000,'0',0.000,'0',1,0,0,NULL,150,150.00000000,150.00000000,15.00000000,0.00000000,0.00000000,165.00000000,1,NULL,NULL,0,0.00000000,NULL,0,15,NULL,NULL,NULL,NULL,'EUR',150.00000000,150.00000000,15.00000000,165.00000000,NULL,NULL,0,0,NULL),(16,1,NULL,NULL,'Sous-total',NULL,'','',0.000,0.000,'0',0.000,'0',98,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,16,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL),(17,1,NULL,NULL,'Sous-total',NULL,'','',0.000,0.000,'0',0.000,'0',99,0,0,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0.00000000,NULL,104777,17,NULL,NULL,NULL,NULL,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,0,0,NULL);

--
-- 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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  `subtotal_nc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_extrafields` (`fk_object`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_commandedet_extrafields` (`rowid`, `tms`, `fk_object`, `import_key`, `show_total_ht`, `show_reduc`, `subtotal_nc`) VALUES (1,'2019-06-11 09:06:22',2,NULL,NULL,NULL,NULL),(2,'2019-06-11 09:06:22',3,NULL,NULL,NULL,NULL),(3,'2019-06-11 09:06:23',7,NULL,NULL,NULL,NULL),(4,'2019-06-11 09:06:23',8,NULL,NULL,NULL,NULL),(5,'2019-06-11 09:06:23',9,NULL,NULL,NULL,NULL),(6,'2019-06-11 09:06:23',10,NULL,NULL,NULL,NULL),(7,'2019-06-11 09:06:23',14,NULL,NULL,NULL,NULL),(8,'2019-06-11 09:06:23',15,NULL,NULL,NULL,NULL);

--
-- 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,
  `fk_user_modif` int(11) 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 DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_const` (`name`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=639 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-05-06 09:05:46'),(3,'MAILING_LIMIT_SENDBYWEB',0,'25','chaine',1,'Number of targets to defined packet size when sending mass email','2019-05-06 09:05:46'),(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-05-06 09:05:46'),(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-05-06 09:05:46'),(6,'SYSLOG_HANDLERS',0,'[\"mod_syslog_file\"]','chaine',0,'Which logger to use','2019-05-06 09:05:46'),(7,'SYSLOG_FILE',0,'DOL_DATA_ROOT/dolibarr.log','chaine',0,'Directory where to write log file','2019-05-06 09:05:46'),(8,'SYSLOG_LEVEL',0,'7','chaine',0,'Level of debug info to show','2019-05-06 09:05:46'),(9,'MAIN_UPLOAD_DOC',0,'2048','chaine',0,'Max size for file upload (0 means no upload allowed)','2019-05-06 09:05:46'),(10,'MAIN_ENABLE_OVERWRITE_TRANSLATION',1,'1','chaine',0,'Enable translation overwrite','2019-05-06 09:05:46'),(11,'MAIN_ENABLE_DEFAULT_VALUES',1,'1','chaine',0,'Enable default value overwrite','2019-05-06 09:05:46'),(16,'MAIN_SIZE_LISTE_LIMIT',0,'25','chaine',0,'Longueur maximum des listes','2019-05-06 09:05:46'),(17,'MAIN_SIZE_SHORTLIST_LIMIT',0,'3','chaine',0,'Longueur maximum des listes courtes (fiche client)','2019-05-06 09:05:46'),(18,'MAIN_MENU_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for internal users','2019-05-06 09:05:46'),(19,'MAIN_MENUFRONT_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for external users','2019-05-06 09:05:46'),(20,'MAIN_MENU_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for internal users using smartphones','2019-05-06 09:05:46'),(21,'MAIN_MENUFRONT_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for external users using smartphones','2019-05-06 09:05:46'),(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-05-06 09:05:46'),(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-05-06 09:05:46'),(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-05-06 09:05:46'),(25,'MAIN_DELAY_PROPALS_TO_CLOSE',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales à cloturer','2019-05-06 09:05:46'),(26,'MAIN_DELAY_PROPALS_TO_BILL',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales non facturées','2019-05-06 09:05:46'),(27,'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures client impayées','2019-05-06 09:05:46'),(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-05-06 09:05:46'),(29,'MAIN_DELAY_NOT_ACTIVATED_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services à activer','2019-05-06 09:05:46'),(30,'MAIN_DELAY_RUNNING_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services expirés','2019-05-06 09:05:46'),(31,'MAIN_DELAY_MEMBERS',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard','2019-05-06 09:05:46'),(32,'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE',1,'62','chaine',0,'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire','2019-05-06 09:05:46'),(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-05-06 09:05:46'),(34,'MAIN_FIX_FOR_BUGGED_MTA',1,'1','chaine',1,'Set constant to fix email ending from PHP with some linux ike system','2019-05-06 09:05:46'),(35,'MAILING_EMAIL_FROM',1,'dolibarr@domain.com','chaine',0,'EMail emmetteur pour les envois d emailings','2019-05-06 09:05:46'),(36,'PRODUCT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/products','chaine',0,NULL,'2019-05-06 09:05:46'),(37,'CONTRACT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/contracts','chaine',0,NULL,'2019-05-06 09:05:46'),(38,'USERGROUP_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/usergroups','chaine',0,NULL,'2019-05-06 09:05:46'),(39,'USER_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/users','chaine',0,NULL,'2019-05-06 09:05:46'),(41,'DATABASE_PWD_ENCRYPTED',1,'1','chaine',0,'','2019-05-06 09:06:15'),(42,'MAIN_SECURITY_SALT',0,'20190506110615','chaine',0,'','2019-05-06 09:06:15'),(43,'MAIN_SECURITY_HASH_ALGO',0,'password_hash','chaine',0,'','2019-05-06 09:06:15'),(44,'MAIN_VERSION_FIRST_INSTALL',0,'9.0.2','chaine',0,'Dolibarr version when first install','2019-05-06 09:06:15'),(45,'MAIN_VERSION_LAST_INSTALL',0,'9.0.2','chaine',0,'Dolibarr version when last install','2019-05-06 09:06:15'),(66,'MAIN_INFO_SOCIETE_LOGO',1,'cloture paloise.JPG','chaine',0,'','2019-05-06 09:09:37'),(67,'MAIN_INFO_SOCIETE_LOGO_SMALL',1,'cloture paloise_small.jpg','chaine',0,'','2019-05-06 09:09:37'),(68,'MAIN_INFO_SOCIETE_LOGO_MINI',1,'cloture paloise_mini.jpg','chaine',0,'','2019-05-06 09:09:37'),(79,'MAIN_MULTILANGS',1,'0','chaine',0,'','2019-05-06 09:12:34'),(85,'MAIN_DISABLE_JAVASCRIPT',1,'0','chaine',0,'','2019-05-06 09:12:35'),(86,'MAIN_BUTTON_HIDE_UNAUTHORIZED',1,'0','chaine',0,'','2019-05-06 09:12:35'),(90,'MAIN_SHOW_LOGO',1,'1','chaine',0,'','2019-05-06 09:12:35'),(92,'MAIN_HELPCENTER_DISABLELINK',0,'0','chaine',0,'','2019-05-06 09:12:35'),(95,'MAIN_LOGIN_BACKGROUND',1,'clotures-paloise-cloture-10-750x502.jpg','chaine',0,'','2019-05-06 09:12:35'),(97,'HOLIDAY_ADDON',1,'mod_holiday_madonna','chaine',0,'Nom du gestionnaire de numerotation des congés','2019-05-06 09:12:50'),(98,'HOLIDAY_ADDON_PDF',1,'celebrate','chaine',0,'Name of PDF model of holiday','2019-05-06 09:12:50'),(99,'HOLIDAY_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/holiday','chaine',0,NULL,'2019-05-06 09:12:50'),(102,'SOCIETE_CODECOMPTA_ADDON',1,'mod_codecompta_panicum','chaine',0,'Module to control third parties codes','2019-05-06 09:12:54'),(103,'COMPANY_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/thirdparties','chaine',0,NULL,'2019-05-06 09:12:54'),(104,'SOCIETE_ADD_REF_IN_LIST',1,'0','yesno',0,'Display customer ref into select list','2019-05-06 09:12:54'),(105,'MAIN_MODULE_PROPALE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:12:56'),(107,'PROPALE_ADDON',1,'mod_propale_marbre','chaine',0,'Name of proposal numbering manager','2019-05-06 09:12:56'),(108,'PROPALE_VALIDITY_DURATION',1,'15','chaine',0,'Duration of validity of business proposals','2019-05-06 09:12:56'),(109,'PROPALE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/proposals','chaine',0,NULL,'2019-05-06 09:12:56'),(112,'COMMANDE_ADDON',1,'mod_commande_marbre','chaine',0,'Name of numbering numerotation rules of order','2019-05-06 09:12:58'),(113,'COMMANDE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/orders','chaine',0,NULL,'2019-05-06 09:12:58'),(115,'COMMANDE_SUPPLIER_ADDON_PDF',1,'muscadet','chaine',0,'Nom du gestionnaire de generation des bons de commande en PDF','2019-05-06 09:13:03'),(116,'COMMANDE_SUPPLIER_ADDON_NUMBER',1,'mod_commande_fournisseur_muguet','chaine',0,'Nom du gestionnaire de numerotation des commandes fournisseur','2019-05-06 09:13:03'),(117,'INVOICE_SUPPLIER_ADDON_NUMBER',1,'mod_facture_fournisseur_cactus','chaine',0,'Nom du gestionnaire de numerotation des factures fournisseur','2019-05-06 09:13:03'),(121,'FACTURE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/invoices','chaine',0,NULL,'2019-05-06 09:13:05'),(122,'MAIN_MODULE_TAX',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:07'),(125,'SALARIES_ACCOUNTING_ACCOUNT_CHARGE',1,'641','chaine',0,NULL,'2019-05-06 09:13:11'),(126,'MAIN_MODULE_LOAN',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:13'),(130,'MAIN_MODULE_PRELEVEMENT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:18'),(131,'BANK_ADDON_PDF',1,'sepamandate','chaine',0,'Name of manager to generate SEPA mandate','2019-05-06 09:13:18'),(133,'MAIN_COMPANY_CODE_ALWAYS_REQUIRED',1,'1','chaine',0,'With this constants on, third party code is always required whatever is numbering module behaviour','2019-05-06 09:13:21'),(134,'MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED',1,'1','chaine',0,'With this constants on, bank account number is always required','2019-05-06 09:13:21'),(141,'ACCOUNTING_LIST_SORT_VENTILATION_TODO',1,'1','yesno',0,NULL,'2019-05-06 09:13:21'),(142,'ACCOUNTING_LIST_SORT_VENTILATION_DONE',1,'1','yesno',0,NULL,'2019-05-06 09:13:21'),(143,'ACCOUNTING_EXPORT_DATE',1,'%d%m%Y','chaine',0,NULL,'2019-05-06 09:13:21'),(144,'ACCOUNTING_EXPORT_SEPARATORCSV',1,',','string',0,NULL,'2019-05-06 09:13:21'),(147,'MAIN_MODULE_MARGIN_TABS_0',1,'product:+margin:Margins:margins:$user->rights->margins->liretous:/margin/tabs/productMargins.php?id=__ID__','chaine',0,NULL,'2019-05-06 09:13:23'),(148,'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-05-06 09:13:23'),(150,'MAIN_MODULE_PRODUCT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:23'),(151,'PRODUCT_CODEPRODUCT_ADDON',1,'mod_codeproduct_leopard','chaine',0,'Module to control product codes','2019-05-06 09:13:23'),(153,'MAIN_MODULE_STOCK',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:29'),(154,'STOCK_ALLOW_NEGATIVE_TRANSFER',1,'1','chaine',1,NULL,'2019-05-06 09:13:29'),(155,'STOCK_ADDON_PDF',1,'Standard','chaine',0,'Name of PDF model of stock','2019-05-06 09:13:29'),(156,'MOUVEMENT_ADDON_PDF',1,'StdMouvement','chaine',0,'Name of PDF model of stock mouvement','2019-05-06 09:13:29'),(157,'STOCK_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/stocks','chaine',0,NULL,'2019-05-06 09:13:29'),(158,'MOUVEMENT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/stocks/mouvements','chaine',0,NULL,'2019-05-06 09:13:29'),(160,'MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(161,'MAIN_AGENDA_ACTIONAUTO_COMPANY_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(162,'MAIN_AGENDA_ACTIONAUTO_COMPANY_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(163,'MAIN_AGENDA_ACTIONAUTO_PROPAL_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(164,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_SIGNED',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(165,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_REFUSED',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(166,'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(167,'MAIN_AGENDA_ACTIONAUTO_PROPAL_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(168,'MAIN_AGENDA_ACTIONAUTO_PROPAL_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(169,'MAIN_AGENDA_ACTIONAUTO_ORDER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(170,'MAIN_AGENDA_ACTIONAUTO_ORDER_CLOSE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(171,'MAIN_AGENDA_ACTIONAUTO_ORDER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(172,'MAIN_AGENDA_ACTIONAUTO_ORDER_CANCEL',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(173,'MAIN_AGENDA_ACTIONAUTO_ORDER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(174,'MAIN_AGENDA_ACTIONAUTO_ORDER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(175,'MAIN_AGENDA_ACTIONAUTO_BILL_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(176,'MAIN_AGENDA_ACTIONAUTO_BILL_PAYED',1,'1','chaine',0,NULL,'2019-05-06 09:13:32'),(177,'MAIN_AGENDA_ACTIONAUTO_BILL_CANCEL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(178,'MAIN_AGENDA_ACTIONAUTO_BILL_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(179,'MAIN_AGENDA_ACTIONAUTO_BILL_UNVALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(180,'MAIN_AGENDA_ACTIONAUTO_BILL_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(181,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(182,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(183,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_SIGNED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(184,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_REFUSED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(185,'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(186,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(187,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_APPROVE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(188,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SUBMIT',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(189,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_RECEIVE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(190,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_REFUSE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(191,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(192,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(193,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(194,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(195,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_UNVALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(196,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_PAYED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(197,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(198,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_CANCELED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(199,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(200,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(201,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(202,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(203,'MAIN_AGENDA_ACTIONAUTO_SHIPPING_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(204,'MAIN_AGENDA_ACTIONAUTO_SHIPPING_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(205,'MAIN_AGENDA_ACTIONAUTO_SHIPPING_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(206,'MAIN_AGENDA_ACTIONAUTO_MEMBER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(207,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(208,'MAIN_AGENDA_ACTIONAUTO_MEMBER_MODIFY',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(209,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_CREATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(210,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_MODIFY',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(211,'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(212,'MAIN_AGENDA_ACTIONAUTO_MEMBER_RESILIATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(213,'MAIN_AGENDA_ACTIONAUTO_MEMBER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(214,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(215,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_MODIFY',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(216,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_BILLED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(217,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_UNBILLED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(218,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_REOPEN',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(219,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_SENTBYMAIL',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(220,'MAIN_AGENDA_ACTIONAUTO_FICHINTER_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(221,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_CREATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(222,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_MODIFY',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(223,'MAIN_AGENDA_ACTIONAUTO_PRODUCT_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(224,'MAIN_AGENDA_ACTIONAUTO_PROJECT_CREATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(225,'MAIN_AGENDA_ACTIONAUTO_PROJECT_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(226,'MAIN_AGENDA_ACTIONAUTO_PROJECT_MODIFY',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(227,'MAIN_AGENDA_ACTIONAUTO_PROJECT_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(228,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_CREATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(229,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(230,'MAIN_AGENDA_ACTIONAUTO_HOLIDAY_VALIDATE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(231,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_APPROVE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(232,'MAIN_AGENDA_ACTIONAUTO_HOLIDAY_APPROVE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(233,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_PAYED',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(234,'MAIN_AGENDA_ACTIONAUTO_EXPENSE_DELETE',1,'1','chaine',0,NULL,'2019-05-06 09:13:33'),(235,'MAIN_MODULE_CATEGORIE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:39'),(237,'MAIN_MODULE_FCKEDITOR',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:41'),(238,'FCKEDITOR_ENABLE_SOCIETE',1,'1','yesno',0,'WYSIWIG for description and note (except products/services)','2019-05-06 09:13:41'),(239,'FCKEDITOR_ENABLE_PRODUCTDESC',1,'1','yesno',0,'WYSIWIG for products/services description and note','2019-05-06 09:13:41'),(240,'FCKEDITOR_ENABLE_MAILING',1,'1','yesno',0,'WYSIWIG for mass emailings','2019-05-06 09:13:41'),(241,'FCKEDITOR_ENABLE_DETAILS',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2019-05-06 09:13:41'),(242,'FCKEDITOR_ENABLE_USERSIGN',1,'1','yesno',0,'WYSIWIG for user signature','2019-05-06 09:13:41'),(243,'FCKEDITOR_ENABLE_MAIL',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2019-05-06 09:13:41'),(244,'FCKEDITOR_SKIN',1,'moono-lisa','string',0,'Skin by default for fckeditor','2019-05-06 09:13:41'),(245,'MAIN_MODULE_WORKFLOW',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:44'),(247,'CRON_KEY',0,'','chaine',0,'CRON KEY','2019-05-06 09:13:51'),(249,'BLOCKEDLOG_ENTITY_FINGERPRINT',1,'ad169e2419270f13e32df47821065947018b6b9cfa4eb5710fa5e7c8bb97b9a6','chaine',0,'Numeric Unique Fingerprint','2019-05-06 09:13:54'),(250,'MAIN_MODULE_BLOCKEDLOG',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 09:13:54'),(251,'BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY',1,'FR','chaine',0,'This is list of country code where the module may be mandatory','2019-05-06 09:13:54'),(262,'TARIF_USE_PRICE_OF_PRECEDENT_LEVEL_IF_ZERO',1,'0','chaine',1,'Constante pour utiliser le premier prix de la grille de multiprix d\'un produit différent de zéro','2019-05-06 09:30:07'),(263,'TARIF_CAN_SET_PACKAGE_ON_LINE',1,'1','chaine',1,'Affiche ou pas le champs de saisie de conditionnement sur la ligne de propale/comm/facture','2019-05-06 09:30:07'),(264,'TARIF_FACTURE_DISPATCH_ON_EXPEDITION',1,'0','chaine',1,NULL,'2019-05-06 09:30:07'),(265,'TARIF_DONT_ADD_UNIT_SELECT',1,'1','chaine',1,NULL,'2019-05-06 09:30:07'),(266,'TARIF_DEFAULT_TYPE',1,'PRICE','chaine',1,NULL,'2019-05-06 09:30:07'),(267,'TARIF_DOL_DEFAULT_UNIT',1,'UNITE','chaine',1,NULL,'2019-05-06 09:30:07'),(268,'MAIN_MODULE_FULLCALENDAR',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"90.86.18.154\"}','2019-05-06 10:07:21'),(269,'MAIN_MODULE_FULLCALENDAR_TABS_0',1,'agenda:-cardweek','chaine',0,NULL,'2019-05-06 10:07:21'),(270,'MAIN_MODULE_FULLCALENDAR_TABS_1',1,'agenda:-cardday','chaine',0,NULL,'2019-05-06 10:07:21'),(271,'MAIN_MODULE_FULLCALENDAR_HOOKS',1,'[\"agenda\",\"agendalist\"]','chaine',0,NULL,'2019-05-06 10:07:21'),(272,'PRODUIT_LIMIT_SIZE',1,'1000','chaine',0,'','2019-05-16 12:04:05'),(273,'PRODUCT_PRICE_UNIQ',1,'0','chaine',0,'','2019-05-16 12:04:05'),(274,'PRODUIT_MULTIPRICES',1,'0','chaine',0,'','2019-05-16 12:04:05'),(275,'PRODUIT_CUSTOMER_PRICES',1,'1','chaine',0,'','2019-05-16 12:04:05'),(277,'PRODUIT_DESC_IN_FORM',1,'0','chaine',0,'','2019-05-16 12:04:06'),(279,'PRODUIT_FOURN_TEXTS',1,'0','chaine',0,'','2019-05-16 12:04:06'),(280,'CATEGORIE_RECURSIV_ADD',1,'1','chaine',0,'','2019-05-16 12:36:41'),(281,'INVOICE_CAN_NEVER_BE_REMOVED',1,'1','chaine',1,'non suppression des factures','2019-05-18 15:12:48'),(320,'ACCOUNTING_LENGTH_GACCOUNT',1,'8','chaine',0,'','2019-06-10 13:01:45'),(321,'ACCOUNTING_LENGTH_AACCOUNT',1,'8','chaine',0,'','2019-06-10 13:01:45'),(332,'DISPLAY_MARGIN_RATES',1,'1','chaine',0,'','2019-06-10 14:47:41'),(333,'AGENT_CONTACT_TYPE',1,'50','chaine',0,'','2019-06-10 14:47:52'),(334,'MARGIN_TYPE',1,'1','chaine',0,'','2019-06-10 14:47:54'),(335,'ACCOUNTING_EXPORT_MODELCSV',1,'6','chaine',0,'','2019-06-10 14:48:14'),(336,'ACCOUNTING_EXPORT_FORMAT',1,'txt','chaine',0,'','2019-06-10 14:48:14'),(341,'SUBTOTAL_STYLE_TITRES_SI_LIGNES_CACHEES',1,'I','chaine',1,'Définit le style (B : gras, I : Italique, U : Souligné) des sous titres lorsque le détail des lignes et des ensembles est caché','2019-06-10 16:09:04'),(342,'SUBTOTAL_ALLOW_ADD_BLOCK',1,'1','chaine',0,'Permet l\'ajout de titres et sous-totaux','2019-06-10 16:09:04'),(343,'SUBTOTAL_ALLOW_EDIT_BLOCK',1,'1','chaine',0,'Permet de modifier titres et sous-totaux','2019-06-10 16:09:04'),(344,'SUBTOTAL_ALLOW_REMOVE_BLOCK',1,'1','chaine',0,'Permet de supprimer les titres et sous-totaux','2019-06-10 16:09:04'),(345,'SUBTOTAL_TITLE_STYLE',1,'BU','chaine',0,NULL,'2019-06-10 16:09:04'),(346,'SUBTOTAL_SUBTOTAL_STYLE',1,'B','chaine',0,NULL,'2019-06-10 16:09:04'),(352,'SOCIETE_CODECLIENT_ADDON',1,'mod_codeclient_elephant','chaine',0,'','2019-06-11 07:50:04'),(362,'MAIN_DISABLE_ALL_MAILS',1,'0','chaine',0,'','2019-06-11 09:02:31'),(363,'MAIN_MAIL_ENABLED_USER_DEST_SELECT',1,'0','chaine',0,'','2019-06-11 09:02:31'),(364,'MAIN_MAIL_SENDMODE',1,'smtps','chaine',0,'','2019-06-11 09:02:31'),(365,'MAIN_MAIL_SMTP_PORT',1,'25','chaine',0,'','2019-06-11 09:02:31'),(366,'MAIN_MAIL_SMTP_SERVER',1,'smtp-relay.gmail.com','chaine',0,'','2019-06-11 09:02:31'),(367,'MAIN_MAIL_EMAIL_TLS',1,'0','chaine',0,'','2019-06-11 09:02:31'),(368,'MAIN_MAIL_EMAIL_STARTTLS',1,'0','chaine',0,'','2019-06-11 09:02:31'),(369,'MAIN_MAIL_EMAIL_FROM',1,'agence@cloturepaloise.fr','chaine',0,'','2019-06-11 09:02:31'),(370,'MAIN_MAIL_ERRORS_TO',1,'agence@cloturepaloise.fr','chaine',0,'','2019-06-11 09:02:31'),(371,'MAIN_MAIL_DEFAULT_FROMTYPE',1,'user','chaine',0,'','2019-06-11 09:02:31'),(372,'WORKFLOW_PROPAL_AUTOCREATE_ORDER',1,'1','chaine',0,'','2019-06-11 09:06:01'),(373,'WORKFLOW_ORDER_AUTOCREATE_INVOICE',1,'1','chaine',0,'','2019-06-11 09:06:01'),(374,'WORKFLOW_ORDER_CLASSIFY_BILLED_PROPAL',1,'1','chaine',0,'','2019-06-11 09:06:02'),(375,'WORKFLOW_INVOICE_CLASSIFY_BILLED_PROPAL',1,'1','chaine',0,'','2019-06-11 09:06:03'),(376,'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_ORDER',1,'1','chaine',0,'','2019-06-11 09:06:04'),(377,'WORKFLOW_INVOICE_AMOUNT_CLASSIFY_BILLED_SUPPLIER_ORDER',1,'1','chaine',0,'','2019-06-11 09:06:05'),(382,'FACTURE_ADDON',1,'mod_facture_mercure','chaine',0,'','2019-06-11 09:12:12'),(396,'CHARTOFACCOUNTS',1,'2','chaine',0,'','2019-06-11 09:20:19'),(397,'TAX_MODE',1,'0','chaine',0,'','2019-06-11 09:23:11'),(398,'TAX_MODE_SELL_PRODUCT',1,'invoice','chaine',0,'','2019-06-11 09:23:11'),(399,'TAX_MODE_BUY_PRODUCT',1,'invoice','chaine',0,'','2019-06-11 09:23:11'),(400,'TAX_MODE_SELL_SERVICE',1,'payment','chaine',0,'','2019-06-11 09:23:11'),(401,'TAX_MODE_BUY_SERVICE',1,'payment','chaine',0,'','2019-06-11 09:23:11'),(403,'MAIN_INFO_VAT_RETURN',1,'1','chaine',0,'','2019-06-11 09:23:11'),(420,'ACCOUNTING_ACCOUNT_CUSTOMER',1,'411','chaine',0,'','2019-06-11 09:29:14'),(421,'ACCOUNTING_ACCOUNT_SUPPLIER',1,'401','chaine',0,'','2019-06-11 09:29:14'),(422,'SALARIES_ACCOUNTING_ACCOUNT_PAYMENT',1,'421','chaine',0,'','2019-06-11 09:29:14'),(423,'ACCOUNTING_PRODUCT_BUY_ACCOUNT',1,'607','chaine',0,'','2019-06-11 09:29:14'),(424,'ACCOUNTING_PRODUCT_SOLD_ACCOUNT',1,'707','chaine',0,'','2019-06-11 09:29:14'),(425,'ACCOUNTING_SERVICE_BUY_ACCOUNT',1,'604','chaine',0,'','2019-06-11 09:29:14'),(426,'ACCOUNTING_SERVICE_SOLD_ACCOUNT',1,'706','chaine',0,'','2019-06-11 09:29:14'),(427,'ACCOUNTING_VAT_BUY_ACCOUNT',1,'445','chaine',0,'','2019-06-11 09:29:14'),(428,'ACCOUNTING_VAT_SOLD_ACCOUNT',1,'445714','chaine',0,'','2019-06-11 09:29:14'),(429,'ACCOUNTING_VAT_PAY_ACCOUNT',1,'44551','chaine',0,'','2019-06-11 09:29:14'),(430,'ACCOUNTING_ACCOUNT_SUSPENSE',1,'471','chaine',0,'','2019-06-11 09:29:14'),(431,'ACCOUNTING_ACCOUNT_TRANSFER_CASH',1,'58','chaine',0,'','2019-06-11 09:29:14'),(432,'DONATION_ACCOUNTINGACCOUNT',1,'-1','chaine',0,'','2019-06-11 09:29:14'),(433,'LOAN_ACCOUNTING_ACCOUNT_CAPITAL',1,'164','chaine',0,'','2019-06-11 09:29:14'),(434,'LOAN_ACCOUNTING_ACCOUNT_INTEREST',1,'168','chaine',0,'','2019-06-11 09:29:14'),(435,'LOAN_ACCOUNTING_ACCOUNT_INSURANCE',1,'468','chaine',0,'','2019-06-11 09:29:14'),(436,'FACTURE_MERCURE_MASK_INVOICE',1,'{0000+4165}','chaine',0,'','2019-06-11 13:11:49'),(437,'FACTURE_MERCURE_MASK_REPLACEMENT',1,'{0000+4165}','chaine',0,'','2019-06-11 13:11:49'),(438,'FACTURE_MERCURE_MASK_CREDIT',1,'{0000+4165}','chaine',0,'','2019-06-11 13:11:49'),(439,'FACTURE_MERCURE_MASK_DEPOSIT',1,'{0000+4165}','chaine',0,'','2019-06-11 13:11:49'),(440,'COMPANY_ELEPHANT_MASK_CUSTOMER',1,'01{000000+001673}','chaine',0,'','2019-06-11 13:13:02'),(441,'COMPANY_ELEPHANT_MASK_SUPPLIER',1,'081{00000}','chaine',0,'','2019-06-11 13:13:02'),(450,'GOOGLE_WEB_TOKEN',1,'{\n  \"access_token\": \"ya29.GlsmB9V97iH_oeHTIYOL7hck47wdncVwl_EoW5y176RYxAqTFwu7JhLh96TkB_CnfRLHoJ_1IMZLz0zyeoZaQ62QIACvGTB66rezZGreKaYMTSx5xa6sh9o4DvLu\",\n  \"expires_in\": 3600,\n  \"refresh_token\": \"1/-951qqtC1TlGlN6s0rTZ9R55Ja-fopUyYFzl6aTw1m0\",\n  \"scope\": \"https://www.googleapis.com/auth/contacts https://www.googleapis.com/auth/contacts.readonly\",\n  \"token_type\": \"Bearer\"\n}','chaine',0,'','2019-06-12 09:59:02'),(460,'GOOGLE_API_CLIENT_ID',1,'472866731063-j7gqkm6svgd6akuif71b5c5obqq4mlcp.apps.googleusercontent.com','chaine',0,'','2019-06-12 09:59:54'),(461,'GOOGLE_API_CLIENT_SECRET',1,'j5Sxh7phGbBAOJ7xrVuiVi2M','chaine',0,'','2019-06-12 09:59:54'),(462,'GOOGLE_DUPLICATE_INTO_THIRDPARTIES',1,'1','chaine',0,'','2019-06-12 09:59:54'),(463,'GOOGLE_DUPLICATE_INTO_CONTACTS',1,'1','chaine',0,'','2019-06-12 09:59:54'),(464,'GOOGLE_CONTACT_LOGIN',1,'contact@cloturepaloise.fr','chaine',0,'','2019-06-12 09:59:54'),(465,'GOOGLE_TAG_PREFIX',1,'Dolibarr tiers','chaine',0,'','2019-06-12 09:59:54'),(466,'GOOGLE_TAG_PREFIX_CONTACTS',1,'Dolibarr contact','chaine',0,'','2019-06-12 09:59:54'),(467,'GOOGLE_LOGIN',1,'contact@cloturepaloise.fr','chaine',0,'','2019-06-12 10:03:30'),(468,'GOOGLE_DUPLICATE_INTO_GCAL',1,'1','chaine',0,'','2019-06-12 10:03:30'),(469,'GOOGLE_API_SERVICEACCOUNT_EMAIL',1,'dolibarr@dolibarr-243509.iam.gserviceaccount.com','chaine',0,'','2019-06-12 10:03:30'),(470,'GOOGLE_INCLUDE_AUTO_EVENT',1,'0','chaine',0,'','2019-06-12 10:03:30'),(471,'GOOGLE_API_SERVICEACCOUNT_P12KEY',1,'DOLIBARR-66731321ec44.p12','chaine',0,'','2019-06-12 10:03:30'),(492,'GOOGLE_ENABLE_AGENDA',1,'1','chaine',0,'','2019-06-12 10:08:04'),(493,'GOOGLE_AGENDA_CLIENT_ID',1,'472866731063-j7gqkm6svgd6akuif71b5c5obqq4mlcp.apps.googleusercontent.com','chaine',0,'','2019-06-12 10:08:04'),(494,'GOOGLE_AGENDA_CLIENT_SECRET',1,'j5Sxh7phGbBAOJ7xrVuiVi2M','chaine',0,'','2019-06-12 10:08:04'),(495,'GOOGLE_AGENDA_NAME1',1,'Carlos','chaine',0,'','2019-06-12 10:08:04'),(496,'GOOGLE_AGENDA_SRC1',1,'c.martins@cloturepaloise.fr','chaine',0,'','2019-06-12 10:08:04'),(497,'GOOGLE_AGENDA_COLOR1',1,'528800','chaine',0,'','2019-06-12 10:08:04'),(498,'GOOGLE_AGENDA_NAME2',1,'Elise','chaine',0,'','2019-06-12 10:08:04'),(499,'GOOGLE_AGENDA_SRC2',1,'comptabilité@cloturepaloise.fr','chaine',0,'','2019-06-12 10:08:04'),(500,'GOOGLE_AGENDA_COLOR2',1,'2952A3','chaine',0,'','2019-06-12 10:08:04'),(501,'GOOGLE_AGENDA_NAME3',1,'Priscilla','chaine',0,'','2019-06-12 10:08:04'),(502,'GOOGLE_AGENDA_SRC3',1,'agence@cloturepalosie.fr','chaine',0,'','2019-06-12 10:08:04'),(503,'GOOGLE_AGENDA_COLOR3',1,'BE6D00','chaine',0,'','2019-06-12 10:08:04'),(504,'GOOGLE_AGENDA_COLOR4',1,'7A367A','chaine',0,'','2019-06-12 10:08:04'),(505,'GOOGLE_AGENDA_COLOR5',1,'7A367A','chaine',0,'','2019-06-12 10:08:04'),(506,'GOOGLE_AGENDA_TIMEZONE',1,'Europe/Paris','chaine',0,'','2019-06-12 10:08:04'),(507,'GOOGLE_AGENDA_NB',1,'3','chaine',0,'','2019-06-12 10:08:04'),(520,'GOOGLE_ENABLE_GMAPS',1,'1','chaine',0,'','2019-06-12 10:13:25'),(521,'GOOGLE_ENABLE_GMAPS_CONTACTS',1,'1','chaine',0,'','2019-06-12 10:13:25'),(522,'GOOGLE_GMAPS_ZOOM_LEVEL',1,'10','chaine',0,'','2019-06-12 10:13:25'),(523,'GOOGLE_API_SERVERKEY',1,'AIzaSyCQJ9HVyaougkUxzUF039mpyJJHvpH8TUs','chaine',0,'','2019-06-12 10:13:25'),(524,'PRODUIT_SOUSPRODUITS',1,'0','chaine',0,'','2019-06-13 08:15:59'),(525,'PMX_LastVersion',1,'1.3.0','chaine',0,'','2019-06-13 08:15:59'),(526,'MAIN_MODULE_PRODUCTMIXER',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.138.171.63\"}','2019-06-13 08:15:59'),(527,'MAIN_MODULE_PRODUCTMIXER_TABS_0',1,'product:pmx:Product Mixer:@product:$user->rights->productmixer->lire:/productmixer/fiche.php?id=__ID__','chaine',0,NULL,'2019-06-13 08:15:59'),(528,'MAIN_MODULE_PRODUCTMIXER_TRIGGERS',1,'1','chaine',0,NULL,'2019-06-13 08:15:59'),(529,'MAIN_MODULE_PRODUCTMIXER_LOGIN',1,'0','chaine',0,NULL,'2019-06-13 08:15:59'),(530,'MAIN_MODULE_PRODUCTMIXER_SUBSTITUTIONS',1,'0','chaine',0,NULL,'2019-06-13 08:15:59'),(531,'MAIN_MODULE_PRODUCTMIXER_MENUS',1,'0','chaine',0,NULL,'2019-06-13 08:15:59'),(532,'MAIN_MODULE_PRODUCTMIXER_BARCODE',1,'0','chaine',0,NULL,'2019-06-13 08:15:59'),(533,'MAIN_MODULE_PRODUCTMIXER_MODELS',1,'0','chaine',0,NULL,'2019-06-13 08:15:59'),(534,'MAIN_MODULE_PRODUCTMIXER_CSS',1,'','chaine',0,NULL,'2019-06-13 08:15:59'),(535,'MAIN_MODULE_PRODUCTMIXER_HOOKS',1,'','chaine',0,NULL,'2019-06-13 08:15:59'),(536,'MAIN_MODULE_PRODUCTMIXER_WORKFLOW',1,'','chaine',0,NULL,'2019-06-13 08:15:59'),(537,'SUBTOTAL_USE_NEW_FORMAT',1,'1','chaine',0,'','2019-06-13 08:24:24'),(538,'SUBTOTAL_ALLOW_DUPLICATE_BLOCK',1,'1','chaine',0,'','2019-06-13 08:24:29'),(539,'SUBTOTAL_ALLOW_DUPLICATE_LINE',1,'1','chaine',0,'','2019-06-13 08:24:37'),(540,'SUBTOTAL_IF_HIDE_PRICES_SHOW_QTY',1,'1','chaine',0,'','2019-06-13 08:25:05'),(541,'SUBTOTAL_MANAGE_COMPRIS_NONCOMPRIS',1,'1','chaine',0,'','2019-06-15 14:05:04'),(542,'SUBTOTAL_TFIELD_TO_KEEP_WITH_NC',1,'pdf_getlineqty','chaine',0,'','2019-06-15 14:05:18'),(543,'SUBTOTAL_HIDE_DOCUMENT_TOTAL',1,'1','chaine',0,'','2019-06-15 14:06:17'),(544,'PRODUCT_USE_UNITS',1,'1','chaine',1,'affiche les units par produits','2019-07-25 07:42:25'),(552,'PRODUCT_PRICE_BASE_TYPE',0,'HT','string',0,NULL,'2022-03-14 14:11:17'),(555,'MAIN_MODULE_ACCOUNTING',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:15:59'),(556,'MAIN_MODULE_AGENDA',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:00'),(557,'MAIN_MODULE_BANQUE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:02'),(558,'MAIN_MODULE_CRON',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:03'),(559,'MAIN_MODULE_COMMANDE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:03'),(560,'MAIN_MODULE_FACTURE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:05'),(561,'MAIN_MODULE_FOURNISSEUR',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:06'),(562,'MAIN_MODULE_HOLIDAY',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:08'),(563,'MAIN_MODULE_MARGIN',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:10'),(566,'MAIN_MODULE_SALARIES',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:10'),(567,'MAIN_MODULE_SERVICE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:11'),(568,'MAIN_MODULE_SYSLOG',0,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:12'),(569,'MAIN_MODULE_SOCIETE',1,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:12'),(570,'MAIN_MODULE_USER',0,'1','string',0,'{\"authorid\":0,\"ip\":\"212.114.25.129\"}','2022-03-14 14:16:13'),(571,'MAIN_VERSION_LAST_UPGRADE',0,'14.0.5','chaine',0,'Dolibarr version for last upgrade','2022-03-14 14:21:49'),(573,'MAIN_LAST_PING_KO_DATE',1,'20220314142213','chaine',0,'','2022-03-14 14:22:13'),(574,'MAIN_INFO_SOCIETE_COUNTRY',1,'1:FR:France','chaine',0,'','2022-03-14 14:22:36'),(575,'MAIN_INFO_SOCIETE_STATE',1,'71:64:Pyrénées-Atlantiques','chaine',0,'','2022-03-14 14:22:37'),(576,'MAIN_INFO_SOCIETE_NOM',1,'CLOTURE PALOISE','chaine',0,'','2022-03-14 14:22:37'),(577,'MAIN_INFO_SOCIETE_ADDRESS',1,'98 avenue du Loup','chaine',0,'','2022-03-14 14:22:37'),(578,'MAIN_INFO_SOCIETE_TOWN',1,'PAU','chaine',0,'','2022-03-14 14:22:37'),(579,'MAIN_INFO_SOCIETE_ZIP',1,'64000','chaine',0,'','2022-03-14 14:22:37'),(580,'MAIN_MONNAIE',1,'EUR','chaine',0,'','2022-03-14 14:22:37'),(581,'MAIN_INFO_SOCIETE_TEL',1,'05 59 80 21 00','chaine',0,'','2022-03-14 14:22:37'),(582,'MAIN_INFO_SOCIETE_MAIL',1,'agence@cloturepaloise.fr','chaine',0,'','2022-03-14 14:22:37'),(583,'MAIN_INFO_SOCIETE_WEB',1,'www.cloturepaloise.fr','chaine',0,'','2022-03-14 14:22:37'),(584,'MAIN_INFO_SOCIETE_LOGO_SQUARRED',1,'cloture paloise_small.jpeg','chaine',0,'','2022-03-14 14:22:37'),(585,'MAIN_INFO_SOCIETE_LOGO_SQUARRED_SMALL',1,'cloture paloise_small_small.jpeg','chaine',0,'','2022-03-14 14:22:37'),(586,'MAIN_INFO_SOCIETE_LOGO_SQUARRED_MINI',1,'cloture paloise_small_mini.jpeg','chaine',0,'','2022-03-14 14:22:37'),(587,'MAIN_INFO_SOCIETE_MANAGERS',1,'Carlos Martins','chaine',0,'','2022-03-14 14:22:37'),(588,'MAIN_INFO_CAPITAL',1,'54000','chaine',0,'','2022-03-14 14:22:37'),(589,'MAIN_INFO_SOCIETE_FORME_JURIDIQUE',1,'54','chaine',0,'','2022-03-14 14:22:37'),(590,'MAIN_INFO_SIREN',1,'533290250','chaine',0,'','2022-03-14 14:22:37'),(591,'MAIN_INFO_SIRET',1,'53329025000018','chaine',0,'','2022-03-14 14:22:37'),(592,'MAIN_INFO_APE',1,'4332BB','chaine',0,'','2022-03-14 14:22:37'),(593,'MAIN_INFO_RCS',1,'Pau B 533 290 250','chaine',0,'','2022-03-14 14:22:37'),(594,'MAIN_INFO_TVAINTRA',1,'FR01533290250','chaine',0,'','2022-03-14 14:22:37'),(595,'SOCIETE_FISCAL_MONTH_START',1,'7','chaine',0,'','2022-03-14 14:22:37'),(596,'FACTURE_TVAOPTION',1,'1','chaine',0,'','2022-03-14 14:22:37'),(598,'MAIN_MODULE_ABRICOT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"212.114.25.129\"}','2022-03-14 14:24:10'),(601,'MAIN_LANG_DEFAULT',1,'auto','chaine',0,'','2022-03-14 14:31:34'),(603,'MAIN_THEME',1,'eldy','chaine',0,'','2022-03-14 14:31:34'),(604,'THEME_ELDY_TOPMENU_BACK1',1,'191,95,0','chaine',0,'','2022-03-14 14:31:34'),(605,'THEME_ELDY_USE_HOVER',1,'212,255,170','chaine',0,'','2022-03-14 14:31:34'),(606,'THEME_ELDY_USE_CHECKED',1,'212,255,170','chaine',0,'','2022-03-14 14:31:34'),(607,'MAIN_SIZE_LISTE_LIMIT',1,'25','chaine',0,'','2022-03-14 14:31:34'),(608,'MAIN_SIZE_SHORTLIST_LIMIT',1,'3','chaine',0,'','2022-03-14 14:31:34'),(609,'MAIN_START_WEEK',1,'1','chaine',0,'','2022-03-14 14:31:34'),(610,'MAIN_DEFAULT_WORKING_DAYS',1,'1-5','chaine',0,'','2022-03-14 14:31:34'),(611,'MAIN_DEFAULT_WORKING_HOURS',1,'9-18','chaine',0,'','2022-03-14 14:31:34'),(612,'MAIN_BUGTRACK_ENABLELINK',1,'github','chaine',0,'','2022-03-14 14:31:35'),(613,'MAIN_FIRSTNAME_NAME_POSITION',1,'0','chaine',0,'','2022-03-14 14:31:35'),(615,'MAIN_MODULE_SUBTOTAL',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"109.31.18.98\"}','2022-03-14 20:31:54'),(616,'MAIN_MODULE_SUBTOTAL_TRIGGERS',1,'1','chaine',0,NULL,'2022-03-14 20:31:54'),(617,'MAIN_MODULE_SUBTOTAL_MODELS',1,'1','chaine',0,NULL,'2022-03-14 20:31:54'),(618,'MAIN_MODULE_SUBTOTAL_HOOKS',1,'[\"invoicecard\",\"invoicesuppliercard\",\"propalcard\",\"supplier_proposalcard\",\"ordercard\",\"ordersuppliercard\",\"odtgeneration\",\"orderstoinvoice\",\"orderstoinvoicesupplier\",\"admin\",\"invoicereccard\",\"consumptionthirdparty\",\"ordershipmentcard\",\"expeditioncard\",\"deliverycard\",\"paiementcard\",\"referencelettersinstacecard\",\"shippableorderlist\",\"propallist\",\"orderlist\",\"invoicelist\",\"supplierorderlist\",\"supplierinvoicelist\"]','chaine',0,NULL,'2022-03-14 20:31:54'),(619,'MAIN_MODULE_SUBTOTAL_TPL',1,'1','chaine',0,NULL,'2022-03-14 20:31:54'),(622,'OUVRAGE_TYPE',1,'BTP_','chaine',0,'Type ouvrage','2022-03-14 20:31:59'),(623,'OUVRAGE_HIDE_PRODUCT_DETAIL',1,'0','chaine',0,'Ouvrage masquer détail produit dans PDF','2022-03-14 20:31:59'),(624,'OUVRAGE_HIDE_PRODUCT_DESCRIPTION',1,'0','chaine',0,'Ouvrage masquer description produit dans PDF','2022-03-14 20:31:59'),(625,'OUVRAGE_HIDE_MONTANT',1,'0','chaine',0,'Ouvrage masquer montant dans PDF','2022-03-14 20:31:59'),(626,'PRODUIT_USE_SEARCH_TO_SELECT',1,'1','chaine',0,'','2022-03-14 20:32:01'),(627,'OUVRAGE_QUANTITY_STEP',1,'1','double(24,8)',0,'','2022-03-14 20:32:01'),(628,'PROPALE_ADDON_PDF',1,'ouvrage','chaine',0,'','2022-03-14 20:32:01'),(629,'COMMANDE_ADDON_PDF',1,'ouvrage_com','chaine',0,'','2022-03-14 20:32:01'),(630,'FACTURE_ADDON_PDF',1,'ouvrage_fact','chaine',0,'','2022-03-14 20:32:01'),(631,'MAIN_SECURITY_CSRF_WITH_TOKEN',1,'0','chaine',0,'','2022-03-14 20:32:01'),(632,'MAIN_MODULE_OUVRAGE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"109.31.18.98\"}','2022-03-14 20:32:01'),(633,'MAIN_MODULE_OUVRAGE_CSS',1,'/ouvrage/css/ouvrage.css','chaine',0,NULL,'2022-03-14 20:32:01'),(634,'MAIN_MODULE_OUVRAGE_HOOKS',1,'[\"invoicecard\",\"propalcard\",\"ordercard\",\"pdf_getlineunit\"]','chaine',0,NULL,'2022-03-14 20:32:01'),(635,'MAIN_MODULE_OUVRAGE_TRIGGERS',1,'1','chaine',0,NULL,'2022-03-14 20:32:01'),(636,'MAIN_MODULE_OUVRAGE_MODELS',1,'1','chaine',0,NULL,'2022-03-14 20:32:01'),(637,'MAIN_IHM_PARAMS_REV',1,'8','chaine',0,'','2022-03-14 20:32:02'),(638,'SYSTEMTOOLS_MYSQLDUMP',1,'/usr/bin/mysqldump','chaine',0,'','2022-03-14 20:39:46');

--
-- 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 DEFAULT NULL,
  `note_public` text 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,
  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 DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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 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 `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 DEFAULT NULL,
  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 DEFAULT NULL,
  `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 DEFAULT NULL,
  `lastoutput` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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 DEFAULT NULL,
  `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=7 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-05-06 09:13:05','2019-05-06 11:13:05','method','RecurringInvoices',NULL,'compta/facture/class/facture-rec.class.php','FactureRec','createRecurringInvoices',NULL,NULL,'facture',50,NULL,NULL,'2019-05-06 23:00:00',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,1,0,'$conf->facture->enabled',NULL,NULL,NULL,'Generate recurring invoices',NULL,1),(2,'2019-05-06 09:13:33','2019-05-06 11:13:33','method','SendEmailsReminders',NULL,'comm/action/class/actioncomm.class.php','ActionComm','sendEmailsReminder',NULL,NULL,'agenda',10,NULL,NULL,'2019-05-06 11:13:32',NULL,NULL,NULL,NULL,'60',10,0,NULL,0,1,0,'$conf->agenda->enabled',NULL,NULL,NULL,'SendEMailsReminder',NULL,1),(3,'2019-05-06 09:13:51','2019-05-06 11:13:51','method','PurgeDeleteTemporaryFilesShort',NULL,'core/class/utils.class.php','Utils','purgeFiles',NULL,NULL,'cron',50,NULL,NULL,'2019-05-06 11:13:51',NULL,NULL,NULL,NULL,'604800',2,0,NULL,0,1,0,'1',NULL,NULL,NULL,'PurgeDeleteTemporaryFiles',NULL,0),(4,'2019-05-06 09:13:51','2019-05-06 11:13:51','method','MakeLocalDatabaseDumpShort',NULL,'core/class/utils.class.php','Utils','dumpDatabase','none,auto,1,auto,10',NULL,'cron',90,NULL,NULL,'2019-05-06 11:13:51',NULL,NULL,NULL,NULL,'604800',1,0,NULL,0,0,0,'1',NULL,NULL,NULL,'MakeLocalDatabaseDump',NULL,0),(5,'2019-05-06 09:13:52','2019-05-06 11:13:52','method','CompressSyslogs',NULL,'core/class/utils.class.php','Utils','compressSyslogs',NULL,NULL,'syslog',50,NULL,NULL,'2019-05-06 11:13:52',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),(6,'2022-03-14 14:16:05','2022-03-14 15:16:05','method','SendEmailsRemindersOnInvoiceDueDate',NULL,'compta/facture/class/facture.class.php','Facture','sendEmailsRemindersOnInvoiceDueDate','10,all,EmailTemplateCode',NULL,'facture',50,NULL,NULL,'2022-03-14 23:00:00',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,0,0,'$conf->facture->enabled',NULL,NULL,NULL,'Send an emails when the unpaid invoices reach a due date + n days = today. First param is the offset n of days, second parameter is \"all\" or a payment mode code, last paramater is the code of email template to use (an email template with EmailTemplateCode must exists. the version in the language of the thirdparty will be used in priority).',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_delivery`
--

CREATE TABLE `llx_delivery` (
  `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,
  `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,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text 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,
  `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_delivery_uk_ref` (`ref`,`entity`),
  KEY `idx_delivery_fk_soc` (`fk_soc`),
  KEY `idx_delivery_fk_user_author` (`fk_user_author`),
  KEY `idx_delivery_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_delivery_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_delivery_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_delivery_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_delivery`
--


--
-- Table structure for table `llx_delivery_extrafields`
--

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

--
-- Dumping data for table `llx_delivery_extrafields`
--


--
-- Table structure for table `llx_deliverydet`
--

CREATE TABLE `llx_deliverydet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_delivery` int(11) DEFAULT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_deliverydet_fk_delivery` (`fk_delivery`),
  CONSTRAINT `fk_deliverydet_fk_delivery` FOREIGN KEY (`fk_delivery`) REFERENCES `llx_delivery` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_deliverydet`
--


--
-- Table structure for table `llx_deliverydet_extrafields`
--

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

--
-- Dumping data for table `llx_deliverydet_extrafields`
--


--
-- 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 DEFAULT NULL,
  `note_public` text 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_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(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=14 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),(5,'sepamandate',1,'bankaccount',NULL,NULL),(6,'standard',1,'stock',NULL,NULL),(7,'stdmovement',1,'movement',NULL,NULL),(8,'einstein',1,'order',NULL,NULL),(9,'crabe',1,'invoice',NULL,NULL),(10,'muscadet',1,'order_supplier',NULL,NULL),(11,'ouvrage',1,'propal',NULL,NULL),(12,'ouvrage_fact',1,'invoice',NULL,NULL),(13,'ouvrage_com',1,'order',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 DEFAULT NULL,
  `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 DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) 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,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_c` int(11) DEFAULT NULL,
  `fk_user_m` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `acl` text COLLATE utf8_unicode_ci DEFAULT NULL,
  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_directories_extrafields`
--

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

--
-- Dumping data for table `llx_ecm_directories_extrafields`
--


--
-- 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(64) 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 DEFAULT NULL,
  `keywords` varchar(750) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cover` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_c` int(11) DEFAULT NULL,
  `fk_user_m` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `acl` text COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ecm_files` (`filepath`,`filename`,`entity`),
  KEY `idx_ecm_files_label` (`label`)
) ENGINE=InnoDB AUTO_INCREMENT=10 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`, `tms`, `fk_user_c`, `fk_user_m`, `note_private`, `note_public`, `acl`) VALUES (1,'381e846f3a4edc2428b4ce363c4ea794','9488c385c4f3d38bcd568e198131a65e',NULL,1,'propale/(PROV1)','(PROV1).pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-06-11 10:01:25','2019-06-11 08:59:27',3,3,NULL,NULL,NULL),(2,'801ccd6ef04d2b073a915d04c43ce620','ef54cea469355d08ad96d1abbf6e6e19',NULL,1,'propale/PR1906-0001','PR1906-0001.pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-06-11 11:03:53','2019-07-25 07:43:36',3,3,NULL,NULL,NULL),(3,'e34e85d991698b2f76f005be7b113be6','0511fe867a31c664b30e3263f35d0df4',NULL,1,'commande/CO1906-0001','CO1906-0001.pdf','commande',1,'','',NULL,NULL,1,'generated',NULL,'2019-06-11 11:07:01','2019-07-25 07:44:05',3,1,NULL,NULL,NULL),(4,'53e128424a891e9199fcf8b30af22e17','80f3a96bcc692f1be6d875ae9a5003a9',NULL,1,'facture/(PROV1)','(PROV1).pdf','facture',1,'','',NULL,NULL,1,'generated',NULL,'2019-06-11 11:09:13','2019-06-11 09:09:13',3,NULL,NULL,NULL,NULL),(5,'84db6aab7820c08a8b60df834e4f7e8d','09fca508d032cc357898038992411cd5',NULL,1,'facture/0001','0001.pdf','facture',1,'','',NULL,NULL,1,'generated',NULL,'2019-06-11 11:14:47','2019-06-11 09:15:33',3,3,NULL,NULL,NULL),(7,'33db6de0f6b0e75ba20d3b798b451957','91b707e95d0f4c35980e114075b405c3',NULL,1,'propale/(PROV3)','(PROV3).pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-06-13 10:20:33','2019-06-13 08:23:25',1,1,NULL,NULL,NULL),(8,'6db84b456b72dc9b0ee63246edca2d3e','91a37df55cbf84880a7d30b5515c2216',NULL,1,'propale/PR1906-0002','PR1906-0002.pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-06-13 10:23:40','2019-06-13 08:23:40',1,NULL,NULL,NULL,NULL),(9,'3b907bc95b5af736f22c7d56e958ab05','ef0f7244190e56ce102e94d069b72b9a',NULL,1,'propale/(PROV4)','(PROV4).pdf','propal',4,'','',NULL,NULL,1,'generated',NULL,'2019-06-15 16:07:46','2019-06-15 14:17:33',1,1,NULL,NULL,NULL);

--
-- Table structure for table `llx_ecm_files_extrafields`
--

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

--
-- Dumping data for table `llx_ecm_files_extrafields`
--


--
-- 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=3 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 (1,'2019-06-11 10:01:25',4,1,41,1),(2,'2019-06-11 11:06:23',4,1,101,1);

--
-- 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=3 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 (2,1,'commande',1,'facture'),(1,1,'propal',1,'commande');

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

CREATE TABLE `llx_emailcollector_emailcollector` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `host` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `login` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `password` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `source_directory` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `target_directory` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `datelastresult` datetime DEFAULT NULL,
  `codelastresult` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lastresult` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL,
  `datelastok` datetime DEFAULT NULL,
  `maxemailpercollect` int(11) DEFAULT 100,
  `hostcharset` varchar(16) COLLATE utf8_unicode_ci DEFAULT 'UTF-8',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_emailcollector_emailcollector_ref` (`ref`,`entity`),
  KEY `idx_emailcollector_entity` (`entity`),
  KEY `idx_emailcollector_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_emailcollector_emailcollector`
--


--
-- Table structure for table `llx_emailcollector_emailcollectoraction`
--

CREATE TABLE `llx_emailcollector_emailcollectoraction` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_emailcollector` int(11) NOT NULL,
  `type` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `actionparam` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `position` int(11) DEFAULT 0,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_emailcollector_emailcollectoraction` (`fk_emailcollector`,`type`),
  KEY `idx_emailcollector_fk_emailcollector` (`fk_emailcollector`),
  CONSTRAINT `fk_emailcollectoraction_fk_emailcollector` FOREIGN KEY (`fk_emailcollector`) REFERENCES `llx_emailcollector_emailcollector` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_emailcollector_emailcollectoraction`
--


--
-- Table structure for table `llx_emailcollector_emailcollectorfilter`
--

CREATE TABLE `llx_emailcollector_emailcollectorfilter` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_emailcollector` int(11) NOT NULL,
  `type` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `rulevalue` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_emailcollector_emailcollectorfilter` (`fk_emailcollector`,`type`,`rulevalue`),
  KEY `idx_emailcollector_fk_emailcollector` (`fk_emailcollector`),
  CONSTRAINT `fk_emailcollectorfilter_fk_emailcollector` FOREIGN KEY (`fk_emailcollector`) REFERENCES `llx_emailcollector_emailcollector` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_emailcollector_emailcollectorfilter`
--


--
-- 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,
  `fk_project` int(11) DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `fax` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  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_entrepot_extrafields`
--

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

--
-- Dumping data for table `llx_entrepot_extrafields`
--


--
-- 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,
  `ref` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  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_eventorganization_conferenceorboothattendee`
--

CREATE TABLE `llx_eventorganization_conferenceorboothattendee` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_actioncomm` int(11) DEFAULT NULL,
  `fk_project` int(11) NOT NULL,
  `fk_invoice` int(11) DEFAULT NULL,
  `email` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_subscription` datetime DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_eventorganization_conferenceorboothattendee` (`fk_project`,`email`,`fk_actioncomm`),
  KEY `idx_eventorganization_conferenceorboothattendee_rowid` (`rowid`),
  KEY `idx_eventorganization_conferenceorboothattendee_ref` (`ref`),
  KEY `idx_eventorganization_conferenceorboothattendee_fk_soc` (`fk_soc`),
  KEY `idx_eventorganization_conferenceorboothattendee_fk_actioncomm` (`fk_actioncomm`),
  KEY `idx_eventorganization_conferenceorboothattendee_email` (`email`),
  KEY `idx_eventorganization_conferenceorboothattendee_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_eventorganization_conferenceorboothattendee`
--


--
-- Table structure for table `llx_eventorganization_conferenceorboothattendee_extrafields`
--

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

--
-- Dumping data for table `llx_eventorganization_conferenceorboothattendee_extrafields`
--


--
-- 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,
  `prefix_session` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `authentication_method` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_oauth_token` 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 DEFAULT NULL,
  `note_public` text 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,
  `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_expedition_package`
--

CREATE TABLE `llx_expedition_package` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expedition` int(11) NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `value` double(24,8) DEFAULT 0.00000000,
  `fk_parcel_type` int(11) DEFAULT NULL,
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `dangerous_goods` smallint(6) DEFAULT 0,
  `tail_lift` smallint(6) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_expedition_package`
--


--
-- 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`),
  KEY `idx_expeditiondet_fk_origin_line` (`fk_origin_line`),
  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(128) 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 DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `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,
  `last_main_doc` 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,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user_creat` int(11) 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,
  `subprice` double(24,8) NOT NULL DEFAULT 0.00000000,
  `value_unit` double(24,8) 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 DEFAULT NULL,
  `fk_ecm_files` int(11) DEFAULT NULL,
  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-05-06 09:05:46',4,1,0.41,0,1),(2,NULL,'2019-05-06 09:05:46',4,2,0.244,824,1),(3,NULL,'2019-05-06 09:05:46',4,3,0.286,0,1),(4,NULL,'2019-05-06 09:05:46',5,4,0.493,0,1),(5,NULL,'2019-05-06 09:05:46',5,5,0.277,1082,1),(6,NULL,'2019-05-06 09:05:46',5,6,0.332,0,1),(7,NULL,'2019-05-06 09:05:46',6,7,0.543,0,1),(8,NULL,'2019-05-06 09:05:46',6,8,0.305,1180,1),(9,NULL,'2019-05-06 09:05:46',6,9,0.364,0,1),(10,NULL,'2019-05-06 09:05:46',7,10,0.568,0,1),(11,NULL,'2019-05-06 09:05:46',7,11,0.32,1244,1),(12,NULL,'2019-05-06 09:05:46',7,12,0.382,0,1),(13,NULL,'2019-05-06 09:05:46',8,13,0.595,0,1),(14,NULL,'2019-05-06 09:05:46',8,14,0.337,1288,1),(15,NULL,'2019-05-06 09:05:46',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 DEFAULT NULL,
  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(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `field` text COLLATE utf8_unicode_ci NOT NULL,
  `filter` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 0,
  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 DEFAULT NULL,
  `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 DEFAULT NULL,
  `list` varchar(255) COLLATE utf8_unicode_ci DEFAULT '1',
  `totalizable` tinyint(1) DEFAULT 0,
  `langs` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `help` text 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(),
  `printable` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_extrafields` (`rowid`, `name`, `entity`, `elementtype`, `label`, `type`, `size`, `fieldcomputed`, `fielddefault`, `fieldunique`, `fieldrequired`, `perms`, `enabled`, `pos`, `alwayseditable`, `param`, `list`, `totalizable`, `langs`, `help`, `fk_user_author`, `fk_user_modif`, `datec`, `tms`, `printable`) VALUES (1,'type_remise',1,'product','Type tarif','select','',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:2:{s:3:\"qte\";s:8:\"quantite\";s:15:\"conditionnement\";s:15:\"conditionnement\";}}','-1',0,NULL,NULL,1,1,'2019-05-06 11:30:06','2019-05-06 09:30:06',0),(2,'unite_vente',1,'product','Unité de vente','select','',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:5:{s:6:\"weight\";s:5:\"Poids\";s:4:\"size\";s:8:\"Longueur\";s:7:\"surface\";s:7:\"Surface\";s:6:\"volume\";s:6:\"Volume\";s:5:\"unite\";s:6:\"Unité\";}}','-1',0,NULL,NULL,1,1,'2019-05-06 11:30:06','2019-05-06 09:30:06',0),(3,'show_total_ht',1,'propaldet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:08:59','2019-06-10 16:08:59',0),(4,'show_reduc',1,'propaldet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:00','2019-06-10 16:09:00',0),(5,'show_total_ht',1,'commandedet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:00','2019-06-10 16:09:00',0),(6,'show_reduc',1,'commandedet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:00','2019-06-10 16:09:00',0),(7,'show_total_ht',1,'facturedet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:01','2019-06-10 16:09:01',0),(8,'show_reduc',1,'facturedet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:02','2019-06-10 16:09:02',0),(9,'show_total_ht',1,'supplier_proposaldet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:02','2019-06-10 16:09:02',0),(10,'show_reduc',1,'supplier_proposaldet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:02','2019-06-10 16:09:02',0),(11,'show_total_ht',1,'commande_fournisseurdet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:03','2019-06-10 16:09:03',0),(12,'show_reduc',1,'commande_fournisseurdet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:03','2019-06-10 16:09:03',0),(13,'show_total_ht',1,'facture_fourn_det','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:04','2019-06-10 16:09:04',0),(14,'show_reduc',1,'facture_fourn_det','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-10 18:09:04','2019-06-10 16:09:04',0),(15,'subtotal_nc',1,'propaldet','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:04','2019-06-15 14:05:04',0),(16,'subtotal_nc',1,'commandedet','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:05','2019-06-15 14:05:05',0),(17,'subtotal_nc',1,'facturedet','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:06','2019-06-15 14:05:06',0),(18,'subtotal_nc',1,'supplier_proposaldet','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:06','2019-06-15 14:05:06',0),(19,'subtotal_nc',1,'commande_fournisseurdet','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:07','2019-06-15 14:05:07',0),(20,'subtotal_nc',1,'facture_fourn_det','Non compris','varchar','255',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,NULL,'1',1,1,'2019-06-15 16:05:07','2019-06-15 14:05:07',0);

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

CREATE TABLE `llx_facture` (
  `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,
  `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` datetime DEFAULT NULL,
  `date_closing` datetime 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,
  `total_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_ht` 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_user_closing` int(11) DEFAULT NULL,
  `module_source` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `pos_source` varchar(32) COLLATE utf8_unicode_ci 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 DEFAULT NULL,
  `note_public` text 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,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_transport_mode` int(11) DEFAULT NULL,
  `situation_cycle_ref` smallint(6) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `retained_warranty` double DEFAULT NULL,
  `retained_warranty_date_limit` date DEFAULT NULL,
  `retained_warranty_fk_cond_reglement` int(11) 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_ref` (`ref`,`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=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_facture` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `type`, `increment`, `fk_soc`, `datec`, `datef`, `date_pointoftax`, `date_valid`, `date_closing`, `tms`, `paye`, `amount`, `remise_percent`, `remise_absolue`, `remise`, `close_code`, `close_note`, `total_tva`, `localtax1`, `localtax2`, `revenuestamp`, `total_ht`, `total_ttc`, `fk_statut`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_user_closing`, `module_source`, `pos_source`, `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`, `fk_transport_mode`, `situation_cycle_ref`, `situation_counter`, `situation_final`, `retained_warranty`, `retained_warranty_date_limit`, `retained_warranty_fk_cond_reglement`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (1,'0001',1,NULL,NULL,'Dépose et mise en place d\'une clôture en panneaux rigides',3,NULL,2,'2019-06-11 11:08:42','2019-05-20',NULL,'2019-06-11 00:00:00',NULL,'2019-06-11 09:15:32',1,0.00000000,NULL,NULL,0,NULL,NULL,65.18000000,0.00000000,0.00000000,0.00000000,651.82000000,717.00000000,2,3,NULL,3,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,1,7,'2019-05-21',NULL,NULL,'crabe','facture/0001/0001.pdf',0,'',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,'EUR',1.00000000,651.82000000,65.18000000,717.00000000);

--
-- 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,
  `date_closing` datetime 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_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_user_closing` 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 DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_transport_mode` int(11) 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 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- Table structure for table `llx_facture_fourn_det`
--

CREATE TABLE `llx_facture_fourn_det` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture_fourn` 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 DEFAULT NULL,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `fk_remise_except` int(11) 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) DEFAULT NULL,
  `tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `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,
  `date_cre` datetime DEFAULT NULL,
  `date_maj` datetime DEFAULT NULL,
  `poids` int(11) NOT NULL DEFAULT 0,
  `tarif_poids` double NOT NULL DEFAULT 0,
  `metre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_product` (`fk_product`),
  KEY `idx_facture_fourn_det_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facture_fourn_det_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facture_fourn_det_fk_facture` FOREIGN KEY (`fk_facture_fourn`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_facture_fourn_det_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_facture_fourn_det`
--


--
-- Table structure for table `llx_facture_fourn_det_extrafields`
--

CREATE TABLE `llx_facture_fourn_det_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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  `subtotal_nc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_fourn_det_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_det_extrafields`
--


--
-- Table structure for table `llx_facture_fourn_extrafields`
--

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

--
-- Dumping data for table `llx_facture_fourn_extrafields`
--


--
-- Table structure for table `llx_facture_rec`
--

CREATE TABLE `llx_facture_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `suspended` int(11) DEFAULT 0,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `remise` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `vat_src_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT '',
  `total_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_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT 1,
  `fk_mode_reglement` int(11) DEFAULT 0,
  `date_lim_reglement` date DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `modelpdf` 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,
  `usenewprice` int(11) DEFAULT 0,
  `frequency` int(11) DEFAULT NULL,
  `unit_frequency` varchar(2) COLLATE utf8_unicode_ci DEFAULT 'm',
  `date_when` datetime DEFAULT NULL,
  `date_last_gen` datetime DEFAULT NULL,
  `nb_gen_done` int(11) DEFAULT NULL,
  `nb_gen_max` int(11) DEFAULT NULL,
  `auto_validate` int(11) DEFAULT 0,
  `generate_pdf` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
  KEY `idx_facture_rec_fk_soc` (`fk_soc`),
  KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_rec_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_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_facture_rec`
--


--
-- Table structure for table `llx_facture_rec_extrafields`
--

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

--
-- Dumping data for table `llx_facture_rec_extrafields`
--


--
-- Table structure for table `llx_facturedet`
--

CREATE TABLE `llx_facturedet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` 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 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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `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,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_contract_line` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `situation_percent` double DEFAULT 100,
  `fk_prev_id` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` 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,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_cre` datetime DEFAULT NULL,
  `date_maj` datetime DEFAULT NULL,
  `poids` int(11) NOT NULL DEFAULT 0,
  `tarif_poids` double NOT NULL DEFAULT 0,
  `metre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  KEY `idx_facturedet_fk_facture` (`fk_facture`),
  KEY `idx_facturedet_fk_product` (`fk_product`),
  KEY `idx_facturedet_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facturedet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facturedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facturedet`
--

INSERT INTO `llx_facturedet` (`rowid`, `fk_facture`, `fk_parent_line`, `fk_product`, `label`, `description`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `fk_remise_except`, `subprice`, `price`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `buy_price_ht`, `fk_product_fournisseur_price`, `fk_code_ventilation`, `special_code`, `rang`, `fk_contract_line`, `import_key`, `situation_percent`, `fk_prev_id`, `fk_unit`, `fk_user_author`, `fk_user_modif`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`, `ref_ext`, `date_cre`, `date_maj`, `poids`, `tarif_poids`, `metre`) VALUES (1,1,NULL,NULL,NULL,'Acompte (40%) - CO1906-0001','',10.000,0.000,'0',0.000,'0',1,0,0,NULL,651.82000000,NULL,651.82000000,65.18000000,0.00000000,0.00000000,717.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,3,3,0,'EUR',651.82000000,651.82000000,65.18000000,717.00000000,NULL,NULL,NULL,0,0,NULL);

--
-- Table structure for table `llx_facturedet_extrafields`
--

CREATE TABLE `llx_facturedet_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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  `subtotal_nc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facturedet_extrafields` (`fk_object`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facturedet_extrafields`
--

INSERT INTO `llx_facturedet_extrafields` (`rowid`, `tms`, `fk_object`, `import_key`, `show_total_ht`, `show_reduc`, `subtotal_nc`) VALUES (1,'2019-06-11 09:09:13',1,NULL,NULL,NULL,NULL);

--
-- Table structure for table `llx_facturedet_rec`
--

CREATE TABLE `llx_facturedet_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `product_type` int(11) DEFAULT 0,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci 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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `date_start_fill` int(11) DEFAULT 0,
  `date_end_fill` int(11) DEFAULT 0,
  `info_bits` int(11) DEFAULT 0,
  `special_code` int(10) unsigned DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_contract_line` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci 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,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `fk_facturedet_rec_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_rec_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_facturedet_rec`
--


--
-- Table structure for table `llx_facturedet_rec_extrafields`
--

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

--
-- Dumping data for table `llx_facturedet_rec_extrafields`
--


--
-- Table structure for table `llx_fichinter`
--

CREATE TABLE `llx_fichinter` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT 0,
  `fk_contrat` int(11) DEFAULT 0,
  `ref` varchar(30) COLLATE utf8_unicode_ci NOT 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_valid` datetime DEFAULT NULL,
  `datei` 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_statut` smallint(6) DEFAULT 0,
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `datet` date DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`),
  KEY `idx_fichinter_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_fichinter_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_fichinter`
--


--
-- Table structure for table `llx_fichinter_extrafields`
--

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

--
-- Dumping data for table `llx_fichinter_extrafields`
--


--
-- Table structure for table `llx_fichinter_rec`
--

CREATE TABLE `llx_fichinter_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `fk_contrat` int(11) DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `modelpdf` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `frequency` int(11) DEFAULT NULL,
  `unit_frequency` varchar(2) COLLATE utf8_unicode_ci DEFAULT 'm',
  `date_when` datetime DEFAULT NULL,
  `date_last_gen` datetime DEFAULT NULL,
  `nb_gen_done` int(11) DEFAULT NULL,
  `nb_gen_max` int(11) DEFAULT NULL,
  `auto_validate` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_fichinter_rec_uk_titre` (`titre`,`entity`),
  KEY `idx_fichinter_rec_fk_soc` (`fk_soc`),
  KEY `idx_fichinter_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_fichinter_rec_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_fichinter_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_fichinter_rec_fk_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_fichinter_rec`
--


--
-- Table structure for table `llx_fichinterdet`
--

CREATE TABLE `llx_fichinterdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_fichinter` int(11) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`),
  CONSTRAINT `fk_fichinterdet_fk_fichinter` FOREIGN KEY (`fk_fichinter`) REFERENCES `llx_fichinter` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_fichinterdet`
--


--
-- Table structure for table `llx_fichinterdet_extrafields`
--

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

--
-- Dumping data for table `llx_fichinterdet_extrafields`
--


--
-- Table structure for table `llx_fichinterdet_rec`
--

CREATE TABLE `llx_fichinterdet_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_fichinter` int(11) NOT NULL,
  `date` datetime DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  `total_ht` double(24,8) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(1) COLLATE utf8_unicode_ci DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(1) 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(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `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,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `fk_export_commpta` int(11) NOT NULL DEFAULT 0,
  `special_code` int(10) unsigned DEFAULT 0,
  `fk_unit` 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_fichinterdet_rec`
--


--
-- Table structure for table `llx_google_maps`
--

CREATE TABLE `llx_google_maps` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_object` int(11) NOT NULL,
  `type_object` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `latitude` float DEFAULT NULL,
  `longitude` float DEFAULT NULL,
  `address` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `result_on_degraded_address` tinyint(4) DEFAULT 0,
  `result_code` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `result_label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_google_maps` (`fk_object`,`type_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_google_maps`
--


--
-- Table structure for table `llx_holiday`
--

CREATE TABLE `llx_holiday` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_user` int(11) NOT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `date_create` datetime NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `halfday` int(11) DEFAULT 0,
  `statut` int(11) NOT NULL DEFAULT 1,
  `fk_validator` int(11) NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `detail_refuse` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_holiday_entity` (`entity`),
  KEY `idx_holiday_fk_user` (`fk_user`),
  KEY `idx_holiday_fk_user_create` (`fk_user_create`),
  KEY `idx_holiday_date_create` (`date_create`),
  KEY `idx_holiday_date_debut` (`date_debut`),
  KEY `idx_holiday_date_fin` (`date_fin`),
  KEY `idx_holiday_fk_validator` (`fk_validator`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_holiday`
--


--
-- Table structure for table `llx_holiday_config`
--

CREATE TABLE `llx_holiday_config` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `value` text COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_holiday_config` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_holiday_config`
--

INSERT INTO `llx_holiday_config` (`rowid`, `name`, `value`) VALUES (1,'lastUpdate',NULL);

--
-- Table structure for table `llx_holiday_extrafields`
--

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

--
-- Dumping data for table `llx_holiday_extrafields`
--


--
-- Table structure for table `llx_holiday_logs`
--

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

--
-- Dumping data for table `llx_holiday_logs`
--


--
-- Table structure for table `llx_holiday_users`
--

CREATE TABLE `llx_holiday_users` (
  `fk_user` int(11) NOT NULL,
  `fk_type` int(11) NOT NULL,
  `nb_holiday` double NOT NULL DEFAULT 0,
  UNIQUE KEY `uk_holiday_users` (`fk_user`,`fk_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_holiday_users`
--


--
-- Table structure for table `llx_import_model`
--

CREATE TABLE `llx_import_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(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `field` text COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_import_model` (`label`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_import_model`
--


--
-- Table structure for table `llx_intracommreport`
--

CREATE TABLE `llx_intracommreport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `type_declaration` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `periods` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mode` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `content_xml` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `type_export` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_intracommreport`
--


--
-- Table structure for table `llx_inventory`
--

CREATE TABLE `llx_inventory` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 0,
  `ref` varchar(48) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT 0,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `date_inventory` datetime DEFAULT NULL,
  `date_validation` datetime DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_inventory_ref` (`ref`,`entity`),
  KEY `idx_inventory_tms` (`tms`),
  KEY `idx_inventory_date_creation` (`date_creation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_inventory`
--


--
-- Table structure for table `llx_inventorydet`
--

CREATE TABLE `llx_inventorydet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_inventory` int(11) DEFAULT 0,
  `fk_warehouse` int(11) DEFAULT 0,
  `fk_product` int(11) DEFAULT 0,
  `batch` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `qty_view` double DEFAULT NULL,
  `qty_stock` double DEFAULT NULL,
  `qty_regulated` double DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_inventorydet` (`fk_inventory`,`fk_warehouse`,`fk_product`,`batch`),
  KEY `idx_inventorydet_tms` (`tms`),
  KEY `idx_inventorydet_datec` (`datec`),
  KEY `idx_inventorydet_fk_inventory` (`fk_inventory`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_inventorydet`
--


--
-- Table structure for table `llx_knowledgemanagement_knowledgerecord`
--

CREATE TABLE `llx_knowledgemanagement_knowledgerecord` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `question` text COLLATE utf8_unicode_ci NOT NULL,
  `answer` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_ticket` int(11) DEFAULT NULL,
  `fk_c_ticket_category` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_knowledgemanagement_knowledgerecord`
--


--
-- Table structure for table `llx_knowledgemanagement_knowledgerecord_extrafields`
--

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

--
-- Dumping data for table `llx_knowledgemanagement_knowledgerecord_extrafields`
--


--
-- Table structure for table `llx_links`
--

CREATE TABLE `llx_links` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datea` datetime NOT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `objecttype` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `objectid` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_links` (`objectid`,`label`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_links`
--


--
-- Table structure for table `llx_loan`
--

CREATE TABLE `llx_loan` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `capital` double(24,8) NOT NULL DEFAULT 0.00000000,
  `datestart` date DEFAULT NULL,
  `dateend` date DEFAULT NULL,
  `nbterm` double DEFAULT NULL,
  `rate` double NOT NULL,
  `note_private` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_public` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `capital_position` double(24,8) DEFAULT 0.00000000,
  `date_position` date DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT 0,
  `accountancy_account_capital` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_account_insurance` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_account_interest` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `insurance_amount` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
