-- Table structure for table `llx_contrat`
--

CREATE TABLE `llx_contrat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_supplier` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_contrat` datetime DEFAULT NULL,
  `signed_status` smallint(6) DEFAULT NULL,
  `statut` smallint(6) DEFAULT 0,
  `mise_en_service` datetime DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_commercial_signature` int(11) DEFAULT NULL,
  `fk_commercial_suivi` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT 0,
  `fk_user_mise_en_service` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `ref_customer` varchar(128) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `online_sign_ip` varchar(48) DEFAULT NULL,
  `online_sign_name` varchar(64) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `revenuestamp` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `denormalized_lower_planned_end_date` datetime DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
  KEY `idx_contrat_fk_soc` (`fk_soc`),
  KEY `idx_contrat_fk_user_author` (`fk_user_author`),
  CONSTRAINT `fk_contrat_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_contrat_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_contrat` VALUES
(1,'CONTRACT1',NULL,NULL,1,'2025-03-12 18:31:17','2012-07-09 01:53:25','2012-07-09 00:00:00',NULL,0,NULL,NULL,NULL,3,NULL,2,2,1,NULL,NULL,NULL,NULL,'strato',NULL,NULL,NULL,NULL,'contract/CONTRACT1/CONTRACT1.pdf',NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(2,'CONTRAT1',NULL,NULL,1,'2026-02-15 20:03:34','2012-07-10 18:13:37','2012-07-10 00:00:00',NULL,1,NULL,NULL,NULL,2,NULL,2,2,1,NULL,NULL,NULL,NULL,'strato',NULL,NULL,NULL,NULL,'contract/CONTRAT1/CONTRAT1.pdf',NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'2023-01-02 00:00:00'),
(3,'CT1303-0001',NULL,NULL,1,'2026-02-15 20:03:34','2015-03-06 10:04:57','2015-03-06 00:00:00',NULL,1,NULL,NULL,NULL,19,NULL,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'2015-03-07 12:00:00'),
(5,'CT2501-0003',NULL,NULL,1,'2025-01-03 14:26:46','2025-01-03 14:59:56','2025-01-03 14:59:56',0,1,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,NULL,NULL,NULL,'testldr1.with1.home.lan',NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(6,'CT2501-0004',NULL,NULL,1,'2025-06-04 17:45:54','2025-01-03 15:05:10','2025-01-03 15:05:10',0,1,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,NULL,NULL,NULL,'testldr1b.with1.home.lan',NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(7,'CT2501-0002',NULL,NULL,1,'2025-01-03 14:26:46','2025-01-03 15:08:56','2025-01-03 15:08:56',0,1,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,NULL,NULL,NULL,'testldr1c.with1.home.lan',NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(8,'(PROV8)',NULL,NULL,1,'2025-01-03 14:13:54','2025-01-03 15:13:54','2025-01-03 15:13:54',0,0,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,NULL,NULL,NULL,'testldr1d.with1.home.lan',NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(9,'(PROV9)',NULL,NULL,1,'2025-03-12 19:10:46','2025-01-03 15:17:40','2025-01-03 15:17:40',0,0,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,'strato',NULL,NULL,'testldre.with1.home.lan',NULL,'contract/(PROV9)/(PROV9).pdf',NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(10,'(PROV10)',NULL,NULL,1,'2025-01-28 16:39:40','2025-01-28 17:39:40','2025-01-28 17:39:40',0,0,NULL,NULL,NULL,39,NULL,29,29,29,NULL,NULL,'Contract created from the online instance registration form or the customer dashboard. forcesubdomain was empty.',NULL,NULL,NULL,NULL,'aaa.with1.home.lan',NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(14,'(PROV14)',NULL,NULL,1,'2025-06-26 17:54:04','2025-06-26 17:54:04','2025-06-26 00:00:00',0,0,NULL,NULL,NULL,32,NULL,12,12,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL);

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

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

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

INSERT INTO `llx_contratdet` VALUES
(2,'2023-01-25 15:43:02',2,NULL,4,'','Abonnement annuel assurance',NULL,NULL,'2012-07-10 00:00:00','2023-01-03 12:00:00','2023-01-04 12:00:00',NULL,1.000,'',0.000,'',0.000,'',1,0,10.00000000,0.00000000,10.00000000,0.10000000,0.00000000,0.00000000,10.10000000,1,0,1,NULL,0.00000000,0,12,NULL,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(3,'2023-01-25 15:43:02',2,3,4,'','gdfg',NULL,NULL,'2012-07-10 00:00:00','2023-01-03 12:00:00','2023-01-04 12:00:00',NULL,4.000,'',0.000,'',0.000,'',1,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,0,2,0,0.00000000,0,12,1,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(4,'2025-04-09 15:23:04',2,3,4,'','',NULL,NULL,'2012-07-10 00:00:00','2025-04-09 17:23:04','2023-01-02 00:00:00',NULL,0.000,'',0.000,'',0.000,'',1,10,40.00000000,0.00000000,36.00000000,0.00000000,0.00000000,0.00000000,36.00000000,1,0,3,NULL,0.00000000,0,12,12,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(5,'2022-12-11 21:23:42',3,NULL,4,'','gfdg',NULL,NULL,NULL,'2015-03-06 12:00:00','2015-03-07 12:00:00',NULL,0.000,'',0.000,'',0.000,'',1,0,10.00000000,0.00000000,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,1,0,1,0,0.00000000,0,1,1,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(17,'2025-01-03 13:59:56',5,12,0,'','Service SaaS d&#39;hébergement de la solution Dolibarr ERP CRM',NULL,NULL,'2025-01-03 14:59:56',NULL,'2025-01-18 14:59:56',NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,0,NULL,8.50000000,0,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(18,'2025-06-04 17:45:54',6,12,5,'','Service SaaS d&#39;hébergement de la solution Dolibarr ERP CRM',NULL,NULL,'2025-01-03 15:05:10',NULL,'2027-01-18 15:05:10','2025-06-04 17:45:54',0.000,'',0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,0,NULL,8.50000000,0,NULL,12,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(19,'2025-03-25 23:57:06',7,12,0,'','Service SaaS d&#39;hébergement de la solution Dolibarr ERP CRM',NULL,NULL,'2025-01-03 15:08:56',NULL,'2025-01-23 15:08:56',NULL,0.000,'',0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,0,NULL,8.50000000,0,NULL,NULL,'',NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(20,'2025-01-03 14:13:54',8,12,0,'','Service SaaS d&#39;hébergement de la solution Dolibarr ERP CRM',NULL,NULL,'2025-01-03 15:13:54',NULL,'2025-01-18 15:13:54',NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,0,NULL,8.50000000,0,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(22,'2025-01-28 16:39:40',10,12,0,'','Service SaaS d&#39;hébergement de la solution Dolibarr ERP CRM',NULL,NULL,'2025-01-28 17:39:40',NULL,'2025-02-12 17:39:40',NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,0,NULL,8.50000000,0,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(27,'2025-03-12 18:35:22',1,12,0,'','Ceci est une description...',NULL,NULL,NULL,NULL,NULL,NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,1,0,8.50000000,0,NULL,NULL,NULL,1,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(29,'2025-03-12 18:46:33',9,12,0,'','Ceci est une description...<br>\na<br>\n<strong>et la suite</strong><br>\na<br>\naaaa',NULL,NULL,NULL,NULL,NULL,NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,1,0,8.50000000,0,NULL,NULL,NULL,1,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(35,'2025-03-12 19:07:45',9,12,0,'','Ceci est une description...<br>\na<br>\n<strong>et la suite</strong><br>\na<br>\naaaa<br>\nzzzzz',NULL,NULL,NULL,NULL,NULL,NULL,0.000,NULL,0.000,'0',0.000,'0',1,0,9.00000000,0.00000000,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,0,2,0,8.50000000,0,NULL,NULL,NULL,1,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL);

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

CREATE TABLE `llx_contratdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_contratdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


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

CREATE TABLE `llx_cronjob` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `jobtype` varchar(10) NOT NULL,
  `label` varchar(255) NOT NULL,
  `command` varchar(255) DEFAULT NULL,
  `classesname` varchar(255) DEFAULT NULL,
  `objectname` varchar(255) DEFAULT NULL,
  `methodename` varchar(255) DEFAULT NULL,
  `params` text DEFAULT NULL,
  `md5params` varchar(32) DEFAULT NULL,
  `module_name` varchar(255) DEFAULT NULL,
  `priority` int(11) DEFAULT 0,
  `datelastrun` datetime DEFAULT NULL,
  `datenextrun` datetime DEFAULT NULL,
  `datestart` datetime DEFAULT NULL,
  `dateend` datetime DEFAULT NULL,
  `datelastresult` datetime DEFAULT NULL,
  `lastresult` text DEFAULT NULL,
  `lastoutput` text DEFAULT NULL,
  `unitfrequency` varchar(255) NOT NULL DEFAULT '3600',
  `frequency` int(11) NOT NULL DEFAULT 0,
  `nbrun` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `libname` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT 0,
  `maxrun` int(11) NOT NULL DEFAULT 0,
  `autodelete` int(11) DEFAULT 0,
  `fk_mailing` int(11) DEFAULT NULL,
  `test` varchar(255) DEFAULT '1',
  `processing` int(11) NOT NULL DEFAULT 0,
  `email_alert` varchar(128) DEFAULT NULL,
  `pid` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_cronjob` (`label`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_cronjob` VALUES
(1,'2015-03-23 18:18:39','2015-03-23 19:18:39','command','aaa','aaaa','','','','','','',0,NULL,NULL,'2015-03-23 19:18:00',NULL,NULL,NULL,NULL,'3600',3600,0,0,1,1,'',NULL,0,0,0,NULL,'1',0,NULL,NULL),
(40,'2018-11-23 11:58:15','2018-11-23 12:58:15','method','SendEmailsReminders',NULL,'comm/action/class/actioncomm.class.php','ActionComm','sendEmailsReminder',NULL,NULL,'agenda',10,NULL,NULL,'2018-11-23 12:58:15',NULL,NULL,NULL,NULL,'60',10,NULL,1,NULL,NULL,'SendEMailsReminder',NULL,1,0,0,NULL,'$conf->agenda->enabled',0,NULL,NULL),
(41,'2018-11-23 11:58:16','2018-11-23 12:58:16','method','PurgeDeleteTemporaryFilesShort',NULL,'core/class/utils.class.php','Utils','purgeFiles',NULL,NULL,'cron',50,NULL,NULL,'2018-11-23 12:58:16',NULL,NULL,NULL,NULL,'604800',2,NULL,1,NULL,NULL,'PurgeDeleteTemporaryFiles',NULL,0,0,0,NULL,'1',0,NULL,NULL),
(42,'2026-01-11 17:46:26','2018-11-23 12:58:16','method','MakeLocalDatabaseDumpShort',NULL,'core/class/utils.class.php','Utils','dumpDatabase','none,auto,1,auto,10',NULL,'cron',90,'2020-01-15 19:43:12','2020-01-17 12:58:16','2018-11-23 12:58:16',NULL,'2020-01-15 19:43:12','-1','Failed to run external command. Check it is available and runnable by your PHP server. If PHP <b>Safe Mode</b> is enabled, check that command is inside a directory defined by parameter <b>safe_mode_exec_dir</b>.\nFailed to run external command. Check it is available and runnable by your PHP server. If PHP <b>Safe Mode</b> is enabled, check that command is inside a directory defined by parameter <b>safe_mode_exec_dir</b>.','604800',1,2,1,NULL,12,'MakeLocalDatabaseDump',NULL,0,0,0,NULL,'getDolDBType() == \'mysqli\'',0,NULL,NULL),
(43,'2022-07-04 01:11:54','2018-11-23 12:58:17','method','RecurringInvoicesJob',NULL,'compta/facture/class/facture-rec.class.php','FactureRec','createRecurringInvoices',NULL,NULL,'facture',50,NULL,NULL,'2018-11-23 23:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Generate recurring invoices',NULL,1,0,0,NULL,'$conf->facture->enabled',0,NULL,NULL),
(45,'2020-01-01 12:00:34','2020-01-01 16:00:34','method','MyJob label',NULL,'/captureserver/class/myobject.class.php','MyObject','doScheduledJob',NULL,NULL,'captureserver',0,NULL,NULL,'2020-01-01 16:00:34',NULL,NULL,NULL,NULL,'3600',2,NULL,0,NULL,NULL,'Comment',NULL,1,0,0,NULL,'$conf->captureserver->enabled',0,NULL,NULL),
(46,'2020-01-12 20:13:55','2020-01-13 00:13:55','method','Email collector',NULL,'/emailcollector/class/emailcollector.class.php','EmailCollector','doCollect',NULL,NULL,'emailcollector',50,NULL,NULL,'2020-01-13 00:13:55',NULL,NULL,NULL,NULL,'60',5,NULL,1,NULL,NULL,'Comment',NULL,1,0,0,NULL,'$conf->emailcollector->enabled',0,NULL,NULL),
(48,'2021-07-11 17:49:46','2021-07-11 19:49:46','method','SendEmailsRemindersOnInvoiceDueDate',NULL,'compta/facture/class/facture.class.php','Facture','sendEmailsRemindersOnInvoiceDueDate','10,all,EmailTemplateCode',NULL,'facture',50,NULL,NULL,'2021-07-11 23:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,0,NULL,NULL,'Send an emails when the unpaid invoices reach a due date + n days = today. First param is the offset n of days, second parameter is \"all\" or a payment mode code, last paramater is the code of email template to use (an email template with EmailTemplateCode must exists. the version in the language of the thirdparty will be used in priority).',NULL,1,0,0,NULL,'$conf->facture->enabled',0,NULL,NULL),
(49,'2022-02-07 13:38:17','2022-02-07 13:38:17','method','HolidayBalanceMonthlyUpdate',NULL,'holiday/class/holiday.class.php','Holiday','updateBalance',NULL,NULL,'holiday',50,NULL,NULL,'2022-02-07 04:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Update holiday balance every month',NULL,1,0,0,NULL,'$conf->holiday->enabled',0,NULL,NULL),
(50,'2026-01-11 17:46:26','2022-07-04 01:12:18','method','MakeSendLocalDatabaseDumpShort',NULL,'core/class/utils.class.php','Utils','sendDumpDatabase',',,,,,sql',NULL,'cron',91,NULL,NULL,'2022-07-04 01:12:18',NULL,NULL,NULL,NULL,'604800',1,NULL,0,NULL,NULL,'MakeSendLocalDatabaseDump',NULL,0,0,0,NULL,'getDolGlobalString(\'MAIN_ALLOW_BACKUP_BY_EMAIL\') && getDolDBType() == \'mysqli\'',0,NULL,NULL),
(51,'2022-07-04 01:12:18','2022-07-04 01:12:18','method','RecurringSupplierInvoicesJob',NULL,'fourn/class/fournisseur.facture-rec.class.php','FactureFournisseurRec','createRecurringInvoices',NULL,NULL,'fournisseur',51,NULL,NULL,'2022-07-04 23:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Generate recurring supplier invoices',NULL,1,0,0,NULL,'',0,NULL,NULL),
(52,'2022-12-11 21:23:42','2022-12-11 21:23:42','method','CleanUnfinishedCronjobShort',NULL,'core/class/utils.class.php','Utils','cleanUnfinishedCronjob',NULL,NULL,'cron',10,NULL,NULL,'2022-12-11 21:23:42',NULL,NULL,NULL,NULL,'60',5,NULL,0,NULL,NULL,'CleanUnfinishedCronjob',NULL,0,0,0,NULL,'getDolGlobalInt(\"MAIN_FEATURES_LEVEL\") >= 2',0,NULL,NULL),
(53,'2022-12-11 21:23:43','2022-12-11 21:23:43','method','HolidayBalanceMonthlyUpdate:holiday',NULL,'holiday/class/holiday.class.php','Holiday','updateBalance',NULL,NULL,'holiday',50,NULL,NULL,'2022-12-11 04:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Update holiday balance every month',NULL,1,0,0,NULL,'$conf->holiday->enabled',0,NULL,NULL),
(54,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasValidateDraftInvoices',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doValidateDraftInvoices',NULL,NULL,'sellyoursaas',61,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Search draft invoices on sellyoursaas customers and check they are linked to a not closed contract. Validate it if not and if there is not another validated invoice, do nothing if closed. You can set the id of a thirdparty as parameter to restrict the batch to a given thirdparty.',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(55,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasAlertSoftEndTrial',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doAlertSoftEndTrial',NULL,NULL,'sellyoursaas',62,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'60',30,NULL,1,NULL,NULL,'Search contracts of sellyoursaas customers that are deployed + with open lines + about to expired (= date between (end date - SELLYOURSAAS_NBDAYS_BEFORE_TRIAL_END_FOR_SOFT_ALERT) and (end date - SELLYOURSAAS_NBDAYS_BEFORE_TRIAL_END_FOR_SOFT_ALERT + 7)) + not yet already warned (date_softalert_endfreeperiod is null), then send email remind',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(56,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasAlertCreditCardExpiration',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doAlertCreditCardExpiration','1, 20',NULL,'sellyoursaas',65,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Send warning to sellyoursaas customers with an active recurring invoice when default payment mode is credit card and it will expire at end of month',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(57,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasTakePaymentStripe',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doTakePaymentStripe','0, 0',NULL,'sellyoursaas',75,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Loop on invoice for customer with default payment mode Stripe and take payment/send email. Unsuspend if it was suspended and all payments are now ok (done by trigger BILL_CANCEL or BILL_PAYED). First parameter is the maximum number of payments processed in one run. Second parameter is 1 to disable email to customer if payment fails.',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(58,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasRefreshContracts',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doRefreshContracts',NULL,NULL,'sellyoursaas',77,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Loop on each contract. If it is a paid contract, and there is no unpaid invoice for contract, and line not suspended and end date <= today + 2 days (so expired or soon expired, we must be sure to make refresh before new generation of invoice), we update qty on contract + qty on linked template invoice',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(59,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasRenewalContracts',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doRenewalContracts',NULL,NULL,'sellyoursaas',78,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Loop on each contract. If it is a paid contract, and there is no unpaid invoice for contract, and line not suspended and end date <= today - 1 day (so expired, we must be sure to make renewal after generation of invoice with 2 chances of invoice generation to not make renewal if payment error), we update qty on contract + qty on linked template invoice + the running contract service end date to end at next period',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(60,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasSuspendExpiredTestInstances',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doSuspendExpiredTestInstances','0, 25',NULL,'sellyoursaas',81,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'3600',4,NULL,1,NULL,NULL,'Suspend expired services of test instances (a test instance = instance without template neither standard invoice) if it is not a redirect instance and if we are after the planned end date (+ grace offset in SELLYOURSAAS_NBDAYS_AFTER_EXPIRATION_BEFORE_TRIAL_SUSPEND). Note that if a payment mode exists for customer, we do NOT suspend instance but create a template invoice instead. 1st parameter can be set to 1 to disable apache reload. 2nd parameter is maximum number of instance to suspend.',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(61,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasUndeployOldSuspendedTestInstances',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doUndeployOldSuspendedTestInstances',NULL,NULL,'sellyoursaas',82,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'3600',2,NULL,1,NULL,NULL,'Undeployed test instances if we are after planned end date (+ grace offset in SELLYOURSAAS_NBDAYS_AFTER_EXPIRATION_BEFORE_TRIAL_UNDEPLOYMENT)',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(62,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasSuspendExpiredRealInstances',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doSuspendExpiredRealInstances',NULL,NULL,'sellyoursaas',85,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Suspend expired services of paid instances if we are after planned end date (+ grace offset in SELLYOURSAAS_NBDAYS_AFTER_EXPIRATION_BEFORE_PAID_SUSPEND)',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(63,'2023-01-19 12:20:14','2023-01-19 09:20:14','method','SellYourSaasUndeployOldSuspendedRealInstances',NULL,'/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doUndeployOldSuspendedRealInstances',NULL,NULL,'sellyoursaas',86,NULL,NULL,'2023-01-19 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Undeployed paid instances if we are after planned end date (+ grace offset in SELLYOURSAAS_NBDAYS_AFTER_EXPIRATION_BEFORE_PAID_UNDEPLOYMENT)',NULL,1,0,0,NULL,'$conf->sellyoursaas->enabled',0,NULL,NULL),
(64,'2023-02-15 11:19:34','2023-02-15 08:19:34','method','CancelPartnershipForExpiredMembers',NULL,'/partnership/class/partnershiputils.class.php','PartnershipUtils','doCancelStatusOfMemberPartnership',NULL,NULL,'partnership',60,NULL,NULL,'2023-02-15 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'Cancel status of partnership when subscription is expired + x days.',NULL,1,0,0,NULL,'$conf->partnership->enabled',0,NULL,NULL),
(65,'2023-02-15 11:19:34','2023-02-15 08:19:34','method','PartnershipCheckBacklink',NULL,'/partnership/class/partnershiputils.class.php','PartnershipUtils','doWarningOfPartnershipIfDolibarrBacklinkNotfound',NULL,NULL,'partnership',61,NULL,NULL,'2023-02-15 21:15:00',NULL,NULL,NULL,NULL,'86400',1,NULL,0,NULL,NULL,'Warning of partnership if Dolibarr backlink not found on partner website.',NULL,1,0,0,NULL,'$conf->partnership->enabled',0,NULL,NULL),
(66,'2023-02-27 16:28:21','2023-02-27 13:28:21','method','ScanInvoices_background_import_service',NULL,'/scaninvoices/class/filestoimport.class.php','Filestoimport','doScheduledJob',NULL,NULL,'scaninvoices',50,NULL,NULL,'2023-02-27 13:28:21',NULL,NULL,NULL,NULL,'3600',3,NULL,1,NULL,NULL,'SCANINVOICES_BACKGROUND_SERVER_DETAILS',NULL,1,0,0,NULL,'$conf->scaninvoices->enabled',0,NULL,NULL),
(67,'2023-02-27 16:28:21','2023-02-27 13:28:21','method','ScanInvoices auto pay supplier invoices (CB/LCR/PREV)',NULL,'/scaninvoices/class/supplierautopayinvoices.class.php','Supplierautopayinvoices','doScheduledJob',NULL,NULL,'scaninvoices',50,NULL,NULL,'2023-02-27 13:28:21',NULL,NULL,NULL,NULL,'3600',24,NULL,0,NULL,NULL,'Comment',NULL,1,0,0,NULL,'$conf->scaninvoices->enabled',0,NULL,NULL),
(68,'2023-08-15 10:38:17','2023-08-15 10:38:17','method','SendReminderForExpiredSubscriptionTitle',NULL,'adherents/class/adherent.class.php','Adherent','sendReminderForExpiredSubscription','10;0',NULL,'adherent',50,NULL,NULL,'2023-08-15 22:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,1,NULL,NULL,'SendReminderForExpiredSubscription',NULL,1,0,0,NULL,'$conf->adherent->enabled',0,NULL,NULL),
(69,'2024-06-20 09:34:55','2024-06-20 09:34:55','method','SendEmailsRemindersOnSupplierInvoiceDueDate',NULL,'fourn/class/fournisseur.facture.class.php','FactureFournisseur','sendEmailsRemindersOnSupplierInvoiceDueDate','10,all,EmailTemplateCode,duedate',NULL,'fournisseur',50,NULL,NULL,'2024-06-20 23:00:00',NULL,NULL,NULL,NULL,'86400',1,NULL,0,NULL,NULL,'Send an email when we reach the supplier invoice due date (or supplier invoice date) - n days. First param is n, the number of days before due date (or supplier invoice date) to send the remind (or after if value is negative), second parameter is \"all\" or a payment mode code, third parameter is the code of the email template to use (an email template with the EmailTemplateCode must exists. The version of the email template in the language of the thirdparty will be used in priority. Language of the thirdparty will be also used to update the PDF of the sent supplier invoice). The fourth parameter is the string \"duedate\" (default) or \"invoicedate\" to define which date of the supplier invoice to use.',NULL,1,0,0,NULL,'isModEnabled(\"supplier_invoice\")',0,NULL,NULL),
(70,'2024-12-01 12:39:26','2024-12-01 13:39:26','method','SellYourSaasAlertHardEndTrial','','/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doAlertHardEndTrial','','','sellyoursaas',64,NULL,'2024-12-01 13:39:26','2024-12-01 21:15:00',NULL,NULL,NULL,NULL,'60',30,0,1,12,12,'Search contracts of sellyoursaas customers that are deployed + with open lines + about to expired (= date between (end date - SELLYOURSAAS_NBDAYS_BEFORE_TRIAL_END_FOR_HARD_ALERT) and (end date - SELLYOURSAAS_NBDAYS_BEFORE_TRIAL_END_FOR_HARD_ALERT + 7)) + not yet already warned (date_hardalert_endfreeperiod is null), then send email remind','',1,0,0,NULL,'isModEnabled(\"sellyoursaas\")',0,NULL,NULL),
(71,'2024-12-01 12:39:26','2024-12-01 13:39:26','method','SellYourSaasTakePaymentStripeSepa','','/sellyoursaas/class/sellyoursaasutils.class.php','SellYourSaasUtils','doTakePaymentStripeSEPA','0, 0','','sellyoursaas',76,NULL,'2024-12-01 13:39:26','2024-12-01 21:15:00',NULL,NULL,NULL,NULL,'86400',1,0,1,12,12,'Loop on invoice for customer with default payment mode Stripe and sepa payment method and take payment. First parameter is the maximum number of payments processed in one run. Second parameter is 1 to disable email to customer if payment fails.','',1,0,0,NULL,'isModEnabled(\"sellyoursaas\")',0,NULL,NULL),
(73,'2024-12-30 03:21:51','2024-12-30 04:11:52','method','DATAPOLICYJob','','datapolicy/class/datapolicycron.class.php','DataPolicyCron','cleanDataForDataPolicy','','','datapolicy',50,NULL,'2024-12-30 04:11:00',NULL,NULL,NULL,'',NULL,'86400',1,NULL,1,12,12,'Clean data','',1,0,0,NULL,'isModEnabled(\"datapolicy\")',0,'',NULL),
(76,'2025-03-25 19:50:18','2025-03-25 19:50:18','method','WeeklyWorkingHoursReport','','projet/class/project.class.php','Project','createWeeklyReport','','','projet',50,NULL,'2025-03-25 19:50:18',NULL,NULL,NULL,NULL,NULL,'604800',1,0,0,1,1,'Generates and sends a weekly report on time worked','',1,0,0,NULL,'$conf->projet->enabled',0,NULL,NULL),
(87,'2025-03-25 21:48:34','2025-03-25 21:48:34','method','CompressSyslogs','','core/class/utils.class.php','Utils','compressSyslogs','','','syslog',50,NULL,'2025-03-25 21:48:34',NULL,NULL,NULL,NULL,NULL,'86400',1,0,0,1,1,'Compress and archive log files. The number of versions to keep is defined into the setup of module. Warning: Main application cron script must be run with same account than your web server to avoid to get log files with different owner than required by web server. Another solution is to set web server Operating System group as the group of directory documents and set GROUP permission \"rws\" on this directory so log files will always have the group and permissions of the web server Operating System group.','',1,0,0,NULL,'1',0,NULL,NULL),
(88,'2025-06-19 13:49:41','2025-06-19 13:49:41','method','Mettre &agrave; jour tous les taux de change','','multicurrency/class/multicurrency.class.php','MultiCurrency','syncRates','0,0,cron','','multicurrency',61,NULL,'2025-06-19 13:49:41','2025-06-19 21:15:00',NULL,NULL,NULL,NULL,'2678400',1,0,1,12,12,'Update all the currencies using the currencylayer API. An API key needs to be given in the multi-currency module config page to have this job working.<br>First param is not used, Second parameter is 0 to update only already existing currency defined into the Multicurrency module or 1 to add any currency. Third parameter must be \"cron\".','',1,0,0,NULL,'isModEnabled(\"cron\")',0,NULL,NULL),
(89,'2026-02-15 18:45:09','2026-02-15 19:45:09','method','SendSmsReminders','','comm/action/class/actioncomm.class.php','ActionComm','sendSmsReminder','','','agenda',10,NULL,'2026-02-15 19:45:09','2026-02-15 19:45:09',NULL,NULL,NULL,NULL,'60',5,0,1,NULL,NULL,'SendSmsReminder','',1,0,0,NULL,'isModEnabled(\"agenda\")',0,NULL,NULL);

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

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

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

INSERT INTO `llx_default_values` VALUES
(1,1,'createform',0,'compta/facture/card.php?action=create&type=2','reday','__DAY__'),
(2,1,'createform',0,'compta/facture/card.php?action=create&type=2','remonth','__MONTH__'),
(3,1,'createform',0,'compta/facture/card.php?action=create&type=2','reyear','__YEAR__'),
(4,1,'createform',0,'compta/facture/card.php?action=create','fk_account','3'),
(6,1,'createform',0,'aaa/aao_card.php?action=create','label','3'),
(7,1,'createform',0,'fourn/facture/card.php?action=create','mode_reglement_id','4');

--
-- Table structure for table `llx_delivery`
--

CREATE TABLE `llx_delivery` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_customer` varchar(30) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(30) 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 DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_delivery_uk_ref` (`ref`,`entity`),
  KEY `idx_delivery_fk_soc` (`fk_soc`),
  KEY `idx_delivery_fk_user_author` (`fk_user_author`),
  KEY `idx_delivery_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_delivery_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_delivery_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_delivery_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_delivery`
--


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

CREATE TABLE `llx_delivery_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_delivery_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


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

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

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


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

CREATE TABLE `llx_deliverydet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_deliverydet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


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

CREATE TABLE `llx_document_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `type` varchar(64) DEFAULT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `tms` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=1004 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_document_model` VALUES
(9,'merou',1,'shipping',NULL,NULL,'2026-01-11 17:46:25'),
(181,'generic_invoice_odt',1,'invoice','ODT templates','FACTURE_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(198,'azur',2,'propal',NULL,NULL,'2026-01-11 17:46:25'),
(199,'html_cerfafr',2,'donation',NULL,NULL,'2026-01-11 17:46:25'),
(200,'crabe',2,'invoice',NULL,NULL,'2026-01-11 17:46:25'),
(201,'generic_odt',1,'company','ODT templates','COMPANY_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(256,'azur',1,'propal',NULL,NULL,'2026-01-11 17:46:25'),
(319,'generic_bom_odt',1,'bom','ODT templates','BOM_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(320,'generic_mo_odt',1,'mrp','ODT templates','MRP_MO_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(366,'generic_user_odt',1,'user',NULL,NULL,'2026-01-11 17:46:25'),
(367,'generic_usergroup_odt',1,'group',NULL,NULL,'2026-01-11 17:46:25'),
(371,'rouget',1,'shipping',NULL,NULL,'2026-01-11 17:46:25'),
(372,'typhon',1,'delivery',NULL,NULL,'2026-01-11 17:46:25'),
(459,'einstein',1,'order',NULL,NULL,'2026-01-11 17:46:25'),
(462,'crabe',1,'invoice',NULL,NULL,'2026-01-11 17:46:25'),
(463,'muscadet',1,'order_supplier',NULL,NULL,'2026-01-11 17:46:25'),
(467,'fiche_equipement',1,'gestionparc',NULL,NULL,'2026-01-11 17:46:25'),
(479,'standard_member',1,'member',NULL,NULL,'2026-01-11 17:46:25'),
(515,'generic_ticket_odt',1,'ticket','ODT templates','TICKET_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(518,'stdmovement',1,'mouvement',NULL,NULL,'2026-01-11 17:46:25'),
(542,'canelle',1,'invoice_supplier','canelle',NULL,'2026-01-11 17:46:25'),
(543,'generic_supplier_invoice_odt',1,'invoice_supplier','ODT templates','SUPPLIER_INVOICE_ADDON_PDF_ODT_PATH','2026-01-11 17:46:25'),
(874,'strato',1,'contract',NULL,NULL,'2026-01-11 17:46:25'),
(875,'espadon',1,'shipping',NULL,NULL,'2026-01-11 17:46:25'),
(876,'storm',1,'delivery',NULL,NULL,'2026-01-11 17:46:25'),
(883,'standard',1,'member',NULL,NULL,'2026-01-11 17:46:25'),
(886,'sepamandate',1,'bankaccount',NULL,NULL,'2026-01-11 17:46:25'),
(887,'',1,'task',NULL,NULL,'2026-01-11 17:46:25'),
(888,'beluga',1,'project',NULL,NULL,'2026-01-11 17:46:25'),
(889,'baleine',1,'project',NULL,NULL,'2026-01-11 17:46:25'),
(890,'cyan',1,'propal',NULL,NULL,'2026-01-11 17:46:25'),
(891,'squille',1,'reception',NULL,NULL,'2026-01-11 17:46:25'),
(894,'standard_stock',1,'stock',NULL,NULL,'2026-01-11 17:46:25'),
(895,'standard_movement_stock',1,'mouvement',NULL,NULL,'2026-01-11 17:46:25'),
(896,'aurore',1,'supplier_proposal',NULL,NULL,'2026-01-11 17:46:25'),
(925,'standard_evaluation',1,'evaluation',NULL,NULL,'2026-01-11 17:46:25'),
(989,'eratosthene',1,'order',NULL,NULL,'2025-01-16 09:06:40'),
(991,'standard_expensereport',1,'expensereport',NULL,NULL,'2025-01-16 09:06:40'),
(992,'sponge',1,'invoice',NULL,NULL,'2025-01-16 09:06:40'),
(993,'cornas',1,'order_supplier',NULL,NULL,'2025-01-16 09:06:40'),
(994,'soleil',1,'ficheinter',NULL,NULL,'2025-01-16 09:06:40'),
(999,'html_cerfafr',1,'donation',NULL,NULL,'2026-02-21 17:30:25'),
(1000,'vinci',1,'mrp',NULL,NULL,'2026-02-21 17:30:25'),
(1001,'standard_recruitmentjobposition',1,'recruitmentjobposition',NULL,NULL,'2026-02-21 17:30:25'),
(1002,'generic_recruitmentjobposition_odt',1,'recruitmentjobposition',NULL,NULL,'2026-02-21 17:30:25');

--
-- Table structure for table `llx_dolibase_logs`
--

CREATE TABLE `llx_dolibase_logs` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `module_id` int(11) NOT NULL,
  `module_name` varchar(255) NOT NULL,
  `object_id` int(11) NOT NULL,
  `object_element` varchar(100) DEFAULT NULL,
  `action` varchar(255) NOT NULL,
  `datec` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `fk_dolibase_logs_user` (`fk_user`),
  CONSTRAINT `fk_dolibase_logs_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `llx_dolibase_logs`
--


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

CREATE TABLE `llx_don` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `datec` datetime DEFAULT NULL,
  `datedon` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `fk_payment` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT 0,
  `firstname` varchar(50) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `societe` varchar(50) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `country` varchar(50) DEFAULT NULL,
  `fk_country` int(11) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(24) DEFAULT NULL,
  `phone_mobile` varchar(24) DEFAULT NULL,
  `public` smallint(6) NOT NULL DEFAULT 1,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `ip` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_don_uk_ref` (`ref`,`entity`),
  KEY `idx_don_fk_soc` (`fk_soc`),
  KEY `idx_don_fk_project` (`fk_projet`),
  KEY `idx_don_fk_user_author` (`fk_user_author`),
  KEY `idx_don_fk_user_valid` (`fk_user_valid`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_don` VALUES
(1,NULL,1,'2012-07-08 23:57:17',1,'2012-07-09 01:55:33','2012-07-09 12:00:00',10.00000000,1,0,'Donator','','Guest company','','','','France',0,'',NULL,NULL,1,1,1,1,'',NULL,'html_cerfafr',NULL,NULL,NULL,NULL,NULL,NULL),
(3,NULL,1,'2017-09-06 16:18:19',2,'2017-09-06 20:05:17','2017-09-06 12:00:00',10.00000000,NULL,0,'','','','','','',NULL,0,'','','',1,NULL,12,12,NULL,NULL,'html_cerfafr',NULL,NULL,NULL,NULL,NULL,NULL),
(5,NULL,1,'2025-03-27 10:35:12',0,'2025-03-27 12:00:00','2025-03-27 12:00:00',200.00000000,NULL,0,'','','','','','',NULL,0,'','','',0,NULL,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(6,NULL,1,'2025-04-25 14:02:49',2,'2025-04-25 12:00:00','2025-04-25 12:00:00',100.00000000,NULL,1,'','','','','','',NULL,0,'','','',0,NULL,12,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'null');

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

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

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


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

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

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

INSERT INTO `llx_ecm_directories` VALUES
(8,'Administrative documents',1,0,'Directory to store administrative contacts',1,NULL,NULL,'2018-07-30 16:54:41','2022-12-13 16:20:21',12,NULL,NULL,NULL,NULL),
(9,'Images',1,0,'',42,NULL,NULL,'2018-07-30 16:55:33','2025-02-13 10:51:18',12,NULL,NULL,NULL,NULL),
(10,'toto',1,9,'',0,NULL,NULL,'2025-02-13 11:51:39','2025-02-13 10:51:50',12,NULL,NULL,NULL,NULL);

--
-- Table structure for table `llx_ecm_directories_extrafields`
--

CREATE TABLE `llx_ecm_directories_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ecm_directories_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


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

CREATE TABLE `llx_ecm_files_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ecm_files_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `llx_ecotaxdeee`
--

CREATE TABLE `llx_ecotaxdeee` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `date_modification` datetime DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `llx_ecotaxdeee`
--


--
-- Table structure for table `llx_element_categorie`
--

CREATE TABLE `llx_element_categorie` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_categorie` int(11) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_categorie_idx` (`fk_element`,`fk_categorie`),
  KEY `fk_element_categorie_fk_categorie` (`fk_categorie`),
  KEY `idx_element_categorie_fk_categorie` (`fk_categorie`),
  CONSTRAINT `fk_element_categorie_fk_categorie` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_element_categorie`
--


--
-- 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,
  `mandatory_signature` tinyint(4) DEFAULT 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=78 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_element_contact` VALUES
(1,'2012-07-09 00:49:43',4,1,NULL,160,1),
(2,'2012-07-09 00:49:56',4,2,NULL,160,1),
(3,'2012-07-09 00:50:19',4,3,NULL,160,1),
(4,'2012-07-09 00:50:42',4,4,NULL,160,1),
(5,'2012-07-09 01:52:36',4,1,NULL,120,1),
(6,'2012-07-09 01:53:25',4,1,NULL,10,2),
(7,'2012-07-09 01:53:25',4,1,NULL,11,2),
(8,'2012-07-10 18:13:37',4,2,NULL,10,2),
(9,'2012-07-10 18:13:37',4,2,NULL,11,2),
(11,'2012-07-11 16:22:36',4,5,NULL,160,1),
(12,'2012-07-11 16:23:53',4,2,NULL,180,1),
(13,'2015-01-23 15:04:27',4,19,NULL,200,5),
(14,'2015-01-23 16:06:37',4,19,NULL,210,2),
(15,'2015-01-23 16:12:43',4,19,NULL,220,2),
(16,'2015-03-06 10:04:57',4,3,NULL,10,1),
(17,'2015-03-06 10:04:57',4,3,NULL,11,1),
(18,'2016-12-21 13:52:41',4,3,NULL,180,1),
(19,'2016-12-21 13:55:39',4,4,NULL,180,1),
(20,'2016-12-21 14:16:58',4,5,NULL,180,1),
(21,'2018-07-30 15:29:07',4,6,NULL,160,12),
(22,'2018-07-30 15:29:48',4,7,NULL,160,12),
(23,'2018-07-30 15:30:25',4,8,NULL,160,12),
(24,'2018-07-30 15:33:27',4,6,NULL,180,12),
(25,'2018-07-30 15:33:39',4,7,NULL,180,12),
(26,'2018-07-30 15:33:54',4,8,NULL,180,12),
(27,'2018-07-30 15:34:09',4,9,NULL,180,12),
(28,'2018-07-31 18:27:20',4,9,NULL,160,12),
(29,'2019-09-26 14:09:02',4,2,NULL,155,12),
(30,'2019-09-26 14:10:31',4,3,NULL,157,1),
(31,'2019-09-26 14:10:57',4,3,NULL,155,14),
(33,'2019-11-29 12:52:53',4,7,NULL,155,16),
(34,'2019-12-21 19:46:33',4,10,NULL,160,12),
(35,'2019-12-21 19:49:28',4,11,NULL,160,12),
(36,'2019-12-21 19:52:12',4,12,NULL,160,12),
(37,'2019-12-21 19:53:21',4,13,NULL,160,12),
(38,'2020-06-12 19:13:21',4,4,NULL,180,12),
(39,'2020-06-12 19:13:21',4,1,NULL,161,12),
(40,'2023-01-04 13:58:48',4,6,NULL,156,4),
(42,'2023-01-04 13:58:57',4,6,NULL,155,3),
(43,'2023-01-04 14:00:23',4,6,NULL,156,12),
(45,'2023-01-17 08:16:16',4,6,NULL,161,1),
(46,'2023-01-17 08:16:16',4,6,NULL,181,1),
(47,'2023-01-17 08:16:16',4,7,NULL,181,1),
(48,'2023-01-17 08:16:16',4,8,NULL,181,1),
(49,'2023-01-17 08:16:16',4,9,NULL,181,1),
(50,'2023-01-17 08:16:16',4,7,NULL,161,1),
(51,'2025-01-03 14:59:56',4,5,NULL,10,29),
(52,'2025-01-03 14:59:56',4,5,NULL,11,29),
(53,'2025-01-03 15:05:10',4,6,NULL,10,29),
(54,'2025-01-03 15:05:10',4,6,NULL,11,29),
(55,'2025-01-03 15:08:56',4,7,NULL,10,29),
(56,'2025-01-03 15:08:56',4,7,NULL,11,29),
(57,'2025-01-03 15:13:54',4,8,NULL,10,29),
(58,'2025-01-03 15:13:54',4,8,NULL,11,29),
(59,'2025-01-03 15:17:40',4,9,NULL,10,29),
(60,'2025-01-03 15:17:40',4,9,NULL,11,29),
(61,'2025-01-20 12:13:25',4,14,NULL,160,12),
(62,'2025-01-28 17:39:40',4,10,NULL,10,29),
(63,'2025-01-28 17:39:40',4,10,NULL,11,29),
(71,'2025-03-25 19:03:51',4,14,NULL,171,16),
(72,'2025-03-25 19:03:57',4,14,NULL,171,17),
(73,'2025-03-25 19:08:02',4,14,NULL,161,39),
(74,'2025-05-27 11:09:44',4,9,NULL,155,12),
(75,'2025-06-25 10:12:55',4,15,NULL,160,12),
(76,'2025-06-26 17:54:04',4,14,NULL,10,12),
(77,'2025-06-26 17:54:04',4,14,NULL,11,12);

--
-- 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(64) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(64) NOT NULL,
  `relationtype` varchar(64) DEFAULT 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=44 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_element_element` VALUES
(1,2,'contrat',2,'facture',NULL),
(2,2,'propal',1,'commande',NULL),
(3,5,'commande',1,'shipping',NULL),
(4,1,'order_supplier',20,'invoice_supplier',NULL),
(5,2,'cabinetmed_cabinetmedcons',216,'facture',NULL),
(6,75,'commande',2,'shipping',NULL),
(9,28,'propal',90,'commande',NULL),
(10,29,'propal',91,'commande',NULL),
(11,25,'propal',92,'commande',NULL),
(12,1,'shipping',217,'facture',NULL),
(13,5,'commande',217,'facture',NULL),
(14,29,'propal',94,'commande',NULL),
(15,29,'propal',95,'commande',NULL),
(18,34,'propal',96,'commande',NULL),
(19,34,'propal',97,'commande',NULL),
(20,62,'commande',220,'facture',NULL),
(21,62,'commande',221,'facture',NULL),
(22,62,'commande',222,'facture',NULL),
(23,62,'commande',223,'facture',NULL),
(24,62,'commande',224,'facture',NULL),
(25,62,'commande',225,'facture',NULL),
(26,36,'propal',98,'commande',NULL),
(27,36,'propal',227,'facture',NULL),
(28,36,'propal',99,'commande',NULL),
(29,36,'propal',228,'facture',NULL),
(30,4,'subscription',229,'facture',NULL),
(31,5,'subscription',230,'facture',NULL),
(32,6,'subscription',231,'facture',NULL),
(33,2,'order_supplier',1,'reception',NULL),
(34,237,'facture',238,'facture',NULL),
(35,2,'contrat',239,'facture',NULL),
(36,88,'commande',242,'facture',NULL),
(37,84,'commande',248,'facture',NULL),
(38,84,'commande',249,'facture',NULL),
(39,84,'commande',250,'facture',NULL),
(41,85,'commande',447,'facture',NULL),
(42,78,'commande',4,'shipping',NULL),
(43,11,'subscription',459,'facture',NULL);

--
-- 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) DEFAULT NULL,
  `resource_id` int(11) DEFAULT NULL,
  `resource_type` varchar(64) DEFAULT NULL,
  `busy` int(11) DEFAULT NULL,
  `mandatory` int(11) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `duree` double DEFAULT NULL,
  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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_element_resources` VALUES
(1,604,'action',4,'dolresource',1,0,NULL,'2020-06-12 17:28:39',NULL),
(2,1621,'action',1,'dolresource',1,1,NULL,'2025-04-11 21:23:21',NULL),
(3,1621,'action',2,'dolresource',1,1,NULL,'2025-04-22 17:21:31',NULL);

--
-- Table structure for table `llx_element_time`
--

CREATE TABLE `llx_element_time` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_element` int(11) NOT NULL,
  `elementtype` varchar(32) NOT NULL DEFAULT 'task',
  `element_date` date DEFAULT NULL,
  `element_datehour` datetime DEFAULT NULL,
  `element_date_withhour` int(11) DEFAULT NULL,
  `element_duration` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `thm` double(24,8) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `invoice_line_id` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `intervention_id` int(11) DEFAULT NULL,
  `intervention_line_id` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref_ext` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_element_time_task` (`fk_element`),
  KEY `idx_element_time_date` (`element_date`),
  KEY `idx_element_time_datehour` (`element_datehour`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_element_time`
--

INSERT INTO `llx_element_time` VALUES
(2,4,'task','2016-12-21','2016-12-21 12:00:00',0,3600,1,NULL,'',NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(3,4,'task','2016-12-18','2016-12-18 12:00:00',0,3600,1,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(4,3,'task','2016-12-21','2016-12-21 12:00:00',0,3600,1,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(5,3,'task','2016-12-21','2016-12-21 12:00:00',0,1800,1,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(6,3,'task','2016-12-21','2016-12-21 12:00:00',0,3600,1,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(7,6,'task','2018-07-25','2018-07-25 00:00:00',0,18000,12,NULL,NULL,NULL,NULL,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,NULL,NULL),
(15,7,'task','2017-01-30','2017-01-30 10:00:00',1,660,12,NULL,'',0,0,NULL,NULL,'2020-12-10 12:24:40',NULL,NULL,0,NULL),
(16,4,'task','2020-06-13','2020-06-13 00:00:00',0,3600,12,NULL,'',NULL,NULL,NULL,NULL,'2020-06-12 17:13:30',NULL,NULL,NULL,NULL),
(18,8,'task','2023-02-23','2023-02-23 12:00:00',0,7200,12,NULL,'',NULL,NULL,NULL,'2023-02-23 18:10:26','2023-02-23 21:10:26',NULL,NULL,0,NULL),
(29,6,'task','2023-08-15','2023-08-15 12:00:00',NULL,3720,12,NULL,'',NULL,NULL,NULL,'2023-08-15 11:50:21','2023-08-15 11:50:21',NULL,NULL,NULL,NULL);

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

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

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

INSERT INTO `llx_emailcollector_emailcollectoraction` VALUES
(18,3,'ticket',NULL,'2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1,0),
(19,4,'recordevent',NULL,'2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1,0),
(20,5,'project','tmp_from=EXTRACT:HEADER:^From:(.*);socid=SETIFEMPTY:1;usage_opportunity=SET:1;description=EXTRACT:BODY:(.*);title=SET:Lead or message from __tmp_from__ received by email','2020-01-13 00:13:55','2020-01-13 10:57:14',12,NULL,NULL,1,2),
(21,5,'loadthirdparty',NULL,'2020-01-13 14:57:08','2020-01-13 10:57:14',12,NULL,NULL,1,1),
(22,11,'recordevent',NULL,'2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1,0),
(23,12,'candidature','tmp_from=EXTRACT:HEADER:^From:(.*)(<.*>)?\nfk_recruitmentjobposition=EXTRACT:HEADER:^To:[^\\n]*\\+([^\\n]*)\ndescription=EXTRACT:BODY:(.*)\nlastname=SET:__tmp_from__','2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1,0);

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

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

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

INSERT INTO `llx_emailcollector_emailcollectorfilter` VALUES
(21,3,'withouttrackingid',NULL,'2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1),
(22,3,'to','support@example.com','2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1),
(23,4,'withtrackingid',NULL,'2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1),
(24,5,'withouttrackingid',NULL,'2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1),
(25,5,'to','sales@example.com','2020-01-13 00:13:55','2020-01-12 20:13:55',12,NULL,NULL,1),
(26,11,'isanswer',NULL,'2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1),
(27,11,'withouttrackingidinmsgid',NULL,'2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1),
(28,12,'isnotanswer',NULL,'2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1),
(29,12,'to','jobs@example.com','2025-03-25 19:50:17','2025-03-25 19:50:17',1,NULL,NULL,1);

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

CREATE TABLE `llx_entrepot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ref` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_project` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `lieu` varchar(64) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) 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) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_parent` int(11) DEFAULT 0,
  `fax` varchar(30) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `warehouse_usage` int(11) DEFAULT 1,
  `barcode` varchar(180) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_entrepot_label` (`ref`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_entrepot` VALUES
(1,'2012-07-09 00:31:22','2020-06-12 17:18:30','WAREHOUSEHOUSTON',1,NULL,'Warehouse located at Houston','Warehouse houston','','','Houston',NULL,11,1,1,NULL,NULL,NULL,'','',1,NULL,NULL),
(2,'2012-07-09 00:41:03','2020-06-12 17:18:33','WAREHOUSEPARIS',1,NULL,'','Warehouse Paris','','75000','Paris',NULL,1,1,1,NULL,NULL,NULL,'','',1,NULL,NULL),
(3,'2012-07-11 16:18:59','2020-06-12 17:18:25','Stock personnel Dupont',1,NULL,'Cet entrepôt représente le stock personnel de Alain Dupont','','','','',NULL,2,1,1,NULL,NULL,NULL,'','',1,NULL,NULL),
(9,'2017-10-03 11:47:41','2017-10-03 09:47:41','Personal stock Marie Curie',1,NULL,'This warehouse represents personal stock of Marie Curie','','','','',NULL,1,1,1,NULL,NULL,0,NULL,NULL,1,NULL,NULL),
(10,'2017-10-05 09:07:52','2018-07-30 13:52:24','Personal stock Alex Theceo',1,NULL,'This warehouse represents personal stock of Alex Theceo','','','','',NULL,3,1,1,NULL,NULL,0,NULL,NULL,1,NULL,NULL),
(12,'2017-10-05 21:29:35','2017-10-05 19:29:35','Personal stock Charly Commery',1,NULL,'This warehouse represents personal stock of Charly Commery','','','','',NULL,1,1,11,NULL,NULL,0,NULL,NULL,1,NULL,NULL),
(13,'2017-10-05 21:33:33','2018-07-30 13:51:38','Personal stock Sam Scientol',1,NULL,'This warehouse represents personal stock of Sam Scientol','','','7500','Paris',NULL,1,0,11,NULL,NULL,0,NULL,NULL,1,NULL,NULL),
(18,'2018-01-22 17:27:02','2020-06-12 17:18:18','Personal stock Laurent Destailleur',1,NULL,'This warehouse represents personal stock of Laurent Destailleur','','','','',NULL,1,1,12,NULL,NULL,NULL,'','',1,NULL,NULL),
(19,'2018-07-30 16:50:23','2020-06-12 17:18:12','Personal stock Eldy',1,NULL,'This warehouse represents personal stock of Eldy','','','','',NULL,14,1,12,NULL,NULL,NULL,'','',1,NULL,NULL),
(20,'2017-02-02 03:55:45','2020-06-12 17:18:55','Personal stock Alex Boston',1,NULL,'This warehouse represents personal stock of Alex Boston','PSTOCKALEXB','','','',NULL,14,1,12,NULL,NULL,NULL,'','',1,NULL,NULL),
(21,'2024-12-12 12:15:58','2024-12-12 12:15:58','Emplacement 1',1,NULL,'','','','','',NULL,117,1,12,NULL,NULL,NULL,'','',1,NULL,NULL);

--
-- Table structure for table `llx_entrepot_extrafields`
--

CREATE TABLE `llx_entrepot_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `aaaa` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_entrepot_extrafields` (`fk_object`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


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

CREATE TABLE `llx_establishment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `name` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_state` int(11) DEFAULT 0,
  `fk_country` int(11) DEFAULT 0,
  `profid1` varchar(20) DEFAULT NULL,
  `profid2` varchar(20) DEFAULT NULL,
  `profid3` varchar(20) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `status` tinyint(4) DEFAULT 1,
  `ref` varchar(30) NOT NULL,
  `label` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `llx_eventorganization_conferenceorboothattendee`
--

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

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

INSERT INTO `llx_eventorganization_conferenceorboothattendee` VALUES
(1,'1',NULL,NULL,'aa@aa.com',NULL,'2025-04-18 14:07:00',NULL,'','','2025-04-18 14:08:09','2025-04-18 12:08:09',12,12,NULL,NULL,NULL,0,14,NULL,'','',NULL),
(2,'2',NULL,NULL,'daviddoe@example.com',NULL,'2025-05-06 11:20:00',NULL,'','','2025-05-06 11:20:33','2025-05-06 09:20:33',12,12,NULL,NULL,NULL,5,14,NULL,'','',NULL),
(3,'3',NULL,NULL,'gdf@gfdg.com',NULL,'2025-05-06 11:21:00',NULL,'','','2025-05-06 11:22:03','2025-05-06 09:22:03',12,12,NULL,NULL,NULL,1,14,NULL,'','',NULL);

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

CREATE TABLE `llx_eventorganization_conferenceorboothattendee_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_conferenceorboothattendee_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- 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) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_customer` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(30) 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_expedition` datetime DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `height` float DEFAULT NULL,
  `height_unit` int(11) 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 DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `billed` smallint(6) DEFAULT 0,
  `signed_status` smallint(6) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `online_sign_ip` varchar(48) DEFAULT NULL,
  `online_sign_name` varchar(64) 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 AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expedition` VALUES
(1,'2018-01-22 17:33:03','SH1302-0001',1,NULL,1,NULL,NULL,NULL,'2013-08-08 03:05:34',1,'2015-02-17 18:22:51',1,NULL,'2013-08-09 00:00:00',NULL,NULL,'',1,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'merou',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL),
(2,'2025-04-05 13:26:37','SH1702-0002',1,NULL,4,NULL,NULL,NULL,'2017-02-16 03:11:35',12,'2025-04-05 15:26:37',12,NULL,NULL,NULL,1,'',1,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,'merou',0,'',NULL,NULL,0,NULL,NULL,'expedition/sending/SH1702-0002/SH1702-0002.pdf',NULL,NULL),
(4,'2025-05-04 22:16:30','(PROV4)',1,NULL,12,NULL,NULL,NULL,'2025-05-05 00:16:30',12,NULL,NULL,NULL,NULL,NULL,2,'',0,NULL,NULL,NULL,-3,NULL,-6,NULL,NULL,NULL,'merou',0,'',NULL,NULL,0,0,NULL,NULL,NULL,NULL);

--
-- 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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_expedition_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `llx_expedition_package`
--

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

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


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

CREATE TABLE `llx_expeditiondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expedition` int(11) NOT NULL,
  `fk_elementdet` int(11) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  `fk_product` int(11) DEFAULT NULL,
  `fk_parent` int(11) DEFAULT NULL,
  `fk_element` int(11) DEFAULT NULL,
  `element_type` varchar(50) NOT NULL DEFAULT 'commande',
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`),
  KEY `idx_expeditiondet_fk_elementdet` (`fk_elementdet`),
  KEY `idx_expeditiondet_fk_parent` (`fk_parent`),
  CONSTRAINT `fk_expeditiondet_fk_expedition` FOREIGN KEY (`fk_expedition`) REFERENCES `llx_expedition` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expeditiondet` VALUES
(1,1,10,3,NULL,1,NULL,0,NULL,NULL,NULL,'commande',NULL),
(2,2,226,19,NULL,2,NULL,0,NULL,NULL,NULL,'commande',NULL),
(3,2,227,1,NULL,1,NULL,0,NULL,NULL,NULL,'order',NULL),
(4,4,235,1,NULL,4,NULL,1,10,NULL,NULL,'commande',NULL),
(5,4,238,1,NULL,5,NULL,4,10,NULL,NULL,'commande',NULL);

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

CREATE TABLE `llx_expeditiondet_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expeditiondet` int(11) NOT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `qty` double NOT NULL DEFAULT 0,
  `fk_origin_stock` int(11) NOT NULL,
  `fk_warehouse` int(11) DEFAULT 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 AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expeditiondet_batch` VALUES
(1,3,NULL,NULL,'5599887766452',1,0,1),
(2,4,NULL,NULL,'5599887766452',4,3,1),
(3,5,NULL,NULL,'5599887766452',5,3,1);

--
-- 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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_expeditiondet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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) 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 DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `detail_refuse` varchar(255) DEFAULT NULL,
  `detail_cancel` varchar(255) DEFAULT NULL,
  `integration_compta` int(11) DEFAULT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) 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) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expensereport_uk_ref` (`ref`,`entity`),
  KEY `idx_expensereport_date_debut` (`date_debut`),
  KEY `idx_expensereport_date_fin` (`date_fin`),
  KEY `idx_expensereport_fk_statut` (`fk_statut`),
  KEY `idx_expensereport_fk_user_author` (`fk_user_author`),
  KEY `idx_expensereport_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expensereport_fk_user_approve` (`fk_user_approve`),
  KEY `idx_expensereport_fk_refuse` (`fk_user_refuse`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expensereport` VALUES
(1,'ADMIN-ER00002-150101',1,2,NULL,8.33000000,1.67000000,0.00000000,0.00000000,10.00000000,'2024-01-01','2024-01-03','2023-01-22 19:03:37','2023-01-22 19:06:50','2023-02-16 02:12:40',NULL,NULL,'2026-02-15 18:44:54',12,NULL,12,12,12,NULL,NULL,5,NULL,0,'Holidays',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL),
(2,'ER1912-0001',1,NULL,NULL,141.67000000,28.33000000,0.00000000,0.00000000,170.00000000,'2024-02-01','2023-02-28','2024-01-22 19:04:44','2023-12-20 20:34:13','2023-12-20 20:34:19',NULL,'2023-12-21 00:34:26','2026-02-15 18:44:54',12,12,12,12,12,NULL,12,4,NULL,0,'Work on projet X','','','aaaa',NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL),
(3,'(PROV3)',1,NULL,NULL,40.00000000,0.00000000,0.00000000,0.00000000,40.00000000,'2024-02-02','2024-02-02','2024-02-02 03:57:03','2024-02-02 00:00:00',NULL,NULL,NULL,'2026-02-15 18:44:54',19,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'expensereport/(PROV3)/(PROV3).pdf',NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL);

--
-- 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) DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `comments` text NOT NULL,
  `product_type` int(11) DEFAULT -1,
  `qty` double NOT NULL,
  `subprice` double(24,8) NOT NULL DEFAULT 0.00000000,
  `subprice_ttc` double(24,8) DEFAULT 0.00000000,
  `value_unit` double(24,8) NOT NULL,
  `remise_percent` double DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) 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,
  `rang` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_subprice_ttc` 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,
  `vat_src_code` varchar(10) DEFAULT '',
  `rule_warning_message` text DEFAULT NULL,
  `fk_c_exp_tax_cat` int(11) DEFAULT NULL,
  `fk_ecm_files` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expensereport_det` VALUES
(1,1,NULL,3,1,'',-1,1,0.00000000,0.00000000,10.00000000,NULL,20.000,0.000,NULL,0.000,NULL,8.33000000,1.67000000,0.00000000,0.00000000,10.00000000,'2017-01-01',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,NULL,NULL),
(2,2,NULL,3,4,'',-1,1,0.00000000,0.00000000,20.00000000,NULL,20.000,0.000,NULL,0.000,NULL,16.67000000,3.33000000,0.00000000,0.00000000,20.00000000,'2017-01-07',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,NULL,NULL),
(3,2,NULL,2,5,'Train',-1,1,0.00000000,0.00000000,150.00000000,NULL,20.000,0.000,NULL,0.000,NULL,125.00000000,25.00000000,0.00000000,0.00000000,150.00000000,'2017-02-05',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'','',0,73),
(4,3,NULL,1,NULL,'',-1,1,0.00000000,0.00000000,10.00000000,NULL,0.000,0.000,'0',0.000,'0',10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,'2022-12-19',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,0,163),
(5,3,NULL,1,NULL,'',-1,1,0.00000000,0.00000000,10.00000000,NULL,0.000,0.000,'0',0.000,'0',10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,'2022-12-19',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,0,163),
(6,3,NULL,1,NULL,'',-1,1,0.00000000,0.00000000,10.00000000,NULL,0.000,0.000,'0',0.000,'0',10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,'2022-12-19',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,0,163),
(7,3,NULL,1,NULL,'',-1,1,0.00000000,0.00000000,10.00000000,NULL,0.000,0.000,'0',0.000,'0',10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,'2022-12-19',0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,0,'',NULL,0,163);

--
-- Table structure for table `llx_expensereport_det_extrafields`
--

CREATE TABLE `llx_expensereport_det_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expensereport_det_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_expensereport_det_extrafields`
--


--
-- 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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_expensereport_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_expensereport_ik` VALUES
(1,NULL,'2018-01-19 11:09:35',4,1,0.41,0,1),
(2,NULL,'2018-01-19 11:09:35',4,2,0.244,824,1),
(3,NULL,'2018-01-19 11:09:35',4,3,0.286,0,1),
(4,NULL,'2018-01-19 11:09:35',5,4,0.493,0,1),
(5,NULL,'2018-01-19 11:09:35',5,5,0.277,1082,1),
(6,NULL,'2018-01-19 11:09:35',5,6,0.332,0,1),
(7,NULL,'2018-01-19 11:09:35',6,7,0.543,0,1),
(8,NULL,'2018-01-19 11:09:35',6,8,0.305,1180,1),
(9,NULL,'2018-01-19 11:09:35',6,9,0.364,0,1),
(10,NULL,'2018-01-19 11:09:35',7,10,0.568,0,1),
(11,NULL,'2018-01-19 11:09:35',7,11,0.32,1244,1),
(12,NULL,'2018-01-19 11:09:35',7,12,0.382,0,1),
(13,NULL,'2018-01-19 11:09:35',8,13,0.595,0,1),
(14,NULL,'2018-01-19 11:09:35',8,14,0.337,1288,1),
(15,NULL,'2018-01-19 11:09:35',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) DEFAULT 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) NOT NULL,
  `is_for_all` tinyint(4) DEFAULT 0,
  `entity` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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) NOT NULL,
  `date_export` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `note` mediumtext DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- 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) NOT NULL,
  `type` varchar(64) DEFAULT NULL,
  `field` text NOT NULL,
  `filter` text DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_export_model` (`label`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_export_model` VALUES
(1,0,'MyExport','facture_2','s.rowid,s.nom,s.code_client,s.address,s.zip,s.town,c.code,cd.nom,s.phone,s.siren,s.siret,s.ape,s.idprof4,s.code_compta,s.code_compta_fournisseur,s.tva_intra,f.rowid,f.ref,f.ref_client,f.type,f.datec,f.datef,f.date_lim_reglement,f.total_ht,f.total_ttc,f.total_tva,f.localtax1,f.localtax2,none.rest,f.paye,f.fk_statut,f.note_private,f.note_public,f.fk_user_author,uc.login,f.fk_user_valid,uv.login,pj.ref,pj.title,p.rowid,p.ref,p.amount,pf.amount,p.datep,p.num_paiement,pt.code,pt.libelle,p.note,p.fk_bank,ba.ref,f.multicurrency_code,f.multicurrency_tx,f.multicurrency_total_ht,f.multicurrency_total_tva,f.multicurrency_total_ttc,f.module_source,f.pos_source','',0),
(2,11,'Export by joe','facture_2','s.rowid,s.nom,s.code_client,s.address,s.zip,s.town,c.code,cd.nom,s.phone,s.siren,s.siret,s.ape,s.idprof4,s.code_compta,s.code_compta_fournisseur,s.tva_intra,f.rowid,f.ref,f.ref_client,f.type,f.datec,f.datef,f.date_lim_reglement,f.total_ht,f.total_ttc,f.total_tva,f.localtax1,f.localtax2,none.rest,f.paye,f.fk_statut,f.note_private,f.note_public,f.fk_user_author,uc.login,f.fk_user_valid,uv.login,pj.ref,pj.title,p.rowid,p.ref,p.amount,pf.amount,p.datep,p.num_paiement,pt.code,pt.libelle,p.note,p.fk_bank,ba.ref,f.multicurrency_code,f.multicurrency_tx,f.multicurrency_total_ht,f.multicurrency_total_tva,f.multicurrency_total_ttc,f.module_source,f.pos_source','',0),
(3,12,'test','societe_1','s.rowid,s.nom,s.name_alias,s.status,s.client,s.fournisseur,s.datec,s.tms,s.code_client,s.code_fournisseur,s.code_compta,s.code_compta_fournisseur,s.address,s.zip,s.town,d.nom,c.label,c.code,s.phone,s.fax,s.url,s.email,s.default_lang,s.siren,s.siret,s.ape,s.idprof4,s.idprof5,s.idprof6,s.tva_intra,s.capital,s.note_private,s.note_public,t.libelle,ce.code,cfj.libelle,s.fk_prospectlevel,st.code,payterm.libelle,paymode.libelle,s.price_level,extra.height,extra.weight,extra.prof,extra.birthdate,u.login,u.firstname,u.lastname','s.nom=%a%',0);

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

CREATE TABLE `llx_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `elementtype` varchar(64) NOT NULL DEFAULT 'member',
  `name` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(255) NOT NULL,
  `type` varchar(8) DEFAULT NULL,
  `size` varchar(8) DEFAULT NULL,
  `pos` int(11) DEFAULT 0,
  `alwayseditable` int(11) DEFAULT 0,
  `emptyonclone` int(11) DEFAULT 0,
  `param` text DEFAULT NULL,
  `fieldunique` int(11) DEFAULT 0,
  `fieldrequired` int(11) DEFAULT 0,
  `perms` varchar(255) DEFAULT NULL,
  `list` varchar(128) DEFAULT NULL,
  `totalizable` tinyint(1) DEFAULT 0,
  `ishidden` int(11) DEFAULT 0,
  `fieldcomputed` text DEFAULT NULL,
  `fielddefault` text DEFAULT NULL,
  `langs` varchar(64) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `enabled` varchar(255) DEFAULT '1',
  `help` text DEFAULT NULL,
  `printable` int(11) DEFAULT 0,
  `css` varchar(128) DEFAULT NULL,
  `cssview` varchar(128) DEFAULT NULL,
  `csslist` varchar(128) DEFAULT NULL,
  `module` varchar(64) DEFAULT NULL,
  `aiprompt` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
) ENGINE=InnoDB AUTO_INCREMENT=2538 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_extrafields` VALUES
(27,'projet','priority',1,'2018-01-19 11:17:49','Priority','select','',0,1,0,'a:1:{s:7:\"options\";a:5:{i:1;s:1:\"1\";i:2;s:1:\"2\";i:3;s:1:\"3\";i:4;s:1:\"4\";i:5;s:1:\"5\";}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,NULL,NULL,NULL,'1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(33,'adherent','extradatamember',1,'2019-10-08 18:47:11','Extra personalized data','varchar','10',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2019-10-08 20:47:11','1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(34,'adherent_type','extradatamembertype',1,'2019-10-08 18:47:43','Extra personalized data','varchar','32',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2019-10-08 20:47:43','1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(35,'commande','custom1',1,'2019-12-21 13:31:31','Custom field 1','varchar','10',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2019-12-21 17:31:31','1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(45,'commande','aaa',1,'2023-01-12 11:33:26','aaa','varchar','255',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2023-01-12 08:33:26','1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(142,'partnership','a_custom_field',1,'2023-08-15 12:10:00','a_custom_field','varchar','255',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2023-02-21 06:25:48','1',NULL,0,NULL,NULL,NULL,NULL,NULL),
(1407,'alumni_survey','aaa',1,'2024-12-06 12:51:24','aaa','varchar','255',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2024-12-06 13:51:24','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2277,'entrepot','aaaa',1,'2025-02-19 13:05:18','aaaa','int','10',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-02-19 13:05:18','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2310,'socpeople','ccc',1,'2025-03-25 22:36:52','ccc','varchar','255',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-03-25 22:36:52','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2311,'socpeople','ddd',1,'2025-03-25 22:36:58','ddd','datetime','',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-03-25 22:36:58','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2312,'user','eee',1,'2025-03-31 10:55:40','eee','stars','5',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-03-31 07:55:40','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2326,'contrat','aaa',1,'2025-04-01 13:58:15','aaa','varchar','255',1,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";s:7:\"/custom\";}}',0,0,NULL,'1',0,0,'\'/home/jail/home/\'.$object->array_options[\'options_username_os\'].\'/\'.$object->array_options[\'options_database_db\']',NULL,NULL,12,12,'2025-04-01 10:58:15','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2327,'societe','sss',1,'2025-04-26 00:54:38','sss','stars','5',100,1,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-04-26 02:54:38','1',NULL,1,NULL,NULL,NULL,NULL,NULL),
(2536,'product','aaa',1,'2025-06-26 22:01:48','aaa','link','',100,1,0,'a:1:{s:7:\"options\";a:1:{s:61:\"CompanyPaymentMode:societe/class/companypaymentmode.class.php\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-06-26 22:01:48','1',NULL,1,NULL,NULL,NULL,NULL,''),
(2537,'adherent','aaa',1,'2025-06-26 22:15:09','aaa','link','',100,1,0,'a:1:{s:7:\"options\";a:1:{s:61:\"CompanyPaymentMode:societe/class/companypaymentmode.class.php\";N;}}',0,0,NULL,'1',0,0,NULL,NULL,NULL,12,12,'2025-06-26 22:15:09','1',NULL,1,NULL,NULL,NULL,NULL,'');

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

CREATE TABLE `llx_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT 0,
  `ref_client` varchar(255) DEFAULT NULL,
  `increment` varchar(10) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_closing` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `close_code` varchar(16) DEFAULT NULL,
  `close_missing_amount` double(24,8) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `revenuestamp` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_closing` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT 1,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `payment_reference` varchar(25) DEFAULT NULL,
  `dispute_status` int(11) DEFAULT 0,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `situation_cycle_ref` int(11) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `retained_warranty` double DEFAULT NULL,
  `retained_warranty_date_limit` date DEFAULT NULL,
  `retained_warranty_fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `fk_transport_mode` int(11) DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) 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,
  `fk_fac_rec_source` int(11) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `module_source` varchar(32) DEFAULT NULL,
  `pos_source` varchar(32) DEFAULT NULL,
  `prorata_discount` double DEFAULT NULL,
  `subtype` smallint(6) DEFAULT NULL,
  `is_also_delivery_note` tinyint(4) NOT NULL DEFAULT 0,
  `ip` varchar(250) DEFAULT NULL,
  `pos_print_counter` int(11) DEFAULT 0,
  `email_sent_counter` int(11) DEFAULT 0,
  `fk_thirdparty_rib_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_ref` (`ref`,`entity`),
  KEY `idx_facture_fk_soc` (`fk_soc`),
  KEY `idx_facture_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  KEY `idx_facture_fk_projet` (`fk_projet`),
  KEY `idx_facture_fk_account` (`fk_account`),
  KEY `idx_facture_fk_currency` (`fk_currency`),
  KEY `idx_facture_fk_statut` (`fk_statut`),
  KEY `idx_facture_datef` (`datef`),
  KEY `idx_facture_tms` (`tms`),
  KEY `idx_facture_fk_input_reason` (`fk_input_reason`),
  CONSTRAINT `fk_facture_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facture_fk_input_reason` FOREIGN KEY (`fk_input_reason`) REFERENCES `llx_c_input_reason` (`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=476 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facture` VALUES
(2,'FA1007-0002',1,NULL,NULL,0,NULL,NULL,2,'2024-07-10 18:20:13','2024-07-10',NULL,'2025-04-09 17:43:26','2025-01-17 08:59:04',1,NULL,NULL,0,NULL,NULL,NULL,0.10000000,0.00000000,0.00000000,0.00000000,46.00000000,46.10000000,2,1,NULL,1,12,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1007-0002/FA1007-0002.pdf',NULL,'takepos','2',NULL,NULL,0,NULL,0,0,NULL),
(3,'FA1107-0006',1,NULL,NULL,0,NULL,NULL,10,'2024-07-18 20:33:35','2024-07-18',NULL,NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,15.00000000,15.00000000,1,1,NULL,1,NULL,NULL,1,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1107-0006/FA1107-0006.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(5,'FA1108-0003',1,NULL,NULL,0,NULL,NULL,7,'2024-08-01 03:34:11','2024-08-01',NULL,NULL,'2025-01-17 08:59:04',1,NULL,NULL,0,NULL,NULL,NULL,0.63000000,0.00000000,0.00000000,0.00000000,5.00000000,5.63000000,2,1,NULL,1,NULL,NULL,NULL,NULL,NULL,0,6,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1108-0003/FA1108-0003.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(6,'FA1108-0004',1,NULL,NULL,0,NULL,NULL,7,'2024-08-06 20:33:53','2024-08-06',NULL,NULL,'2025-01-17 08:59:04',1,NULL,NULL,0,NULL,NULL,NULL,0.98000000,0.00000000,0.00000000,0.00000000,5.00000000,5.98000000,2,1,NULL,1,NULL,NULL,NULL,NULL,NULL,0,4,'2024-12-31',NULL,0,'Cash\nReceived : 6 EUR\nRendu : 0.02 EUR\n\n--------------------------------------',NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1108-0004/FA1108-0004.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(8,'FA1108-0005',1,NULL,NULL,3,NULL,NULL,2,'2024-08-08 02:41:44','2024-08-08',NULL,NULL,'2025-01-17 08:59:04',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,10.00000000,10.00000000,2,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1108-0005/FA1108-0005.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(9,'FA1108-0007',1,NULL,NULL,3,NULL,NULL,10,'2024-08-08 02:55:14','2024-08-08',NULL,NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,1.96000000,0.00000000,0.00000000,0.00000000,10.00000000,11.96000000,1,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1108-0007/FA1108-0007.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(10,'AV1212-0001',1,NULL,NULL,2,NULL,NULL,10,'2024-12-08 17:45:20','2024-12-08','2032-12-08 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,-0.63000000,0.00000000,0.00000000,0.00000000,-11.00000000,-11.63000000,1,1,NULL,1,NULL,3,NULL,NULL,NULL,0,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/AV1212-0001/AV1212-0001.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(12,'AV1212-0002',1,NULL,NULL,2,NULL,NULL,10,'2024-12-08 18:20:14','2024-12-08','2032-12-08 00:00:00',NULL,'2025-01-17 08:59:04',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-5.00000000,-5.00000000,2,1,NULL,1,NULL,3,NULL,NULL,NULL,0,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/AV1212-0002/AV1212-0002.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(13,'FA1212-0011',1,NULL,NULL,0,NULL,NULL,7,'2024-12-09 20:04:19','2024-12-09','2032-02-12 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,2.74000000,0.00000000,0.00000000,0.00000000,14.00000000,16.74000000,1,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1212-0011/FA1212-0011.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(32,'FA1212-0021',1,NULL,NULL,0,NULL,NULL,1,'2024-12-11 09:34:23','2024-12-11','2032-03-24 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,90.00000000,0.00000000,0.00000000,0.60000000,520.00000000,610.60000000,1,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,'This is a comment (private)','This is a comment (public)','crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1212-0021/FA1212-0021.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(33,'FA1212-0023',1,NULL,NULL,0,NULL,NULL,1,'2024-12-11 09:34:23','2024-12-11','2032-03-03 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,'abandon',NULL,NULL,0.24000000,0.00000000,0.00000000,0.00000000,2.48000000,2.72000000,3,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,'This is a comment (private)','This is a comment (public)','crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1212-0023/FA1212-0023.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(55,'FA1212-0009',1,NULL,NULL,0,NULL,NULL,1,'2024-12-11 09:35:51','2024-12-11','2033-02-04 12:42:34',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,0.36000000,0.00000000,0.00000000,0.00000000,4.48000000,4.84000000,1,1,NULL,12,NULL,NULL,NULL,NULL,NULL,1,3,'2024-12-31',NULL,0,'This is a comment (private)','This is a comment (public)','crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,2.00000000,0.12000000,2.12000000,NULL,'facture/FA1212-0009/FA1212-0009.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(148,'FS1301-0001',1,NULL,NULL,0,NULL,NULL,1,'2024-01-19 18:22:48','2024-01-19','2023-12-09 14:05:07',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.63000000,0.00000000,0.00000000,0.00000000,5.00000000,5.63000000,1,1,NULL,12,NULL,NULL,NULL,NULL,NULL,0,1,'2024-01-31',NULL,0,NULL,NULL,'sponge',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'USD',1.30000000,6.50000000,0.81000000,7.31000000,NULL,'facture/FS1301-0001/FS1301-0001.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(149,'FA1601-0024',1,NULL,NULL,0,NULL,NULL,1,'2024-01-19 18:30:05','2024-01-19','2029-08-29 00:00:00','2020-01-02 20:49:34','2025-01-17 08:56:53',0,NULL,NULL,0,'other',NULL,'test',1.80000000,0.90000000,0.90000000,0.00000000,20.00000000,23.60000000,2,1,NULL,12,12,NULL,NULL,NULL,NULL,0,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,20.00000000,1.80000000,23.60000000,NULL,'facture/FA1601-0024/FA1601-0024.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(150,'FA6801-0010',1,NULL,NULL,0,NULL,NULL,1,'2024-01-19 18:31:10','2024-01-19','2023-12-13 12:23:06',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.63000000,0.00000000,0.00000000,0.00000000,5.00000000,5.63000000,1,1,NULL,12,NULL,NULL,NULL,NULL,NULL,0,1,'2024-01-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'AED',1.20000000,6.00000000,0.75000000,6.75000000,NULL,'facture/FA6801-0010/FA6801-0010.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(151,'FS1301-0002',1,NULL,NULL,0,NULL,NULL,1,'2024-01-19 18:31:58','2024-01-19','2023-12-09 13:57:50',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,1.25000000,0.00000000,0.00000000,0.00000000,10.00000000,11.25000000,1,1,NULL,12,NULL,NULL,NULL,NULL,NULL,0,1,'2024-01-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,10.00000000,1.25000000,11.25000000,NULL,'facture/FS1301-0002/FS1301-0002.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(160,'FA1507-0015',1,NULL,NULL,0,NULL,NULL,12,'2024-03-06 16:47:48','2024-03-06','2030-03-06 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,1.11000000,0.00000000,0.00000000,0.00000000,8.89000000,10.00000000,1,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1507-0015/FA1507-0015.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(210,'FA1107-0019',1,NULL,NULL,0,NULL,NULL,10,'2024-03-20 14:30:11','2024-03-20','2023-12-30 16:11:24',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,10.00000000,10.00000000,1,1,NULL,12,NULL,NULL,NULL,NULL,NULL,1,3,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1107-0019/FA1107-0019.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(211,'FA1303-0020',1,NULL,NULL,0,NULL,NULL,19,'2024-03-22 09:40:10','2024-03-22','2029-03-02 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,17.64000000,0.00000000,0.00000000,0.40000000,340.00000000,358.04000000,1,1,NULL,1,NULL,NULL,NULL,NULL,NULL,1,3,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/FA1303-0020/FA1303-0020.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(213,'AV1303-0003',1,NULL,NULL,2,NULL,NULL,1,'2024-03-03 19:22:03','2024-03-03','2028-03-03 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-1000.00000000,-1000.00000000,1,1,NULL,1,NULL,32,NULL,NULL,NULL,0,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/AV1303-0003/AV1303-0003.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(216,'(PROV216)',1,NULL,NULL,0,NULL,NULL,26,'2024-02-12 23:21:27','2024-02-12',NULL,NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,18.00000000,18.00000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'2028-02-12',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,'',NULL,NULL,0,'AED',3.97733044,71.60000000,0.00000000,71.60000000,NULL,'facture/(PROV216)/(PROV216).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(217,'(PROV217)',1,NULL,NULL,0,NULL,NULL,1,'2024-08-31 13:26:17','2024-08-31',NULL,NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,1.13000000,0.00000000,0.00000000,0.00000000,21.00000000,22.13000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,'',NULL,NULL,1,'EUR',1.00000000,21.00000000,1.13000000,22.13000000,NULL,'facture/(PROV217)/(PROV217).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(218,'FA1909-0025',1,NULL,NULL,0,NULL,NULL,12,'2024-09-26 17:30:14','2024-09-26','2026-09-26 00:00:00',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,1.08000000,0.00000000,0.00000000,0.00000000,42.50000000,43.58000000,1,12,NULL,12,NULL,NULL,NULL,NULL,NULL,0,0,'2024-12-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,'',NULL,NULL,0,'EUR',1.00000000,42.50000000,1.08000000,43.58000000,NULL,'facture/FA1909-0025/FA1909-0025.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(219,'TC1-2611-0001',1,NULL,NULL,0,NULL,NULL,1,'2024-11-28 19:04:03','2024-11-28','2025-12-09 13:50:29',NULL,'2025-01-17 08:59:04',0,NULL,NULL,0,NULL,NULL,NULL,6.87000000,0.00000000,0.00000000,0.00000000,34.33000000,41.20000000,1,12,NULL,12,NULL,NULL,NULL,NULL,NULL,0,6,'2024-12-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,0,'USD',1.30000000,44.63000000,8.93000000,53.56000000,NULL,'facture/TC1-2611-0001/TC1-2611-0001.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(220,'(PROV220)',1,NULL,NULL,3,NULL,NULL,19,'2024-01-16 02:03:17','2024-01-16',NULL,NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,100.00000000,100.00000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,100.00000000,0.00000000,100.00000000,NULL,'facture/(PROV220)/(PROV220).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(221,'AC2001-0001',1,NULL,NULL,3,NULL,NULL,19,'2024-01-16 02:21:05','2024-01-16','2025-01-16 00:00:00',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,123.00000000,123.00000000,0,12,NULL,12,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,123.00000000,0.00000000,123.00000000,NULL,'facture/AC2001-0001/AC2001-0001.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(222,'AC2301-0005',1,NULL,NULL,3,NULL,NULL,19,'2024-01-16 02:21:28','2024-01-16','2025-08-15 13:29:54',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,100.00000000,100.00000000,1,12,NULL,12,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,100.00000000,0.00000000,100.00000000,NULL,'facture/AC2301-0005/AC2301-0005.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(223,'(PROV223)',1,NULL,NULL,0,NULL,NULL,19,'2024-01-16 02:32:04','2024-01-16',NULL,NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,410.00000000,410.00000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,410.00000000,0.00000000,410.00000000,NULL,'facture/(PROV223)/(PROV223).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(224,'AC2001-0002',1,NULL,NULL,3,NULL,NULL,19,'2024-01-16 02:33:19','2024-01-16','2025-01-16 00:00:00','2020-01-16 02:36:48','2025-01-17 08:56:53',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,20.50000000,20.50000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,20.50000000,0.00000000,20.50000000,NULL,'facture/AC2001-0002/AC2001-0002.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(225,'(PROV225)',1,NULL,NULL,0,NULL,NULL,19,'2024-01-16 02:37:48','2024-01-16',NULL,NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,389.50000000,389.50000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,389.50000000,0.00000000,389.50000000,NULL,'facture/(PROV225)/(PROV225).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(226,'(PROV226)',1,NULL,NULL,3,NULL,NULL,11,'2024-01-19 14:20:54','2024-01-19',NULL,NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,12.50000000,0.00000000,0.00000000,0.00000000,120.00000000,132.50000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,120.00000000,12.50000000,132.50000000,NULL,'facture/(PROV226)/(PROV226).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(227,'AC2001-0003',1,NULL,NULL,3,NULL,NULL,1,'2024-01-19 14:22:54','2024-01-19','2025-01-19 00:00:00',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,39.20000000,0.00000000,0.00000000,0.00000000,200.00000000,239.20000000,0,12,NULL,12,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,200.00000000,39.20000000,239.20000000,NULL,'facture/AC2001-0003/AC2001-0003.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(228,'AC2001-0004',1,NULL,NULL,3,NULL,NULL,1,'2024-01-19 14:24:49','2024-01-19','2025-01-19 00:00:00',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,1.94000000,0.00000000,0.00000000,0.00000000,48.60000000,50.54000000,1,12,NULL,12,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,48.60000000,1.94000000,50.54000000,NULL,'facture/AC2001-0004/AC2001-0004.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(229,'FA1707-0026',1,NULL,NULL,0,NULL,NULL,12,'2024-01-21 10:23:17','2024-01-21','2025-01-21 00:00:00','2020-01-21 10:23:17','2025-01-17 08:56:53',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,50.00000000,50.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,50.00000000,0.00000000,50.00000000,NULL,'facture/FA1707-0026/FA1707-0026.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(230,'FA1807-0027',1,NULL,NULL,0,NULL,NULL,12,'2024-01-21 10:23:28','2024-01-21','2025-01-21 00:00:00','2020-01-21 10:23:28','2025-01-17 08:56:53',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,50.00000000,50.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,50.00000000,0.00000000,50.00000000,NULL,'facture/FA1807-0027/FA1807-0027.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(231,'FA1907-0028',1,NULL,NULL,0,NULL,NULL,12,'2024-01-21 10:23:49','2024-01-21','2025-01-21 00:00:00','2020-01-21 10:23:49','2025-01-17 08:56:53',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,50.00000000,50.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,50.00000000,0.00000000,50.00000000,NULL,'facture/FA1907-0028/FA1907-0028.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(232,'FA2301-0029',1,NULL,NULL,0,NULL,NULL,36,'2024-01-18 07:53:53','2024-01-18','2024-01-18 07:54:02',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,200.00000000,0.00000000,0.00000000,0.00000000,1000.00000000,1200.00000000,1,12,NULL,12,NULL,NULL,NULL,NULL,NULL,1,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2023-01-18',0,0,'',NULL,NULL,1,'EUR',1.00000000,1000.00000000,200.00000000,1200.00000000,NULL,'facture/FA2301-0029/FA2301-0029.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(233,'AV2301-0004',1,NULL,NULL,2,NULL,NULL,36,'2024-01-18 07:54:15','2024-01-18','2024-01-18 07:54:30',NULL,'2025-01-17 08:56:53',0,NULL,NULL,0,NULL,NULL,NULL,-200.00000000,0.00000000,0.00000000,0.00000000,-1000.00000000,-1200.00000000,1,12,NULL,12,NULL,232,NULL,NULL,NULL,0,0,'2024-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,-1000.00000000,-200.00000000,-1200.00000000,NULL,'facture/AV2301-0004/AV2301-0004.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(234,'TC1-2401-0004',1,NULL,NULL,0,NULL,NULL,7,'2024-01-31 16:48:47','2024-01-31','2024-05-10 14:41:31','2025-05-10 14:41:31','2026-02-15 18:44:54',1,NULL,NULL,0,NULL,NULL,NULL,8.58000000,0.00000000,0.00000000,0.00000000,42.82000000,51.40000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-01-31',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'USD',1.30000000,55.69000000,11.13000000,66.82000000,NULL,'facture/TC1-2401-0004/TC1-2401-0004.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(235,'FA2302-0030',1,NULL,NULL,0,'fdfd',NULL,34,'2024-02-15 13:05:13','2024-02-15','2024-02-15 13:05:21',NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,2.00000000,0.00000000,0.00000000,0.00000000,10.00000000,12.00000000,1,12,NULL,12,NULL,NULL,NULL,3,NULL,1,3,'2024-02-15',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2023-02-15',0,0,'',NULL,NULL,1,'EUR',1.00000000,10.00000000,2.00000000,12.00000000,NULL,'facture/FA2302-0030/FA2302-0030.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(236,'FA2302-0031',1,NULL,NULL,0,NULL,NULL,34,'2024-02-15 13:17:22','2024-02-15','2024-02-15 13:17:31',NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,2.00000000,0.00000000,0.00000000,0.00000000,10.00000000,12.00000000,1,12,NULL,12,NULL,NULL,4,3,NULL,1,0,'2024-02-15',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2023-02-15',0,0,'',NULL,NULL,1,'EUR',1.00000000,10.00000000,2.00000000,12.00000000,NULL,'facture/FA2302-0031/FA2302-0031.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(237,'FA2303-0032',1,NULL,NULL,5,NULL,NULL,1,'2024-03-02 13:11:22','2024-03-02','2024-03-02 13:16:15',NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,50.00000000,50.00000000,1,12,NULL,12,NULL,NULL,NULL,3,NULL,1,0,'2024-03-02',NULL,0,NULL,NULL,'crabe',NULL,NULL,1,1,0,0,'2023-03-02',0,0,'',NULL,NULL,1,'EUR',1.00000000,50.00000000,0.00000000,50.00000000,NULL,'facture/FA2303-0032/FA2303-0032.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(238,'FA2303-0033',1,NULL,NULL,5,NULL,NULL,1,'2024-03-02 13:20:59','2024-03-02','2024-03-02 13:21:13','2024-06-21 10:52:47','2026-02-15 18:44:54',1,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,30.00000000,30.00000000,2,12,NULL,12,12,237,NULL,NULL,NULL,1,3,'2024-03-02',NULL,0,NULL,NULL,'crabe',NULL,NULL,1,2,0,0,'2023-03-02',0,0,'',NULL,NULL,0,'EUR',1.00000000,30.00000000,0.00000000,30.00000000,NULL,'facture/FA2303-0033/FA2303-0033.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(239,'(PROV239)',1,NULL,NULL,2,NULL,NULL,2,'2024-03-15 08:24:26','2024-03-15',NULL,NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.09000000,0.09000000,0.00000000,-1.00000000,-1.18000000,0,12,NULL,NULL,NULL,2,NULL,3,NULL,0,0,'2024-03-15',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,-1.00000000,0.00000000,-1.18000000,NULL,'facture/(PROV239)/(PROV239).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(240,'(PROV240)',1,NULL,NULL,0,NULL,NULL,2,'2024-03-15 09:42:22','2024-03-15',NULL,NULL,'2026-02-15 18:44:54',0,NULL,NULL,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,1,0,'2024-03-15',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2023-03-15',0,0,'',NULL,NULL,1,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/(PROV240)/(PROV240).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(241,'TC1-2412-0002',1,NULL,NULL,2,NULL,NULL,2,'2024-12-09 15:22:25','2024-12-09','2024-12-09 15:22:25',NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,-0.10000000,0.00000000,0.00000000,0.00000000,-46.00000000,-46.10000000,1,12,NULL,12,NULL,8,NULL,NULL,NULL,0,0,'2024-12-09',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/TC1-2412-0002/TC1-2412-0002.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(242,'(PROV242)',1,NULL,NULL,0,'',NULL,10,'2024-12-12 14:49:53','2024-12-12',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,NULL,100.50000000,100.50000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'2024-12-12',NULL,0,'','Orders\nCO7001-0027',NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL,0,'',NULL,NULL,1,'EUR',1.00000000,100.50000000,0.00000000,100.50000000,NULL,'facture/(PROV242)/(PROV242).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(243,'AC2412-0006',1,NULL,NULL,3,NULL,NULL,10,'2024-12-18 14:51:53','2024-12-18','2024-12-18 14:52:15','2024-12-18 14:53:53','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,10.00000000,10.00000000,2,12,NULL,12,12,NULL,NULL,3,NULL,1,0,'2024-12-18',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2024-12-18',0,0,'',NULL,NULL,1,'EUR',1.00000000,10.00000000,0.00000000,10.00000000,NULL,'facture/AC2412-0006/AC2412-0006.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(244,'FA2412-0034',1,NULL,NULL,0,NULL,NULL,10,'2024-12-18 15:16:33','2024-12-18','2024-12-18 15:17:06',NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,90.00000000,90.00000000,1,12,NULL,12,NULL,NULL,NULL,3,NULL,2,0,'2025-01-17',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2025-01-17',0,0,'',NULL,NULL,1,'EUR',1.00000000,90.00000000,0.00000000,90.00000000,NULL,'facture/FA2412-0034/FA2412-0034.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(245,'FA2412-0035',1,NULL,NULL,0,NULL,NULL,33,'2024-12-18 15:20:24','2024-12-18','2024-12-18 15:22:15',NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,3.60000000,0.00000000,0.00000000,0.00000000,90.00000000,93.60000000,1,12,NULL,12,NULL,NULL,NULL,4,NULL,0,0,'2024-12-18',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2024-12-18',0,0,'',NULL,NULL,1,'EUR',1.00000000,90.00000000,3.60000000,93.60000000,NULL,'facture/FA2412-0035/FA2412-0035.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(246,'AC2412-0007',1,NULL,NULL,3,NULL,NULL,33,'2024-12-18 15:20:57','2024-12-18','2024-12-18 15:21:09','2024-12-18 15:21:37','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.40000000,0.00000000,0.00000000,0.00000000,10.00000000,10.40000000,2,12,NULL,12,12,NULL,NULL,4,NULL,1,0,'2024-12-18',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2024-12-18',0,0,'',NULL,NULL,1,'EUR',1.00000000,10.00000000,0.40000000,10.40000000,NULL,'facture/AC2412-0007/AC2412-0007.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(247,'(PROV247)',1,NULL,NULL,0,NULL,NULL,10,'2024-12-30 20:08:06','2024-12-30',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-9.00000000,-9.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,3,0,'2025-01-31',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2025-01-31',0,0,'',NULL,NULL,1,'EUR',1.00000000,-9.00000000,0.00000000,-9.00000000,NULL,'facture/(PROV247)/(PROV247).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(248,'(PROV248)',1,NULL,NULL,0,NULL,NULL,2,'2024-02-19 16:54:56','2024-02-19',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,510.00000000,510.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,1,0,'2024-02-19',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2025-02-19',0,0,'',NULL,NULL,1,'EUR',1.00000000,510.00000000,0.00000000,510.00000000,NULL,'facture/(PROV248)/(PROV248).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(249,'(PROV249)',1,NULL,NULL,0,'COclient',NULL,2,'2024-02-19 17:03:34','2024-02-19',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,510.00000000,510.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,1,0,'2024-02-19',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2025-02-19',0,0,'',NULL,NULL,1,'EUR',1.00000000,510.00000000,0.00000000,510.00000000,NULL,'facture/(PROV249)/(PROV249).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(250,'(PROV250)',1,NULL,NULL,0,'COclient',NULL,2,'2024-02-19 17:10:20','2024-02-19',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,510.00000000,510.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,1,0,'2024-02-19',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,'2025-02-19',0,0,'',NULL,NULL,1,'EUR',1.00000000,510.00000000,0.00000000,510.00000000,NULL,'facture/(PROV250)/(PROV250).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(251,'(PROV251)',1,NULL,NULL,5,NULL,NULL,39,'2024-02-21 19:55:41','2024-02-21',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,2,0,'2024-03-23',NULL,0,NULL,NULL,'crabe',NULL,NULL,2,1,0,0,'2025-03-23',0,0,'',NULL,NULL,1,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(293,'(PROV293)',1,NULL,NULL,0,NULL,NULL,10,'2024-03-19 13:40:57','2024-03-19',NULL,NULL,'2026-02-15 19:12:10',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,10.00000000,10.00000000,0,12,NULL,NULL,NULL,NULL,NULL,3,NULL,1,6,'2024-03-19',NULL,0,'G&eacute;n&eacute;r&eacute; depuis la facture mod&egrave;le r&eacute;currente Template invoice for Alice services',NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,10.00000000,0.00000000,10.00000000,1,'facture/(PROV293)/(PROV293).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(447,'FA2504-0036',1,NULL,NULL,0,NULL,NULL,1,'2024-04-09 12:10:08','2024-04-09','2024-04-09 12:10:23','2025-04-09 12:11:07','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,4.70000000,4.70000000,2,12,NULL,12,12,NULL,NULL,3,NULL,1,0,'2024-04-09',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,1,0,'2025-04-09',0,0,'',NULL,NULL,1,'EUR',1.00000000,4.70000000,0.00000000,4.70000000,NULL,'facture/FA2504-0036/FA2504-0036.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(448,'AV2504-0005',1,NULL,NULL,2,NULL,NULL,10,'2024-04-25 14:47:20','2024-04-25','2024-04-25 14:47:26',NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-15.00000000,-15.00000000,1,12,NULL,12,NULL,3,NULL,3,NULL,0,0,'2024-04-25',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,NULL,'facture/AV2504-0005/AV2504-0005.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(450,'(PROV450)',1,NULL,NULL,2,NULL,NULL,19,'2024-04-25 14:50:12','2024-04-25',NULL,NULL,'2026-02-15 18:44:54',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-18.04000000,-18.04000000,0,12,NULL,NULL,NULL,211,NULL,3,NULL,0,0,'2024-04-25',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,0,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,-18.04000000,0.00000000,-18.04000000,NULL,'facture/(PROV450)/(PROV450).pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(451,'TC1-2505-0003',1,NULL,NULL,0,NULL,NULL,7,'2024-05-10 14:28:03','2024-05-10','2024-05-10 14:39:36','2025-05-10 14:39:36','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.61000000,0.00000000,0.00000000,0.00000000,2.99000000,3.60000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-05-10',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.99000000,0.61000000,3.60000000,NULL,'facture/TC1-2505-0003/TC1-2505-0003.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(452,'TC1-2505-0005',1,NULL,NULL,0,NULL,NULL,7,'2024-05-10 14:40:07','2024-05-10','2024-05-10 14:41:50','2025-05-10 14:41:50','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.34000000,0.00000000,0.00000000,0.00000000,1.66000000,2.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-05-10',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,1.66000000,0.34000000,2.00000000,NULL,'facture/TC1-2505-0005/TC1-2505-0005.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(454,'TC1-2505-0006',1,NULL,NULL,0,NULL,NULL,7,'2024-05-10 14:43:27','2024-05-10','2024-05-10 14:43:32','2025-05-10 14:43:32','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,18.00000000,18.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-05-10',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,18.00000000,0.00000000,18.00000000,NULL,'facture/TC1-2505-0006/TC1-2505-0006.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(455,'TC1-2505-0007',1,NULL,NULL,0,NULL,NULL,7,'2024-05-10 14:51:14','2024-05-10','2024-05-10 14:52:34','2025-05-10 14:52:34','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.62000000,0.00000000,0.00000000,0.00000000,3.08000000,3.70000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-05-10',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,3.08000000,0.62000000,3.70000000,NULL,'facture/TC1-2505-0007/TC1-2505-0007.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(456,'TC1-2505-0008',1,NULL,NULL,0,NULL,NULL,7,'2024-05-10 14:52:39','2024-05-10','2024-05-10 16:12:58','2025-05-10 16:12:58','2026-02-15 18:44:54',1,0,0,0,NULL,NULL,NULL,0.62000000,0.00000000,0.00000000,0.00000000,3.08000000,3.70000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,6,'2024-05-10',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,3.08000000,0.62000000,3.70000000,NULL,'facture/TC1-2505-0008/TC1-2505-0008.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(458,'FA2501-0037',1,NULL,NULL,0,NULL,NULL,26,'2025-01-15 10:21:53','2025-01-15','2025-01-15 10:22:43',NULL,'2025-01-15 09:22:43',0,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,9.00000000,9.00000000,1,12,NULL,12,NULL,NULL,NULL,3,NULL,2,0,'2025-02-14',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,1,0,'2025-02-14',0,0,'',NULL,NULL,1,'EUR',1.00000000,9.00000000,0.00000000,9.00000000,NULL,'facture/FA2501-0037/FA2501-0037.pdf',NULL,NULL,NULL,NULL,0,0,NULL,0,0,NULL),
(459,'FA2501-0038',1,NULL,NULL,0,NULL,NULL,64,'2025-01-16 10:07:13','2025-01-16','2025-01-16 10:07:13','2025-01-16 10:07:13','2025-01-16 09:07:13',1,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,11.00000000,11.00000000,2,12,NULL,12,12,NULL,NULL,4,NULL,1,0,'2025-01-16',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,11.00000000,0.00000000,11.00000000,NULL,'facture/FA2501-0038/FA2501-0038.pdf',NULL,NULL,NULL,NULL,NULL,0,NULL,0,0,NULL),
(460,'TC1-2501-0009',1,NULL,NULL,0,NULL,NULL,7,'2025-01-16 10:08:50','2025-01-16','2025-01-16 10:08:55','2025-01-16 10:08:56','2025-01-16 11:57:34',1,0,0,0,NULL,NULL,NULL,0.25000000,0.00000000,0.00000000,0.00000000,1.25000000,1.50000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-01-16',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,1.25000000,0.25000000,1.50000000,NULL,'facture/TC1-2501-0009/TC1-2501-0009.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,6,2,NULL),
(461,'TC2-2501-0001',1,NULL,NULL,0,NULL,NULL,7,'2025-01-17 09:35:11','2025-01-17','2025-01-17 09:36:03','2025-01-17 09:36:03','2025-02-05 09:08:36',1,0,0,0,NULL,NULL,NULL,0.47000000,0.00000000,0.00000000,0.00000000,2.33000000,2.80000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-01-17',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.33000000,0.47000000,2.80000000,NULL,'facture/TC2-2501-0001/TC2-2501-0001.pdf',NULL,'takepos','2',NULL,NULL,0,NULL,4,1,NULL),
(463,'TC1-2502-0010',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:37:54','2025-02-05','2025-02-05 15:37:58','2025-02-05 15:37:58','2025-02-05 14:37:58',1,0,0,0,NULL,NULL,NULL,0.47000000,0.00000000,0.00000000,0.00000000,2.33000000,2.80000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.33000000,0.47000000,2.80000000,NULL,'facture/TC1-2502-0010/TC1-2502-0010.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(464,'TC1-2502-0011',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:38:06','2025-02-05','2025-02-05 15:38:19','2025-02-05 15:38:19','2025-02-05 14:38:31',1,0,0,0,NULL,NULL,NULL,0.83000000,0.00000000,0.00000000,0.00000000,4.17000000,5.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,4.17000000,0.83000000,5.00000000,NULL,'facture/TC1-2502-0011/TC1-2502-0011.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,1,1,NULL),
(465,'TC1-2502-0012',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:38:42','2025-02-05','2025-02-05 15:39:09','2025-02-05 15:39:09','2025-02-05 14:39:23',1,0,0,0,NULL,NULL,NULL,1.72000000,0.00000000,0.00000000,0.00000000,8.58000000,10.30000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,8.58000000,1.72000000,10.30000000,NULL,'facture/TC1-2502-0012/TC1-2502-0012.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,3,0,NULL),
(466,'TC1-2502-0013',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:38:51','2025-02-05','2025-02-05 15:39:50','2025-02-05 15:39:50','2025-02-05 14:39:50',1,0,0,0,NULL,NULL,NULL,1.05000000,0.00000000,0.00000000,0.00000000,5.25000000,6.30000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,7,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,5.25000000,1.05000000,6.30000000,NULL,'facture/TC1-2502-0013/TC1-2502-0013.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(467,'TC1-2502-0014',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:39:58','2025-02-05','2025-02-05 15:40:02','2025-02-05 15:40:02','2025-02-05 14:40:02',1,0,0,0,NULL,NULL,NULL,0.62000000,0.00000000,0.00000000,0.00000000,3.08000000,3.70000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,3.08000000,0.62000000,3.70000000,NULL,'facture/TC1-2502-0014/TC1-2502-0014.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(468,'TC1-2502-0015',1,NULL,NULL,0,NULL,NULL,7,'2025-02-05 15:40:05','2025-02-05','2025-02-05 15:40:14','2025-02-05 15:40:15','2025-02-05 14:40:17',1,0,0,0,NULL,NULL,NULL,1.56000000,0.00000000,0.00000000,0.00000000,7.74000000,9.30000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,7.74000000,1.56000000,9.30000000,NULL,'facture/TC1-2502-0015/TC1-2502-0015.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,1,0,NULL),
(469,'TC1-2502-0016',1,NULL,NULL,0,NULL,NULL,7,'2025-02-15 09:31:07','2025-02-15','2025-02-15 09:31:12','2025-02-15 09:31:13','2025-02-15 08:31:13',1,0,0,0,NULL,NULL,NULL,0.47000000,0.00000000,0.00000000,0.00000000,2.33000000,2.80000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-15',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.33000000,0.47000000,2.80000000,NULL,'facture/TC1-2502-0016/TC1-2502-0016.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(470,'TC1-2502-0017',1,NULL,NULL,0,NULL,NULL,7,'2025-02-15 09:31:17','2025-02-15','2025-02-15 09:31:18','2025-02-15 09:31:19','2025-02-15 08:31:19',1,0,0,0,NULL,NULL,NULL,0.44000000,0.00000000,0.00000000,0.00000000,2.16000000,2.60000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-15',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.16000000,0.44000000,2.60000000,NULL,'facture/TC1-2502-0017/TC1-2502-0017.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL),
(471,'TC1-2502-0018',1,NULL,NULL,0,NULL,NULL,7,'2025-02-15 09:31:23','2025-02-15','2025-02-15 09:31:26','2025-02-15 09:31:26','2025-02-15 08:31:29',1,0,0,0,NULL,NULL,NULL,0.08000000,0.00000000,0.00000000,0.00000000,0.42000000,0.50000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-02-15',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,0.42000000,0.08000000,0.50000000,NULL,'facture/TC1-2502-0018/TC1-2502-0018.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,1,0,NULL),
(472,'TC1-2503-0019',1,NULL,NULL,0,NULL,NULL,7,'2025-03-05 09:31:56','2025-03-05','2025-03-05 09:32:23','2025-03-05 09:40:34','2025-03-05 08:40:53',1,0,0,0,NULL,NULL,NULL,4.00000000,0.00000000,0.00000000,0.00000000,20.00000000,24.00000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,0,'2025-03-05',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,20.00000000,4.00000000,24.00000000,NULL,'facture/TC1-2503-0019/TC1-2503-0019.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,1,0,NULL),
(473,'AV2503-0006',1,NULL,NULL,2,NULL,NULL,7,'2025-03-05 09:39:56','2025-03-05','2025-03-05 09:40:04','2025-03-05 09:40:29','2025-03-05 08:40:29',1,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,-0.01000000,-0.01000000,2,12,NULL,12,12,472,NULL,3,NULL,0,0,'2025-03-05',NULL,0,NULL,NULL,'crabe',NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,1,'EUR',1.00000000,-0.01000000,0.00000000,-0.01000000,NULL,'facture/AV2503-0006/AV2503-0006.pdf',NULL,NULL,NULL,NULL,0,0,NULL,0,0,NULL),
(475,'TC1-2503-0020',1,NULL,NULL,0,NULL,NULL,7,'2025-03-15 10:59:38','2025-03-15','2025-03-15 10:59:39','2025-03-15 11:01:07','2025-03-15 10:01:07',1,0,0,0,NULL,NULL,NULL,0.40000000,0.00000000,0.00000000,0.00000000,2.00000000,2.40000000,2,12,NULL,12,12,NULL,NULL,NULL,NULL,0,4,'2025-03-15',NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,0,0,'',NULL,NULL,0,'EUR',1.00000000,2.00000000,0.40000000,2.40000000,NULL,'facture/TC1-2503-0020/TC1-2503-0020.pdf',NULL,'takepos','1',NULL,NULL,0,NULL,0,0,NULL);

--
-- 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) DEFAULT NULL,
  `commission` int(3) DEFAULT NULL,
  `reseller` int(11) DEFAULT NULL,
  `delayautopayment` date DEFAULT NULL,
  `invoicepaymentdisputed` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_extrafields` (`fk_object`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facture_extrafields` VALUES
(1,'2023-02-15 16:05:13',235,NULL,NULL,NULL,NULL,NULL),
(2,'2023-02-15 16:17:22',236,NULL,NULL,NULL,NULL,NULL),
(3,'2023-03-02 16:11:22',237,NULL,NULL,NULL,NULL,NULL),
(5,'2023-03-02 16:20:59',238,NULL,NULL,NULL,NULL,NULL),
(6,'2023-03-15 11:24:26',239,NULL,NULL,NULL,NULL,NULL),
(7,'2023-03-15 12:42:22',240,NULL,NULL,NULL,NULL,NULL),
(14,'2024-12-09 14:25:13',241,NULL,NULL,NULL,NULL,NULL),
(16,'2024-12-12 14:49:53',242,NULL,NULL,NULL,NULL,NULL),
(17,'2024-12-18 14:51:53',243,NULL,NULL,NULL,NULL,NULL),
(18,'2024-12-18 15:16:33',244,NULL,NULL,NULL,NULL,NULL),
(19,'2024-12-18 15:20:24',245,NULL,NULL,NULL,NULL,NULL),
(20,'2024-12-18 15:20:57',246,NULL,NULL,NULL,NULL,NULL),
(21,'2024-12-30 19:08:06',247,NULL,NULL,NULL,NULL,NULL),
(22,'2025-02-19 16:54:56',248,NULL,NULL,NULL,NULL,NULL),
(23,'2025-02-19 17:03:34',249,NULL,NULL,NULL,NULL,NULL),
(24,'2025-02-19 17:10:20',250,NULL,NULL,NULL,NULL,NULL),
(25,'2025-02-21 19:55:41',251,NULL,NULL,NULL,NULL,NULL),
(27,'2025-03-19 13:40:57',293,NULL,NULL,NULL,NULL,NULL),
(28,'2025-04-09 10:10:08',447,NULL,NULL,NULL,NULL,NULL),
(29,'2025-04-25 12:47:20',448,NULL,NULL,NULL,NULL,NULL),
(31,'2025-04-25 12:50:12',450,NULL,NULL,NULL,NULL,NULL);

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

CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `ref_supplier` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `type` smallint(6) NOT NULL DEFAULT 0,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `libelle` varchar(255) 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) DEFAULT NULL,
  `close_missing_amount` double(24,8) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `vat_reverse_charge` tinyint(4) DEFAULT 0,
  `tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_closing` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `fk_transport_mode` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) 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,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `date_closing` datetime DEFAULT NULL,
  `fk_fac_rec_source` int(11) DEFAULT NULL,
  `revenuestamp` double(24,8) DEFAULT 0.00000000,
  `subtype` smallint(6) DEFAULT NULL,
  `fk_thirdparty_rib_id` int(11) DEFAULT NULL,
  `payment_reference` varchar(25) DEFAULT NULL,
  `dispute_status` int(11) DEFAULT 0,
  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`),
  KEY `idx_facture_fourn_tms` (`tms`),
  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=43 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facture_fourn` VALUES
(16,'SI1601-0001','FR70813',1,NULL,0,1,'2014-12-19 15:24:11','2003-04-11','2017-02-06 04:08:22','OVH FR70813',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,829.00000000,162.48000000,991.48000000,1,1,NULL,12,NULL,NULL,NULL,NULL,1,NULL,'2003-04-11','','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(17,'SI1601-0002','FR81385',1,NULL,0,1,'2015-02-13 17:19:35','2003-06-04','2019-10-04 08:31:30','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,NULL,NULL,26.00000000,5.10000000,31.10000000,1,1,NULL,12,NULL,NULL,NULL,NULL,4,NULL,'2003-08-03','','','canelle',NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,'2019-10-04',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(18,'SI1601-0003','FR81385',1,NULL,0,2,'2015-02-13 17:20:25','2003-06-04','2017-02-06 04:08:35','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,26.00000000,5.10000000,31.10000000,0,1,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'2003-06-04','','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(19,'SI1601-0004','FR813852',1,NULL,0,2,'2015-03-16 17:59:02','2015-03-16','2017-02-06 04:08:38','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,26.00000000,5.10000000,31.10000000,0,1,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,'','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(20,'SI1702-0001','INV-AE56ER08',1,NULL,0,13,'2017-02-01 19:00:31','2017-02-01','2017-02-01 15:05:28','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,200.00000000,39.20000000,239.20000000,1,12,NULL,12,NULL,NULL,5,NULL,1,0,'2017-02-01','The customer has called us the 24th april. He agree us to not pay the remain of invoice due to default.<br />\r\nLet\'s see with our book keeper, if we must cancel invoice or ask the supplier a credit note...',NULL,'canelle',NULL,NULL,0,'',NULL,0,'EUR',1.00000000,200.00000000,39.20000000,239.20000000,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(21,'SI1911-0005','NL-123',1,NULL,0,10,'2019-11-28 15:54:30','2019-11-28','2019-11-28 11:54:46','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,450.00000000,0.00000000,450.00000000,1,12,NULL,12,NULL,NULL,NULL,NULL,1,NULL,'2019-11-28','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,450.00000000,0.00000000,450.00000000,NULL,NULL,'2019-11-28',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(22,'SI2001-0006','INV20200101',1,NULL,0,17,'2020-01-01 17:48:01','2020-01-01','2023-01-10 16:24:45','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,361.00000000,70.93000000,431.93000000,0,12,NULL,12,NULL,NULL,NULL,1,1,2,'2020-01-01','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,361.00000000,70.93000000,431.93000000,'fournisseur/facture/2/2/SI2001-0006/SI2001-0006.pdf',NULL,'2022-12-29',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(27,'SA2001-0001','CN01',1,NULL,2,17,'2020-01-01 20:21:51','2020-01-01','2022-02-07 13:38:10','',1,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,-350.00000000,-43.75000000,-393.75000000,2,12,12,12,NULL,22,NULL,NULL,1,NULL,NULL,'','ddd',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,-350.00000000,-43.75000000,-393.75000000,NULL,NULL,'2020-01-01',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(28,'SI2001-0007','INV02',1,NULL,0,17,'2020-01-01 20:22:48','2020-01-01','2020-01-01 18:06:02','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,79.17000000,9.89000000,89.06000000,1,12,NULL,12,NULL,NULL,NULL,NULL,1,NULL,'2020-01-01','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,79.17000000,9.89000000,89.06000000,NULL,NULL,'2020-01-01',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(30,'SA2001-0002','555',1,NULL,2,1,'2020-01-01 20:51:32','2020-01-01','2020-01-01 17:15:57','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,-26.00000000,-5.10000000,-31.10000000,1,12,NULL,12,NULL,17,NULL,NULL,1,NULL,NULL,'','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,'2020-01-01',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(31,'(PROV31)','aaaa',1,'',3,13,'2023-02-11 08:27:18','2023-02-11','2023-02-11 11:27:18','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,'2023-03-13','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,0.00000000,0.00000000,0.00000000,'fournisseur/facture/1/3/(PROV31)/(PROV31).pdf',NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(32,'SI2302-0008','aaaa',1,'',0,17,'2023-02-15 13:18:16','2023-02-15','2023-02-15 16:54:52','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,50.00000000,10.00000000,60.00000000,1,12,NULL,12,NULL,NULL,4,NULL,1,4,'2023-02-15','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,50.00000000,10.00000000,60.00000000,'fournisseur/facture/2/3/SI2302-0008/SI2302-0008.pdf',NULL,'2023-02-15',NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(34,'(PROV34)','Copy of FR81385',1,'',0,1,'2023-02-21 08:01:43','2023-02-21','2023-02-21 11:01:43','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,26.00000000,5.10000000,31.10000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,4,NULL,NULL,'','',NULL,NULL,NULL,0,'',NULL,0,'EUR',1.00000000,26.00000000,5.10000000,31.10000000,NULL,NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(38,'(PROV38)','Copy of FR81385c',1,'',0,1,'2023-02-21 08:10:59','2023-02-21','2025-01-02 19:29:23','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,993.00000000,279.12000000,1272.12000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,'2023-02-21','','','canelle',NULL,NULL,0,'',NULL,0,'EUR',1.00000000,993.00000000,279.12000000,1272.12000000,'fournisseur/facture/8/3/(PROV38)/(PROV38).pdf',NULL,NULL,NULL,NULL,0.00000000,NULL,NULL,NULL,0),
(39,'SI2302-0009','FR81385caaa',1,'',0,1,'2023-02-21 08:14:59','2023-02-21','2024-12-30 15:50:15','OVH FR81385',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,26.00000000,5.10000000,31.10000000,1,12,NULL,12,NULL,NULL,NULL,NULL,1,2,'2023-02-21','','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,26.00000000,5.10000000,31.10000000,'fournisseur/facture/9/3/SI2302-0009/SI2302-0009.pdf',NULL,'2024-12-30',NULL,NULL,0.00000000,0,NULL,NULL,0),
(40,'(PROV40)','ffff',1,'',2,1,'2024-12-30 21:04:05','2024-12-30','2024-12-30 20:04:05','',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,-31.10000000,0.00000000,-31.10000000,0,12,NULL,NULL,NULL,39,NULL,NULL,NULL,4,NULL,'','',NULL,NULL,NULL,0,'',NULL,1,'EUR',1.00000000,-31.10000000,0.00000000,-31.10000000,'fournisseur/facture/0/4/(PROV40)/(PROV40).pdf',NULL,NULL,NULL,NULL,0.00000000,0,NULL,NULL,0),
(41,'(PROV41)','ddd',1,'',0,10,'2025-01-02 20:04:18','2025-01-02','2025-03-11 01:53:30','ggg',0,0.00000000,0.00000000,NULL,NULL,NULL,0,0.00000000,0.00000000,0.00000000,10.00000000,0.00000000,10.00000000,0,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,4,'2025-01-02','','','canelle',NULL,NULL,0,'',NULL,1,'EUR',1.00000000,10.00000000,0.00000000,10.00000000,'fournisseur/facture/1/4/(PROV41)/(PROV41).pdf',NULL,NULL,NULL,NULL,0.00000000,0,NULL,NULL,0);

--
-- 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(128) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `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) NOT NULL DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_subprice_ttc` 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,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`),
  KEY `fk_facture_fourn_det_fk_unit` (`fk_unit`),
  KEY `idx_facture_fourn_det_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `idx_facture_fourn_det_fk_product` (`fk_product`),
  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=117 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facture_fourn_det` VALUES
(44,16,NULL,NULL,NULL,NULL,'<strong>ref :sd.loc.sp.512.6</strong><br>6 mois - Location de SuperPlan avec la connexion 512kbs<br>Du 11/04/2003 &agrave; 11/10/2003',414.00000000,495.14400000,1,0,NULL,19.600,'',0.000,'',0.000,'',414.00000000,81.14000000,0.00000000,0.00000000,495.14000000,0,NULL,NULL,0,NULL,105,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(45,16,NULL,NULL,NULL,NULL,'<strong>ref :sd.loc.sp.512.6</strong><br>6 mois - Location de SuperPlan avec la connexion 512kbs<br>Du 11/10/2003 &agrave; 11/04/2004',414.00000000,495.14400000,1,0,NULL,19.600,'',0.000,'',0.000,'',414.00000000,81.14000000,0.00000000,0.00000000,495.14000000,0,NULL,NULL,0,NULL,104,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(46,16,NULL,NULL,NULL,NULL,'<strong>ref :sd.installation.annuel</strong><br>Frais de mise en service d\'un serveur dédié pour un paiement annuel<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'',0.000,'',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,105,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(47,17,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'',0.000,'',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,106,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(48,17,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,19.600,'',0.000,'',0.000,'',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,NULL,103,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(49,18,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'',0.000,'',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(50,18,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,19.600,'',0.000,'',0.000,'',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(51,19,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'0',0.000,'0',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(52,19,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,19.600,'',0.000,'0',0.000,'0',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(53,20,NULL,NULL,NULL,NULL,'Chips',20.00000000,23.92000000,10,0,NULL,19.600,'',0.000,'0',0.000,'0',200.00000000,39.20000000,0.00000000,0.00000000,239.20000000,0,NULL,NULL,0,NULL,323,0,0,NULL,0,'EUR',20.00000000,0.00000000,200.00000000,39.20000000,239.20000000,NULL),
(54,21,NULL,1,'aaa',NULL,'A beatifull pink dress',100.00000000,90.00000000,5,10,NULL,0.000,'',0.000,'0',0.000,'0',450.00000000,0.00000000,0.00000000,0.00000000,450.00000000,0,NULL,NULL,0,NULL,323,0,1,NULL,1,'EUR',100.00000000,0.00000000,450.00000000,0.00000000,450.00000000,NULL),
(78,22,NULL,1,'BK01',NULL,'A beatifull pink dress',70.00000000,84.00000000,5,0,NULL,20.000,'',0.000,'',0.000,'',350.00000000,70.00000000,0.00000000,0.00000000,420.00000000,0,NULL,NULL,0,NULL,323,0,2,NULL,1,'EUR',70.00000000,0.00000000,350.00000000,70.00000000,420.00000000,NULL),
(83,27,NULL,1,'BK01','Pink dress','A beatifull pink dress',-70.00000000,-78.75000000,5,0,NULL,12.500,'',0.000,'0',0.000,'0',-350.00000000,-43.75000000,0.00000000,0.00000000,-393.75000000,0,NULL,NULL,0,NULL,323,0,2,NULL,1,'EUR',-70.00000000,0.00000000,-350.00000000,-43.75000000,-393.75000000,NULL),
(84,28,NULL,1,'BK01',NULL,'A beatifull pink dress',79.16667000,89.06000000,1,0,NULL,12.500,'',0.000,'0',0.000,'0',79.17000000,9.89000000,0.00000000,0.00000000,89.06000000,0,NULL,NULL,0,NULL,323,0,1,NULL,1,'EUR',79.16667000,0.00000000,79.17000000,9.89000000,89.06000000,NULL),
(86,30,NULL,NULL,'',NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',-1.00000000,-1.20000000,1,0,NULL,19.600,'',0.000,'0',0.000,'0',-1.00000000,-0.20000000,0.00000000,0.00000000,-1.20000000,0,NULL,NULL,0,NULL,325,0,0,NULL,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(87,30,NULL,NULL,'',NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',-25.00000000,-29.90000000,1,0,NULL,19.600,'',0.000,'0',0.000,'0',-25.00000000,-4.90000000,0.00000000,0.00000000,-29.90000000,0,NULL,NULL,0,NULL,325,0,0,NULL,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(89,22,NULL,2,'BKPEARPIE',NULL,'',7.00000000,7.70000000,1,0,NULL,10.000,'',0.000,'',0.000,'',7.00000000,0.70000000,0.00000000,0.00000000,7.70000000,0,NULL,NULL,0,NULL,324,0,3,NULL,1,'EUR',7.00000000,0.00000000,7.00000000,0.70000000,7.70000000,NULL),
(90,22,NULL,NULL,'',NULL,'aaa',1.00000000,1.06000000,1,0,NULL,5.500,'aaa',0.000,'0',0.000,'0',1.00000000,0.06000000,0.00000000,0.00000000,1.06000000,0,NULL,NULL,0,NULL,0,0,4,NULL,1,'EUR',1.00000000,0.00000000,1.00000000,0.06000000,1.06000000,NULL),
(91,22,NULL,NULL,'',NULL,'aa',2.00000000,2.11000000,1,0,NULL,5.500,'bbb',0.000,'0',0.000,'0',2.00000000,0.11000000,0.00000000,0.00000000,2.11000000,1,NULL,NULL,0,NULL,0,0,5,NULL,1,'EUR',2.00000000,0.00000000,2.00000000,0.11000000,2.11000000,NULL),
(92,22,NULL,NULL,'',NULL,'1',1.00000000,1.06000000,1,0,NULL,5.500,'aaa',0.000,'0',0.000,'0',1.00000000,0.06000000,0.00000000,0.00000000,1.06000000,0,NULL,NULL,0,NULL,0,0,6,NULL,1,'EUR',1.00000000,0.00000000,1.00000000,0.06000000,1.06000000,NULL),
(93,32,NULL,NULL,'aaa',NULL,'fsdfds',50.00000000,60.00000000,1,0,NULL,20.000,'',0.000,'',0.000,'',50.00000000,10.00000000,0.00000000,0.00000000,60.00000000,0,NULL,NULL,0,NULL,0,0,1,NULL,1,'EUR',50.00000000,0.00000000,50.00000000,10.00000000,60.00000000,NULL),
(96,34,NULL,NULL,'',NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'',0.000,'',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,1.00000000,0.00000000,1.00000000,0.20000000,1.20000000,NULL),
(97,34,NULL,NULL,'',NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,19.600,'',0.000,'',0.000,'',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,25.00000000,0.00000000,25.00000000,4.90000000,29.90000000,NULL),
(102,39,NULL,NULL,'',NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,19.600,'',0.000,'',0.000,'',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,1.00000000,0.00000000,1.00000000,0.20000000,1.20000000,NULL),
(103,39,NULL,NULL,'',NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,19.600,'',0.000,'',0.000,'',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,NULL,0,0,0,NULL,NULL,NULL,25.00000000,0.00000000,25.00000000,4.90000000,29.90000000,NULL),
(106,38,NULL,1,'',NULL,'A beatifull pink dress\naaaa',-5.00000000,-5.63000000,1,0,NULL,12.500,'',0.000,'0',0.000,'0',-5.00000000,-0.63000000,0.00000000,0.00000000,-5.63000000,0,NULL,NULL,0,NULL,0,0,1,NULL,0,'EUR',-5.00000000,0.00000000,-5.00000000,-0.63000000,-5.63000000,NULL),
(107,38,NULL,NULL,'',NULL,'hfgh',1000.00000000,1280.00000000,1,0,NULL,28.000,'I-28',0.000,'0',0.000,'0',1000.00000000,280.00000000,0.00000000,0.00000000,1280.00000000,0,NULL,NULL,0,NULL,0,0,2,1,0,'EUR',1000.00000000,0.00000000,1000.00000000,280.00000000,1280.00000000,NULL),
(108,40,NULL,NULL,'',NULL,'Credit Note for remaining unpaid amount',-31.10000000,-31.10000000,1,0,NULL,0.000,'',0.000,'0',0.000,'0',-31.10000000,0.00000000,0.00000000,0.00000000,-31.10000000,0,NULL,NULL,0,NULL,0,0,1,NULL,1,'EUR',-31.10000000,0.00000000,-31.10000000,0.00000000,-31.10000000,NULL),
(109,38,NULL,1,'',NULL,'A beatifull pink dress\nffff',-2.00000000,-2.25000000,1,0,NULL,12.500,'',0.000,'0',0.000,'0',-2.00000000,-0.25000000,0.00000000,0.00000000,-2.25000000,0,NULL,NULL,0,NULL,0,0,3,NULL,0,'EUR',-2.00000000,0.00000000,-2.00000000,-0.25000000,-2.25000000,NULL),
(110,38,NULL,1,'',NULL,'A beatifull pink dress\nffff',0.00000000,0.00000000,1,0,NULL,12.500,'',0.000,'0',0.000,'0',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,NULL,NULL,0,NULL,0,0,4,NULL,0,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL),
(111,41,NULL,NULL,'',NULL,'aaaaaa',10.00000000,10.00000000,1,0,NULL,0.000,'',0.000,'0',0.000,'0',10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0,0,1,1,1,'EUR',10.00000000,0.00000000,10.00000000,0.00000000,10.00000000,NULL);

--
-- 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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_det_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `llx_facture_fourn_det_rec`
--

CREATE TABLE `llx_facture_fourn_det_rec` (
  `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) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `pu_ht` double(24,8) DEFAULT NULL,
  `pu_ttc` double(24,8) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(7,4) DEFAULT NULL,
  `localtax1_tx` double(7,4) DEFAULT 0.0000,
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(7,4) DEFAULT 0.0000,
  `localtax2_type` varchar(10) 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` int(11) DEFAULT NULL,
  `date_end` int(11) DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `special_code` int(10) unsigned DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) 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(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_subprice_ttc` 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,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `fk_facture_fourn_det_rec_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facture_fourn_det_rec_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_det_rec`
--

INSERT INTO `llx_facture_fourn_det_rec` VALUES
(1,1,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.creation</strong><br>Création du compte backup ftp 250Mo.<br>',1.00000000,1.19600000,1,0,NULL,'',19.6000,0.0000,'0',0.0000,'0',1.00000000,0.20000000,0.00000000,0.00000000,1.20000000,0,NULL,NULL,0,0,0,NULL,NULL,1,NULL,0,'EUR',1.00000000,0.00000000,1.00000000,0.20000000,1.20000000,NULL),
(2,1,NULL,NULL,NULL,NULL,'<strong>ref :bk.full250.12</strong><br>Redevance pour un backup de 250Mo sur 12 mois<br>',25.00000000,29.90000000,1,0,NULL,'',19.6000,0.0000,'0',0.0000,'0',25.00000000,4.90000000,0.00000000,0.00000000,29.90000000,0,NULL,NULL,0,0,0,NULL,NULL,1,NULL,0,'EUR',25.00000000,0.00000000,25.00000000,4.90000000,29.90000000,NULL);

--
-- Table structure for table `llx_facture_fourn_det_rec_extrafields`
--

CREATE TABLE `llx_facture_fourn_det_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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_det_rec_extrafields` (`fk_object`),
  KEY `llx_facture_fourn_det_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_det_rec_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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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


--
-- Table structure for table `llx_facture_fourn_rec`
--

CREATE TABLE `llx_facture_fourn_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(200) NOT NULL,
  `ref_supplier` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `subtype` smallint(6) DEFAULT NULL,
  `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,
  `libelle` varchar(255) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `remise` double DEFAULT 0,
  `vat_src_code` varchar(10) DEFAULT '',
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` 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 DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `modelpdf` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) 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) 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,
  `usenewcurrencyrate` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_rec_ref` (`titre`,`entity`),
  UNIQUE KEY `uk_facture_fourn_rec_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  KEY `idx_facture_fourn_rec_fk_soc` (`fk_soc`),
  KEY `idx_facture_fourn_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fourn_rec_fk_projet` (`fk_projet`),
  KEY `idx_facture_fourn_rec_date_lim_reglement` (`date_lim_reglement`),
  CONSTRAINT `fk_facture_fourn_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fourn_rec_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fourn_rec_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_rec`
--

INSERT INTO `llx_facture_fourn_rec` VALUES
(1,'Monthly subscription server OVH','FR81386',1,NULL,1,'2023-08-15 12:19:18','2025-04-07 11:27:30',0,'OVH FR81386',0.00000000,0,NULL,0.00000000,0.00000000,26.00000000,5.10000000,31.10000000,12,12,NULL,NULL,4,NULL,NULL,'','','canelle',NULL,'EUR',1.00000000,26.00000000,5.10000000,31.10000000,0,2,'m','2023-08-15 14:19:00',NULL,0,0,0,1,0);

--
-- Table structure for table `llx_facture_fourn_rec_extrafields`
--

CREATE TABLE `llx_facture_fourn_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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `llx_facture_fourn_rec_extrafields`
--


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

CREATE TABLE `llx_facture_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(200) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `subtype` smallint(6) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `remise` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT 1,
  `fk_mode_reglement` int(11) DEFAULT 0,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `modelpdf` varchar(255) DEFAULT NULL,
  `last_gen` varchar(7) DEFAULT NULL,
  `unit_frequency` varchar(2) DEFAULT 'd',
  `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,
  `frequency` int(11) DEFAULT NULL,
  `usenewprice` int(11) DEFAULT 0,
  `revenuestamp` double(24,8) DEFAULT 0.00000000,
  `auto_validate` int(11) DEFAULT 0,
  `generate_pdf` int(11) DEFAULT 1,
  `fk_account` int(11) DEFAULT 0,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) 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,
  `fk_user_modif` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `vat_src_code` varchar(10) DEFAULT '',
  `suspended` int(11) DEFAULT 0,
  `fk_societe_rib` int(11) DEFAULT NULL,
  `rule_for_lines_dates` varchar(255) DEFAULT 'prepaid',
  `usenewcurrencyrate` int(11) DEFAULT 0,
  `fk_email_template` int(11) DEFAULT NULL,
  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`),
  KEY `idx_facture_rec_datec` (`datec`),
  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=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facture_rec` VALUES
(1,'Template invoice for Alice services',1,NULL,10,'2017-02-07 03:47:00',0.00000000,0,0,0,0.00000000,0.00000000,0.00000000,6.67000000,6.67000000,12,NULL,1,6,NULL,NULL,NULL,NULL,NULL,'m','2025-04-19 13:40:57','2025-03-19 13:40:57',1,0,1,0,0.00000000,0,1,3,NULL,'AED',2.00000000,13.33000000,0.00000000,13.33000000,12,'2025-04-25 01:39:14','',1,NULL,'prepaid',0,NULL),
(2,'Template invoice for Alice cooking - Project 1',1,NULL,10,'2017-02-07 03:47:58',0.00000000,0,0,0,0.00000000,0.00000000,0.00000000,75.00000000,75.00000000,12,6,1,2,NULL,NULL,NULL,NULL,NULL,'m',NULL,NULL,0,0,NULL,0,0.00000000,0,1,4,NULL,NULL,1.00000000,75.00000000,0.00000000,75.00000000,12,'2025-04-05 10:35:36','',0,NULL,'prepaid',0,NULL);

--
-- 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) DEFAULT NULL,
  `discountcode` varchar(255) DEFAULT NULL,
  `commentonqty` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `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,
  `subprice_ttc` double(24,8) DEFAULT 0.00000000,
  `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,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `special_code` int(10) unsigned DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_contract_line` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `situation_percent` double DEFAULT 100,
  `fk_prev_id` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_subprice_ttc` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `ref_ext` varchar(255) DEFAULT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  KEY `idx_facturedet_fk_facture` (`fk_facture`),
  KEY `idx_facturedet_fk_product` (`fk_product`),
  KEY `fk_facturedet_fk_unit` (`fk_unit`),
  KEY `idx_facturedet_fk_code_ventilation` (`fk_code_ventilation`),
  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=2108 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

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

INSERT INTO `llx_facturedet` VALUES
(3,2,NULL,3,NULL,'Service S1',0.000,'',0.000,'',0.000,'',1,10,4,NULL,40.00000000,0.00000000,36.00000000,36.00000000,0.00000000,0.00000000,0.00000000,36.00000000,1,'2012-07-10 00:00:00',NULL,0,NULL,0.00000000,108,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(4,2,NULL,NULL,NULL,'Abonnement annuel assurance',1.000,'',0.000,'',0.000,'',1,0,0,NULL,10.00000000,0.00000000,10.00000000,10.00000000,0.10000000,0.00000000,0.00000000,10.10000000,0,'2012-07-10 00:00:00','2013-07-10 00:00:00',0,NULL,0.00000000,108,0,3,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(11,3,NULL,4,NULL,'afsdfsdfsdfsdf',0.000,'',0.000,'',0.000,'',1,0,0,NULL,5.00000000,0.00000000,5.00000000,5.00000000,0.00000000,0.00000000,0.00000000,5.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,0,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(12,3,NULL,NULL,NULL,'dfdfd',0.000,'',0.000,'',0.000,'',1,0,0,NULL,10.00000000,0.00000000,10.00000000,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(13,5,NULL,4,NULL,'Decapsuleur',12.500,'',0.000,'',0.000,'',1,0,0,NULL,5.00000000,0.00000000,5.00000000,5.00000000,0.63000000,0.00000000,0.00000000,5.63000000,0,NULL,NULL,0,NULL,0.00000000,394,0,0,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(14,6,NULL,4,NULL,'Decapsuleur',19.600,'',0.000,'',0.000,'',1,0,0,NULL,5.00000000,0.00000000,5.00000000,5.00000000,0.98000000,0.00000000,0.00000000,5.98000000,0,NULL,NULL,0,NULL,0.00000000,394,0,0,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(21,8,NULL,NULL,NULL,'dddd',0.000,'',0.000,'',0.000,'',1,0,0,NULL,10.00000000,0.00000000,10.00000000,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(22,9,NULL,NULL,NULL,'ggg',19.600,'',0.000,'',0.000,'',1,0,0,NULL,10.00000000,0.00000000,10.00000000,10.00000000,1.96000000,0.00000000,0.00000000,11.96000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(23,10,NULL,4,NULL,'',12.500,'',0.000,'',0.000,'',1,0,0,NULL,-5.00000000,0.00000000,NULL,-5.00000000,-0.63000000,0.00000000,0.00000000,-5.63000000,0,NULL,NULL,0,NULL,12.00000000,394,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(24,10,NULL,1,NULL,'A beatifull pink dress\r\nlkm',0.000,'',0.000,'',0.000,'',1,0,0,NULL,-6.00000000,0.00000000,NULL,-6.00000000,0.00000000,0.00000000,0.00000000,-6.00000000,0,NULL,NULL,0,0,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(26,12,NULL,1,NULL,'A beatifull pink dress\r\nhfghf',0.000,'',0.000,'',0.000,'',1,0,0,NULL,-5.00000000,0.00000000,NULL,-5.00000000,0.00000000,0.00000000,0.00000000,-5.00000000,0,NULL,NULL,0,0,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(27,13,NULL,NULL,NULL,'gdfgdf',19.600,'',0.000,'',0.000,'',1.4,0,0,NULL,10.00000000,0.00000000,NULL,14.00000000,2.74000000,0.00000000,0.00000000,16.74000000,0,NULL,NULL,0,NULL,0.00000000,108,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(137,33,NULL,NULL,NULL,'Desc',10.000,'',0.000,'',0.000,'',1,0,0,NULL,1.24000000,0.00000000,NULL,1.24000000,0.12000000,0.00000000,0.00000000,1.36000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(138,33,NULL,NULL,NULL,'Desc',10.000,'',0.000,'',0.000,'',1,0,0,NULL,1.24000000,0.00000000,NULL,1.24000000,0.12000000,0.00000000,0.00000000,1.36000000,0,NULL,NULL,0,NULL,0.00000000,110,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(256,55,NULL,NULL,NULL,'Desc',10.000,'',0.000,'',0.000,'',1,0,0,NULL,1.24000000,0.00000000,NULL,1.24000000,0.12000000,0.00000000,0.00000000,1.36000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(257,55,NULL,NULL,NULL,'Desc',10.000,'',0.000,'',0.000,'',1,0,0,NULL,1.24000000,0.00000000,NULL,1.24000000,0.12000000,0.00000000,0.00000000,1.36000000,0,NULL,NULL,0,NULL,0.00000000,110,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(753,13,NULL,2,NULL,'(Pays d\'origine: Albanie)',0.000,'',0.000,'',0.000,'',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,NULL,NULL,0,0,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(754,148,NULL,11,NULL,'hfghf',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(755,148,NULL,4,NULL,'Decapsuleur',12.500,'',0.000,'0',0.000,'0',1,0,0,NULL,5.00000000,0.00000000,NULL,5.00000000,0.63000000,0.00000000,0.00000000,5.63000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,NULL,NULL,NULL,6.50000000,0.00000000,6.50000000,0.81000000,7.31000000,'','',0,NULL),
(757,150,NULL,2,NULL,'Product P1',12.500,'',0.000,'0',0.000,'0',1,0,0,NULL,5.00000000,0.00000000,NULL,5.00000000,0.63000000,0.00000000,0.00000000,5.63000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,NULL,NULL,NULL,6.00000000,0.00000000,6.00000000,0.75000000,6.75000000,'','',0,NULL),
(758,151,NULL,2,NULL,'Product P1',12.500,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,1.25000000,0.00000000,0.00000000,11.25000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,NULL,NULL,NULL,10.00000000,0.00000000,10.00000000,1.25000000,11.25000000,'','',0,NULL),
(768,32,NULL,NULL,NULL,'mlml',18.000,'',0.000,'',0.000,'',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,18.00000000,0.00000000,0.00000000,118.00000000,0,NULL,NULL,0,NULL,46.00000000,110,0,3,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(769,32,NULL,NULL,NULL,'mlkml',18.000,'',0.000,'',0.000,'',1,0,0,NULL,400.00000000,0.00000000,NULL,400.00000000,72.00000000,0.00000000,0.00000000,472.00000000,0,NULL,NULL,0,NULL,300.00000000,110,0,4,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(772,160,NULL,NULL,NULL,'Adhésion/cotisation 2015',12.500,'',0.000,'',0.000,'',1,0,0,NULL,8.88889000,0.00000000,NULL,8.89000000,1.11000000,0.00000000,0.00000000,10.00000000,1,'2017-07-18 00:00:00','2018-07-17 00:00:00',0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(776,32,NULL,NULL,NULL,'fsdfsdfds',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,5,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(777,32,NULL,NULL,NULL,'fsdfsdfds',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,6,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(779,32,NULL,NULL,NULL,'fsdfds',0.000,'',0.000,'0',0.000,'0',0,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,0,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(780,32,NULL,NULL,NULL,'ffsdf',0.000,'',0.000,'0',0.000,'0',0,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,9,NULL,NULL,0,NULL,0.00000000,0,1790,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(1022,210,NULL,NULL,NULL,'Adhésion/cotisation 2011',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,1,'2013-07-10 00:00:00','2014-07-09 00:00:00',0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(1023,211,NULL,NULL,NULL,'Samsung Android x4',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,250.00000000,0.00000000,NULL,250.00000000,0.00000000,0.00000000,0.00000000,250.00000000,0,NULL,NULL,0,NULL,200.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(1024,211,NULL,1,NULL,'A beatifull pink dress\r\nSize XXL',19.600,'',0.000,'0',0.000,'0',1,10,0,NULL,100.00000000,0.00000000,NULL,90.00000000,17.64000000,0.00000000,0.00000000,107.64000000,0,NULL,NULL,0,NULL,90.00000000,0,0,2,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(1026,213,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',10,0,0,NULL,-100.00000000,0.00000000,NULL,-1000.00000000,0.00000000,0.00000000,0.00000000,-1000.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,NULL,NULL,NULL,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,NULL,NULL,NULL,NULL),
(1028,149,NULL,NULL,NULL,'opoo',0.000,'CGST+SGST',9.000,'1',9.000,'1',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.90000000,0.90000000,11.80000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'',10.00000000,0.00000000,10.00000000,0.00000000,11.80000000,NULL,NULL,NULL,NULL),
(1029,149,NULL,NULL,NULL,'gdgd',18.000,'IGST',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,1.80000000,0.00000000,0.00000000,11.80000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'',10.00000000,0.00000000,10.00000000,1.80000000,11.80000000,NULL,NULL,NULL,NULL),
(1030,217,NULL,NULL,NULL,'gfdgdf',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,12.00000000,0.00000000,NULL,12.00000000,0.00000000,0.00000000,0.00000000,12.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,0,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',12.00000000,0.00000000,12.00000000,0.00000000,12.00000000,NULL,NULL,NULL,NULL),
(1035,218,NULL,12,NULL,'Cloud hosting of Dolibarr ERP and CRM software',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,NULL,NULL,NULL,NULL),
(1036,218,NULL,5,NULL,'<strong><span style=\"font-family:roboto,uilanguagefont,arial,sans-serif; font-size:14px\">DoliDroid is the Android front-end client for Dolibarr ERP &amp; CRM web software.</span><br />\r\n<span style=\"font-family:roboto,uilanguagefont,arial,sans-serif; font-size:14px\">This application is not a standalone program. It is a front end to use a online hosted Dolibarr ERP &amp; CRM software (an Open-source web software to manage your business).</span></strong>\r\n<p><u>The advantage of DoliDroid are :</u><br />\r\n- DoliDroid is not a duplicate code of Dolibarr, but a front-end of a Dolibarr web installation, so all your online existing features are supported by this application. This is also true for external modules features.<br />\r\n- Upgrading Dolibarr will not break DoliDroid.<br />\r\n- DoliDroid use embedded image resources to reduce bandwidth usage.<br />\r\n- DoliDroid use internal cache for pages that should not change (like menu page)<br />\r\n- Connections parameters are saved. No need to enter them each time you use DoliDroid.<br />\r\n- Integration with your phone or other applications (Clicking on PDF open PDF reader, clicking onto email or phone launch your email application or launch Android dialer, ...)</p>\r\n\r\n<p><span style=\"color:#DAA520\"><strong>WARNING !&nbsp;</strong></span></p>\r\n\r\n<p>This application need Android 4.0+ and a hosted Dolibarr ERP &amp; CRM version 3.5 or newer accessible by internet<br />\r\n(For example, when hosted on any SaaS solution like DoliCloud -&nbsp;<a href=\"https://www.google.com/url?q=https://www.google.com/url?q%3Dhttp://www.dolicloud.com%26sa%3DD%26usg%3DAFQjCNGdd9htz4JDciiMtScpBwK83qIRkw&amp;sa=D&amp;usg=AFQjCNGMpCbxNnU5BiK59e368K5AR0l_pg\" style=\"text-decoration: none; color: rgb(51, 105, 30); cursor: pointer;\" target=\"_blank\">http://www.dolicloud.com</a>).</p>',19.600,'',0.000,'0',0.000,'0',1,45,0,NULL,10.00000000,0.00000000,NULL,5.50000000,1.08000000,0.00000000,0.00000000,6.58000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',10.00000000,0.00000000,5.50000000,1.08000000,6.58000000,NULL,NULL,NULL,NULL),
(1037,218,NULL,12,NULL,'Cloud hosting of Dolibarr ERP and CRM software',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,NULL,NULL,NULL,NULL),
(1039,218,NULL,12,NULL,'Cloud hosting of Dolibarr ERP and CRM software',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,4,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,NULL,NULL,NULL,NULL),
(1040,218,NULL,NULL,NULL,'aaa',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,5,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',10.00000000,0.00000000,10.00000000,0.00000000,10.00000000,NULL,NULL,NULL,NULL),
(1055,220,NULL,NULL,NULL,'(DEPOSIT) (100.00 €) - CO7001-0018',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,0.00000000,0.00000000,0.00000000,100.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,0.00000000,100.00000000,NULL,NULL,NULL,NULL),
(1056,221,NULL,NULL,NULL,'(DEPOSIT) (30%) - CO7001-0018',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,123.00000000,0.00000000,NULL,123.00000000,0.00000000,0.00000000,0.00000000,123.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',123.00000000,0.00000000,123.00000000,0.00000000,123.00000000,NULL,NULL,NULL,NULL),
(1057,222,NULL,NULL,NULL,'(DEPOSIT) (100.00 €) - CO7001-0018',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,0.00000000,0.00000000,0.00000000,100.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,0.00000000,100.00000000,NULL,NULL,NULL,NULL),
(1058,223,NULL,4,NULL,'Nice Bio Apple Pie.<br />\r\n&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,5.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',5.00000000,0.00000000,10.00000000,0.00000000,10.00000000,NULL,NULL,NULL,NULL),
(1059,223,NULL,10,NULL,'A powerfull computer XP4523&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,100.00000000,0.00000000,NULL,200.00000000,0.00000000,0.00000000,0.00000000,200.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,200.00000000,0.00000000,200.00000000,NULL,NULL,NULL,NULL),
(1060,223,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,100.00000000,0.00000000,NULL,200.00000000,0.00000000,0.00000000,0.00000000,200.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,200.00000000,0.00000000,200.00000000,NULL,NULL,NULL,NULL),
(1061,224,NULL,NULL,NULL,'(DEPOSIT) (5%) - CO7001-0018',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,20.50000000,0.00000000,NULL,20.50000000,0.00000000,0.00000000,0.00000000,20.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',20.50000000,0.00000000,20.50000000,0.00000000,20.50000000,NULL,NULL,NULL,NULL),
(1062,225,NULL,4,NULL,'Nice Bio Apple Pie.<br />\r\n&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,5.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',5.00000000,0.00000000,10.00000000,0.00000000,10.00000000,NULL,NULL,NULL,NULL),
(1063,225,NULL,10,NULL,'A powerfull computer XP4523&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,100.00000000,0.00000000,NULL,200.00000000,0.00000000,0.00000000,0.00000000,200.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,200.00000000,0.00000000,200.00000000,NULL,NULL,NULL,NULL),
(1064,225,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,100.00000000,0.00000000,NULL,200.00000000,0.00000000,0.00000000,0.00000000,200.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,200.00000000,0.00000000,200.00000000,NULL,NULL,NULL,NULL),
(1065,225,NULL,NULL,NULL,'(DEPOSIT)',0.000,'',0.000,'0',0.000,'0',1,0,0,15,-20.50000000,0.00000000,NULL,-20.50000000,0.00000000,0.00000000,0.00000000,-20.50000000,0,NULL,NULL,2,NULL,0.00000000,0,0,-1,NULL,NULL,100,NULL,NULL,12,12,0,'',-20.50000000,0.00000000,-20.50000000,0.00000000,-20.50000000,NULL,NULL,NULL,NULL),
(1066,226,NULL,NULL,NULL,'aaa',12.500,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,12.50000000,0.00000000,0.00000000,112.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,12.50000000,112.50000000,NULL,NULL,NULL,NULL),
(1067,226,NULL,NULL,NULL,'bbb',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,20.00000000,0.00000000,NULL,20.00000000,0.00000000,0.00000000,0.00000000,20.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',20.00000000,0.00000000,20.00000000,0.00000000,20.00000000,NULL,NULL,NULL,NULL),
(1069,228,NULL,NULL,NULL,'(DEPOSIT) (70%) - PR2001-0034',4.000,'',0.000,'0',0.000,'0',1,0,0,NULL,50.00000000,0.00000000,NULL,50.00000000,2.00000000,0.00000000,0.00000000,52.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',50.00000000,0.00000000,50.00000000,2.00000000,52.00000000,NULL,NULL,NULL,NULL),
(1070,228,NULL,NULL,NULL,'(DEPOSIT) (70%) - PR2001-0034',4.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-1.40000000,0.00000000,NULL,-1.40000000,-0.06000000,0.00000000,0.00000000,-1.46000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-1.40000000,0.00000000,-1.40000000,-0.06000000,-1.46000000,NULL,NULL,NULL,NULL),
(1071,227,NULL,NULL,NULL,'gdfgd',19.600,'',0.000,'0',0.000,'0',1,0,0,NULL,200.00000000,0.00000000,NULL,200.00000000,39.20000000,0.00000000,0.00000000,239.20000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',200.00000000,0.00000000,200.00000000,39.20000000,239.20000000,NULL,NULL,NULL,NULL),
(1072,217,NULL,1,NULL,'A beatifull pink dress',12.500,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,1.13000000,0.00000000,0.00000000,10.13000000,0,NULL,NULL,0,NULL,79.16667000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',9.00000000,0.00000000,9.00000000,1.13000000,10.13000000,NULL,NULL,NULL,NULL),
(1074,219,NULL,30,NULL,'',20.000,'',0.000,'0',0.000,'0',6,6,0,NULL,4.16667000,0.00000000,NULL,23.50000000,4.70000000,0.00000000,0.00000000,28.20000000,0,NULL,NULL,0,NULL,0.00000000,108,0,5,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',5.41667000,0.00000000,30.55000000,6.11000000,36.66000000,'',NULL,NULL,NULL),
(1090,229,NULL,NULL,NULL,'Subscription 2017',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,50.00000000,0.00000000,NULL,50.00000000,0.00000000,0.00000000,0.00000000,50.00000000,1,'2017-07-18 00:00:00',NULL,0,NULL,0.00000000,108,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',50.00000000,0.00000000,50.00000000,0.00000000,50.00000000,NULL,NULL,NULL,NULL),
(1091,230,NULL,NULL,NULL,'Subscription 2018',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,50.00000000,0.00000000,NULL,50.00000000,0.00000000,0.00000000,0.00000000,50.00000000,1,'2018-07-18 00:00:00',NULL,0,NULL,0.00000000,108,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',50.00000000,0.00000000,50.00000000,0.00000000,50.00000000,NULL,NULL,NULL,NULL),
(1092,231,NULL,NULL,NULL,'Subscription 2019',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,50.00000000,0.00000000,NULL,50.00000000,0.00000000,0.00000000,0.00000000,50.00000000,1,'2019-07-18 00:00:00',NULL,0,NULL,0.00000000,108,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',50.00000000,0.00000000,50.00000000,0.00000000,50.00000000,NULL,NULL,NULL,NULL),
(1093,55,NULL,NULL,NULL,'a',5.500,'aaa',0.000,'0',0.000,'0',1,0,0,NULL,1.00000000,0.00000000,NULL,1.00000000,0.06000000,0.00000000,0.00000000,1.06000000,0,NULL,NULL,0,NULL,0.00000000,110,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'',1.00000000,0.00000000,1.00000000,0.06000000,1.06000000,'',NULL,NULL,NULL),
(1094,55,NULL,NULL,NULL,'z',5.500,'bbb',0.000,'0',0.000,'0',1,0,0,NULL,1.00000000,0.00000000,NULL,1.00000000,0.06000000,0.00000000,0.00000000,1.06000000,1,NULL,NULL,0,NULL,0.00000000,110,0,4,NULL,NULL,100,NULL,NULL,12,12,0,'',1.00000000,0.00000000,1.00000000,0.06000000,1.06000000,'',NULL,NULL,NULL),
(1095,232,NULL,NULL,NULL,'fdsfsdf',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1000.00000000,0.00000000,NULL,1000.00000000,200.00000000,0.00000000,0.00000000,1200.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',1000.00000000,0.00000000,1000.00000000,200.00000000,1200.00000000,'',NULL,NULL,NULL),
(1096,233,NULL,NULL,NULL,'gfdgdfgdf',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-1000.00000000,0.00000000,NULL,-1000.00000000,-200.00000000,0.00000000,0.00000000,-1200.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-1000.00000000,0.00000000,-1000.00000000,-200.00000000,-1200.00000000,'',NULL,NULL,NULL),
(1097,234,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.40833000,0.00000000,1.41000000,0.28000000,1.69000000,'',NULL,NULL,NULL),
(1098,234,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.62500000,0.00000000,1.63000000,0.32000000,1.95000000,'',NULL,NULL,NULL),
(1100,234,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,38.33333000,0.00000000,NULL,38.33000000,7.67000000,0.00000000,0.00000000,46.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,4,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',49.83333000,0.00000000,49.83000000,9.97000000,59.80000000,'',NULL,NULL,NULL),
(1101,234,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,5,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.40833000,0.00000000,1.41000000,0.28000000,1.69000000,'',NULL,NULL,NULL),
(1102,234,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,6,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.40833000,0.00000000,1.41000000,0.28000000,1.69000000,'',NULL,NULL,NULL),
(1105,235,NULL,NULL,NULL,'gfdgdfgfd',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,2.00000000,0.00000000,0.00000000,12.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,10.00000000,2.00000000,12.00000000,'',NULL,NULL,NULL),
(1106,236,NULL,NULL,NULL,'hfg',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,2.00000000,0.00000000,0.00000000,12.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,10.00000000,2.00000000,12.00000000,'',NULL,NULL,NULL),
(1108,237,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,50.00000000,0.00000000,0.00000000,0.00000000,50.00000000,0,NULL,NULL,0,NULL,79.16667000,110,0,2,NULL,NULL,50,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,50.00000000,0.00000000,50.00000000,'',NULL,NULL,NULL),
(1109,238,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,80.00000000,0.00000000,0.00000000,0.00000000,80.00000000,0,NULL,NULL,0,NULL,79.16667000,110,0,1,NULL,NULL,80,1108,NULL,12,12,0,'EUR',100.00000000,0.00000000,80.00000000,0.00000000,80.00000000,'',NULL,NULL,NULL),
(1111,239,NULL,NULL,NULL,'aaa',0.000,'CGST+SGST',9.000,'1',9.000,'1',1,0,0,NULL,-1.00000000,0.00000000,NULL,-1.00000000,0.00000000,0.09000000,0.09000000,-1.18000000,0,NULL,NULL,0,NULL,100.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-1.00000000,0.00000000,-1.00000000,0.00000000,-1.18000000,'',NULL,NULL,NULL),
(1112,240,NULL,NULL,NULL,'aaa',0.000,'CGST+SGST',9.000,'1',9.000,'1',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,0,NULL,NULL,0,NULL,1.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'',NULL,NULL,NULL),
(1119,219,NULL,2,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,2.00000000,0.00000000,0.00000000,12.00000000,0,NULL,NULL,0,6,7.00000000,108,0,23,NULL,NULL,100,NULL,NULL,12,12,0,'USD',13.00000000,0.00000000,13.00000000,2.60000000,15.60000000,'',NULL,NULL,NULL),
(1126,219,NULL,24,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.83333000,0.00000000,NULL,0.83000000,0.17000000,0.00000000,0.00000000,1.00000000,0,NULL,NULL,0,NULL,0.00000000,108,0,24,NULL,NULL,100,NULL,NULL,12,12,0,'USD',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'',NULL,NULL,NULL),
(1127,241,NULL,3,NULL,'Service S1',0.000,'',0.000,'0',0.000,'0',1,10,0,NULL,-40.00000000,0.00000000,NULL,-36.00000000,0.00000000,0.00000000,0.00000000,-36.00000000,1,'2012-07-10 00:00:00',NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(1128,241,NULL,NULL,NULL,'Abonnement annuel assurance',1.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-10.00000000,0.00000000,NULL,-10.00000000,-0.10000000,0.00000000,0.00000000,-10.10000000,0,'2012-07-10 00:00:00','2013-07-10 00:00:00',0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(1129,242,NULL,10,NULL,'A powerfull computer XP4523&nbsp;<br>\n(Customs|Commodity|HS|TARIC code: USXP765 - Country of origin: United States)',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,0.00000000,0.00000000,0.00000000,100.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,0.00000000,100.00000000,'','',0,NULL),
(1130,242,NULL,3,NULL,'EcoTaxDeee',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.50000000,0.00000000,NULL,0.50000000,0.00000000,0.00000000,0.00000000,0.50000000,1,NULL,NULL,0,NULL,0.50000000,0,2,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.50000000,0.00000000,0.50000000,0.00000000,0.50000000,'','',0,NULL),
(1131,243,NULL,NULL,NULL,'aaaa',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,1,NULL,NULL,0,NULL,0.00000000,104,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,10.00000000,0.00000000,10.00000000,'','',0,NULL),
(1132,244,NULL,NULL,NULL,'aaaa',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,0.00000000,0.00000000,0.00000000,100.00000000,0,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,0.00000000,100.00000000,'','',0,NULL),
(1133,244,NULL,NULL,NULL,'(DEPOSIT)',0.000,'',0.000,'0',0.000,'0',1,0,0,21,-10.00000000,0.00000000,NULL,-10.00000000,0.00000000,0.00000000,0.00000000,-10.00000000,0,NULL,NULL,2,NULL,0.00000000,104,0,-1,NULL,NULL,100,NULL,NULL,12,12,0,'',-10.00000000,0.00000000,-10.00000000,0.00000000,-10.00000000,'','',0,NULL),
(1134,245,NULL,NULL,NULL,'aaaaa',4.000,'',0.000,'0',0.000,'0',1,0,0,NULL,100.00000000,0.00000000,NULL,100.00000000,4.00000000,0.00000000,0.00000000,104.00000000,1,NULL,NULL,0,NULL,0.00000000,110,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,100.00000000,4.00000000,104.00000000,'','',0,NULL),
(1135,246,NULL,NULL,NULL,'aaaaa',4.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.40000000,0.00000000,0.00000000,10.40000000,1,NULL,NULL,0,NULL,0.00000000,106,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,10.00000000,0.40000000,10.40000000,'','',0,NULL),
(1136,245,NULL,NULL,NULL,'(DEPOSIT)',4.000,'',0.000,'0',0.000,'0',1,0,0,22,-10.00000000,0.00000000,NULL,-10.00000000,-0.40000000,0.00000000,0.00000000,-10.40000000,0,NULL,NULL,2,NULL,0.00000000,105,0,-1,NULL,NULL,100,NULL,NULL,12,12,0,'',-10.00000000,0.00000000,-10.00000000,-0.40000000,-10.40000000,'','',0,NULL),
(1137,247,NULL,1,NULL,'A beatifull pink dress\nfff',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-9.00000000,0.00000000,NULL,-9.00000000,0.00000000,0.00000000,0.00000000,-9.00000000,0,NULL,NULL,0,NULL,79.16667000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-9.00000000,0.00000000,-9.00000000,0.00000000,-9.00000000,'','',0,NULL),
(1146,248,NULL,10,NULL,'A powerfull computer XP4523&nbsp;',0.000,'',0.000,'0',0.000,'0',5,0,0,NULL,100.00000000,0.00000000,NULL,500.00000000,0.00000000,0.00000000,0.00000000,500.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,500.00000000,0.00000000,500.00000000,'','',0,NULL),
(1147,248,NULL,4,NULL,'Nice Bio Apple Pie.<br />\r\n&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,5.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',5.00000000,0.00000000,10.00000000,0.00000000,10.00000000,'','',0,NULL),
(1148,248,NULL,3,NULL,'',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(1149,249,NULL,10,NULL,'A powerfull computer XP4523&nbsp;',0.000,'',0.000,'0',0.000,'0',5,0,0,NULL,100.00000000,0.00000000,NULL,500.00000000,0.00000000,0.00000000,0.00000000,500.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,500.00000000,0.00000000,500.00000000,'','',0,NULL),
(1150,249,NULL,4,NULL,'Nice Bio Apple Pie.<br />\r\n&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,5.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',5.00000000,0.00000000,10.00000000,0.00000000,10.00000000,'','',0,NULL),
(1151,249,NULL,3,NULL,'',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(1152,250,NULL,10,NULL,'A powerfull computer XP4523&nbsp;',0.000,'',0.000,'0',0.000,'0',5,0,0,NULL,100.00000000,0.00000000,NULL,500.00000000,0.00000000,0.00000000,0.00000000,500.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',100.00000000,0.00000000,500.00000000,0.00000000,500.00000000,'','',0,NULL),
(1153,250,NULL,4,NULL,'Nice Bio Apple Pie.<br />\r\n&nbsp;',0.000,'',0.000,'0',0.000,'0',2,0,0,NULL,5.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',5.00000000,0.00000000,10.00000000,0.00000000,10.00000000,'','',0,NULL),
(1154,250,NULL,3,NULL,'',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(1160,216,NULL,12,NULL,'Ceci est une description...<br>\na<br>\n<strong>et la suite</strong><br>\na<br>\naaaa',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,NULL,NULL,0,NULL,8.50000000,0,0,1,NULL,NULL,100,NULL,1,12,12,0,'EUR',35.79597000,0.00000000,35.80000000,0.00000000,35.80000000,'','',0,NULL),
(1161,216,NULL,12,NULL,'Ceci est une description...<br>\na<br>\n<strong>et la suite</strong><br>\na<br>\naaaa<br>\naaaaa',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,1,NULL,NULL,0,NULL,8.50000000,0,0,2,NULL,NULL,100,NULL,1,12,12,0,'EUR',35.79597000,0.00000000,35.80000000,0.00000000,35.80000000,'','',0,NULL),
(1370,293,NULL,NULL,NULL,'Services by Alice.<br />\r\nMonthly.',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,10.00000000,0.00000000,NULL,10.00000000,0.00000000,0.00000000,0.00000000,10.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,0,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,10.00000000,0.00000000,10.00000000,'','',0,NULL),
(2051,447,NULL,12,NULL,'Cloud hosting of Dolibarr ERP and CRM software',0.000,'',0.000,'0',0.000,'0',0.3,0,0,NULL,9.00000000,0.00000000,NULL,2.70000000,0.00000000,0.00000000,0.00000000,2.70000000,1,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',9.00000000,0.00000000,2.70000000,0.00000000,2.70000000,'','',0,NULL),
(2052,447,NULL,3,NULL,'',0.000,'',0.000,'0',0.000,'0',0.4,0,0,NULL,0.00000000,0.00000000,NULL,0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,1,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(2053,447,NULL,5,NULL,'<strong><span style=\"font-family:roboto,uilanguagefont,arial,sans-serif; font-size:14px\">DoliDroid is the Android front-end client for Dolibarr ERP &amp; CRM web software.</span><br />\r\n<span style=\"font-family:roboto,uilanguagefont,arial,sans-serif; font-size:14px\">This application is not a standalone program. It is a front end to use a online hosted Dolibarr ERP &amp; CRM software (an Open-source web software to manage your business).</span></strong>\r\n<p><u>The advantage of DoliDroid are :</u><br />\r\n- DoliDroid is not a duplicate code of Dolibarr, but a front-end of a Dolibarr web installation, so all your online existing features are supported by this application. This is also true for external modules features.<br />\r\n- Upgrading Dolibarr will not break DoliDroid.<br />\r\n- DoliDroid use embedded image resources to reduce bandwidth usage.<br />\r\n- DoliDroid use internal cache for pages that should not change (like menu page)<br />\r\n- Connections parameters are saved. No need to enter them each time you use DoliDroid.<br />\r\n- Integration with your phone or other applications (Clicking on PDF open PDF reader, clicking onto email or phone launch your email application or launch Android dialer, ...)</p>\r\n\r\n<p><span style=\"color:#DAA520\"><strong>WARNING !&nbsp;</strong></span></p>\r\n\r\n<p>This application need Android 4.0+ and a hosted Dolibarr ERP &amp; CRM version 3.5 or newer accessible by internet<br />\r\n(For example, when hosted on any SaaS solution like DoliCloud -&nbsp;<a href=\"https://www.google.com/url?q=https://www.google.com/url?q%3Dhttp://www.dolicloud.com%26sa%3DD%26usg%3DAFQjCNGdd9htz4JDciiMtScpBwK83qIRkw&amp;sa=D&amp;usg=AFQjCNGMpCbxNnU5BiK59e368K5AR0l_pg\" style=\"text-decoration: none; color: rgb(51, 105, 30); cursor: pointer;\" target=\"_blank\">http://www.dolicloud.com</a>).</p>',0.000,'',0.000,'0',0.000,'0',0.2,0,0,NULL,10.00000000,0.00000000,NULL,2.00000000,0.00000000,0.00000000,0.00000000,2.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',10.00000000,0.00000000,2.00000000,0.00000000,2.00000000,'','',0,NULL),
(2054,448,NULL,4,NULL,'afsdfsdfsdfsdf',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-5.00000000,0.00000000,NULL,-5.00000000,0.00000000,0.00000000,0.00000000,-5.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,0,NULL,NULL,100,NULL,NULL,12,12,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(2055,448,NULL,NULL,NULL,'dfdfd',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-10.00000000,0.00000000,NULL,-10.00000000,0.00000000,0.00000000,0.00000000,-10.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'',0.00000000,0.00000000,0.00000000,0.00000000,0.00000000,'','',0,NULL),
(2057,450,NULL,NULL,NULL,'Avoir sur le reste &agrave; payer',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-18.04000000,0.00000000,NULL,-18.04000000,0.00000000,0.00000000,0.00000000,-18.04000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-18.04000000,0.00000000,-18.04000000,0.00000000,-18.04000000,'','',0,NULL),
(2058,451,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2059,451,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2060,451,NULL,24,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.83333000,0.00000000,NULL,0.83000000,0.17000000,0.00000000,0.00000000,1.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',0.83333000,0.00000000,0.83000000,0.17000000,1.00000000,'','',0,NULL),
(2063,452,NULL,24,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.83333000,0.00000000,NULL,0.83000000,0.17000000,0.00000000,0.00000000,1.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',0.83333000,0.00000000,0.83000000,0.17000000,1.00000000,'','',0,NULL),
(2064,452,NULL,24,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.83333000,0.00000000,NULL,0.83000000,0.17000000,0.00000000,0.00000000,1.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,4,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',0.83333000,0.00000000,0.83000000,0.17000000,1.00000000,'','',0,NULL),
(2066,454,NULL,4,NULL,'',0.000,'CGST+SGST',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,0,NULL,NULL,0,NULL,2.12300000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,'','',0,NULL),
(2067,454,NULL,4,NULL,'',0.000,'CGST+SGST',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,0,NULL,NULL,0,NULL,2.12300000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,'','',0,NULL),
(2068,455,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL),
(2069,455,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2070,456,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL),
(2071,456,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2077,458,NULL,1,NULL,'A beatifull pink dress',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,9.00000000,0.00000000,NULL,9.00000000,0.00000000,0.00000000,0.00000000,9.00000000,0,NULL,NULL,0,NULL,79.16667000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',9.00000000,0.00000000,9.00000000,0.00000000,9.00000000,'','',0,NULL),
(2078,459,NULL,NULL,NULL,'Adhésion / cotisation 2025',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,11.00000000,0.00000000,NULL,11.00000000,0.00000000,0.00000000,0.00000000,11.00000000,1,'2025-01-16 00:00:00',NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',11.00000000,0.00000000,11.00000000,0.00000000,11.00000000,'','',0,NULL),
(2079,460,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2080,461,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2081,461,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2084,463,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2085,463,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2086,464,NULL,24,NULL,'',20.000,'',0.000,'0',0.000,'0',5,0,0,NULL,0.83333000,0.00000000,NULL,4.17000000,0.83000000,0.00000000,0.00000000,5.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',0.83333000,0.00000000,4.17000000,0.83000000,5.00000000,'','',0,NULL),
(2087,465,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',6,0,0,NULL,1.25000000,0.00000000,NULL,7.50000000,1.50000000,0.00000000,0.00000000,9.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,7.50000000,1.50000000,9.00000000,'','',0,NULL),
(2088,465,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2089,466,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',3,0,0,NULL,1.08333000,0.00000000,NULL,3.25000000,0.65000000,0.00000000,0.00000000,3.90000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,3.25000000,0.65000000,3.90000000,'','',0,NULL),
(2090,466,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL),
(2091,467,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2092,467,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL),
(2093,468,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2094,468,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2095,468,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,3,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2096,468,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,4,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2097,468,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,5,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL),
(2098,468,NULL,27,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,6,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2099,469,NULL,25,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.25000000,0.00000000,NULL,1.25000000,0.25000000,0.00000000,0.00000000,1.50000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.25000000,0.00000000,1.25000000,0.25000000,1.50000000,'','',0,NULL),
(2100,469,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2101,470,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2102,470,NULL,26,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,1.08333000,0.00000000,NULL,1.08000000,0.22000000,0.00000000,0.00000000,1.30000000,0,NULL,NULL,0,NULL,0.00000000,0,0,2,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',1.08333000,0.00000000,1.08000000,0.22000000,1.30000000,'','',0,NULL),
(2103,471,NULL,30,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,0.41667000,0.00000000,NULL,0.42000000,0.08000000,0.00000000,0.00000000,0.50000000,0,NULL,NULL,0,NULL,11.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',0.41667000,0.00000000,0.42000000,0.08000000,0.50000000,'','',0,NULL),
(2104,472,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',10,0,0,NULL,2.00000000,0.00000000,NULL,20.00000000,4.00000000,0.00000000,0.00000000,24.00000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,20.00000000,4.00000000,24.00000000,'','',0,NULL),
(2105,473,NULL,NULL,NULL,'Avoir sur le reste &agrave; payer',0.000,'',0.000,'0',0.000,'0',1,0,0,NULL,-0.01000000,0.00000000,NULL,-0.01000000,0.00000000,0.00000000,0.00000000,-0.01000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,1,'EUR',-0.01000000,0.00000000,-0.01000000,0.00000000,-0.01000000,'','',0,NULL),
(2107,475,NULL,28,NULL,'',20.000,'',0.000,'0',0.000,'0',1,0,0,NULL,2.00000000,0.00000000,NULL,2.00000000,0.40000000,0.00000000,0.00000000,2.40000000,0,NULL,NULL,0,NULL,0.00000000,0,0,1,NULL,NULL,100,NULL,NULL,12,12,0,'EUR',2.00000000,0.00000000,2.00000000,0.40000000,2.40000000,'','',0,NULL);

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

CREATE TABLE `llx_facturedet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facturedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_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) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT NULL,
  `subprice_ttc` double(24,8) DEFAULT 0.00000000,
  `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,
  `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) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_subprice_ttc` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `date_start_fill` int(11) DEFAULT 0,
  `date_end_fill` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `fk_facturedet_rec_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_rec_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
