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

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

INSERT INTO `llx_element_element` (`rowid`, `fk_source`, `sourcetype`, `fk_target`, `targettype`) VALUES (1,3,'propal',14,'facture'),(12,4,'propal',36,'facture'),(2,6,'propal',18,'facture'),(3,8,'propal',22,'facture'),(5,12,'propal',29,'facture'),(18,12,'propal',46,'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');

--
-- 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=50 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-05-16 12:04:31',0,0.00000000,NULL,NULL,0,'discount_vat','ARRONDIE',12562371.29000000,0.00000000,0.00000000,0.00000000,69790951.64000000,82353322.92999999,2,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);

--
-- 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=107 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);

--
-- 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=37 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);

--
-- 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=37 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);

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

--
-- Dumping data for table `llx_product`
--

INSERT INTO `llx_product` (`rowid`, `ref`, `entity`, `ref_ext`, `datec`, `tms`, `fk_parent`, `label`, `description`, `note_public`, `note`, `customcode`, `fk_country`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `cost_price`, `default_vat_code`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `fk_user_author`, `fk_user_modif`, `tosell`, `tobuy`, `onportal`, `tobatch`, `fk_product_type`, `duration`, `seuil_stock_alerte`, `url`, `barcode`, `fk_barcode_type`, `accountancy_code_sell`, `accountancy_code_sell_intra`, `accountancy_code_sell_export`, `accountancy_code_buy`, `partnumber`, `weight`, `weight_units`, `length`, `length_units`, `width`, `width_units`, `height`, `height_units`, `surface`, `surface_units`, `volume`, `volume_units`, `stock`, `pmp`, `fifo`, `lifo`, `fk_default_warehouse`, `canvas`, `finished`, `hidden`, `import_key`, `model_pdf`, `fk_price_expression`, `desiredstock`, `fk_unit`, `price_autogen`) VALUES (1,'PV-CCS-BA13-STD',1,NULL,'2019-01-29 09:31:14','2019-03-20 17:08:07',0,'Contre-cloison simple en BA13 Standart (m2)','Ensemble pour r&eacute;aliser une contre-cloison simple parement en BA13 Standart.<br />\r\nL&#39;unit&eacute; de tarification est le m2.',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',142171.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(2,'PLA-BA13-STD280',1,NULL,'2019-01-29 09:32:57','2019-01-29 10:59:05',0,'Plaque BA13 Standart','Plaque de pl&acirc;tre BA13 Standart 280',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'HT',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,2.8,0,1.2,NULL,0.013,NULL,3.36,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(3,'RAI-R48-300',1,NULL,'2019-01-29 09:34:07','2019-01-29 15:48:57',0,'Rail sol 300 (ml)','Rail sol pour cloison',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,3,0,0.48,NULL,0.3,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(4,'MON-M48-300',1,NULL,'2019-01-29 12:21:23','2019-01-29 16:51:45',0,'Montant métallique 300 (ml)','Montant m&eacute;tallique pour cloison (longueur 3m)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,3,0,0.48,NULL,0.35,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(5,'VIS-25',1,NULL,'2019-01-29 12:26:54','2019-01-29 15:23:45',0,'Vis placo 25mm (boite)','Vis placo 25mm',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(6,'VIS-FRAP',1,NULL,'2019-01-29 12:29:09','2019-01-29 15:24:06',0,'Vis à frapper 6mm (boite)','Vis &agrave; frapper 6mm',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(7,'BAN-STD',1,NULL,'2019-01-29 12:31:34','2019-01-29 15:21:22',0,'Bande à joint standard papier (ml)','Bande &agrave; joint standard papier par rouleaux de 150ml',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,150,0,0.5,NULL,0.001,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(8,'END-FIN',1,NULL,'2019-01-29 12:33:38','2019-01-29 15:21:52',0,'Enduit de finition pour placo (kg)','Enduit de finition pour placo en sac de 25kg.',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,25,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(9,'MO-PLAQ',1,NULL,'2019-01-29 12:55:43','2019-01-31 17:07:10',0,'Main d\'oeuvre plaquiste','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',70000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,1,'1d',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,'',0,0,NULL,NULL,NULL,NULL,NULL,0),(10,'FOU-F47-300',1,NULL,'2019-01-29 15:07:41','2019-01-29 15:46:22',0,'Fourrure F47 pour plafond 300 (ml)','Fourrure F47 pour plafond suspendu 300/14/47/0.55',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,3,0,0.047,NULL,0.017,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(11,'PLA-BA13-HYD280',1,NULL,'2019-01-29 15:10:04','2019-01-31 16:57:59',0,'Plaque de plâtre BA13 Hydrofugée','Plaque de pl&acirc;tre BA13 Hydrofug&eacute;e',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,2.8,0,1.2,NULL,0.013,NULL,3.36,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(12,'PLA-BA13-FEU280',1,NULL,'2019-01-29 15:12:00','2019-01-29 15:12:00',0,'Plaque de plâtre BA13 Ignifugée','Plaque de pl&acirc;tre BA13 Ignifug&eacute;e',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,2.8,0,1.2,NULL,0.013,NULL,3.36,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(13,'COR-300',1,NULL,'2019-01-29 15:19:59','2019-01-29 15:19:59',0,'Cornière pour plafond 300 (ml)','Corni&egrave;re de renfort pour plafond 300',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,3,0,0.034,NULL,0.023,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(14,'SUS-PIV-S47',1,NULL,'2019-01-29 15:26:16','2019-01-29 15:26:30',0,'Suspente pivot S47 (boîte)','Suspente pivot S47 pour tige filet&eacute;e M6 (bo&icirc;te de 100 pi&egrave;ces)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(15,'CHE-LAI-M6',1,NULL,'2019-01-29 15:28:36','2019-01-29 15:28:36',0,'Cheville laiton M6 (boîte)','Cheville laiton M6 pour dalle pleine (bo&icirc;te de 100 pi&egrave;ces)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(16,'RAC-FOU-F47',1,NULL,'2019-01-29 15:30:59','2019-01-29 15:30:59',0,'Raccord de fourrure F47 (Boîte)','Raccord de fourrure F47 pour plafond suspendu (Bo&icirc;te de 50 pi&egrave;ces)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(17,'VIS-45',1,NULL,'2019-01-29 15:33:29','2019-01-29 15:33:29',0,'Vis placo 45mm (boîte)','Vis placo 45mm (bo&icirc;te de 1000 pi&egrave;ces).',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(18,'BAN-ARM',1,NULL,'2019-01-29 15:35:31','2019-01-29 15:35:31',0,'Bande à joint armée (ml)','Bande &agrave; joint arm&eacute;e (rouleaux de 30ml)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,30,0,0.5,NULL,0.001,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(19,'TIG-FIL-M6',1,NULL,'2019-01-29 15:37:52','2019-01-29 15:37:52',0,'Tige filetée M6 (1m)','Tige filet&eacute;e M6 (1m &agrave; l&#39;unit&eacute;)',NULL,'','',12,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,1,0,0.006,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(20,'ISO-ULT-60',1,NULL,'2019-01-29 15:51:55','2019-01-29 15:51:55',0,'Isolant ultracoustic 60mm (m2)','Isolant ultracoustic 60mm R=1,60 (rouleau de 14.40m2)',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,12,0,1.2,NULL,0.06,NULL,14.4,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(21,'COL-DEM',1,NULL,'2019-01-29 15:58:25','2019-01-29 15:58:25',0,'Demi-collier spdct M6 (boîte)','Demi-collier spdct pour attache tige filet&eacute;e M6 (bo&icirc;te de 100 pi&egrave;ces)',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(22,'PV-PLA-BA13',1,NULL,'2019-01-29 16:54:10','2019-02-04 19:20:10',0,'Plafond suspendu en BA13 (m2)','Plafond suspendu en BA13 (m2)',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',119290.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(23,'PV-CLS-BA13-STD',1,NULL,'2019-01-31 17:34:01','2019-01-31 18:38:23',0,'CLOISON BA13','R&eacute;alisation d&#39;une cloison deux faces en parement simple BA13 Standart (m2)',NULL,'','',NULL,435249.00000000,513593.82000000,0.00000000,0.00000000,'HT',241805.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(24,'PEI-PRI-BA13',1,NULL,'2019-01-31 17:50:58','2019-02-07 17:49:08',0,'Peinture primaire BA13','Application d&#39;une sous-couche pour placo-pl&acirc;tre (m2)',NULL,'','',108,0.00000000,0.00000000,0.00000000,0.00000000,'HT',3200.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(25,'PEI-MUR-BLA',1,NULL,'2019-01-31 17:57:42','2019-02-07 17:37:10',0,'Peinture murale blanche','Application de deux couches de peinture murale, finition blanc mat (m2)',NULL,'','',108,0.00000000,0.00000000,0.00000000,0.00000000,'HT',10654.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(26,'MO-PEI',1,NULL,'2019-01-31 18:07:19','2019-01-31 18:17:13',0,'Main d\'oeuvre Peintre (m2)','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',6000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,1,'1h',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,'',0,0,NULL,NULL,NULL,NULL,NULL,0),(27,'CLIM-9000',1,NULL,'2019-01-31 18:20:03','2019-01-31 18:52:29',0,'CLIMATISATION 9000BTU','Fourniture et pose d&#39;une climatisation 9000BTU',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',2900000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',1,0,NULL,NULL,NULL,NULL,NULL,0),(28,'CLIM-12000',1,NULL,'2019-01-31 18:21:34','2019-01-31 18:36:44',0,'CLIMATISATION 12000 BTU','Fourniture et pose d&#39;une climatisation 12000BTU',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',3400000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(29,'CLIM-18000',1,NULL,'2019-01-31 18:22:36','2019-01-31 18:51:43',0,'CLIMATISATION 18000BTU','Fourniture et pose d&#39;une climatisation 18000BTU',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',4900000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(30,'CLIM-24000',1,NULL,'2019-01-31 18:23:59','2019-02-01 12:16:26',0,'CLIMATISATION 24000BTU','Fourniture et pose d&#39;une climatisation 24000BTU',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',5900000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(31,'PEI-PLA-BLA',1,NULL,'2019-02-07 17:39:28','2019-02-07 17:45:24',0,'Peinture plafond blanc','Fourniture et application de deux couches de peinture plafond, finition blanc mat (m2).',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',3600.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(32,'BRI-15',1,NULL,'2019-02-18 15:42:34','2019-02-18 15:43:02',0,'Brique industrielle 15','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',9000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,0.4,0,0.15,NULL,0.2,NULL,0.08,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(33,'CIM',1,NULL,'2019-02-18 15:43:54','2019-02-18 15:44:13',0,'Sac de ciment 42.5','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',75000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,50,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(34,'SAB',1,NULL,'2019-02-18 15:45:37','2019-02-18 15:45:59',0,'Sable fin','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'',100.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,0,1,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(35,'POR-ALU-90',1,NULL,'2019-02-18 16:11:23','2019-02-18 16:13:13',0,'Porte aluminium blanc 90/210','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',1500000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,2.1,0,0.9,NULL,0.1,NULL,NULL,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0),(36,'BAI-ALU',1,NULL,'2019-02-18 16:13:58','2019-02-18 16:15:57',0,'Baie aluminium blanc (m2)','',NULL,'','',NULL,0.00000000,0.00000000,0.00000000,0.00000000,'HT',700000.00000000,'TVA',18.000,0,0.000,'1',0.000,'0',2,2,1,1,0,0,0,'',NULL,NULL,NULL,NULL,'','','','',NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,1,0,NULL,0,NULL,0.00000000,NULL,NULL,NULL,'',NULL,0,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `llx_product_association`
--

CREATE TABLE `llx_product_association` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_pere` int(11) NOT NULL DEFAULT '0',
  `fk_product_fils` int(11) NOT NULL DEFAULT '0',
  `qty` double DEFAULT NULL,
  `incdec` int(11) DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
  KEY `idx_product_association_fils` (`fk_product_fils`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_association`
--

INSERT INTO `llx_product_association` (`rowid`, `fk_product_pere`, `fk_product_fils`, `qty`, `incdec`) VALUES (4,1,7,8,0),(5,1,8,3,0),(7,1,2,1,0),(8,1,3,2,0),(9,1,5,10,0),(10,1,6,8,0),(12,1,9,3,0),(13,1,4,3,0),(14,22,7,2.4,0),(15,22,15,0.034,0),(16,22,13,2,0),(17,22,8,2.5,0),(18,22,10,0.66,0),(19,22,2,0.3,0),(20,22,14,0.068,0),(21,22,19,3.4,0),(22,22,5,0.03,0),(23,22,6,5,0),(24,23,7,8,0),(25,23,8,4,0),(27,23,2,2,0),(28,23,3,2,0),(29,23,5,20,0),(30,23,6,8,0),(31,23,9,3,0),(32,23,4,4,0),(33,22,9,3,0);

--
-- Table structure for table `llx_product_attribute`
--

CREATE TABLE `llx_product_attribute` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `rang` int(11) NOT NULL DEFAULT '0',
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_ref` (`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_attribute`
--


--
-- Table structure for table `llx_product_attribute_combination`
--

CREATE TABLE `llx_product_attribute_combination` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_parent` int(11) NOT NULL,
  `fk_product_child` int(11) NOT NULL,
  `variation_price` float NOT NULL,
  `variation_price_percentage` int(11) DEFAULT NULL,
  `variation_weight` float NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_attribute_combination`
--


--
-- Table structure for table `llx_product_attribute_combination2val`
--

CREATE TABLE `llx_product_attribute_combination2val` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prod_combination` int(11) NOT NULL,
  `fk_prod_attr` int(11) NOT NULL,
  `fk_prod_attr_val` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_attribute_combination2val`
--


--
-- Table structure for table `llx_product_attribute_value`
--

CREATE TABLE `llx_product_attribute_value` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_attribute` int(11) NOT NULL,
  `ref` varchar(180) COLLATE utf8_unicode_ci DEFAULT NULL,
  `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_value` (`fk_product_attribute`,`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_attribute_value`
--


--
-- Table structure for table `llx_product_batch`
--

CREATE TABLE `llx_product_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product_stock` int(11) NOT NULL,
  `eatby` datetime DEFAULT NULL,
  `sellby` datetime DEFAULT NULL,
  `batch` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_batch` (`fk_product_stock`,`batch`),
  KEY `idx_fk_product_stock` (`fk_product_stock`),
  KEY `idx_batch` (`batch`),
  CONSTRAINT `fk_product_batch_fk_product_stock` FOREIGN KEY (`fk_product_stock`) REFERENCES `llx_product_stock` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_batch`
--


--
-- Table structure for table `llx_product_customer_price`
--

CREATE TABLE `llx_product_customer_price` (
  `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,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `price_ttc` double(24,8) DEFAULT '0.00000000',
  `price_min` double(24,8) DEFAULT '0.00000000',
  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  `price_base_type` varchar(3) COLLATE utf8_unicode_ci DEFAULT 'HT',
  `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` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_customer_price_fk_product_fk_soc` (`fk_product`,`fk_soc`),
  KEY `idx_product_customer_price_fk_user` (`fk_user`),
  KEY `idx_product_customer_price_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_product_customer_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_customer_price`
--


--
-- Table structure for table `llx_product_customer_price_log`
--

CREATE TABLE `llx_product_customer_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL DEFAULT '0',
  `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',
  `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` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_customer_price_log`
--


--
-- Table structure for table `llx_product_extrafields`
--

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

--
-- Dumping data for table `llx_product_extrafields`
--


--
-- Table structure for table `llx_product_fournisseur_price`
--

CREATE TABLE `llx_product_fournisseur_price` (
  `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,
  `fk_product` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `ref_fourn` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT '0',
  `remise` double NOT NULL DEFAULT '0',
  `unitprice` double(24,8) DEFAULT '0.00000000',
  `charges` double(24,8) DEFAULT '0.00000000',
  `default_vat_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva_tx` double(6,3) NOT NULL,
  `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',
  `info_bits` int(11) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `fk_supplier_price_expression` int(11) DEFAULT NULL,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  `delivery_time_days` int(11) DEFAULT NULL,
  `supplier_reputation` varchar(10) 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_unitprice` double(24,8) DEFAULT NULL,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_fournisseur_price_ref` (`ref_fourn`,`fk_soc`,`quantity`,`entity`),
  KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
  KEY `idx_product_fourn_price_fk_product` (`fk_product`,`entity`),
  KEY `idx_product_fourn_price_fk_soc` (`fk_soc`,`entity`),
  CONSTRAINT `fk_product_fournisseur_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_fournisseur_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_fournisseur_price`
--

INSERT INTO `llx_product_fournisseur_price` (`rowid`, `entity`, `datec`, `tms`, `fk_product`, `fk_soc`, `ref_fourn`, `fk_availability`, `price`, `quantity`, `remise_percent`, `remise`, `unitprice`, `charges`, `default_vat_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `info_bits`, `fk_user`, `fk_supplier_price_expression`, `import_key`, `delivery_time_days`, `supplier_reputation`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_unitprice`, `multicurrency_price`) VALUES (4,1,'2019-01-29 12:28:10','2019-01-29 12:41:42',5,23,'11_33_0012',0,96390.00000000,1,0,0,96390.00000000,0.00000000,NULL,0.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(13,1,'2019-01-29 15:27:22','2019-01-29 15:27:22',14,23,'11_03_0009',0,262521.00000000,1,0,0,262521.00000000,0.00000000,NULL,0.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(16,1,'2019-01-29 15:34:13','2019-01-29 15:34:13',17,23,'11_03_0034',0,157626.00000000,1,0,0,157626.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(18,1,'2019-01-29 15:38:59','2019-01-29 15:38:59',19,23,'11_20_0008',0,6237.00000000,1,0,0,6237.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(24,1,'2019-01-29 15:59:10','2019-01-29 15:59:10',21,25,'1006290',0,216027.00000000,100,0,0,2160.27000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(25,1,'2019-01-29 16:00:08','2019-01-29 16:00:08',16,25,'1000562',0,217350.00000000,100,0,0,2173.50000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(27,1,'2019-01-29 16:03:17','2019-01-29 16:03:17',16,23,'11_03_0027',0,175014.00000000,50,0,0,3500.28000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(28,1,'2019-01-29 16:04:42','2019-01-29 16:04:42',14,25,'1001070',0,217350.00000000,100,0,0,2173.50000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(29,1,'2019-01-29 16:05:47','2019-01-29 16:05:47',19,25,'117035',0,10395.00000000,1,0,0,10395.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(31,1,'2019-01-29 16:51:01','2019-01-29 16:51:01',5,25,'113025',0,102627.00000000,1000,0,0,102.62700000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(33,1,'2019-01-29 17:12:59','2019-01-29 17:12:59',6,23,'11_20_0007',0,131355.00000000,200,0,0,656.77500000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(34,1,'2019-01-29 17:15:45','2019-01-29 17:15:45',18,23,'11_20_0005',0,131355.00000000,30,0,0,4378.50000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(35,1,'2019-01-29 17:18:20','2019-01-29 17:18:20',15,23,'11_20_0017',0,175014.00000000,100,0,0,1750.14000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(36,1,'2019-01-29 17:20:08','2019-01-29 17:20:09',13,23,'11_03_0001',0,26255.00000000,3,0,0,8751.66667000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(37,1,'2019-01-29 17:22:37','2019-01-29 17:22:37',13,25,'1000323',0,29844.00000000,3,0,0,9948.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(38,1,'2019-01-31 16:23:50','2019-01-31 16:23:50',8,23,'11_20_0010',0,272000.00000000,25,0,0,10880.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(39,1,'2019-01-31 16:24:50','2019-01-31 16:24:50',10,23,'11_03_0002',0,35722.00000000,3,0,0,11907.33333000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(40,1,'2019-01-31 16:25:21','2019-01-31 16:25:21',10,25,'1000973',0,34020.00000000,3,0,0,11340.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(41,1,'2019-01-31 16:26:26','2019-01-31 16:26:26',20,25,'1012675',0,820260.00000000,14.4,0,0,56962.50000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(42,1,'2019-01-31 16:27:23','2019-01-31 16:27:23',4,23,'11_03_0003',0,44226.00000000,3,0,0,14742.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(43,1,'2019-01-31 16:28:22','2019-01-31 16:28:22',4,25,'636007',0,46494.00000000,3,0,0,15498.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(44,1,'2019-01-31 16:29:35','2019-01-31 16:29:35',12,23,'11_43_0011',0,194069.00000000,3.36,0,0,57758.63095000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(45,1,'2019-01-31 16:31:01','2019-01-31 16:31:01',12,25,'69515',0,349272.00000000,3,0,0,116424.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(46,1,'2019-01-31 16:58:33','2019-01-31 16:58:33',11,23,'11_02_0005',0,174000.00000000,3.36,0,0,51785.71429000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(47,1,'2019-01-31 16:59:24','2019-01-31 16:59:24',2,23,'11_02_0004',0,123835.00000000,3.36,0,0,36855.65476000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(48,1,'2019-01-31 17:00:35','2019-01-31 17:00:35',3,23,'11_03_0004',0,35721.00000000,3,0,0,11907.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(49,1,'2019-01-31 17:01:45','2019-01-31 17:01:45',3,25,'70925',0,36855.00000000,3,0,0,12285.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(51,1,'2019-01-31 17:29:44','2019-01-31 17:29:44',7,23,'11_20_0004',0,84105.00000000,150,0,0,560.70000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(53,1,'2019-01-31 17:56:12','2019-01-31 17:56:12',24,2,'BATIXXL PRIM',0,389830.00000000,100,20,0,3898.30000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,5,NULL,NULL,'',1.00000000,NULL,0.00000000),(54,1,'2019-01-31 17:59:34','2019-01-31 17:59:34',25,2,'AQUASTRIA SOYEUX BLANC',0,745770.00000000,70,20,0,10653.85714000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,5,NULL,NULL,'',1.00000000,NULL,0.00000000),(56,1,'2019-01-31 18:11:59','2019-01-31 18:11:59',9,24,'MO-PLA',0,70000.00000000,7,0,0,10000.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,NULL,NULL,NULL,'',1.00000000,NULL,0.00000000),(58,1,'2019-01-31 18:15:57','2019-01-31 18:15:57',26,24,'MO-PEI',0,6000.00000000,1,0,0,6000.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,2,NULL,NULL,'',1.00000000,NULL,0.00000000),(59,1,'2019-01-31 18:53:46','2019-01-31 18:53:46',27,9,'CLIM-9000',0,2457628.00000000,1,0,0,2457628.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,NULL,NULL,NULL,'',1.00000000,NULL,0.00000000),(60,1,'2019-02-01 12:32:48','2019-02-01 12:32:48',11,25,'52221',0,266490.00000000,3,0,0,88830.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,45,NULL,NULL,'',1.00000000,NULL,0.00000000),(61,1,'2019-02-07 17:42:07','2019-02-07 17:42:07',31,2,'KATEX',0,334750.00000000,75,20,0,4463.33333000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,2,'FAVORITE',NULL,'',1.00000000,NULL,0.00000000),(62,1,'2019-02-18 16:12:07','2019-02-18 16:12:07',35,15,'POR',0,1500000.00000000,1,0,0,1500000.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,NULL,NULL,NULL,'',1.00000000,NULL,0.00000000),(63,1,'2019-02-18 16:14:36','2019-02-18 16:14:36',36,15,'BAIE',0,700000.00000000,1,0,0,700000.00000000,0.00000000,NULL,18.000,0.000,'0',0.000,'0',0,2,NULL,NULL,NULL,NULL,NULL,'',1.00000000,NULL,0.00000000);

--
-- Table structure for table `llx_product_fournisseur_price_log`
--

CREATE TABLE `llx_product_fournisseur_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `fk_product_fournisseur` int(11) NOT NULL,
  `price` double(24,8) DEFAULT '0.00000000',
  `quantity` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `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_unitprice` double(24,8) DEFAULT NULL,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_fournisseur_price_log`
--


--
-- Table structure for table `llx_product_lang`
--

CREATE TABLE `llx_product_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) NOT NULL DEFAULT '0',
  `lang` varchar(5) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `note` text COLLATE utf8_unicode_ci,
  `import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`),
  CONSTRAINT `fk_product_lang_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_lang`
--


--
-- Table structure for table `llx_product_lot`
--

CREATE TABLE `llx_product_lot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT '1',
  `fk_product` int(11) NOT NULL,
  `batch` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `datec` 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,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lot` (`fk_product`,`batch`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_lot`
--


--
-- Table structure for table `llx_product_lot_extrafields`
--

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

--
-- Dumping data for table `llx_product_lot_extrafields`
--


--
-- Table structure for table `llx_product_price`
--

CREATE TABLE `llx_product_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_product` int(11) NOT NULL,
  `date_price` datetime NOT NULL,
  `price_level` smallint(6) DEFAULT '1',
  `price` double(24,8) DEFAULT NULL,
  `price_ttc` double(24,8) DEFAULT NULL,
  `price_min` double(24,8) DEFAULT NULL,
  `price_min_ttc` double(24,8) DEFAULT NULL,
  `price_base_type` varchar(3) COLLATE utf8_unicode_ci DEFAULT 'HT',
  `default_vat_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tva_tx` double(6,3) NOT 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,
  `tosell` tinyint(4) DEFAULT '1',
  `price_by_qty` int(11) NOT NULL DEFAULT '0',
  `fk_price_expression` 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_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_price_ttc` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_price_fk_user_author` (`fk_user_author`),
  KEY `idx_product_price_fk_product` (`fk_product`),
  CONSTRAINT `fk_product_price_product` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_product_price_user_author` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=142 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `llx_product_price`
--

INSERT INTO `llx_product_price` (`rowid`, `entity`, `tms`, `fk_product`, `date_price`, `price_level`, `price`, `price_ttc`, `price_min`, `price_min_ttc`, `price_base_type`, `default_vat_code`, `tva_tx`, `recuperableonly`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `fk_user_author`, `tosell`, `price_by_qty`, `fk_price_expression`, `import_key`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_price`, `multicurrency_price_ttc`) VALUES (1,1,'2019-01-29 09:31:14',1,'2019-01-29 09:31:14',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(2,1,'2019-01-29 09:32:57',2,'2019-01-29 09:32:57',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(3,1,'2019-01-29 09:34:07',3,'2019-01-29 09:34:07',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(4,1,'2019-01-29 10:59:04',2,'2019-01-29 10:59:04',1,51597.00000000,60884.46000000,36855.00000000,43488.90000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(5,1,'2019-01-29 10:59:05',2,'2019-01-29 10:59:05',2,58968.00000000,69582.24000000,36855.00000000,43488.90000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(6,1,'2019-01-29 10:59:05',2,'2019-01-29 10:59:05',3,66339.00000000,78280.02000000,36855.00000000,43488.90000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(7,1,'2019-01-29 10:59:05',2,'2019-01-29 10:59:05',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(8,1,'2019-01-29 10:59:05',2,'2019-01-29 10:59:05',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(9,1,'2019-01-29 12:21:23',4,'2019-01-29 12:21:23',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(10,1,'2019-01-29 12:26:54',5,'2019-01-29 12:26:54',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(11,1,'2019-01-29 12:29:09',6,'2019-01-29 12:29:09',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(12,1,'2019-01-29 12:31:34',7,'2019-01-29 12:31:34',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(13,1,'2019-01-29 12:33:38',8,'2019-01-29 12:33:38',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(14,1,'2019-01-29 12:49:09',1,'2019-01-29 12:49:09',1,250000.00000000,295000.00000000,200000.00000000,236000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(15,1,'2019-01-29 12:49:09',1,'2019-01-29 12:49:09',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(16,1,'2019-01-29 12:49:09',1,'2019-01-29 12:49:09',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(17,1,'2019-01-29 12:49:09',1,'2019-01-29 12:49:09',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(18,1,'2019-01-29 12:49:09',1,'2019-01-29 12:49:09',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(19,1,'2019-01-29 12:55:43',9,'2019-01-29 12:55:43',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(20,1,'2019-01-29 15:07:41',10,'2019-01-29 15:07:41',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(21,1,'2019-01-29 15:10:04',11,'2019-01-29 15:10:04',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(22,1,'2019-01-29 15:12:00',12,'2019-01-29 15:12:00',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(23,1,'2019-01-29 15:19:59',13,'2019-01-29 15:19:59',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(24,1,'2019-01-29 15:26:16',14,'2019-01-29 15:26:16',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(25,1,'2019-01-29 15:28:36',15,'2019-01-29 15:28:36',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(26,1,'2019-01-29 15:30:59',16,'2019-01-29 15:30:59',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(27,1,'2019-01-29 15:33:29',17,'2019-01-29 15:33:29',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(28,1,'2019-01-29 15:35:31',18,'2019-01-29 15:35:31',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(29,1,'2019-01-29 15:37:52',19,'2019-01-29 15:37:52',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(30,1,'2019-01-29 15:51:55',20,'2019-01-29 15:51:55',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(31,1,'2019-01-29 15:58:25',21,'2019-01-29 15:58:25',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(32,1,'2019-01-29 16:54:10',22,'2019-01-29 16:54:10',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(33,1,'2019-01-31 17:07:10',9,'2019-01-31 17:07:10',1,100000.00000000,118000.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(34,1,'2019-01-31 17:07:10',9,'2019-01-31 17:07:10',2,130000.00000000,153400.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(35,1,'2019-01-31 17:07:10',9,'2019-01-31 17:07:10',3,150000.00000000,177000.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(36,1,'2019-01-31 17:07:10',9,'2019-01-31 17:07:10',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(37,1,'2019-01-31 17:07:10',9,'2019-01-31 17:07:10',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(39,1,'2019-01-31 17:40:33',23,'2019-01-31 17:40:33',1,314345.00000000,370927.10000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(40,1,'2019-01-31 17:40:33',23,'2019-01-31 17:40:33',2,338527.00000000,399461.86000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(41,1,'2019-01-31 17:40:33',23,'2019-01-31 17:40:33',3,362707.00000000,427994.26000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(42,1,'2019-01-31 17:40:33',23,'2019-01-31 17:40:33',4,386888.00000000,456527.84000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(43,1,'2019-01-31 17:40:33',23,'2019-01-31 17:40:33',5,435249.00000000,513593.82000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(44,1,'2019-01-31 17:50:58',24,'2019-01-31 17:50:58',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(45,1,'2019-01-31 17:57:42',25,'2019-01-31 17:57:42',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(46,1,'2019-01-31 18:02:51',25,'2019-01-31 18:02:51',1,12786.00000000,15087.48000000,10500.00000000,12390.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(47,1,'2019-01-31 18:02:51',25,'2019-01-31 18:02:51',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(48,1,'2019-01-31 18:02:52',25,'2019-01-31 18:02:52',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(49,1,'2019-01-31 18:02:52',25,'2019-01-31 18:02:52',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(50,1,'2019-01-31 18:02:52',25,'2019-01-31 18:02:52',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(51,1,'2019-01-31 18:04:14',24,'2019-01-31 18:04:14',1,5069.00000000,5981.42000000,3900.00000000,4602.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(52,1,'2019-01-31 18:04:14',24,'2019-01-31 18:04:14',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(53,1,'2019-01-31 18:04:14',24,'2019-01-31 18:04:14',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(54,1,'2019-01-31 18:04:14',24,'2019-01-31 18:04:14',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(55,1,'2019-01-31 18:04:14',24,'2019-01-31 18:04:14',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(56,1,'2019-01-31 18:07:19',26,'2019-01-31 18:07:19',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(57,1,'2019-01-31 18:17:13',26,'2019-01-31 18:17:13',1,11000.00000000,12980.00000000,8000.00000000,9440.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(58,1,'2019-01-31 18:17:13',26,'2019-01-31 18:17:13',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(59,1,'2019-01-31 18:17:13',26,'2019-01-31 18:17:13',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(60,1,'2019-01-31 18:17:13',26,'2019-01-31 18:17:13',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(61,1,'2019-01-31 18:17:13',26,'2019-01-31 18:17:13',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(62,1,'2019-01-31 18:20:03',27,'2019-01-31 18:20:03',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(63,1,'2019-01-31 18:20:58',27,'2019-01-31 18:20:58',1,3700000.00000000,4366000.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(64,1,'2019-01-31 18:20:58',27,'2019-01-31 18:20:58',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(65,1,'2019-01-31 18:20:58',27,'2019-01-31 18:20:58',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(66,1,'2019-01-31 18:20:58',27,'2019-01-31 18:20:58',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(67,1,'2019-01-31 18:20:58',27,'2019-01-31 18:20:58',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(68,1,'2019-01-31 18:21:34',28,'2019-01-31 18:21:34',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(69,1,'2019-01-31 18:22:36',29,'2019-01-31 18:22:36',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(70,1,'2019-01-31 18:23:31',29,'2019-01-31 18:23:31',1,5900000.00000000,6962000.00000000,5400000.00000000,6372000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(71,1,'2019-01-31 18:23:31',29,'2019-01-31 18:23:31',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(72,1,'2019-01-31 18:23:31',29,'2019-01-31 18:23:31',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(73,1,'2019-01-31 18:23:31',29,'2019-01-31 18:23:31',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(74,1,'2019-01-31 18:23:31',29,'2019-01-31 18:23:31',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(75,1,'2019-01-31 18:23:59',30,'2019-01-31 18:23:59',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(76,1,'2019-01-31 18:24:34',30,'2019-01-31 18:24:34',1,6900000.00000000,8142000.00000000,6400000.00000000,7552000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(77,1,'2019-01-31 18:24:34',30,'2019-01-31 18:24:34',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(78,1,'2019-01-31 18:24:34',30,'2019-01-31 18:24:34',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(79,1,'2019-01-31 18:24:34',30,'2019-01-31 18:24:34',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(80,1,'2019-01-31 18:24:34',30,'2019-01-31 18:24:34',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(81,1,'2019-01-31 18:26:18',28,'2019-01-31 18:26:18',1,4400000.00000000,5192000.00000000,3900000.00000000,4602000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(82,1,'2019-01-31 18:26:18',28,'2019-01-31 18:26:18',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(83,1,'2019-01-31 18:26:18',28,'2019-01-31 18:26:18',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(84,1,'2019-01-31 18:26:19',28,'2019-01-31 18:26:19',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(85,1,'2019-01-31 18:26:19',28,'2019-01-31 18:26:19',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(86,1,'2019-01-31 18:30:56',27,'2019-01-31 18:30:56',1,3400000.00000000,4012000.00000000,3000000.00000000,3540000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(87,1,'2019-01-31 18:30:56',27,'2019-01-31 18:30:56',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(88,1,'2019-01-31 18:30:56',27,'2019-01-31 18:30:56',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(89,1,'2019-01-31 18:30:56',27,'2019-01-31 18:30:56',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(90,1,'2019-01-31 18:30:56',27,'2019-01-31 18:30:56',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(91,1,'2019-01-31 18:31:38',28,'2019-01-31 18:31:38',1,3900000.00000000,4602000.00000000,3500000.00000000,4130000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(92,1,'2019-01-31 18:31:38',28,'2019-01-31 18:31:38',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(93,1,'2019-01-31 18:31:38',28,'2019-01-31 18:31:38',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(94,1,'2019-01-31 18:31:39',28,'2019-01-31 18:31:39',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(95,1,'2019-01-31 18:31:39',28,'2019-01-31 18:31:39',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(96,1,'2019-01-31 18:32:10',29,'2019-01-31 18:32:10',1,5400000.00000000,6372000.00000000,5000000.00000000,5900000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(97,1,'2019-01-31 18:32:10',29,'2019-01-31 18:32:10',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(98,1,'2019-01-31 18:32:10',29,'2019-01-31 18:32:10',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(99,1,'2019-01-31 18:32:10',29,'2019-01-31 18:32:10',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(100,1,'2019-01-31 18:32:10',29,'2019-01-31 18:32:10',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(101,1,'2019-01-31 18:32:37',30,'2019-01-31 18:32:37',1,6500000.00000000,7670000.00000000,6000000.00000000,7080000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(102,1,'2019-01-31 18:32:37',30,'2019-01-31 18:32:37',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(103,1,'2019-01-31 18:32:37',30,'2019-01-31 18:32:37',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(104,1,'2019-01-31 18:32:37',30,'2019-01-31 18:32:37',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(105,1,'2019-01-31 18:32:37',30,'2019-01-31 18:32:37',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(106,1,'2019-02-04 19:17:07',22,'2019-02-04 19:17:07',1,167000.00000000,197060.00000000,155000.00000000,182900.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(107,1,'2019-02-04 19:17:07',22,'2019-02-04 19:17:07',2,179000.00000000,211220.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(108,1,'2019-02-04 19:17:07',22,'2019-02-04 19:17:07',3,190900.00000000,225262.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(109,1,'2019-02-04 19:17:07',22,'2019-02-04 19:17:07',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(110,1,'2019-02-04 19:17:07',22,'2019-02-04 19:17:07',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(111,1,'2019-02-04 19:20:10',22,'2019-02-04 19:20:10',1,167000.00000000,197060.00000000,143000.00000000,168740.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(112,1,'2019-02-04 19:20:10',22,'2019-02-04 19:20:10',2,179000.00000000,211220.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(113,1,'2019-02-04 19:20:10',22,'2019-02-04 19:20:10',3,190900.00000000,225262.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(114,1,'2019-02-04 19:20:10',22,'2019-02-04 19:20:10',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(115,1,'2019-02-04 19:20:10',22,'2019-02-04 19:20:10',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(116,1,'2019-02-07 17:39:28',31,'2019-02-07 17:39:28',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(117,1,'2019-02-07 17:45:24',31,'2019-02-07 17:45:24',1,4200.00000000,4956.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(118,1,'2019-02-07 17:45:24',31,'2019-02-07 17:45:24',2,4000.00000000,4720.00000000,3700.00000000,4366.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(119,1,'2019-02-07 17:45:24',31,'2019-02-07 17:45:24',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(120,1,'2019-02-07 17:45:24',31,'2019-02-07 17:45:24',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(121,1,'2019-02-07 17:45:24',31,'2019-02-07 17:45:24',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(122,1,'2019-02-18 15:42:34',32,'2019-02-18 15:42:34',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(123,1,'2019-02-18 15:43:54',33,'2019-02-18 15:43:54',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(124,1,'2019-02-18 15:45:37',34,'2019-02-18 15:45:37',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(125,1,'2019-02-18 16:11:23',35,'2019-02-18 16:11:23',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(126,1,'2019-02-18 16:13:13',35,'2019-02-18 16:13:13',1,2400000.00000000,2832000.00000000,1900000.00000000,2242000.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(127,1,'2019-02-18 16:13:13',35,'2019-02-18 16:13:13',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(128,1,'2019-02-18 16:13:13',35,'2019-02-18 16:13:13',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(129,1,'2019-02-18 16:13:14',35,'2019-02-18 16:13:14',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(130,1,'2019-02-18 16:13:14',35,'2019-02-18 16:13:14',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(131,1,'2019-02-18 16:13:58',36,'2019-02-18 16:13:58',1,0.00000000,0.00000000,0.00000000,0.00000000,'','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(132,1,'2019-02-18 16:15:57',36,'2019-02-18 16:15:57',1,980000.00000000,1156400.00000000,910000.00000000,1073800.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(133,1,'2019-02-18 16:15:57',36,'2019-02-18 16:15:57',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(134,1,'2019-02-18 16:15:57',36,'2019-02-18 16:15:57',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(135,1,'2019-02-18 16:15:57',36,'2019-02-18 16:15:57',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(136,1,'2019-02-18 16:15:57',36,'2019-02-18 16:15:57',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(137,1,'2019-03-20 17:08:07',1,'2019-03-20 17:08:07',1,250000.00000000,295000.00000000,160000.00000000,188800.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(138,1,'2019-03-20 17:08:07',1,'2019-03-20 17:08:07',2,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(139,1,'2019-03-20 17:08:07',1,'2019-03-20 17:08:07',3,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(140,1,'2019-03-20 17:08:07',1,'2019-03-20 17:08:07',4,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL),(141,1,'2019-03-20 17:08:07',1,'2019-03-20 17:08:07',5,0.00000000,0.00000000,0.00000000,0.00000000,'HT','TVA',18.000,0,0.000,'1',0.000,'0',2,1,0,NULL,NULL,NULL,NULL,1.00000000,NULL,NULL);

--
