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

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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

INSERT INTO `llx_ecm_files` (`rowid`, `ref`, `label`, `share`, `entity`, `filepath`, `filename`, `src_object_type`, `src_object_id`, `fullpath_orig`, `description`, `keywords`, `cover`, `position`, `gen_or_uploaded`, `extraparams`, `date_c`, `date_m`, `fk_user_c`, `fk_user_m`, `acl`) VALUES (2,'1627fe73ac4d39c7af90e0ec9e8d29b5','10e9c9bc77fd539180c78b898285948e',NULL,1,'facture/FA1901-0001','FA1901-0001.pdf','facture',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 17:34:54','2019-05-16 12:18:43',2,2,NULL),(3,'302886adbb699ac7cf9868cc3096d897','0ca37dc2a1bce3c0758d0da2978f14f1',NULL,1,'facture/(PROV3)','(PROV3).pdf','facture',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:07:09','2019-01-16 18:09:30',2,2,NULL),(4,'dc6418a36e54e9e949533db997b03752','9d9926618c8e3e8c15cc9e58d9ee9fbb',NULL,1,'facture/(PROV4)','(PROV4).pdf','facture',4,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:14:26','2019-01-16 18:14:26',2,NULL,NULL),(6,'22b27981a6c8552777f5cb2c32da48e2','62dc3862e5823475fc1ccc37be894eaf',NULL,1,'facture/FA1901-0002','FA1901-0002.pdf','facture',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-16 18:18:08','2019-04-10 16:31:41',2,2,NULL),(7,'e9419ff6da311011c723413af54e95e6','dc99b1b350fd6db5d8111c14ad338e02',NULL,1,'facture/(PROV5)','(PROV5).pdf','facture',5,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:31:47','2019-01-18 12:43:47',2,2,NULL),(8,'bf3f95620ffc517e238165ea18328d02','d2452fb66a4f7bb5d07860fd3916aa8d',NULL,1,'facture/(PROV6)','(PROV6).pdf','facture',6,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:37:56','2019-01-18 12:37:56',2,NULL,NULL),(9,'13d9b3438fca48355b6449fde4ec1a12','72cf4236361fe945b6d1f9625761b2b7',NULL,1,'facture/FA1901-0003','FA1901-0003.pdf','facture',5,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 12:43:59','2019-05-16 11:05:50',2,2,NULL),(12,'2f19a4e7a8d8905acbd0bf2ae7b2b829','6f70666fa0c4ff1ceda03954993d68d9',NULL,1,'facture/(PROV8)','(PROV8).pdf','facture',8,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 13:01:11','2019-01-18 13:01:11',2,NULL,NULL),(14,'20fa90540a59ab48c402c3508e93d092','8b3e17f8c8d3005661304228432a2c50',NULL,1,'facture/AC1901-0001','AC1901-0001.pdf','facture',8,'','',NULL,NULL,1,'generated',NULL,'2019-01-18 13:09:37','2019-01-29 09:46:14',2,2,NULL),(15,'e641b27c714d1bbeca1d58af03057009','1f1bcba6ca7ac966a8ad4666adc15975',NULL,1,'propale/(PROV1)','(PROV1).pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-01-19 16:07:38','2019-01-28 18:17:49',2,2,NULL),(16,'0f3d931f1ad2cac84be31571d4de9826','6640b19c06297b460a4a9284603e641a',NULL,1,'facture/(PROV9)','(PROV9).pdf','facture',9,'','',NULL,NULL,1,'generated',NULL,'2019-01-21 19:17:41','2019-01-21 19:22:15',2,2,NULL),(17,'8d67dfcd04d204a0010cc336e22a84a6','d1783051011aafa22e8c115b54ffbf74',NULL,1,'facture/FA1901-0004','FA1901-0004.pdf','facture',9,'','',NULL,NULL,1,'generated',NULL,'2019-01-21 19:25:23','2019-05-17 14:12:25',2,2,NULL),(18,'c980e95026769f41570cdba5c3f2bce1','60fc91f2802e3fa0d4796d814125a9d8',NULL,1,'propale/(PROV2)','(PROV2).pdf','propal',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-22 17:24:46','2019-01-22 17:40:47',2,2,NULL),(19,'9107f8f30a33ecfbaec82e0dd3ea212d','6b7aef987af46e187a9630b6405ccfff',NULL,1,'propale/PR1901-0001','PR1901-0001.pdf','propal',2,'','',NULL,NULL,1,'generated',NULL,'2019-01-22 17:40:58','2019-02-22 18:26:36',2,2,NULL),(20,'d15b5f7ac05e1913d7a4e6d8f661f993','10b8152e22c76a2582faa262ede20cf6',NULL,1,'propale/(PROV3)','(PROV3).pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-26 16:36:37','2019-01-26 17:17:00',2,2,NULL),(21,'4934773998d73d40a7b70ca9e3a94077','33bfe36f2b30f652e6abb240bfb1bf56',NULL,1,'propale/PR1901-0002','PR1901-0002.pdf','propal',3,'','',NULL,NULL,1,'generated',NULL,'2019-01-26 17:17:57','2019-03-01 13:22:45',2,2,NULL),(22,'63d72ca6d32b51d6ecb37bd5a8bf22b1','6f1909daa286e004008d4d516a5c06c1',NULL,1,'propale/PR1901-0003','PR1901-0003.pdf','propal',1,'','',NULL,NULL,1,'generated',NULL,'2019-01-28 18:17:57','2019-02-07 17:55:10',2,2,NULL),(24,'f379c005e9c0d1df557ca625a7735c32','a3964f6a3bf75644fda8aa3f621fae89',NULL,1,'facture/(PROV10)','(PROV10).pdf','facture',10,'','',NULL,NULL,1,'generated',NULL,'2019-01-29 09:54:06','2019-01-29 09:54:06',2,NULL,NULL),(25,'af069576886e481f62241cdf6142b601','825c2ff80e38f1e882fb8dd50b86bfbf',NULL,1,'facture/AC1811-0002','AC1811-0002.pdf','facture',10,'','',NULL,NULL,1,'generated',NULL,'2019-01-29 09:54:41','2019-01-29 09:55:30',2,2,NULL),(26,'a4afb750ef58ad27329983f49c834f24','0323e27756a72e9d7d5c4c60cae9a4e4',NULL,1,'facture/(PROV11)','(PROV11).pdf','facture',11,'','',NULL,NULL,1,'generated',NULL,'2019-02-07 18:20:11','2019-02-07 18:20:11',2,NULL,NULL),(27,'5def22bddda5dd9194dcc09a3eb0d2c0','f469e5471a66617a5c5d1376e331edc6',NULL,1,'facture/AC1902-0003','AC1902-0003.pdf','facture',11,'','',NULL,NULL,1,'generated',NULL,'2019-02-07 18:21:05','2019-06-03 14:04:17',2,2,NULL),(28,'28699bf820e297705925d011e38bd97d','0cb32e8c98d7cf9d3b42fb4aec4938ff',NULL,1,'propale/(PROV4)','(PROV4).pdf','propal',4,'','',NULL,NULL,1,'generated',NULL,'2019-02-18 11:19:22','2019-02-18 18:12:19',2,2,NULL),(29,'b7128825a414f262a266404ee262e814','59105bce0fe42a84811796617a7d639a',NULL,1,'propale/PR1902-0004','PR1902-0004.pdf','propal',4,'','',NULL,NULL,1,'generated',NULL,'2019-02-18 18:14:52','2019-04-29 12:58:04',2,2,NULL),(30,'be5a67e42eee31914deb35ad889adfaa','b3d401aa52d5424d46ac1a14d1de5363',NULL,1,'facture/(PROV12)','(PROV12).pdf','facture',12,'','',NULL,NULL,1,'generated',NULL,'2019-02-21 18:29:08','2019-02-21 18:29:55',2,2,NULL),(31,'754ebec4087d6f26c1969c10f6d03cff','ae86ba3f7ff05b2a882e6fec502b8712',NULL,1,'facture/FA1902-0005','FA1902-0005.pdf','facture',12,'','',NULL,NULL,1,'generated',NULL,'2019-02-21 18:30:28','2019-02-21 18:30:28',2,NULL,NULL),(32,'5da6cbd0f179fe7b6e8b10b17ccd5229','a2016564c8a4611a0d4fc0ff12c448e9',NULL,1,'propale/(PROV5)','(PROV5).pdf','propal',5,'','',NULL,NULL,1,'generated',NULL,'2019-02-25 16:33:21','2019-02-25 16:55:52',2,2,NULL),(33,'bbeafb32089ceae13aa4574eb9380c76','10103b5e7ffd93a6c4969691bccaf63b',NULL,1,'propale/PR1902-0005','PR1902-0005.pdf','propal',5,'','',NULL,NULL,1,'generated',NULL,'2019-02-25 17:02:59','2019-02-25 17:16:59',2,2,NULL),(34,'a2a87276389294a83b40ed2f265ce6a7','e2a63db452076dd7dd6d8f13a33329af',NULL,1,'facture/(PROV13)','(PROV13).pdf','facture',13,'','',NULL,NULL,1,'generated',NULL,'2019-02-26 11:29:35','2019-02-26 11:29:35',2,NULL,NULL),(35,'2e8ebea6839309a5683e9b47da25464b','a5dd08345075af154f449de884a8f984',NULL,1,'facture/AC1902-0004','AC1902-0004.pdf','facture',13,'','',NULL,NULL,1,'generated',NULL,'2019-02-26 11:29:52','2019-06-03 14:05:43',2,2,NULL),(36,'6665ce5f7239976b6f62ffe8a1340446','6048d7598e9c3829b73134ea97076bae',NULL,1,'propale/(PROV6)','(PROV6).pdf','propal',6,'','',NULL,NULL,1,'generated',NULL,'2019-02-28 16:01:45','2019-02-28 16:54:44',2,2,NULL),(37,'dcd8593f1db5b7ef1b7629eba29edba3','e85c2f15a2a920dc8ecaadc0441bcc41',NULL,1,'propale/PR1902-0006','PR1902-0006.pdf','propal',6,'','',NULL,NULL,1,'generated',NULL,'2019-02-28 16:55:05','2019-03-13 11:08:08',2,2,NULL),(38,'e87c33eb89b5e3a8700512caacefafa0','4e3499d204628f914fcdc5c7dbf35950',NULL,1,'facture/FA1903-0006','FA1903-0006.pdf','facture',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-01 13:23:48','2019-03-18 15:58:23',2,2,NULL),(39,'ab3cd136d9a8948014641676ce5ddef5','33eefccfc45ceff340182c3194c41258',NULL,1,'facture/(PROV15)','(PROV15).pdf','facture',15,'','',NULL,NULL,1,'generated',NULL,'2019-03-06 17:54:39','2019-03-06 17:59:07',2,2,NULL),(40,'6def405745fa5bbf98ea3ad708663764','87d792df5904ccc41e45949d27762b31',NULL,1,'facture/FA1903-0007','FA1903-0007.pdf','facture',15,'','',NULL,NULL,1,'generated',NULL,'2019-03-06 18:00:45','2019-03-13 17:07:08',2,2,NULL),(41,'7f83bd3eb0ad7979f64c54252acff5de','be13782dc74d07d0c68e89676302fd00',NULL,1,'propale/(PROV7)','(PROV7).pdf','propal',7,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 10:40:53','2019-03-08 10:41:28',2,2,NULL),(42,'541a3325241214f86669a1484881fae5','45603159108d08d63879277fcd5da30d',NULL,1,'propale/PR1903-0007','PR1903-0007.pdf','propal',7,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 10:43:09','2019-03-08 10:43:09',2,NULL,NULL),(43,'f74a2b25302b34561835876358cabd75','46623630a5f347a160e11c8056d2251d',NULL,1,'propale/(PROV8)','(PROV8).pdf','propal',8,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 16:51:42','2019-03-08 17:12:48',2,2,NULL),(44,'0b0edd60effc11cd3173595b258b6b01','ec6d7ecae4f7e25c4bf981cc7d307c39',NULL,1,'propale/PR1903-0008','PR1903-0008.pdf','propal',8,'','',NULL,NULL,1,'generated',NULL,'2019-03-08 17:13:09','2019-03-25 17:17:23',2,2,NULL),(45,'87ba2fa7efb6d86bbf25ef5799b5084e','d1d431b3cc74af97cbf1d2100d685452',NULL,1,'propale/(PROV9)','(PROV9).pdf','propal',9,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 15:04:33','2019-03-11 15:06:57',2,2,NULL),(46,'a1609c545439483b8a61741b0ebbdec1','29f38d35b58dd05575d1896fd76ee5fd',NULL,1,'propale/PR1903-0009','PR1903-0009.pdf','propal',9,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 15:07:14','2019-03-13 19:48:00',2,2,NULL),(47,'c730ca773c96eaf0d82288e73f63b09e','6a36e090309b3f421f481c8047e0b921',NULL,1,'propale/(PROV10)','(PROV10).pdf','propal',10,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:08:53','2019-03-11 16:21:43',2,2,NULL),(48,'4008e7198d359084707fb4a3db85fad2','cf41c43d992846fc00083187863da651',NULL,1,'propale/PR1903-0010','PR1903-0010.pdf','propal',10,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:22:54','2019-03-11 16:25:00',2,2,NULL),(49,'6af4fb6782080483c60bbbda76a3f18b','57da861d75764a4f5d9c26bdfa21cb86',NULL,1,'propale/(PROV11)','(PROV11).pdf','propal',11,'','',NULL,NULL,1,'generated',NULL,'2019-03-11 16:44:05','2019-03-11 17:06:26',2,2,NULL),(50,'203cb41e1035905fa2edaf40eb31fa66','f880e88a6a3d2f4563413cafaec436f0',NULL,1,'facture/(PROV16)','(PROV16).pdf','facture',16,'','',NULL,NULL,1,'generated',NULL,'2019-03-12 11:54:17','2019-03-12 11:59:12',2,2,NULL),(51,'0d9360cb4c8637315da961574466eed2','ace5e64a411b0e7e538d88eae7ab4d31',NULL,1,'facture/FA1903-0008','FA1903-0008.pdf','facture',16,'','',NULL,NULL,1,'generated',NULL,'2019-03-12 12:01:21','2019-05-16 12:02:03',2,2,NULL),(52,'e4c805aee1d7585153f43c1618977896','0f217bfb0b1eedb96f9924f9823e070c',NULL,1,'facture/FA1903-0009','FA1903-0009.pdf','facture',18,'','',NULL,NULL,1,'generated',NULL,'2019-03-13 11:09:59','2019-03-27 10:28:50',2,2,NULL),(53,'70d9e082d187d7c0ce9da0236812433c','1375535f7bd1073a436566b5ee83eba0',NULL,1,'facture/(PROV19)','(PROV19).pdf','facture',19,'','',NULL,NULL,1,'generated',NULL,'2019-03-18 14:46:41','2019-03-18 14:46:41',2,NULL,NULL),(54,'dbd25d1808e2abf2c5836cb4af151e2a','e3b01da1c0d7461fbb38b4f2b7ead27a',NULL,1,'facture/AC1903-0005','AC1903-0005.pdf','facture',19,'','',NULL,NULL,1,'generated',NULL,'2019-03-18 14:47:27','2019-05-24 16:16:31',2,2,NULL),(56,'628ee1d443d2f185ad3ee8835b27374e','e62e3e9848cfda91dbbb32103bef7f77',NULL,1,'facture/(PROV21)','(PROV21).pdf','facture',21,'','',NULL,NULL,1,'generated',NULL,'2019-03-20 17:08:20','2019-03-20 17:08:31',2,2,NULL),(57,'93df3840cbb3998fb7856cc5a9e5f4f9','05c786a5f9bed6adad95057132d1b0ad',NULL,1,'facture/FA1903-0010','FA1903-0010.pdf','facture',21,'','',NULL,NULL,1,'generated',NULL,'2019-03-20 17:08:59','2019-04-10 15:23:43',2,2,NULL),(58,'acd9269e5b5a3d707c52bb41359908be','2ee34317596fe2d05bce0f4b6b4b34da',NULL,1,'propale/(PROV12)','(PROV12).pdf','propal',12,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 14:54:39','2019-03-25 16:33:36',2,2,NULL),(59,'deda740eb3c86d5b7e60e363a97455c3','1d8300c10380e3a57f343a4b322c8379',NULL,1,'propale/(PROV13)','(PROV13).pdf','propal',13,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 16:37:36','2019-03-23 16:46:46',2,2,NULL),(60,'3f838230755bb395fb1923857eb3fffe','43e7bf7c5fbe477bffa06afe9fa5f1ad',NULL,1,'propale/PR1903-0011','PR1903-0011.pdf','propal',13,'','',NULL,NULL,1,'generated',NULL,'2019-03-23 16:46:54','2019-05-27 17:23:09',2,2,NULL),(61,'2862af1576f8263dd7b0ac39792c4ebc','5982c3fcf0b130d5ff82b59b0ff0ff28',NULL,1,'propale/PR1903-0012','PR1903-0012.pdf','propal',12,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 16:46:38','2019-04-13 14:38:32',2,2,NULL),(62,'63e069cb68dad1dbee77d0d8f4000c18','625a764b73ddb5f8b0f8b4a830a475f9',NULL,1,'facture/(PROV22)','(PROV22).pdf','facture',22,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 17:27:39','2019-03-25 17:27:51',2,2,NULL),(63,'ff2a4319f4570a3bfe17c2524978e171','d177cb48140e237755de9ceea787a087',NULL,1,'facture/FA1903-0011','FA1903-0011.pdf','facture',22,'','',NULL,NULL,1,'generated',NULL,'2019-03-25 17:29:19','2019-05-11 13:15:33',2,2,NULL),(64,'e76f230dbcf4ed5889a8b47845470123','608193dda5c3e465242f1ae5e6f54705',NULL,1,'propale/(PROV14)','(PROV14).pdf','propal',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-27 14:50:54','2019-03-27 15:24:49',2,2,NULL),(65,'585d65197349e394d1a0df46947772f6','acbcec82f1d393467713219d5a1c3208',NULL,1,'propale/PR1903-0013','PR1903-0013.pdf','propal',14,'','',NULL,NULL,1,'generated',NULL,'2019-03-27 15:25:21','2019-04-13 14:55:10',2,2,NULL),(66,'192e7e8b6f32d1e83f6e7ee266cd94ba','dd76aba0261e5605f0e93d4e7d928a2d',NULL,1,'facture/(PROV23)','(PROV23).pdf','facture',23,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 17:11:28','2019-04-01 17:11:28',2,NULL,NULL),(67,'a3292a821ddb01b8b329a4951d254d58','5f296970a9f33e5dd28a664d24b2eeaa',NULL,1,'facture/AC1904-0006','AC1904-0006.pdf','facture',23,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 17:12:13','2019-04-10 15:04:38',2,2,NULL),(68,'b039a8feb294af7458dec7663d3b686f','80d33d6920458ff4ee4fb1fc94ddfcb9',NULL,1,'facture/(PROV24)','(PROV24).pdf','facture',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 19:20:01','2019-04-01 19:20:01',2,NULL,NULL),(69,'a57e3cb9b7fa28747f519f3bbf76b014','39da9c3de7c72414e8218f6761e057a3',NULL,1,'facture/FA1904-0012','FA1904-0012.pdf','facture',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-01 19:20:20','2019-04-01 19:20:20',2,NULL,NULL),(70,'d35111b6710556fa0fa833b44738b9dd','24ddc5b282b98aed51cf7c0da79835ca',NULL,1,'propale/(PROV15)','(PROV15).pdf','propal',15,'','',NULL,NULL,1,'generated',NULL,'2019-04-04 17:56:35','2019-04-04 18:53:07',2,2,NULL),(71,'9c6fb731594864700bd4f382fdb00dfa','db03616deeb84a3f05d8870520f4efad',NULL,1,'propale/PR1904-0014','PR1904-0014.pdf','propal',15,'','',NULL,NULL,1,'generated',NULL,'2019-04-04 19:10:16','2019-04-09 10:26:21',2,2,NULL),(72,'53119fc9e6c59a29738e1da8639b5c25','cd107e7168ba3aeb42623328172181b9',NULL,1,'propale/(PROV16)','(PROV16).pdf','propal',16,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 16:51:02','2019-04-08 16:56:41',2,2,NULL),(73,'6d8dea2d5f262e7663d7eecf1a5ef066','e7e26b28ab516d04bc45baad7f12fbaa',NULL,1,'propale/PR1904-0015','PR1904-0015.pdf','propal',16,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 16:57:24','2019-05-13 14:24:58',2,2,NULL),(74,'c6839361a37c2318c4e2dea763b14c74','979c58b21c5a806f1721ef6e67468095',NULL,1,'facture/(PROV25)','(PROV25).pdf','facture',25,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:15:48','2019-04-08 17:16:08',2,2,NULL),(75,'ebd39d0b051ec58aef16d703b81a9732','b2c4049f1117e1af960fa07bba115045',NULL,1,'facture/FA1904-0013','FA1904-0013.pdf','facture',25,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:16:33','2019-04-08 17:16:33',2,NULL,NULL),(76,'f0e011ce688c912e731d1ba92e0cde8d','30b7326c076ee16c6ca94dd57b6d1f7f',NULL,1,'propale/(PROV17)','(PROV17).pdf','propal',17,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:22:12','2019-04-08 17:26:27',2,2,NULL),(77,'c93da0ed06405f3c036c5a0244efd18c','513354adc44a8e12a8a236ce2c69f4a0',NULL,1,'propale/PR1904-0016','PR1904-0016.pdf','propal',17,'','',NULL,NULL,1,'generated',NULL,'2019-04-08 17:27:32','2019-04-08 17:27:32',2,NULL,NULL),(78,'c524530834ee8a292095a173a09160e2','53588deb65b2f4ad88b105a74b808161',NULL,1,'facture/(PROV26)','(PROV26).pdf','facture',26,'','',NULL,NULL,1,'generated',NULL,'2019-04-10 17:33:20','2019-04-10 17:39:13',2,2,NULL),(79,'100914ae86a0ac20f1c32cd80ba7dbfc','fe8148b28e183a2caef582b253c362d6',NULL,1,'facture/FA1904-0014','FA1904-0014.pdf','facture',26,'','',NULL,NULL,1,'generated',NULL,'2019-04-10 17:43:35','2019-04-10 19:16:52',2,2,NULL),(80,'738d82d09b422448f9676bebef5903e6','2375bb71dab94ada58b078556f41f81c',NULL,1,'facture/(PROV27)','(PROV27).pdf','facture',27,'','',NULL,NULL,1,'generated',NULL,'2019-04-12 17:57:34','2019-04-12 17:59:07',2,2,NULL),(81,'3c95bf6f080e426787b23dd211034143','10297ca5c45beab533da524788cf4862',NULL,1,'facture/FA1904-0015','FA1904-0015.pdf','facture',27,'','',NULL,NULL,1,'generated',NULL,'2019-04-12 17:59:16','2019-04-12 17:59:16',2,NULL,NULL),(82,'3b5a92c57d5e747a51b4ff92e0edacfa','f50eb488b8b86f68e0c3324a6cc1c2e4',NULL,1,'propale/(PROV18)','(PROV18).pdf','propal',18,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:33:03','2019-04-13 14:35:24',2,2,NULL),(83,'692ecaceb9c4ae7a4e4908724e7d4229','dd4d5bec09929e59163b67c26d8c7c9d',NULL,1,'facture/AC1904-0007','AC1904-0007.pdf','facture',29,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:42:01','2019-04-15 18:15:47',2,2,NULL),(84,'bcf959cec575e75fd2da6e6516ae8dc0','65cbbc2d9f25911934c73dff3dd63e35',NULL,1,'facture/AC1904-0008','AC1904-0008.pdf','facture',30,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 14:55:52','2019-04-15 18:14:05',2,2,NULL),(85,'1ebcde0d432fb70bfbd1c5796323962d','208890618b99332b8fafb8f1c2388e4f',NULL,1,'propale/(PROV19)','(PROV19).pdf','propal',19,'','',NULL,NULL,1,'generated',NULL,'2019-04-13 15:02:07','2019-04-15 11:48:21',2,2,NULL),(86,'af1081ded537b52489298eff7ef5c7d8','1ddf8ba2ec794ede1ade8f190c71b402',NULL,1,'propale/PR1904-0017','PR1904-0017.pdf','propal',19,'','',NULL,NULL,1,'generated',NULL,'2019-04-15 11:51:30','2019-05-14 17:39:15',2,2,NULL),(87,'26e9f4f40ebd88355e02305fde2c69d2','03b26bb3d323862e4d59dd984f5dba8c',NULL,1,'propale/(PROV20)','(PROV20).pdf','propal',20,'','',NULL,NULL,1,'generated',NULL,'2019-04-18 09:28:06','2019-04-24 11:11:33',2,2,NULL),(88,'7af0087c54108b5166569313f78feb0a','45d21a0ce4ce583a644fba9f1d8ea617',NULL,1,'propale/(PROV21)','(PROV21).pdf','propal',21,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 12:29:36','2019-04-24 12:53:05',2,2,NULL),(89,'60e0b00d844002c1f2e54a879745c061','e33daf3065fac47f1db6bc542a83a640',NULL,1,'propale/PR1904-0018','PR1904-0018.pdf','propal',21,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 13:51:45','2019-04-29 16:52:38',2,2,NULL),(90,'3dd8febb0e310f5119fc30fae269325c','fbbf46a4bdba8151a3632e19e7bc3200',NULL,1,'propale/PR1904-0019','PR1904-0019.pdf','propal',20,'','',NULL,NULL,1,'generated',NULL,'2019-04-24 13:57:53','2019-04-24 14:30:33',2,2,NULL),(93,'fc3fb9d53cb3085d87e48e0c9c3e57e1','9426579cf8477089b628625844560683',NULL,1,'facture/AC1904-0009','AC1904-0009.pdf','facture',35,'','',NULL,NULL,1,'generated',NULL,'2019-04-26 16:07:34','2019-05-13 18:44:05',2,2,NULL),(94,'fcbd3df853bc3b56960b68ed3047b2e5','be0af4acfa745d9e5c48455b749556e4',NULL,1,'facture/AC1904-0010','AC1904-0010.pdf','facture',36,'','',NULL,NULL,1,'generated',NULL,'2019-04-29 12:58:49','2019-06-05 17:12:21',2,2,NULL),(95,'a297198660b9813b1ff156bd8cbfa351','a5821272df0c2a5d299900901210c210',NULL,1,'propale/(PROV24)','(PROV24).pdf','propal',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-30 12:04:30','2019-04-30 14:23:58',2,2,NULL),(96,'9c570d0acf43d53d2f773a9853f56162','aa896d8b6aaa5aa22d0335af322af719',NULL,1,'propale/PR1904-0020','PR1904-0020.pdf','propal',24,'','',NULL,NULL,1,'generated',NULL,'2019-04-30 14:24:09','2019-05-22 14:42:51',2,2,NULL),(97,'c7bb2da7985ca55e4f4f2f812ebb0456','2cca7350617eb4637c25d8ed6fa6384f',NULL,1,'facture/(PROV37)','(PROV37).pdf','facture',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 15:16:39','2019-05-06 16:25:18',2,2,NULL),(98,'606cb4bee6fb83d3526624a0c2b94eba','1a8a65774f3f54b7e1223529a712a8c9',NULL,1,'facture/FA1905-0016','FA1905-0016.pdf','facture',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 16:36:42','2019-05-06 16:43:59',2,2,NULL),(99,'da859151a14edb006fa1b43fd64fae63','4685c3e3122d8ba85d6b8b2b1a2bf5fc',NULL,1,'propale/(PROV25)','(PROV25).pdf','propal',25,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 18:43:24','2019-05-06 18:49:38',2,2,NULL),(101,'c7aab337a54cb9561348efae4661a8cc','6a542b0af1a55c29cc4b4eddf017326e',NULL,1,'propale/(PROV26)','(PROV26).pdf','propal',26,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 18:55:49','2019-05-06 19:21:32',2,2,NULL),(102,'e0b238cc1757ee341f152c3e7acbcc62','2b7e487ee85037030a156743a496c50e',NULL,1,'propale/PR1905-0022','PR1905-0022.pdf','propal',26,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:21:40','2019-05-06 19:21:40',2,NULL,NULL),(103,'a254c2ed5e956a097a3acb63b4808f59','22cf31ec37a6e34547ccdeaaa97e7867',NULL,1,'propale/(PROV27)','(PROV27).pdf','propal',27,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:24:14','2019-05-06 19:28:10',2,2,NULL),(104,'daed872a2a89ed9421a6071bcc6a3403','5763fe225b5f1d8040a64980c3ebad95',NULL,1,'propale/PR1905-0023','PR1905-0023.pdf','propal',27,'','',NULL,NULL,1,'generated',NULL,'2019-05-06 19:28:30','2019-05-22 13:09:03',2,2,NULL),(105,'ab869af2dc737a6c8464e1748d9de0dc','76be69bfd7e03d9c98ab3735e505eb8b',NULL,1,'facture/(PROV38)','(PROV38).pdf','facture',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-10 16:25:14','2019-05-10 16:26:24',2,2,NULL),(106,'2da81319357bc07bc37c9fb83134cab8','e6963bea9d83605c55adba2e58903825',NULL,1,'facture/FA1905-0017','FA1905-0017.pdf','facture',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-10 16:26:52','2019-05-10 16:26:52',2,NULL,NULL),(107,'b9f21636cea078d7f7a87e8e859a28e4','fc649ebbb3025ca9f86241340754bc9d',NULL,1,'ecm/Documents/Papier entete','ENTETE MTS 2018.docx',NULL,NULL,'ENTETE MTS 2018.docx','',NULL,NULL,1,'uploaded',NULL,'2019-05-11 13:39:37','2019-05-11 13:39:37',2,NULL,NULL),(108,'232d3c6ce9788d52fe681e098c0591d1','64f848aeb53f8bb08dc1410686a52b08',NULL,1,'propale/(PROV28)','(PROV28).pdf','propal',28,'','',NULL,NULL,1,'generated',NULL,'2019-05-11 16:06:12','2019-05-11 16:10:02',2,2,NULL),(109,'1d304a222433950a50938a79b8e05e18','e5693869c9a62c9f40bef0fe0cb1093e',NULL,1,'propale/PR1905-0024','PR1905-0024.pdf','propal',28,'','',NULL,NULL,1,'generated',NULL,'2019-05-11 16:10:07','2019-05-15 18:02:50',2,2,NULL),(110,'b7f7b6fa1735e1a4216a7085ced2cedc','a196329cc988a862a40c785804014b36',NULL,1,'facture/FA1905-0018','FA1905-0018.pdf','facture',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 14:25:18','2019-05-15 18:17:07',2,2,NULL),(112,'bf864d1285c3991d85adac9e10925356','e6f158b36739ad11617d27e26eb64254',NULL,1,'propale/(PROV29)','(PROV29).pdf','propal',29,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 18:53:37','2019-05-13 19:06:59',2,2,NULL),(113,'59dbb30798f43472cbe4cc98fe5b2580','e86110fa3de1666d318720728856be06',NULL,1,'propale/PR1905-0025','PR1905-0025.pdf','propal',29,'','',NULL,NULL,1,'generated',NULL,'2019-05-13 19:07:07','2019-05-13 19:13:53',2,2,NULL),(114,'edb71f6e83e9b4a2753e1c0dc2d34cd0','756e14db87030450399d2bf331a3bb98',NULL,1,'propale/(PROV30)','(PROV30).pdf','propal',30,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 10:04:21','2019-05-14 10:13:29',2,2,NULL),(115,'a2f3139cf12b2a3f1ca1b29f8fae448e','558c81623246d724531457c73d7094ab',NULL,1,'propale/PR1905-0026','PR1905-0026.pdf','propal',30,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 10:13:39','2019-05-14 10:13:39',2,NULL,NULL),(116,'6bdc2d0b8e14d8a06a0ee22ab3399d95','44604cb2d39c4168cfbba99818fd34f5',NULL,1,'propale/(PROV31)','(PROV31).pdf','propal',31,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 14:18:15','2019-05-14 15:28:08',2,2,NULL),(117,'f852b82e00eb1ee9f8ea4ad132199d32','6fab1cc198880725837305f1b574451e',NULL,1,'propale/PR1905-0027','PR1905-0027.pdf','propal',31,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 16:00:06','2019-05-14 17:17:58',2,2,NULL),(118,'5d4884e7e029f2cd02d8e8cdc6647e43','37cd8a3a7e9650614bea8b62b9d5b021',NULL,1,'facture/AC1905-0011','AC1905-0011.pdf','facture',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 17:30:51','2019-05-16 12:21:52',2,2,NULL),(120,'2df288964af497d81c40ff509090ae4f','b885729eb711d096333b890999e8a169',NULL,1,'propale/(PROV33)','(PROV33).pdf','propal',33,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:17:02','2019-05-14 18:22:07',2,2,NULL),(121,'592f5184dfc20a7a310556bf97b4f01c','25c2765299a6f1c456f6e8ecfa6cd092',NULL,1,'propale/PR1905-0028','PR1905-0028.pdf','propal',33,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:22:12','2019-05-14 18:22:40',2,2,NULL),(122,'ae8448050bdd19750f4773d648a05f3b','126924ae0e964711c42268c359d043aa',NULL,1,'facture/AC1905-0012','AC1905-0012.pdf','facture',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-14 18:23:08','2019-05-20 17:07:25',2,2,NULL),(123,'edbc50fd18b43aa87c3ef5a714c50ac6','7f47f60f64e2a523a9d450ce055cbc7e',NULL,1,'propale/(PROV34)','(PROV34).pdf','propal',34,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 17:34:44','2019-05-15 17:55:04',2,2,NULL),(124,'239f3a479da23b935d1d79f3c2bb5572','681a41ef905893e95bcba3a73903e28a',NULL,1,'propale/PR1905-0029','PR1905-0029.pdf','propal',34,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 17:55:47','2019-05-15 17:55:47',2,NULL,NULL),(125,'b6d2d8f28af54e97a6e39111e474d89c','4e99f21f33f1a03f686714aa15da08e5',NULL,1,'facture/(PROV43)','(PROV43).pdf','facture',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 18:06:18','2019-05-15 18:08:44',2,2,NULL),(126,'7c3a6019e31e8d759b19ce51548d6d91','9988a83ae9546217831b62a7a5e6d08a',NULL,1,'facture/FA1904-0019','FA1904-0019.pdf','facture',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-15 18:09:46','2019-05-15 18:12:25',2,2,NULL),(127,'6a71bd990867b997dba86c594af73051','71b735f399e04668a38e5367acf455a5',NULL,1,'facture/(PROV44)','(PROV44).pdf','facture',44,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:13:11','2019-05-16 11:15:37',2,2,NULL),(129,'6de4b71be0cf38c9ca4ea6e152ca467a','deeb59818d9ff8ab05cea3ed1fb24263',NULL,1,'facture/(PROV45)','(PROV45).pdf','facture',45,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:21:01','2019-05-16 11:36:03',2,2,NULL),(130,'ede8284f2e83a9f044406cec776a88ff','cb6922f3ae2fd9a7997592f98132448f',NULL,1,'facture/FA1911-0020','FA1911-0020.pdf','facture',45,'','',NULL,NULL,1,'generated',NULL,'2019-05-16 11:36:20','2019-05-16 11:36:20',2,NULL,NULL),(131,'ccd85d5fb5816ca8a1046fcd6629b83f','812d926a1a6fa71ef84cf5a5df6e790e',NULL,1,'propale/(PROV35)','(PROV35).pdf','propal',35,'','',NULL,NULL,1,'generated',NULL,'2019-05-17 14:17:22','2019-05-17 14:21:07',2,2,NULL),(132,'bb5397581387d4dbf6fdc517649bd749','fc3a4f9179457f4dc89505871bc1742d',NULL,1,'propale/PR1905-0030','PR1905-0030.pdf','propal',35,'','',NULL,NULL,1,'generated',NULL,'2019-05-17 14:21:54','2019-05-17 14:38:56',2,2,NULL),(133,'1babcb6f626240183b36e18e4034d0b0','860f05f4c75a076b43decb8126216c28',NULL,1,'propale/(PROV36)','(PROV36).pdf','propal',36,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:26:22','2019-05-20 16:30:14',2,2,NULL),(134,'6f1c1fe93077660b66b2a0ff5312aa48','0793c6325e3ceb113858962944d2425d',NULL,1,'propale/PR1905-0031','PR1905-0031.pdf','propal',36,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:30:24','2019-05-23 16:52:55',2,2,NULL),(135,'4442ec40b14308f9a93c0a7922eacaab','f83fde28d78894ce2ebf14e99674ee3f',NULL,1,'propale/(PROV37)','(PROV37).pdf','propal',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 16:43:57','2019-05-20 17:00:14',2,2,NULL),(136,'329563a72c22314f1e14fb8e4a8c3556','fccda6281ef7b01ee36072f3bbd04f45',NULL,1,'propale/PR1905-0032','PR1905-0032.pdf','propal',37,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 17:00:18','2019-05-24 17:45:15',2,2,NULL),(137,'f82bf0f253c0f5a4b825d439d6926700','b6d2833b0278d003243274b909c62485',NULL,1,'facture/AC1905-0013','AC1905-0013.pdf','facture',46,'','',NULL,NULL,1,'generated',NULL,'2019-05-20 17:12:53','2019-05-23 16:08:41',2,2,NULL),(138,'3088575e9dc1302cb24b8c8232fecf18','cc1d44f2e7d2366c353c3db073f0ced7',NULL,1,'propale/(PROV38)','(PROV38).pdf','propal',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-22 16:23:48','2019-05-22 16:24:13',2,2,NULL),(139,'bbbe12e9aa57fc083416f27d18acd32f','09d5b5617af11c83f900f52c2a1d16fc',NULL,1,'propale/PR1905-0033','PR1905-0033.pdf','propal',38,'','',NULL,NULL,1,'generated',NULL,'2019-05-22 16:29:27','2019-05-22 16:29:27',2,NULL,NULL),(140,'213620aa87f35ba024f91543b4ea0e7f','a96e2a031ccc52c7570dcce72ff92296',NULL,1,'propale/(PROV39)','(PROV39).pdf','propal',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-23 17:42:15','2019-05-23 17:48:44',2,2,NULL),(141,'9205d3fa28ec2d4f793c81b9569e7bef','14fa2039b262ca5407b4cadf89e049cc',NULL,1,'propale/PR1905-0034','PR1905-0034.pdf','propal',39,'','',NULL,NULL,1,'generated',NULL,'2019-05-23 17:49:01','2019-05-24 16:41:36',2,2,NULL),(142,'1841237f9c5b8c77a4f4ccd5e5516898','e661fd6bc5b547f9bd6908c57678baa7',NULL,1,'propale/(PROV40)','(PROV40).pdf','propal',40,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 16:48:04','2019-05-24 17:32:41',2,2,NULL),(143,'3bf95c24cb10d416edf16eaa6282b3fd','c958e81010d0e61d1961e60b4a720ddd',NULL,1,'propale/PR1905-0035','PR1905-0035.pdf','propal',40,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:32:54','2019-05-24 17:32:54',2,NULL,NULL),(144,'9ed844196b4587488fc477fc596d880e','901b22eeddc292266815bd4986e6357d',NULL,1,'propale/(PROV41)','(PROV41).pdf','propal',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:35:39','2019-05-24 17:44:07',2,2,NULL),(145,'8e555faf659fbc0c6b974b6a69402a3b','12e029a48ecf735d6062afba3fb059b2',NULL,1,'propale/PR1905-0036','PR1905-0036.pdf','propal',41,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:44:15','2019-05-24 17:44:15',2,NULL,NULL),(146,'110bf6bd1cde963d1fc5a73a59f4b647','207b373dce3ed9c8ca2b5159d89a75e4',NULL,1,'facture/AC1905-0014','AC1905-0014.pdf','facture',48,'','',NULL,NULL,1,'generated',NULL,'2019-05-24 17:46:41','2019-05-25 10:14:28',2,2,NULL),(147,'7e908e33db66dead34342157c2c69ec3','855466ed9f1f6fdbf0e0f51b0c0842f5',NULL,1,'propale/(PROV42)','(PROV42).pdf','propal',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 10:45:49','2019-05-27 11:20:43',2,2,NULL),(148,'621c17f2bdbbd1aefdd44d34f4aa8667','abad527802b427ef6906e028031ee016',NULL,1,'propale/PR1905-0037','PR1905-0037.pdf','propal',42,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 11:20:53','2019-05-27 11:20:53',2,NULL,NULL),(149,'86c73a7db8032997a3e5d1570d7a8a56','a740ba4830070bab6a62384c3e425f48',NULL,1,'facture/FA1905-0021','FA1905-0021.pdf','facture',49,'','',NULL,NULL,1,'generated',NULL,'2019-05-27 17:24:03','2019-05-27 17:24:03',2,NULL,NULL),(150,'74211804d6f10ab8306919573cee5afe','8878108e73e4a33209925fec62f8162c',NULL,1,'propale/(PROV43)','(PROV43).pdf','propal',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-30 18:09:52','2019-05-30 18:17:51',2,2,NULL),(151,'835f4bc748db4b3771684713616f75ff','67b880e97d6e5c46b813703ab7ab6f58',NULL,1,'propale/PR1905-0038','PR1905-0038.pdf','propal',43,'','',NULL,NULL,1,'generated',NULL,'2019-05-30 18:18:16','2019-05-31 18:29:18',2,2,NULL),(152,'893dceff16561719394678701f635f91','ca59145d08830dcdd8322f30f71c41f8',NULL,1,'facture/AC1905-0015','AC1905-0015.pdf','facture',50,'','',NULL,NULL,1,'generated',NULL,'2019-05-31 15:30:48','2019-06-03 14:49:26',2,2,NULL),(153,'b2a505be0e6f8ff031daecc6c978d096','3b098fe39d5a6ad1f63646520846ce75',NULL,1,'facture/AC1905-0016','AC1905-0016.pdf','facture',51,'','',NULL,NULL,1,'generated',NULL,'2019-05-31 18:30:08','2019-06-03 14:56:25',2,2,NULL),(154,'478bb396cf52dc5fb26c2d0fe61d90d6','58b56a7a3f0d2922dddfe4b6d720290b',NULL,1,'facture/FA1906-0022','FA1906-0022.pdf','facture',52,'','',NULL,NULL,1,'generated',NULL,'2019-06-05 15:43:16','2019-06-05 17:18:29',2,2,NULL);

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

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

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

INSERT INTO `llx_element_contact` (`rowid`, `datecreate`, `statut`, `element_id`, `fk_c_type_contact`, `fk_socpeople`) VALUES (2,'2019-01-21 18:49:38',4,2,160,2),(3,'2019-01-21 19:00:15',4,3,160,2),(4,'2019-01-21 19:02:51',4,4,160,2),(5,'2019-01-21 19:03:42',4,5,160,2),(6,'2019-01-29 10:05:09',4,6,160,2),(7,'2019-02-07 19:28:33',4,7,160,2),(8,'2019-03-08 16:49:55',4,8,160,2),(9,'2019-03-13 11:04:54',4,9,160,2),(10,'2019-03-18 14:44:25',4,10,160,2),(11,'2019-04-13 14:49:38',4,11,160,2);

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

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

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

INSERT INTO `llx_element_element` (`rowid`, `fk_source`, `sourcetype`, `fk_target`, `targettype`) VALUES (1,3,'propal',14,'facture'),(12,4,'propal',36,'facture'),(24,4,'propal',52,'facture'),(2,6,'propal',18,'facture'),(3,8,'propal',22,'facture'),(5,12,'propal',29,'facture'),(18,12,'propal',46,'facture'),(22,12,'propal',50,'facture'),(21,13,'propal',49,'facture'),(6,14,'propal',30,'facture'),(13,16,'propal',39,'facture'),(17,16,'propal',43,'facture'),(15,19,'propal',41,'facture'),(11,20,'propal',35,'facture'),(16,33,'propal',42,'facture'),(20,37,'propal',48,'facture'),(23,43,'propal',51,'facture');

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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


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

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

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

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

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

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

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


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

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

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

INSERT INTO `llx_facture` (`rowid`, `facnumber`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `type`, `increment`, `fk_soc`, `datec`, `datef`, `date_pointoftax`, `date_valid`, `tms`, `paye`, `amount`, `remise_percent`, `remise_absolue`, `remise`, `close_code`, `close_note`, `tva`, `localtax1`, `localtax2`, `revenuestamp`, `total`, `total_ttc`, `fk_statut`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_fac_rec_source`, `fk_facture_source`, `fk_projet`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `note_private`, `note_public`, `model_pdf`, `last_main_doc`, `fk_incoterms`, `location_incoterms`, `situation_cycle_ref`, `situation_counter`, `situation_final`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (2,'FA1901-0001',1,NULL,NULL,NULL,0,NULL,4,'2019-01-16 17:34:27','2019-01-16',NULL,'2019-05-16','2019-05-16 12:15:29',0,0.00000000,NULL,NULL,0,NULL,NULL,63000000.00000000,0.00000000,0.00000000,0.00000000,350000000.00000000,413000000.00000000,1,2,NULL,2,1,NULL,NULL,1,NULL,2,2,'2019-02-15','G&eacute;n&eacute;r&eacute; depuis la facture mod&egrave;le r&eacute;currente Facture de solde ARPT',NULL,'crabe','facture/FA1901-0001/FA1901-0001.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,350000000.00000000,63000000.00000000,413000000.00000000),(3,'FA1901-0002',1,NULL,NULL,NULL,0,NULL,5,'2019-01-16 18:04:55','2019-01-16',NULL,'2019-01-16','2019-01-16 18:18:08',0,0.00000000,NULL,NULL,0,NULL,NULL,70166254.32000000,0.00000000,0.00000000,0.00000000,389812524.00000000,459978778.32000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-01-17',NULL,NULL,'crabe','facture/FA1901-0002/FA1901-0002.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,389812524.00000000,70166254.32000000,459978778.32000000),(5,'FA1901-0003',1,NULL,NULL,NULL,0,NULL,6,'2019-01-18 12:28:21','2019-01-18',NULL,'2019-05-16','2019-05-16 11:06:23',0,0.00000000,NULL,NULL,0,'abandon','ERREUR DE SAISIE',0.18000000,0.00000000,0.00000000,0.00000000,1.00000000,1.18000000,3,2,NULL,2,NULL,NULL,6,NULL,NULL,1,0,'2019-01-19',NULL,NULL,'crabe','facture/FA1901-0003/FA1901-0003.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,1.00000000,0.18000000,1.18000000),(8,'AC1901-0001',1,NULL,NULL,NULL,3,NULL,6,'2019-01-18 12:59:04','2019-01-18',NULL,'2019-01-19','2019-05-16 11:19:34',0,0.00000000,NULL,NULL,0,'discount_vat','RETENUE DE TVA',5761410.12000000,0.00000000,0.00000000,0.00000000,32007834.00000000,37769244.12000000,2,2,NULL,2,NULL,NULL,6,NULL,NULL,1,7,'2019-01-19',NULL,NULL,'crabe','facture/AC1901-0001/AC1901-0001.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,32007834.00000000,5761410.12000000,37769244.12000000),(9,'FA1901-0004',1,NULL,NULL,NULL,0,NULL,19,'2019-01-21 19:16:26','2019-01-07',NULL,'2019-01-21','2019-01-21 19:25:23',0,0.00000000,NULL,NULL,0,NULL,NULL,8209079.64000000,0.00000000,0.00000000,0.00000000,45605998.00000000,53815077.64000000,1,2,NULL,2,NULL,NULL,5,NULL,NULL,1,0,'2019-01-08',NULL,NULL,'crabe','facture/FA1901-0004/FA1901-0004.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,45605998.00000000,8209079.64000000,53815077.64000000),(10,'AC1811-0002',1,NULL,NULL,NULL,3,NULL,6,'2019-01-29 09:52:37','2018-11-13',NULL,'2019-01-29','2019-05-16 11:19:56',0,0.00000000,NULL,NULL,0,'discount_vat','RETENUE DE TVA',17284230.36000000,0.00000000,0.00000000,0.00000000,96023502.00000000,113307732.36000001,2,2,NULL,NULL,NULL,NULL,6,1,NULL,1,7,'2019-02-15',NULL,NULL,'crabe','facture/AC1811-0002/AC1811-0002.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,96023502.00000000,17284230.36000000,113307732.36000000),(11,'AC1902-0003',1,NULL,NULL,NULL,3,NULL,6,'2019-02-07 18:16:53','2019-02-07',NULL,'2019-02-07','2019-05-16 11:17:48',0,0.00000000,NULL,NULL,0,'discount_vat','RETENUE DE LA TVA',11522820.24000000,0.00000000,0.00000000,0.00000000,64015668.00000000,75538488.24000000,2,2,NULL,2,NULL,NULL,6,1,NULL,1,7,'2019-02-08',NULL,NULL,'crabe','facture/AC1902-0003/AC1902-0003.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,64015668.00000000,11522820.24000000,75538488.24000000),(12,'FA1902-0005',1,NULL,NULL,NULL,0,NULL,27,'2019-02-21 18:26:35','2019-02-21',NULL,'2019-02-21','2019-02-21 18:30:28',0,0.00000000,NULL,NULL,0,NULL,NULL,907200.00000000,0.00000000,0.00000000,0.00000000,5040000.00000000,5947200.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-02-22',NULL,NULL,'crabe','facture/FA1902-0005/FA1902-0005.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,5040000.00000000,907200.00000000,5947200.00000000),(13,'AC1902-0004',1,NULL,NULL,NULL,3,NULL,6,'2019-02-26 11:26:56','2019-02-26',NULL,'2019-02-26','2019-05-16 11:19:07',0,0.00000000,NULL,NULL,0,'discount_vat','RETENUE DE TVA',14403525.30000000,0.00000000,0.00000000,0.00000000,80019585.00000000,94423110.30000000,2,2,NULL,2,NULL,NULL,6,NULL,NULL,1,0,'2019-02-27',NULL,NULL,'crabe','facture/AC1902-0004/AC1902-0004.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,80019585.00000000,14403525.30000000,94423110.30000000),(14,'FA1903-0006',1,NULL,NULL,NULL,0,NULL,22,'2019-03-01 13:23:32','2019-03-01',NULL,'2019-03-01','2019-03-18 15:58:23',1,0.00000000,NULL,NULL,0,NULL,NULL,289080.00000000,0.00000000,0.00000000,0.00000000,1606000.00000000,1895080.00000000,2,2,NULL,2,NULL,NULL,NULL,NULL,NULL,6,0,'2019-03-02',NULL,NULL,'crabe','facture/FA1903-0006/FA1903-0006.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,1606000.00000000,289080.00000000,1895080.00000000),(15,'FA1903-0007',1,NULL,NULL,NULL,0,NULL,30,'2019-03-06 17:46:40','2019-03-06',NULL,'2019-03-13','2019-05-16 10:35:34',0,0.00000000,NULL,NULL,0,'abandon','REFUS CLIENT (TVX faisant parti du devis fenêtre)',5112000.00000000,0.00000000,0.00000000,0.00000000,28400000.00000000,33512000.00000000,3,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-07',NULL,NULL,'crabe','facture/FA1903-0007/FA1903-0007.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,28400000.00000000,5112000.00000000,33512000.00000000),(16,'FA1903-0008',1,NULL,NULL,NULL,0,NULL,34,'2019-03-12 11:52:35','2019-03-12',NULL,'2019-03-12','2019-05-16 12:02:03',1,0.00000000,NULL,NULL,0,NULL,NULL,179100.00000000,0.00000000,0.00000000,0.00000000,995000.00000000,1174100.00000000,2,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-13',NULL,NULL,'crabe','facture/FA1903-0008/FA1903-0008.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,995000.00000000,179100.00000000,1174100.00000000),(18,'FA1903-0009',1,NULL,NULL,NULL,0,NULL,29,'2019-03-13 11:08:54','2019-03-13',NULL,'2019-03-13','2019-03-13 11:09:59',0,0.00000000,NULL,NULL,0,NULL,NULL,15757380.00000000,0.00000000,0.00000000,0.00000000,87541000.00000000,103298380.00000000,1,2,NULL,2,NULL,NULL,9,NULL,NULL,13,0,'2019-04-09','12/03/2019<br />\r\n&nbsp;',NULL,'crabe','facture/FA1903-0009/FA1903-0009.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'GNF',1.00000000,87541000.00000000,15757380.00000000,103298380.00000000),(19,'AC1903-0005',1,NULL,NULL,NULL,3,NULL,26,'2019-03-18 14:44:55','2019-03-18',NULL,'2019-03-19','2019-03-19 19:01:27',0,0.00000000,NULL,NULL,0,NULL,NULL,25124905.00799999,0.00000000,0.00000000,0.00000000,139582805.60000000,164707710.60799998,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-03-19',NULL,NULL,'crabe','facture/AC1903-0005/AC1903-0005.pdf',0,'',NULL,NULL,0,NULL,NULL,0,'EUR',0.00009615,13420.88675844,2415.75961652,15836.64637496),(21,'FA1903-0010',1,NULL,NULL,NULL,0,NULL,27,'2019-03-20 17:06:11','2019-03-20',NULL,'2019-03-20','2019-03-20 17:11:35',0,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,19702415.00000000,19702415.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-03-21',NULL,NULL,'crabe','facture/FA1903-0010/FA1903-0010.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,19702415.00000000,0.00000000,19702415.00000000),(22,'FA1903-0011',1,NULL,NULL,NULL,0,NULL,31,'2019-03-25 17:27:05','2019-03-25',NULL,'2019-05-10','2019-05-10 15:51:18',0,0.00000000,NULL,NULL,0,NULL,NULL,1830510.00000000,0.00000000,0.00000000,0.00000000,10169500.00000000,12000010.00000000,1,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-03-26',NULL,NULL,'crabe','facture/FA1903-0011/FA1903-0011.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,10169500.00000000,1830510.00000000,12000010.00000000),(23,'AC1904-0006',1,NULL,NULL,NULL,3,NULL,26,'2019-04-01 17:09:48','2019-04-01',NULL,'2019-04-01','2019-06-05 17:15:09',0,0.00000000,NULL,NULL,0,NULL,NULL,12562371.29000000,0.00000000,0.00000000,0.00000000,69790951.64000000,82353322.92999999,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-04-02',NULL,NULL,'crabe','facture/AC1904-0006/AC1904-0006.pdf',0,'',NULL,NULL,0,NULL,NULL,2,'EUR',0.00009615,6710.40000000,1207.87000000,7918.27000000),(24,'FA1904-0012',1,NULL,NULL,NULL,0,NULL,31,'2019-04-01 19:19:01','2019-04-01',NULL,'2019-04-01','2019-04-01 19:20:20',0,0.00000000,NULL,NULL,0,NULL,NULL,1647459.00000000,0.00000000,0.00000000,0.00000000,9152550.00000000,10800009.00000000,1,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-04-02',NULL,NULL,'crabe','facture/FA1904-0012/FA1904-0012.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,9152550.00000000,1647459.00000000,10800009.00000000),(25,'FA1904-0013',1,NULL,NULL,NULL,0,NULL,34,'2019-04-08 17:13:41','2019-04-08',NULL,'2019-04-08','2019-04-08 17:16:34',0,0.00000000,NULL,NULL,0,NULL,NULL,162000.00000000,0.00000000,0.00000000,0.00000000,900000.00000000,1062000.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-04-09',NULL,NULL,'crabe','facture/FA1904-0013/FA1904-0013.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,900000.00000000,162000.00000000,1062000.00000000),(26,'FA1904-0014',1,NULL,NULL,NULL,0,NULL,31,'2019-04-10 17:29:22','2019-04-10',NULL,'2019-04-10','2019-04-10 19:16:51',0,0.00000000,NULL,NULL,0,NULL,NULL,1926000.00000000,0.00000000,0.00000000,0.00000000,10700000.00000000,12626000.00000000,1,2,NULL,2,NULL,NULL,8,NULL,NULL,1,0,'2019-04-11',NULL,NULL,'crabe','facture/FA1904-0014/FA1904-0014.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,10700000.00000000,1926000.00000000,12626000.00000000),(27,'FA1904-0015',1,NULL,NULL,NULL,0,NULL,35,'2019-04-12 17:53:33','2019-04-12',NULL,'2019-04-12','2019-04-13 14:51:15',0,0.00000000,NULL,NULL,0,NULL,NULL,1674000.00000000,0.00000000,0.00000000,0.00000000,9300000.00000000,10974000.00000000,1,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-13',NULL,NULL,'crabe','facture/FA1904-0015/FA1904-0015.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,9300000.00000000,1674000.00000000,10974000.00000000),(29,'AC1904-0007',1,NULL,NULL,NULL,3,NULL,35,'2019-04-13 14:41:41','2019-04-15',NULL,'2019-04-13','2019-04-15 18:15:46',1,0.00000000,NULL,NULL,0,NULL,NULL,36587541.60000000,0.00000000,0.00000000,0.00000000,203264120.40000000,239851661.60000000,2,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-16',NULL,NULL,'crabe','facture/AC1904-0007/AC1904-0007.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,203264120.40000000,36587541.67000000,239851662.07000000),(30,'AC1904-0008',1,NULL,NULL,NULL,3,NULL,35,'2019-04-13 14:55:40','2019-04-15',NULL,'2019-04-13','2019-04-15 18:14:02',1,0.00000000,NULL,NULL,0,NULL,NULL,54815407.91999999,0.00000000,0.00000000,0.00000000,304530044.00000000,359345451.91999996,2,2,NULL,2,NULL,NULL,11,NULL,NULL,1,0,'2019-04-16',NULL,NULL,'crabe','facture/AC1904-0008/AC1904-0008.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,304530044.00000000,54815407.92000000,359345451.92000000),(35,'AC1904-0009',1,NULL,NULL,NULL,3,NULL,35,'2019-04-26 16:06:24','2019-04-24',NULL,'2019-04-26','2019-05-16 10:48:19',0,0.00000000,NULL,NULL,0,'discount_vat','Arrondie',7621859.52000000,0.00000000,0.00000000,0.00000000,42343663.60000000,49965523.52000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-04-25','FACTURE',NULL,'crabe','facture/AC1904-0009/AC1904-0009.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,42343663.60000000,7621859.45000000,49965523.05000000),(36,'AC1904-0010',1,NULL,NULL,NULL,3,NULL,26,'2019-04-29 12:58:34','2019-04-29',NULL,'2019-04-29','2019-04-29 12:58:49',0,0.00000000,NULL,NULL,0,NULL,NULL,12562452.54000000,0.00000000,0.00000000,0.00000000,69791402.80000000,82353855.54000000,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-04-30',NULL,NULL,'crabe','facture/AC1904-0010/AC1904-0010.pdf',0,'',NULL,NULL,0,NULL,NULL,2,'EUR',0.00009615,6710.71000000,1207.93000000,7918.64000000),(37,'FA1905-0016',1,NULL,NULL,NULL,0,NULL,26,'2019-05-06 15:13:52','2019-05-06',NULL,'2019-05-06','2019-05-06 16:43:58',0,0.00000000,NULL,NULL,0,NULL,NULL,6210522.00000000,0.00000000,0.00000000,0.00000000,34502900.00000000,40713422.00000000,1,2,NULL,2,NULL,NULL,10,3,NULL,1,2,'2019-05-07',NULL,NULL,'crabe','facture/FA1905-0016/FA1905-0016.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'EUR',0.00009615,3317.46000000,597.14000000,3914.60000000),(38,'FA1905-0017',1,NULL,NULL,NULL,0,NULL,40,'2019-05-10 16:23:33','2019-05-10',NULL,'2019-05-10','2019-05-10 16:26:52',0,0.00000000,NULL,NULL,0,NULL,NULL,1080000.00000000,0.00000000,0.00000000,0.00000000,6000000.00000000,7080000.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-05-11',NULL,NULL,'crabe','facture/FA1905-0017/FA1905-0017.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,6000000.00000000,1080000.00000000,7080000.00000000),(39,'FA1905-0018',1,NULL,NULL,NULL,0,NULL,29,'2019-05-13 14:25:11','2019-05-13',NULL,'2019-05-15','2019-05-15 18:17:27',0,0.00000000,NULL,NULL,0,'abandon','ERREUR DE SAISE',0.18000000,0.00000000,0.00000000,0.00000000,1.00000000,1.18000000,3,2,NULL,2,NULL,NULL,9,NULL,NULL,1,0,'2019-05-14',NULL,NULL,'crabe','facture/FA1905-0018/FA1905-0018.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,1.00000000,0.18000000,1.18000000),(41,'AC1905-0011',1,NULL,NULL,NULL,3,NULL,35,'2019-05-14 17:30:04','2019-05-14',NULL,'2019-05-14','2019-05-16 12:21:52',1,0.00000000,NULL,NULL,0,NULL,NULL,10711303.20000000,0.00000000,0.00000000,0.00000000,59507240.00000000,70218543.20000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-05-15',NULL,NULL,'crabe','facture/AC1905-0011/AC1905-0011.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,59507240.00000000,10711303.20000000,70218543.20000000),(42,'AC1905-0012',1,NULL,NULL,NULL,3,NULL,35,'2019-05-14 18:23:00','2019-05-14',NULL,'2019-05-14','2019-05-20 17:07:25',1,0.00000000,NULL,NULL,0,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,556739816.55000000,556739816.55000000,2,2,NULL,2,NULL,NULL,11,NULL,NULL,1,7,'2019-05-15',NULL,'MOBILIER DE BUREAU','crabe','facture/AC1905-0012/AC1905-0012.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,556739816.55000000,0.00000000,556739816.55000000),(43,'FA1904-0019',1,NULL,NULL,NULL,0,NULL,29,'2019-05-15 18:05:21','2019-04-15',NULL,'2019-05-15','2019-05-15 18:19:21',0,0.00000000,NULL,NULL,0,'discount_vat','FACTURE ARRONDIE',774000.74000000,0.00000000,0.00000000,0.00000000,4300004.10000000,5074004.84000000,2,2,NULL,2,NULL,NULL,9,1,NULL,1,7,'2019-04-16',NULL,NULL,'crabe','facture/FA1904-0019/FA1904-0019.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,4300004.10000000,774000.74000000,5074004.84000000),(45,'FA1911-0020',1,NULL,NULL,NULL,0,NULL,6,'2019-05-16 11:20:55','2019-11-01',NULL,'2019-05-16','2019-05-16 11:36:20',0,0.00000000,NULL,NULL,0,NULL,NULL,8642115.18000000,0.00000000,0.00000000,0.00000000,32007834.00000000,40649949.18000001,1,2,NULL,2,NULL,NULL,6,NULL,NULL,1,0,'2019-11-02',NULL,NULL,'crabe','facture/FA1911-0020/FA1911-0020.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,32007834.00000000,8642115.18000000,40649949.18000000),(46,'AC1905-0013',1,NULL,NULL,NULL,3,NULL,35,'2019-05-20 17:11:24','2019-05-20',NULL,'2019-05-20','2019-05-23 16:08:41',1,0.00000000,NULL,NULL,0,NULL,NULL,24391694.52000000,0.00000000,0.00000000,0.00000000,135509413.60000000,159901108.52000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-05-21',NULL,NULL,'crabe','facture/AC1905-0013/AC1905-0013.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,135509413.60000000,24391694.45000000,159901108.05000000),(48,'AC1905-0014',1,NULL,NULL,NULL,3,NULL,35,'2019-05-24 17:46:27','2019-05-24',NULL,'2019-05-24','2019-05-25 10:14:28',1,0.00000000,NULL,NULL,0,NULL,NULL,7508160.00000000,0.00000000,0.00000000,0.00000000,41712000.00000000,49220160.00000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-05-25',NULL,NULL,'crabe','facture/AC1905-0014/AC1905-0014.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,41712000.00000000,7508160.00000000,49220160.00000000),(49,'FA1905-0021',1,NULL,NULL,NULL,0,NULL,5,'2019-05-27 17:23:29','2019-05-27',NULL,'2019-05-27','2019-05-27 17:24:03',0,0.00000000,NULL,NULL,0,NULL,NULL,8702325.00000000,0.00000000,0.00000000,0.00000000,48346250.00000000,57048575.00000000,1,2,NULL,2,NULL,NULL,NULL,NULL,NULL,1,0,'2019-05-28',NULL,NULL,'crabe','facture/FA1905-0021/FA1905-0021.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,48346250.00000000,8702325.00000000,57048575.00000000),(50,'AC1905-0015',1,NULL,NULL,NULL,3,NULL,35,'2019-05-31 15:30:33','2019-05-31',NULL,'2019-05-31','2019-06-03 14:49:26',1,0.00000000,NULL,NULL,0,NULL,NULL,36587541.60000000,0.00000000,0.00000000,0.00000000,203264120.40000000,239851661.60000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-06-01',NULL,NULL,'crabe','facture/AC1905-0015/AC1905-0015.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,203264120.40000000,36587541.67000000,239851662.07000000),(51,'AC1905-0016',1,NULL,NULL,NULL,3,NULL,35,'2019-05-31 18:30:00','2019-05-31',NULL,'2019-05-31','2019-06-03 14:56:25',1,0.00000000,NULL,NULL,0,NULL,NULL,9402009.48000000,0.00000000,0.00000000,0.00000000,52233385.60000000,61635395.48000000,2,2,NULL,2,NULL,NULL,11,1,NULL,1,7,'2019-06-01',NULL,NULL,'crabe','facture/AC1905-0016/AC1905-0016.pdf',0,'',NULL,NULL,0,NULL,NULL,1,'GNF',1.00000000,52233385.60000000,9402009.41000000,61635395.01000000),(52,'FA1906-0022',1,NULL,NULL,NULL,0,NULL,26,'2019-06-05 15:41:26','2019-06-05',NULL,'2019-06-05','2019-06-06 09:56:50',0,0.00000000,NULL,NULL,0,NULL,NULL,12562533.68200001,0.00000000,0.00000000,0.00000000,69791853.96000000,82354387.44200005,1,2,NULL,NULL,NULL,NULL,10,3,NULL,1,2,'2019-06-06',NULL,NULL,'crabe','facture/FA1906-0022/FA1906-0022.pdf',0,'',NULL,NULL,0,NULL,NULL,2,'EUR',0.00009615,6711.53000000,1208.10000000,7919.63000000);

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

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

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


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

CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `ref_supplier` varchar(180) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `libelle` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise` double(24,8) DEFAULT '0.00000000',
  `close_code` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `close_note` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_facture_fourn_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fourn_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

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

--
-- 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,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT '0',
  `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',
  PRIMARY KEY (`rowid`),
  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 AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_det`
--

INSERT INTO `llx_facture_fourn_det` (`rowid`, `fk_facture_fourn`, `fk_parent_line`, `fk_product`, `ref`, `label`, `description`, `pu_ht`, `pu_ttc`, `qty`, `remise_percent`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `total_ht`, `tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `fk_code_ventilation`, `special_code`, `rang`, `import_key`, `fk_unit`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (1,2,NULL,NULL,'',NULL,'Recharge Wimax 30GO',355000.00000000,355000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',355000.00000000,0.00000000,0.00000000,0.00000000,355000.00000000,1,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',355000.00000000,355000.00000000,0.00000000,355000.00000000),(2,3,NULL,NULL,'',NULL,'Achat d&eacute;odorant pour les toilettes',20000.00000000,20000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',20000.00000000,0.00000000,0.00000000,0.00000000,20000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',20000.00000000,20000.00000000,0.00000000,20000.00000000),(3,4,NULL,NULL,'CA0105',NULL,'Achat d&#39;un paquet de sucre',15000.00000000,15000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',15000.00000000,0.00000000,0.00000000,0.00000000,15000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',15000.00000000,15000.00000000,0.00000000,15000.00000000),(4,5,NULL,NULL,'test3',NULL,'Recharge t&eacute;l&eacute;phone C&eacute;dric',100000.00000000,100000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',100000.00000000,0.00000000,0.00000000,0.00000000,100000.00000000,1,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',100000.00000000,100000.00000000,0.00000000,100000.00000000),(5,6,NULL,NULL,'',NULL,'M&eacute;nage des bureaux',25000.00000000,25000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',25000.00000000,0.00000000,0.00000000,0.00000000,25000.00000000,1,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',25000.00000000,25000.00000000,0.00000000,25000.00000000),(6,7,NULL,NULL,'',NULL,'Achat journaux',5000.00000000,5000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',5000.00000000,0.00000000,0.00000000,0.00000000,5000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',5000.00000000,5000.00000000,0.00000000,5000.00000000),(7,8,NULL,NULL,'',NULL,'Achat carrelage',1950000.00000000,1950000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',1950000.00000000,0.00000000,0.00000000,0.00000000,1950000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',1950000.00000000,1950000.00000000,0.00000000,1950000.00000000),(8,9,NULL,NULL,'',NULL,'Carburant Mamady',150000.00000000,150000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',150000.00000000,0.00000000,0.00000000,0.00000000,150000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',150000.00000000,150000.00000000,0.00000000,150000.00000000),(9,10,NULL,NULL,'',NULL,'Achat 2 sacs de ciment',200000.00000000,200000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',200000.00000000,0.00000000,0.00000000,0.00000000,200000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',200000.00000000,200000.00000000,0.00000000,200000.00000000),(10,11,NULL,NULL,'',NULL,'Frais de restauration C&eacute;dric',145000.00000000,145000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',145000.00000000,0.00000000,0.00000000,0.00000000,145000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',145000.00000000,145000.00000000,0.00000000,145000.00000000),(11,12,NULL,NULL,'',NULL,'Achat sac de ciment',300000.00000000,300000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',300000.00000000,0.00000000,0.00000000,0.00000000,300000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',300000.00000000,300000.00000000,0.00000000,300000.00000000),(12,13,NULL,NULL,'',NULL,'Verri&egrave;re + porte',1200000.00000000,1200000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',1200000.00000000,0.00000000,0.00000000,0.00000000,1200000.00000000,0,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',1200000.00000000,1200000.00000000,0.00000000,1200000.00000000),(13,14,NULL,NULL,'',NULL,'Recharge C&eacute;dric',100000.00000000,100000.00000000,1,0,'',0.000,0.000,'0',0.000,'0',100000.00000000,0.00000000,0.00000000,0.00000000,100000.00000000,1,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',100000.00000000,100000.00000000,0.00000000,100000.00000000),(14,15,NULL,NULL,'',NULL,'Loyer 01/01/19 au 31/03/2019 = 19.800.000<br />\r\nElectricit&eacute; 29/11/18 au 28/12/18 = 278.412<br />\r\nElectricit&eacute; 28/12/18 au 29/01/19 = 402.675<br />\r\nEau 01/01/19 au 31/03/19 = 360.000',17661945.76271000,20841096.00000000,1,0,'TVA',18.000,0.000,'1',0.000,'0',17661945.76000000,3179150.24000000,0.00000000,0.00000000,20841096.00000000,1,NULL,NULL,0,0,0,1,NULL,NULL,0,'GNF',17661945.76271000,17661945.76000000,3179150.24000000,20841096.00000000);

--
-- 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,
  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(100) 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 '',
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `revenuestamp` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT '0',
  `fk_mode_reglement` int(11) DEFAULT '0',
  `date_lim_reglement` date DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facture_rec`
--

INSERT INTO `llx_facture_rec` (`rowid`, `titre`, `entity`, `fk_soc`, `datec`, `tms`, `suspended`, `amount`, `remise`, `remise_percent`, `remise_absolue`, `vat_src_code`, `tva`, `localtax1`, `localtax2`, `revenuestamp`, `total`, `total_ttc`, `fk_user_author`, `fk_user_modif`, `fk_projet`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `fk_account`, `note_private`, `note_public`, `modelpdf`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`, `usenewprice`, `frequency`, `unit_frequency`, `date_when`, `date_last_gen`, `nb_gen_done`, `nb_gen_max`, `auto_validate`, `generate_pdf`) VALUES (1,'Facture de solde ARPT',1,4,'2019-01-16 17:32:53','2019-01-16 17:32:53',0,0.00000000,0,0,0,'',63000000.00000000,0.00000000,0.00000000,0.00000000,350000000.00000000,413000000.00000000,2,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,'crabe',0,'GNF',1.00000000,350000000.00000000,63000000.00000000,413000000.00000000,0,0,'m',NULL,NULL,0,0,0,1);

--
-- 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,
  `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 NULL,
  `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',
  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=128 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`) VALUES (2,2,NULL,NULL,NULL,'<strong>Contrat de surveillance, de pilotage des travaux et d&#39;audit s&eacute;curitaire de l&#39;immeuble du si&egrave;ge de l&#39;ARPT-KOLOMA<br />\r\nN&deg; ARPT/MTSOLUTIONS/2017</strong><br />\r\n<br />\r\nMontant total HT 500.000.000GNF.<br />\r\n<br />\r\n<u>Pr&eacute;c&eacute;dents paiements :</u><br />\r\nAcompte N&deg;1 du&nbsp;22/12/2017&nbsp;(&agrave; la signature du contract) = 75.000.000GNF.<br />\r\nAcompte N&deg;2 du 31/05/2018 = 75.000.000GNF.<br />\r\n<br />\r\n<u>Conformement aux modalit&eacute;s de paiement du contrat : </u><br />\r\nUn acompte &eacute;quivalent &agrave; 15% du montant total, sera transmis en fonction de l&#39;avanc&eacute;e du suivi des travaux.<br />\r\nLe solde restant correspondant &agrave; 10% du montant total, sera joint &agrave; la remise du rapport final sur l&#39;audit de contr&ocirc;le du pilotage des travaux.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,350000000.00000000,NULL,350000000.00000000,63000000.00000000,0.00000000,0.00000000,413000000.00000000,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',350000000.00000000,350000000.00000000,63000000.00000000,413000000.00000000),(3,3,NULL,NULL,NULL,'Facture de solde pour le cloisonnement des bureaux de l&#39;ARPT Koloma<br />\r\nAcompte N&deg;1 du 16/04/2018 = 100.000.000GNF<br />\r\nAcompte N&deg;2 du 10/05/2018 = 100.000.000GNF','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,389812524.00000000,NULL,389812524.00000000,70166254.32000000,0.00000000,0.00000000,459978778.32000000,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',389812524.00000000,389812524.00000000,70166254.32000000,459978778.32000000),(8,8,NULL,NULL,NULL,'Facture d&#39;acompte de 10% selon les modalit&eacute;s de paiement pr&eacute;vues au cahier des charges.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,32007834.00000000,NULL,32007834.00000000,5761410.12000000,0.00000000,0.00000000,37769244.12000000,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',32007834.00000000,32007834.00000000,5761410.12000000,37769244.12000000),(9,9,NULL,NULL,NULL,'Ma&ccedil;onnerie selon le Devis N&deg;D-181005-01','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,5140063.00000000,NULL,5140063.00000000,925211.34000000,0.00000000,0.00000000,6065274.34000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',5140063.00000000,5140063.00000000,925211.34000000,6065274.34000000),(10,9,NULL,NULL,NULL,'Peintures selon le Devis N&deg;D-181005-01','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,10369435.00000000,NULL,10369435.00000000,1866498.30000000,0.00000000,0.00000000,12235933.30000000,0,NULL,NULL,0,0.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',10369435.00000000,10369435.00000000,1866498.30000000,12235933.30000000),(11,9,NULL,NULL,NULL,'Travaux suppl&eacute;mentaires selon la facture N&deg;FA-181105-13','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,2700000.00000000,NULL,2700000.00000000,486000.00000000,0.00000000,0.00000000,3186000.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',2700000.00000000,2700000.00000000,486000.00000000,3186000.00000000),(12,9,NULL,NULL,NULL,'Electricit&eacute; selon la facture FA-181211-26','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,3983500.00000000,NULL,3983500.00000000,717030.00000000,0.00000000,0.00000000,4700530.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',3983500.00000000,3983500.00000000,717030.00000000,4700530.00000000),(13,9,NULL,NULL,NULL,'Ma&ccedil;onnerie ext&eacute;rieure selon la facture FA-181218-31','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,3501000.00000000,NULL,3501000.00000000,630180.00000000,0.00000000,0.00000000,4131180.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,5,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',3501000.00000000,3501000.00000000,630180.00000000,4131180.00000000),(14,9,NULL,NULL,NULL,'Ferronerie (Prote+verri&egrave;re) ainsi que 4 penderie m&eacute;tallique','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,16000000.00000000,NULL,16000000.00000000,2880000.00000000,0.00000000,0.00000000,18880000.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,6,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',16000000.00000000,16000000.00000000,2880000.00000000,18880000.00000000),(15,9,NULL,NULL,NULL,'Enduits et peintures de la fa&ccedil;ade (hors volet metallique)','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,3912000.00000000,NULL,3912000.00000000,704160.00000000,0.00000000,0.00000000,4616160.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,7,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',3912000.00000000,3912000.00000000,704160.00000000,4616160.00000000),(17,10,NULL,NULL,NULL,'Facture d&#39;acompte N&deg;1 &agrave; la signature du contrat (30%)','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,96023502.00000000,NULL,96023502.00000000,17284230.36000000,0.00000000,0.00000000,113307732.36000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',96023502.00000000,96023502.00000000,17284230.36000000,113307732.36000000),(19,11,NULL,NULL,NULL,'Facture d&#39;acompte selon les modalit&eacute;s de paiement du cahier des charges :<br />\r\nA 60% de r&eacute;alisation des travaux : 20%','TVA',18.000,0.000,'1',0.000,'0',0.2,0,0,NULL,320078340.00000000,NULL,64015668.00000000,11522820.24000000,0.00000000,0.00000000,75538488.24000000,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',320078340.00000000,64015668.00000000,11522820.24000000,75538488.24000000),(20,12,NULL,NULL,NULL,'Achat de 40 litres de primaire d&#39;accrochage pour pose carrelage sur carrelage existant (livraison Conakry fournis).','TVA',18.000,0.000,'1',0.000,'0',40,0,0,NULL,126000.00000000,NULL,5040000.00000000,907200.00000000,0.00000000,0.00000000,5947200.00000000,0,NULL,NULL,0,103425.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',126000.00000000,5040000.00000000,907200.00000000,5947200.00000000),(21,13,NULL,NULL,NULL,'Facture d&#39;acompte selon les modalit&eacute;s de paiement du cahier des charges :<br />\r\nApr&egrave;s la remise provisoire : 25%','TVA',18.000,0.000,'1',0.000,'0',0.25,0,0,NULL,320078340.00000000,NULL,80019585.00000000,14403525.30000000,0.00000000,0.00000000,94423110.30000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',320078340.00000000,80019585.00000000,14403525.30000000,94423110.30000000),(22,14,NULL,NULL,NULL,'Fourniture et r&eacute;alisation d&#39;un enduit de finition puis pon&ccedil;age sur la totalit&eacute; du mur impact&eacute; par l&#39;humidit&eacute; dans le salon&nbsp; (m2)','TVA',18.000,0.000,'1',0.000,'0',10,0,0,NULL,50000.00000000,NULL,500000.00000000,90000.00000000,0.00000000,0.00000000,590000.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',50000.00000000,500000.00000000,90000.00000000,590000.00000000),(23,14,NULL,NULL,NULL,'Fourniture et application d&#39;une peinture de plafond dans la chambre (m2)','TVA',18.000,0.000,'1',0.000,'0',16,0,0,NULL,17000.00000000,NULL,272000.00000000,48960.00000000,0.00000000,0.00000000,320960.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',17000.00000000,272000.00000000,48960.00000000,320960.00000000),(24,14,NULL,NULL,NULL,'Founiture et application d&#39;une peinture de finition E5-58 sur les murs marrons de la chambre (m2)','TVA',18.000,0.000,'1',0.000,'0',17,0,0,NULL,27000.00000000,NULL,459000.00000000,82620.00000000,0.00000000,0.00000000,541620.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',27000.00000000,459000.00000000,82620.00000000,541620.00000000),(25,14,NULL,NULL,NULL,'Fourniture et application d&#39;une peinture de finition E8-16 sur le mur placo du salon + de chaque c&ocirc;t&eacute; de la porte d&#39;entr&eacute;e (m2)','TVA',18.000,0.000,'1',0.000,'0',15,0,0,NULL,25000.00000000,NULL,375000.00000000,67500.00000000,0.00000000,0.00000000,442500.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',25000.00000000,375000.00000000,67500.00000000,442500.00000000),(26,15,NULL,NULL,NULL,'Pilotage et contr&ocirc;le de la r&eacute;alisation des finitions de cadre de fen&ecirc;tre (unit&eacute;) :<br />\r\n* Tra&ccedil;age des cadres &agrave; l&#39;aide d&#39;un appareil lazer.<br />\r\n* V&eacute;rification de la plan&eacute;it&eacute; du travail de ma&ccedil;onnerie.<br />\r\n* Relev&eacute; des c&ocirc;tes pour mise &agrave; jour des plans.','TVA',18.000,0.000,'1',0.000,'0',72,0,0,NULL,150000.00000000,NULL,10800000.00000000,1944000.00000000,0.00000000,0.00000000,12744000.00000000,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',150000.00000000,10800000.00000000,1944000.00000000,12744000.00000000),(27,15,NULL,NULL,NULL,'R&eacute;alisation des ma&ccedil;onneries de finition des cadres de fen&ecirc;tres (unit&eacute;) :<br />\r\n* Mise &agrave; disposition d&#39;une &eacute;quipe de ma&ccedil;ons et des accessoires n&eacute;cessaire &agrave; la r&eacute;alisation de bonnes finitions.','TVA',18.000,0.000,'1',0.000,'0',53,0,0,NULL,280000.00000000,NULL,14840000.00000000,2671200.00000000,0.00000000,0.00000000,17511200.00000000,1,NULL,NULL,0,200000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',280000.00000000,14840000.00000000,2671200.00000000,17511200.00000000),(28,16,NULL,NULL,NULL,'<u><strong>CLIMATISATION (unit&eacute;) :</strong></u><br />\r\n* Nettoyage et entretien des climatiseurs + compl&eacute;ment de gaz.<br />\r\n* Remplacement d&#39;un dysmatic offert.','TVA',18.000,0.000,'1',0.000,'0',5,10,0,NULL,110000.00000000,NULL,495000.00000000,89100.00000000,0.00000000,0.00000000,584100.00000000,1,NULL,NULL,0,70000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',110000.00000000,495000.00000000,89100.00000000,584100.00000000),(29,16,NULL,NULL,NULL,'<u><strong>PLOMBERIE (Forfait) :</strong></u><br />\r\n* Intervention sur la plomberie, remplacement de deux flexible + m&eacute;canisme de chasse d&#39;eau.<br />\r\n* Intervention pour&nbsp;d&eacute;bouchage de la douche.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,500000.00000000,NULL,500000.00000000,90000.00000000,0.00000000,0.00000000,590000.00000000,1,NULL,NULL,0,390000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',500000.00000000,500000.00000000,90000.00000000,590000.00000000),(30,18,NULL,NULL,NULL,'FERRONERIE (forfait) :<br />\r\nFourniture et installation d&#39;une nouvelle porte m&eacute;tallique donnant acc&egrave;s &agrave; la piscine + garde de corps &agrave; c&ocirc;t&eacute;.<br />\r\nFourniture et installation de deux grilles de protection (deux fen&ecirc;tres de la chambre principale).<br />\r\nFourniture et installation de nouvelle grille de protection pour la porte d&#39;entr&eacute;e, la porte d&#39;acc&egrave;s &agrave; la piscine et la porte d&#39;acc&egrave;s au balcon de l&#39;&eacute;tage.','TVA',18.000,0.000,'1',0.000,'0',1,10,0,NULL,25350000.00000000,NULL,22815000.00000000,4106700.00000000,0.00000000,0.00000000,26921700.00000000,0,NULL,NULL,0,18058000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',25350000.00000000,22815000.00000000,4106700.00000000,26921700.00000000),(31,18,NULL,NULL,NULL,'FERRONERIE (unit&eacute;) :<br />\r\nR&eacute;alisation et installation de garde corps le long des escaliers de l&#39;entr&eacute;e (unit&eacute;)<br />\r\nTubes rectangulaire galvanis&eacute;e 60*40 et 40*40 + protection antirouille.','TVA',18.000,0.000,'1',0.000,'0',2,10,0,NULL,4875000.00000000,NULL,8775000.00000000,1579500.00000000,0.00000000,0.00000000,10354500.00000000,0,NULL,NULL,0,3750000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',4875000.00000000,8775000.00000000,1579500.00000000,10354500.00000000),(32,18,NULL,NULL,NULL,'CUISINE (forfait) :<br />\r\nFourniture et installation des meubles en aluminium selon le plan actuel (prix pouvant vari&eacute; en fonction du choix)','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,6900000.00000000,NULL,6900000.00000000,1242000.00000000,0.00000000,0.00000000,8142000.00000000,0,NULL,NULL,0,5199000.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',6900000.00000000,6900000.00000000,1242000.00000000,8142000.00000000),(33,18,NULL,NULL,NULL,'CUISINE (m2)<br />\r\nD&eacute;molition de la faience murale la cuisine puis reprise d&#39;enduit et de peinture.','TVA',18.000,0.000,'1',0.000,'0',37,0,0,NULL,75000.00000000,NULL,2775000.00000000,499500.00000000,0.00000000,0.00000000,3274500.00000000,0,NULL,NULL,0,45946.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',75000.00000000,2775000.00000000,499500.00000000,3274500.00000000),(34,18,NULL,NULL,NULL,'CUISINE (m2)<br />\r\nR&eacute;novation du plan de travail de la cuisine. D&eacute;pose de la faience existante par repose d&#39;une faience neuve.','TVA',18.000,0.000,'1',0.000,'0',16,0,0,NULL,203125.00000000,NULL,3250000.00000000,585000.00000000,0.00000000,0.00000000,3835000.00000000,0,NULL,NULL,0,156250.00000000,NULL,0,0,5,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',203125.00000000,3250000.00000000,585000.00000000,3835000.00000000),(35,18,NULL,NULL,NULL,'FENETRES (forfait) :<br />\r\nFourniture et installation de moustiquaires par l&#39;ext&eacute;rieur sur toutes les fen&ecirc;tes, sauf facade c&ocirc;t&eacute;e mer.<br />\r\nNettoyage et graissage des fen&ecirc;tres existantes.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,9500000.00000000,NULL,9500000.00000000,1710000.00000000,0.00000000,0.00000000,11210000.00000000,0,NULL,NULL,0,7500000.00000000,NULL,0,0,6,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',9500000.00000000,9500000.00000000,1710000.00000000,11210000.00000000),(36,18,NULL,NULL,NULL,'FENETRES (forfait)<br />\r\nRemplacement du cadre de la porte d&#39;entr&eacute;e par un cadre trois rails avec moustiquaire.<br />\r\nRemplacement complet de l&#39;impost &agrave; droite de la porte d&#39;entr&eacute;e par une baie coulissante &eacute;quip&eacute; de sa moustiquaire.<br />\r\nInstallation d&#39;une moustiquaire sur rail pour la fen&ecirc;tre et porte fen&ecirc;tre de la chambre donnant acc&egrave;s &agrave; la piscine.<br />\r\nInstallation d&#39;une moustiquaire sur rail pour la baie donnant acc&egrave;s &agrave; balcon ainsi que la fen&ecirc;tre de la chambre principale.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,10000000.00000000,NULL,10000000.00000000,1800000.00000000,0.00000000,0.00000000,11800000.00000000,0,NULL,NULL,0,8000000.00000000,NULL,0,0,7,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',10000000.00000000,10000000.00000000,1800000.00000000,11800000.00000000),(37,18,NULL,NULL,NULL,'PLOMBERIE (forfait) :<br />\r\nRemise en &eacute;tat de toute l&#39;installation de la maison, ainsi que les accessoires (abattants toilette, chasse d&#39;eau, etc).<br />\r\nNettoyage des cuves de reserve d&#39;eau.','TVA',18.000,0.000,'1',0.000,'0',1,5,0,NULL,4860000.00000000,NULL,4617000.00000000,831060.00000000,0.00000000,0.00000000,5448060.00000000,0,NULL,NULL,0,3735000.00000000,NULL,0,0,8,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',4860000.00000000,4617000.00000000,831060.00000000,5448060.00000000),(38,18,NULL,NULL,NULL,'ELECTRICITE (forfait) :<br />\r\nFourniture et installation de 7 lampes projecteurs LED 100W<br />\r\nAchat de c&acirc;ble 3x2,5mm2 pour installation.<br />\r\nFourniture et installation de deux disjoncteurs diff&eacute;rentiels 30mA.<br />\r\nReprise de la mise &agrave; la terre.','TVA',18.000,0.000,'1',0.000,'0',1,10,0,NULL,12760000.00000000,NULL,11484000.00000000,2067120.00000000,0.00000000,0.00000000,13551120.00000000,0,NULL,NULL,0,7240000.00000000,NULL,0,0,9,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',12760000.00000000,11484000.00000000,2067120.00000000,13551120.00000000),(39,18,NULL,NULL,NULL,'MENUISERIE (forfait) :<br />\r\nRemise en &eacute;tat des trois portes d&eacute;grad&eacute;es + masticage et peinture.<br />\r\nRemplacement des 17 serrures d&eacute;grad&eacute;es par des serrures neuves (bonne qualit&eacute;).','TVA',18.000,0.000,'1',0.000,'0',1,10,0,NULL,8250000.00000000,NULL,7425000.00000000,1336500.00000000,0.00000000,0.00000000,8761500.00000000,0,NULL,NULL,0,6400000.00000000,NULL,0,0,10,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',8250000.00000000,7425000.00000000,1336500.00000000,8761500.00000000),(40,18,NULL,NULL,NULL,'OFFERT :<br />\r\nRemise en place de la grille du local groupe.<br />\r\nD&eacute;pose de la faience et r&eacute;novation du mur dans la salle de bain parentale.<br />\r\nD&eacute;pose des accessoires inutiles et emcombrants sur les facades.','TVA',18.000,0.000,'1',0.000,'0',1,100,0,NULL,1.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,NULL,NULL,0,1.00000000,NULL,0,0,11,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',1.00000000,0.00000000,0.00000000,0.00000000),(41,15,NULL,NULL,NULL,'R&eacute;alisation des ma&ccedil;onneries de finition des cadres de portes int&eacute;rieur (unit&eacute;) :<br />\r\n* Mise &agrave; disposition d&#39;une &eacute;quipe de ma&ccedil;ons et des accessoires n&eacute;cessaire &agrave; la r&eacute;alisation de bonnes finitions.','TVA',18.000,0.000,'1',0.000,'0',4,0,0,NULL,140000.00000000,NULL,560000.00000000,100800.00000000,0.00000000,0.00000000,660800.00000000,1,NULL,NULL,0,100000.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',140000.00000000,560000.00000000,100800.00000000,660800.00000000),(42,15,NULL,NULL,NULL,'&nbsp;D&eacute;molition des coffrages de descentes d&#39;eau pluiviales (unit&eacute;).','TVA',18.000,0.000,'1',0.000,'0',11,0,0,NULL,200000.00000000,NULL,2200000.00000000,396000.00000000,0.00000000,0.00000000,2596000.00000000,1,NULL,NULL,0,119000.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',200000.00000000,2200000.00000000,396000.00000000,2596000.00000000),(43,19,NULL,NULL,NULL,'Facture d&#39;acompte de la proposition commerciale &quot;PR1902-0004&quot;, selon les modalit&eacute;s de paiement sign&eacute;es.','TVA',18.000,0.000,'1',0.000,'0',0.4,0,0,NULL,348957014.00000000,NULL,139582805.60000000,25124905.00799999,0.00000000,0.00000000,164707710.60799995,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',33552.00000000,13420.88675844,2415.75961652,15836.64637496),(45,21,NULL,1,NULL,'Ensemble pour r&eacute;aliser une contre-cloison simple parement en BA13 Standart.<br />\r\nL&#39;unit&eacute; de tarification est le m2.','HT',0.000,0.000,'0',0.000,'0',33,24,0,NULL,250000.00000000,NULL,6270000.00000000,0.00000000,0.00000000,0.00000000,6270000.00000000,0,NULL,NULL,0,142171.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',250000.00000000,6270000.00000000,0.00000000,6270000.00000000),(46,21,NULL,NULL,NULL,'Solde et cl&ocirc;ture de la pr&eacute;c&eacute;dante facture.','HT',0.000,0.000,'0',0.000,'0',1,0,0,NULL,13432415.00000000,NULL,13432415.00000000,0.00000000,0.00000000,0.00000000,13432415.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',13432415.00000000,13432415.00000000,0.00000000,13432415.00000000),(47,22,NULL,NULL,NULL,'<u><strong>FORFAIT RENOVATION PEINTURE PAR CHAMBRE POUR MLYS1 :</strong></u><br />\r\n* Protection du mobilier.<br />\r\n* Reprise des enduits si n&eacute;cessaire (impacts, humidit&eacute;, etc).<br />\r\n* Fourniture et application de deux couches de peinture murale (couleurs identiques).<br />\r\n* Fourniture et application de deux couches de peinture blanche plafond.<br />\r\n<u>D&eacute;lai pr&eacute;vu par chambre : 3 jours.</u>','TVA',18.000,0.000,'1',0.000,'0',10,0,0,NULL,1016950.00000000,NULL,10169500.00000000,1830510.00000000,0.00000000,0.00000000,12000010.00000000,0,NULL,NULL,0,900000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',1016950.00000000,10169500.00000000,1830510.00000000,12000010.00000000),(48,23,NULL,NULL,NULL,'Facture d&#39;acompte de la proposition commerciale &quot;PR1902-0004&quot;, selon les modalit&eacute;s de paiement sign&eacute;es.','TVA',18.000,0.000,'1',0.000,'0',0.2,0,0,NULL,348954758.00000000,NULL,69790951.64000000,12562371.29000000,0.00000000,0.00000000,82353322.92999999,1,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',33552.00000000,6710.40000000,1207.87000000,7918.27000000),(49,24,NULL,NULL,NULL,'<u><strong>FORFAIT RENOVATION PEINTURE PAR CHAMBRE POUR MLYS1 :</strong></u><br />\r\n* Protection du mobilier.<br />\r\n* Reprise des enduits si n&eacute;cessaire (impacts, humidit&eacute;, etc).<br />\r\n* Fourniture et application de deux couches de peinture murale (couleurs identiques).<br />\r\n* Fourniture et application de deux couches de peinture blanche plafond.<br />\r\n<u>D&eacute;lai pr&eacute;vu par chambre : 3 jours.</u>','TVA',18.000,0.000,'1',0.000,'0',9,0,0,NULL,1016950.00000000,NULL,9152550.00000000,1647459.00000000,0.00000000,0.00000000,10800009.00000000,0,NULL,NULL,0,900000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',1016950.00000000,9152550.00000000,1647459.00000000,10800009.00000000),(50,25,NULL,NULL,NULL,'<u><strong>PLOMBERIE :</strong></u><br />\r\nIntervention pour la r&eacute;paration du r&eacute;seau d&#39;eau de la cuisine, divers fuites et petits mat&eacute;riels remplac&eacute;s.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,900000.00000000,NULL,900000.00000000,162000.00000000,0.00000000,0.00000000,1062000.00000000,0,NULL,NULL,0,800000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',900000.00000000,900000.00000000,162000.00000000,1062000.00000000),(51,26,NULL,NULL,NULL,'<u><strong>PEINTURE (Couloirs, Escaliers, Restaurant, Caf&eacute;) :</strong></u><br />\r\n* R&eacute;novation des cloisons d&eacute;t&eacute;rior&eacute;es (enduit + pon&ccedil;age).<br />\r\n* Fourniture et application de deux couches de peinture selon la teinte existante.','TVA',18.000,0.000,'1',0.000,'0',500,0,0,NULL,15000.00000000,NULL,7500000.00000000,1350000.00000000,0.00000000,0.00000000,8850000.00000000,0,NULL,NULL,0,10000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',15000.00000000,7500000.00000000,1350000.00000000,8850000.00000000),(52,26,NULL,NULL,NULL,'<strong><u>PEINTURE EXTERIEURE (fa&ccedil;ade) (forfait) :</u></strong><br />\r\n* Nettoyage compl&egrave;te de la fa&ccedil;ade.<br />\r\n* Fourniture et application de deux couches de peinture sur les parties blanches, les rampes de balcons et le local groupe.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,2500000.00000000,NULL,2500000.00000000,450000.00000000,0.00000000,0.00000000,2950000.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',2500000.00000000,2500000.00000000,450000.00000000,2950000.00000000),(53,26,NULL,NULL,NULL,'<u><strong>POSE PLAFOND CUISINE (forfait) :</strong></u>','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,700000.00000000,NULL,700000.00000000,126000.00000000,0.00000000,0.00000000,826000.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',700000.00000000,700000.00000000,126000.00000000,826000.00000000),(54,27,NULL,NULL,NULL,'<u><strong>Location de tables de travail pliantes sur roulettes.</strong></u><br />\r\nLivraison et retrait du mat&eacute;riel inclus.<br />\r\nDur&eacute;e de la location 2mois : Du 1 Avril au 1Juin 2019.','TVA',18.000,0.000,'1',0.000,'0',11,0,0,NULL,700000.00000000,NULL,7700000.00000000,1386000.00000000,0.00000000,0.00000000,9086000.00000000,0,NULL,NULL,0,1.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',700000.00000000,7700000.00000000,1386000.00000000,9086000.00000000),(55,27,NULL,NULL,NULL,'<u><strong>Location de chaises pliantes sur roulettes :</strong></u><br />\r\nLivraison et retrait du mat&eacute;riel inclus.<br />\r\nDur&eacute;e de la location 2mois : Du 1 Avril au 1Juin 2019.','TVA',18.000,0.000,'1',0.000,'0',16,0,0,NULL,100000.00000000,NULL,1600000.00000000,288000.00000000,0.00000000,0.00000000,1888000.00000000,0,NULL,NULL,0,1.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',100000.00000000,1600000.00000000,288000.00000000,1888000.00000000),(57,29,NULL,NULL,NULL,'Acompte (30%) - PR1903-0012','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,203264120.00000000,NULL,203264120.40000000,36587541.60000000,0.00000000,0.00000000,239851661.60000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',203264120.00000000,203264120.40000000,36587541.67000000,239851662.07000000),(58,30,NULL,NULL,NULL,'Acompte (40%) - PR1903-0013','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,304530044.00000000,NULL,304530044.00000000,54815407.91999999,0.00000000,0.00000000,359345451.91999996,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',304530044.00000000,304530044.00000000,54815407.91999999,359345451.91999996),(63,35,NULL,NULL,NULL,'Acompte (40%) - PR1904-0019','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,42343664.00000000,NULL,42343663.60000000,7621859.52000000,0.00000000,0.00000000,49965523.52000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',42343664.00000000,42343663.60000000,7621859.45000000,49965523.05000000),(64,36,NULL,NULL,NULL,'Acompte (20%) - PR1902-0004','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,69791403.00000000,NULL,69791402.80000000,12562452.54000000,0.00000000,0.00000000,82353855.54000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',6711.00000000,6710.71000000,1207.93000000,7918.64000000),(65,37,NULL,NULL,NULL,'Vente plaques de placopl&acirc;tre BA13 120*280 Hydrofug&eacute;.','TVA',18.000,0.000,'1',0.000,'0',15,0,0,NULL,233100.00000000,NULL,3496500.00000000,629370.00000000,0.00000000,0.00000000,4125870.00000000,0,NULL,NULL,0,79969.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',22.00000000,336.19000000,60.51000000,396.70000000),(66,37,NULL,NULL,NULL,'Vente de rail sol 48 (3ml).','TVA',18.000,0.000,'1',0.000,'0',35,0,0,NULL,90000.00000000,NULL,3150000.00000000,567000.00000000,0.00000000,0.00000000,3717000.00000000,0,NULL,NULL,0,38556.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',9.00000000,302.87000000,54.52000000,357.39000000),(67,37,NULL,NULL,NULL,'Vente de montant M48 pour placo (3ml).','TVA',18.000,0.000,'1',0.000,'0',100,0,0,NULL,78000.00000000,NULL,7800000.00000000,1404000.00000000,0.00000000,0.00000000,9204000.00000000,0,NULL,NULL,0,45518.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',7.00000000,749.97000000,134.99000000,884.96000000),(68,37,NULL,NULL,NULL,'Vente vis &agrave; placo 25mm bo&icirc;te de 1000 pi&egrave;ces','TVA',18.000,0.000,'1',0.000,'0',12,0,0,NULL,119000.00000000,NULL,1428000.00000000,257040.00000000,0.00000000,0.00000000,1685040.00000000,0,NULL,NULL,0,85680.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',11.00000000,137.30000000,24.72000000,162.02000000),(69,37,NULL,NULL,NULL,'Vente de vis a frapper 6mm, bo&icirc;te de 100 pi&egrave;ces.','TVA',18.000,0.000,'1',0.000,'0',7,0,0,NULL,149000.00000000,NULL,1043000.00000000,187740.00000000,0.00000000,0.00000000,1230740.00000000,0,NULL,NULL,0,113347.00000000,NULL,0,0,5,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',14.00000000,100.28000000,18.06000000,118.34000000),(70,37,NULL,NULL,NULL,'Vente de bande arm&eacute;e pour placo, rouleaux de 30ml','TVA',18.000,0.000,'1',0.000,'0',5,0,0,NULL,220000.00000000,NULL,1100000.00000000,198000.00000000,0.00000000,0.00000000,1298000.00000000,0,NULL,NULL,0,177608.00000000,NULL,0,0,6,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',21.00000000,105.77000000,19.03000000,124.80000000),(71,37,NULL,NULL,NULL,'Pose de faience murale dans les toilettes + fourniture des colles (m2).','TVA',18.000,0.000,'1',0.000,'0',26,0,0,NULL,35000.00000000,NULL,910000.00000000,163800.00000000,0.00000000,0.00000000,1073800.00000000,1,NULL,NULL,0,15000.00000000,NULL,0,0,7,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',3.00000000,87.50000000,15.75000000,103.25000000),(72,37,NULL,NULL,NULL,'Vente de cartouche de silicone (Unit&eacute;).','TVA',18.000,0.000,'1',0.000,'0',20,0,0,NULL,25000.00000000,NULL,500000.00000000,90000.00000000,0.00000000,0.00000000,590000.00000000,0,NULL,NULL,0,20000.00000000,NULL,0,0,8,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',2.00000000,48.08000000,8.65000000,56.73000000),(73,37,NULL,NULL,NULL,'Vente Parafoudre T1+T2 12,5KA 3P+N LEGRAND','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,2925000.00000000,NULL,2925000.00000000,526500.00000000,0.00000000,0.00000000,3451500.00000000,0,NULL,NULL,0,2340000.00000000,NULL,0,0,9,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',281.00000000,281.24000000,50.62000000,331.86000000),(74,37,NULL,NULL,NULL,'Vente Parafoudre T1+T2 12?5KA 1P+N LEGRAND','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,1535000.00000000,NULL,1535000.00000000,276300.00000000,0.00000000,0.00000000,1811300.00000000,0,NULL,NULL,0,1228000.00000000,NULL,0,0,10,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',148.00000000,147.59000000,26.57000000,174.16000000),(75,37,NULL,NULL,NULL,'Vente d&#39;un coffret Apparent 3x12+3Modules au lieu d&#39;un simple pour pose de parafoudre.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,287400.00000000,NULL,287400.00000000,51732.00000000,0.00000000,0.00000000,339132.00000000,0,NULL,NULL,0,182400.00000000,NULL,0,0,11,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',28.00000000,27.63000000,4.98000000,32.61000000),(76,37,NULL,NULL,NULL,'Vente Disjoncteur 2P - 32A - C - 6ka LEGRAND pour onduleur.','TVA',18.000,0.000,'1',0.000,'0',2,0,0,NULL,145000.00000000,NULL,290000.00000000,52200.00000000,0.00000000,0.00000000,342200.00000000,0,NULL,NULL,0,116000.00000000,NULL,0,0,12,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',14.00000000,27.88000000,5.02000000,32.90000000),(77,37,NULL,NULL,NULL,'Vente de Disjoncteur diff&eacute;rentiel au lieu des interrupteurs diff&eacute;rentiel pr&eacute;vu au sch&eacute;ma mais non conforme pour l&#39;installation (diff&egrave;rence de tarification) :<br />\r\nDD 4P 25A 300mA LEGRAND = 1 pi&egrave;ce<br />\r\nDD 4P 40A 300mA LEGRAND = 2 pi&egrave;ces<br />\r\nDD TGA 4P 63 A 30mA LEGRAND = 1pi&egrave;ces','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,5016000.00000000,NULL,5016000.00000000,902880.00000000,0.00000000,0.00000000,5918880.00000000,0,NULL,NULL,0,3576000.00000000,NULL,0,0,13,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',482.00000000,482.29000000,86.81000000,569.10000000),(78,37,NULL,NULL,NULL,'Vente de disjoncteur diff&eacute;rentiel DPN 16A 30mA LEGRAND pour tableau info (plan non conforme).','TVA',18.000,0.000,'1',0.000,'0',9,0,0,NULL,558000.00000000,NULL,5022000.00000000,903960.00000000,0.00000000,0.00000000,5925960.00000000,0,NULL,NULL,0,428000.00000000,NULL,0,0,14,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',54.00000000,482.87000000,86.91000000,569.78000000),(79,38,NULL,NULL,NULL,'* Manutention de colis du rez-de-chauss&eacute;e au plateau du 6&egrave;me &eacute;tage (Mardi 7 Mai 2019).','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,3000000.00000000,NULL,3000000.00000000,540000.00000000,0.00000000,0.00000000,3540000.00000000,1,NULL,NULL,0,1500000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',3000000.00000000,3000000.00000000,540000.00000000,3540000.00000000),(80,38,NULL,NULL,NULL,'* D&eacute;chargement d&#39;un container et manutention des colis jusqu&#39;au 6&egrave;me &eacute;tage (Jeudi 9 Mai 2019).','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,3000000.00000000,NULL,3000000.00000000,540000.00000000,0.00000000,0.00000000,3540000.00000000,1,NULL,NULL,0,1500000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',3000000.00000000,3000000.00000000,540000.00000000,3540000.00000000),(84,41,NULL,NULL,NULL,'Acompte (40%) - PR1904-0017','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,59507240.00000000,NULL,59507240.00000000,10711303.20000000,0.00000000,0.00000000,70218543.20000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',59507240.00000000,59507240.00000000,10711303.20000000,70218543.20000000),(85,42,NULL,NULL,NULL,'Acompte (80%) - PR1905-0028','HT',0.000,0.000,'0',0.000,'0',1,0,0,NULL,556739817.00000000,NULL,556739816.55000000,0.00000000,0.00000000,0.00000000,556739816.55000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',556739817.00000000,556739816.55000000,0.00000000,556739816.55000000),(86,43,NULL,NULL,NULL,'<u><strong>PEINTURE (m2) :</strong></u><br />\r\n* Fourniture et application de deux couches de peinture couleur MF087 sur les deux fa&ccedil;ades c&ocirc;t&eacute;s MER et PISCINE.','TVA',18.000,0.000,'1',0.000,'0',350,64.3892,0,NULL,34500.00000000,NULL,4300004.10000000,774000.74000000,0.00000000,0.00000000,5074004.84000000,0,NULL,NULL,0,19188.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',34500.00000000,4300004.10000000,774000.74000000,5074004.84000000),(87,43,NULL,NULL,NULL,'<u><strong>ECHAFFAUDAGE (forfait) :</strong></u><br />\r\n* Mise &agrave; disposition et d&eacute;placement de l&#39;&eacute;chaffaudage au cours de l&#39;&eacute;volution du chantier.','TVA',18.000,0.000,'1',0.000,'0',1,100,0,NULL,1000000.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,NULL,NULL,0,1.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',1000000.00000000,0.00000000,0.00000000,0.00000000),(88,39,NULL,NULL,NULL,'ERREUR','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,1.00000000,NULL,1.00000000,0.18000000,0.00000000,0.00000000,1.18000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',1.00000000,1.00000000,0.18000000,1.18000000),(89,5,NULL,NULL,NULL,'erreur','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,1.00000000,NULL,1.00000000,0.18000000,0.00000000,0.00000000,1.18000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,0,'GNF',1.00000000,1.00000000,0.18000000,1.18000000),(95,45,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,1,-32007834.00000000,NULL,-32007834.00000000,-5761410.12000000,0.00000000,0.00000000,-37769244.12000000,0,NULL,NULL,2,0.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,0,'',-32007834.00000000,-32007834.00000000,-5761410.12000000,-37769244.12000000),(96,45,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,2,-96023502.00000000,NULL,-96023502.00000000,-17284230.36000000,0.00000000,0.00000000,-113307732.36000000,0,NULL,NULL,2,0.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,0,'',-96023502.00000000,-96023502.00000000,-17284230.36000000,-113307732.36000000),(97,45,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,5,-80019585.00000000,NULL,-80019585.00000000,-14403525.30000000,0.00000000,0.00000000,-94423110.30000000,0,NULL,NULL,2,0.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,0,'',-80019585.00000000,-80019585.00000000,-14403525.30000000,-94423110.30000000),(98,45,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,6,-64015668.00000000,NULL,-64015668.00000000,-11522820.24000000,0.00000000,0.00000000,-75538488.24000000,0,NULL,NULL,2,0.00000000,NULL,0,0,5,NULL,NULL,100,NULL,NULL,2,2,0,'',-64015668.00000000,-64015668.00000000,-11522820.24000000,-75538488.24000000),(99,45,NULL,NULL,NULL,'Facture selon le devis valid&eacute; pour le confinnement de la salle Meet Me Room avec l&#39;option N&deg;2.&nbsp;','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,320078340.00000000,NULL,320078340.00000000,57614101.20000000,0.00000000,0.00000000,377692441.20000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',320078340.00000000,320078340.00000000,57614101.20000000,377692441.20000000),(101,45,NULL,NULL,NULL,'Retenue sur TVA','',0.000,0.000,'0',0.000,'0',1,0,0,8,-16003917.00000000,NULL,-16003917.00000000,0.00000000,0.00000000,0.00000000,-16003917.00000000,0,NULL,NULL,2,0.00000000,NULL,0,0,6,NULL,NULL,100,NULL,NULL,2,2,0,'',-16003917.00000000,-16003917.00000000,0.00000000,-16003917.00000000),(102,46,NULL,NULL,NULL,'Acompte (20%) - PR1903-0012','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,135509414.00000000,NULL,135509413.60000000,24391694.52000000,0.00000000,0.00000000,159901108.52000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',135509414.00000000,135509413.60000000,24391694.45000000,159901108.05000000),(104,48,NULL,NULL,NULL,'Acompte (80%) - PR1905-0032','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,41712000.00000000,NULL,41712000.00000000,7508160.00000000,0.00000000,0.00000000,49220160.00000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',41712000.00000000,41712000.00000000,7508160.00000000,49220160.00000000),(105,49,NULL,NULL,NULL,'<u><strong>CLOISOINNEMENT DES BUREAUX DE L&#39;ARPT (m2) :</strong></u><br />\r\n* Fourniture et pose de cloison en plaque de pl&acirc;tre BA13 + r&eacute;alisation des enduits/bandes.<br />\r\n* Division du bureau de 12&egrave;me &eacute;tage en 4 bureaux distincts.<br />\r\n* Division des salles techniques du 12&egrave;me &eacute;tage en 2 bureaux distincts + r&eacute;hausse de deux cloisons actuelles.','TVA',18.000,0.000,'1',0.000,'0',145,15,0,NULL,365000.00000000,NULL,44986250.00000000,8097525.00000000,0.00000000,0.00000000,53083775.00000000,0,NULL,NULL,0,257120.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',365000.00000000,44986250.00000000,8097525.00000000,53083775.00000000),(106,49,NULL,NULL,NULL,'<u><strong>FINITION (ml) :</strong></u><br />\r\n* Fourniture et pose de baguette de finition en PVC sur les parties hautes des cloisons.','TVA',18.000,0.000,'1',0.000,'0',48,0,0,NULL,70000.00000000,NULL,3360000.00000000,604800.00000000,0.00000000,0.00000000,3964800.00000000,0,NULL,NULL,0,50000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',70000.00000000,3360000.00000000,604800.00000000,3964800.00000000),(107,50,NULL,NULL,NULL,'Acompte (30%) - PR1903-0012','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,203264120.00000000,NULL,203264120.40000000,36587541.60000000,0.00000000,0.00000000,239851661.60000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',203264120.00000000,203264120.40000000,36587541.67000000,239851662.07000000),(108,51,NULL,NULL,NULL,'Acompte (80%) - PR1905-0038','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,52233386.00000000,NULL,52233385.60000000,9402009.48000000,0.00000000,0.00000000,61635395.48000000,0,NULL,NULL,0,0.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,1,'GNF',52233386.00000000,52233385.60000000,9402009.41000000,61635395.01000000),(109,52,NULL,NULL,NULL,'<u><strong>INSTALLATION (forfait) :</strong></u><br />\r\n* Installation du chantier et manutention des mat&eacute;riaux.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,10000000.00000000,NULL,10000000.00000000,1800000.00000000,0.00000000,0.00000000,11800000.00000000,1,NULL,NULL,0,6000000.00000000,NULL,0,0,1,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',962.00000000,961.54000000,173.07000000,1134.61000000),(110,52,NULL,NULL,NULL,'<u><strong>DEMOLITION (m2) :</strong></u><br />\r\n* D&eacute;molition de la ma&ccedil;onnerie et &eacute;vacuation des gravats.<br />\r\n* D&eacute;pose des portes existantes (1 simple et 1 double).','TVA',18.000,0.000,'1',0.000,'0',26,10,0,NULL,390000.00000000,NULL,9126000.00000000,1642680.00000000,0.00000000,0.00000000,10768680.00000000,1,NULL,NULL,0,200000.00000000,NULL,0,0,2,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',37.00000000,877.50000000,157.95000000,1035.45000000),(111,52,NULL,NULL,NULL,'<u><strong>MACONNERIE (m2) :</strong></u><br />\r\n* Fourniture et r&eacute;alisation de murs en ma&ccedil;onnerie ainsi que cr&eacute;pissage des deux c&ocirc;t&eacute;s.','TVA',18.000,0.000,'1',0.000,'0',125,0,0,NULL,245000.00000000,NULL,30625000.00000000,5512500.00000000,0.00000000,0.00000000,36137500.00000000,0,NULL,NULL,0,187500.00000000,NULL,0,0,3,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',24.00000000,2944.71000000,530.05000000,3474.76000000),(112,52,NULL,NULL,NULL,'<u><strong>MACONNERIE (m2) :</strong></u><br />\r\n* Fourniture et r&eacute;alisation d&#39;un enduit de finition sur ma&ccedil;onnerie, pon&ccedil;age et peinture blanche (deux couches).','TVA',18.000,0.000,'1',0.000,'0',250,0,0,NULL,36500.00000000,NULL,9125000.00000000,1642500.00000000,0.00000000,0.00000000,10767500.00000000,0,NULL,NULL,0,25680.00000000,NULL,0,0,4,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',4.00000000,877.40000000,157.94000000,1035.34000000),(113,52,NULL,NULL,NULL,'<u><strong>POSE CLOISON BA13 (m2) :</strong></u><br />\r\n* Main d&#39;oeuvre pour pose des cloisons en placo-pl&acirc;tre.<br />\r\n* Installation des armatures.<br />\r\n* Pose des plaques.<br />\r\n* R&eacute;alisation des enduits et pon&ccedil;age.<br />\r\n&nbsp;','TVA',18.000,0.000,'1',0.000,'0',230,35,0,NULL,125000.00000000,NULL,18687500.00000000,3363750.00000000,0.00000000,0.00000000,22051250.00000000,1,NULL,NULL,0,59000.00000000,NULL,0,0,5,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',12.00000000,1796.87000000,323.44000000,2120.31000000),(114,52,NULL,NULL,NULL,'<u><strong>PEINTURE (m2) :</strong></u><br />\r\n* Fourniture et application d&#39;un primaire pour BA13.<br />\r\n* Fourniture et application d&#39;une peinture de finition blanche (deux couches).<br />\r\n* Fourniture et application d&#39;une peinture de finition blanche en deux couches sur les maconneries existantes (200m2).','TVA',18.000,0.000,'1',0.000,'0',750,0,0,NULL,28855.00000000,NULL,21641250.00000000,3895425.00000000,0.00000000,0.00000000,25536675.00000000,0,NULL,NULL,0,19854.00000000,NULL,0,0,6,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',3.00000000,2080.89000000,374.56000000,2455.45000000),(115,52,NULL,NULL,NULL,'<u><strong>MENUISERIE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et installation de porte aluminium blanc laqu&eacute; 90/200 (traverse, partie inf&eacute;rieure en panneau plein, partie sup&eacute;rieure en vitrage).<br />\r\nAluminium 12/10&egrave;me, verre 6mm, &eacute;paisseur cadre 7cm, quincailleries fournis.','TVA',18.000,0.000,'1',0.000,'0',16,5,0,NULL,3200000.00000000,NULL,48640000.00000000,8755200.00000000,0.00000000,0.00000000,57395200.00000000,0,NULL,NULL,0,2700000.00000000,NULL,0,0,7,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',308.00000000,4676.92000000,841.85000000,5518.77000000),(116,52,NULL,NULL,NULL,'<u><strong>MENUISERIE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et installation de porte &quot;forte&quot; aluminium blanc laqu&eacute; 90/200<br />\r\nAluminium 12/10&egrave;me, panneau renforc&eacute;, quincailleries fournis.','TVA',18.000,0.000,'1',0.000,'0',2,0,0,NULL,3400000.00000000,NULL,6800000.00000000,1224000.00000000,0.00000000,0.00000000,8024000.00000000,0,NULL,NULL,0,2900000.00000000,NULL,0,0,8,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',327.00000000,653.85000000,117.69000000,771.54000000),(117,52,NULL,NULL,NULL,'<u><strong>MENUISERIE (m2) :</strong></u><br />\r\n* Fourniture et installation de baie vitr&eacute;e, cadre aluminium laqu&eacute; blanc, verre 6mm.','TVA',18.000,0.000,'1',0.000,'0',25,0,0,NULL,1250000.00000000,NULL,31250000.00000000,5625000.00000000,0.00000000,0.00000000,36875000.00000000,0,NULL,NULL,0,1000000.00000000,NULL,0,0,9,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',120.00000000,3004.81000000,540.86000000,3545.67000000),(118,52,NULL,NULL,NULL,'<u><strong>MENUISERIE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et pose de Groom pour porte.','TVA',18.000,0.000,'1',0.000,'0',18,0,0,NULL,550000.00000000,NULL,9900000.00000000,1782000.00000000,0.00000000,0.00000000,11682000.00000000,0,NULL,NULL,0,500000.00000000,NULL,0,0,10,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',53.00000000,951.92000000,171.35000000,1123.27000000),(119,52,NULL,NULL,NULL,'<u><strong>FAUX-PLAFOND (m2) :</strong></u><br />\r\n* Installation d&#39;un faux plafond en dalle 600/600 (m2)','TVA',18.000,0.000,'1',0.000,'0',400,0,0,NULL,75000.00000000,NULL,30000000.00000000,5400000.00000000,0.00000000,0.00000000,35400000.00000000,0,NULL,NULL,0,70000.00000000,NULL,0,0,11,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',7.00000000,2884.61000000,519.23000000,3403.84000000),(120,52,NULL,NULL,NULL,'<u><strong>PARQUET (m2) :</strong></u><br />\r\n* Main d&#39;oeuvre pour installation d&#39;un parquet flottant (m2)','TVA',18.000,0.000,'1',0.000,'0',400,0,0,NULL,30000.00000000,NULL,12000000.00000000,2160000.00000000,0.00000000,0.00000000,14160000.00000000,1,NULL,NULL,0,15000.00000000,NULL,0,0,12,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',3.00000000,1153.85000000,207.69000000,1361.54000000),(121,52,NULL,NULL,NULL,'<u><strong>ELECTRICITE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et installation du r&eacute;seau &eacute;lectrique prises, selon sch&eacute;ma transmis (unit&eacute;)','TVA',18.000,0.000,'1',0.000,'0',158,0,0,NULL,241000.00000000,NULL,38078000.00000000,6854040.00000000,0.00000000,0.00000000,44932040.00000000,0,NULL,NULL,0,186000.00000000,NULL,0,0,13,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',23.00000000,3661.34000000,659.05000000,4320.39000000),(122,52,NULL,NULL,NULL,'<u><strong>ELECTRICITE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et installation du r&eacute;seau &eacute;lectrique luminaire (dalle 600/600) selon sch&eacute;ma transmis.','TVA',18.000,0.000,'1',0.000,'0',42,0,0,NULL,1168892.00000000,NULL,49093464.00000000,8836823.52000000,0.00000000,0.00000000,57930287.52000000,0,NULL,NULL,0,899000.00000000,NULL,0,0,14,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',112.00000000,4720.52000000,849.70000000,5570.22000000),(123,52,NULL,NULL,NULL,'<u><strong>ELECTRICITE (unit&eacute;) :</strong></u><br />\r\n* Fourniture et installation de coffret &eacute;lectrique complet, selon le sch&eacute;ma transmis.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,17990800.00000000,NULL,17990800.00000000,3238344.00000000,0.00000000,0.00000000,21229144.00000000,0,NULL,NULL,0,15000000.00000000,NULL,0,0,15,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',1730.00000000,1729.88000000,311.38000000,2041.26000000),(124,52,NULL,NULL,NULL,'<u><strong>FIN DE CHANTIER (forfait) :</strong></u><br />\r\n* Nettoyage complet du chantier avant reception.','TVA',18.000,0.000,'1',0.000,'0',1,0,0,NULL,6000000.00000000,NULL,6000000.00000000,1080000.00000000,0.00000000,0.00000000,7080000.00000000,1,NULL,NULL,0,4000000.00000000,NULL,0,0,16,NULL,NULL,100,NULL,NULL,2,2,2,'EUR',577.00000000,576.92000000,103.85000000,680.77000000),(125,52,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,9,-139582805.60000000,NULL,-139582805.60000000,-25124905.00799999,0.00000000,0.00000000,-164707710.60799995,0,NULL,NULL,2,0.00000000,NULL,0,0,17,NULL,NULL,100,NULL,NULL,2,2,0,'',-13420.88675844,-13420.88675844,-2415.75961652,-15836.64637496),(126,52,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,16,-69790951.64000000,NULL,-69790951.64000000,-12562371.29000000,0.00000000,0.00000000,-82353322.92999999,0,NULL,NULL,2,0.00000000,NULL,0,0,18,NULL,NULL,100,NULL,NULL,2,2,0,'',-6710.40000000,-6710.40000000,-1207.87000000,-7918.27000000),(127,52,NULL,NULL,NULL,'(DEPOSIT)','',18.000,0.000,'0',0.000,'0',1,0,0,17,-69791402.80000000,NULL,-69791402.80000000,-12562452.54000000,0.00000000,0.00000000,-82353855.54000000,0,NULL,NULL,2,0.00000000,NULL,0,0,19,NULL,NULL,100,NULL,NULL,2,2,0,'',-6710.71000000,-6710.71000000,-1207.93000000,-7918.64000000);

--
-- 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,
  PRIMARY KEY (`rowid`),
  KEY `idx_facturedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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


--
-- 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,
  `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',
  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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_facturedet_rec`
--

INSERT INTO `llx_facturedet_rec` (`rowid`, `fk_facture`, `fk_parent_line`, `fk_product`, `product_type`, `label`, `description`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `subprice`, `price`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `date_start_fill`, `date_end_fill`, `info_bits`, `special_code`, `rang`, `fk_contract_line`, `fk_unit`, `import_key`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES (1,1,NULL,NULL,1,NULL,'Contrat N&deg; ARPT/MTSOLUTIONS/2017<br />\r\nMontant HT 500.000.000GNF<br />\r\nAcompte N&deg;1 du 22/12/2017 = 75.000.000GNF<br />\r\nAcompte N&deg;2 du 31/05/2018 = 75.000.000GNF','TVA',18.000,0.000,'1',0.000,'0',1,0,NULL,350000000.00000000,350000000.00000000,350000000.00000000,63000000.00000000,0.00000000,0.00000000,413000000.00000000,0,0,0,0,1,NULL,NULL,NULL,0,'GNF',350000000.00000000,350000000.00000000,63000000.00000000,413000000.00000000);

--
-- 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,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_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_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,
  `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_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,
  `note_public` text COLLATE utf8_unicode_ci,
  `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,
  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','20190121183804');

--
-- 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`,`nb_holiday`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `llx_holiday_users` (`fk_user`, `fk_type`, `nb_holiday`) VALUES (4,2,0);

--
-- 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(50) COLLATE utf8_unicode_ci NOT NULL,
  `field` text COLLATE utf8_unicode_ci NOT NULL,
  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_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,
  `pmp` double DEFAULT '0',
  `pa` double DEFAULT '0',
  `new_pmp` double DEFAULT '0',
  PRIMARY KEY (`rowid`),
  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_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_livraison`
--

CREATE TABLE `llx_livraison` (
  `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,
  `note_public` text COLLATE utf8_unicode_ci,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_main_doc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`),
  KEY `idx_livraison_fk_soc` (`fk_soc`),
  KEY `idx_livraison_fk_user_author` (`fk_user_author`),
  KEY `idx_livraison_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_livraison_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_livraison_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_livraison_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_livraison`
--


--
-- Table structure for table `llx_livraison_extrafields`
--

CREATE TABLE `llx_livraison_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_livraison_extrafields`
--


--
-- Table structure for table `llx_livraisondet`
--

CREATE TABLE `llx_livraisondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_livraison` int(11) DEFAULT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `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_livraisondet_fk_expedition` (`fk_livraison`),
  CONSTRAINT `fk_livraisondet_fk_livraison` FOREIGN KEY (`fk_livraison`) REFERENCES `llx_livraison` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_livraisondet`
--


--
-- Table structure for table `llx_livraisondet_extrafields`
--

CREATE TABLE `llx_livraisondet_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_livraisondet_extrafields`
--


--
-- 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,
  `note_public` text COLLATE utf8_unicode_ci,
  `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',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_loan`
--


--
-- Table structure for table `llx_loan_schedule`
--

CREATE TABLE `llx_loan_schedule` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT '0.00000000',
  `amount_insurance` double(24,8) DEFAULT '0.00000000',
  `amount_interest` double(24,8) DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` 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_loan_schedule`
--


--
-- Table structure for table `llx_localtax`
--

CREATE TABLE `llx_localtax` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `localtaxtype` tinyint(4) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` 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_localtax`
--


--
-- Table structure for table `llx_mailing`
--

CREATE TABLE `llx_mailing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `statut` smallint(6) DEFAULT '0',
  `titre` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `sujet` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `body` mediumtext COLLATE utf8_unicode_ci,
  `bgcolor` varchar(8) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bgimage` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cible` varchar(60) COLLATE utf8_unicode_ci DEFAULT NULL,
  `nbemail` int(11) DEFAULT NULL,
  `email_from` varchar(160) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email_replyto` varchar(160) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email_errorsto` varchar(160) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tag` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_creat` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_appro` datetime DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_appro` int(11) DEFAULT NULL,
  `extraparams` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `joined_file1` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `joined_file2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `joined_file3` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `joined_file4` 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_mailing`
--


--
-- Table structure for table `llx_mailing_cibles`
--

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

--
-- Dumping data for table `llx_mailing_cibles`
--


--
-- Table structure for table `llx_menu`
--

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

--
-- Dumping data for table `llx_menu`
--

INSERT INTO `llx_menu` (`rowid`, `menu_handler`, `entity`, `module`, `type`, `mainmenu`, `leftmenu`, `fk_menu`, `fk_mainmenu`, `fk_leftmenu`, `position`, `url`, `target`, `titre`, `langs`, `level`, `perms`, `enabled`, `usertype`, `tms`) VALUES (1,'all',1,'supplier_proposal','left','commercial','supplier_proposalsubmenu',-1,'commercial',NULL,300,'/supplier_proposal/index.php','','SupplierProposalsShort','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2019-01-14 15:35:34'),(2,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',301,'/supplier_proposal/card.php?action=create&amp;leftmenu=supplier_proposals','','SupplierProposalNew','supplier_proposal',NULL,'$user->rights->supplier_proposal->creer','$conf->supplier_proposal->enabled',2,'2019-01-14 15:35:34'),(3,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',302,'/supplier_proposal/list.php?leftmenu=supplier_proposals','','List','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2019-01-14 15:35:34'),(4,'all',1,'supplier_proposal','left','commercial',NULL,-1,'commercial','supplier_proposalsubmenu',303,'/comm/propal/stats/index.php?leftmenu=supplier_proposals&amp;mode=supplier','','Statistics','supplier_proposal',NULL,'$user->rights->supplier_proposal->lire','$conf->supplier_proposal->enabled',2,'2019-01-14 15:35:34'),(5,'all',1,'margins','left','billing','margins',-1,'billing',NULL,100,'/margin/index.php','','Margins','margins',NULL,'$user->rights->margins->liretous','$conf->margin->enabled',2,'2019-01-14 15:36:47'),(6,'all',1,'cron','left','home',NULL,-1,'home','admintools',200,'/cron/list.php?status=-2&leftmenu=admintools','','CronList','cron',NULL,'$user->rights->cron->read','$conf->cron->enabled && preg_match(\'/^(admintools|all)/\', $leftmenu)',2,'2019-01-14 15:39:26'),(7,'all',1,'agenda','top','agenda',NULL,0,NULL,NULL,15,'/comm/action/index.php','','TMenuAgenda','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(8,'all',1,'agenda','left','agenda',NULL,7,NULL,NULL,100,'/comm/action/index.php?mainmenu=agenda&amp;leftmenu=agenda','','Actions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(9,'all',1,'agenda','left','agenda',NULL,8,NULL,NULL,101,'/comm/action/card.php?mainmenu=agenda&amp;leftmenu=agenda&amp;action=create','','NewAction','commercial',NULL,'($user->rights->agenda->myactions->create||$user->rights->agenda->allactions->create)','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(10,'all',1,'agenda','left','agenda',NULL,8,NULL,NULL,140,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda','','Agenda','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(11,'all',1,'agenda','left','agenda',NULL,10,NULL,NULL,141,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine','','MenuToDoMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(12,'all',1,'agenda','left','agenda',NULL,10,NULL,NULL,142,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine','','MenuDoneMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(13,'all',1,'agenda','left','agenda',NULL,10,NULL,NULL,143,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filtert=-1','','MenuToDoActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2019-01-21 18:21:14'),(14,'all',1,'agenda','left','agenda',NULL,10,NULL,NULL,144,'/comm/action/index.php?action=default&amp;mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filtert=-1','','MenuDoneActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2019-01-21 18:21:14'),(15,'all',1,'agenda','left','agenda',NULL,8,NULL,NULL,110,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda','','List','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(16,'all',1,'agenda','left','agenda',NULL,15,NULL,NULL,111,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filter=mine','','MenuToDoMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(17,'all',1,'agenda','left','agenda',NULL,15,NULL,NULL,112,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filter=mine','','MenuDoneMyActions','agenda',NULL,'$user->rights->agenda->myactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(18,'all',1,'agenda','left','agenda',NULL,15,NULL,NULL,113,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=todo&amp;filtert=-1','','MenuToDoActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2019-01-21 18:21:14'),(19,'all',1,'agenda','left','agenda',NULL,15,NULL,NULL,114,'/comm/action/list.php?mainmenu=agenda&amp;leftmenu=agenda&amp;status=done&amp;filtert=-1','','MenuDoneActions','agenda',NULL,'$user->rights->agenda->allactions->read','$user->rights->agenda->allactions->read',2,'2019-01-21 18:21:14'),(20,'all',1,'agenda','left','agenda',NULL,8,NULL,NULL,160,'/comm/action/rapport/index.php?mainmenu=agenda&amp;leftmenu=agenda','','Reportings','agenda',NULL,'$user->rights->agenda->allactions->read','$conf->agenda->enabled',2,'2019-01-21 18:21:14'),(21,'all',1,'resource','left','tools','resource',-1,'tools',NULL,100,'/resource/list.php','','MenuResourceIndex','resource',NULL,'$user->rights->resource->read','1',0,'2019-01-21 18:21:23'),(22,'all',1,'resource','left','tools','resource_add',-1,'tools','resource',101,'/resource/card.php?action=create','','MenuResourceAdd','resource',NULL,'$user->rights->resource->write','1',0,'2019-01-21 18:21:23'),(23,'all',1,'resource','left','tools','resource_list',-1,'tools','resource',102,'/resource/list.php','','List','resource',NULL,'$user->rights->resource->read','1',0,'2019-01-21 18:21:23'),(24,'all',1,'ecm','top','ecm',NULL,0,NULL,NULL,100,'/ecm/index.php','','MenuECM','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload || $user->rights->ecm->setup','$conf->ecm->enabled',2,'2019-05-11 13:37:30'),(25,'all',1,'ecm','left','ecm','ecm',-1,'ecm',NULL,101,'/ecm/index.php?mainmenu=ecm&leftmenu=ecm','','ECMArea','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','$user->rights->ecm->read || $user->rights->ecm->upload',2,'2019-05-11 13:37:30'),(26,'all',1,'ecm','left','ecm','ecm_manual',-1,'ecm','ecm',102,'/ecm/index.php?action=file_manager&mainmenu=ecm&leftmenu=ecm','','ECMSectionsManual','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','$user->rights->ecm->read || $user->rights->ecm->upload',2,'2019-05-11 13:37:30'),(27,'all',1,'ecm','left','ecm',NULL,-1,'ecm','ecm',103,'/ecm/index_auto.php?action=file_manager&mainmenu=ecm&leftmenu=ecm','','ECMSectionsAuto','ecm',NULL,'$user->rights->ecm->read || $user->rights->ecm->upload','($user->rights->ecm->read || $user->rights->ecm->upload) && ! empty($conf->global->ECM_AUTO_TREE_ENABLED)',2,'2019-05-11 13:37:30');

--
-- Table structure for table `llx_multicurrency`
--

CREATE TABLE `llx_multicurrency` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` datetime DEFAULT NULL,
  `code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `fk_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_multicurrency`
--

INSERT INTO `llx_multicurrency` (`rowid`, `date_create`, `code`, `name`, `entity`, `fk_user`) VALUES (1,'2019-03-19 18:17:43','GNF','Franc Guinéen (FG)',1,2),(2,'2019-03-19 18:18:36','EUR','Euros (€)',1,2);

--
-- Table structure for table `llx_multicurrency_rate`
--

CREATE TABLE `llx_multicurrency_rate` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_sync` datetime DEFAULT NULL,
  `rate` double NOT NULL DEFAULT '0',
  `fk_multicurrency` int(11) NOT NULL,
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_multicurrency_rate`
--

INSERT INTO `llx_multicurrency_rate` (`rowid`, `date_sync`, `rate`, `fk_multicurrency`, `entity`) VALUES (1,'2019-03-19 18:17:43',1,1,1),(2,'2019-03-19 18:18:36',11000,2,1),(3,'2019-03-19 18:19:55',0.0001,2,1),(4,'2019-03-19 18:23:10',0.0000961538,2,1);

--
-- Table structure for table `llx_notify`
--

CREATE TABLE `llx_notify` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `daten` datetime DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) COLLATE utf8_unicode_ci DEFAULT 'email',
  `type_target` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `objet_type` varchar(24) COLLATE utf8_unicode_ci NOT NULL,
  `objet_id` int(11) NOT NULL,
  `email` 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_notify`
--


--
-- Table structure for table `llx_notify_def`
--

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

--
-- Dumping data for table `llx_notify_def`
--


--
-- Table structure for table `llx_notify_def_object`
--

CREATE TABLE `llx_notify_def_object` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `objet_type` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `objet_id` int(11) NOT NULL,
  `type_notif` varchar(16) COLLATE utf8_unicode_ci DEFAULT 'browser',
  `date_notif` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `moreparam` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_notify_def_object`
--


--
-- Table structure for table `llx_oauth_state`
--

CREATE TABLE `llx_oauth_state` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_oauth_state`
--


--
-- Table structure for table `llx_oauth_token`
--

CREATE TABLE `llx_oauth_token` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) COLLATE utf8_unicode_ci DEFAULT NULL,
  `token` text COLLATE utf8_unicode_ci,
  `tokenstring` text COLLATE utf8_unicode_ci,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_oauth_token`
--


--
-- Table structure for table `llx_onlinesignature`
--

CREATE TABLE `llx_onlinesignature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `object_type` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `object_id` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ip` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `pathoffile` 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_onlinesignature`
--


--
-- Table structure for table `llx_opensurvey_comments`
--

CREATE TABLE `llx_opensurvey_comments` (
  `id_comment` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id_sondage` char(16) COLLATE utf8_unicode_ci NOT NULL,
  `comment` text COLLATE utf8_unicode_ci NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `usercomment` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id_comment`),
  KEY `idx_id_comment` (`id_comment`),
  KEY `idx_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_opensurvey_comments`
--


--
-- Table structure for table `llx_opensurvey_formquestions`
--

CREATE TABLE `llx_opensurvey_formquestions` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `id_sondage` varchar(16) COLLATE utf8_unicode_ci DEFAULT NULL,
  `question` text COLLATE utf8_unicode_ci,
  `available_answers` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_opensurvey_formquestions`
--


--
-- Table structure for table `llx_opensurvey_sondage`
--

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

--
-- Dumping data for table `llx_opensurvey_sondage`
--


--
-- Table structure for table `llx_opensurvey_user_formanswers`
--

CREATE TABLE `llx_opensurvey_user_formanswers` (
  `fk_user_survey` int(11) NOT NULL,
  `fk_question` int(11) NOT NULL,
  `reponses` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_opensurvey_user_formanswers`
--


--
-- Table structure for table `llx_opensurvey_user_studs`
--

CREATE TABLE `llx_opensurvey_user_studs` (
  `id_users` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `id_sondage` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `reponses` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id_users`),
  KEY `idx_opensurvey_user_studs_id_users` (`id_users`),
  KEY `idx_opensurvey_user_studs_nom` (`nom`),
  KEY `idx_opensurvey_user_studs_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_opensurvey_user_studs`
--


--
-- Table structure for table `llx_overwrite_trans`
--

CREATE TABLE `llx_overwrite_trans` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `lang` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
  `transkey` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `transvalue` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_overwrite_trans` (`lang`,`transkey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_overwrite_trans`
--


--
-- Table structure for table `llx_paiement`
--

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

--
-- Dumping data for table `llx_paiement`
--

INSERT INTO `llx_paiement` (`rowid`, `ref`, `entity`, `datec`, `tms`, `datep`, `amount`, `multicurrency_amount`, `fk_paiement`, `num_paiement`, `note`, `fk_bank`, `fk_user_creat`, `fk_user_modif`, `statut`, `fk_export_compta`) VALUES (2,'PAY1804-0002',1,'2019-01-16 18:19:15','2019-01-16 18:19:16','2018-04-16 12:00:00',100000000.00000000,100000000.00000000,7,'0614593','ACOMPTE N°1',3,2,NULL,0,0),(3,'PAY1805-0003',1,'2019-01-16 18:22:03','2019-01-16 18:22:04','2018-05-10 12:00:00',100000000.00000000,100000000.00000000,7,'00726162','ACOMPTE N°2',4,2,NULL,0,0),(5,'PAY1810-0005',1,'2019-01-21 19:26:18','2019-01-21 19:26:19','2018-10-17 12:00:00',10000000.00000000,10000000.00000000,4,'','',24,2,NULL,0,0),(6,'PAY1901-0006',1,'2019-01-21 19:27:20','2019-01-21 19:27:21','2019-01-08 12:00:00',5000000.00000000,5000000.00000000,4,'FA-190107-01','',25,2,NULL,0,0),(7,'PAY1901-0007',1,'2019-01-29 09:46:14','2019-01-29 09:46:14','2019-01-28 12:00:00',34888539.00000000,34888539.00000000,7,'0185569','',26,2,NULL,0,0),(8,'PAY1811-0008',1,'2019-01-29 09:55:29','2019-01-29 09:55:30','2018-11-13 12:00:00',104665617.00000000,104665617.00000000,7,'0185524','',27,2,NULL,0,0),(9,'PAY1901-0009',1,'2019-02-07 19:20:27','2019-02-07 19:20:28','2019-01-31 12:00:00',40000000.00000000,40000000.00000000,7,'00841920','',38,2,NULL,0,0),(10,'PAY1902-0010',1,'2019-02-26 11:25:11','2019-02-26 11:25:12','2019-02-20 12:00:00',69777078.00000000,69777078.00000000,7,'14888483','',41,2,NULL,0,0),(11,'PAY1903-0011',1,'2019-03-04 15:52:28','2019-03-04 15:52:28','2019-03-01 12:00:00',50000000.00000000,50000000.00000000,7,'00841946','',42,2,NULL,0,0),(12,'PAY1902-0012',1,'2019-03-08 14:54:49','2019-03-08 14:54:50','2019-02-09 12:00:00',3000000.00000000,3000000.00000000,4,'','',43,2,NULL,0,0),(13,'PAY1903-0013',1,'2019-03-08 14:55:19','2019-03-08 14:55:19','2019-03-07 12:00:00',2000000.00000000,2000000.00000000,4,'','',44,2,NULL,0,0),(14,'PAY1903-0014',1,'2019-03-13 11:14:28','2019-03-13 11:14:29','2019-03-13 12:00:00',31200000.00000000,31200000.00000000,4,'','Payé en EUROS (3000€)',45,2,NULL,0,0),(15,'PAY1903-0015',1,'2019-03-14 11:54:40','2019-03-14 11:54:41','2019-03-14 12:00:00',5000000.00000000,5000000.00000000,4,'','',46,2,NULL,0,0),(16,'PAY1903-0016',1,'2019-03-18 15:58:23','2019-03-18 15:58:24','2019-03-18 12:00:00',1895080.00000000,1895080.00000000,4,'','',48,2,NULL,0,0),(17,'PAY1903-0017',1,'2019-03-22 15:42:41','2019-03-22 15:42:43','2019-03-21 12:00:00',5000000.00000000,5000000.00000000,4,'','',49,2,NULL,0,0),(18,'PAY1903-0018',1,'2019-03-27 10:28:48','2019-03-27 10:28:50','2019-03-26 12:00:00',52000000.00000000,52000000.00000000,4,'','5000€',50,2,NULL,0,0),(19,'PAY1903-0019',1,'2019-04-01 17:17:36','2019-04-01 17:17:37','2019-03-28 12:00:00',164707748.30993238,15836.65000000,2,'400006037','',51,2,NULL,0,0),(20,'PAY1904-0020',1,'2019-04-10 15:04:37','2019-04-10 15:04:38','2019-04-08 12:00:00',82350494.01976079,7918.00000000,2,'400006073','',52,2,NULL,0,0),(21,'PAY1904-0021',1,'2019-04-10 15:23:43','2019-04-10 15:23:43','2019-04-08 12:00:00',20000000.00000000,20000000.00000000,4,'','',53,2,NULL,0,0),(22,'PAY1904-0022',1,'2019-04-10 16:31:37','2019-04-10 16:31:41','2019-04-05 12:00:00',169000000.00000000,169000000.00000000,7,'00904826','',54,2,NULL,0,0),(23,'PAY1904-0023',1,'2019-04-15 18:14:02','2019-04-15 18:14:05','2019-04-15 12:00:00',359345451.92000000,359345451.92000000,7,'15205774','',55,2,NULL,0,0),(24,'PAY1904-0024',1,'2019-04-15 18:15:46','2019-04-15 18:15:47','2019-04-15 12:00:00',239851661.60000000,239851661.60000000,7,'15205775','',56,2,NULL,0,0),(25,'PAY1904-0025',1,'2019-04-26 16:10:59','2019-04-26 16:11:00','2019-04-24 12:00:00',49965523.05000000,49965523.05000000,7,'15205780','',57,2,NULL,0,0),(26,'PAY1905-0026',1,'2019-05-10 15:05:03','2019-05-10 15:05:04','2019-05-10 12:00:00',87221348.00000000,87221348.00000000,7,'00514045','',58,2,NULL,0,0),(28,'PAY1905-0028',1,'2019-05-15 18:12:25','2019-05-15 18:12:25','2019-05-14 12:00:00',5074000.00000000,5074000.00000000,7,'01362189','Remise fait en fonction de la somme payée dans les précédant travaux non réalisés (rampe d\'escalier annulé pour compensation du devis façade).',60,2,NULL,0,0),(29,'PAY1904-0029',1,'2019-05-16 12:02:03','2019-05-16 12:02:03','2019-04-04 12:00:00',1174100.00000000,1174100.00000000,4,'','',61,2,NULL,0,0),(30,'PAY1902-0030',1,'2019-05-16 12:16:52','2019-05-16 12:16:52','2019-02-11 12:00:00',245250000.00000000,245250000.00000000,2,'070/DFC/DG-ARPT/2019','',62,2,NULL,0,0),(31,'PAY1902-0031',1,'2019-05-16 12:18:42','2019-05-16 12:18:43','2019-02-11 12:00:00',20250000.00000000,20250000.00000000,3,'RETENU TVA','',63,2,NULL,0,0),(32,'PAY1905-0032',1,'2019-05-16 12:21:52','2019-05-16 12:21:52','2019-05-14 12:00:00',70218543.20000000,70218543.20000000,7,'15267664','',64,2,NULL,0,0),(33,'PAY1905-0033',1,'2019-05-17 14:12:25','2019-05-17 14:12:25','2019-05-17 12:00:00',5000000.00000000,5000000.00000000,4,'','',65,2,NULL,0,0),(34,'PAY1905-0034',1,'2019-05-20 17:07:24','2019-05-20 17:07:25','2019-05-16 12:00:00',556739816.55000000,556739816.55000000,7,'15267665','',66,2,NULL,0,0),(35,'PAY1905-0035',1,'2019-05-23 16:08:41','2019-05-23 16:08:41','2019-05-21 12:00:00',159901108.52000000,159901108.52000000,7,'15267668','',67,2,NULL,0,0),(36,'PAY1905-0036',1,'2019-05-25 10:14:28','2019-05-25 10:14:28','2019-05-24 12:00:00',49220160.00000000,49220160.00000000,7,'15267669','',68,2,NULL,0,0),(37,'PAY1906-0037',1,'2019-06-03 14:49:26','2019-06-03 14:49:26','2019-06-03 12:00:00',239851661.60000000,239851661.60000000,7,'15267681','',69,2,NULL,0,0),(38,'PAY1906-0038',1,'2019-06-03 14:56:25','2019-06-03 14:56:25','2019-06-03 12:00:00',61635395.48000000,61635395.48000000,7,'15267682','',70,2,NULL,0,0),(39,'PAY1905-0039',1,'2019-06-05 17:12:21','2019-06-05 17:12:22','2019-05-03 12:00:00',82350494.01976079,7918.00000000,2,'002025967','',71,2,NULL,0,0);

--
-- Table structure for table `llx_paiement_facture`
--

CREATE TABLE `llx_paiement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiement` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
  KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
  KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`),
  CONSTRAINT `fk_paiement_facture_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_paiement_facture_fk_paiement` FOREIGN KEY (`fk_paiement`) REFERENCES `llx_paiement` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_paiement_facture`
--

INSERT INTO `llx_paiement_facture` (`rowid`, `fk_paiement`, `fk_facture`, `amount`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_amount`) VALUES (2,2,3,100000000.00000000,NULL,1.00000000,100000000.00000000),(3,3,3,100000000.00000000,NULL,1.00000000,100000000.00000000),(5,5,9,10000000.00000000,NULL,1.00000000,10000000.00000000),(6,6,9,5000000.00000000,NULL,1.00000000,5000000.00000000),(7,7,8,34888539.00000000,NULL,1.00000000,34888539.00000000),(8,8,10,104665617.00000000,NULL,1.00000000,104665617.00000000),(9,9,3,40000000.00000000,NULL,1.00000000,40000000.00000000),(10,10,11,69777078.00000000,NULL,1.00000000,69777078.00000000),(11,11,3,50000000.00000000,NULL,1.00000000,50000000.00000000),(12,12,9,3000000.00000000,NULL,1.00000000,3000000.00000000),(13,13,9,2000000.00000000,NULL,1.00000000,2000000.00000000),(14,14,18,31200000.00000000,NULL,1.00000000,31200000.00000000),(15,15,9,5000000.00000000,NULL,1.00000000,5000000.00000000),(16,16,14,1895080.00000000,NULL,1.00000000,1895080.00000000),(17,17,9,5000000.00000000,NULL,1.00000000,5000000.00000000),(18,18,18,52000000.00000000,NULL,1.00000000,52000000.00000000),(19,19,19,164707748.31000000,NULL,1.00000000,15836.65000000),(20,20,23,82350494.01999998,NULL,1.00000000,7918.00000000),(21,21,21,20000000.00000000,NULL,1.00000000,20000000.00000000),(22,22,3,169000000.00000000,NULL,1.00000000,169000000.00000000),(23,23,30,359345451.92000000,NULL,1.00000000,359345451.92000000),(24,24,29,239851661.60000000,NULL,1.00000000,239851661.60000000),(25,25,35,49965523.05000000,NULL,1.00000000,49965523.05000000),(26,26,13,87221348.00000000,NULL,1.00000000,87221348.00000000),(28,28,43,5074000.00000000,NULL,1.00000000,5074000.00000000),(29,29,16,1174100.00000000,NULL,1.00000000,1174100.00000000),(30,30,2,245250000.00000000,NULL,1.00000000,245250000.00000000),(31,31,2,20250000.00000000,NULL,1.00000000,20250000.00000000),(32,32,41,70218543.20000000,NULL,1.00000000,70218543.20000000),(33,33,9,5000000.00000000,NULL,1.00000000,5000000.00000000),(34,34,42,556739816.55000000,NULL,1.00000000,556739816.55000000),(35,35,46,159901108.52000000,NULL,1.00000000,159901108.52000000),(36,36,48,49220160.00000000,NULL,1.00000000,49220160.00000000),(37,37,50,239851661.60000000,NULL,1.00000000,239851661.60000000),(38,38,51,61635395.48000000,NULL,1.00000000,61635395.48000000),(39,39,36,82350494.02000000,NULL,1.00000000,7918.00000000);

--
-- Table structure for table `llx_paiementcharge`
--

CREATE TABLE `llx_paiementcharge` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_charge` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `fk_typepaiement` int(11) NOT NULL,
  `num_paiement` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` 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_paiementcharge`
--


--
-- Table structure for table `llx_paiementfourn`
--

CREATE TABLE `llx_paiementfourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `statut` smallint(6) NOT NULL DEFAULT '0',
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_paiementfourn`
--

INSERT INTO `llx_paiementfourn` (`rowid`, `ref`, `entity`, `tms`, `datec`, `datep`, `amount`, `multicurrency_amount`, `fk_user_author`, `fk_user_modif`, `fk_paiement`, `num_paiement`, `note`, `fk_bank`, `statut`, `model_pdf`) VALUES (1,'SPAY1901-0001',1,'2019-01-21 14:52:28','2019-01-21 14:52:28','2019-01-03 12:00:00',355000.00000000,355000.00000000,2,NULL,4,'CA0103','',8,0,NULL),(2,'SPAY1901-0002',1,'2019-01-21 15:00:22','2019-01-21 15:00:22','2019-01-03 12:00:00',20000.00000000,20000.00000000,2,NULL,4,'CA0104','',9,0,NULL),(3,'SPAY1901-0003',1,'2019-01-21 15:06:41','2019-01-21 15:06:41','2019-01-03 12:00:00',15000.00000000,15000.00000000,2,NULL,4,'CA0105','',10,0,NULL),(4,'SPAY1901-0004',1,'2019-01-21 15:14:53','2019-01-21 15:14:53','2019-01-03 12:00:00',100000.00000000,100000.00000000,2,NULL,4,'CA0106','TEST4',11,0,NULL),(5,'SPAY1901-0005',1,'2019-01-21 15:30:23','2019-01-21 15:30:22','2019-01-04 12:00:00',25000.00000000,25000.00000000,2,NULL,4,'CA0108','Ménage des bureaux',12,0,NULL),(6,'SPAY1901-0006',1,'2019-01-21 15:42:23','2019-01-21 15:42:22','2019-01-07 12:00:00',5000.00000000,5000.00000000,2,NULL,4,'CA0110','Achat journaux',14,0,NULL),(7,'SPAY1901-0007',1,'2019-01-21 15:56:14','2019-01-21 15:56:14','2019-01-07 12:00:00',1950000.00000000,1950000.00000000,2,NULL,4,'CA0111','',15,0,NULL),(8,'SPAY1901-0008',1,'2019-01-21 16:11:06','2019-01-21 16:11:06','2019-01-07 12:00:00',150000.00000000,150000.00000000,2,NULL,4,'CA0112','Carburant Mamady',16,0,NULL),(9,'SPAY1901-0009',1,'2019-01-21 16:14:17','2019-01-21 16:14:17','2019-01-07 12:00:00',200000.00000000,200000.00000000,2,NULL,4,'CA0113','Achat 2 sacs de ciment',17,0,NULL),(10,'SPAY1901-0010',1,'2019-01-21 16:17:24','2019-01-21 16:17:24','2019-01-07 12:00:00',145000.00000000,145000.00000000,2,NULL,4,'CA0114','Frais de restauration Cédric',18,0,NULL),(11,'SPAY1901-0011',1,'2019-01-21 16:39:56','2019-01-21 16:39:56','2019-01-08 12:00:00',300000.00000000,300000.00000000,2,NULL,4,'SILENCIO','Achat sac de ciment',19,0,NULL),(12,'SPAY1901-0012',1,'2019-01-21 16:45:18','2019-01-21 16:45:18','2019-01-08 12:00:00',1200000.00000000,1200000.00000000,2,NULL,4,'MINIERE KOUROUMA','Verrière + porte',20,0,NULL),(13,'SPAY1901-0013',1,'2019-01-21 18:09:06','2019-01-21 18:09:06','2019-01-08 12:00:00',100000.00000000,100000.00000000,2,NULL,4,'BUREAU','Recharge Cédric',21,0,NULL),(14,'SPAY1902-0014',1,'2019-02-07 19:32:06','2019-02-07 19:32:06','2019-02-01 12:00:00',20841096.00000000,20841096.00000000,2,NULL,7,'00285201','',40,0,NULL);

--
-- Table structure for table `llx_paiementfourn_facturefourn`
--

CREATE TABLE `llx_paiementfourn_facturefourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiementfourn` int(11) DEFAULT NULL,
  `fk_facturefourn` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `multicurrency_code` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_amount` double(24,8) DEFAULT '0.00000000',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_paiementfourn_facturefourn`
--

INSERT INTO `llx_paiementfourn_facturefourn` (`rowid`, `fk_paiementfourn`, `fk_facturefourn`, `amount`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_amount`) VALUES (1,1,2,355000.00000000,NULL,1.00000000,355000.00000000),(2,2,3,20000.00000000,NULL,1.00000000,20000.00000000),(3,3,4,15000.00000000,NULL,1.00000000,15000.00000000),(4,4,5,100000.00000000,NULL,1.00000000,100000.00000000),(5,5,6,25000.00000000,NULL,1.00000000,25000.00000000),(6,6,7,5000.00000000,NULL,1.00000000,5000.00000000),(7,7,8,1950000.00000000,NULL,1.00000000,1950000.00000000),(8,8,9,150000.00000000,NULL,1.00000000,150000.00000000),(9,9,10,200000.00000000,NULL,1.00000000,200000.00000000),(10,10,11,145000.00000000,NULL,1.00000000,145000.00000000),(11,11,12,300000.00000000,NULL,1.00000000,300000.00000000),(12,12,13,1200000.00000000,NULL,1.00000000,1200000.00000000),(13,13,14,100000.00000000,NULL,1.00000000,100000.00000000),(14,14,15,20841096.00000000,NULL,1.00000000,20841096.00000000);

--
-- Table structure for table `llx_payment_donation`
--

CREATE TABLE `llx_payment_donation` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_donation` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` 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_payment_donation`
--


--
-- Table structure for table `llx_payment_expensereport`
--

CREATE TABLE `llx_payment_expensereport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expensereport` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` 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_payment_expensereport`
--


--
-- Table structure for table `llx_payment_loan`
--

CREATE TABLE `llx_payment_loan` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT '0.00000000',
  `amount_insurance` double(24,8) DEFAULT '0.00000000',
  `amount_interest` double(24,8) DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note_private` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` 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_payment_loan`
--


--
-- Table structure for table `llx_payment_salary`
--

CREATE TABLE `llx_payment_salary` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `datesp` date DEFAULT NULL,
  `dateep` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_payment_salary_ref` (`num_payment`),
  KEY `idx_payment_salary_user` (`fk_user`,`entity`),
  KEY `idx_payment_salary_datep` (`datep`),
  KEY `idx_payment_salary_datesp` (`datesp`),
  KEY `idx_payment_salary_dateep` (`dateep`),
  CONSTRAINT `fk_payment_salary_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_payment_salary`
--

INSERT INTO `llx_payment_salary` (`rowid`, `tms`, `datec`, `fk_user`, `datep`, `datev`, `salary`, `amount`, `fk_typepayment`, `num_payment`, `label`, `datesp`, `dateep`, `entity`, `note`, `fk_bank`, `fk_user_author`, `fk_user_modif`) VALUES (1,'2019-01-21 18:35:29','2019-01-21 18:35:29',4,'2019-01-03','2019-01-03',700000.00000000,700000.00000000,4,'','PRIME','2018-12-01','2018-12-31',1,NULL,22,2,NULL),(2,'2019-01-21 19:11:10','2019-01-21 19:11:10',2,'2019-01-03','2019-01-03',NULL,500000.00000000,4,'','Règlement salaire','2018-12-01','2018-12-31',1,NULL,23,2,NULL);

--
-- Table structure for table `llx_payment_various`
--

CREATE TABLE `llx_payment_various` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `num_payment` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `sens` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `fk_typepayment` int(11) NOT NULL,
  `accountancy_code` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `note` text COLLATE utf8_unicode_ci,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` 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_payment_various`
--


--
-- Table structure for table `llx_prelevement_bons`
--

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

--
-- Dumping data for table `llx_prelevement_bons`
--


--
-- Table structure for table `llx_prelevement_facture`
--

CREATE TABLE `llx_prelevement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) NOT NULL,
  `fk_prelevement_lignes` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`),
  CONSTRAINT `fk_prelevement_facture_fk_prelevement_lignes` FOREIGN KEY (`fk_prelevement_lignes`) REFERENCES `llx_prelevement_lignes` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_prelevement_facture`
--


--
-- Table structure for table `llx_prelevement_facture_demande`
--

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

--
-- Dumping data for table `llx_prelevement_facture_demande`
--


--
-- Table structure for table `llx_prelevement_lignes`
--

CREATE TABLE `llx_prelevement_lignes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `statut` smallint(6) DEFAULT '0',
  `client_nom` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` double(24,8) DEFAULT '0.00000000',
  `code_banque` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `code_guichet` varchar(6) COLLATE utf8_unicode_ci DEFAULT NULL,
  `number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cle_rib` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`),
  CONSTRAINT `fk_prelevement_lignes_fk_prelevement_bons` FOREIGN KEY (`fk_prelevement_bons`) REFERENCES `llx_prelevement_bons` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_prelevement_lignes`
--


--
-- Table structure for table `llx_prelevement_rejet`
--

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

--
-- Dumping data for table `llx_prelevement_rejet`
--


--
-- Table structure for table `llx_printing`
--

CREATE TABLE `llx_printing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `printer_name` text COLLATE utf8_unicode_ci NOT NULL,
  `printer_location` text COLLATE utf8_unicode_ci NOT NULL,
  `printer_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `copy` int(11) NOT NULL DEFAULT '1',
  `module` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `driver` varchar(16) COLLATE utf8_unicode_ci NOT NULL,
  `userid` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_printing`
--


--
-- Table structure for table `llx_product`
--

CREATE TABLE `llx_product` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_parent` int(11) DEFAULT '0',
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `note_public` text COLLATE utf8_unicode_ci,
  `note` text COLLATE utf8_unicode_ci,
  `customcode` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) COLLATE utf8_unicode_ci DEFAULT 'HT',
  `cost_price` double(24,8) DEFAULT NULL,
  `default_vat_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT '0.000',
  `localtax2_type` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT '1',
  `tobuy` tinyint(4) DEFAULT '1',
  `onportal` tinyint(4) DEFAULT '0',
  `tobatch` tinyint(4) NOT NULL DEFAULT '0',
  `fk_product_type` int(11) DEFAULT '0',
  `duration` varchar(6) COLLATE utf8_unicode_ci DEFAULT NULL,
  `seuil_stock_alerte` int(11) DEFAULT NULL,
  `url` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `barcode` varchar(180) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT NULL,
  `accountancy_code_sell` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_sell_intra` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_sell_export` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `accountancy_code_buy` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `partnumber` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `weight_units` tinyint(4) DEFAULT NULL,
  `length` float DEFAULT NULL,
  `length_units` tinyint(4) DEFAULT NULL,
  `width` float DEFAULT NULL,
  `width_units` tinyint(4) DEFAULT NULL,
  `height` float DEFAULT NULL,
  `height_units` tinyint(4) DEFAULT NULL,
  `surface` float DEFAULT NULL,
  `surface_units` tinyint(4) DEFAULT NULL,
  `volume` float DEFAULT NULL,
  `volume_units` tinyint(4) DEFAULT NULL,
  `stock` double DEFAULT NULL,
  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  `fifo` double(24,8) DEFAULT NULL,
  `lifo` double(24,8) DEFAULT NULL,
  `fk_default_warehouse` int(11) DEFAULT NULL,
  `canvas` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `finished` tinyint(4) DEFAULT NULL,
  `hidden` tinyint(4) DEFAULT '0',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `model_pdf` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_price_expression` int(11) DEFAULT NULL,
  `desiredstock` int(11) DEFAULT '0',
  `fk_unit` int(11) DEFAULT NULL,
  `price_autogen` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_product_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  KEY `idx_product_label` (`label`),
  KEY `idx_product_barcode` (`barcode`),
  KEY `idx_product_import_key` (`import_key`),
  KEY `idx_product_seuil_stock_alerte` (`seuil_stock_alerte`),
  KEY `idx_product_fk_country` (`fk_country`),
  KEY `idx_product_fk_user_author` (`fk_user_author`),
  KEY `idx_product_fk_barcode_type` (`fk_barcode_type`),
  KEY `fk_product_fk_unit` (`fk_unit`),
  KEY `fk_product_default_warehouse` (`fk_default_warehouse`),
  CONSTRAINT `fk_product_barcode_type` FOREIGN KEY (`fk_barcode_type`) REFERENCES `llx_c_barcode_type` (`rowid`),
  CONSTRAINT `fk_product_default_warehouse` FOREIGN KEY (`fk_default_warehouse`) REFERENCES `llx_entrepot` (`rowid`),
  CONSTRAINT `fk_product_fk_country` FOREIGN KEY (`fk_country`) REFERENCES `llx_c_country` (`rowid`),
  CONSTRAINT `fk_product_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
