-- MariaDB dump 10.19  Distrib 10.5.17-MariaDB, for Linux (x86_64)
--
-- Host: localhost    Database: lmvh8671_dolibase
-- ------------------------------------------------------
-- Server version	10.5.17-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `llx_accounting_account`
--

DROP TABLE IF EXISTS `llx_accounting_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_account` (
  `rowid` bigint(20) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_pcg_version` varchar(32) NOT NULL,
  `pcg_type` varchar(20) NOT NULL,
  `account_number` varchar(32) NOT NULL,
  `account_parent` int(11) DEFAULT 0,
  `label` varchar(255) NOT NULL,
  `labelshort` varchar(255) DEFAULT NULL,
  `fk_accounting_category` int(11) DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `reconcilable` tinyint(4) NOT NULL DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_accounting_account` (`account_number`,`entity`,`fk_pcg_version`),
  KEY `idx_accounting_account_fk_pcg_version` (`fk_pcg_version`),
  KEY `idx_accounting_account_account_parent` (`account_parent`),
  CONSTRAINT `fk_accounting_account_fk_pcg_version` FOREIGN KEY (`fk_pcg_version`) REFERENCES `llx_accounting_system` (`pcg_version`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_account`
--

LOCK TABLES `llx_accounting_account` WRITE;
/*!40000 ALTER TABLE `llx_accounting_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_accounting_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_bookkeeping`
--

DROP TABLE IF EXISTS `llx_accounting_bookkeeping`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_bookkeeping` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `piece_num` int(11) NOT NULL,
  `doc_date` date NOT NULL,
  `doc_type` varchar(30) NOT NULL,
  `doc_ref` varchar(300) NOT NULL,
  `fk_doc` int(11) NOT NULL,
  `fk_docdet` int(11) NOT NULL,
  `thirdparty_code` varchar(32) DEFAULT NULL,
  `subledger_account` varchar(32) DEFAULT NULL,
  `subledger_label` varchar(255) DEFAULT NULL,
  `numero_compte` varchar(32) NOT NULL,
  `label_compte` varchar(255) NOT NULL,
  `label_operation` varchar(255) DEFAULT NULL,
  `debit` double(24,8) NOT NULL,
  `credit` double(24,8) NOT NULL,
  `montant` double(24,8) DEFAULT NULL,
  `sens` varchar(1) DEFAULT NULL,
  `multicurrency_amount` double(24,8) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `lettering_code` varchar(255) DEFAULT NULL,
  `date_lettering` datetime DEFAULT NULL,
  `date_lim_reglement` datetime DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user` int(11) DEFAULT NULL,
  `code_journal` varchar(32) NOT NULL,
  `journal_label` varchar(255) DEFAULT NULL,
  `date_validated` datetime DEFAULT NULL,
  `date_export` datetime DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_accounting_bookkeeping_fk_doc` (`fk_doc`),
  KEY `idx_accounting_bookkeeping_fk_docdet` (`fk_docdet`),
  KEY `idx_accounting_bookkeeping_doc_date` (`doc_date`),
  KEY `idx_accounting_bookkeeping_numero_compte` (`numero_compte`,`entity`),
  KEY `idx_accounting_bookkeeping_code_journal` (`code_journal`,`entity`),
  KEY `idx_accounting_bookkeeping_piece_num` (`piece_num`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_bookkeeping`
--

LOCK TABLES `llx_accounting_bookkeeping` WRITE;
/*!40000 ALTER TABLE `llx_accounting_bookkeeping` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_accounting_bookkeeping` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_bookkeeping_tmp`
--

DROP TABLE IF EXISTS `llx_accounting_bookkeeping_tmp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_bookkeeping_tmp` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `doc_date` date NOT NULL,
  `doc_type` varchar(30) NOT NULL,
  `doc_ref` varchar(300) NOT NULL,
  `fk_doc` int(11) NOT NULL,
  `fk_docdet` int(11) NOT NULL,
  `thirdparty_code` varchar(32) DEFAULT NULL,
  `subledger_account` varchar(32) DEFAULT NULL,
  `subledger_label` varchar(255) DEFAULT NULL,
  `numero_compte` varchar(32) DEFAULT NULL,
  `label_compte` varchar(255) NOT NULL,
  `label_operation` varchar(255) DEFAULT NULL,
  `debit` double(24,8) NOT NULL,
  `credit` double(24,8) NOT NULL,
  `montant` double(24,8) NOT NULL,
  `sens` varchar(1) DEFAULT NULL,
  `multicurrency_amount` double(24,8) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `lettering_code` varchar(255) DEFAULT NULL,
  `date_lettering` datetime DEFAULT NULL,
  `date_lim_reglement` datetime DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user` int(11) DEFAULT NULL,
  `code_journal` varchar(32) NOT NULL,
  `journal_label` varchar(255) DEFAULT NULL,
  `piece_num` int(11) NOT NULL,
  `date_validated` datetime DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_accounting_bookkeeping_tmp_doc_date` (`doc_date`),
  KEY `idx_accounting_bookkeeping_tmp_fk_docdet` (`fk_docdet`),
  KEY `idx_accounting_bookkeeping_tmp_numero_compte` (`numero_compte`),
  KEY `idx_accounting_bookkeeping_tmp_code_journal` (`code_journal`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_bookkeeping_tmp`
--

LOCK TABLES `llx_accounting_bookkeeping_tmp` WRITE;
/*!40000 ALTER TABLE `llx_accounting_bookkeeping_tmp` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_accounting_bookkeeping_tmp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_fiscalyear`
--

DROP TABLE IF EXISTS `llx_accounting_fiscalyear`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_fiscalyear` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(128) NOT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `statut` tinyint(4) NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_fiscalyear`
--

LOCK TABLES `llx_accounting_fiscalyear` WRITE;
/*!40000 ALTER TABLE `llx_accounting_fiscalyear` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_accounting_fiscalyear` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_groups_account`
--

DROP TABLE IF EXISTS `llx_accounting_groups_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_groups_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_accounting_account` int(11) NOT NULL,
  `fk_c_accounting_category` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_groups_account`
--

LOCK TABLES `llx_accounting_groups_account` WRITE;
/*!40000 ALTER TABLE `llx_accounting_groups_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_accounting_groups_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_journal`
--

DROP TABLE IF EXISTS `llx_accounting_journal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_journal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `nature` smallint(6) NOT NULL DEFAULT 1,
  `active` smallint(6) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_accounting_journal_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_journal`
--

LOCK TABLES `llx_accounting_journal` WRITE;
/*!40000 ALTER TABLE `llx_accounting_journal` DISABLE KEYS */;
INSERT INTO `llx_accounting_journal` (`rowid`, `entity`, `code`, `label`, `nature`, `active`) VALUES (1,1,'VT','ACCOUNTING_SELL_JOURNAL',2,1),(2,1,'AC','ACCOUNTING_PURCHASE_JOURNAL',3,1),(3,1,'BQ','FinanceJournal',4,1),(4,1,'OD','ACCOUNTING_MISCELLANEOUS_JOURNAL',1,1),(5,1,'AN','ACCOUNTING_HAS_NEW_JOURNAL',9,1),(6,1,'ER','ExpenseReportsJournal',5,1),(7,1,'INV','InventoryJournal',8,1);
/*!40000 ALTER TABLE `llx_accounting_journal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_accounting_system`
--

DROP TABLE IF EXISTS `llx_accounting_system`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_accounting_system` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_country` int(11) DEFAULT NULL,
  `pcg_version` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `active` smallint(6) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_accounting_system_pcg_version` (`pcg_version`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_accounting_system`
--

LOCK TABLES `llx_accounting_system` WRITE;
/*!40000 ALTER TABLE `llx_accounting_system` DISABLE KEYS */;
INSERT INTO `llx_accounting_system` (`rowid`, `fk_country`, `pcg_version`, `label`, `active`) VALUES (1,1,'PCG99-ABREGE','The simple accountancy french plan',1),(2,1,'PCG99-BASE','The base accountancy french plan',1),(3,1,'PCG14-DEV','The developed accountancy french plan 2014',1),(4,1,'PCG18-ASSOC','French foundation chart of accounts 2018',1),(5,1,'PCGAFR14-DEV','The developed farm accountancy french plan 2014',1),(6,2,'PCMN-BASE','The base accountancy belgium plan',1),(7,4,'PCG08-PYME','The PYME accountancy spanish plan',1),(8,5,'SKR03','Standardkontenrahmen SKR 03',1),(9,5,'SKR04','Standardkontenrahmen SKR 04',1),(10,6,'PCG_SUISSE','Switzerland plan',1),(11,7,'ENG-BASE','England plan',1),(12,10,'PCT','The Tunisia plan',1),(13,12,'PCG','The Moroccan chart of accounts',1),(14,13,'NSCF','Nouveau système comptable financier',1),(15,17,'NL-VERKORT','Verkort rekeningschema',1),(16,20,'BAS-K1-MINI','The Swedish mini chart of accounts',1),(17,41,'AT-BASE','Plan Austria',1),(18,67,'PC-MIPYME','The PYME accountancy Chile plan',1),(19,80,'DK-STD','Standardkontoplan fra SKAT',1),(20,84,'EC-SUPERCIAS','Plan de cuentas Ecuador',1),(21,140,'PCN-LUXEMBURG','Plan comptable normalisé Luxembourgeois',1),(22,188,'RO-BASE','Plan de conturi romanesc',1),(23,49,'SYSCOHADA-BJ','Plan comptable Ouest-Africain',1),(24,60,'SYSCOHADA-BF','Plan comptable Ouest-Africain',1),(25,73,'SYSCOHADA-CD','Plan comptable Ouest-Africain',1),(26,65,'SYSCOHADA-CF','Plan comptable Ouest-Africain',1),(27,72,'SYSCOHADA-CG','Plan comptable Ouest-Africain',1),(28,21,'SYSCOHADA-CI','Plan comptable Ouest-Africain',1),(29,24,'SYSCOHADA-CM','Plan comptable Ouest-Africain',1),(30,16,'SYSCOHADA-GA','Plan comptable Ouest-Africain',1),(31,87,'SYSCOHADA-GQ','Plan comptable Ouest-Africain',1),(32,71,'SYSCOHADA-KM','Plan comptable Ouest-Africain',1),(33,147,'SYSCOHADA-ML','Plan comptable Ouest-Africain',1),(34,168,'SYSCOHADA-NE','Plan comptable Ouest-Africain',1),(35,22,'SYSCOHADA-SN','Plan comptable Ouest-Africain',1),(36,66,'SYSCOHADA-TD','Plan comptable Ouest-Africain',1),(37,15,'SYSCOHADA-TG','Plan comptable Ouest-Africain',1),(38,11,'US-BASE','USA basic chart of accounts',1),(39,14,'CA-ENG-BASE','Canadian basic chart of accounts - English',1),(40,154,'SAT/24-2019','Catalogo y codigo agrupador fiscal del 2019',1);
/*!40000 ALTER TABLE `llx_accounting_system` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_actioncomm`
--

DROP TABLE IF EXISTS `llx_actioncomm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_actioncomm` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datep` datetime DEFAULT NULL,
  `datep2` datetime DEFAULT NULL,
  `fk_action` int(11) DEFAULT NULL,
  `code` varchar(50) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_project` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_parent` int(11) NOT NULL DEFAULT 0,
  `fk_user_action` int(11) DEFAULT NULL,
  `fk_user_done` int(11) DEFAULT NULL,
  `transparency` int(11) DEFAULT NULL,
  `priority` smallint(6) DEFAULT NULL,
  `visibility` varchar(12) DEFAULT 'default',
  `fulldayevent` smallint(6) NOT NULL DEFAULT 0,
  `percent` smallint(6) NOT NULL DEFAULT 0,
  `location` varchar(128) DEFAULT NULL,
  `durationp` double DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `note` text DEFAULT NULL,
  `calling_duration` int(11) DEFAULT NULL,
  `email_subject` varchar(255) DEFAULT NULL,
  `email_msgid` varchar(255) DEFAULT NULL,
  `email_from` varchar(255) DEFAULT NULL,
  `email_sender` varchar(255) DEFAULT NULL,
  `email_to` varchar(255) DEFAULT NULL,
  `email_tocc` varchar(255) DEFAULT NULL,
  `email_tobcc` varchar(255) DEFAULT NULL,
  `errors_to` varchar(255) DEFAULT NULL,
  `reply_to` varchar(255) DEFAULT NULL,
  `recurid` varchar(128) DEFAULT NULL,
  `recurrule` varchar(128) DEFAULT NULL,
  `recurdateend` datetime DEFAULT NULL,
  `num_vote` int(11) DEFAULT NULL,
  `event_paid` smallint(6) NOT NULL DEFAULT 0,
  `status` smallint(6) NOT NULL DEFAULT 0,
  `fk_element` int(11) DEFAULT NULL,
  `elementtype` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_actioncomm_ref` (`ref`,`entity`),
  KEY `idx_actioncomm_fk_soc` (`fk_soc`),
  KEY `idx_actioncomm_fk_contact` (`fk_contact`),
  KEY `idx_actioncomm_code` (`code`),
  KEY `idx_actioncomm_fk_element` (`fk_element`),
  KEY `idx_actioncomm_fk_user_action` (`fk_user_action`),
  KEY `idx_actioncomm_fk_project` (`fk_project`),
  KEY `idx_actioncomm_datep` (`datep`),
  KEY `idx_actioncomm_datep2` (`datep2`),
  KEY `idx_actioncomm_recurid` (`recurid`),
  KEY `idx_actioncomm_ref_ext` (`ref_ext`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_actioncomm`
--

LOCK TABLES `llx_actioncomm` WRITE;
/*!40000 ALTER TABLE `llx_actioncomm` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_actioncomm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_actioncomm_extrafields`
--

DROP TABLE IF EXISTS `llx_actioncomm_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_actioncomm_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_actioncomm_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_actioncomm_extrafields`
--

LOCK TABLES `llx_actioncomm_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_actioncomm_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_actioncomm_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_actioncomm_reminder`
--

DROP TABLE IF EXISTS `llx_actioncomm_reminder`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_actioncomm_reminder` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `dateremind` datetime NOT NULL,
  `typeremind` varchar(32) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `offsetvalue` int(11) NOT NULL,
  `offsetunit` varchar(1) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `lasterror` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_actioncomm` int(11) NOT NULL,
  `fk_email_template` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_actioncomm_reminder_unique` (`fk_actioncomm`,`fk_user`,`typeremind`,`offsetvalue`,`offsetunit`),
  KEY `idx_actioncomm_reminder_dateremind` (`dateremind`),
  KEY `idx_actioncomm_reminder_fk_user` (`fk_user`),
  KEY `idx_actioncomm_reminder_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_actioncomm_reminder`
--

LOCK TABLES `llx_actioncomm_reminder` WRITE;
/*!40000 ALTER TABLE `llx_actioncomm_reminder` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_actioncomm_reminder` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_actioncomm_resources`
--

DROP TABLE IF EXISTS `llx_actioncomm_resources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_actioncomm_resources` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_actioncomm` int(11) NOT NULL,
  `element_type` varchar(50) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `answer_status` varchar(50) DEFAULT NULL,
  `mandatory` smallint(6) DEFAULT NULL,
  `transparency` smallint(6) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_actioncomm_resources` (`fk_actioncomm`,`element_type`,`fk_element`),
  KEY `idx_actioncomm_resources_fk_element` (`fk_element`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_actioncomm_resources`
--

LOCK TABLES `llx_actioncomm_resources` WRITE;
/*!40000 ALTER TABLE `llx_actioncomm_resources` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_actioncomm_resources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_adherent`
--

DROP TABLE IF EXISTS `llx_adherent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_adherent` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(128) DEFAULT NULL,
  `gender` varchar(10) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `login` varchar(50) DEFAULT NULL,
  `pass` varchar(50) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `fk_adherent_type` int(11) NOT NULL,
  `morphy` varchar(3) NOT NULL,
  `societe` varchar(128) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `zip` varchar(30) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country` int(11) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `socialnetworks` text DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `twitter` varchar(255) DEFAULT NULL,
  `facebook` varchar(255) DEFAULT NULL,
  `linkedin` varchar(255) DEFAULT NULL,
  `instagram` varchar(255) DEFAULT NULL,
  `snapchat` varchar(255) DEFAULT NULL,
  `googleplus` varchar(255) DEFAULT NULL,
  `youtube` varchar(255) DEFAULT NULL,
  `whatsapp` varchar(255) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `phone_perso` varchar(30) DEFAULT NULL,
  `phone_mobile` varchar(30) DEFAULT NULL,
  `birth` date DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `public` smallint(6) NOT NULL DEFAULT 0,
  `datefin` datetime DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `datevalid` datetime DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_adherent_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_adherent_login` (`login`,`entity`),
  UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`),
  KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`),
  CONSTRAINT `adherent_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_adherent_adherent_type` FOREIGN KEY (`fk_adherent_type`) REFERENCES `llx_adherent_type` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_adherent`
--

LOCK TABLES `llx_adherent` WRITE;
/*!40000 ALTER TABLE `llx_adherent` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_adherent` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_adherent_extrafields`
--

DROP TABLE IF EXISTS `llx_adherent_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_adherent_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_adherent_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_adherent_extrafields`
--

LOCK TABLES `llx_adherent_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_adherent_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_adherent_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_adherent_type`
--

DROP TABLE IF EXISTS `llx_adherent_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_adherent_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `libelle` varchar(50) NOT NULL,
  `morphy` varchar(3) NOT NULL,
  `duration` varchar(6) DEFAULT NULL,
  `subscription` varchar(3) NOT NULL DEFAULT '1',
  `amount` double(24,8) DEFAULT NULL,
  `vote` varchar(3) NOT NULL DEFAULT '1',
  `note` text DEFAULT NULL,
  `mail_valid` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_adherent_type`
--

LOCK TABLES `llx_adherent_type` WRITE;
/*!40000 ALTER TABLE `llx_adherent_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_adherent_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_adherent_type_extrafields`
--

DROP TABLE IF EXISTS `llx_adherent_type_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_adherent_type_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_adherent_type_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_adherent_type_extrafields`
--

LOCK TABLES `llx_adherent_type_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_adherent_type_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_adherent_type_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_adherent_type_lang`
--

DROP TABLE IF EXISTS `llx_adherent_type_lang`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_adherent_type_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_type` int(11) NOT NULL DEFAULT 0,
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_adherent_type_lang`
--

LOCK TABLES `llx_adherent_type_lang` WRITE;
/*!40000 ALTER TABLE `llx_adherent_type_lang` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_adherent_type_lang` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_advtargetemailing`
--

DROP TABLE IF EXISTS `llx_advtargetemailing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_advtargetemailing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_element` int(11) NOT NULL,
  `type_element` varchar(180) NOT NULL,
  `filtervalue` text DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_advtargetemailing_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_advtargetemailing`
--

LOCK TABLES `llx_advtargetemailing` WRITE;
/*!40000 ALTER TABLE `llx_advtargetemailing` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_advtargetemailing` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_asset`
--

DROP TABLE IF EXISTS `llx_asset`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_asset` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `amount_ht` double(24,8) DEFAULT NULL,
  `amount_vat` double(24,8) DEFAULT NULL,
  `fk_asset_type` int(11) NOT NULL,
  `description` text 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) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_asset_rowid` (`rowid`),
  KEY `idx_asset_ref` (`ref`),
  KEY `idx_asset_entity` (`entity`),
  KEY `idx_asset_fk_asset_type` (`fk_asset_type`),
  CONSTRAINT `fk_asset_asset_type` FOREIGN KEY (`fk_asset_type`) REFERENCES `llx_asset_type` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_asset`
--

LOCK TABLES `llx_asset` WRITE;
/*!40000 ALTER TABLE `llx_asset` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_asset` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_asset_extrafields`
--

DROP TABLE IF EXISTS `llx_asset_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_asset_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_asset_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_asset_extrafields`
--

LOCK TABLES `llx_asset_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_asset_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_asset_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_asset_type`
--

DROP TABLE IF EXISTS `llx_asset_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_asset_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(50) NOT NULL,
  `accountancy_code_asset` varchar(32) DEFAULT NULL,
  `accountancy_code_depreciation_asset` varchar(32) DEFAULT NULL,
  `accountancy_code_depreciation_expense` varchar(32) DEFAULT NULL,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_type_label` (`label`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_asset_type`
--

LOCK TABLES `llx_asset_type` WRITE;
/*!40000 ALTER TABLE `llx_asset_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_asset_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_asset_type_extrafields`
--

DROP TABLE IF EXISTS `llx_asset_type_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_asset_type_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_asset_type_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_asset_type_extrafields`
--

LOCK TABLES `llx_asset_type_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_asset_type_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_asset_type_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank`
--

DROP TABLE IF EXISTS `llx_bank`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datev` date DEFAULT NULL,
  `dateo` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `label` varchar(255) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_rappro` int(11) DEFAULT NULL,
  `fk_type` varchar(6) DEFAULT NULL,
  `num_releve` varchar(50) DEFAULT NULL,
  `num_chq` varchar(50) DEFAULT NULL,
  `numero_compte` varchar(32) DEFAULT NULL,
  `rappro` tinyint(4) DEFAULT 0,
  `note` text DEFAULT NULL,
  `fk_bordereau` int(11) DEFAULT 0,
  `banque` varchar(255) DEFAULT NULL,
  `emetteur` varchar(255) DEFAULT NULL,
  `author` varchar(40) DEFAULT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(64) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_bank_datev` (`datev`),
  KEY `idx_bank_dateo` (`dateo`),
  KEY `idx_bank_fk_account` (`fk_account`),
  KEY `idx_bank_rappro` (`rappro`),
  KEY `idx_bank_num_releve` (`num_releve`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank`
--

LOCK TABLES `llx_bank` WRITE;
/*!40000 ALTER TABLE `llx_bank` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank_account`
--

DROP TABLE IF EXISTS `llx_bank_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ref` varchar(12) NOT NULL,
  `label` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `bank` varchar(60) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(11) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `country_iban` varchar(2) DEFAULT NULL,
  `cle_iban` varchar(2) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  `courant` smallint(6) NOT NULL DEFAULT 0,
  `clos` smallint(6) NOT NULL DEFAULT 0,
  `rappro` smallint(6) DEFAULT 1,
  `url` varchar(128) DEFAULT NULL,
  `account_number` varchar(32) DEFAULT NULL,
  `fk_accountancy_journal` int(11) DEFAULT NULL,
  `currency_code` varchar(3) NOT NULL,
  `min_allowed` int(11) DEFAULT 0,
  `min_desired` int(11) DEFAULT 0,
  `comment` 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,
  `ics` varchar(32) DEFAULT NULL,
  `ics_transfer` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bank_account_label` (`label`,`entity`),
  KEY `idx_fk_accountancy_journal` (`fk_accountancy_journal`),
  CONSTRAINT `fk_bank_account_accountancy_journal` FOREIGN KEY (`fk_accountancy_journal`) REFERENCES `llx_accounting_journal` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank_account`
--

LOCK TABLES `llx_bank_account` WRITE;
/*!40000 ALTER TABLE `llx_bank_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank_account_extrafields`
--

DROP TABLE IF EXISTS `llx_bank_account_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank_account_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_bank_account_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank_account_extrafields`
--

LOCK TABLES `llx_bank_account_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_bank_account_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank_account_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank_categ`
--

DROP TABLE IF EXISTS `llx_bank_categ`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank_categ` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank_categ`
--

LOCK TABLES `llx_bank_categ` WRITE;
/*!40000 ALTER TABLE `llx_bank_categ` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank_categ` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank_class`
--

DROP TABLE IF EXISTS `llx_bank_class`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank_class` (
  `lineid` int(11) NOT NULL,
  `fk_categ` int(11) NOT NULL,
  UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank_class`
--

LOCK TABLES `llx_bank_class` WRITE;
/*!40000 ALTER TABLE `llx_bank_class` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank_class` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bank_url`
--

DROP TABLE IF EXISTS `llx_bank_url`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bank_url` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_bank` int(11) DEFAULT NULL,
  `url_id` int(11) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `type` varchar(24) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bank_url` (`fk_bank`,`url_id`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bank_url`
--

LOCK TABLES `llx_bank_url` WRITE;
/*!40000 ALTER TABLE `llx_bank_url` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bank_url` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_blockedlog`
--

DROP TABLE IF EXISTS `llx_blockedlog`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_blockedlog` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `action` varchar(50) DEFAULT NULL,
  `amounts` double(24,8) NOT NULL,
  `element` varchar(50) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `user_fullname` varchar(255) DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL,
  `ref_object` varchar(255) DEFAULT NULL,
  `date_object` datetime DEFAULT NULL,
  `signature` varchar(100) NOT NULL,
  `signature_line` varchar(100) NOT NULL,
  `object_data` mediumtext DEFAULT NULL,
  `object_version` varchar(32) DEFAULT '',
  `certified` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `signature` (`signature`),
  KEY `fk_object_element` (`fk_object`,`element`),
  KEY `entity` (`entity`),
  KEY `fk_user` (`fk_user`),
  KEY `entity_action` (`entity`,`action`),
  KEY `entity_action_certified` (`entity`,`action`,`certified`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_blockedlog`
--

LOCK TABLES `llx_blockedlog` WRITE;
/*!40000 ALTER TABLE `llx_blockedlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_blockedlog` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_blockedlog_authority`
--

DROP TABLE IF EXISTS `llx_blockedlog_authority`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_blockedlog_authority` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `blockchain` longtext NOT NULL,
  `signature` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  KEY `signature` (`signature`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_blockedlog_authority`
--

LOCK TABLES `llx_blockedlog_authority` WRITE;
/*!40000 ALTER TABLE `llx_blockedlog_authority` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_blockedlog_authority` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bom_bom`
--

DROP TABLE IF EXISTS `llx_bom_bom`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bom_bom` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `bomtype` int(11) DEFAULT 0,
  `label` varchar(255) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `qty` double(24,8) DEFAULT NULL,
  `efficiency` double(24,8) DEFAULT 1.00000000,
  `duration` double(24,8) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `date_valid` datetime DEFAULT 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,
  `fk_user_valid` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bom_bom_ref` (`ref`,`entity`),
  KEY `idx_bom_bom_rowid` (`rowid`),
  KEY `idx_bom_bom_ref` (`ref`),
  KEY `llx_bom_bom_fk_user_creat` (`fk_user_creat`),
  KEY `idx_bom_bom_status` (`status`),
  KEY `idx_bom_bom_fk_product` (`fk_product`),
  CONSTRAINT `llx_bom_bom_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bom_bom`
--

LOCK TABLES `llx_bom_bom` WRITE;
/*!40000 ALTER TABLE `llx_bom_bom` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bom_bom` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bom_bom_extrafields`
--

DROP TABLE IF EXISTS `llx_bom_bom_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bom_bom_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_bom_bom_extrafields_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bom_bom_extrafields`
--

LOCK TABLES `llx_bom_bom_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_bom_bom_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bom_bom_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bom_bomline`
--

DROP TABLE IF EXISTS `llx_bom_bomline`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bom_bomline` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_bom` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_bom_child` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `qty` double(24,8) NOT NULL,
  `qty_frozen` smallint(6) DEFAULT 0,
  `disable_stock_change` smallint(6) DEFAULT 0,
  `efficiency` double(24,8) NOT NULL DEFAULT 1.00000000,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_bom_bomline_rowid` (`rowid`),
  KEY `idx_bom_bomline_fk_product` (`fk_product`),
  KEY `idx_bom_bomline_fk_bom` (`fk_bom`),
  CONSTRAINT `llx_bom_bomline_fk_bom` FOREIGN KEY (`fk_bom`) REFERENCES `llx_bom_bom` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bom_bomline`
--

LOCK TABLES `llx_bom_bomline` WRITE;
/*!40000 ALTER TABLE `llx_bom_bomline` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bom_bomline` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bom_bomline_extrafields`
--

DROP TABLE IF EXISTS `llx_bom_bomline_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bom_bomline_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`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bom_bomline_extrafields`
--

LOCK TABLES `llx_bom_bomline_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_bom_bomline_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bom_bomline_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bookmark`
--

DROP TABLE IF EXISTS `llx_bookmark`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bookmark` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL,
  `dateb` datetime DEFAULT NULL,
  `url` text DEFAULT NULL,
  `target` varchar(16) DEFAULT NULL,
  `title` varchar(64) DEFAULT NULL,
  `favicon` varchar(24) DEFAULT NULL,
  `position` int(11) DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bookmark_title` (`fk_user`,`entity`,`title`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bookmark`
--

LOCK TABLES `llx_bookmark` WRITE;
/*!40000 ALTER TABLE `llx_bookmark` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bookmark` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_bordereau_cheque`
--

DROP TABLE IF EXISTS `llx_bordereau_cheque`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_bordereau_cheque` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `date_bordereau` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL,
  `nbcheque` smallint(6) NOT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `note` text DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bordereau_cheque` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_bordereau_cheque`
--

LOCK TABLES `llx_bordereau_cheque` WRITE;
/*!40000 ALTER TABLE `llx_bordereau_cheque` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_bordereau_cheque` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_boxes`
--

DROP TABLE IF EXISTS `llx_boxes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_boxes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `box_id` int(11) NOT NULL,
  `position` smallint(6) NOT NULL,
  `box_order` varchar(3) NOT NULL,
  `fk_user` int(11) NOT NULL DEFAULT 0,
  `maxline` int(11) DEFAULT NULL,
  `params` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_boxes` (`entity`,`box_id`,`position`,`fk_user`),
  KEY `idx_boxes_boxid` (`box_id`),
  KEY `idx_boxes_fk_user` (`fk_user`),
  CONSTRAINT `fk_boxes_box_id` FOREIGN KEY (`box_id`) REFERENCES `llx_boxes_def` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_boxes`
--

LOCK TABLES `llx_boxes` WRITE;
/*!40000 ALTER TABLE `llx_boxes` DISABLE KEYS */;
INSERT INTO `llx_boxes` (`rowid`, `entity`, `box_id`, `position`, `box_order`, `fk_user`, `maxline`, `params`) VALUES (5,1,5,0,'B04',0,NULL,NULL),(7,1,7,0,'A05',0,NULL,NULL),(8,1,8,0,'B06',0,NULL,NULL);
/*!40000 ALTER TABLE `llx_boxes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_boxes_def`
--

DROP TABLE IF EXISTS `llx_boxes_def`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_boxes_def` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `file` varchar(200) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `note` varchar(130) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_boxes_def`
--

LOCK TABLES `llx_boxes_def` WRITE;
/*!40000 ALTER TABLE `llx_boxes_def` DISABLE KEYS */;
INSERT INTO `llx_boxes_def` (`rowid`, `file`, `entity`, `tms`, `note`) VALUES (1,'box_lastlogin.php',1,'2022-04-25 11:45:43',NULL),(2,'box_birthdays.php',1,'2022-04-25 11:45:43',NULL),(3,'box_dolibarr_state_board.php',1,'2022-04-25 11:45:43',NULL),(4,'box_clients.php',1,'2022-04-25 12:00:04',NULL),(5,'box_prospect.php',1,'2022-04-25 12:00:04',NULL),(6,'box_contacts.php',1,'2022-04-25 12:00:04',NULL),(7,'box_activity.php',1,'2022-04-25 12:00:04','(WarningUsingThisBoxSlowDown)'),(8,'box_goodcustomers.php',1,'2022-04-25 12:00:04','(WarningUsingThisBoxSlowDown)'),(9,'box_graph_propales_permonth.php',1,'2022-04-25 12:00:09',NULL),(10,'box_propales.php',1,'2022-04-25 12:00:09',NULL),(11,'box_factures_imp.php',1,'2022-04-25 12:00:20',NULL),(12,'box_factures.php',1,'2022-04-25 12:00:20',NULL),(13,'box_graph_invoices_permonth.php',1,'2022-04-25 12:00:20',NULL),(14,'box_customers_outstanding_bill_reached.php',1,'2022-04-25 12:00:20',NULL),(15,'box_produits.php',1,'2022-04-25 12:01:14',NULL),(16,'box_produits_alerte_stock.php',1,'2022-04-25 12:01:14',NULL),(17,'box_graph_product_distribution.php',1,'2022-04-25 12:01:14',NULL),(21,'box_scheduled_jobs.php',1,'2022-04-25 13:21:52',NULL),(25,'box_referenceletter_models@referenceletters',1,'2022-05-11 13:10:55',NULL),(26,'box_referenceletter_elements@referenceletters',1,'2022-05-11 13:10:55',NULL),(27,'box_referenceletter_models_archive@referenceletters',1,'2022-05-11 13:10:55',NULL);
/*!40000 ALTER TABLE `llx_boxes_def` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_budget`
--

DROP TABLE IF EXISTS `llx_budget`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_budget` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) NOT NULL,
  `status` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_budget`
--

LOCK TABLES `llx_budget` WRITE;
/*!40000 ALTER TABLE `llx_budget` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_budget` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_budget_lines`
--

DROP TABLE IF EXISTS `llx_budget_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_budget_lines` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_budget` int(11) NOT NULL,
  `fk_project_ids` varchar(180) NOT NULL,
  `amount` double(24,8) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_budget_lines` (`fk_budget`,`fk_project_ids`),
  CONSTRAINT `fk_budget_lines_budget` FOREIGN KEY (`fk_budget`) REFERENCES `llx_budget` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_budget_lines`
--

LOCK TABLES `llx_budget_lines` WRITE;
/*!40000 ALTER TABLE `llx_budget_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_budget_lines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_accounting_category`
--

DROP TABLE IF EXISTS `llx_c_accounting_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_accounting_category` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(16) NOT NULL,
  `label` varchar(255) NOT NULL,
  `range_account` varchar(255) NOT NULL,
  `sens` tinyint(4) NOT NULL DEFAULT 0,
  `category_type` tinyint(4) NOT NULL DEFAULT 0,
  `formula` varchar(255) NOT NULL,
  `position` int(11) DEFAULT 0,
  `fk_country` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_accounting_category` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_accounting_category`
--

LOCK TABLES `llx_c_accounting_category` WRITE;
/*!40000 ALTER TABLE `llx_c_accounting_category` DISABLE KEYS */;
INSERT INTO `llx_c_accounting_category` (`rowid`, `entity`, `code`, `label`, `range_account`, `sens`, `category_type`, `formula`, `position`, `fk_country`, `active`) VALUES (1,1,'INCOMES','Income of products/services','Example: 7xxxxx',0,0,'',10,0,1),(2,1,'EXPENSES','Expenses of products/services','Example: 6xxxxx',0,0,'',20,0,1),(3,1,'PROFIT','Balance','',0,1,'INCOMES+EXPENSES',30,0,1);
/*!40000 ALTER TABLE `llx_c_accounting_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_action_trigger`
--

DROP TABLE IF EXISTS `llx_c_action_trigger`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_action_trigger` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `elementtype` varchar(64) NOT NULL,
  `code` varchar(64) NOT NULL,
  `label` varchar(128) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_action_trigger_code` (`code`),
  KEY `idx_action_trigger_rang` (`rang`)
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_action_trigger`
--

LOCK TABLES `llx_c_action_trigger` WRITE;
/*!40000 ALTER TABLE `llx_c_action_trigger` DISABLE KEYS */;
INSERT INTO `llx_c_action_trigger` (`rowid`, `elementtype`, `code`, `label`, `description`, `rang`) VALUES (1,'societe','COMPANY_CREATE','Third party created','Executed when a third party is created',1),(2,'societe','COMPANY_MODIFY','Third party update','Executed when you update third party',1),(3,'societe','COMPANY_SENTBYMAIL','Mails sent from third party card','Executed when you send email from third party card',1),(4,'societe','COMPANY_DELETE','Third party deleted','Executed when you delete third party',1),(5,'propal','PROPAL_VALIDATE','Customer proposal validated','Executed when a commercial proposal is validated',2),(6,'propal','PROPAL_SENTBYMAIL','Commercial proposal sent by mail','Executed when a commercial proposal is sent by mail',3),(7,'propal','PROPAL_CLOSE_SIGNED','Customer proposal closed signed','Executed when a customer proposal is closed signed',2),(8,'propal','PROPAL_CLOSE_REFUSED','Customer proposal closed refused','Executed when a customer proposal is closed refused',2),(9,'propal','PROPAL_CLASSIFY_BILLED','Customer proposal set billed','Executed when a customer proposal is set to billed',2),(10,'propal','PROPAL_DELETE','Customer proposal deleted','Executed when a customer proposal is deleted',2),(11,'commande','ORDER_VALIDATE','Customer order validate','Executed when a customer order is validated',4),(12,'commande','ORDER_CLOSE','Customer order classify delivered','Executed when a customer order is set delivered',5),(13,'commande','ORDER_CLASSIFY_BILLED','Customer order classify billed','Executed when a customer order is set to billed',5),(14,'commande','ORDER_CANCEL','Customer order canceled','Executed when a customer order is canceled',5),(15,'commande','ORDER_SENTBYMAIL','Customer order sent by mail','Executed when a customer order is sent by mail ',5),(16,'commande','ORDER_DELETE','Customer order deleted','Executed when a customer order is deleted',5),(17,'facture','BILL_VALIDATE','Customer invoice validated','Executed when a customer invoice is approved',6),(18,'facture','BILL_PAYED','Customer invoice payed','Executed when a customer invoice is payed',7),(19,'facture','BILL_CANCEL','Customer invoice canceled','Executed when a customer invoice is conceled',8),(20,'facture','BILL_SENTBYMAIL','Customer invoice sent by mail','Executed when a customer invoice is sent by mail',9),(21,'facture','BILL_UNVALIDATE','Customer invoice unvalidated','Executed when a customer invoice status set back to draft',9),(22,'facture','BILL_DELETE','Customer invoice deleted','Executed when a customer invoice is deleted',9),(23,'proposal_supplier','PROPOSAL_SUPPLIER_VALIDATE','Price request validated','Executed when a commercial proposal is validated',10),(24,'proposal_supplier','PROPOSAL_SUPPLIER_SENTBYMAIL','Price request sent by mail','Executed when a commercial proposal is sent by mail',10),(25,'proposal_supplier','PROPOSAL_SUPPLIER_CLOSE_SIGNED','Price request closed signed','Executed when a customer proposal is closed signed',10),(26,'proposal_supplier','PROPOSAL_SUPPLIER_CLOSE_REFUSED','Price request closed refused','Executed when a customer proposal is closed refused',10),(27,'proposal_supplier','PROPOSAL_SUPPLIER_DELETE','Price request deleted','Executed when a customer proposal delete',10),(28,'order_supplier','ORDER_SUPPLIER_VALIDATE','Supplier order validated','Executed when a supplier order is validated',12),(29,'order_supplier','ORDER_SUPPLIER_APPROVE','Supplier order request approved','Executed when a supplier order is approved',13),(30,'order_supplier','ORDER_SUPPLIER_SUBMIT','Supplier order request submited','Executed when a supplier order is approved',13),(31,'order_supplier','ORDER_SUPPLIER_RECEIVE','Supplier order request received','Executed when a supplier order is received',13),(32,'order_supplier','ORDER_SUPPLIER_REFUSE','Supplier order request refused','Executed when a supplier order is refused',13),(33,'order_supplier','ORDER_SUPPLIER_SENTBYMAIL','Supplier order sent by mail','Executed when a supplier order is sent by mail',14),(34,'order_supplier','ORDER_SUPPLIER_CLASSIFY_BILLED','Supplier order set billed','Executed when a supplier order is set as billed',14),(35,'order_supplier','ORDER_SUPPLIER_DELETE','Supplier order deleted','Executed when a supplier order is deleted',14),(36,'invoice_supplier','BILL_SUPPLIER_VALIDATE','Supplier invoice validated','Executed when a supplier invoice is validated',15),(37,'invoice_supplier','BILL_SUPPLIER_UNVALIDATE','Supplier invoice unvalidated','Executed when a supplier invoice status is set back to draft',15),(38,'invoice_supplier','BILL_SUPPLIER_PAYED','Supplier invoice payed','Executed when a supplier invoice is payed',16),(39,'invoice_supplier','BILL_SUPPLIER_SENTBYMAIL','Supplier invoice sent by mail','Executed when a supplier invoice is sent by mail',17),(40,'invoice_supplier','BILL_SUPPLIER_CANCELED','Supplier invoice cancelled','Executed when a supplier invoice is cancelled',17),(41,'invoice_supplier','BILL_SUPPLIER_DELETE','Supplier invoice deleted','Executed when a supplier invoice is deleted',17),(42,'contrat','CONTRACT_VALIDATE','Contract validated','Executed when a contract is validated',18),(43,'contrat','CONTRACT_SENTBYMAIL','Contract sent by mail','Executed when a contract is sent by mail',18),(44,'contrat','CONTRACT_DELETE','Contract deleted','Executed when a contract is deleted',18),(45,'shipping','SHIPPING_VALIDATE','Shipping validated','Executed when a shipping is validated',20),(46,'shipping','SHIPPING_SENTBYMAIL','Shipping sent by mail','Executed when a shipping is sent by mail',21),(47,'shipping','SHIPPING_DELETE','Shipping sent is deleted','Executed when a shipping is deleted',21),(48,'reception','RECEPTION_VALIDATE','Reception validated','Executed when a reception is validated',22),(49,'reception','RECEPTION_SENTBYMAIL','Reception sent by mail','Executed when a reception is sent by mail',22),(50,'member','MEMBER_VALIDATE','Member validated','Executed when a member is validated',22),(51,'member','MEMBER_SENTBYMAIL','Mails sent from member card','Executed when you send email from member card',23),(52,'member','MEMBER_SUBSCRIPTION_CREATE','Member subscribtion recorded','Executed when a member subscribtion is deleted',24),(53,'member','MEMBER_SUBSCRIPTION_MODIFY','Member subscribtion modified','Executed when a member subscribtion is modified',24),(54,'member','MEMBER_SUBSCRIPTION_DELETE','Member subscribtion deleted','Executed when a member subscribtion is deleted',24),(55,'member','MEMBER_RESILIATE','Member resiliated','Executed when a member is resiliated',25),(56,'member','MEMBER_DELETE','Member deleted','Executed when a member is deleted',26),(57,'ficheinter','FICHINTER_VALIDATE','Intervention validated','Executed when a intervention is validated',30),(58,'ficheinter','FICHINTER_CLASSIFY_BILLED','Intervention set billed','Executed when a intervention is set to billed (when option FICHINTER_CLASSIFY_BILLED is set)',32),(59,'ficheinter','FICHINTER_CLASSIFY_UNBILLED','Intervention set unbilled','Executed when a intervention is set to unbilled (when option FICHINTER_CLASSIFY_BILLED is set)',33),(60,'ficheinter','FICHINTER_REOPEN','Intervention opened','Executed when a intervention is re-opened',34),(61,'ficheinter','FICHINTER_SENTBYMAIL','Intervention sent by mail','Executed when a intervention is sent by mail',35),(62,'ficheinter','FICHINTER_DELETE','Intervention is deleted','Executed when a intervention is deleted',35),(63,'product','PRODUCT_CREATE','Product or service created','Executed when a product or sevice is created',40),(64,'product','PRODUCT_DELETE','Product or service deleted','Executed when a product or sevice is deleted',42),(65,'expensereport','EXPENSE_REPORT_CREATE','Expense report created','Executed when an expense report is created',201),(66,'expensereport','EXPENSE_REPORT_VALIDATE','Expense report validated','Executed when an expense report is validated',202),(67,'expensereport','EXPENSE_REPORT_APPROVE','Expense report approved','Executed when an expense report is approved',203),(68,'expensereport','EXPENSE_REPORT_PAID','Expense report billed','Executed when an expense report is set as billed',204),(69,'expensereport','EXPENSE_REPORT_DELETE','Expense report deleted','Executed when an expense report is deleted',205),(70,'expensereport','HOLIDAY_VALIDATE','Expense report validated','Executed when an expense report is validated',211),(71,'expensereport','HOLIDAY_APPROVE','Expense report approved','Executed when an expense report is approved',212),(72,'project','PROJECT_VALIDATE','Project validation','Executed when a project is validated',141),(73,'project','PROJECT_DELETE','Project deleted','Executed when a project is deleted',143),(74,'ticket','TICKET_CREATE','Ticket created','Executed when a ticket is created',161),(75,'ticket','TICKET_MODIFY','Ticket modified','Executed when a ticket is modified',163),(76,'ticket','TICKET_ASSIGNED','Ticket assigned','Executed when a ticket is modified',164),(77,'ticket','TICKET_CLOSE','Ticket closed','Executed when a ticket is closed',165),(78,'ticket','TICKET_SENTBYMAIL','Ticket message sent by email','Executed when a message is sent from the ticket record',166),(79,'ticket','TICKET_DELETE','Ticket deleted','Executed when a ticket is deleted',167),(80,'user','USER_SENTBYMAIL','Email sent','Executed when an email is sent from user card',300),(81,'product','PRODUCT_MODIFY','Product or service modified','Executed when a product or sevice is modified',41),(82,'member','MEMBER_MODIFY','Member modified','Executed when a member is modified',23),(83,'ficheinter','FICHINTER_MODIFY','Intervention modified','Executed when a intervention is modified',19),(84,'project','PROJECT_CREATE','Project creation','Executed when a project is created',140),(85,'project','PROJECT_MODIFY','Project modified','Executed when a project is modified',142),(86,'bom','BOM_VALIDATE','BOM validated','Executed when a BOM is validated',650),(87,'bom','BOM_UNVALIDATE','BOM unvalidated','Executed when a BOM is unvalidated',651),(88,'bom','BOM_CLOSE','BOM disabled','Executed when a BOM is disabled',652),(89,'bom','BOM_REOPEN','BOM reopen','Executed when a BOM is re-open',653),(90,'bom','BOM_DELETE','BOM deleted','Executed when a BOM deleted',654),(91,'mrp','MRP_MO_VALIDATE','MO validated','Executed when a MO is validated',660),(92,'mrp','MRP_MO_PRODUCED','MO produced','Executed when a MO is produced',661),(93,'mrp','MRP_MO_DELETE','MO deleted','Executed when a MO is deleted',662),(94,'mrp','MRP_MO_CANCEL','MO canceled','Executed when a MO is canceled',663),(95,'contact','CONTACT_CREATE','Contact address created','Executed when a contact is created',50),(96,'contact','CONTACT_MODIFY','Contact address update','Executed when a contact is updated',51),(97,'contact','CONTACT_SENTBYMAIL','Mails sent from third party card','Executed when you send email from contact address record',52),(98,'contact','CONTACT_DELETE','Contact address deleted','Executed when a contact is deleted',53),(99,'recruitment','RECRUITMENTJOBPOSITION_CREATE','Job created','Executed when a job is created',7500),(100,'recruitment','RECRUITMENTJOBPOSITION_MODIFY','Job modified','Executed when a job is modified',7502),(101,'recruitment','RECRUITMENTJOBPOSITION_SENTBYMAIL','Mails sent from job record','Executed when you send email from job record',7504),(102,'recruitment','RECRUITMENTJOBPOSITION_DELETE','Job deleted','Executed when a job is deleted',7506),(103,'recruitment','RECRUITMENTCANDIDATURE_CREATE','Candidature created','Executed when a candidature is created',7510),(104,'recruitment','RECRUITMENTCANDIDATURE_MODIFY','Candidature modified','Executed when a candidature is modified',7512),(105,'recruitment','RECRUITMENTCANDIDATURE_SENTBYMAIL','Mails sent from candidature record','Executed when you send email from candidature record',7514),(106,'recruitment','RECRUITMENTCANDIDATURE_DELETE','Candidature deleted','Executed when a candidature is deleted',7516),(107,'project','TASK_CREATE','Task created','Executed when a project task is created',150),(108,'project','TASK_MODIFY','Task modified','Executed when a project task is modified',151),(109,'project','TASK_DELETE','Task deleted','Executed when a project task is deleted',152),(110,'agenda','ACTION_CREATE','Action added','Executed when an action is added to the agenda',700);
/*!40000 ALTER TABLE `llx_c_action_trigger` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_actioncomm`
--

DROP TABLE IF EXISTS `llx_c_actioncomm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_actioncomm` (
  `id` int(11) NOT NULL,
  `code` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'system',
  `libelle` varchar(48) NOT NULL,
  `module` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `todo` tinyint(4) DEFAULT NULL,
  `color` varchar(9) DEFAULT NULL,
  `picto` varchar(48) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_actioncomm` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_actioncomm`
--

LOCK TABLES `llx_c_actioncomm` WRITE;
/*!40000 ALTER TABLE `llx_c_actioncomm` DISABLE KEYS */;
INSERT INTO `llx_c_actioncomm` (`id`, `code`, `type`, `libelle`, `module`, `active`, `todo`, `color`, `picto`, `position`) VALUES (1,'AC_TEL','system','Phone call',NULL,1,NULL,NULL,NULL,2),(2,'AC_FAX','system','Send Fax',NULL,1,NULL,NULL,NULL,3),(4,'AC_EMAIL','system','Send Email',NULL,1,NULL,NULL,NULL,4),(5,'AC_RDV','system','Rendez-vous',NULL,1,NULL,NULL,NULL,1),(6,'AC_EMAIL_IN','system','reception Email',NULL,1,NULL,NULL,NULL,4),(11,'AC_INT','system','Intervention on site',NULL,1,NULL,NULL,NULL,4),(40,'AC_OTH_AUTO','systemauto','Other (automatically inserted events)',NULL,1,NULL,NULL,NULL,20),(50,'AC_OTH','system','Other (manually inserted events)',NULL,1,NULL,NULL,NULL,5),(60,'AC_EO_ONLINECONF','module','Online/Virtual conference','conference@eventorganization',1,NULL,NULL,NULL,60),(61,'AC_EO_INDOORCONF','module','Indoor conference','conference@eventorganization',1,NULL,NULL,NULL,61),(62,'AC_EO_ONLINEBOOTH','module','Online/Virtual booth','booth@eventorganization',1,NULL,NULL,NULL,62),(63,'AC_EO_INDOORBOOTH','module','Indoor booth','booth@eventorganization',1,NULL,NULL,NULL,63),(1032581,'AC_LTR_DOC','referenceletters','Documents','referenceletters',1,NULL,NULL,NULL,100);
/*!40000 ALTER TABLE `llx_c_actioncomm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_availability`
--

DROP TABLE IF EXISTS `llx_c_availability`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_availability` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) NOT NULL,
  `label` varchar(60) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_availability` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_availability`
--

LOCK TABLES `llx_c_availability` WRITE;
/*!40000 ALTER TABLE `llx_c_availability` DISABLE KEYS */;
INSERT INTO `llx_c_availability` (`rowid`, `code`, `label`, `active`, `position`) VALUES (1,'AV_NOW','Immediate',1,10),(2,'AV_1W','1 week',1,20),(3,'AV_2W','2 weeks',1,30),(4,'AV_3W','3 weeks',1,40);
/*!40000 ALTER TABLE `llx_c_availability` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_barcode_type`
--

DROP TABLE IF EXISTS `llx_c_barcode_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_barcode_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `libelle` varchar(50) NOT NULL,
  `coder` varchar(16) NOT NULL,
  `example` varchar(16) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_barcode_type` (`code`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_barcode_type`
--

LOCK TABLES `llx_c_barcode_type` WRITE;
/*!40000 ALTER TABLE `llx_c_barcode_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_barcode_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_chargesociales`
--

DROP TABLE IF EXISTS `llx_c_chargesociales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_chargesociales` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `libelle` varchar(80) DEFAULT NULL,
  `deductible` smallint(6) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `code` varchar(12) NOT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4110 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_chargesociales`
--

LOCK TABLES `llx_c_chargesociales` WRITE;
/*!40000 ALTER TABLE `llx_c_chargesociales` DISABLE KEYS */;
INSERT INTO `llx_c_chargesociales` (`id`, `libelle`, `deductible`, `active`, `code`, `accountancy_code`, `fk_pays`, `module`) VALUES (1,'Securite sociale (URSSAF / MSA)',1,1,'TAXSECU',NULL,1,NULL),(2,'Securite sociale des indépendants (URSSAF)',1,1,'TAXSSI',NULL,1,NULL),(10,'Taxe apprentissage',1,1,'TAXAPP',NULL,1,NULL),(11,'Formation professionnelle continue',1,1,'TAXFPC',NULL,1,NULL),(12,'Cotisation fonciere des entreprises (CFE)',1,1,'TAXCFE',NULL,1,NULL),(13,'Cotisation sur la valeur ajoutee des entreprises (CVAE)',1,1,'TAXCVAE',NULL,1,NULL),(20,'Taxe fonciere',1,1,'TAXFON',NULL,1,NULL),(25,'Prelevement à la source (PAS)',0,1,'TAXPAS',NULL,1,NULL),(30,'Prevoyance',1,1,'TAXPREV',NULL,1,NULL),(40,'Mutuelle',1,1,'TAXMUT',NULL,1,NULL),(50,'Retraite',1,1,'TAXRET',NULL,1,NULL),(60,'Taxe sur vehicule societe (TVS)',0,1,'TAXTVS',NULL,1,NULL),(70,'impôts sur les sociétés (IS)',0,1,'TAXIS',NULL,1,NULL),(201,'ONSS',1,1,'TAXBEONSS',NULL,2,NULL),(210,'Precompte professionnel',1,1,'TAXBEPREPRO',NULL,2,NULL),(220,'Prime existence',1,1,'TAXBEPRIEXI',NULL,2,NULL),(230,'Precompte immobilier',1,1,'TAXBEPREIMMO',NULL,2,NULL),(4101,'Krankenversicherung',1,1,'TAXATKV',NULL,41,NULL),(4102,'Unfallversicherung',1,1,'TAXATUV',NULL,41,NULL),(4103,'Pensionsversicherung',1,1,'TAXATPV',NULL,41,NULL),(4104,'Arbeitslosenversicherung',1,1,'TAXATAV',NULL,41,NULL),(4105,'Insolvenzentgeltsicherungsfond',1,1,'TAXATIESG',NULL,41,NULL),(4106,'Wohnbauförderung',1,1,'TAXATWF',NULL,41,NULL),(4107,'Arbeiterkammerumlage',1,1,'TAXATAK',NULL,41,NULL),(4108,'Mitarbeitervorsorgekasse',1,1,'TAXATMVK',NULL,41,NULL),(4109,'Familienlastenausgleichsfond',1,1,'TAXATFLAF',NULL,41,NULL);
/*!40000 ALTER TABLE `llx_c_chargesociales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_civility`
--

DROP TABLE IF EXISTS `llx_c_civility`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_civility` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(6) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_civility` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_civility`
--

LOCK TABLES `llx_c_civility` WRITE;
/*!40000 ALTER TABLE `llx_c_civility` DISABLE KEYS */;
INSERT INTO `llx_c_civility` (`rowid`, `code`, `label`, `active`, `module`) VALUES (1,'MME','Madame',1,NULL),(3,'MR','Monsieur',1,NULL),(5,'MLE','Mademoiselle',1,NULL),(7,'MTRE','Maître',1,NULL),(8,'DR','Docteur',1,NULL);
/*!40000 ALTER TABLE `llx_c_civility` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_country`
--

DROP TABLE IF EXISTS `llx_c_country`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_country` (
  `rowid` int(11) NOT NULL,
  `code` varchar(2) NOT NULL,
  `code_iso` varchar(3) DEFAULT NULL,
  `label` varchar(50) NOT NULL,
  `eec` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `favorite` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_c_country_code` (`code`),
  UNIQUE KEY `idx_c_country_label` (`label`),
  UNIQUE KEY `idx_c_country_code_iso` (`code_iso`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_country`
--

LOCK TABLES `llx_c_country` WRITE;
/*!40000 ALTER TABLE `llx_c_country` DISABLE KEYS */;
INSERT INTO `llx_c_country` (`rowid`, `code`, `code_iso`, `label`, `eec`, `active`, `favorite`) VALUES (0,'',NULL,'-',NULL,1,1),(1,'FR','FRA','France',1,1,1),(2,'BE','BEL','Belgium',1,0,0),(3,'IT','ITA','Italy',1,0,0),(4,'ES','ESP','Spain',1,0,0),(5,'DE','DEU','Germany',1,0,0),(6,'CH','CHE','Switzerland',NULL,0,0),(7,'GB','GBR','United Kingdom',NULL,0,0),(8,'IE','IRL','Ireland',1,0,0),(9,'CN','CHN','China',NULL,0,0),(10,'TN','TUN','Tunisia',NULL,0,0),(11,'US','USA','United States',NULL,0,0),(12,'MA','MAR','Morocco',NULL,0,0),(13,'DZ','DZA','Algeria',NULL,0,0),(14,'CA','CAN','Canada',NULL,0,0),(15,'TG','TGO','Togo',NULL,0,0),(16,'GA','GAB','Gabon',NULL,0,0),(17,'NL','NLD','Netherlands',1,0,0),(18,'HU','HUN','Hungary',1,0,0),(19,'RU','RUS','Russia',NULL,0,0),(20,'SE','SWE','Sweden',1,0,0),(21,'CI','CIV','Côte d\'Ivoire',NULL,0,0),(22,'SN','SEN','Senegal',NULL,0,0),(23,'AR','ARG','Argentina',NULL,0,0),(24,'CM','CMR','Cameroun',NULL,0,0),(25,'PT','PRT','Portugal',1,0,0),(26,'SA','SAU','Saudi Arabia',NULL,0,0),(27,'MC','MCO','Monaco',1,0,0),(28,'AU','AUS','Australia',NULL,0,0),(29,'SG','SGP','Singapour',NULL,0,0),(30,'AF','AFG','Afghanistan',NULL,0,0),(31,'AX','ALA','Iles Aland',NULL,0,0),(32,'AL','ALB','Albania',NULL,0,0),(33,'AS','ASM','Samoa américaines',NULL,0,0),(34,'AD','AND','Andorra',NULL,0,0),(35,'AO','AGO','Angola',NULL,0,0),(36,'AI','AIA','Anguilla',NULL,0,0),(37,'AQ','ATA','Antarctique',NULL,0,0),(38,'AG','ATG','Antigua-et-Barbuda',NULL,0,0),(39,'AM','ARM','Armenia',NULL,0,0),(40,'AW','ABW','Aruba',NULL,0,0),(41,'AT','AUT','Austria',1,0,0),(42,'AZ','AZE','Azerbaïdjan',NULL,0,0),(43,'BS','BHS','Bahamas',NULL,0,0),(44,'BH','BHR','Bahreïn',NULL,0,0),(45,'BD','BGD','Bangladesh',NULL,0,0),(46,'BB','BRB','Barbade',NULL,0,0),(47,'BY','BLR','Belarus',NULL,0,0),(48,'BZ','BLZ','Belize',NULL,0,0),(49,'BJ','BEN','Bénin',NULL,0,0),(50,'BM','BMU','Bermudes',NULL,0,0),(51,'BT','BTN','Bhoutan',NULL,0,0),(52,'BO','BOL','Bolivie',NULL,0,0),(53,'BA','BIH','Bosnie-Herzégovine',NULL,0,0),(54,'BW','BWA','Botswana',NULL,0,0),(55,'BV','BVT','Ile Bouvet',NULL,0,0),(56,'BR','BRA','Brazil',NULL,0,0),(57,'IO','IOT','Territoire britannique de l\'Océan Indien',NULL,0,0),(58,'BN','BRN','Brunei',NULL,0,0),(59,'BG','BGR','Bulgarie',1,0,0),(60,'BF','BFA','Burkina Faso',NULL,0,0),(61,'BI','BDI','Burundi',NULL,0,0),(62,'KH','KHM','Cambodge',NULL,0,0),(63,'CV','CPV','Cap-Vert',NULL,0,0),(64,'KY','CYM','Iles Cayman',NULL,0,0),(65,'CF','CAF','République centrafricaine',NULL,0,0),(66,'TD','TCD','Tchad',NULL,0,0),(67,'CL','CHL','Chili',NULL,0,0),(68,'CX','CXR','Ile Christmas',NULL,0,0),(69,'CC','CCK','Iles des Cocos (Keeling)',NULL,0,0),(70,'CO','COL','Colombie',NULL,0,0),(71,'KM','COM','Comores',NULL,0,0),(72,'CG','COG','Congo',NULL,0,0),(73,'CD','COD','République démocratique du Congo',NULL,0,0),(74,'CK','COK','Iles Cook',NULL,0,0),(75,'CR','CRI','Costa Rica',NULL,0,0),(76,'HR','HRV','Croatie',1,0,0),(77,'CU','CUB','Cuba',NULL,0,0),(78,'CY','CYP','Cyprus',1,0,0),(79,'CZ','CZE','Czech Republic',1,0,0),(80,'DK','DNK','Denmark',1,0,0),(81,'DJ','DJI','Djibouti',NULL,0,0),(82,'DM','DMA','Dominica',NULL,0,0),(83,'DO','DOM','Dominican Republic',NULL,0,0),(84,'EC','ECU','Republic of Ecuador',NULL,0,0),(85,'EG','EGY','Egypt',NULL,0,0),(86,'SV','SLV','El Salvador',NULL,0,0),(87,'GQ','GNQ','Equatorial Guinea',NULL,0,0),(88,'ER','ERI','Eritrea',NULL,0,0),(89,'EE','EST','Estonia',1,0,0),(90,'ET','ETH','Ethiopia',NULL,0,0),(91,'FK','FLK','Falkland Islands',NULL,0,0),(92,'FO','FRO','Faroe Islands',NULL,0,0),(93,'FJ','FJI','Fidji Islands',NULL,0,0),(94,'FI','FIN','Finland',1,0,0),(95,'GF','GUF','French Guiana',NULL,0,0),(96,'PF','PYF','French Polynesia',NULL,0,0),(97,'TF','ATF','Terres australes françaises',NULL,0,0),(98,'GM','GMB','Gambie',NULL,0,0),(99,'GE','GEO','Georgia',NULL,0,0),(100,'GH','GHA','Ghana',NULL,0,0),(101,'GI','GIB','Gibraltar',NULL,0,0),(102,'GR','GRC','Greece',1,0,0),(103,'GL','GRL','Groenland',NULL,0,0),(104,'GD','GRD','Grenade',NULL,0,0),(106,'GU','GUM','Guam',NULL,0,0),(107,'GT','GTM','Guatemala',NULL,0,0),(108,'GN','GIN','Guinea',NULL,0,0),(109,'GW','GNB','Guinea-Bissao',NULL,0,0),(111,'HT','HTI','Haiti',NULL,0,0),(112,'HM','HMD','Iles Heard et McDonald',NULL,0,0),(113,'VA','VAT','Saint-Siège (Vatican)',NULL,0,0),(114,'HN','HND','Honduras',NULL,0,0),(115,'HK','HKG','Hong Kong',NULL,0,0),(116,'IS','ISL','Islande',NULL,0,0),(117,'IN','IND','India',NULL,0,0),(118,'ID','IDN','Indonésie',NULL,0,0),(119,'IR','IRN','Iran',NULL,0,0),(120,'IQ','IRQ','Iraq',NULL,0,0),(121,'IL','ISR','Israel',NULL,0,0),(122,'JM','JAM','Jamaïque',NULL,0,0),(123,'JP','JPN','Japon',NULL,0,0),(124,'JO','JOR','Jordanie',NULL,0,0),(125,'KZ','KAZ','Kazakhstan',NULL,0,0),(126,'KE','KEN','Kenya',NULL,0,0),(127,'KI','KIR','Kiribati',NULL,0,0),(128,'KP','PRK','North Corea',NULL,0,0),(129,'KR','KOR','South Corea',NULL,0,0),(130,'KW','KWT','Koweït',NULL,0,0),(131,'KG','KGZ','Kirghizistan',NULL,0,0),(132,'LA','LAO','Laos',NULL,0,0),(133,'LV','LVA','Lettonie',1,0,0),(134,'LB','LBN','Liban',NULL,0,0),(135,'LS','LSO','Lesotho',NULL,0,0),(136,'LR','LBR','Liberia',NULL,0,0),(137,'LY','LBY','Libye',NULL,0,0),(138,'LI','LIE','Liechtenstein',NULL,0,0),(139,'LT','LTU','Lituanie',1,0,0),(140,'LU','LUX','Luxembourg',1,0,0),(141,'MO','MAC','Macao',NULL,0,0),(142,'MK','MKD','ex-République yougoslave de Macédoine',NULL,0,0),(143,'MG','MDG','Madagascar',NULL,0,0),(144,'MW','MWI','Malawi',NULL,0,0),(145,'MY','MYS','Malaisie',NULL,0,0),(146,'MV','MDV','Maldives',NULL,0,0),(147,'ML','MLI','Mali',NULL,0,0),(148,'MT','MLT','Malte',1,0,0),(149,'MH','MHL','Iles Marshall',NULL,0,0),(151,'MR','MRT','Mauritanie',NULL,0,0),(152,'MU','MUS','Maurice',NULL,0,0),(153,'YT','MYT','Mayotte',NULL,0,0),(154,'MX','MEX','Mexique',NULL,0,0),(155,'FM','FSM','Micronésie',NULL,0,0),(156,'MD','MDA','Moldavie',NULL,0,0),(157,'MN','MNG','Mongolie',NULL,0,0),(158,'MS','MSR','Monserrat',NULL,0,0),(159,'MZ','MOZ','Mozambique',NULL,0,0),(160,'MM','MMR','Birmanie (Myanmar)',NULL,0,0),(161,'NA','NAM','Namibie',NULL,0,0),(162,'NR','NRU','Nauru',NULL,0,0),(163,'NP','NPL','Népal',NULL,0,0),(165,'NC','NCL','New Caledonia',NULL,0,0),(166,'NZ','NZL','New Zealand',NULL,0,0),(167,'NI','NIC','Nicaragua',NULL,0,0),(168,'NE','NER','Niger',NULL,0,0),(169,'NG','NGA','Nigeria',NULL,0,0),(170,'NU','NIU','Niue',NULL,0,0),(171,'NF','NFK','Norfolk Island',NULL,0,0),(172,'MP','MNP','Northern Mariana Islands',NULL,0,0),(173,'NO','NOR','Norway',NULL,0,0),(174,'OM','OMN','Oman',NULL,0,0),(175,'PK','PAK','Pakistan',NULL,0,0),(176,'PW','PLW','Palau',NULL,0,0),(177,'PS','PSE','Palestinian territories',NULL,0,0),(178,'PA','PAN','Panama',NULL,0,0),(179,'PG','PNG','Papua New Guinea',NULL,0,0),(180,'PY','PRY','Paraguay',NULL,0,0),(181,'PE','PER','Peru',NULL,0,0),(182,'PH','PHL','Philippines',NULL,0,0),(183,'PN','PCN','Pitcairn Islands',NULL,0,0),(184,'PL','POL','Pologne',1,0,0),(185,'PR','PRI','Puerto Rico',NULL,0,0),(186,'QA','QAT','Qatar',NULL,0,0),(188,'RO','ROU','Romania',1,0,0),(189,'RW','RWA','Rwanda',NULL,0,0),(190,'SH','SHN','Saint Helena',NULL,0,0),(191,'KN','KNA','Saint Kitts and Nevis',NULL,0,0),(192,'LC','LCA','Saint Lucia',NULL,0,0),(193,'PM','SPM','Saint Pierre and Miquelon',NULL,0,0),(194,'VC','VCT','Saint Vincent and the Grenadines',NULL,0,0),(195,'WS','WSM','Samoa',NULL,0,0),(196,'SM','SMR','San Marino ',NULL,0,0),(197,'ST','STP','Saint Thomas and Prince',NULL,0,0),(198,'RS','SRB','Serbia',NULL,0,0),(199,'SC','SYC','Seychelles',NULL,0,0),(200,'SL','SLE','Sierra Leone',NULL,0,0),(201,'SK','SVK','Slovakia',1,0,0),(202,'SI','SVN','Slovenia',1,0,0),(203,'SB','SLB','Solomon Islands',NULL,0,0),(204,'SO','SOM','Somalia',NULL,0,0),(205,'ZA','ZAF','South Africa',NULL,0,0),(206,'GS','SGS','South Georgia and the South Sandwich Islands ',NULL,0,0),(207,'LK','LKA','Sri Lanka',NULL,0,0),(208,'SD','SDN','Sudan',NULL,0,0),(209,'SR','SUR','Suriname',NULL,0,0),(210,'SJ','SJM','Svalbard and Jan Mayen',NULL,0,0),(211,'SZ','SWZ','Swaziland / Eswatini',NULL,0,0),(212,'SY','SYR','Syria',NULL,0,0),(213,'TW','TWN','Taiwan',NULL,0,0),(214,'TJ','TJK','Tajikistan',NULL,0,0),(215,'TZ','TZA','Tanzania',NULL,0,0),(216,'TH','THA','Thailand',NULL,0,0),(217,'TL','TLS','Timor-Leste',NULL,0,0),(218,'TK','TKL','Tokelau',NULL,0,0),(219,'TO','TON','Tonga',NULL,0,0),(220,'TT','TTO','Trinidad and Tobago',NULL,0,0),(221,'TR','TUR','Turkey',NULL,0,0),(222,'TM','TKM','Turkmenistan',NULL,0,0),(223,'TC','TCA','Turks and Caicos Islands',NULL,0,0),(224,'TV','TUV','Tuvalu',NULL,0,0),(225,'UG','UGA','Uganda',NULL,0,0),(226,'UA','UKR','Ukraine',NULL,0,0),(227,'AE','ARE','United Arab Emirates',NULL,0,0),(228,'UM','UMI','United States Minor Outlying Islands',NULL,0,0),(229,'UY','URY','Uruguay',NULL,0,0),(230,'UZ','UZB','Uzbekistan',NULL,0,0),(231,'VU','VUT','Vanuatu',NULL,0,0),(232,'VE','VEN','Venezuela',NULL,0,0),(233,'VN','VNM','Vietnam',NULL,0,0),(234,'VG','VGB','British Virgin Islands',NULL,0,0),(235,'VI','VIR','Virgin Islands of the United States',NULL,0,0),(236,'WF','WLF','Wallis and Futuna',NULL,0,0),(237,'EH','ESH','Western Sahara',NULL,0,0),(238,'YE','YEM','Yemen',NULL,0,0),(239,'ZM','ZMB','Zambia',NULL,0,0),(240,'ZW','ZWE','Zimbabwe',NULL,0,0),(241,'GG','GGY','Guernsey',NULL,0,0),(242,'IM','IMN','Isle of Man',1,0,0),(243,'JE','JEY','Jersey',NULL,0,0),(244,'ME','MNE','Montenegro',NULL,0,0),(245,'BL','BLM','Saint-Barthélemy',NULL,0,0),(246,'MF','MAF','Saint-Martin',NULL,0,0),(247,'XK','XKX','Kosovo',NULL,0,0),(300,'CW','CUW','Curaçao',NULL,0,0),(301,'SX','SXM','Sint Maarten',NULL,0,0);
/*!40000 ALTER TABLE `llx_c_country` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_currencies`
--

DROP TABLE IF EXISTS `llx_c_currencies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_currencies` (
  `code_iso` varchar(3) NOT NULL,
  `label` varchar(64) NOT NULL,
  `unicode` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`code_iso`),
  UNIQUE KEY `uk_c_currencies_code_iso` (`code_iso`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_currencies`
--

LOCK TABLES `llx_c_currencies` WRITE;
/*!40000 ALTER TABLE `llx_c_currencies` DISABLE KEYS */;
INSERT INTO `llx_c_currencies` (`code_iso`, `label`, `unicode`, `active`) VALUES ('AED','United Arab Emirates Dirham',NULL,0),('AFN','Afghanistan Afghani','[1547]',0),('ALL','Albania Lek','[76,101,107]',0),('ANG','Netherlands Antilles Guilder','[402]',0),('AOA','Angola Kwanza',NULL,0),('ARP','Pesos argentins',NULL,0),('ARS','Argentino Peso','[36]',0),('ATS','Shiliing autrichiens',NULL,0),('AUD','Australia Dollar','[36]',0),('AWG','Aruba Guilder','[402]',0),('AZN','Azerbaijan New Manat','[1084,1072,1085]',0),('BAM','Bosnia and Herzegovina Convertible Marka','[75,77]',0),('BBD','Barbados Dollar','[36]',0),('BDT','Bangladeshi Taka','[2547]',0),('BEF','Francs belges',NULL,0),('BGN','Bulgaria Lev','[1083,1074]',0),('BHD','Bahrain',NULL,0),('BMD','Bermuda Dollar','[36]',0),('BND','Brunei Darussalam Dollar','[36]',0),('BOB','Bolivia Boliviano','[66,115]',0),('BRL','Brazil Real','[82,36]',0),('BSD','Bahamas Dollar','[36]',0),('BWP','Botswana Pula','[80]',0),('BYR','Belarus Ruble','[112,46]',0),('BZD','Belize Dollar','[66,90,36]',0),('CAD','Canada Dollar','[36]',0),('CHF','Switzerland Franc','[67,72,70]',0),('CLP','Chile Peso','[36]',0),('CNY','China Yuan Renminbi','[165]',0),('COP','Colombia Peso','[36]',0),('CRC','Costa Rica Colon','[8353]',0),('CUP','Cuba Peso','[8369]',0),('CVE','Cap Verde Escudo','[4217]',0),('CZK','Czech Republic Koruna','[75,269]',0),('DEM','Deutsche Mark',NULL,0),('DKK','Denmark Krone','[107,114]',0),('DOP','Dominican Republic Peso','[82,68,36]',0),('DZD','Algeria Dinar',NULL,0),('ECS','Ecuador Sucre','[83,47,46]',0),('EEK','Estonia Kroon','[107,114]',0),('EGP','Egypt Pound','[163]',0),('ESP','Pesete',NULL,0),('ETB','Ethiopian Birr',NULL,0),('EUR','Euro Member Countries','[8364]',1),('FIM','Mark finlandais',NULL,0),('FJD','Fiji Dollar','[36]',0),('FKP','Falkland Islands (Malvinas) Pound','[163]',0),('FRF','Francs francais',NULL,0),('GBP','United Kingdom Pound','[163]',0),('GGP','Guernsey Pound','[163]',0),('GHC','Ghana Cedis','[162]',0),('GIP','Gibraltar Pound','[163]',0),('GNF','Guinea Franc','[70,71]',0),('GRD','Drachme (grece)',NULL,0),('GTQ','Guatemala Quetzal','[81]',0),('GYD','Guyana Dollar','[36]',0),('HKD','Hong Kong Dollar','[36]',0),('HNL','Honduras Lempira','[76]',0),('HRK','Croatia Kuna','[107,110]',0),('HUF','Hungary Forint','[70,116]',0),('IDR','Indonesia Rupiah','[82,112]',0),('IEP','Livres irlandaises',NULL,0),('ILS','Israel Shekel','[8362]',0),('IMP','Isle of Man Pound','[163]',0),('INR','India Rupee','[8377]',0),('IRR','Iran Rial','[65020]',0),('ISK','Iceland Krona','[107,114]',0),('ITL','Lires',NULL,0),('JEP','Jersey Pound','[163]',0),('JMD','Jamaica Dollar','[74,36]',0),('JPY','Japan Yen','[165]',0),('KES','Kenya Shilling',NULL,0),('KGS','Kyrgyzstan Som','[1083,1074]',0),('KHR','Cambodia Riel','[6107]',0),('KPW','Korea (North) Won','[8361]',0),('KRW','Korea (South) Won','[8361]',0),('KYD','Cayman Islands Dollar','[36]',0),('KZT','Kazakhstan Tenge','[1083,1074]',0),('LAK','Laos Kip','[8365]',0),('LBP','Lebanon Pound','[163]',0),('LKR','Sri Lanka Rupee','[8360]',0),('LRD','Liberia Dollar','[36]',0),('LTL','Lithuania Litas','[76,116]',0),('LUF','Francs luxembourgeois',NULL,0),('LVL','Latvia Lat','[76,115]',0),('MAD','Morocco Dirham',NULL,0),('MDL','Moldova Leu',NULL,0),('MGA','Ariary',NULL,0),('MKD','Macedonia Denar','[1076,1077,1085]',0),('MNT','Mongolia Tughrik','[8366]',0),('MRO','Mauritania Ouguiya',NULL,0),('MUR','Mauritius Rupee','[8360]',0),('MXN','Mexico Peso','[36]',0),('MXP','Pesos Mexicans',NULL,0),('MYR','Malaysia Ringgit','[82,77]',0),('MZN','Mozambique Metical','[77,84]',0),('NAD','Namibia Dollar','[36]',0),('NGN','Nigeria Naira','[8358]',0),('NIO','Nicaragua Cordoba','[67,36]',0),('NLG','Florins',NULL,0),('NOK','Norway Krone','[107,114]',0),('NPR','Nepal Rupee','[8360]',0),('NZD','New Zealand Dollar','[36]',0),('OMR','Oman Rial','[65020]',0),('PAB','Panama Balboa','[66,47,46]',0),('PEN','Perú Sol','[83,47]',0),('PHP','Philippines Peso','[8369]',0),('PKR','Pakistan Rupee','[8360]',0),('PLN','Poland Zloty','[122,322]',0),('PTE','Escudos',NULL,0),('PYG','Paraguay Guarani','[71,115]',0),('QAR','Qatar Riyal','[65020]',0),('RON','Romania New Leu','[108,101,105]',0),('RSD','Serbia Dinar','[1044,1080,1085,46]',0),('RUB','Russia Ruble','[1088,1091,1073]',0),('SAR','Saudi Arabia Riyal','[65020]',0),('SBD','Solomon Islands Dollar','[36]',0),('SCR','Seychelles Rupee','[8360]',0),('SEK','Sweden Krona','[107,114]',0),('SGD','Singapore Dollar','[36]',0),('SHP','Saint Helena Pound','[163]',0),('SKK','Couronnes slovaques',NULL,0),('SOS','Somalia Shilling','[83]',0),('SRD','Suriname Dollar','[36]',0),('SUR','Rouble',NULL,0),('SVC','El Salvador Colon','[36]',0),('SYP','Syria Pound','[163]',0),('THB','Thailand Baht','[3647]',0),('TND','Tunisia Dinar',NULL,0),('TRL','Turkey Lira','[84,76]',0),('TRY','Turkey Lira','[8356]',0),('TTD','Trinidad and Tobago Dollar','[84,84,36]',0),('TVD','Tuvalu Dollar','[36]',0),('TWD','Taiwan New Dollar','[78,84,36]',0),('UAH','Ukraine Hryvna','[8372]',0),('USD','United States Dollar','[36]',0),('UYU','Uruguay Peso','[36,85]',0),('UZS','Uzbekistan Som','[1083,1074]',0),('VEF','Venezuela Bolivar Fuerte','[66,115]',0),('VND','Viet Nam Dong','[8363]',0),('XAF','Communaute Financiere Africaine (BEAC) CFA Franc',NULL,0),('XCD','East Caribbean Dollar','[36]',0),('XEU','Ecus',NULL,0),('XOF','Communaute Financiere Africaine (BCEAO) Franc',NULL,0),('XPF','Franc CFP','[70]',0),('YER','Yemen Rial','[65020]',0),('ZAR','South Africa Rand','[82]',0),('ZWD','Zimbabwe Dollar','[90,36]',0);
/*!40000 ALTER TABLE `llx_c_currencies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_departements`
--

DROP TABLE IF EXISTS `llx_c_departements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_departements` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code_departement` varchar(6) NOT NULL,
  `fk_region` int(11) DEFAULT NULL,
  `cheflieu` varchar(50) DEFAULT NULL,
  `tncc` int(11) DEFAULT NULL,
  `ncc` varchar(50) DEFAULT NULL,
  `nom` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`),
  KEY `idx_departements_fk_region` (`fk_region`),
  CONSTRAINT `fk_departements_fk_region` FOREIGN KEY (`fk_region`) REFERENCES `llx_c_regions` (`code_region`)
) ENGINE=InnoDB AUTO_INCREMENT=1541 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_departements`
--

LOCK TABLES `llx_c_departements` WRITE;
/*!40000 ALTER TABLE `llx_c_departements` DISABLE KEYS */;
INSERT INTO `llx_c_departements` (`rowid`, `code_departement`, `fk_region`, `cheflieu`, `tncc`, `ncc`, `nom`, `active`) VALUES (1,'0',0,'0',0,'-','-',1),(2,'AL01',1301,'',0,'','Wilaya d\'Adrar',0),(3,'AL02',1301,'',0,'','Wilaya de Chlef',0),(4,'AL03',1301,'',0,'','Wilaya de Laghouat',0),(5,'AL04',1301,'',0,'','Wilaya d\'Oum El Bouaghi',0),(6,'AL05',1301,'',0,'','Wilaya de Batna',0),(7,'AL06',1301,'',0,'','Wilaya de Béjaïa',0),(8,'AL07',1301,'',0,'','Wilaya de Biskra',0),(9,'AL08',1301,'',0,'','Wilaya de Béchar',0),(10,'AL09',1301,'',0,'','Wilaya de Blida',0),(11,'AL10',1301,'',0,'','Wilaya de Bouira',0),(12,'AL11',1301,'',0,'','Wilaya de Tamanrasset',0),(13,'AL12',1301,'',0,'','Wilaya de Tébessa',0),(14,'AL13',1301,'',0,'','Wilaya de Tlemcen',0),(15,'AL14',1301,'',0,'','Wilaya de Tiaret',0),(16,'AL15',1301,'',0,'','Wilaya de Tizi Ouzou',0),(17,'AL16',1301,'',0,'','Wilaya d\'Alger',0),(18,'AL17',1301,'',0,'','Wilaya de Djelfa',0),(19,'AL18',1301,'',0,'','Wilaya de Jijel',0),(20,'AL19',1301,'',0,'','Wilaya de Sétif',0),(21,'AL20',1301,'',0,'','Wilaya de Saïda',0),(22,'AL21',1301,'',0,'','Wilaya de Skikda',0),(23,'AL22',1301,'',0,'','Wilaya de Sidi Bel Abbès',0),(24,'AL23',1301,'',0,'','Wilaya d\'Annaba',0),(25,'AL24',1301,'',0,'','Wilaya de Guelma',0),(26,'AL25',1301,'',0,'','Wilaya de Constantine',0),(27,'AL26',1301,'',0,'','Wilaya de Médéa',0),(28,'AL27',1301,'',0,'','Wilaya de Mostaganem',0),(29,'AL28',1301,'',0,'','Wilaya de M\'Sila',0),(30,'AL29',1301,'',0,'','Wilaya de Mascara',0),(31,'AL30',1301,'',0,'','Wilaya d\'Ouargla',0),(32,'AL31',1301,'',0,'','Wilaya d\'Oran',0),(33,'AL32',1301,'',0,'','Wilaya d\'El Bayadh',0),(34,'AL33',1301,'',0,'','Wilaya d\'Illizi',0),(35,'AL34',1301,'',0,'','Wilaya de Bordj Bou Arreridj',0),(36,'AL35',1301,'',0,'','Wilaya de Boumerdès',0),(37,'AL36',1301,'',0,'','Wilaya d\'El Tarf',0),(38,'AL37',1301,'',0,'','Wilaya de Tindouf',0),(39,'AL38',1301,'',0,'','Wilaya de Tissemsilt',0),(40,'AL39',1301,'',0,'','Wilaya d\'El Oued',0),(41,'AL40',1301,'',0,'','Wilaya de Khenchela',0),(42,'AL41',1301,'',0,'','Wilaya de Souk Ahras',0),(43,'AL42',1301,'',0,'','Wilaya de Tipaza',0),(44,'AL43',1301,'',0,'','Wilaya de Mila',0),(45,'AL44',1301,'',0,'','Wilaya d\'Aïn Defla',0),(46,'AL45',1301,'',0,'','Wilaya de Naâma',0),(47,'AL46',1301,'',0,'','Wilaya d\'Aïn Témouchent',0),(48,'AL47',1301,'',0,'','Wilaya de Ghardaia',0),(49,'AL48',1301,'',0,'','Wilaya de Relizane',0),(50,'AD-002',34000,'AD100',NULL,NULL,'Canillo',0),(51,'AD-003',34000,'AD200',NULL,NULL,'Encamp',0),(52,'AD-004',34000,'AD400',NULL,NULL,'La Massana',0),(53,'AD-005',34000,'AD300',NULL,NULL,'Ordino',0),(54,'AD-006',34000,'AD600',NULL,NULL,'Sant Julià de Lòria',0),(55,'AD-007',34000,'AD500',NULL,NULL,'Andorra la Vella',0),(56,'AD-008',34000,'AD700',NULL,NULL,'Escaldes-Engordany',0),(57,'AO-ABO',35001,NULL,NULL,'BENGO','Bengo',0),(58,'AO-BGU',35001,NULL,NULL,'BENGUELA','Benguela',0),(59,'AO-BIE',35001,NULL,NULL,'BIÉ','Bié',0),(60,'AO-CAB',35001,NULL,NULL,'CABINDA','Cabinda',0),(61,'AO-CCU',35001,NULL,NULL,'KUANDO KUBANGO','Kuando Kubango',0),(62,'AO-CNO',35001,NULL,NULL,'KWANZA NORTE','Kwanza Norte',0),(63,'AO-CUS',35001,NULL,NULL,'KWANZA SUL','Kwanza Sul',0),(64,'AO-CNN',35001,NULL,NULL,'CUNENE','Cunene',0),(65,'AO-HUA',35001,NULL,NULL,'HUAMBO','Huambo',0),(66,'AO-HUI',35001,NULL,NULL,'HUÍLA','Huila',0),(67,'AO-LUA',35001,NULL,NULL,'LUANDA','Luanda',0),(68,'AO-LNO',35001,NULL,NULL,'LUNDA-NORTE','Lunda-Norte',0),(69,'AO-LSU',35001,NULL,NULL,'LUNDA-SUL','Lunda-Sul',0),(70,'AO-MAL',35001,NULL,NULL,'MALANGE','Malange',0),(71,'AO-MOX',35001,NULL,NULL,'MOXICO','Moxico',0),(72,'AO-NAM',35001,NULL,NULL,'NAMÍBE','Namíbe',0),(73,'AO-UIG',35001,NULL,NULL,'UÍGE','Uíge',0),(74,'AO-ZAI',35001,NULL,NULL,'ZAÍRE','Zaíre',0),(75,'2301',2301,'',0,'CATAMARCA','Catamarca',0),(76,'2302',2301,'',0,'JUJUY','Jujuy',0),(77,'2303',2301,'',0,'TUCAMAN','Tucamán',0),(78,'2304',2301,'',0,'SANTIAGO DEL ESTERO','Santiago del Estero',0),(79,'2305',2301,'',0,'SALTA','Salta',0),(80,'2306',2302,'',0,'CHACO','Chaco',0),(81,'2307',2302,'',0,'CORRIENTES','Corrientes',0),(82,'2308',2302,'',0,'ENTRE RIOS','Entre Ríos',0),(83,'2309',2302,'',0,'FORMOSA','Formosa',0),(84,'2310',2302,'',0,'SANTA FE','Santa Fe',0),(85,'2311',2303,'',0,'LA RIOJA','La Rioja',0),(86,'2312',2303,'',0,'MENDOZA','Mendoza',0),(87,'2313',2303,'',0,'SAN JUAN','San Juan',0),(88,'2314',2303,'',0,'SAN LUIS','San Luis',0),(89,'2315',2304,'',0,'CORDOBA','Córdoba',0),(90,'2316',2304,'',0,'BUENOS AIRES','Buenos Aires',0),(91,'2317',2304,'',0,'CABA','Caba',0),(92,'2318',2305,'',0,'LA PAMPA','La Pampa',0),(93,'2319',2305,'',0,'NEUQUEN','Neuquén',0),(94,'2320',2305,'',0,'RIO NEGRO','Río Negro',0),(95,'2321',2305,'',0,'CHUBUT','Chubut',0),(96,'2322',2305,'',0,'SANTA CRUZ','Santa Cruz',0),(97,'2323',2305,'',0,'TIERRA DEL FUEGO','Tierra del Fuego',0),(98,'2324',2305,'',0,'ISLAS MALVINAS','Islas Malvinas',0),(99,'2325',2305,'',0,'ANTARTIDA','Antártida',0),(100,'2326',2305,'',0,'MISIONES','Misiones',0),(101,'NSW',2801,'',1,'','New South Wales',0),(102,'VIC',2801,'',1,'','Victoria',0),(103,'QLD',2801,'',1,'','Queensland',0),(104,'SA',2801,'',1,'','South Australia',0),(105,'ACT',2801,'',1,'','Australia Capital Territory',0),(106,'TAS',2801,'',1,'','Tasmania',0),(107,'WA',2801,'',1,'','Western Australia',0),(108,'NT',2801,'',1,'','Northern Territory',0),(109,'B',4101,NULL,NULL,'BURGENLAND','Burgenland',0),(110,'K',4101,NULL,NULL,'KAERNTEN','Kärnten',0),(111,'N',4101,NULL,NULL,'NIEDEROESTERREICH','Niederösterreich',0),(112,'O',4101,NULL,NULL,'OBEROESTERREICH','Oberösterreich',0),(113,'S',4101,NULL,NULL,'SALZBURG','Salzburg',0),(114,'ST',4101,NULL,NULL,'STEIERMARK','Steiermark',0),(115,'T',4101,NULL,NULL,'TIROL','Tirol',0),(116,'V',4101,NULL,NULL,'VORARLBERG','Vorarlberg',0),(117,'W',4101,NULL,NULL,'WIEN','Wien',0),(118,'CC',4601,'Oistins',0,'CC','Christ Church',0),(119,'SA',4601,'Greenland',0,'SA','Saint Andrew',0),(120,'SG',4601,'Bulkeley',0,'SG','Saint George',0),(121,'JA',4601,'Holetown',0,'JA','Saint James',0),(122,'SJ',4601,'Four Roads',0,'SJ','Saint John',0),(123,'SB',4601,'Bathsheba',0,'SB','Saint Joseph',0),(124,'SL',4601,'Crab Hill',0,'SL','Saint Lucy',0),(125,'SM',4601,'Bridgetown',0,'SM','Saint Michael',0),(126,'SP',4601,'Speightstown',0,'SP','Saint Peter',0),(127,'SC',4601,'Crane',0,'SC','Saint Philip',0),(128,'ST',4601,'Hillaby',0,'ST','Saint Thomas',0),(129,'01',201,'',1,'ANVERS','Anvers',0),(130,'02',203,'',3,'BRUXELLES-CAPITALE','Bruxelles-Capitale',0),(131,'03',202,'',2,'BRABANT-WALLON','Brabant-Wallon',0),(132,'04',201,'',1,'BRABANT-FLAMAND','Brabant-Flamand',0),(133,'05',201,'',1,'FLANDRE-OCCIDENTALE','Flandre-Occidentale',0),(134,'06',201,'',1,'FLANDRE-ORIENTALE','Flandre-Orientale',0),(135,'07',202,'',2,'HAINAUT','Hainaut',0),(136,'08',201,'',2,'LIEGE','Liège',0),(137,'09',202,'',1,'LIMBOURG','Limbourg',0),(138,'10',202,'',2,'LUXEMBOURG','Luxembourg',0),(139,'11',201,'',2,'NAMUR','Namur',0),(140,'AC',5601,'ACRE',0,'AC','Acre',0),(141,'AL',5601,'ALAGOAS',0,'AL','Alagoas',0),(142,'AP',5601,'AMAPA',0,'AP','Amapá',0),(143,'AM',5601,'AMAZONAS',0,'AM','Amazonas',0),(144,'BA',5601,'BAHIA',0,'BA','Bahia',0),(145,'CE',5601,'CEARA',0,'CE','Ceará',0),(146,'ES',5601,'ESPIRITO SANTO',0,'ES','Espirito Santo',0),(147,'GO',5601,'GOIAS',0,'GO','Goiás',0),(148,'MA',5601,'MARANHAO',0,'MA','Maranhão',0),(149,'MT',5601,'MATO GROSSO',0,'MT','Mato Grosso',0),(150,'MS',5601,'MATO GROSSO DO SUL',0,'MS','Mato Grosso do Sul',0),(151,'MG',5601,'MINAS GERAIS',0,'MG','Minas Gerais',0),(152,'PA',5601,'PARA',0,'PA','Pará',0),(153,'PB',5601,'PARAIBA',0,'PB','Paraiba',0),(154,'PR',5601,'PARANA',0,'PR','Paraná',0),(155,'PE',5601,'PERNAMBUCO',0,'PE','Pernambuco',0),(156,'PI',5601,'PIAUI',0,'PI','Piauí',0),(157,'RJ',5601,'RIO DE JANEIRO',0,'RJ','Rio de Janeiro',0),(158,'RN',5601,'RIO GRANDE DO NORTE',0,'RN','Rio Grande do Norte',0),(159,'RS',5601,'RIO GRANDE DO SUL',0,'RS','Rio Grande do Sul',0),(160,'RO',5601,'RONDONIA',0,'RO','Rondônia',0),(161,'RR',5601,'RORAIMA',0,'RR','Roraima',0),(162,'SC',5601,'SANTA CATARINA',0,'SC','Santa Catarina',0),(163,'SE',5601,'SERGIPE',0,'SE','Sergipe',0),(164,'SP',5601,'SAO PAULO',0,'SP','Sao Paulo',0),(165,'TO',5601,'TOCANTINS',0,'TO','Tocantins',0),(166,'DF',5601,'DISTRITO FEDERAL',0,'DF','Distrito Federal',0),(167,'ON',1401,'',1,'','Ontario',0),(168,'QC',1401,'',1,'','Quebec',0),(169,'NS',1401,'',1,'','Nova Scotia',0),(170,'NB',1401,'',1,'','New Brunswick',0),(171,'MB',1401,'',1,'','Manitoba',0),(172,'BC',1401,'',1,'','British Columbia',0),(173,'PE',1401,'',1,'','Prince Edward Island',0),(174,'SK',1401,'',1,'','Saskatchewan',0),(175,'AB',1401,'',1,'','Alberta',0),(176,'NL',1401,'',1,'','Newfoundland and Labrador',0),(177,'011',6701,'',0,'011','Iquique',0),(178,'014',6701,'',0,'014','Tamarugal',0),(179,'021',6702,'',0,'021','Antofagasa',0),(180,'022',6702,'',0,'022','El Loa',0),(181,'023',6702,'',0,'023','Tocopilla',0),(182,'031',6703,'',0,'031','Copiapó',0),(183,'032',6703,'',0,'032','Chañaral',0),(184,'033',6703,'',0,'033','Huasco',0),(185,'041',6704,'',0,'041','Elqui',0),(186,'042',6704,'',0,'042','Choapa',0),(187,'043',6704,'',0,'043','Limarí',0),(188,'051',6705,'',0,'051','Valparaíso',0),(189,'052',6705,'',0,'052','Isla de Pascua',0),(190,'053',6705,'',0,'053','Los Andes',0),(191,'054',6705,'',0,'054','Petorca',0),(192,'055',6705,'',0,'055','Quillota',0),(193,'056',6705,'',0,'056','San Antonio',0),(194,'057',6705,'',0,'057','San Felipe de Aconcagua',0),(195,'058',6705,'',0,'058','Marga Marga',0),(196,'061',6706,'',0,'061','Cachapoal',0),(197,'062',6706,'',0,'062','Cardenal Caro',0),(198,'063',6706,'',0,'063','Colchagua',0),(199,'071',6707,'',0,'071','Talca',0),(200,'072',6707,'',0,'072','Cauquenes',0),(201,'073',6707,'',0,'073','Curicó',0),(202,'074',6707,'',0,'074','Linares',0),(203,'081',6708,'',0,'081','Concepción',0),(204,'082',6708,'',0,'082','Arauco',0),(205,'083',6708,'',0,'083','Biobío',0),(206,'084',6708,'',0,'084','Ñuble',0),(207,'091',6709,'',0,'091','Cautín',0),(208,'092',6709,'',0,'092','Malleco',0),(209,'101',6710,'',0,'101','Llanquihue',0),(210,'102',6710,'',0,'102','Chiloé',0),(211,'103',6710,'',0,'103','Osorno',0),(212,'104',6710,'',0,'104','Palena',0),(213,'111',6711,'',0,'111','Coihaique',0),(214,'112',6711,'',0,'112','Aisén',0),(215,'113',6711,'',0,'113','Capitán Prat',0),(216,'114',6711,'',0,'114','General Carrera',0),(217,'121',6712,'',0,'121','Magallanes',0),(218,'122',6712,'',0,'122','Antártica Chilena',0),(219,'123',6712,'',0,'123','Tierra del Fuego',0),(220,'124',6712,'',0,'124','Última Esperanza',0),(221,'131',6713,'',0,'131','Santiago',0),(222,'132',6713,'',0,'132','Cordillera',0),(223,'133',6713,'',0,'133','Chacabuco',0),(224,'134',6713,'',0,'134','Maipo',0),(225,'135',6713,'',0,'135','Melipilla',0),(226,'136',6713,'',0,'136','Talagante',0),(227,'141',6714,'',0,'141','Valdivia',0),(228,'142',6714,'',0,'142','Ranco',0),(229,'151',6715,'',0,'151','Arica',0),(230,'152',6715,'',0,'152','Parinacota',0),(231,'ANT',7001,'',0,'ANT','Antioquia',0),(232,'BOL',7001,'',0,'BOL','Bolívar',0),(233,'BOY',7001,'',0,'BOY','Boyacá',0),(234,'CAL',7001,'',0,'CAL','Caldas',0),(235,'CAU',7001,'',0,'CAU','Cauca',0),(236,'CUN',7001,'',0,'CUN','Cundinamarca',0),(237,'HUI',7001,'',0,'HUI','Huila',0),(238,'LAG',7001,'',0,'LAG','La Guajira',0),(239,'MET',7001,'',0,'MET','Meta',0),(240,'NAR',7001,'',0,'NAR','Nariño',0),(241,'NDS',7001,'',0,'NDS','Norte de Santander',0),(242,'SAN',7001,'',0,'SAN','Santander',0),(243,'SUC',7001,'',0,'SUC','Sucre',0),(244,'TOL',7001,'',0,'TOL','Tolima',0),(245,'VAC',7001,'',0,'VAC','Valle del Cauca',0),(246,'RIS',7001,'',0,'RIS','Risalda',0),(247,'ATL',7001,'',0,'ATL','Atlántico',0),(248,'COR',7001,'',0,'COR','Córdoba',0),(249,'SAP',7001,'',0,'SAP','San Andrés, Providencia y Santa Catalina',0),(250,'ARA',7001,'',0,'ARA','Arauca',0),(251,'CAS',7001,'',0,'CAS','Casanare',0),(252,'AMA',7001,'',0,'AMA','Amazonas',0),(253,'CAQ',7001,'',0,'CAQ','Caquetá',0),(254,'CHO',7001,'',0,'CHO','Chocó',0),(255,'GUA',7001,'',0,'GUA','Guainía',0),(256,'GUV',7001,'',0,'GUV','Guaviare',0),(257,'PUT',7001,'',0,'PUT','Putumayo',0),(258,'QUI',7001,'',0,'QUI','Quindío',0),(259,'VAU',7001,'',0,'VAU','Vaupés',0),(260,'BOG',7001,'',0,'BOG','Bogotá',0),(261,'VID',7001,'',0,'VID','Vichada',0),(262,'CES',7001,'',0,'CES','Cesar',0),(263,'MAG',7001,'',0,'MAG','Magdalena',0),(264,'971',1,'97105',3,'GUADELOUPE','Guadeloupe',1),(265,'972',2,'97209',3,'MARTINIQUE','Martinique',1),(266,'973',3,'97302',3,'GUYANE','Guyane',1),(267,'974',4,'97411',3,'REUNION','Réunion',1),(268,'976',6,'97601',3,'MAYOTTE','Mayotte',1),(269,'01',84,'01053',5,'AIN','Ain',1),(270,'02',32,'02408',5,'AISNE','Aisne',1),(271,'03',84,'03190',5,'ALLIER','Allier',1),(272,'04',93,'04070',4,'ALPES-DE-HAUTE-PROVENCE','Alpes-de-Haute-Provence',1),(273,'05',93,'05061',4,'HAUTES-ALPES','Hautes-Alpes',1),(274,'06',93,'06088',4,'ALPES-MARITIMES','Alpes-Maritimes',1),(275,'07',84,'07186',5,'ARDECHE','Ardèche',1),(276,'08',44,'08105',4,'ARDENNES','Ardennes',1),(277,'09',76,'09122',5,'ARIEGE','Ariège',1),(278,'10',44,'10387',5,'AUBE','Aube',1),(279,'11',76,'11069',5,'AUDE','Aude',1),(280,'12',76,'12202',5,'AVEYRON','Aveyron',1),(281,'13',93,'13055',4,'BOUCHES-DU-RHONE','Bouches-du-Rhône',1),(282,'14',28,'14118',2,'CALVADOS','Calvados',1),(283,'15',84,'15014',2,'CANTAL','Cantal',1),(284,'16',75,'16015',3,'CHARENTE','Charente',1),(285,'17',75,'17300',3,'CHARENTE-MARITIME','Charente-Maritime',1),(286,'18',24,'18033',2,'CHER','Cher',1),(287,'19',75,'19272',3,'CORREZE','Corrèze',1),(288,'2A',94,'2A004',3,'CORSE-DU-SUD','Corse-du-Sud',1),(289,'2B',94,'2B033',3,'HAUTE-CORSE','Haute-Corse',1),(290,'21',27,'21231',3,'COTE-D OR','Côte-d Or',1),(291,'22',53,'22278',4,'COTES-D ARMOR','Côtes-d Armor',1),(292,'23',75,'23096',3,'CREUSE','Creuse',1),(293,'24',75,'24322',3,'DORDOGNE','Dordogne',1),(294,'25',27,'25056',2,'DOUBS','Doubs',1),(295,'26',84,'26362',3,'DROME','Drôme',1),(296,'27',28,'27229',5,'EURE','Eure',1),(297,'28',24,'28085',1,'EURE-ET-LOIR','Eure-et-Loir',1),(298,'29',53,'29232',2,'FINISTERE','Finistère',1),(299,'30',76,'30189',2,'GARD','Gard',1),(300,'31',76,'31555',3,'HAUTE-GARONNE','Haute-Garonne',1),(301,'32',76,'32013',2,'GERS','Gers',1),(302,'33',75,'33063',3,'GIRONDE','Gironde',1),(303,'34',76,'34172',5,'HERAULT','Hérault',1),(304,'35',53,'35238',1,'ILLE-ET-VILAINE','Ille-et-Vilaine',1),(305,'36',24,'36044',5,'INDRE','Indre',1),(306,'37',24,'37261',1,'INDRE-ET-LOIRE','Indre-et-Loire',1),(307,'38',84,'38185',5,'ISERE','Isère',1),(308,'39',27,'39300',2,'JURA','Jura',1),(309,'40',75,'40192',4,'LANDES','Landes',1),(310,'41',24,'41018',0,'LOIR-ET-CHER','Loir-et-Cher',1),(311,'42',84,'42218',3,'LOIRE','Loire',1),(312,'43',84,'43157',3,'HAUTE-LOIRE','Haute-Loire',1),(313,'44',52,'44109',3,'LOIRE-ATLANTIQUE','Loire-Atlantique',1),(314,'45',24,'45234',2,'LOIRET','Loiret',1),(315,'46',76,'46042',2,'LOT','Lot',1),(316,'47',75,'47001',0,'LOT-ET-GARONNE','Lot-et-Garonne',1),(317,'48',76,'48095',3,'LOZERE','Lozère',1),(318,'49',52,'49007',0,'MAINE-ET-LOIRE','Maine-et-Loire',1),(319,'50',28,'50502',3,'MANCHE','Manche',1),(320,'51',44,'51108',3,'MARNE','Marne',1),(321,'52',44,'52121',3,'HAUTE-MARNE','Haute-Marne',1),(322,'53',52,'53130',3,'MAYENNE','Mayenne',1),(323,'54',44,'54395',0,'MEURTHE-ET-MOSELLE','Meurthe-et-Moselle',1),(324,'55',44,'55029',3,'MEUSE','Meuse',1),(325,'56',53,'56260',2,'MORBIHAN','Morbihan',1),(326,'57',44,'57463',3,'MOSELLE','Moselle',1),(327,'58',27,'58194',3,'NIEVRE','Nièvre',1),(328,'59',32,'59350',2,'NORD','Nord',1),(329,'60',32,'60057',5,'OISE','Oise',1),(330,'61',28,'61001',5,'ORNE','Orne',1),(331,'62',32,'62041',2,'PAS-DE-CALAIS','Pas-de-Calais',1),(332,'63',84,'63113',2,'PUY-DE-DOME','Puy-de-Dôme',1),(333,'64',75,'64445',4,'PYRENEES-ATLANTIQUES','Pyrénées-Atlantiques',1),(334,'65',76,'65440',4,'HAUTES-PYRENEES','Hautes-Pyrénées',1),(335,'66',76,'66136',4,'PYRENEES-ORIENTALES','Pyrénées-Orientales',1),(336,'67',44,'67482',2,'BAS-RHIN','Bas-Rhin',1),(337,'68',44,'68066',2,'HAUT-RHIN','Haut-Rhin',1),(338,'69',84,'69123',2,'RHONE','Rhône',1),(339,'70',27,'70550',3,'HAUTE-SAONE','Haute-Saône',1),(340,'71',27,'71270',0,'SAONE-ET-LOIRE','Saône-et-Loire',1),(341,'72',52,'72181',3,'SARTHE','Sarthe',1),(342,'73',84,'73065',3,'SAVOIE','Savoie',1),(343,'74',84,'74010',3,'HAUTE-SAVOIE','Haute-Savoie',1),(344,'75',11,'75056',0,'PARIS','Paris',1),(345,'76',28,'76540',3,'SEINE-MARITIME','Seine-Maritime',1),(346,'77',11,'77288',0,'SEINE-ET-MARNE','Seine-et-Marne',1),(347,'78',11,'78646',4,'YVELINES','Yvelines',1),(348,'79',75,'79191',4,'DEUX-SEVRES','Deux-Sèvres',1),(349,'80',32,'80021',3,'SOMME','Somme',1),(350,'81',76,'81004',2,'TARN','Tarn',1),(351,'82',76,'82121',0,'TARN-ET-GARONNE','Tarn-et-Garonne',1),(352,'83',93,'83137',2,'VAR','Var',1),(353,'84',93,'84007',0,'VAUCLUSE','Vaucluse',1),(354,'85',52,'85191',3,'VENDEE','Vendée',1),(355,'86',75,'86194',3,'VIENNE','Vienne',1),(356,'87',75,'87085',3,'HAUTE-VIENNE','Haute-Vienne',1),(357,'88',44,'88160',4,'VOSGES','Vosges',1),(358,'89',27,'89024',5,'YONNE','Yonne',1),(359,'90',27,'90010',0,'TERRITOIRE DE BELFORT','Territoire de Belfort',1),(360,'91',11,'91228',5,'ESSONNE','Essonne',1),(361,'92',11,'92050',4,'HAUTS-DE-SEINE','Hauts-de-Seine',1),(362,'93',11,'93008',3,'SEINE-SAINT-DENIS','Seine-Saint-Denis',1),(363,'94',11,'94028',2,'VAL-DE-MARNE','Val-de-Marne',1),(364,'95',11,'95500',2,'VAL-D OISE','Val-d Oise',1),(365,'BW',501,NULL,NULL,'BADEN-WÜRTTEMBERG','Baden-Württemberg',0),(366,'BY',501,NULL,NULL,'BAYERN','Bayern',0),(367,'BE',501,NULL,NULL,'BERLIN','Berlin',0),(368,'BB',501,NULL,NULL,'BRANDENBURG','Brandenburg',0),(369,'HB',501,NULL,NULL,'BREMEN','Bremen',0),(370,'HH',501,NULL,NULL,'HAMBURG','Hamburg',0),(371,'HE',501,NULL,NULL,'HESSEN','Hessen',0),(372,'MV',501,NULL,NULL,'MECKLENBURG-VORPOMMERN','Mecklenburg-Vorpommern',0),(373,'NI',501,NULL,NULL,'NIEDERSACHSEN','Niedersachsen',0),(374,'NW',501,NULL,NULL,'NORDRHEIN-WESTFALEN','Nordrhein-Westfalen',0),(375,'RP',501,NULL,NULL,'RHEINLAND-PFALZ','Rheinland-Pfalz',0),(376,'SL',501,NULL,NULL,'SAARLAND','Saarland',0),(377,'SN',501,NULL,NULL,'SACHSEN','Sachsen',0),(378,'ST',501,NULL,NULL,'SACHSEN-ANHALT','Sachsen-Anhalt',0),(379,'SH',501,NULL,NULL,'SCHLESWIG-HOLSTEIN','Schleswig-Holstein',0),(380,'TH',501,NULL,NULL,'THÜRINGEN','Thüringen',0),(381,'AT',11401,'',0,'AT','Atlántida',0),(382,'CH',11401,'',0,'CH','Choluteca',0),(383,'CL',11401,'',0,'CL','Colón',0),(384,'CM',11401,'',0,'CM','Comayagua',0),(385,'CO',11401,'',0,'CO','Copán',0),(386,'CR',11401,'',0,'CR','Cortés',0),(387,'EP',11401,'',0,'EP','El Paraíso',0),(388,'FM',11401,'',0,'FM','Francisco Morazán',0),(389,'GD',11401,'',0,'GD','Gracias a Dios',0),(390,'IN',11401,'',0,'IN','Intibucá',0),(391,'IB',11401,'',0,'IB','Islas de la Bahía',0),(392,'LP',11401,'',0,'LP','La Paz',0),(393,'LM',11401,'',0,'LM','Lempira',0),(394,'OC',11401,'',0,'OC','Ocotepeque',0),(395,'OL',11401,'',0,'OL','Olancho',0),(396,'SB',11401,'',0,'SB','Santa Bárbara',0),(397,'VL',11401,'',0,'VL','Valle',0),(398,'YO',11401,'',0,'YO','Yoro',0),(399,'DC',11401,'',0,'DC','Distrito Central',0),(400,'HU-BU',180100,'HU101',NULL,NULL,'Budapest',0),(401,'HU-PE',180100,'HU102',NULL,NULL,'Pest',0),(402,'HU-FE',182100,'HU211',NULL,NULL,'Fejér',0),(403,'HU-KE',182100,'HU212',NULL,NULL,'Komárom-Esztergom',0),(404,'HU-VE',182100,'HU213',NULL,NULL,'Veszprém',0),(405,'HU-GS',182200,'HU221',NULL,NULL,'Gy?r-Moson-Sopron',0),(406,'HU-VA',182200,'HU222',NULL,NULL,'Vas',0),(407,'HU-ZA',182200,'HU223',NULL,NULL,'Zala',0),(408,'HU-BA',182300,'HU231',NULL,NULL,'Baranya',0),(409,'HU-SO',182300,'HU232',NULL,NULL,'Somogy',0),(410,'HU-TO',182300,'HU233',NULL,NULL,'Tolna',0),(411,'HU-BZ',183100,'HU311',NULL,NULL,'Borsod-Abaúj-Zemplén',0),(412,'HU-HE',183100,'HU312',NULL,NULL,'Heves',0),(413,'HU-NO',183100,'HU313',NULL,NULL,'Nógrád',0),(414,'HU-HB',183200,'HU321',NULL,NULL,'Hajdú-Bihar',0),(415,'HU-JN',183200,'HU322',NULL,NULL,'Jász-Nagykun-Szolnok',0),(416,'HU-SZ',183200,'HU323',NULL,NULL,'Szabolcs-Szatmár-Bereg',0),(417,'HU-BK',183300,'HU331',NULL,NULL,'Bács-Kiskun',0),(418,'HU-BE',183300,'HU332',NULL,NULL,'Békés',0),(419,'HU-CS',183300,'HU333',NULL,NULL,'Csongrád',0),(420,'AG',315,NULL,NULL,NULL,'AGRIGENTO',0),(421,'AL',312,NULL,NULL,NULL,'ALESSANDRIA',0),(422,'AN',310,NULL,NULL,NULL,'ANCONA',0),(423,'AO',319,NULL,NULL,NULL,'AOSTA',0),(424,'AR',316,NULL,NULL,NULL,'AREZZO',0),(425,'AP',310,NULL,NULL,NULL,'ASCOLI PICENO',0),(426,'AT',312,NULL,NULL,NULL,'ASTI',0),(427,'AV',304,NULL,NULL,NULL,'AVELLINO',0),(428,'BA',313,NULL,NULL,NULL,'BARI',0),(429,'BT',313,NULL,NULL,NULL,'BARLETTA-ANDRIA-TRANI',0),(430,'BL',320,NULL,NULL,NULL,'BELLUNO',0),(431,'BN',304,NULL,NULL,NULL,'BENEVENTO',0),(432,'BG',309,NULL,NULL,NULL,'BERGAMO',0),(433,'BI',312,NULL,NULL,NULL,'BIELLA',0),(434,'BO',305,NULL,NULL,NULL,'BOLOGNA',0),(435,'BZ',317,NULL,NULL,NULL,'BOLZANO',0),(436,'BS',309,NULL,NULL,NULL,'BRESCIA',0),(437,'BR',313,NULL,NULL,NULL,'BRINDISI',0),(438,'CA',314,NULL,NULL,NULL,'CAGLIARI',0),(439,'CL',315,NULL,NULL,NULL,'CALTANISSETTA',0),(440,'CB',311,NULL,NULL,NULL,'CAMPOBASSO',0),(441,'CI',314,NULL,NULL,NULL,'CARBONIA-IGLESIAS',0),(442,'CE',304,NULL,NULL,NULL,'CASERTA',0),(443,'CT',315,NULL,NULL,NULL,'CATANIA',0),(444,'CZ',303,NULL,NULL,NULL,'CATANZARO',0),(445,'CH',301,NULL,NULL,NULL,'CHIETI',0),(446,'CO',309,NULL,NULL,NULL,'COMO',0),(447,'CS',303,NULL,NULL,NULL,'COSENZA',0),(448,'CR',309,NULL,NULL,NULL,'CREMONA',0),(449,'KR',303,NULL,NULL,NULL,'CROTONE',0),(450,'CN',312,NULL,NULL,NULL,'CUNEO',0),(451,'EN',315,NULL,NULL,NULL,'ENNA',0),(452,'FM',310,NULL,NULL,NULL,'FERMO',0),(453,'FE',305,NULL,NULL,NULL,'FERRARA',0),(454,'FI',316,NULL,NULL,NULL,'FIRENZE',0),(455,'FG',313,NULL,NULL,NULL,'FOGGIA',0),(456,'FC',305,NULL,NULL,NULL,'FORLI-CESENA',0),(457,'FR',307,NULL,NULL,NULL,'FROSINONE',0),(458,'GE',308,NULL,NULL,NULL,'GENOVA',0),(459,'GO',306,NULL,NULL,NULL,'GORIZIA',0),(460,'GR',316,NULL,NULL,NULL,'GROSSETO',0),(461,'IM',308,NULL,NULL,NULL,'IMPERIA',0),(462,'IS',311,NULL,NULL,NULL,'ISERNIA',0),(463,'SP',308,NULL,NULL,NULL,'LA SPEZIA',0),(464,'AQ',301,NULL,NULL,NULL,'L AQUILA',0),(465,'LT',307,NULL,NULL,NULL,'LATINA',0),(466,'LE',313,NULL,NULL,NULL,'LECCE',0),(467,'LC',309,NULL,NULL,NULL,'LECCO',0),(468,'LI',314,NULL,NULL,NULL,'LIVORNO',0),(469,'LO',309,NULL,NULL,NULL,'LODI',0),(470,'LU',316,NULL,NULL,NULL,'LUCCA',0),(471,'MC',310,NULL,NULL,NULL,'MACERATA',0),(472,'MN',309,NULL,NULL,NULL,'MANTOVA',0),(473,'MS',316,NULL,NULL,NULL,'MASSA-CARRARA',0),(474,'MT',302,NULL,NULL,NULL,'MATERA',0),(475,'VS',314,NULL,NULL,NULL,'MEDIO CAMPIDANO',0),(476,'ME',315,NULL,NULL,NULL,'MESSINA',0),(477,'MI',309,NULL,NULL,NULL,'MILANO',0),(478,'MB',309,NULL,NULL,NULL,'MONZA e BRIANZA',0),(479,'MO',305,NULL,NULL,NULL,'MODENA',0),(480,'NA',304,NULL,NULL,NULL,'NAPOLI',0),(481,'NO',312,NULL,NULL,NULL,'NOVARA',0),(482,'NU',314,NULL,NULL,NULL,'NUORO',0),(483,'OG',314,NULL,NULL,NULL,'OGLIASTRA',0),(484,'OT',314,NULL,NULL,NULL,'OLBIA-TEMPIO',0),(485,'OR',314,NULL,NULL,NULL,'ORISTANO',0),(486,'PD',320,NULL,NULL,NULL,'PADOVA',0),(487,'PA',315,NULL,NULL,NULL,'PALERMO',0),(488,'PR',305,NULL,NULL,NULL,'PARMA',0),(489,'PV',309,NULL,NULL,NULL,'PAVIA',0),(490,'PG',318,NULL,NULL,NULL,'PERUGIA',0),(491,'PU',310,NULL,NULL,NULL,'PESARO e URBINO',0),(492,'PE',301,NULL,NULL,NULL,'PESCARA',0),(493,'PC',305,NULL,NULL,NULL,'PIACENZA',0),(494,'PI',316,NULL,NULL,NULL,'PISA',0),(495,'PT',316,NULL,NULL,NULL,'PISTOIA',0),(496,'PN',306,NULL,NULL,NULL,'PORDENONE',0),(497,'PZ',302,NULL,NULL,NULL,'POTENZA',0),(498,'PO',316,NULL,NULL,NULL,'PRATO',0),(499,'RG',315,NULL,NULL,NULL,'RAGUSA',0),(500,'RA',305,NULL,NULL,NULL,'RAVENNA',0),(501,'RC',303,NULL,NULL,NULL,'REGGIO CALABRIA',0),(502,'RE',305,NULL,NULL,NULL,'REGGIO NELL EMILIA',0),(503,'RI',307,NULL,NULL,NULL,'RIETI',0),(504,'RN',305,NULL,NULL,NULL,'RIMINI',0),(505,'RM',307,NULL,NULL,NULL,'ROMA',0),(506,'RO',320,NULL,NULL,NULL,'ROVIGO',0),(507,'SA',304,NULL,NULL,NULL,'SALERNO',0),(508,'SS',314,NULL,NULL,NULL,'SASSARI',0),(509,'SV',308,NULL,NULL,NULL,'SAVONA',0),(510,'SI',316,NULL,NULL,NULL,'SIENA',0),(511,'SR',315,NULL,NULL,NULL,'SIRACUSA',0),(512,'SO',309,NULL,NULL,NULL,'SONDRIO',0),(513,'TA',313,NULL,NULL,NULL,'TARANTO',0),(514,'TE',301,NULL,NULL,NULL,'TERAMO',0),(515,'TR',318,NULL,NULL,NULL,'TERNI',0),(516,'TO',312,NULL,NULL,NULL,'TORINO',0),(517,'TP',315,NULL,NULL,NULL,'TRAPANI',0),(518,'TN',317,NULL,NULL,NULL,'TRENTO',0),(519,'TV',320,NULL,NULL,NULL,'TREVISO',0),(520,'TS',306,NULL,NULL,NULL,'TRIESTE',0),(521,'UD',306,NULL,NULL,NULL,'UDINE',0),(522,'VA',309,NULL,NULL,NULL,'VARESE',0),(523,'VE',320,NULL,NULL,NULL,'VENEZIA',0),(524,'VB',312,NULL,NULL,NULL,'VERBANO-CUSIO-OSSOLA',0),(525,'VC',312,NULL,NULL,NULL,'VERCELLI',0),(526,'VR',320,NULL,NULL,NULL,'VERONA',0),(527,'VV',303,NULL,NULL,NULL,'VIBO VALENTIA',0),(528,'VI',320,NULL,NULL,NULL,'VICENZA',0),(529,'VT',307,NULL,NULL,NULL,'VITERBO',0),(530,'LU0001',14001,'',0,'','Clervaux',0),(531,'LU0002',14001,'',0,'','Diekirch',0),(532,'LU0003',14001,'',0,'','Redange',0),(533,'LU0004',14001,'',0,'','Vianden',0),(534,'LU0005',14001,'',0,'','Wiltz',0),(535,'LU0006',14002,'',0,'','Echternach',0),(536,'LU0007',14002,'',0,'','Grevenmacher',0),(537,'LU0008',14002,'',0,'','Remich',0),(538,'LU0009',14003,'',0,'','Capellen',0),(539,'LU0010',14003,'',0,'','Esch-sur-Alzette',0),(540,'LU0011',14003,'',0,'','Luxembourg',0),(541,'LU0012',14003,'',0,'','Mersch',0),(542,'MA',1209,'',0,'','Province de Benslimane',0),(543,'MA1',1209,'',0,'','Province de Berrechid',0),(544,'MA2',1209,'',0,'','Province de Khouribga',0),(545,'MA3',1209,'',0,'','Province de Settat',0),(546,'MA4',1210,'',0,'','Province d\'El Jadida',0),(547,'MA5',1210,'',0,'','Province de Safi',0),(548,'MA6',1210,'',0,'','Province de Sidi Bennour',0),(549,'MA7',1210,'',0,'','Province de Youssoufia',0),(550,'MA6B',1205,'',0,'','Préfecture de Fès',0),(551,'MA7B',1205,'',0,'','Province de Boulemane',0),(552,'MA8',1205,'',0,'','Province de Moulay Yacoub',0),(553,'MA9',1205,'',0,'','Province de Sefrou',0),(554,'MA8A',1202,'',0,'','Province de Kénitra',0),(555,'MA9A',1202,'',0,'','Province de Sidi Kacem',0),(556,'MA10',1202,'',0,'','Province de Sidi Slimane',0),(557,'MA11',1208,'',0,'','Préfecture de Casablanca',0),(558,'MA12',1208,'',0,'','Préfecture de Mohammédia',0),(559,'MA13',1208,'',0,'','Province de Médiouna',0),(560,'MA14',1208,'',0,'','Province de Nouaceur',0),(561,'MA15',1214,'',0,'','Province d\'Assa-Zag',0),(562,'MA16',1214,'',0,'','Province d\'Es-Semara',0),(563,'MA17A',1214,'',0,'','Province de Guelmim',0),(564,'MA18',1214,'',0,'','Province de Tata',0),(565,'MA19',1214,'',0,'','Province de Tan-Tan',0),(566,'MA15',1215,'',0,'','Province de Boujdour',0),(567,'MA16',1215,'',0,'','Province de Lâayoune',0),(568,'MA17',1215,'',0,'','Province de Tarfaya',0),(569,'MA18',1211,'',0,'','Préfecture de Marrakech',0),(570,'MA19',1211,'',0,'','Province d\'Al Haouz',0),(571,'MA20',1211,'',0,'','Province de Chichaoua',0),(572,'MA21',1211,'',0,'','Province d\'El Kelâa des Sraghna',0),(573,'MA22',1211,'',0,'','Province d\'Essaouira',0),(574,'MA23',1211,'',0,'','Province de Rehamna',0),(575,'MA24',1206,'',0,'','Préfecture de Meknès',0),(576,'MA25',1206,'',0,'','Province d’El Hajeb',0),(577,'MA26',1206,'',0,'','Province d\'Errachidia',0),(578,'MA27',1206,'',0,'','Province d’Ifrane',0),(579,'MA28',1206,'',0,'','Province de Khénifra',0),(580,'MA29',1206,'',0,'','Province de Midelt',0),(581,'MA30',1204,'',0,'','Préfecture d\'Oujda-Angad',0),(582,'MA31',1204,'',0,'','Province de Berkane',0),(583,'MA32',1204,'',0,'','Province de Driouch',0),(584,'MA33',1204,'',0,'','Province de Figuig',0),(585,'MA34',1204,'',0,'','Province de Jerada',0),(586,'MA35',1204,'',0,'','Province de Nador',0),(587,'MA36',1204,'',0,'','Province de Taourirt',0),(588,'MA37',1216,'',0,'','Province d\'Aousserd',0),(589,'MA38',1216,'',0,'','Province d\'Oued Ed-Dahab',0),(590,'MA39',1207,'',0,'','Préfecture de Rabat',0),(591,'MA40',1207,'',0,'','Préfecture de Skhirat-Témara',0),(592,'MA41',1207,'',0,'','Préfecture de Salé',0),(593,'MA42',1207,'',0,'','Province de Khémisset',0),(594,'MA43',1213,'',0,'','Préfecture d\'Agadir Ida-Outanane',0),(595,'MA44',1213,'',0,'','Préfecture d\'Inezgane-Aït Melloul',0),(596,'MA45',1213,'',0,'','Province de Chtouka-Aït Baha',0),(597,'MA46',1213,'',0,'','Province d\'Ouarzazate',0),(598,'MA47',1213,'',0,'','Province de Sidi Ifni',0),(599,'MA48',1213,'',0,'','Province de Taroudant',0),(600,'MA49',1213,'',0,'','Province de Tinghir',0),(601,'MA50',1213,'',0,'','Province de Tiznit',0),(602,'MA51',1213,'',0,'','Province de Zagora',0),(603,'MA52',1212,'',0,'','Province d\'Azilal',0),(604,'MA53',1212,'',0,'','Province de Beni Mellal',0),(605,'MA54',1212,'',0,'','Province de Fquih Ben Salah',0),(606,'MA55',1201,'',0,'','Préfecture de M\'diq-Fnideq',0),(607,'MA56',1201,'',0,'','Préfecture de Tanger-Asilah',0),(608,'MA57',1201,'',0,'','Province de Chefchaouen',0),(609,'MA58',1201,'',0,'','Province de Fahs-Anjra',0),(610,'MA59',1201,'',0,'','Province de Larache',0),(611,'MA60',1201,'',0,'','Province d\'Ouezzane',0),(612,'MA61',1201,'',0,'','Province de Tétouan',0),(613,'MA62',1203,'',0,'','Province de Guercif',0),(614,'MA63',1203,'',0,'','Province d\'Al Hoceïma',0),(615,'MA64',1203,'',0,'','Province de Taounate',0),(616,'MA65',1203,'',0,'','Province de Taza',0),(617,'MA6A',1205,'',0,'','Préfecture de Fès',0),(618,'MA7A',1205,'',0,'','Province de Boulemane',0),(619,'MA15A',1214,'',0,'','Province d\'Assa-Zag',0),(620,'MA16A',1214,'',0,'','Province d\'Es-Semara',0),(621,'MA18A',1211,'',0,'','Préfecture de Marrakech',0),(622,'MA19A',1214,'',0,'','Province de Tan-Tan',0),(623,'MA19B',1214,'',0,'','Province de Tan-Tan',0),(624,'GR',1701,NULL,NULL,NULL,'Groningen',0),(625,'FR',1701,NULL,NULL,NULL,'Friesland',0),(626,'DR',1701,NULL,NULL,NULL,'Drenthe',0),(627,'OV',1701,NULL,NULL,NULL,'Overijssel',0),(628,'GD',1701,NULL,NULL,NULL,'Gelderland',0),(629,'FL',1701,NULL,NULL,NULL,'Flevoland',0),(630,'UT',1701,NULL,NULL,NULL,'Utrecht',0),(631,'NH',1701,NULL,NULL,NULL,'Noord-Holland',0),(632,'ZH',1701,NULL,NULL,NULL,'Zuid-Holland',0),(633,'ZL',1701,NULL,NULL,NULL,'Zeeland',0),(634,'NB',1701,NULL,NULL,NULL,'Noord-Brabant',0),(635,'LB',1701,NULL,NULL,NULL,'Limburg',0),(636,'PA-1',17801,'',0,'','Bocas del Toro',0),(637,'PA-2',17801,'',0,'','Coclé',0),(638,'PA-3',17801,'',0,'','Colón',0),(639,'PA-4',17801,'',0,'','Chiriquí',0),(640,'PA-5',17801,'',0,'','Darién',0),(641,'PA-6',17801,'',0,'','Herrera',0),(642,'PA-7',17801,'',0,'','Los Santos',0),(643,'PA-8',17801,'',0,'','Panamá',0),(644,'PA-9',17801,'',0,'','Veraguas',0),(645,'PA-13',17801,'',0,'','Panamá Oeste',0),(646,'0101',18101,'',0,'','Chachapoyas',0),(647,'0102',18101,'',0,'','Bagua',0),(648,'0103',18101,'',0,'','Bongará',0),(649,'0104',18101,'',0,'','Condorcanqui',0),(650,'0105',18101,'',0,'','Luya',0),(651,'0106',18101,'',0,'','Rodríguez de Mendoza',0),(652,'0107',18101,'',0,'','Utcubamba',0),(653,'0201',18102,'',0,'','Huaraz',0),(654,'0202',18102,'',0,'','Aija',0),(655,'0203',18102,'',0,'','Antonio Raymondi',0),(656,'0204',18102,'',0,'','Asunción',0),(657,'0205',18102,'',0,'','Bolognesi',0),(658,'0206',18102,'',0,'','Carhuaz',0),(659,'0207',18102,'',0,'','Carlos Fermín Fitzcarrald',0),(660,'0208',18102,'',0,'','Casma',0),(661,'0209',18102,'',0,'','Corongo',0),(662,'0210',18102,'',0,'','Huari',0),(663,'0211',18102,'',0,'','Huarmey',0),(664,'0212',18102,'',0,'','Huaylas',0),(665,'0213',18102,'',0,'','Mariscal Luzuriaga',0),(666,'0214',18102,'',0,'','Ocros',0),(667,'0215',18102,'',0,'','Pallasca',0),(668,'0216',18102,'',0,'','Pomabamba',0),(669,'0217',18102,'',0,'','Recuay',0),(670,'0218',18102,'',0,'','Papá',0),(671,'0219',18102,'',0,'','Sihuas',0),(672,'0220',18102,'',0,'','Yungay',0),(673,'0301',18103,'',0,'','Abancay',0),(674,'0302',18103,'',0,'','Andahuaylas',0),(675,'0303',18103,'',0,'','Antabamba',0),(676,'0304',18103,'',0,'','Aymaraes',0),(677,'0305',18103,'',0,'','Cotabambas',0),(678,'0306',18103,'',0,'','Chincheros',0),(679,'0307',18103,'',0,'','Grau',0),(680,'0401',18104,'',0,'','Arequipa',0),(681,'0402',18104,'',0,'','Camaná',0),(682,'0403',18104,'',0,'','Caravelí',0),(683,'0404',18104,'',0,'','Castilla',0),(684,'0405',18104,'',0,'','Caylloma',0),(685,'0406',18104,'',0,'','Condesuyos',0),(686,'0407',18104,'',0,'','Islay',0),(687,'0408',18104,'',0,'','La Unión',0),(688,'0501',18105,'',0,'','Huamanga',0),(689,'0502',18105,'',0,'','Cangallo',0),(690,'0503',18105,'',0,'','Huanca Sancos',0),(691,'0504',18105,'',0,'','Huanta',0),(692,'0505',18105,'',0,'','La Mar',0),(693,'0506',18105,'',0,'','Lucanas',0),(694,'0507',18105,'',0,'','Parinacochas',0),(695,'0508',18105,'',0,'','Páucar del Sara Sara',0),(696,'0509',18105,'',0,'','Sucre',0),(697,'0510',18105,'',0,'','Víctor Fajardo',0),(698,'0511',18105,'',0,'','Vilcas Huamán',0),(699,'0601',18106,'',0,'','Cajamarca',0),(700,'0602',18106,'',0,'','Cajabamba',0),(701,'0603',18106,'',0,'','Celendín',0),(702,'0604',18106,'',0,'','Chota',0),(703,'0605',18106,'',0,'','Contumazá',0),(704,'0606',18106,'',0,'','Cutervo',0),(705,'0607',18106,'',0,'','Hualgayoc',0),(706,'0608',18106,'',0,'','Jaén',0),(707,'0609',18106,'',0,'','San Ignacio',0),(708,'0610',18106,'',0,'','San Marcos',0),(709,'0611',18106,'',0,'','San Miguel',0),(710,'0612',18106,'',0,'','San Pablo',0),(711,'0613',18106,'',0,'','Santa Cruz',0),(712,'0701',18107,'',0,'','Callao',0),(713,'0801',18108,'',0,'','Cusco',0),(714,'0802',18108,'',0,'','Acomayo',0),(715,'0803',18108,'',0,'','Anta',0),(716,'0804',18108,'',0,'','Calca',0),(717,'0805',18108,'',0,'','Canas',0),(718,'0806',18108,'',0,'','Canchis',0),(719,'0807',18108,'',0,'','Chumbivilcas',0),(720,'0808',18108,'',0,'','Espinar',0),(721,'0809',18108,'',0,'','La Convención',0),(722,'0810',18108,'',0,'','Paruro',0),(723,'0811',18108,'',0,'','Paucartambo',0),(724,'0812',18108,'',0,'','Quispicanchi',0),(725,'0813',18108,'',0,'','Urubamba',0),(726,'0901',18109,'',0,'','Huancavelica',0),(727,'0902',18109,'',0,'','Acobamba',0),(728,'0903',18109,'',0,'','Angaraes',0),(729,'0904',18109,'',0,'','Castrovirreyna',0),(730,'0905',18109,'',0,'','Churcampa',0),(731,'0906',18109,'',0,'','Huaytará',0),(732,'0907',18109,'',0,'','Tayacaja',0),(733,'1001',18110,'',0,'','Huánuco',0),(734,'1002',18110,'',0,'','Ambón',0),(735,'1003',18110,'',0,'','Dos de Mayo',0),(736,'1004',18110,'',0,'','Huacaybamba',0),(737,'1005',18110,'',0,'','Huamalíes',0),(738,'1006',18110,'',0,'','Leoncio Prado',0),(739,'1007',18110,'',0,'','Marañón',0),(740,'1008',18110,'',0,'','Pachitea',0),(741,'1009',18110,'',0,'','Puerto Inca',0),(742,'1010',18110,'',0,'','Lauricocha',0),(743,'1011',18110,'',0,'','Yarowilca',0),(744,'1101',18111,'',0,'','Ica',0),(745,'1102',18111,'',0,'','Chincha',0),(746,'1103',18111,'',0,'','Nazca',0),(747,'1104',18111,'',0,'','Palpa',0),(748,'1105',18111,'',0,'','Pisco',0),(749,'1201',18112,'',0,'','Huancayo',0),(750,'1202',18112,'',0,'','Concepción',0),(751,'1203',18112,'',0,'','Chanchamayo',0),(752,'1204',18112,'',0,'','Jauja',0),(753,'1205',18112,'',0,'','Junín',0),(754,'1206',18112,'',0,'','Satipo',0),(755,'1207',18112,'',0,'','Tarma',0),(756,'1208',18112,'',0,'','Yauli',0),(757,'1209',18112,'',0,'','Chupaca',0),(758,'1301',18113,'',0,'','Trujillo',0),(759,'1302',18113,'',0,'','Ascope',0),(760,'1303',18113,'',0,'','Bolívar',0),(761,'1304',18113,'',0,'','Chepén',0),(762,'1305',18113,'',0,'','Julcán',0),(763,'1306',18113,'',0,'','Otuzco',0),(764,'1307',18113,'',0,'','Pacasmayo',0),(765,'1308',18113,'',0,'','Pataz',0),(766,'1309',18113,'',0,'','Sánchez Carrión',0),(767,'1310',18113,'',0,'','Santiago de Chuco',0),(768,'1311',18113,'',0,'','Gran Chimú',0),(769,'1312',18113,'',0,'','Virú',0),(770,'1401',18114,'',0,'','Chiclayo',0),(771,'1402',18114,'',0,'','Ferreñafe',0),(772,'1403',18114,'',0,'','Lambayeque',0),(773,'1501',18115,'',0,'','Lima',0),(774,'1502',18116,'',0,'','Huaura',0),(775,'1503',18116,'',0,'','Barranca',0),(776,'1504',18116,'',0,'','Cajatambo',0),(777,'1505',18116,'',0,'','Canta',0),(778,'1506',18116,'',0,'','Cañete',0),(779,'1507',18116,'',0,'','Huaral',0),(780,'1508',18116,'',0,'','Huarochirí',0),(781,'1509',18116,'',0,'','Oyón',0),(782,'1510',18116,'',0,'','Yauyos',0),(783,'1601',18117,'',0,'','Maynas',0),(784,'1602',18117,'',0,'','Alto Amazonas',0),(785,'1603',18117,'',0,'','Loreto',0),(786,'1604',18117,'',0,'','Mariscal Ramón Castilla',0),(787,'1605',18117,'',0,'','Requena',0),(788,'1606',18117,'',0,'','Ucayali',0),(789,'1607',18117,'',0,'','Datem del Marañón',0),(790,'1701',18118,'',0,'','Tambopata',0),(791,'1702',18118,'',0,'','Manú',0),(792,'1703',18118,'',0,'','Tahuamanu',0),(793,'1801',18119,'',0,'','Mariscal Nieto',0),(794,'1802',18119,'',0,'','General Sánchez Cerro',0),(795,'1803',18119,'',0,'','Ilo',0),(796,'1901',18120,'',0,'','Pasco',0),(797,'1902',18120,'',0,'','Daniel Alcides Carrión',0),(798,'1903',18120,'',0,'','Oxapampa',0),(799,'2001',18121,'',0,'','Piura',0),(800,'2002',18121,'',0,'','Ayabaca',0),(801,'2003',18121,'',0,'','Huancabamba',0),(802,'2004',18121,'',0,'','Morropón',0),(803,'2005',18121,'',0,'','Paita',0),(804,'2006',18121,'',0,'','Sullana',0),(805,'2007',18121,'',0,'','Talara',0),(806,'2008',18121,'',0,'','Sechura',0),(807,'2101',18122,'',0,'','Puno',0),(808,'2102',18122,'',0,'','Azángaro',0),(809,'2103',18122,'',0,'','Carabaya',0),(810,'2104',18122,'',0,'','Chucuito',0),(811,'2105',18122,'',0,'','El Collao',0),(812,'2106',18122,'',0,'','Huancané',0),(813,'2107',18122,'',0,'','Lampa',0),(814,'2108',18122,'',0,'','Melgar',0),(815,'2109',18122,'',0,'','Moho',0),(816,'2110',18122,'',0,'','San Antonio de Putina',0),(817,'2111',18122,'',0,'','San Román',0),(818,'2112',18122,'',0,'','Sandia',0),(819,'2113',18122,'',0,'','Yunguyo',0),(820,'2201',18123,'',0,'','Moyobamba',0),(821,'2202',18123,'',0,'','Bellavista',0),(822,'2203',18123,'',0,'','El Dorado',0),(823,'2204',18123,'',0,'','Huallaga',0),(824,'2205',18123,'',0,'','Lamas',0),(825,'2206',18123,'',0,'','Mariscal Cáceres',0),(826,'2207',18123,'',0,'','Picota',0),(827,'2208',18123,'',0,'','La Rioja',0),(828,'2209',18123,'',0,'','San Martín',0),(829,'2210',18123,'',0,'','Tocache',0),(830,'2301',18124,'',0,'','Tacna',0),(831,'2302',18124,'',0,'','Candarave',0),(832,'2303',18124,'',0,'','Jorge Basadre',0),(833,'2304',18124,'',0,'','Tarata',0),(834,'2401',18125,'',0,'','Tumbes',0),(835,'2402',18125,'',0,'','Contralmirante Villar',0),(836,'2403',18125,'',0,'','Zarumilla',0),(837,'2501',18126,'',0,'','Coronel Portillo',0),(838,'2502',18126,'',0,'','Atalaya',0),(839,'2503',18126,'',0,'','Padre Abad',0),(840,'2504',18126,'',0,'','Purús',0),(841,'PT-AV',15001,NULL,NULL,'AVEIRO','Aveiro',0),(842,'PT-AC',15002,NULL,NULL,'AZORES','Azores',0),(843,'PT-BE',15001,NULL,NULL,'BEJA','Beja',0),(844,'PT-BR',15001,NULL,NULL,'BRAGA','Braga',0),(845,'PT-BA',15001,NULL,NULL,'BRAGANCA','Bragança',0),(846,'PT-CB',15001,NULL,NULL,'CASTELO BRANCO','Castelo Branco',0),(847,'PT-CO',15001,NULL,NULL,'COIMBRA','Coimbra',0),(848,'PT-EV',15001,NULL,NULL,'EVORA','Évora',0),(849,'PT-FA',15001,NULL,NULL,'FARO','Faro',0),(850,'PT-GU',15001,NULL,NULL,'GUARDA','Guarda',0),(851,'PT-LE',15001,NULL,NULL,'LEIRIA','Leiria',0),(852,'PT-LI',15001,NULL,NULL,'LISBON','Lisboa',0),(853,'PT-AML',15001,NULL,NULL,'AREA METROPOLITANA LISBOA','Área Metropolitana de Lisboa',0),(854,'PT-MA',15002,NULL,NULL,'MADEIRA','Madeira',0),(855,'PT-PA',15001,NULL,NULL,'PORTALEGRE','Portalegre',0),(856,'PT-PO',15001,NULL,NULL,'PORTO','Porto',0),(857,'PT-SA',15001,NULL,NULL,'SANTAREM','Santarém',0),(858,'PT-SE',15001,NULL,NULL,'SETUBAL','Setúbal',0),(859,'PT-VC',15001,NULL,NULL,'VIANA DO CASTELO','Viana Do Castelo',0),(860,'PT-VR',15001,NULL,NULL,'VILA REAL','Vila Real',0),(861,'PT-VI',15001,NULL,NULL,'VISEU','Viseu',0),(862,'AB',18801,'',0,'','Alba',0),(863,'AR',18801,'',0,'','Arad',0),(864,'AG',18801,'',0,'','Arge?',0),(865,'BC',18801,'',0,'','Bac?u',0),(866,'BH',18801,'',0,'','Bihor',0),(867,'BN',18801,'',0,'','Bistri?a-N?s?ud',0),(868,'BT',18801,'',0,'','Boto?ani',0),(869,'BV',18801,'',0,'','Bra?ov',0),(870,'BR',18801,'',0,'','Br?ila',0),(871,'BU',18801,'',0,'','Bucuresti',0),(872,'BZ',18801,'',0,'','Buz?u',0),(873,'CL',18801,'',0,'','C?l?ra?i',0),(874,'CS',18801,'',0,'','Cara?-Severin',0),(875,'CJ',18801,'',0,'','Cluj',0),(876,'CT',18801,'',0,'','Constan?a',0),(877,'CV',18801,'',0,'','Covasna',0),(878,'DB',18801,'',0,'','Dâmbovi?a',0),(879,'DJ',18801,'',0,'','Dolj',0),(880,'GL',18801,'',0,'','Gala?i',0),(881,'GR',18801,'',0,'','Giurgiu',0),(882,'GJ',18801,'',0,'','Gorj',0),(883,'HR',18801,'',0,'','Harghita',0),(884,'HD',18801,'',0,'','Hunedoara',0),(885,'IL',18801,'',0,'','Ialomi?a',0),(886,'IS',18801,'',0,'','Ia?i',0),(887,'IF',18801,'',0,'','Ilfov',0),(888,'MM',18801,'',0,'','Maramure?',0),(889,'MH',18801,'',0,'','Mehedin?i',0),(890,'MS',18801,'',0,'','Mure?',0),(891,'NT',18801,'',0,'','Neam?',0),(892,'OT',18801,'',0,'','Olt',0),(893,'PH',18801,'',0,'','Prahova',0),(894,'SM',18801,'',0,'','Satu Mare',0),(895,'SJ',18801,'',0,'','S?laj',0),(896,'SB',18801,'',0,'','Sibiu',0),(897,'SV',18801,'',0,'','Suceava',0),(898,'TR',18801,'',0,'','Teleorman',0),(899,'TM',18801,'',0,'','Timi?',0),(900,'TL',18801,'',0,'','Tulcea',0),(901,'VS',18801,'',0,'','Vaslui',0),(902,'VL',18801,'',0,'','Vâlcea',0),(903,'VN',18801,'',0,'','Vrancea',0),(904,'SI031',20203,NULL,NULL,'MURA','Mura',0),(905,'SI032',20203,NULL,NULL,'DRAVA','Drava',0),(906,'SI033',20203,NULL,NULL,'CARINTHIA','Carinthia',0),(907,'SI034',20203,NULL,NULL,'SAVINJA','Savinja',0),(908,'SI035',20203,NULL,NULL,'CENTRAL SAVA','Central Sava',0),(909,'SI036',20203,NULL,NULL,'LOWER SAVA','Lower Sava',0),(910,'SI037',20203,NULL,NULL,'SOUTHEAST SLOVENIA','Southeast Slovenia',0),(911,'SI038',20203,NULL,NULL,'LITTORAL–INNER CARNIOLA','Littoral–Inner Carniola',0),(912,'SI041',20204,NULL,NULL,'CENTRAL SLOVENIA','Central Slovenia',0),(913,'SI038',20204,NULL,NULL,'UPPER CARNIOLA','Upper Carniola',0),(914,'SI043',20204,NULL,NULL,'GORIZIA','Gorizia',0),(915,'SI044',20204,NULL,NULL,'COASTAL–KARST','Coastal–Karst',0),(916,'TW-KLU',21301,'KLU',NULL,NULL,'???',0),(917,'TW-TPE',21301,'TPE',NULL,NULL,'???',0),(918,'TW-TPH',21301,'TPH',NULL,NULL,'???',0),(919,'TW-TYC',21301,'TYC',NULL,NULL,'???',0),(920,'TW-HSH',21301,'HSH',NULL,NULL,'???',0),(921,'TW-HSC',21301,'HSC',NULL,NULL,'???',0),(922,'TW-MAL',21301,'MAL',NULL,NULL,'???',0),(923,'TW-MAC',21301,'MAC',NULL,NULL,'???',0),(924,'TW-TXG',21301,'TXG',NULL,NULL,'???',0),(925,'TW-CWH',21301,'CWH',NULL,NULL,'???',0),(926,'TW-CWS',21301,'CWS',NULL,NULL,'???',0),(927,'TW-NTC',21301,'NTC',NULL,NULL,'???',0),(928,'TW-NTO',21301,'NTO',NULL,NULL,'???',0),(929,'TW-YLH',21301,'YLH',NULL,NULL,'???',0),(930,'TW-CHY',21301,'CHY',NULL,NULL,'???',0),(931,'TW-CYI',21301,'CYI',NULL,NULL,'???',0),(932,'TW-TNN',21301,'TNN',NULL,NULL,'???',0),(933,'TW-KHH',21301,'KHH',NULL,NULL,'???',0),(934,'TW-IUH',21301,'IUH',NULL,NULL,'???',0),(935,'TW-PTS',21301,'PTS',NULL,NULL,'???',0),(936,'TW-ILN',21301,'ILN',NULL,NULL,'???',0),(937,'TW-ILC',21301,'ILC',NULL,NULL,'???',0),(938,'TW-HWA',21301,'HWA',NULL,NULL,'???',0),(939,'TW-HWC',21301,'HWC',NULL,NULL,'???',0),(940,'TW-TTC',21301,'TTC',NULL,NULL,'???',0),(941,'TW-TTT',21301,'TTT',NULL,NULL,'???',0),(942,'TW-PEH',21301,'PEH',NULL,NULL,'???',0),(943,'TW-GNI',21301,'GNI',NULL,NULL,'??',0),(944,'TW-KYD',21301,'KYD',NULL,NULL,'??',0),(945,'TW-KMN',21301,'KMN',NULL,NULL,'???',0),(946,'TW-LNN',21301,'LNN',NULL,NULL,'???',0),(947,'TN01',1001,'',0,'','Ariana',0),(948,'TN02',1001,'',0,'','Béja',0),(949,'TN03',1001,'',0,'','Ben Arous',0),(950,'TN04',1001,'',0,'','Bizerte',0),(951,'TN05',1001,'',0,'','Gabès',0),(952,'TN06',1001,'',0,'','Gafsa',0),(953,'TN07',1001,'',0,'','Jendouba',0),(954,'TN08',1001,'',0,'','Kairouan',0),(955,'TN09',1001,'',0,'','Kasserine',0),(956,'TN10',1001,'',0,'','Kébili',0),(957,'TN11',1001,'',0,'','La Manouba',0),(958,'TN12',1001,'',0,'','Le Kef',0),(959,'TN13',1001,'',0,'','Mahdia',0),(960,'TN14',1001,'',0,'','Médenine',0),(961,'TN15',1001,'',0,'','Monastir',0),(962,'TN16',1001,'',0,'','Nabeul',0),(963,'TN17',1001,'',0,'','Sfax',0),(964,'TN18',1001,'',0,'','Sidi Bouzid',0),(965,'TN19',1001,'',0,'','Siliana',0),(966,'TN20',1001,'',0,'','Sousse',0),(967,'TN21',1001,'',0,'','Tataouine',0),(968,'TN22',1001,'',0,'','Tozeur',0),(969,'TN23',1001,'',0,'','Tunis',0),(970,'TN24',1001,'',0,'','Zaghouan',0),(971,'AL',1101,'',0,'ALABAMA','Alabama',0),(972,'AK',1101,'',0,'ALASKA','Alaska',0),(973,'AZ',1101,'',0,'ARIZONA','Arizona',0),(974,'AR',1101,'',0,'ARKANSAS','Arkansas',0),(975,'CA',1101,'',0,'CALIFORNIA','California',0),(976,'CO',1101,'',0,'COLORADO','Colorado',0),(977,'CT',1101,'',0,'CONNECTICUT','Connecticut',0),(978,'DE',1101,'',0,'DELAWARE','Delaware',0),(979,'FL',1101,'',0,'FLORIDA','Florida',0),(980,'GA',1101,'',0,'GEORGIA','Georgia',0),(981,'HI',1101,'',0,'HAWAII','Hawaii',0),(982,'ID',1101,'',0,'IDAHO','Idaho',0),(983,'IL',1101,'',0,'ILLINOIS','Illinois',0),(984,'IN',1101,'',0,'INDIANA','Indiana',0),(985,'IA',1101,'',0,'IOWA','Iowa',0),(986,'KS',1101,'',0,'KANSAS','Kansas',0),(987,'KY',1101,'',0,'KENTUCKY','Kentucky',0),(988,'LA',1101,'',0,'LOUISIANA','Louisiana',0),(989,'ME',1101,'',0,'MAINE','Maine',0),(990,'MD',1101,'',0,'MARYLAND','Maryland',0),(991,'MA',1101,'',0,'MASSACHUSSETTS','Massachusetts',0),(992,'MI',1101,'',0,'MICHIGAN','Michigan',0),(993,'MN',1101,'',0,'MINNESOTA','Minnesota',0),(994,'MS',1101,'',0,'MISSISSIPPI','Mississippi',0),(995,'MO',1101,'',0,'MISSOURI','Missouri',0),(996,'MT',1101,'',0,'MONTANA','Montana',0),(997,'NE',1101,'',0,'NEBRASKA','Nebraska',0),(998,'NV',1101,'',0,'NEVADA','Nevada',0),(999,'NH',1101,'',0,'NEW HAMPSHIRE','New Hampshire',0),(1000,'NJ',1101,'',0,'NEW JERSEY','New Jersey',0),(1001,'NM',1101,'',0,'NEW MEXICO','New Mexico',0),(1002,'NY',1101,'',0,'NEW YORK','New York',0),(1003,'NC',1101,'',0,'NORTH CAROLINA','North Carolina',0),(1004,'ND',1101,'',0,'NORTH DAKOTA','North Dakota',0),(1005,'OH',1101,'',0,'OHIO','Ohio',0),(1006,'OK',1101,'',0,'OKLAHOMA','Oklahoma',0),(1007,'OR',1101,'',0,'OREGON','Oregon',0),(1008,'PA',1101,'',0,'PENNSYLVANIA','Pennsylvania',0),(1009,'RI',1101,'',0,'RHODE ISLAND','Rhode Island',0),(1010,'SC',1101,'',0,'SOUTH CAROLINA','South Carolina',0),(1011,'SD',1101,'',0,'SOUTH DAKOTA','South Dakota',0),(1012,'TN',1101,'',0,'TENNESSEE','Tennessee',0),(1013,'TX',1101,'',0,'TEXAS','Texas',0),(1014,'UT',1101,'',0,'UTAH','Utah',0),(1015,'VT',1101,'',0,'VERMONT','Vermont',0),(1016,'VA',1101,'',0,'VIRGINIA','Virginia',0),(1017,'WA',1101,'',0,'WASHINGTON','Washington',0),(1018,'WV',1101,'',0,'WEST VIRGINIA','West Virginia',0),(1019,'WI',1101,'',0,'WISCONSIN','Wisconsin',0),(1020,'WY',1101,'',0,'WYOMING','Wyoming',0),(1021,'001',5201,'',0,'','Belisario Boeto',0),(1022,'002',5201,'',0,'','Hernando Siles',0),(1023,'003',5201,'',0,'','Jaime Zudáñez',0),(1024,'004',5201,'',0,'','Juana Azurduy de Padilla',0),(1025,'005',5201,'',0,'','Luis Calvo',0),(1026,'006',5201,'',0,'','Nor Cinti',0),(1027,'007',5201,'',0,'','Oropeza',0),(1028,'008',5201,'',0,'','Sud Cinti',0),(1029,'009',5201,'',0,'','Tomina',0),(1030,'010',5201,'',0,'','Yamparáez',0),(1031,'011',5202,'',0,'','Abel Iturralde',0),(1032,'012',5202,'',0,'','Aroma',0),(1033,'013',5202,'',0,'','Bautista Saavedra',0),(1034,'014',5202,'',0,'','Caranavi',0),(1035,'015',5202,'',0,'','Eliodoro Camacho',0),(1036,'016',5202,'',0,'','Franz Tamayo',0),(1037,'017',5202,'',0,'','Gualberto Villarroel',0),(1038,'018',5202,'',0,'','Ingaví',0),(1039,'019',5202,'',0,'','Inquisivi',0),(1040,'020',5202,'',0,'','José Ramón Loayza',0),(1041,'021',5202,'',0,'','Larecaja',0),(1042,'022',5202,'',0,'','Los Andes (Bolivia)',0),(1043,'023',5202,'',0,'','Manco Kapac',0),(1044,'024',5202,'',0,'','Muñecas',0),(1045,'025',5202,'',0,'','Nor Yungas',0),(1046,'026',5202,'',0,'','Omasuyos',0),(1047,'027',5202,'',0,'','Pacajes',0),(1048,'028',5202,'',0,'','Pedro Domingo Murillo',0),(1049,'029',5202,'',0,'','Sud Yungas',0),(1050,'030',5202,'',0,'','General José Manuel Pando',0),(1051,'031',5203,'',0,'','Arani',0),(1052,'032',5203,'',0,'','Arque',0),(1053,'033',5203,'',0,'','Ayopaya',0),(1054,'034',5203,'',0,'','Bolívar (Bolivia)',0),(1055,'035',5203,'',0,'','Campero',0),(1056,'036',5203,'',0,'','Capinota',0),(1057,'037',5203,'',0,'','Cercado (Cochabamba)',0),(1058,'038',5203,'',0,'','Esteban Arze',0),(1059,'039',5203,'',0,'','Germán Jordán',0),(1060,'040',5203,'',0,'','José Carrasco',0),(1061,'041',5203,'',0,'','Mizque',0),(1062,'042',5203,'',0,'','Punata',0),(1063,'043',5203,'',0,'','Quillacollo',0),(1064,'044',5203,'',0,'','Tapacarí',0),(1065,'045',5203,'',0,'','Tiraque',0),(1066,'046',5203,'',0,'','Chapare',0),(1067,'047',5204,'',0,'','Carangas',0),(1068,'048',5204,'',0,'','Cercado (Oruro)',0),(1069,'049',5204,'',0,'','Eduardo Avaroa',0),(1070,'050',5204,'',0,'','Ladislao Cabrera',0),(1071,'051',5204,'',0,'','Litoral de Atacama',0),(1072,'052',5204,'',0,'','Mejillones',0),(1073,'053',5204,'',0,'','Nor Carangas',0),(1074,'054',5204,'',0,'','Pantaleón Dalence',0),(1075,'055',5204,'',0,'','Poopó',0),(1076,'056',5204,'',0,'','Sabaya',0),(1077,'057',5204,'',0,'','Sajama',0),(1078,'058',5204,'',0,'','San Pedro de Totora',0),(1079,'059',5204,'',0,'','Saucarí',0),(1080,'060',5204,'',0,'','Sebastián Pagador',0),(1081,'061',5204,'',0,'','Sud Carangas',0),(1082,'062',5204,'',0,'','Tomás Barrón',0),(1083,'063',5205,'',0,'','Alonso de Ibáñez',0),(1084,'064',5205,'',0,'','Antonio Quijarro',0),(1085,'065',5205,'',0,'','Bernardino Bilbao',0),(1086,'066',5205,'',0,'','Charcas (Potosí)',0),(1087,'067',5205,'',0,'','Chayanta',0),(1088,'068',5205,'',0,'','Cornelio Saavedra',0),(1089,'069',5205,'',0,'','Daniel Campos',0),(1090,'070',5205,'',0,'','Enrique Baldivieso',0),(1091,'071',5205,'',0,'','José María Linares',0),(1092,'072',5205,'',0,'','Modesto Omiste',0),(1093,'073',5205,'',0,'','Nor Chichas',0),(1094,'074',5205,'',0,'','Nor Lípez',0),(1095,'075',5205,'',0,'','Rafael Bustillo',0),(1096,'076',5205,'',0,'','Sud Chichas',0),(1097,'077',5205,'',0,'','Sud Lípez',0),(1098,'078',5205,'',0,'','Tomás Frías',0),(1099,'079',5206,'',0,'','Aniceto Arce',0),(1100,'080',5206,'',0,'','Burdet O\'Connor',0),(1101,'081',5206,'',0,'','Cercado (Tarija)',0),(1102,'082',5206,'',0,'','Eustaquio Méndez',0),(1103,'083',5206,'',0,'','José María Avilés',0),(1104,'084',5206,'',0,'','Gran Chaco',0),(1105,'085',5207,'',0,'','Andrés Ibáñez',0),(1106,'086',5207,'',0,'','Caballero',0),(1107,'087',5207,'',0,'','Chiquitos',0),(1108,'088',5207,'',0,'','Cordillera (Bolivia)',0),(1109,'089',5207,'',0,'','Florida',0),(1110,'090',5207,'',0,'','Germán Busch',0),(1111,'091',5207,'',0,'','Guarayos',0),(1112,'092',5207,'',0,'','Ichilo',0),(1113,'093',5207,'',0,'','Obispo Santistevan',0),(1114,'094',5207,'',0,'','Sara',0),(1115,'095',5207,'',0,'','Vallegrande',0),(1116,'096',5207,'',0,'','Velasco',0),(1117,'097',5207,'',0,'','Warnes',0),(1118,'098',5207,'',0,'','Ángel Sandóval',0),(1119,'099',5207,'',0,'','Ñuflo de Chaves',0),(1120,'100',5208,'',0,'','Cercado (Beni)',0),(1121,'101',5208,'',0,'','Iténez',0),(1122,'102',5208,'',0,'','Mamoré',0),(1123,'103',5208,'',0,'','Marbán',0),(1124,'104',5208,'',0,'','Moxos',0),(1125,'105',5208,'',0,'','Vaca Díez',0),(1126,'106',5208,'',0,'','Yacuma',0),(1127,'107',5208,'',0,'','General José Ballivián Segurola',0),(1128,'108',5209,'',0,'','Abuná',0),(1129,'109',5209,'',0,'','Madre de Dios',0),(1130,'110',5209,'',0,'','Manuripi',0),(1131,'111',5209,'',0,'','Nicolás Suárez',0),(1132,'112',5209,'',0,'','General Federico Román',0),(1133,'VI',419,'01',19,'ALAVA','Álava',0),(1134,'AB',404,'02',4,'ALBACETE','Albacete',0),(1135,'A',411,'03',11,'ALICANTE','Alicante',0),(1136,'AL',401,'04',1,'ALMERIA','Almería',0),(1137,'O',418,'33',18,'ASTURIAS','Asturias',0),(1138,'AV',403,'05',3,'AVILA','Ávila',0),(1139,'BA',412,'06',12,'BADAJOZ','Badajoz',0),(1140,'B',406,'08',6,'BARCELONA','Barcelona',0),(1141,'BU',403,'09',8,'BURGOS','Burgos',0),(1142,'CC',412,'10',12,'CACERES','Cáceres',0),(1143,'CA',401,'11',1,'CADIZ','Cádiz',0),(1144,'S',410,'39',10,'CANTABRIA','Cantabria',0),(1145,'CS',411,'12',11,'CASTELLON','Castellón',0),(1146,'CE',407,'51',7,'CEUTA','Ceuta',0),(1147,'CR',404,'13',4,'CIUDAD REAL','Ciudad Real',0),(1148,'CO',401,'14',1,'CORDOBA','Córdoba',0),(1149,'CU',404,'16',4,'CUENCA','Cuenca',0),(1150,'GI',406,'17',6,'GERONA','Gerona',0),(1151,'GR',401,'18',1,'GRANADA','Granada',0),(1152,'GU',404,'19',4,'GUADALAJARA','Guadalajara',0),(1153,'SS',419,'20',19,'GUIPUZCOA','Guipúzcoa',0),(1154,'H',401,'21',1,'HUELVA','Huelva',0),(1155,'HU',402,'22',2,'HUESCA','Huesca',0),(1156,'PM',414,'07',14,'ISLAS BALEARES','Islas Baleares',0),(1157,'J',401,'23',1,'JAEN','Jaén',0),(1158,'C',413,'15',13,'LA CORUÑA','La Coruña',0),(1159,'LO',415,'26',15,'LA RIOJA','La Rioja',0),(1160,'GC',405,'35',5,'LAS PALMAS','Las Palmas',0),(1161,'LE',403,'24',3,'LEON','León',0),(1162,'L',406,'25',6,'LERIDA','Lérida',0),(1163,'LU',413,'27',13,'LUGO','Lugo',0),(1164,'M',416,'28',16,'MADRID','Madrid',0),(1165,'MA',401,'29',1,'MALAGA','Málaga',0),(1166,'ML',409,'52',9,'MELILLA','Melilla',0),(1167,'MU',417,'30',17,'MURCIA','Murcia',0),(1168,'NA',408,'31',8,'NAVARRA','Navarra',0),(1169,'OR',413,'32',13,'ORENSE','Orense',0),(1170,'P',403,'34',3,'PALENCIA','Palencia',0),(1171,'PO',413,'36',13,'PONTEVEDRA','Pontevedra',0),(1172,'SA',403,'37',3,'SALAMANCA','Salamanca',0),(1173,'TF',405,'38',5,'STA. CRUZ DE TENERIFE','Santa Cruz de Tenerife',0),(1174,'SG',403,'40',3,'SEGOVIA','Segovia',0),(1175,'SE',401,'41',1,'SEVILLA','Sevilla',0),(1176,'SO',403,'42',3,'SORIA','Soria',0),(1177,'T',406,'43',6,'TARRAGONA','Tarragona',0),(1178,'TE',402,'44',2,'TERUEL','Teruel',0),(1179,'TO',404,'45',5,'TOLEDO','Toledo',0),(1180,'V',411,'46',11,'VALENCIA','Valencia',0),(1181,'VA',403,'47',3,'VALLADOLID','Valladolid',0),(1182,'BI',419,'48',19,'VIZCAYA','Vizcaya',0),(1183,'ZA',403,'49',3,'ZAMORA','Zamora',0),(1184,'Z',402,'50',1,'ZARAGOZA','Zaragoza',0),(1185,'66',10201,'',0,'','?????',0),(1186,'67',10205,'',0,'','?????',0),(1187,'01',10205,'',0,'','?????',0),(1188,'02',10205,'',0,'','?????',0),(1189,'03',10205,'',0,'','??????',0),(1190,'04',10205,'',0,'','?????',0),(1191,'05',10205,'',0,'','??????',0),(1192,'06',10203,'',0,'','??????',0),(1193,'07',10203,'',0,'','???????????',0),(1194,'08',10203,'',0,'','??????',0),(1195,'09',10203,'',0,'','?????',0),(1196,'10',10203,'',0,'','??????',0),(1197,'11',10203,'',0,'','??????',0),(1198,'12',10203,'',0,'','?????????',0),(1199,'13',10206,'',0,'','????',0),(1200,'14',10206,'',0,'','?????????',0),(1201,'15',10206,'',0,'','????????',0),(1202,'16',10206,'',0,'','???????',0),(1203,'17',10213,'',0,'','???????',0),(1204,'18',10213,'',0,'','????????',0),(1205,'19',10213,'',0,'','??????',0),(1206,'20',10213,'',0,'','???????',0),(1207,'21',10212,'',0,'','????????',0),(1208,'22',10212,'',0,'','??????',0),(1209,'23',10212,'',0,'','????????',0),(1210,'24',10212,'',0,'','???????',0),(1211,'25',10212,'',0,'','????????',0),(1212,'26',10212,'',0,'','???????',0),(1213,'27',10202,'',0,'','??????',0),(1214,'28',10202,'',0,'','?????????',0),(1215,'29',10202,'',0,'','????????',0),(1216,'30',10202,'',0,'','??????',0),(1217,'31',10209,'',0,'','????????',0),(1218,'32',10209,'',0,'','???????',0),(1219,'33',10209,'',0,'','????????',0),(1220,'34',10209,'',0,'','???????',0),(1221,'35',10209,'',0,'','????????',0),(1222,'36',10211,'',0,'','???????????????',0),(1223,'37',10211,'',0,'','?????',0),(1224,'38',10211,'',0,'','?????',0),(1225,'39',10207,'',0,'','????????',0),(1226,'40',10207,'',0,'','???????',0),(1227,'41',10207,'',0,'','??????????',0),(1228,'42',10207,'',0,'','?????',0),(1229,'43',10207,'',0,'','???????',0),(1230,'44',10208,'',0,'','??????',0),(1231,'45',10208,'',0,'','??????',0),(1232,'46',10208,'',0,'','??????',0),(1233,'47',10208,'',0,'','?????',0),(1234,'48',10208,'',0,'','????',0),(1235,'49',10210,'',0,'','??????',0),(1236,'50',10210,'',0,'','????',0),(1237,'51',10210,'',0,'','????????',0),(1238,'52',10210,'',0,'','????????',0),(1239,'53',10210,'',0,'','???-??????',0),(1240,'54',10210,'',0,'','??',0),(1241,'55',10210,'',0,'','?????',0),(1242,'56',10210,'',0,'','???????',0),(1243,'57',10210,'',0,'','?????',0),(1244,'58',10210,'',0,'','?????',0),(1245,'59',10210,'',0,'','?????',0),(1246,'60',10210,'',0,'','?????',0),(1247,'61',10210,'',0,'','?????',0),(1248,'62',10204,'',0,'','????????',0),(1249,'63',10204,'',0,'','??????',0),(1250,'64',10204,'',0,'','???????',0),(1251,'65',10204,'',0,'','?????',0),(1252,'AG',601,NULL,NULL,'ARGOVIE','Argovie',0),(1253,'AI',601,NULL,NULL,'APPENZELL RHODES INTERIEURES','Appenzell Rhodes intérieures',0),(1254,'AR',601,NULL,NULL,'APPENZELL RHODES EXTERIEURES','Appenzell Rhodes extérieures',0),(1255,'BE',601,NULL,NULL,'BERNE','Berne',0),(1256,'BL',601,NULL,NULL,'BALE CAMPAGNE','Bâle Campagne',0),(1257,'BS',601,NULL,NULL,'BALE VILLE','Bâle Ville',0),(1258,'FR',601,NULL,NULL,'FRIBOURG','Fribourg',0),(1259,'GE',601,NULL,NULL,'GENEVE','Genève',0),(1260,'GL',601,NULL,NULL,'GLARIS','Glaris',0),(1261,'GR',601,NULL,NULL,'GRISONS','Grisons',0),(1262,'JU',601,NULL,NULL,'JURA','Jura',0),(1263,'LU',601,NULL,NULL,'LUCERNE','Lucerne',0),(1264,'NE',601,NULL,NULL,'NEUCHATEL','Neuchâtel',0),(1265,'NW',601,NULL,NULL,'NIDWALD','Nidwald',0),(1266,'OW',601,NULL,NULL,'OBWALD','Obwald',0),(1267,'SG',601,NULL,NULL,'SAINT-GALL','Saint-Gall',0),(1268,'SH',601,NULL,NULL,'SCHAFFHOUSE','Schaffhouse',0),(1269,'SO',601,NULL,NULL,'SOLEURE','Soleure',0),(1270,'SZ',601,NULL,NULL,'SCHWYZ','Schwyz',0),(1271,'TG',601,NULL,NULL,'THURGOVIE','Thurgovie',0),(1272,'TI',601,NULL,NULL,'TESSIN','Tessin',0),(1273,'UR',601,NULL,NULL,'URI','Uri',0),(1274,'VD',601,NULL,NULL,'VAUD','Vaud',0),(1275,'VS',601,NULL,NULL,'VALAIS','Valais',0),(1276,'ZG',601,NULL,NULL,'ZUG','Zug',0),(1277,'ZH',601,NULL,NULL,'ZURICH','Zürich',0),(1278,'701',701,NULL,0,NULL,'Bedfordshire',0),(1279,'702',701,NULL,0,NULL,'Berkshire',0),(1280,'703',701,NULL,0,NULL,'Bristol, City of',0),(1281,'704',701,NULL,0,NULL,'Buckinghamshire',0),(1282,'705',701,NULL,0,NULL,'Cambridgeshire',0),(1283,'706',701,NULL,0,NULL,'Cheshire',0),(1284,'707',701,NULL,0,NULL,'Cleveland',0),(1285,'708',701,NULL,0,NULL,'Cornwall',0),(1286,'709',701,NULL,0,NULL,'Cumberland',0),(1287,'710',701,NULL,0,NULL,'Cumbria',0),(1288,'711',701,NULL,0,NULL,'Derbyshire',0),(1289,'712',701,NULL,0,NULL,'Devon',0),(1290,'713',701,NULL,0,NULL,'Dorset',0),(1291,'714',701,NULL,0,NULL,'Co. Durham',0),(1292,'715',701,NULL,0,NULL,'East Riding of Yorkshire',0),(1293,'716',701,NULL,0,NULL,'East Sussex',0),(1294,'717',701,NULL,0,NULL,'Essex',0),(1295,'718',701,NULL,0,NULL,'Gloucestershire',0),(1296,'719',701,NULL,0,NULL,'Greater Manchester',0),(1297,'720',701,NULL,0,NULL,'Hampshire',0),(1298,'721',701,NULL,0,NULL,'Hertfordshire',0),(1299,'722',701,NULL,0,NULL,'Hereford and Worcester',0),(1300,'723',701,NULL,0,NULL,'Herefordshire',0),(1301,'724',701,NULL,0,NULL,'Huntingdonshire',0),(1302,'725',701,NULL,0,NULL,'Isle of Man',0),(1303,'726',701,NULL,0,NULL,'Isle of Wight',0),(1304,'727',701,NULL,0,NULL,'Jersey',0),(1305,'728',701,NULL,0,NULL,'Kent',0),(1306,'729',701,NULL,0,NULL,'Lancashire',0),(1307,'730',701,NULL,0,NULL,'Leicestershire',0),(1308,'731',701,NULL,0,NULL,'Lincolnshire',0),(1309,'732',701,NULL,0,NULL,'London - City of London',0),(1310,'733',701,NULL,0,NULL,'Merseyside',0),(1311,'734',701,NULL,0,NULL,'Middlesex',0),(1312,'735',701,NULL,0,NULL,'Norfolk',0),(1313,'736',701,NULL,0,NULL,'North Yorkshire',0),(1314,'737',701,NULL,0,NULL,'North Riding of Yorkshire',0),(1315,'738',701,NULL,0,NULL,'Northamptonshire',0),(1316,'739',701,NULL,0,NULL,'Northumberland',0),(1317,'740',701,NULL,0,NULL,'Nottinghamshire',0),(1318,'741',701,NULL,0,NULL,'Oxfordshire',0),(1319,'742',701,NULL,0,NULL,'Rutland',0),(1320,'743',701,NULL,0,NULL,'Shropshire',0),(1321,'744',701,NULL,0,NULL,'Somerset',0),(1322,'745',701,NULL,0,NULL,'Staffordshire',0),(1323,'746',701,NULL,0,NULL,'Suffolk',0),(1324,'747',701,NULL,0,NULL,'Surrey',0),(1325,'748',701,NULL,0,NULL,'Sussex',0),(1326,'749',701,NULL,0,NULL,'Tyne and Wear',0),(1327,'750',701,NULL,0,NULL,'Warwickshire',0),(1328,'751',701,NULL,0,NULL,'West Midlands',0),(1329,'752',701,NULL,0,NULL,'West Sussex',0),(1330,'753',701,NULL,0,NULL,'West Yorkshire',0),(1331,'754',701,NULL,0,NULL,'West Riding of Yorkshire',0),(1332,'755',701,NULL,0,NULL,'Wiltshire',0),(1333,'756',701,NULL,0,NULL,'Worcestershire',0),(1334,'757',701,NULL,0,NULL,'Yorkshire',0),(1335,'758',702,NULL,0,NULL,'Anglesey',0),(1336,'759',702,NULL,0,NULL,'Breconshire',0),(1337,'760',702,NULL,0,NULL,'Caernarvonshire',0),(1338,'761',702,NULL,0,NULL,'Cardiganshire',0),(1339,'762',702,NULL,0,NULL,'Carmarthenshire',0),(1340,'763',702,NULL,0,NULL,'Ceredigion',0),(1341,'764',702,NULL,0,NULL,'Denbighshire',0),(1342,'765',702,NULL,0,NULL,'Flintshire',0),(1343,'766',702,NULL,0,NULL,'Glamorgan',0),(1344,'767',702,NULL,0,NULL,'Gwent',0),(1345,'768',702,NULL,0,NULL,'Gwynedd',0),(1346,'769',702,NULL,0,NULL,'Merionethshire',0),(1347,'770',702,NULL,0,NULL,'Monmouthshire',0),(1348,'771',702,NULL,0,NULL,'Mid Glamorgan',0),(1349,'772',702,NULL,0,NULL,'Montgomeryshire',0),(1350,'773',702,NULL,0,NULL,'Pembrokeshire',0),(1351,'774',702,NULL,0,NULL,'Powys',0),(1352,'775',702,NULL,0,NULL,'Radnorshire',0),(1353,'776',702,NULL,0,NULL,'South Glamorgan',0),(1354,'777',703,NULL,0,NULL,'Aberdeen, City of',0),(1355,'778',703,NULL,0,NULL,'Angus',0),(1356,'779',703,NULL,0,NULL,'Argyll',0),(1357,'780',703,NULL,0,NULL,'Ayrshire',0),(1358,'781',703,NULL,0,NULL,'Banffshire',0),(1359,'782',703,NULL,0,NULL,'Berwickshire',0),(1360,'783',703,NULL,0,NULL,'Bute',0),(1361,'784',703,NULL,0,NULL,'Caithness',0),(1362,'785',703,NULL,0,NULL,'Clackmannanshire',0),(1363,'786',703,NULL,0,NULL,'Dumfriesshire',0),(1364,'787',703,NULL,0,NULL,'Dumbartonshire',0),(1365,'788',703,NULL,0,NULL,'Dundee, City of',0),(1366,'789',703,NULL,0,NULL,'East Lothian',0),(1367,'790',703,NULL,0,NULL,'Fife',0),(1368,'791',703,NULL,0,NULL,'Inverness',0),(1369,'792',703,NULL,0,NULL,'Kincardineshire',0),(1370,'793',703,NULL,0,NULL,'Kinross-shire',0),(1371,'794',703,NULL,0,NULL,'Kirkcudbrightshire',0),(1372,'795',703,NULL,0,NULL,'Lanarkshire',0),(1373,'796',703,NULL,0,NULL,'Midlothian',0),(1374,'797',703,NULL,0,NULL,'Morayshire',0),(1375,'798',703,NULL,0,NULL,'Nairnshire',0),(1376,'799',703,NULL,0,NULL,'Orkney',0),(1377,'800',703,NULL,0,NULL,'Peebleshire',0),(1378,'801',703,NULL,0,NULL,'Perthshire',0),(1379,'802',703,NULL,0,NULL,'Renfrewshire',0),(1380,'803',703,NULL,0,NULL,'Ross & Cromarty',0),(1381,'804',703,NULL,0,NULL,'Roxburghshire',0),(1382,'805',703,NULL,0,NULL,'Selkirkshire',0),(1383,'806',703,NULL,0,NULL,'Shetland',0),(1384,'807',703,NULL,0,NULL,'Stirlingshire',0),(1385,'808',703,NULL,0,NULL,'Sutherland',0),(1386,'809',703,NULL,0,NULL,'West Lothian',0),(1387,'810',703,NULL,0,NULL,'Wigtownshire',0),(1388,'811',704,NULL,0,NULL,'Antrim',0),(1389,'812',704,NULL,0,NULL,'Armagh',0),(1390,'813',704,NULL,0,NULL,'Co. Down',0),(1391,'814',704,NULL,0,NULL,'Co. Fermanagh',0),(1392,'815',704,NULL,0,NULL,'Co. Londonderry',0),(1393,'SS',8601,'',0,'','San Salvador',0),(1394,'SA',8603,'',0,'','Santa Ana',0),(1395,'AH',8603,'',0,'','Ahuachapan',0),(1396,'SO',8603,'',0,'','Sonsonate',0),(1397,'US',8602,'',0,'','Usulutan',0),(1398,'SM',8602,'',0,'','San Miguel',0),(1399,'MO',8602,'',0,'','Morazan',0),(1400,'LU',8602,'',0,'','La Union',0),(1401,'LL',8601,'',0,'','La Libertad',0),(1402,'CH',8601,'',0,'','Chalatenango',0),(1403,'CA',8601,'',0,'','Cabañas',0),(1404,'LP',8601,'',0,'','La Paz',0),(1405,'SV',8601,'',0,'','San Vicente',0),(1406,'CU',8601,'',0,'','Cuscatlan',0),(1407,'AN',11701,NULL,0,'AN','Andaman & Nicobar',0),(1408,'AP',11701,NULL,0,'AP','Andhra Pradesh',0),(1409,'AR',11701,NULL,0,'AR','Arunachal Pradesh',0),(1410,'AS',11701,NULL,0,'AS','Assam',0),(1411,'BR',11701,NULL,0,'BR','Bihar',0),(1412,'CG',11701,NULL,0,'CG','Chattisgarh',0),(1413,'CH',11701,NULL,0,'CH','Chandigarh',0),(1414,'DD',11701,NULL,0,'DD','Daman & Diu',0),(1415,'DL',11701,NULL,0,'DL','Delhi',0),(1416,'DN',11701,NULL,0,'DN','Dadra and Nagar Haveli',0),(1417,'GA',11701,NULL,0,'GA','Goa',0),(1418,'GJ',11701,NULL,0,'GJ','Gujarat',0),(1419,'HP',11701,NULL,0,'HP','Himachal Pradesh',0),(1420,'HR',11701,NULL,0,'HR','Haryana',0),(1421,'JH',11701,NULL,0,'JH','Jharkhand',0),(1422,'JK',11701,NULL,0,'JK','Jammu & Kashmir',0),(1423,'KA',11701,NULL,0,'KA','Karnataka',0),(1424,'KL',11701,NULL,0,'KL','Kerala',0),(1425,'LD',11701,NULL,0,'LD','Lakshadweep',0),(1426,'MH',11701,NULL,0,'MH','Maharashtra',0),(1427,'ML',11701,NULL,0,'ML','Meghalaya',0),(1428,'MN',11701,NULL,0,'MN','Manipur',0),(1429,'MP',11701,NULL,0,'MP','Madhya Pradesh',0),(1430,'MZ',11701,NULL,0,'MZ','Mizoram',0),(1431,'NL',11701,NULL,0,'NL','Nagaland',0),(1432,'OR',11701,NULL,0,'OR','Orissa',0),(1433,'PB',11701,NULL,0,'PB','Punjab',0),(1434,'PY',11701,NULL,0,'PY','Puducherry',0),(1435,'RJ',11701,NULL,0,'RJ','Rajasthan',0),(1436,'SK',11701,NULL,0,'SK','Sikkim',0),(1437,'TE',11701,NULL,0,'TE','Telangana',0),(1438,'TN',11701,NULL,0,'TN','Tamil Nadu',0),(1439,'TR',11701,NULL,0,'TR','Tripura',0),(1440,'UL',11701,NULL,0,'UL','Uttarakhand',0),(1441,'UP',11701,NULL,0,'UP','Uttar Pradesh',0),(1442,'WB',11701,NULL,0,'WB','West Bengal',0),(1443,'BA',11801,NULL,0,'BA','Bali',0),(1444,'BB',11801,NULL,0,'BB','Bangka Belitung',0),(1445,'BT',11801,NULL,0,'BT','Banten',0),(1446,'BE',11801,NULL,0,'BA','Bengkulu',0),(1447,'YO',11801,NULL,0,'YO','DI Yogyakarta',0),(1448,'JK',11801,NULL,0,'JK','DKI Jakarta',0),(1449,'GO',11801,NULL,0,'GO','Gorontalo',0),(1450,'JA',11801,NULL,0,'JA','Jambi',0),(1451,'JB',11801,NULL,0,'JB','Jawa Barat',0),(1452,'JT',11801,NULL,0,'JT','Jawa Tengah',0),(1453,'JI',11801,NULL,0,'JI','Jawa Timur',0),(1454,'KB',11801,NULL,0,'KB','Kalimantan Barat',0),(1455,'KS',11801,NULL,0,'KS','Kalimantan Selatan',0),(1456,'KT',11801,NULL,0,'KT','Kalimantan Tengah',0),(1457,'KI',11801,NULL,0,'KI','Kalimantan Timur',0),(1458,'KU',11801,NULL,0,'KU','Kalimantan Utara',0),(1459,'KR',11801,NULL,0,'KR','Kepulauan Riau',0),(1460,'LA',11801,NULL,0,'LA','Lampung',0),(1461,'MA',11801,NULL,0,'MA','Maluku',0),(1462,'MU',11801,NULL,0,'MU','Maluku Utara',0),(1463,'AC',11801,NULL,0,'AC','Nanggroe Aceh Darussalam',0),(1464,'NB',11801,NULL,0,'NB','Nusa Tenggara Barat',0),(1465,'NT',11801,NULL,0,'NT','Nusa Tenggara Timur',0),(1466,'PA',11801,NULL,0,'PA','Papua',0),(1467,'PB',11801,NULL,0,'PB','Papua Barat',0),(1468,'RI',11801,NULL,0,'RI','Riau',0),(1469,'SR',11801,NULL,0,'SR','Sulawesi Barat',0),(1470,'SN',11801,NULL,0,'SN','Sulawesi Selatan',0),(1471,'ST',11801,NULL,0,'ST','Sulawesi Tengah',0),(1472,'SG',11801,NULL,0,'SG','Sulawesi Tenggara',0),(1473,'SA',11801,NULL,0,'SA','Sulawesi Utara',0),(1474,'SB',11801,NULL,0,'SB','Sumatera Barat',0),(1475,'SS',11801,NULL,0,'SS','Sumatera Selatan',0),(1476,'SU',11801,NULL,0,'SU','Sumatera Utara	',0),(1477,'CMX',15401,'',0,'CMX','Ciudad de México',0),(1478,'AGS',15401,'',0,'AGS','Aguascalientes',0),(1479,'BCN',15401,'',0,'BCN','Baja California Norte',0),(1480,'BCS',15401,'',0,'BCS','Baja California Sur',0),(1481,'CAM',15401,'',0,'CAM','Campeche',0),(1482,'CHP',15401,'',0,'CHP','Chiapas',0),(1483,'CHI',15401,'',0,'CHI','Chihuahua',0),(1484,'COA',15401,'',0,'COA','Coahuila',0),(1485,'COL',15401,'',0,'COL','Colima',0),(1486,'DUR',15401,'',0,'DUR','Durango',0),(1487,'GTO',15401,'',0,'GTO','Guanajuato',0),(1488,'GRO',15401,'',0,'GRO','Guerrero',0),(1489,'HGO',15401,'',0,'HGO','Hidalgo',0),(1490,'JAL',15401,'',0,'JAL','Jalisco',0),(1491,'MEX',15401,'',0,'MEX','México',0),(1492,'MIC',15401,'',0,'MIC','Michoacán de Ocampo',0),(1493,'MOR',15401,'',0,'MOR','Morelos',0),(1494,'NAY',15401,'',0,'NAY','Nayarit',0),(1495,'NLE',15401,'',0,'NLE','Nuevo León',0),(1496,'OAX',15401,'',0,'OAX','Oaxaca',0),(1497,'PUE',15401,'',0,'PUE','Puebla',0),(1498,'QRO',15401,'',0,'QRO','Querétaro',0),(1499,'ROO',15401,'',0,'ROO','Quintana Roo',0),(1500,'SLP',15401,'',0,'SLP','San Luis Potosí',0),(1501,'SIN',15401,'',0,'SIN','Sinaloa',0),(1502,'SON',15401,'',0,'SON','Sonora',0),(1503,'TAB',15401,'',0,'TAB','Tabasco',0),(1504,'TAM',15401,'',0,'TAM','Tamaulipas',0),(1505,'TLX',15401,'',0,'TLX','Tlaxcala',0),(1506,'VER',15401,'',0,'VER','Veracruz',0),(1507,'YUC',15401,'',0,'YUC','Yucatán',0),(1508,'ZAC',15401,'',0,'ZAC','Zacatecas',0),(1509,'VE-L',23201,'',0,'VE-L','Mérida',0),(1510,'VE-T',23201,'',0,'VE-T','Trujillo',0),(1511,'VE-E',23201,'',0,'VE-E','Barinas',0),(1512,'VE-M',23202,'',0,'VE-M','Miranda',0),(1513,'VE-W',23202,'',0,'VE-W','Vargas',0),(1514,'VE-A',23202,'',0,'VE-A','Distrito Capital',0),(1515,'VE-D',23203,'',0,'VE-D','Aragua',0),(1516,'VE-G',23203,'',0,'VE-G','Carabobo',0),(1517,'VE-I',23204,'',0,'VE-I','Falcón',0),(1518,'VE-K',23204,'',0,'VE-K','Lara',0),(1519,'VE-U',23204,'',0,'VE-U','Yaracuy',0),(1520,'VE-F',23205,'',0,'VE-F','Bolívar',0),(1521,'VE-X',23205,'',0,'VE-X','Amazonas',0),(1522,'VE-Y',23205,'',0,'VE-Y','Delta Amacuro',0),(1523,'VE-O',23206,'',0,'VE-O','Nueva Esparta',0),(1524,'VE-Z',23206,'',0,'VE-Z','Dependencias Federales',0),(1525,'VE-C',23207,'',0,'VE-C','Apure',0),(1526,'VE-J',23207,'',0,'VE-J','Guárico',0),(1527,'VE-H',23207,'',0,'VE-H','Cojedes',0),(1528,'VE-P',23207,'',0,'VE-P','Portuguesa',0),(1529,'VE-B',23208,'',0,'VE-B','Anzoátegui',0),(1530,'VE-N',23208,'',0,'VE-N','Monagas',0),(1531,'VE-R',23208,'',0,'VE-R','Sucre',0),(1532,'VE-V',23209,'',0,'VE-V','Zulia',0),(1533,'VE-S',23209,'',0,'VE-S','Táchira',0),(1534,'AE-1',22701,'',0,'','Abu Dhabi',0),(1535,'AE-2',22701,'',0,'','Dubai',0),(1536,'AE-3',22701,'',0,'','Ajman',0),(1537,'AE-4',22701,'',0,'','Fujairah',0),(1538,'AE-5',22701,'',0,'','Ras al-Khaimah',0),(1539,'AE-6',22701,'',0,'','Sharjah',0),(1540,'AE-7',22701,'',0,'','Umm al-Quwain',0);
/*!40000 ALTER TABLE `llx_c_departements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ecotaxe`
--

DROP TABLE IF EXISTS `llx_c_ecotaxe`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ecotaxe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(64) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `organization` varchar(255) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_ecotaxe` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ecotaxe`
--

LOCK TABLES `llx_c_ecotaxe` WRITE;
/*!40000 ALTER TABLE `llx_c_ecotaxe` DISABLE KEYS */;
INSERT INTO `llx_c_ecotaxe` (`rowid`, `code`, `label`, `price`, `organization`, `fk_pays`, `active`) VALUES (1,'25040','PETIT APPAREILS MENAGERS',0.25000000,'Eco-systèmes',1,1),(2,'25050','TRES PETIT APPAREILS MENAGERS',0.08000000,'Eco-systèmes',1,1),(3,'32070','ECRAN POIDS < 5 KG',2.08000000,'Eco-systèmes',1,1),(4,'32080','ECRAN POIDS > 5 KG',1.25000000,'Eco-systèmes',1,1),(5,'32051','ORDINATEUR PORTABLE',0.42000000,'Eco-systèmes',1,1),(6,'32061','TABLETTE INFORMATIQUE',0.84000000,'Eco-systèmes',1,1),(7,'36011','ORDINATEUR FIXE (UC)',1.15000000,'Eco-systèmes',1,1),(8,'36021','IMPRIMANTES',0.83000000,'Eco-systèmes',1,1),(9,'36030','IT (INFORMATIQUE ET TELECOMS)',0.83000000,'Eco-systèmes',1,1),(10,'36040','PETIT IT (CLAVIERS / SOURIS)',0.08000000,'Eco-systèmes',1,1),(11,'36050','TELEPHONIE MOBILE',0.02000000,'Eco-systèmes',1,1),(12,'36060','CONNECTIQUE CABLES',0.02000000,'Eco-systèmes',1,1),(13,'45010','GROS MATERIEL GRAND PUBLIC (TELEAGRANDISSEURS)',1.67000000,'Eco-systèmes',1,1),(14,'45020','MOYEN MATERIEL GRAND PUBLIC (LOUPES ELECTRONIQUES)',0.42000000,'Eco-systèmes',1,1),(15,'45030','PETIT MATERIEL GRAND PUBLIC (VIE QUOTIDIENNE)',0.08000000,'Eco-systèmes',1,1),(16,'75030','JOUETS < 0,5 KG',0.08000000,'Eco-systèmes',1,1),(17,'75040','JOUETS ENTRE 0,5 KG ET 10 KG',0.17000000,'Eco-systèmes',1,1),(18,'74050','JOUETS > 10 KG',1.67000000,'Eco-systèmes',1,1),(19,'85010','EQUIPEMENT MEDICAL < 0,5 KG',0.08000000,'Eco-systèmes',1,1);
/*!40000 ALTER TABLE `llx_c_ecotaxe` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_effectif`
--

DROP TABLE IF EXISTS `llx_c_effectif`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_effectif` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_effectif` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_effectif`
--

LOCK TABLES `llx_c_effectif` WRITE;
/*!40000 ALTER TABLE `llx_c_effectif` DISABLE KEYS */;
INSERT INTO `llx_c_effectif` (`id`, `code`, `libelle`, `active`, `module`) VALUES (0,'EF0','-',1,NULL),(1,'EF1-5','1 - 5',1,NULL),(2,'EF6-10','6 - 10',1,NULL),(3,'EF11-50','11 - 50',1,NULL),(4,'EF51-100','51 - 100',1,NULL),(5,'EF100-500','100 - 500',1,NULL),(6,'EF500-','> 500',1,NULL);
/*!40000 ALTER TABLE `llx_c_effectif` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_email_senderprofile`
--

DROP TABLE IF EXISTS `llx_c_email_senderprofile`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_email_senderprofile` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `private` smallint(6) NOT NULL DEFAULT 0,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `signature` text DEFAULT NULL,
  `position` smallint(6) DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_senderprofile` (`entity`,`label`,`email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_email_senderprofile`
--

LOCK TABLES `llx_c_email_senderprofile` WRITE;
/*!40000 ALTER TABLE `llx_c_email_senderprofile` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_email_senderprofile` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_email_templates`
--

DROP TABLE IF EXISTS `llx_c_email_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_email_templates` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `type_template` varchar(32) DEFAULT NULL,
  `lang` varchar(6) DEFAULT '',
  `private` smallint(6) NOT NULL DEFAULT 0,
  `fk_user` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(180) DEFAULT NULL,
  `position` smallint(6) DEFAULT NULL,
  `enabled` varchar(255) DEFAULT '1',
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `topic` text DEFAULT NULL,
  `joinfiles` text DEFAULT NULL,
  `content` mediumtext DEFAULT NULL,
  `content_lines` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_templates` (`entity`,`label`,`lang`),
  KEY `idx_type` (`type_template`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_email_templates`
--

LOCK TABLES `llx_c_email_templates` WRITE;
/*!40000 ALTER TABLE `llx_c_email_templates` DISABLE KEYS */;
INSERT INTO `llx_c_email_templates` (`rowid`, `entity`, `module`, `type_template`, `lang`, `private`, `fk_user`, `datec`, `tms`, `label`, `position`, `enabled`, `active`, `topic`, `joinfiles`, `content`, `content_lines`) VALUES (1,0,'banque','thirdparty','',0,NULL,NULL,'2022-04-25 11:44:41','(YourSEPAMandate)',1,'$conf->societe->enabled && $conf->banque->enabled && $conf->prelevement->enabled',0,'__(YourSEPAMandate)__','0','__(Hello)__,<br><br>\n\n__(FindYourSEPAMandate)__ :<br>\n__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br><br>\n__(Sincerely)__<br>\n__USER_SIGNATURE__',NULL),(2,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnAutoSubscription)',10,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipRequestWasReceived)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipRequestWasReceived)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(3,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnMemberValidation)',20,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasValidated)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourMembershipWasValidated)__<br>__(FirstName)__ : __MEMBER_FIRSTNAME__<br>__(LastName)__ : __MEMBER_LASTNAME__<br>__(ID)__ : __MEMBER_ID__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(4,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnNewSubscription)',30,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourSubscriptionWasRecorded)__','1','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfYourSubscriptionWasRecorded)__<br>\n\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(5,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingReminderForExpiredSubscription)',40,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(SubscriptionReminderEmail)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(ThisIsContentOfSubscriptionReminderEmail)__<br>\n<br>__ONLINE_PAYMENT_TEXT_AND_URL__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(6,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnCancelation)',50,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourMembershipWasCanceled)__','0','__(Hello)__ __MEMBER_FULLNAME__,<br><br>\n\n__(YourMembershipWasCanceled)__<br>\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(7,0,'adherent','member','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingAnEMailToMember)',60,'$conf->adherent->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(CardContent)__','0','__(Hello)__,<br><br>\n\n__(ThisIsContentOfYourCard)__<br>\n__(ID)__ : __ID__<br>\n__(Civility)__ : __MEMBER_CIVILITY__<br>\n__(Firstname)__ : __MEMBER_FIRSTNAME__<br>\n__(Lastname)__ : __MEMBER_LASTNAME__<br>\n__(Fullname)__ : __MEMBER_FULLNAME__<br>\n__(Company)__ : __MEMBER_COMPANY__<br>\n__(Address)__ : __MEMBER_ADDRESS__<br>\n__(Zip)__ : __MEMBER_ZIP__<br>\n__(Town)__ : __MEMBER_TOWN__<br>\n__(Country)__ : __MEMBER_COUNTRY__<br>\n__(Email)__ : __MEMBER_EMAIL__<br>\n__(Birthday)__ : __MEMBER_BIRTH__<br>\n__(Photo)__ : __MEMBER_PHOTO__<br>\n__(Login)__ : __MEMBER_LOGIN__<br>\n__(Phone)__ : __MEMBER_PHONE__<br>\n__(PhonePerso)__ : __MEMBER_PHONEPRO__<br>\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(8,0,'recruitment','recruitmentcandidature_send','',0,NULL,NULL,'2022-04-25 11:44:41','(AnswerCandidature)',100,'$conf->recruitment->enabled',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(YourCandidature)__','0','__(Hello)__ __CANDIDATE_FULLNAME__,<br><br>\n\n__(YourCandidatureAnswerMessage)__<br>__ONLINE_INTERVIEW_SCHEDULER_TEXT_AND_URL__\n<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__',NULL),(9,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationEmailAskConf)',10,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskConf)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventConfRequestWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(10,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationEmailAskBooth)',20,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailAskBooth)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventBoothRequestWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(11,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationEmailSubsBooth)',30,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailBoothPayment)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventPaymentOfBoothWasReceived)__<br /><br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(12,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationEmailSubsEvent)',40,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationEmailRegistrationPayment)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventPaymentOfRegistrationWasReceived)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(13,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationMassEmailAttendees)',50,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailAttendees)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventBulkMailToAttendees)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(14,0,'','conferenceorbooth','',0,NULL,NULL,'2022-04-25 11:44:41','(EventOrganizationMassEmailSpeakers)',60,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] __(EventOrganizationMassEmailSpeakers)__',NULL,'__(Hello)__,<br /><br />__(OrganizationEventBulkMailToSpeakers)__<br /><br />__(Sincerely)__<br />__USER_SIGNATURE__',NULL),(15,0,'partnership','partnership_send','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnPartnershipWillSoonBeCanceled)',100,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipWillSoonBeCanceledTopic)__','0','<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipWillSoonBeCanceledContent)__</p>\n<br />\n\n<br />\n\n            __(Sincerely)__ <br />\n            __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n',NULL),(16,0,'partnership','partnership_send','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnPartnershipCanceled)',100,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipCanceledTopic)__','0','<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipCanceledContent)__</p>\n<br />\n\n<br />\n\n            __(Sincerely)__ <br />\n            __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n',NULL),(17,0,'partnership','partnership_send','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnPartnershipRefused)',100,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipRefusedTopic)__','0','<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipRefusedContent)__</p>\n<br />\n\n<br />\n\n            __(Sincerely)__ <br />\n            __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n',NULL),(18,0,'partnership','partnership_send','',0,NULL,NULL,'2022-04-25 11:44:41','(SendingEmailOnPartnershipAccepted)',100,'1',1,'[__[MAIN_INFO_SOCIETE_NOM]__] - __(YourPartnershipAcceptedTopic)__','0','<body>\n <p>__(Hello)__,<br><br>\n__(YourPartnershipAcceptedContent)__</p>\n<br />\n\n<br />\n\n            __(Sincerely)__ <br />\n            __[MAIN_INFO_SOCIETE_NOM]__ <br />\n </body>\n',NULL),(19,1,NULL,'propal_send',NULL,0,1,NULL,'2022-04-26 09:34:19','Envoi Devis par défaut',1,'1',1,'Devis n° __REF__','1','Bonjour,<br />\r\n<br />\r\nVeuillez trouver en pi&egrave;ce jointe le <strong>devis&nbsp;n&deg;&nbsp;__REF__.</strong><br />\r\n<br />\r\nCordialement',NULL),(20,1,NULL,'facture_send',NULL,0,1,NULL,'2022-04-26 09:34:09','Envoi Facture par défaut',2,'1',1,'Facture n° __REF__','1','Bonjour,<br />\r\n<br />\r\nVeuillez trouver en pi&egrave;ce jointe la <strong>facture n&deg;&nbsp;__REF__.</strong><br />\r\n<br />\r\nCordialement',NULL);
/*!40000 ALTER TABLE `llx_c_email_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_exp_tax_cat`
--

DROP TABLE IF EXISTS `llx_c_exp_tax_cat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_exp_tax_cat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(48) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_exp_tax_cat`
--

LOCK TABLES `llx_c_exp_tax_cat` WRITE;
/*!40000 ALTER TABLE `llx_c_exp_tax_cat` DISABLE KEYS */;
INSERT INTO `llx_c_exp_tax_cat` (`rowid`, `label`, `entity`, `active`) VALUES (1,'ExpAutoCat',1,0),(2,'ExpCycloCat',1,0),(3,'ExpMotoCat',1,0),(4,'ExpAuto3CV',1,1),(5,'ExpAuto4CV',1,1),(6,'ExpAuto5CV',1,1),(7,'ExpAuto6CV',1,1),(8,'ExpAuto7CV',1,1),(9,'ExpAuto8CV',1,1),(10,'ExpAuto9CV',1,0),(11,'ExpAuto10CV',1,0),(12,'ExpAuto11CV',1,0),(13,'ExpAuto12CV',1,0),(14,'ExpAuto3PCV',1,0),(15,'ExpAuto4PCV',1,0),(16,'ExpAuto5PCV',1,0),(17,'ExpAuto6PCV',1,0),(18,'ExpAuto7PCV',1,0),(19,'ExpAuto8PCV',1,0),(20,'ExpAuto9PCV',1,0),(21,'ExpAuto10PCV',1,0),(22,'ExpAuto11PCV',1,0),(23,'ExpAuto12PCV',1,0),(24,'ExpAuto13PCV',1,0),(25,'ExpCyclo',1,0),(26,'ExpMoto12CV',1,0),(27,'ExpMoto345CV',1,0),(28,'ExpMoto5PCV',1,0);
/*!40000 ALTER TABLE `llx_c_exp_tax_cat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_exp_tax_range`
--

DROP TABLE IF EXISTS `llx_c_exp_tax_range`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_exp_tax_range` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_c_exp_tax_cat` int(11) NOT NULL DEFAULT 1,
  `range_ik` double NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_exp_tax_range`
--

LOCK TABLES `llx_c_exp_tax_range` WRITE;
/*!40000 ALTER TABLE `llx_c_exp_tax_range` DISABLE KEYS */;
INSERT INTO `llx_c_exp_tax_range` (`rowid`, `fk_c_exp_tax_cat`, `range_ik`, `entity`, `active`) VALUES (1,4,0,1,1),(2,4,5000,1,1),(3,4,20000,1,1),(4,5,0,1,1),(5,5,5000,1,1),(6,5,20000,1,1),(7,6,0,1,1),(8,6,5000,1,1),(9,6,20000,1,1),(10,7,0,1,1),(11,7,5000,1,1),(12,7,20000,1,1),(13,8,0,1,1),(14,8,5000,1,1),(15,8,20000,1,1);
/*!40000 ALTER TABLE `llx_c_exp_tax_range` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_field_list`
--

DROP TABLE IF EXISTS `llx_c_field_list`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_field_list` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `element` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `name` varchar(32) NOT NULL,
  `alias` varchar(32) NOT NULL,
  `title` varchar(32) NOT NULL,
  `align` varchar(6) DEFAULT 'left',
  `sort` tinyint(4) NOT NULL DEFAULT 1,
  `search` tinyint(4) NOT NULL DEFAULT 0,
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `enabled` varchar(255) DEFAULT '1',
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_field_list`
--

LOCK TABLES `llx_c_field_list` WRITE;
/*!40000 ALTER TABLE `llx_c_field_list` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_field_list` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_format_cards`
--

DROP TABLE IF EXISTS `llx_c_format_cards`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_format_cards` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `paper_size` varchar(20) NOT NULL,
  `orientation` varchar(1) NOT NULL,
  `metric` varchar(5) NOT NULL,
  `leftmargin` double(24,8) NOT NULL,
  `topmargin` double(24,8) NOT NULL,
  `nx` int(11) NOT NULL,
  `ny` int(11) NOT NULL,
  `spacex` double(24,8) NOT NULL,
  `spacey` double(24,8) NOT NULL,
  `width` double(24,8) NOT NULL,
  `height` double(24,8) NOT NULL,
  `font_size` int(11) NOT NULL,
  `custom_x` double(24,8) NOT NULL,
  `custom_y` double(24,8) NOT NULL,
  `active` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_format_cards`
--

LOCK TABLES `llx_c_format_cards` WRITE;
/*!40000 ALTER TABLE `llx_c_format_cards` DISABLE KEYS */;
INSERT INTO `llx_c_format_cards` (`rowid`, `code`, `name`, `paper_size`, `orientation`, `metric`, `leftmargin`, `topmargin`, `nx`, `ny`, `spacex`, `spacey`, `width`, `height`, `font_size`, `custom_x`, `custom_y`, `active`) VALUES (1,'5160','Avery-5160, WL-875WX','letter','P','mm',5.58165000,12.70000000,3,10,3.55600000,0.00000000,65.87490000,25.40000000,7,0.00000000,0.00000000,1),(2,'5161','Avery-5161, WL-75WX','letter','P','mm',4.44500000,12.70000000,2,10,3.96800000,0.00000000,101.60000000,25.40000000,7,0.00000000,0.00000000,1),(3,'5162','Avery-5162, WL-100WX','letter','P','mm',3.87350000,22.35200000,2,7,4.95400000,0.00000000,101.60000000,33.78100000,8,0.00000000,0.00000000,1),(4,'5163','Avery-5163, WL-125WX','letter','P','mm',4.57200000,12.70000000,2,5,3.55600000,0.00000000,101.60000000,50.80000000,10,0.00000000,0.00000000,1),(5,'5164','Avery-5164 (inch)','letter','P','in',0.14800000,0.50000000,2,3,0.20310000,0.00000000,4.00000000,3.33000000,12,0.00000000,0.00000000,0),(6,'8600','Avery-8600','letter','P','mm',7.10000000,19.00000000,3,10,9.50000000,3.10000000,66.60000000,25.40000000,7,0.00000000,0.00000000,1),(7,'99012','DYMO 99012 89*36mm','custom','L','mm',1.00000000,1.00000000,1,1,0.00000000,0.00000000,36.00000000,89.00000000,10,36.00000000,89.00000000,1),(8,'99014','DYMO 99014 101*54mm','custom','L','mm',1.00000000,1.00000000,1,1,0.00000000,0.00000000,54.00000000,101.00000000,10,54.00000000,101.00000000,1),(9,'AVERYC32010','Avery-C32010','A4','P','mm',15.00000000,13.00000000,2,5,10.00000000,0.00000000,85.00000000,54.00000000,10,0.00000000,0.00000000,1),(10,'CARD','Dolibarr Business cards','A4','P','mm',15.00000000,15.00000000,2,5,0.00000000,0.00000000,85.00000000,54.00000000,10,0.00000000,0.00000000,1),(11,'L7163','Avery-L7163','A4','P','mm',5.00000000,15.00000000,2,7,2.50000000,0.00000000,99.10000000,38.10000000,8,0.00000000,0.00000000,1);
/*!40000 ALTER TABLE `llx_c_format_cards` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_forme_juridique`
--

DROP TABLE IF EXISTS `llx_c_forme_juridique`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_forme_juridique` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `isvatexempted` tinyint(4) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_forme_juridique` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=259 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_forme_juridique`
--

LOCK TABLES `llx_c_forme_juridique` WRITE;
/*!40000 ALTER TABLE `llx_c_forme_juridique` DISABLE KEYS */;
INSERT INTO `llx_c_forme_juridique` (`rowid`, `code`, `fk_pays`, `libelle`, `isvatexempted`, `active`, `module`, `position`) VALUES (1,0,0,'-',0,1,NULL,0),(2,2301,23,'Monotributista',0,0,NULL,0),(3,2302,23,'Sociedad Civil',0,0,NULL,0),(4,2303,23,'Sociedades Comerciales',0,0,NULL,0),(5,2304,23,'Sociedades de Hecho',0,0,NULL,0),(6,2305,23,'Sociedades Irregulares',0,0,NULL,0),(7,2306,23,'Sociedad Colectiva',0,0,NULL,0),(8,2307,23,'Sociedad en Comandita Simple',0,0,NULL,0),(9,2308,23,'Sociedad de Capital e Industria',0,0,NULL,0),(10,2309,23,'Sociedad Accidental o en participación',0,0,NULL,0),(11,2310,23,'Sociedad de Responsabilidad Limitada',0,0,NULL,0),(12,2311,23,'Sociedad Anónima',0,0,NULL,0),(13,2312,23,'Sociedad Anónima con Participación Estatal Mayoritaria',0,0,NULL,0),(14,2313,23,'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)',0,0,NULL,0),(15,4100,41,'GmbH - Gesellschaft mit beschränkter Haftung',0,0,NULL,0),(16,4101,41,'GesmbH - Gesellschaft mit beschränkter Haftung',0,0,NULL,0),(17,4102,41,'AG - Aktiengesellschaft',0,0,NULL,0),(18,4103,41,'EWIV - Europäische wirtschaftliche Interessenvereinigung',0,0,NULL,0),(19,4104,41,'KEG - Kommanditerwerbsgesellschaft',0,0,NULL,0),(20,4105,41,'OEG - Offene Erwerbsgesellschaft',0,0,NULL,0),(21,4106,41,'OHG - Offene Handelsgesellschaft',0,0,NULL,0),(22,4107,41,'AG & Co KG - Kommanditgesellschaft',0,0,NULL,0),(23,4108,41,'GmbH & Co KG - Kommanditgesellschaft',0,0,NULL,0),(24,4109,41,'KG - Kommanditgesellschaft',0,0,NULL,0),(25,4110,41,'OG - Offene Gesellschaft',0,0,NULL,0),(26,4111,41,'GbR - Gesellschaft nach bürgerlichem Recht',0,0,NULL,0),(27,4112,41,'GesbR - Gesellschaft nach bürgerlichem Recht',0,0,NULL,0),(28,4113,41,'GesnbR - Gesellschaft nach bürgerlichem Recht',0,0,NULL,0),(29,4114,41,'e.U. - eingetragener Einzelunternehmer',0,0,NULL,0),(30,200,2,'Indépendant',0,0,NULL,0),(31,201,2,'SRL - Société à responsabilité limitée',0,0,NULL,0),(32,202,2,'SA   - Société Anonyme',0,0,NULL,0),(33,203,2,'SCRL - Société coopérative à responsabilité limitée',0,0,NULL,0),(34,204,2,'ASBL - Association sans but Lucratif',0,0,NULL,0),(35,205,2,'SCRI - Société coopérative à responsabilité illimitée',0,0,NULL,0),(36,206,2,'SCS  - Société en commandite simple',0,0,NULL,0),(37,207,2,'SCA  - Société en commandite par action',0,0,NULL,0),(38,208,2,'SNC  - Société en nom collectif',0,0,NULL,0),(39,209,2,'GIE  - Groupement d intérêt économique',0,0,NULL,0),(40,210,2,'GEIE - Groupement européen d intérêt économique',0,0,NULL,0),(41,220,2,'Eenmanszaak',0,0,NULL,0),(42,221,2,'BVBA - Besloten vennootschap met beperkte aansprakelijkheid',0,0,NULL,0),(43,222,2,'NV   - Naamloze Vennootschap',0,0,NULL,0),(44,223,2,'CVBA - Coöperatieve vennootschap met beperkte aansprakelijkheid',0,0,NULL,0),(45,224,2,'VZW  - Vereniging zonder winstoogmerk',0,0,NULL,0),(46,225,2,'CVOA - Coöperatieve vennootschap met onbeperkte aansprakelijkheid ',0,0,NULL,0),(47,226,2,'GCV  - Gewone commanditaire vennootschap',0,0,NULL,0),(48,227,2,'Comm.VA - Commanditaire vennootschap op aandelen',0,0,NULL,0),(49,228,2,'VOF  - Vennootschap onder firma',0,0,NULL,0),(50,229,2,'VS0  - Vennootschap met sociaal oogmerk',0,0,NULL,0),(51,11,1,'Artisan Commerçant (EI)',0,1,NULL,0),(52,12,1,'Commerçant (EI)',0,1,NULL,0),(53,13,1,'Artisan (EI)',0,1,NULL,0),(54,14,1,'Officier public ou ministériel',0,1,NULL,0),(55,15,1,'Profession libérale (EI)',0,1,NULL,0),(56,16,1,'Exploitant agricole',0,1,NULL,0),(57,17,1,'Agent commercial',0,1,NULL,0),(58,18,1,'Associé Gérant de société',0,1,NULL,0),(59,19,1,'Personne physique',0,1,NULL,0),(60,21,1,'Indivision',0,1,NULL,0),(61,22,1,'Société créée de fait',0,1,NULL,0),(62,23,1,'Société en participation',0,1,NULL,0),(63,24,1,'Société coopérative d\'interet collectif (SCIC)',0,1,NULL,0),(64,25,1,'Société coopérative de production à responsabilité limitée (SCOP)',0,1,NULL,0),(65,27,1,'Paroisse hors zone concordataire',0,1,NULL,0),(66,29,1,'Groupement de droit privé non doté de la personnalité morale',0,1,NULL,0),(67,31,1,'Personne morale de droit étranger, immatriculée au RCS',0,1,NULL,0),(68,32,1,'Personne morale de droit étranger, non immatriculée au RCS',0,1,NULL,0),(69,35,1,'Régime auto-entrepreneur',0,1,NULL,0),(70,41,1,'Etablissement public ou régie à caractère industriel ou commercial',0,1,NULL,0),(71,51,1,'Société coopérative commerciale particulière',0,1,NULL,0),(72,52,1,'Société en nom collectif',0,1,NULL,0),(73,53,1,'Société en commandite',0,1,NULL,0),(74,54,1,'Société à responsabilité limitée (SARL)',0,1,NULL,0),(75,55,1,'Société anonyme à conseil d administration',0,1,NULL,0),(76,56,1,'Société anonyme à directoire',0,1,NULL,0),(77,57,1,'Société par actions simplifiée (SAS)',0,1,NULL,0),(78,58,1,'Société à responsabilité limitée unipersonnelle (SARLU)',0,1,NULL,0),(79,59,1,'Société par actions simplifiée unipersonnelle (SASU)',0,1,NULL,0),(80,60,1,'Entreprise Individuelle à Responsabilité Limitée (EIRL)',0,1,NULL,0),(81,61,1,'Caisse d\'épargne et de prévoyance',0,1,NULL,0),(82,62,1,'Groupement d\'intérêt économique (GIE)',0,1,NULL,0),(83,63,1,'Société coopérative agricole',0,1,NULL,0),(84,64,1,'Société non commerciale d assurances',0,1,NULL,0),(85,65,1,'Société civile',0,1,NULL,0),(86,69,1,'Personnes de droit privé inscrites au RCS',0,1,NULL,0),(87,71,1,'Administration de l état',0,1,NULL,0),(88,72,1,'Collectivité territoriale',0,1,NULL,0),(89,73,1,'Etablissement public administratif',0,1,NULL,0),(90,74,1,'Personne morale de droit public administratif',0,1,NULL,0),(91,81,1,'Organisme gérant régime de protection social à adhésion obligatoire',0,1,NULL,0),(92,82,1,'Organisme mutualiste',0,1,NULL,0),(93,83,1,'Comité d entreprise',0,1,NULL,0),(94,84,1,'Organisme professionnel',0,1,NULL,0),(95,85,1,'Organisme de retraite à adhésion non obligatoire',0,1,NULL,0),(96,91,1,'Syndicat de propriétaires',0,1,NULL,0),(97,92,1,'Association loi 1901 ou assimilé',0,1,NULL,0),(98,93,1,'Fondation',0,1,NULL,0),(99,99,1,'Personne morale de droit privé',0,1,NULL,0),(100,500,5,'GmbH - Gesellschaft mit beschränkter Haftung',0,0,NULL,0),(101,501,5,'AG - Aktiengesellschaft ',0,0,NULL,0),(102,502,5,'GmbH&Co. KG - Gesellschaft mit beschränkter Haftung & Compagnie Kommanditgesellschaft',0,0,NULL,0),(103,503,5,'Gewerbe - Personengesellschaft',0,0,NULL,0),(104,504,5,'UG - Unternehmergesellschaft -haftungsbeschränkt-',0,0,NULL,0),(105,505,5,'GbR - Gesellschaft des bürgerlichen Rechts',0,0,NULL,0),(106,506,5,'KG - Kommanditgesellschaft',0,0,NULL,0),(107,507,5,'Ltd. - Limited Company',0,0,NULL,0),(108,508,5,'OHG - Offene Handelsgesellschaft',0,0,NULL,0),(109,509,5,'eG - eingetragene Genossenschaft',0,0,NULL,0),(110,8001,80,'Aktieselvskab A/S',0,0,NULL,0),(111,8002,80,'Anparts Selvskab ApS',0,0,NULL,0),(112,8003,80,'Personlig ejet selvskab',0,0,NULL,0),(113,8004,80,'Iværksætterselvskab IVS',0,0,NULL,0),(114,8005,80,'Interessentskab I/S',0,0,NULL,0),(115,8006,80,'Holdingselskab',0,0,NULL,0),(116,8007,80,'Selskab Med Begrænset Hæftelse SMBA',0,0,NULL,0),(117,8008,80,'Kommanditselskab K/S',0,0,NULL,0),(118,8009,80,'SPE-selskab',0,0,NULL,0),(119,10201,102,'??????? ??????????',0,0,NULL,0),(120,10202,102,'????????  ??????????',0,0,NULL,0),(121,10203,102,'????????? ???????? ?.?',0,0,NULL,0),(122,10204,102,'??????????? ???????? ?.?',0,0,NULL,0),(123,10205,102,'???????? ????????????? ??????? ?.?.?',0,0,NULL,0),(124,10206,102,'??????? ???????? ?.?',0,0,NULL,0),(125,10207,102,'??????? ?????????? ???????? ?.?.?',0,0,NULL,0),(126,10208,102,'?????????????',0,0,NULL,0),(127,10209,102,'??????????????',0,0,NULL,0),(128,301,3,'Società semplice',0,0,NULL,0),(129,302,3,'Società in nome collettivo s.n.c.',0,0,NULL,0),(130,303,3,'Società in accomandita semplice s.a.s.',0,0,NULL,0),(131,304,3,'Società per azioni s.p.a.',0,0,NULL,0),(132,305,3,'Società a responsabilità limitata s.r.l.',0,0,NULL,0),(133,306,3,'Società in accomandita per azioni s.a.p.a.',0,0,NULL,0),(134,307,3,'Società cooperativa a r.l.',0,0,NULL,0),(135,308,3,'Società consortile',0,0,NULL,0),(136,309,3,'Società europea',0,0,NULL,0),(137,310,3,'Società cooperativa europea',0,0,NULL,0),(138,311,3,'Società unipersonale',0,0,NULL,0),(139,312,3,'Società di professionisti',0,0,NULL,0),(140,313,3,'Società di fatto',0,0,NULL,0),(141,315,3,'Società apparente',0,0,NULL,0),(142,316,3,'Impresa individuale ',0,0,NULL,0),(143,317,3,'Impresa coniugale',0,0,NULL,0),(144,318,3,'Impresa familiare',0,0,NULL,0),(145,319,3,'Consorzio cooperativo',0,0,NULL,0),(146,320,3,'Società cooperativa sociale',0,0,NULL,0),(147,321,3,'Società cooperativa di consumo',0,0,NULL,0),(148,322,3,'Società cooperativa agricola',0,0,NULL,0),(149,323,3,'A.T.I. Associazione temporanea di imprese',0,0,NULL,0),(150,324,3,'R.T.I. Raggruppamento temporaneo di imprese',0,0,NULL,0),(151,325,3,'Studio associato',0,0,NULL,0),(152,600,6,'Raison Individuelle',0,0,NULL,0),(153,601,6,'Société Simple',0,0,NULL,0),(154,602,6,'Société en nom collectif',0,0,NULL,0),(155,603,6,'Société en commandite',0,0,NULL,0),(156,604,6,'Société anonyme (SA)',0,0,NULL,0),(157,605,6,'Société en commandite par actions',0,0,NULL,0),(158,606,6,'Société à responsabilité limitée (SARL)',0,0,NULL,0),(159,607,6,'Société coopérative',0,0,NULL,0),(160,608,6,'Association',0,0,NULL,0),(161,609,6,'Fondation',0,0,NULL,0),(162,700,7,'Sole Trader',0,0,NULL,0),(163,701,7,'Partnership',0,0,NULL,0),(164,702,7,'Private Limited Company by shares (LTD)',0,0,NULL,0),(165,703,7,'Public Limited Company',0,0,NULL,0),(166,704,7,'Workers Cooperative',0,0,NULL,0),(167,705,7,'Limited Liability Partnership',0,0,NULL,0),(168,706,7,'Franchise',0,0,NULL,0),(169,1000,10,'Société à responsabilité limitée (SARL)',0,0,NULL,0),(170,1001,10,'Société en Nom Collectif (SNC)',0,0,NULL,0),(171,1002,10,'Société en Commandite Simple (SCS)',0,0,NULL,0),(172,1003,10,'société en participation',0,0,NULL,0),(173,1004,10,'Société Anonyme (SA)',0,0,NULL,0),(174,1005,10,'Société Unipersonnelle à Responsabilité Limitée (SUARL)',0,0,NULL,0),(175,1006,10,'Groupement d\'intérêt économique (GEI)',0,0,NULL,0),(176,1007,10,'Groupe de sociétés',0,0,NULL,0),(177,1701,17,'Eenmanszaak',0,0,NULL,0),(178,1702,17,'Maatschap',0,0,NULL,0),(179,1703,17,'Vennootschap onder firma',0,0,NULL,0),(180,1704,17,'Commanditaire vennootschap',0,0,NULL,0),(181,1705,17,'Besloten vennootschap (BV)',0,0,NULL,0),(182,1706,17,'Naamloze Vennootschap (NV)',0,0,NULL,0),(183,1707,17,'Vereniging',0,0,NULL,0),(184,1708,17,'Stichting',0,0,NULL,0),(185,1709,17,'Coöperatie met beperkte aansprakelijkheid (BA)',0,0,NULL,0),(186,1710,17,'Coöperatie met uitgesloten aansprakelijkheid (UA)',0,0,NULL,0),(187,1711,17,'Coöperatie met wettelijke aansprakelijkheid (WA)',0,0,NULL,0),(188,1712,17,'Onderlinge waarborgmaatschappij',0,0,NULL,0),(189,401,4,'Empresario Individual',0,0,NULL,0),(190,402,4,'Comunidad de Bienes',0,0,NULL,0),(191,403,4,'Sociedad Civil',0,0,NULL,0),(192,404,4,'Sociedad Colectiva',0,0,NULL,0),(193,405,4,'Sociedad Limitada',0,0,NULL,0),(194,406,4,'Sociedad Anónima',0,0,NULL,0),(195,407,4,'Sociedad Comanditaria por Acciones',0,0,NULL,0),(196,408,4,'Sociedad Comanditaria Simple',0,0,NULL,0),(197,409,4,'Sociedad Laboral',0,0,NULL,0),(198,410,4,'Sociedad Cooperativa',0,0,NULL,0),(199,411,4,'Sociedad de Garantía Recíproca',0,0,NULL,0),(200,412,4,'Entidad de Capital-Riesgo',0,0,NULL,0),(201,413,4,'Agrupación de Interés Económico',0,0,NULL,0),(202,414,4,'Sociedad de Inversión Mobiliaria',0,0,NULL,0),(203,415,4,'Agrupación sin Ánimo de Lucro',0,0,NULL,0),(204,15201,152,'Mauritius Private Company Limited By Shares',0,0,NULL,0),(205,15202,152,'Mauritius Company Limited By Guarantee',0,0,NULL,0),(206,15203,152,'Mauritius Public Company Limited By Shares',0,0,NULL,0),(207,15204,152,'Mauritius Foreign Company',0,0,NULL,0),(208,15205,152,'Mauritius GBC1 (Offshore Company)',0,0,NULL,0),(209,15206,152,'Mauritius GBC2 (International Company)',0,0,NULL,0),(210,15207,152,'Mauritius General Partnership',0,0,NULL,0),(211,15208,152,'Mauritius Limited Partnership',0,0,NULL,0),(212,15209,152,'Mauritius Sole Proprietorship',0,0,NULL,0),(213,15210,152,'Mauritius Trusts',0,0,NULL,0),(214,15401,154,'Sociedad en nombre colectivo',0,0,NULL,0),(215,15402,154,'Sociedad en comandita simple',0,0,NULL,0),(216,15403,154,'Sociedad de responsabilidad limitada',0,0,NULL,0),(217,15404,154,'Sociedad anónima',0,0,NULL,0),(218,15405,154,'Sociedad en comandita por acciones',0,0,NULL,0),(219,15406,154,'Sociedad cooperativa',0,0,NULL,0),(220,14001,140,'Entreprise individuelle',0,0,NULL,0),(221,14002,140,'Société en nom collectif (SENC)',0,0,NULL,0),(222,14003,140,'Société en commandite simple (SECS)',0,0,NULL,0),(223,14004,140,'Société en commandite par actions (SECA)',0,0,NULL,0),(224,14005,140,'Société à responsabilité limitée (SARL)',0,0,NULL,0),(225,14006,140,'Société anonyme (SA)',0,0,NULL,0),(226,14007,140,'Société coopérative (SC)',0,0,NULL,0),(227,14008,140,'Société européenne (SE)',0,0,NULL,0),(228,18801,188,'AFJ - Alte forme juridice',0,0,NULL,0),(229,18802,188,'ASF - Asociatie familialã',0,0,NULL,0),(230,18803,188,'CON - Concesiune',0,0,NULL,0),(231,18804,188,'CRL - Soc civilã profesionala cu pers. juridica si rãspundere limitata (SPRL)',0,0,NULL,0),(232,18805,188,'INC - Închiriere',0,0,NULL,0),(233,18806,188,'LOC - Loca?ie de gestiune',0,0,NULL,0),(234,18807,188,'OC1 - Organiza?ie cooperatistã me?te?ugãreascã',0,0,NULL,0),(235,18808,188,'OC2 - Organiza?ie cooperatistã de consum',0,0,NULL,0),(236,18809,188,'OC3 - Organiza?ie cooperatistã de credit',0,0,NULL,0),(237,18810,188,'PFA - Persoanã fizicã independentã',0,0,NULL,0),(238,18811,188,'RA - Regie autonomã',0,0,NULL,0),(239,18812,188,'SA - Societate comercialã pe ac?iuni',0,0,NULL,0),(240,18813,188,'SCS - Societate comercialã în comanditã simplã',0,0,NULL,0),(241,18814,188,'SNC - Societate comercialã în nume colectiv',0,0,NULL,0),(242,18815,188,'SPI - Societate profesionala practicieni in insolventa (SPPI)',0,0,NULL,0),(243,18816,188,'SRL - Societate comercialã cu rãspundere limitatã',0,0,NULL,0),(244,18817,188,'URL - Intreprindere profesionala unipersonala cu rãspundere limitata (IPURL)',0,0,NULL,0),(245,17801,178,'Empresa individual',0,0,NULL,0),(246,17802,178,'Asociación General',0,0,NULL,0),(247,17803,178,'Sociedad de Responsabilidad Limitada',0,0,NULL,0),(248,17804,178,'Sociedad Civil',0,0,NULL,0),(249,17805,178,'Sociedad Anónima',0,0,NULL,0),(250,1300,13,'Personne physique',0,0,NULL,0),(251,1301,13,'Société à responsabilité limitée (SARL)',0,0,NULL,0),(252,1302,13,'Entreprise unipersonnelle à responsabilité limitée (EURL)',0,0,NULL,0),(253,1303,13,'Société en Nom Collectif (SNC)',0,0,NULL,0),(254,1304,13,'société par actions (SPA)',0,0,NULL,0),(255,1305,13,'Société en Commandite Simple (SCS)',0,0,NULL,0),(256,1306,13,'Société en commandite par actions (SCA)',0,0,NULL,0),(257,1307,13,'Société en participation',0,0,NULL,0),(258,1308,13,'Groupe de sociétés',0,0,NULL,0);
/*!40000 ALTER TABLE `llx_c_forme_juridique` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_holiday_types`
--

DROP TABLE IF EXISTS `llx_c_holiday_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_holiday_types` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) NOT NULL,
  `label` varchar(255) NOT NULL,
  `affect` int(11) NOT NULL,
  `delay` int(11) NOT NULL,
  `newByMonth` double(8,5) NOT NULL DEFAULT 0.00000,
  `fk_country` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_holiday_types` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_holiday_types`
--

LOCK TABLES `llx_c_holiday_types` WRITE;
/*!40000 ALTER TABLE `llx_c_holiday_types` DISABLE KEYS */;
INSERT INTO `llx_c_holiday_types` (`rowid`, `code`, `label`, `affect`, `delay`, `newByMonth`, `fk_country`, `active`) VALUES (1,'LEAVE_SICK','Sick leave',0,0,0.00000,NULL,1),(2,'LEAVE_OTHER','Other leave',0,0,0.00000,NULL,1),(3,'LEAVE_PAID','Paid vacation',1,7,0.00000,NULL,0),(4,'LEAVE_RTT_FR','RTT',1,7,0.83000,1,1),(5,'LEAVE_PAID_FR','Paid vacation',1,30,2.08334,1,1);
/*!40000 ALTER TABLE `llx_c_holiday_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_hrm_department`
--

DROP TABLE IF EXISTS `llx_c_hrm_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_hrm_department` (
  `rowid` int(11) NOT NULL,
  `pos` tinyint(4) NOT NULL DEFAULT 0,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_hrm_department`
--

LOCK TABLES `llx_c_hrm_department` WRITE;
/*!40000 ALTER TABLE `llx_c_hrm_department` DISABLE KEYS */;
INSERT INTO `llx_c_hrm_department` (`rowid`, `pos`, `code`, `label`, `active`) VALUES (1,5,'MANAGEMENT','Management',1),(3,15,'TRAINING','Training',1),(4,20,'IT','Inform. Technology (IT)',0),(5,25,'MARKETING','Marketing',0),(6,30,'SALES','Sales',1),(7,35,'LEGAL','Legal',0),(8,40,'FINANCIAL','Financial accounting',1),(9,45,'HUMANRES','Human resources',1),(10,50,'PURCHASING','Purchasing',1),(12,60,'CUSTOMSERV','Customer service',0),(14,70,'LOGISTIC','Logistics',1),(15,75,'CONSTRUCT','Engineering/design',0),(16,80,'PRODUCTION','Production',1),(17,85,'QUALITY','Quality assurance',0);
/*!40000 ALTER TABLE `llx_c_hrm_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_hrm_function`
--

DROP TABLE IF EXISTS `llx_c_hrm_function`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_hrm_function` (
  `rowid` int(11) NOT NULL,
  `pos` tinyint(4) NOT NULL DEFAULT 0,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `c_level` tinyint(4) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_hrm_function`
--

LOCK TABLES `llx_c_hrm_function` WRITE;
/*!40000 ALTER TABLE `llx_c_hrm_function` DISABLE KEYS */;
INSERT INTO `llx_c_hrm_function` (`rowid`, `pos`, `code`, `label`, `c_level`, `active`) VALUES (1,5,'EXECBOARD','Executive board',0,1),(2,10,'MANAGDIR','Managing director',1,1),(3,15,'ACCOUNTMANAG','Account manager',0,1),(4,20,'ENGAGDIR','Engagement director',1,1),(5,25,'DIRECTOR','Director',1,1),(6,30,'PROJMANAG','Project manager',0,1),(7,35,'DEPHEAD','Department head',0,1),(8,40,'SECRETAR','Secretary',0,1),(9,45,'EMPLOYEE','Department employee',0,1);
/*!40000 ALTER TABLE `llx_c_hrm_function` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_hrm_public_holiday`
--

DROP TABLE IF EXISTS `llx_c_hrm_public_holiday`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_hrm_public_holiday` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 0,
  `fk_country` int(11) DEFAULT NULL,
  `code` varchar(62) DEFAULT NULL,
  `dayrule` varchar(64) DEFAULT '',
  `day` int(11) DEFAULT NULL,
  `month` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_hrm_public_holiday` (`entity`,`code`),
  UNIQUE KEY `uk_c_hrm_public_holiday2` (`entity`,`fk_country`,`dayrule`,`day`,`month`,`year`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_hrm_public_holiday`
--

LOCK TABLES `llx_c_hrm_public_holiday` WRITE;
/*!40000 ALTER TABLE `llx_c_hrm_public_holiday` DISABLE KEYS */;
INSERT INTO `llx_c_hrm_public_holiday` (`id`, `entity`, `fk_country`, `code`, `dayrule`, `day`, `month`, `year`, `active`, `import_key`) VALUES (1,0,0,'NEWYEARDAY1','',1,1,0,1,NULL),(2,0,0,'LABORDAY1','',1,5,0,1,NULL),(3,0,0,'ASSOMPTIONDAY1','',15,8,0,1,NULL),(4,0,0,'CHRISTMASDAY1','',25,12,0,1,NULL),(5,0,1,'FR-VICTORYDAY','',8,5,0,1,NULL),(6,0,1,'FR-NATIONALDAY','',14,7,0,1,NULL),(7,0,1,'FR-ASSOMPTION','',15,8,0,1,NULL),(8,0,1,'FR-TOUSSAINT','',1,11,0,1,NULL),(9,0,1,'FR-ARMISTICE','',11,11,0,1,NULL),(10,0,1,'FR-EASTER','eastermonday',0,0,0,1,NULL),(11,0,1,'FR-ASCENSION','ascension',0,0,0,1,NULL),(12,0,1,'FR-PENTECOST','pentecost',0,0,0,1,NULL),(13,0,3,'IT-LIBEAZIONE','',25,4,0,1,NULL),(14,0,3,'IT-EPIPHANY','',1,6,0,1,NULL),(15,0,3,'IT-REPUBBLICA','',2,6,0,1,NULL),(16,0,3,'IT-TUTTISANTIT','',1,11,0,1,NULL),(17,0,3,'IT-IMMACULE','',8,12,0,1,NULL),(18,0,3,'IT-SAINTSTEFAN','',26,12,0,1,NULL),(19,0,4,'ES-EASTER','easter',0,0,0,1,NULL),(20,0,4,'ES-REYE','',1,6,0,1,NULL),(21,0,4,'ES-HISPANIDAD','',12,10,0,1,NULL),(22,0,4,'ES-TOUSSAINT','',1,11,0,1,NULL),(23,0,4,'ES-CONSTITUIZION','',6,12,0,1,NULL),(24,0,4,'ES-IMMACULE','',8,12,0,1,NULL),(25,0,41,'AT-EASTER','eastermonday',0,0,0,1,NULL),(26,0,41,'AT-ASCENSION','ascension',0,0,0,1,NULL),(27,0,41,'AT-PENTECOST','pentecost',0,0,0,1,NULL),(28,0,41,'AT-FRONLEICHNAM','fronleichnam',0,0,0,1,NULL),(29,0,41,'AT-KONEGIE','',1,6,0,1,NULL),(30,0,41,'AT-26OKT','',26,10,0,1,NULL),(31,0,41,'AT-TOUSSAINT','',1,11,0,1,NULL),(32,0,41,'AT-IMMACULE','',8,12,0,1,NULL),(33,0,41,'AT-24DEC','',24,12,0,1,NULL),(34,0,41,'AT-SAINTSTEFAN','',26,12,0,1,NULL),(35,0,41,'AT-Silvester','',31,12,0,1,NULL),(36,0,117,'IN-REPUBLICDAY','',26,1,0,1,NULL),(37,0,117,'IN-GANDI','',2,10,0,1,NULL);
/*!40000 ALTER TABLE `llx_c_hrm_public_holiday` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_incoterms`
--

DROP TABLE IF EXISTS `llx_c_incoterms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_incoterms` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) NOT NULL,
  `label` varchar(100) DEFAULT NULL,
  `libelle` varchar(255) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_incoterms` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_incoterms`
--

LOCK TABLES `llx_c_incoterms` WRITE;
/*!40000 ALTER TABLE `llx_c_incoterms` DISABLE KEYS */;
INSERT INTO `llx_c_incoterms` (`rowid`, `code`, `label`, `libelle`, `active`) VALUES (1,'EXW','Ex Works','Ex Works, au départ non chargé, non dédouané sortie d\'usine (uniquement adapté aux flux domestiques, nationaux)',1),(2,'FCA','Free Carrier','Free Carrier, marchandises dédouanées et chargées dans le pays de départ, chez le vendeur ou chez le commissionnaire de transport de l\'acheteur',1),(3,'FAS','Free Alongside Ship','Free Alongside Ship, sur le quai du port de départ',1),(4,'FOB','Free On Board','Free On Board, chargé sur le bateau, les frais de chargement dans celui-ci étant fonction du liner term indiqué par la compagnie maritime (à la charge du vendeur)',1),(5,'CFR','Cost and Freight','Cost and Freight, chargé dans le bateau, livraison au port de départ, frais payés jusqu\'au port d\'arrivée, sans assurance pour le transport, non déchargé du navire à destination (les frais de déchargement sont inclus ou non au port d\'arrivée)',1),(6,'CIF','Cost, Insurance, Freight','Cost, Insurance and Freight, chargé sur le bateau, frais jusqu\'au port d\'arrivée, avec l\'assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur',1),(7,'CPT','Carriage Paid To','Carriage Paid To, livraison au premier transporteur, frais jusqu\'au déchargement du mode de transport, sans assurance pour le transport',1),(8,'CIP','Carriage Insurance Paid','Carriage and Insurance Paid to, idem CPT, avec assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur',1),(9,'DAT','Delivered At Terminal','Delivered At Terminal, marchandises (déchargées) livrées sur quai, dans un terminal maritime, fluvial, aérien, routier ou ferroviaire désigné (dédouanement import, et post-acheminement payés par l\'acheteur)',1),(10,'DAP','Delivered At Place','Delivered At Place, marchandises (non déchargées) mises à disposition de l\'acheteur dans le pays d\'importation au lieu précisé dans le contrat (déchargement, dédouanement import payé par l\'acheteur)',1),(11,'DDP','Delivered Duty Paid','Delivered Duty Paid, marchandises (non déchargées) livrées à destination finale, dédouanement import et taxes à la charge du vendeur ; l\'acheteur prend en charge uniquement le déchargement (si exclusion des taxes type TVA, le préciser clairement)',1),(12,'DPU','Delivered at Place Unloaded','Delivered at Place unloaded',1);
/*!40000 ALTER TABLE `llx_c_incoterms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_input_method`
--

DROP TABLE IF EXISTS `llx_c_input_method`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_input_method` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) DEFAULT NULL,
  `libelle` varchar(60) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_input_method` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_input_method`
--

LOCK TABLES `llx_c_input_method` WRITE;
/*!40000 ALTER TABLE `llx_c_input_method` DISABLE KEYS */;
INSERT INTO `llx_c_input_method` (`rowid`, `code`, `libelle`, `active`, `module`) VALUES (1,'OrderByMail','Courrier',1,NULL),(2,'OrderByFax','Fax',1,NULL),(3,'OrderByEMail','EMail',1,NULL),(4,'OrderByPhone','Téléphone',1,NULL),(5,'OrderByWWW','En ligne',1,NULL);
/*!40000 ALTER TABLE `llx_c_input_method` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_input_reason`
--

DROP TABLE IF EXISTS `llx_c_input_reason`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_input_reason` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) DEFAULT NULL,
  `label` varchar(60) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_input_reason` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_input_reason`
--

LOCK TABLES `llx_c_input_reason` WRITE;
/*!40000 ALTER TABLE `llx_c_input_reason` DISABLE KEYS */;
INSERT INTO `llx_c_input_reason` (`rowid`, `code`, `label`, `active`, `module`) VALUES (1,'SRC_INTE','Web site',1,NULL),(2,'SRC_CAMP_MAIL','Mailing campaign',1,NULL),(3,'SRC_CAMP_PHO','Phone campaign',1,NULL),(4,'SRC_CAMP_FAX','Fax campaign',1,NULL),(5,'SRC_COMM','Commercial contact',1,NULL),(6,'SRC_SHOP','Shop contact',1,NULL),(7,'SRC_CAMP_EMAIL','EMailing campaign',1,NULL),(8,'SRC_WOM','Word of mouth',1,NULL),(9,'SRC_PARTNER','Partner',1,NULL),(10,'SRC_EMPLOYEE','Employee',1,NULL),(11,'SRC_SPONSORING','Sponsorship',1,NULL),(12,'SRC_CUSTOMER','Incoming contact of a customer',1,NULL);
/*!40000 ALTER TABLE `llx_c_input_reason` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_lead_status`
--

DROP TABLE IF EXISTS `llx_c_lead_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_lead_status` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(10) DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `position` int(11) DEFAULT NULL,
  `percent` double(5,2) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_lead_status_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_lead_status`
--

LOCK TABLES `llx_c_lead_status` WRITE;
/*!40000 ALTER TABLE `llx_c_lead_status` DISABLE KEYS */;
INSERT INTO `llx_c_lead_status` (`rowid`, `code`, `label`, `position`, `percent`, `active`) VALUES (1,'PROSP','Prospection',10,0.00,1),(2,'QUAL','Qualification',20,20.00,1),(3,'PROPO','Proposal',30,40.00,1),(4,'NEGO','Negotiation',40,60.00,1),(5,'PENDING','Pending',50,50.00,0),(6,'WON','Won',60,100.00,1),(7,'LOST','Lost',70,0.00,1);
/*!40000 ALTER TABLE `llx_c_lead_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_paiement`
--

DROP TABLE IF EXISTS `llx_c_paiement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_paiement` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(6) NOT NULL,
  `libelle` varchar(62) DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_paiement_code` (`entity`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_paiement`
--

LOCK TABLES `llx_c_paiement` WRITE;
/*!40000 ALTER TABLE `llx_c_paiement` DISABLE KEYS */;
INSERT INTO `llx_c_paiement` (`id`, `entity`, `code`, `libelle`, `type`, `active`, `accountancy_code`, `module`, `position`) VALUES (1,1,'TIP','TIP',2,0,NULL,NULL,0),(2,1,'VIR','Transfer',2,1,NULL,NULL,0),(3,1,'PRE','Debit order',2,0,NULL,NULL,0),(4,1,'LIQ','Cash',2,1,NULL,NULL,0),(6,1,'CB','Credit card',2,1,NULL,NULL,0),(7,1,'CHQ','Cheque',2,1,NULL,NULL,0),(50,1,'VAD','Online payment',2,0,NULL,NULL,0),(51,1,'TRA','Traite',2,0,NULL,NULL,0),(52,1,'LCR','LCR',2,0,NULL,NULL,0),(53,1,'FAC','Factor',2,0,NULL,NULL,0);
/*!40000 ALTER TABLE `llx_c_paiement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_paper_format`
--

DROP TABLE IF EXISTS `llx_c_paper_format`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_paper_format` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) NOT NULL,
  `width` float(6,2) DEFAULT 0.00,
  `height` float(6,2) DEFAULT 0.00,
  `unit` varchar(5) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=226 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_paper_format`
--

LOCK TABLES `llx_c_paper_format` WRITE;
/*!40000 ALTER TABLE `llx_c_paper_format` DISABLE KEYS */;
INSERT INTO `llx_c_paper_format` (`rowid`, `code`, `label`, `width`, `height`, `unit`, `active`, `module`) VALUES (1,'EU4A0','Format 4A0',1682.00,2378.00,'mm',0,NULL),(2,'EU2A0','Format 2A0',1189.00,1682.00,'mm',0,NULL),(3,'EUA0','Format A0',840.00,1189.00,'mm',0,NULL),(4,'EUA1','Format A1',594.00,840.00,'mm',0,NULL),(5,'EUA2','Format A2',420.00,594.00,'mm',0,NULL),(6,'EUA3','Format A3',297.00,420.00,'mm',1,NULL),(7,'EUA4','Format A4',210.00,297.00,'mm',1,NULL),(8,'EUA5','Format A5',148.00,210.00,'mm',1,NULL),(9,'EUA6','Format A6',105.00,148.00,'mm',1,NULL),(100,'USLetter','Format Letter (A)',216.00,279.00,'mm',0,NULL),(105,'USLegal','Format Legal',216.00,356.00,'mm',0,NULL),(110,'USExecutive','Format Executive',190.00,254.00,'mm',0,NULL),(115,'USLedger','Format Ledger/Tabloid (B)',279.00,432.00,'mm',0,NULL),(200,'CAP1','Format Canadian P1',560.00,860.00,'mm',0,NULL),(205,'CAP2','Format Canadian P2',430.00,560.00,'mm',0,NULL),(210,'CAP3','Format Canadian P3',280.00,430.00,'mm',0,NULL),(215,'CAP4','Format Canadian P4',215.00,280.00,'mm',0,NULL),(220,'CAP5','Format Canadian P5',140.00,215.00,'mm',0,NULL),(225,'CAP6','Format Canadian P6',107.00,140.00,'mm',0,NULL);
/*!40000 ALTER TABLE `llx_c_paper_format` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_partnership_type`
--

DROP TABLE IF EXISTS `llx_c_partnership_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_partnership_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `label` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_partnership_type`
--

LOCK TABLES `llx_c_partnership_type` WRITE;
/*!40000 ALTER TABLE `llx_c_partnership_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_partnership_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_payment_term`
--

DROP TABLE IF EXISTS `llx_c_payment_term`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_payment_term` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(16) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` tinyint(4) DEFAULT 1,
  `libelle` varchar(255) DEFAULT NULL,
  `libelle_facture` text DEFAULT NULL,
  `type_cdr` tinyint(4) DEFAULT NULL,
  `nbjour` smallint(6) DEFAULT NULL,
  `decalage` smallint(6) DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_payment_term_code` (`entity`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_payment_term`
--

LOCK TABLES `llx_c_payment_term` WRITE;
/*!40000 ALTER TABLE `llx_c_payment_term` DISABLE KEYS */;
INSERT INTO `llx_c_payment_term` (`rowid`, `entity`, `code`, `sortorder`, `active`, `libelle`, `libelle_facture`, `type_cdr`, `nbjour`, `decalage`, `module`, `position`) VALUES (1,1,'RECEP',1,1,'Due upon receipt','Due upon receipt',0,1,NULL,NULL,0),(2,1,'30D',2,1,'30 days','Due in 30 days',0,30,NULL,NULL,0),(3,1,'30DENDMONTH',3,1,'30 days end of month','Due in 30 days, end of month',1,30,NULL,NULL,0),(4,1,'60D',4,1,'60 days','Due in 60 days, end of month',0,60,NULL,NULL,0),(5,1,'60DENDMONTH',5,0,'60 days end of month','Due in 60 days, end of month',1,60,NULL,NULL,0),(6,1,'PT_ORDER',6,1,'Due on order','Due on order',0,1,NULL,NULL,0),(7,1,'PT_DELIVERY',7,1,'Due on delivery','Due on delivery',0,1,NULL,NULL,0),(8,1,'PT_5050',8,0,'50 and 50','50% on order, 50% on delivery',0,1,NULL,NULL,0),(9,1,'10D',9,0,'10 days','Due in 10 days',0,10,NULL,NULL,0),(10,1,'10DENDMONTH',10,0,'10 days end of month','Due in 10 days, end of month',1,10,NULL,NULL,0),(11,1,'14D',11,0,'14 days','Due in 14 days',0,14,NULL,NULL,0),(12,1,'14DENDMONTH',12,0,'14 days end of month','Due in 14 days, end of month',1,14,NULL,NULL,0);
/*!40000 ALTER TABLE `llx_c_payment_term` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_price_expression`
--

DROP TABLE IF EXISTS `llx_c_price_expression`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_price_expression` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(20) NOT NULL,
  `expression` varchar(255) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_price_expression`
--

LOCK TABLES `llx_c_price_expression` WRITE;
/*!40000 ALTER TABLE `llx_c_price_expression` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_price_expression` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_price_global_variable`
--

DROP TABLE IF EXISTS `llx_c_price_global_variable`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_price_global_variable` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) NOT NULL,
  `description` text DEFAULT NULL,
  `value` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_price_global_variable`
--

LOCK TABLES `llx_c_price_global_variable` WRITE;
/*!40000 ALTER TABLE `llx_c_price_global_variable` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_price_global_variable` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_price_global_variable_updater`
--

DROP TABLE IF EXISTS `llx_c_price_global_variable_updater`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_price_global_variable_updater` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` int(11) NOT NULL,
  `description` text DEFAULT NULL,
  `parameters` text DEFAULT NULL,
  `fk_variable` int(11) NOT NULL,
  `update_interval` int(11) DEFAULT 0,
  `next_update` int(11) DEFAULT 0,
  `last_status` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_price_global_variable_updater`
--

LOCK TABLES `llx_c_price_global_variable_updater` WRITE;
/*!40000 ALTER TABLE `llx_c_price_global_variable_updater` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_price_global_variable_updater` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_product_nature`
--

DROP TABLE IF EXISTS `llx_c_product_nature`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_product_nature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` tinyint(4) NOT NULL,
  `label` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_product_nature` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_product_nature`
--

LOCK TABLES `llx_c_product_nature` WRITE;
/*!40000 ALTER TABLE `llx_c_product_nature` DISABLE KEYS */;
INSERT INTO `llx_c_product_nature` (`rowid`, `code`, `label`, `active`) VALUES (1,0,'RowMaterial',1),(2,1,'Finished',1);
/*!40000 ALTER TABLE `llx_c_product_nature` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_productbatch_qcstatus`
--

DROP TABLE IF EXISTS `llx_c_productbatch_qcstatus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_productbatch_qcstatus` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) NOT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_productbatch_qcstatus` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_productbatch_qcstatus`
--

LOCK TABLES `llx_c_productbatch_qcstatus` WRITE;
/*!40000 ALTER TABLE `llx_c_productbatch_qcstatus` DISABLE KEYS */;
INSERT INTO `llx_c_productbatch_qcstatus` (`rowid`, `entity`, `code`, `label`, `active`) VALUES (1,1,'OK','InWorkingOrder',1),(2,1,'KO','OutOfOrder',1);
/*!40000 ALTER TABLE `llx_c_productbatch_qcstatus` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_propalst`
--

DROP TABLE IF EXISTS `llx_c_propalst`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_propalst` (
  `id` smallint(6) NOT NULL,
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_propalst` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_propalst`
--

LOCK TABLES `llx_c_propalst` WRITE;
/*!40000 ALTER TABLE `llx_c_propalst` DISABLE KEYS */;
INSERT INTO `llx_c_propalst` (`id`, `code`, `label`, `active`) VALUES (0,'PR_DRAFT','Brouillon',1),(1,'PR_OPEN','Ouverte',1),(2,'PR_SIGNED','Signée',1),(3,'PR_NOTSIGNED','Non Signée',1),(4,'PR_FAC','Facturée',1);
/*!40000 ALTER TABLE `llx_c_propalst` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_prospectcontactlevel`
--

DROP TABLE IF EXISTS `llx_c_prospectcontactlevel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_prospectcontactlevel` (
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` smallint(6) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_prospectcontactlevel`
--

LOCK TABLES `llx_c_prospectcontactlevel` WRITE;
/*!40000 ALTER TABLE `llx_c_prospectcontactlevel` DISABLE KEYS */;
INSERT INTO `llx_c_prospectcontactlevel` (`code`, `label`, `sortorder`, `active`, `module`) VALUES ('PL_HIGH','High',4,1,NULL),('PL_LOW','Low',2,1,NULL),('PL_MEDIUM','Medium',3,1,NULL),('PL_NONE','None',1,1,NULL);
/*!40000 ALTER TABLE `llx_c_prospectcontactlevel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_prospectlevel`
--

DROP TABLE IF EXISTS `llx_c_prospectlevel`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_prospectlevel` (
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` smallint(6) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_prospectlevel`
--

LOCK TABLES `llx_c_prospectlevel` WRITE;
/*!40000 ALTER TABLE `llx_c_prospectlevel` DISABLE KEYS */;
INSERT INTO `llx_c_prospectlevel` (`code`, `label`, `sortorder`, `active`, `module`) VALUES ('PL_HIGH','High',4,1,NULL),('PL_LOW','Low',2,1,NULL),('PL_MEDIUM','Medium',3,1,NULL),('PL_NONE','None',1,1,NULL);
/*!40000 ALTER TABLE `llx_c_prospectlevel` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_recruitment_origin`
--

DROP TABLE IF EXISTS `llx_c_recruitment_origin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_recruitment_origin` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(32) NOT NULL,
  `label` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_recruitment_origin`
--

LOCK TABLES `llx_c_recruitment_origin` WRITE;
/*!40000 ALTER TABLE `llx_c_recruitment_origin` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_recruitment_origin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_regions`
--

DROP TABLE IF EXISTS `llx_c_regions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_regions` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code_region` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `cheflieu` varchar(50) DEFAULT NULL,
  `tncc` int(11) DEFAULT NULL,
  `nom` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code_region` (`code_region`),
  KEY `idx_c_regions_fk_pays` (`fk_pays`),
  CONSTRAINT `fk_c_regions_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=273 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_regions`
--

LOCK TABLES `llx_c_regions` WRITE;
/*!40000 ALTER TABLE `llx_c_regions` DISABLE KEYS */;
INSERT INTO `llx_c_regions` (`rowid`, `code_region`, `fk_pays`, `cheflieu`, `tncc`, `nom`, `active`) VALUES (1,0,0,'0',0,'-',0),(2,1301,13,'',0,'Algerie',0),(3,34000,34,'AD',NULL,'Andorra',0),(4,35001,35,'AO',NULL,'Angola',0),(5,2301,23,'',0,'Norte',0),(6,2302,23,'',0,'Litoral',0),(7,2303,23,'',0,'Cuyana',0),(8,2304,23,'',0,'Central',0),(9,2305,23,'',0,'Patagonia',0),(10,2801,28,'',0,'Australia',0),(11,4101,41,'',0,'Österreich',0),(12,4601,46,'',0,'Barbados',0),(13,201,2,'',1,'Flandre',0),(14,202,2,'',2,'Wallonie',0),(15,203,2,'',3,'Bruxelles-Capitale',0),(16,5201,52,'',0,'Chuquisaca',0),(17,5202,52,'',0,'La Paz',0),(18,5203,52,'',0,'Cochabamba',0),(19,5204,52,'',0,'Oruro',0),(20,5205,52,'',0,'Potosí',0),(21,5206,52,'',0,'Tarija',0),(22,5207,52,'',0,'Santa Cruz',0),(23,5208,52,'',0,'El Beni',0),(24,5209,52,'',0,'Pando',0),(25,5601,56,'',0,'Brasil',0),(26,1401,14,'',0,'Canada',0),(27,6701,67,NULL,NULL,'Tarapacá',0),(28,6702,67,NULL,NULL,'Antofagasta',0),(29,6703,67,NULL,NULL,'Atacama',0),(30,6704,67,NULL,NULL,'Coquimbo',0),(31,6705,67,NULL,NULL,'Valparaíso',0),(32,6706,67,NULL,NULL,'General Bernardo O Higgins',0),(33,6707,67,NULL,NULL,'Maule',0),(34,6708,67,NULL,NULL,'Biobío',0),(35,6709,67,NULL,NULL,'Raucanía',0),(36,6710,67,NULL,NULL,'Los Lagos',0),(37,6711,67,NULL,NULL,'Aysén General Carlos Ibáñez del Campo',0),(38,6712,67,NULL,NULL,'Magallanes y Antártica Chilena',0),(39,6713,67,NULL,NULL,'Metropolitana de Santiago',0),(40,6714,67,NULL,NULL,'Los Ríos',0),(41,6715,67,NULL,NULL,'Arica y Parinacota',0),(42,901,9,'?',0,'???',0),(43,902,9,'?',0,'???',0),(44,903,9,'?',0,'???',0),(45,904,9,'?',0,'???',0),(46,905,9,'?',0,'???',0),(47,906,9,'?',0,'???',0),(48,907,9,'?',0,'???',0),(49,908,9,'?',0,'???',0),(50,909,9,'?',0,'????',0),(51,910,9,'?',0,'???',0),(52,911,9,'?',0,'???',0),(53,912,9,'?',0,'???',0),(54,913,9,'?',0,'???',0),(55,914,9,'?',0,'???',0),(56,915,9,'?',0,'???',0),(57,916,9,'?',0,'???',0),(58,917,9,'?',0,'???',0),(59,918,9,'?',0,'???',0),(60,919,9,'?',0,'???',0),(61,920,9,'?',0,'???',0),(62,921,9,'?',0,'???',0),(63,922,9,'?',0,'???',0),(64,923,9,'?',0,'???',0),(65,924,9,'?',0,'???',0),(66,925,9,'?',0,'???',0),(67,926,9,'?',0,'???',0),(68,927,9,'?',0,'???',0),(69,928,9,'?',0,'??????',0),(70,929,9,'?',0,'???????',0),(71,930,9,'?',0,'?????',0),(72,931,9,'?',0,'???????',0),(73,932,9,'?',0,'????????',0),(74,933,9,'?',0,'???????',0),(75,934,9,'?',0,'???????',0),(76,7001,70,'',0,'Colombie',0),(77,8001,80,'',0,'Nordjylland',0),(78,8002,80,'',0,'Midtjylland',0),(79,8003,80,'',0,'Syddanmark',0),(80,8004,80,'',0,'Hovedstaden',0),(81,8005,80,'',0,'Sjælland',0),(82,1,1,'97105',3,'Guadeloupe',1),(83,2,1,'97209',3,'Martinique',1),(84,3,1,'97302',3,'Guyane',1),(85,4,1,'97411',3,'Réunion',1),(86,6,1,'97601',3,'Mayotte',1),(87,11,1,'75056',1,'Île-de-France',1),(88,24,1,'45234',2,'Centre-Val de Loire',1),(89,27,1,'21231',0,'Bourgogne-Franche-Comté',1),(90,28,1,'76540',0,'Normandie',1),(91,32,1,'59350',4,'Hauts-de-France',1),(92,44,1,'67482',2,'Grand Est',1),(93,52,1,'44109',4,'Pays de la Loire',1),(94,53,1,'35238',0,'Bretagne',1),(95,75,1,'33063',0,'Nouvelle-Aquitaine',1),(96,76,1,'31355',1,'Occitanie',1),(97,84,1,'69123',1,'Auvergne-Rhône-Alpes',1),(98,93,1,'13055',0,'Provence-Alpes-Côte d\'Azur',1),(99,94,1,'2A004',0,'Corse',1),(100,501,5,'',0,'Deutschland',0),(101,10201,102,NULL,NULL,'??????',0),(102,10202,102,NULL,NULL,'?????? ??????',0),(103,10203,102,NULL,NULL,'???????? ?????????',0),(104,10204,102,NULL,NULL,'?????',0),(105,10205,102,NULL,NULL,'????????? ????????? ??? ?????',0),(106,10206,102,NULL,NULL,'???????',0),(107,10207,102,NULL,NULL,'????? ?????',0),(108,10208,102,NULL,NULL,'?????? ??????',0),(109,10209,102,NULL,NULL,'????????????',0),(110,10210,102,NULL,NULL,'????? ??????',0),(111,10211,102,NULL,NULL,'?????? ??????',0),(112,10212,102,NULL,NULL,'????????',0),(113,10213,102,NULL,NULL,'?????? ?????????',0),(114,11401,114,'',0,'Honduras',0),(115,180100,18,'HU1',NULL,'Közép-Magyarország',0),(116,182100,18,'HU21',NULL,'Közép-Dunántúl',0),(117,182200,18,'HU22',NULL,'Nyugat-Dunántúl',0),(118,182300,18,'HU23',NULL,'Dél-Dunántúl',0),(119,183100,18,'HU31',NULL,'Észak-Magyarország',0),(120,183200,18,'HU32',NULL,'Észak-Alföld',0),(121,183300,18,'HU33',NULL,'Dél-Alföld',0),(122,11701,117,'',0,'India',0),(123,11801,118,'',0,'Indonesia',0),(124,301,3,NULL,1,'Abruzzo',0),(125,302,3,NULL,1,'Basilicata',0),(126,303,3,NULL,1,'Calabria',0),(127,304,3,NULL,1,'Campania',0),(128,305,3,NULL,1,'Emilia-Romagna',0),(129,306,3,NULL,1,'Friuli-Venezia Giulia',0),(130,307,3,NULL,1,'Lazio',0),(131,308,3,NULL,1,'Liguria',0),(132,309,3,NULL,1,'Lombardia',0),(133,310,3,NULL,1,'Marche',0),(134,311,3,NULL,1,'Molise',0),(135,312,3,NULL,1,'Piemonte',0),(136,313,3,NULL,1,'Puglia',0),(137,314,3,NULL,1,'Sardegna',0),(138,315,3,NULL,1,'Sicilia',0),(139,316,3,NULL,1,'Toscana',0),(140,317,3,NULL,1,'Trentino-Alto Adige',0),(141,318,3,NULL,1,'Umbria',0),(142,319,3,NULL,1,'Valle d Aosta',0),(143,320,3,NULL,1,'Veneto',0),(144,14001,140,'',0,'Diekirch',0),(145,14002,140,'',0,'Grevenmacher',0),(146,14003,140,'',0,'Luxembourg',0),(147,15201,152,'',0,'Rivière Noire',0),(148,15202,152,'',0,'Flacq',0),(149,15203,152,'',0,'Grand Port',0),(150,15204,152,'',0,'Moka',0),(151,15205,152,'',0,'Pamplemousses',0),(152,15206,152,'',0,'Plaines Wilhems',0),(153,15207,152,'',0,'Port-Louis',0),(154,15208,152,'',0,'Rivière du Rempart',0),(155,15209,152,'',0,'Savanne',0),(156,15210,152,'',0,'Rodrigues',0),(157,15211,152,'',0,'Les îles Agaléga',0),(158,15212,152,'',0,'Les écueils des Cargados Carajos',0),(159,15401,154,'',0,'Mexique',0),(160,1201,12,'',0,'Tanger-Tétouan',0),(161,1202,12,'',0,'Gharb-Chrarda-Beni Hssen',0),(162,1203,12,'',0,'Taza-Al Hoceima-Taounate',0),(163,1204,12,'',0,'L\'Oriental',0),(164,1205,12,'',0,'Fès-Boulemane',0),(165,1206,12,'',0,'Meknès-Tafialet',0),(166,1207,12,'',0,'Rabat-Salé-Zemour-Zaër',0),(167,1208,12,'',0,'Grand Cassablanca',0),(168,1209,12,'',0,'Chaouia-Ouardigha',0),(169,1210,12,'',0,'Doukahla-Adba',0),(170,1211,12,'',0,'Marrakech-Tensift-Al Haouz',0),(171,1212,12,'',0,'Tadla-Azilal',0),(172,1213,12,'',0,'Sous-Massa-Drâa',0),(173,1214,12,'',0,'Guelmim-Es Smara',0),(174,1215,12,'',0,'Laâyoune-Boujdour-Sakia el Hamra',0),(175,1216,12,'',0,'Oued Ed-Dahab Lagouira',0),(176,1701,17,'',0,'Provincies van Nederland ',0),(177,17801,178,'',0,'Panama',0),(178,18101,181,'',0,'Amazonas',0),(179,18102,181,'',0,'Ancash',0),(180,18103,181,'',0,'Apurimac',0),(181,18104,181,'',0,'Arequipa',0),(182,18105,181,'',0,'Ayacucho',0),(183,18106,181,'',0,'Cajamarca',0),(184,18107,181,'',0,'Callao',0),(185,18108,181,'',0,'Cuzco',0),(186,18109,181,'',0,'Huancavelica',0),(187,18110,181,'',0,'Huanuco',0),(188,18111,181,'',0,'Ica',0),(189,18112,181,'',0,'Junin',0),(190,18113,181,'',0,'La Libertad',0),(191,18114,181,'',0,'Lambayeque',0),(192,18115,181,'',0,'Lima Metropolitana',0),(193,18116,181,'',0,'Lima',0),(194,18117,181,'',0,'Loreto',0),(195,18118,181,'',0,'Madre de Dios',0),(196,18119,181,'',0,'Moquegua',0),(197,18120,181,'',0,'Pasco',0),(198,18121,181,'',0,'Piura',0),(199,18122,181,'',0,'Puno',0),(200,18123,181,'',0,'San Martín',0),(201,18124,181,'',0,'Tacna',0),(202,18125,181,'',0,'Tumbes',0),(203,18126,181,'',0,'Ucayali',0),(204,15001,25,'PT',NULL,'Portugal',0),(205,15002,25,'PT9',NULL,'Azores-Madeira',0),(206,18801,188,'',0,'Romania',0),(207,8601,86,NULL,NULL,'Central',0),(208,8602,86,NULL,NULL,'Oriental',0),(209,8603,86,NULL,NULL,'Occidental',0),(210,20203,202,'SI03',NULL,'East Slovenia',0),(211,20204,202,'SI04',NULL,'West Slovenia',0),(212,401,4,'',0,'Andalucia',0),(213,402,4,'',0,'Aragón',0),(214,403,4,'',0,'Castilla y León',0),(215,404,4,'',0,'Castilla la Mancha',0),(216,405,4,'',0,'Canarias',0),(217,406,4,'',0,'Cataluña',0),(218,407,4,'',0,'Comunidad de Ceuta',0),(219,408,4,'',0,'Comunidad Foral de Navarra',0),(220,409,4,'',0,'Comunidad de Melilla',0),(221,410,4,'',0,'Cantabria',0),(222,411,4,'',0,'Comunidad Valenciana',0),(223,412,4,'',0,'Extemadura',0),(224,413,4,'',0,'Galicia',0),(225,414,4,'',0,'Islas Baleares',0),(226,415,4,'',0,'La Rioja',0),(227,416,4,'',0,'Comunidad de Madrid',0),(228,417,4,'',0,'Región de Murcia',0),(229,418,4,'',0,'Principado de Asturias',0),(230,419,4,'',0,'Pais Vasco',0),(231,420,4,'',0,'Otros',0),(232,601,6,'',1,'Cantons',0),(233,21301,213,'TW',NULL,'Taiwan',0),(234,1001,10,'',0,'Ariana',0),(235,1002,10,'',0,'Béja',0),(236,1003,10,'',0,'Ben Arous',0),(237,1004,10,'',0,'Bizerte',0),(238,1005,10,'',0,'Gabès',0),(239,1006,10,'',0,'Gafsa',0),(240,1007,10,'',0,'Jendouba',0),(241,1008,10,'',0,'Kairouan',0),(242,1009,10,'',0,'Kasserine',0),(243,1010,10,'',0,'Kébili',0),(244,1011,10,'',0,'La Manouba',0),(245,1012,10,'',0,'Le Kef',0),(246,1013,10,'',0,'Mahdia',0),(247,1014,10,'',0,'Médenine',0),(248,1015,10,'',0,'Monastir',0),(249,1016,10,'',0,'Nabeul',0),(250,1017,10,'',0,'Sfax',0),(251,1018,10,'',0,'Sidi Bouzid',0),(252,1019,10,'',0,'Siliana',0),(253,1020,10,'',0,'Sousse',0),(254,1021,10,'',0,'Tataouine',0),(255,1022,10,'',0,'Tozeur',0),(256,1023,10,'',0,'Tunis',0),(257,1024,10,'',0,'Zaghouan',0),(258,22701,227,'',0,'United Arab Emirates',0),(259,701,7,'',0,'England',0),(260,702,7,'',0,'Wales',0),(261,703,7,'',0,'Scotland',0),(262,704,7,'',0,'Northern Ireland',0),(263,1101,11,'',0,'United-States',0),(264,23201,232,'',0,'Los Andes',0),(265,23202,232,'',0,'Capital',0),(266,23203,232,'',0,'Central',0),(267,23204,232,'',0,'Cento Occidental',0),(268,23205,232,'',0,'Guayana',0),(269,23206,232,'',0,'Insular',0),(270,23207,232,'',0,'Los Llanos',0),(271,23208,232,'',0,'Nor-Oriental',0),(272,23209,232,'',0,'Zuliana',0);
/*!40000 ALTER TABLE `llx_c_regions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_revenuestamp`
--

DROP TABLE IF EXISTS `llx_c_revenuestamp`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_revenuestamp` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_pays` int(11) NOT NULL,
  `taux` double NOT NULL,
  `revenuestamp_type` varchar(16) NOT NULL DEFAULT 'fixed',
  `note` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=1543 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_revenuestamp`
--

LOCK TABLES `llx_c_revenuestamp` WRITE;
/*!40000 ALTER TABLE `llx_c_revenuestamp` DISABLE KEYS */;
INSERT INTO `llx_c_revenuestamp` (`rowid`, `fk_pays`, `taux`, `revenuestamp_type`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES (101,10,0.4,'fixed','Revenue stamp tunisia',0,NULL,NULL),(1541,154,1.5,'percent','Revenue stamp mexico',0,NULL,NULL),(1542,154,3,'percent','Revenue stamp mexico',0,NULL,NULL);
/*!40000 ALTER TABLE `llx_c_revenuestamp` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_shipment_mode`
--

DROP TABLE IF EXISTS `llx_c_shipment_mode`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_shipment_mode` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `code` varchar(30) NOT NULL,
  `libelle` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `tracking` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT 0,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_shipment_mode` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_shipment_mode`
--

LOCK TABLES `llx_c_shipment_mode` WRITE;
/*!40000 ALTER TABLE `llx_c_shipment_mode` DISABLE KEYS */;
INSERT INTO `llx_c_shipment_mode` (`rowid`, `entity`, `tms`, `code`, `libelle`, `description`, `tracking`, `active`, `module`) VALUES (1,1,'2022-04-25 11:44:41','CATCH','In-Store Collection','In-store collection by the customer','',1,NULL),(2,1,'2022-04-25 11:44:41','TRANS','Generic transport service','Generic transport service','',1,NULL),(3,1,'2022-04-25 11:44:41','COLSUI','Colissimo Suivi','Colissimo Suivi','https://www.laposte.fr/outils/suivre-vos-envois?code={TRACKID}',0,NULL),(4,1,'2022-04-25 11:44:41','LETTREMAX','Lettre Max','Courrier Suivi et Lettre Max','https://www.laposte.fr/outils/suivre-vos-envois?code={TRACKID}',0,NULL),(5,1,'2022-04-25 11:44:41','UPS','UPS','United Parcel Service','http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber2=&InquiryNumber3=&tracknums_displayed=3&loc=fr_FR&TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber22=&InquiryNumber32=&track=Track&Suivi.x=64&Suivi.y=7&Suivi=Valider&InquiryNumber1={TRACKID}',1,NULL),(6,1,'2022-04-25 11:44:41','KIALA','KIALA','Relais Kiala','http://www.kiala.fr/tnt/delivery/{TRACKID}',0,NULL),(7,1,'2022-04-25 11:44:41','GLS','GLS','General Logistics Systems','https://gls-group.eu/FR/fr/suivi-colis?match={TRACKID}',0,NULL),(8,1,'2022-04-25 11:44:41','CHRONO','Chronopost','Chronopost','http://www.chronopost.fr/expedier/inputLTNumbersNoJahia.do?listeNumeros={TRACKID}',0,NULL),(9,1,'2022-04-25 11:44:41','INPERSON','In person at your site',NULL,NULL,0,NULL),(10,1,'2022-04-25 11:44:41','FEDEX','Fedex',NULL,'https://www.fedex.com/apps/fedextrack/index.html?tracknumbers={TRACKID}',0,NULL),(11,1,'2022-04-25 11:44:41','TNT','TNT',NULL,'https://www.tnt.com/express/fr_fr/site/outils-expedition/suivi.html?searchType=con&cons=={TRACKID}',0,NULL),(12,1,'2022-04-25 11:44:41','DHL','DHL',NULL,'https://www.dhl.com/fr-fr/home/tracking/tracking-global-forwarding.html?submit=1&tracking-id={TRACKID}',0,NULL),(13,1,'2022-04-25 11:44:41','DPD','DPD',NULL,'https://www.dpd.fr/trace/{TRACKID}',0,NULL),(14,1,'2022-04-25 11:44:41','MAINFREIGHT','Mainfreight',NULL,'https://www.mainfreight.com/track?{TRACKID}',0,NULL);
/*!40000 ALTER TABLE `llx_c_shipment_mode` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_shipment_package_type`
--

DROP TABLE IF EXISTS `llx_c_shipment_package_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_shipment_package_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(50) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_shipment_package_type`
--

LOCK TABLES `llx_c_shipment_package_type` WRITE;
/*!40000 ALTER TABLE `llx_c_shipment_package_type` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_shipment_package_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_socialnetworks`
--

DROP TABLE IF EXISTS `llx_c_socialnetworks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_socialnetworks` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(100) DEFAULT NULL,
  `label` varchar(150) DEFAULT NULL,
  `url` text DEFAULT NULL,
  `icon` varchar(20) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_c_socialnetworks_code_entity` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_socialnetworks`
--

LOCK TABLES `llx_c_socialnetworks` WRITE;
/*!40000 ALTER TABLE `llx_c_socialnetworks` DISABLE KEYS */;
INSERT INTO `llx_c_socialnetworks` (`rowid`, `entity`, `code`, `label`, `url`, `icon`, `active`) VALUES (1,1,'500px','500px','{socialid}','fa-500px',0),(2,1,'dailymotion','Dailymotion','{socialid}','',0),(3,1,'diaspora','Diaspora','{socialid}','',0),(4,1,'discord','Discord','{socialid}','fa-discord',0),(5,1,'facebook','Facebook','https://www.facebook.com/{socialid}','fa-facebook',1),(6,1,'flickr','Flickr','{socialid}','fa-flickr',0),(7,1,'gifycat','Gificat','{socialid}','',0),(8,1,'giphy','Giphy','{socialid}','',0),(9,1,'googleplus','GooglePlus','https://www.googleplus.com/{socialid}','fa-google-plus-g',0),(10,1,'instagram','Instagram','https://www.instagram.com/{socialid}','fa-instagram',1),(11,1,'linkedin','LinkedIn','https://www.linkedin.com/{socialid}','fa-linkedin',1),(12,1,'mastodon','Mastodon','{socialid}','',0),(13,1,'meetup','Meetup','{socialid}','fa-meetup',0),(14,1,'periscope','Periscope','{socialid}','',0),(15,1,'pinterest','Pinterest','{socialid}','fa-pinterest',0),(16,1,'quora','Quora','{socialid}','',0),(17,1,'reddit','Reddit','{socialid}','fa-reddit',0),(18,1,'slack','Slack','{socialid}','fa-slack',0),(19,1,'snapchat','Snapchat','{socialid}','fa-snapchat',1),(20,1,'skype','Skype','https://www.skype.com/{socialid}','fa-skype',1),(21,1,'tripadvisor','Tripadvisor','{socialid}','',0),(22,1,'tumblr','Tumblr','https://www.tumblr.com/{socialid}','fa-tumblr',0),(23,1,'twitch','Twitch','{socialid}','',0),(24,1,'twitter','Twitter','https://www.twitter.com/{socialid}','fa-twitter',1),(25,1,'vero','Vero','https://vero.co/{socialid}','',0),(26,1,'viadeo','Viadeo','https://fr.viadeo.com/fr/{socialid}','fa-viadeo',0),(27,1,'viber','Viber','{socialid}','',0),(28,1,'vimeo','Vimeo','{socialid}','',0),(29,1,'whatsapp','Whatsapp','{socialid}','fa-whatsapp',1),(30,1,'wikipedia','Wikipedia','{socialid}','',0),(31,1,'xing','Xing','{socialid}','fa-xing',0),(32,1,'youtube','Youtube','https://www.youtube.com/{socialid}','fa-youtube',1);
/*!40000 ALTER TABLE `llx_c_socialnetworks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_stcomm`
--

DROP TABLE IF EXISTS `llx_c_stcomm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_stcomm` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `picto` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_stcomm` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_stcomm`
--

LOCK TABLES `llx_c_stcomm` WRITE;
/*!40000 ALTER TABLE `llx_c_stcomm` DISABLE KEYS */;
INSERT INTO `llx_c_stcomm` (`id`, `code`, `libelle`, `picto`, `active`) VALUES (-1,'ST_NO','Do not contact',NULL,1),(0,'ST_NEVER','Never contacted',NULL,1),(1,'ST_TODO','To contact',NULL,1),(2,'ST_PEND','Contact in progress',NULL,1),(3,'ST_DONE','Contacted',NULL,1);
/*!40000 ALTER TABLE `llx_c_stcomm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_stcommcontact`
--

DROP TABLE IF EXISTS `llx_c_stcommcontact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_stcommcontact` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `picto` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_stcommcontact` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_stcommcontact`
--

LOCK TABLES `llx_c_stcommcontact` WRITE;
/*!40000 ALTER TABLE `llx_c_stcommcontact` DISABLE KEYS */;
INSERT INTO `llx_c_stcommcontact` (`id`, `code`, `libelle`, `picto`, `active`) VALUES (-1,'ST_NO','Do not contact',NULL,1),(0,'ST_NEVER','Never contacted',NULL,1),(1,'ST_TODO','To contact',NULL,1),(2,'ST_PEND','Contact in progress',NULL,1),(3,'ST_DONE','Contacted',NULL,1);
/*!40000 ALTER TABLE `llx_c_stcommcontact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_subtotal_free_text`
--

DROP TABLE IF EXISTS `llx_c_subtotal_free_text`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_subtotal_free_text` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(255) NOT NULL,
  `content` text DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_subtotal_free_text`
--

LOCK TABLES `llx_c_subtotal_free_text` WRITE;
/*!40000 ALTER TABLE `llx_c_subtotal_free_text` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_subtotal_free_text` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ticket_category`
--

DROP TABLE IF EXISTS `llx_c_ticket_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ticket_category` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `public` int(11) DEFAULT 0,
  `use_default` int(11) DEFAULT 1,
  `fk_parent` int(11) NOT NULL DEFAULT 0,
  `force_severity` varchar(32) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `pos` int(11) NOT NULL DEFAULT 0,
  `active` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ticket_category`
--

LOCK TABLES `llx_c_ticket_category` WRITE;
/*!40000 ALTER TABLE `llx_c_ticket_category` DISABLE KEYS */;
INSERT INTO `llx_c_ticket_category` (`rowid`, `entity`, `code`, `label`, `public`, `use_default`, `fk_parent`, `force_severity`, `description`, `pos`, `active`) VALUES (1,1,'OTHER','Other',0,1,0,NULL,NULL,10,1);
/*!40000 ALTER TABLE `llx_c_ticket_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ticket_resolution`
--

DROP TABLE IF EXISTS `llx_c_ticket_resolution`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ticket_resolution` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `pos` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `active` int(11) DEFAULT 1,
  `use_default` int(11) DEFAULT 1,
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ticket_resolution`
--

LOCK TABLES `llx_c_ticket_resolution` WRITE;
/*!40000 ALTER TABLE `llx_c_ticket_resolution` DISABLE KEYS */;
INSERT INTO `llx_c_ticket_resolution` (`rowid`, `entity`, `code`, `pos`, `label`, `active`, `use_default`, `description`) VALUES (1,1,'SOLVED','10','Solved',1,0,NULL),(2,1,'CANCELED','50','Canceled',1,0,NULL),(3,1,'OTHER','90','Other',1,0,NULL);
/*!40000 ALTER TABLE `llx_c_ticket_resolution` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ticket_severity`
--

DROP TABLE IF EXISTS `llx_c_ticket_severity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ticket_severity` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `pos` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `color` varchar(10) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  `use_default` int(11) DEFAULT 1,
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ticket_severity`
--

LOCK TABLES `llx_c_ticket_severity` WRITE;
/*!40000 ALTER TABLE `llx_c_ticket_severity` DISABLE KEYS */;
INSERT INTO `llx_c_ticket_severity` (`rowid`, `entity`, `code`, `pos`, `label`, `color`, `active`, `use_default`, `description`) VALUES (1,1,'LOW','10','Low','',1,0,NULL),(2,1,'NORMAL','20','Normal','',1,1,NULL),(3,1,'HIGH','30','High','',1,0,NULL),(4,1,'BLOCKING','40','Critical / blocking','',1,0,NULL);
/*!40000 ALTER TABLE `llx_c_ticket_severity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ticket_type`
--

DROP TABLE IF EXISTS `llx_c_ticket_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ticket_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `code` varchar(32) NOT NULL,
  `pos` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `active` int(11) DEFAULT 1,
  `use_default` int(11) DEFAULT 1,
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ticket_type`
--

LOCK TABLES `llx_c_ticket_type` WRITE;
/*!40000 ALTER TABLE `llx_c_ticket_type` DISABLE KEYS */;
INSERT INTO `llx_c_ticket_type` (`rowid`, `entity`, `code`, `pos`, `label`, `active`, `use_default`, `description`) VALUES (1,1,'COM','10','Commercial question',1,0,NULL),(2,1,'HELP','15','Request for functionnal help',1,0,NULL),(3,1,'ISSUE','20','Issue or bug',1,0,NULL),(4,1,'PROBLEM','22','Problem',0,0,NULL),(5,1,'REQUEST','25','Change or enhancement request',1,0,NULL),(6,1,'PROJECT','30','Project',0,0,NULL),(7,1,'OTHER','40','Other',1,0,NULL);
/*!40000 ALTER TABLE `llx_c_ticket_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_transport_mode`
--

DROP TABLE IF EXISTS `llx_c_transport_mode`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_transport_mode` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(3) NOT NULL,
  `label` varchar(255) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_transport_mode` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_transport_mode`
--

LOCK TABLES `llx_c_transport_mode` WRITE;
/*!40000 ALTER TABLE `llx_c_transport_mode` DISABLE KEYS */;
INSERT INTO `llx_c_transport_mode` (`rowid`, `entity`, `code`, `label`, `active`) VALUES (1,1,'MAR','Transport maritime (y compris camions ou wagons sur bateau)',1),(2,1,'TRA','Transport par chemin de fer (y compris camions sur wagon)',1),(3,1,'ROU','Transport par route',1),(4,1,'AIR','Transport par air',1),(5,1,'POS','Envois postaux',1),(6,1,'OLE','Installations de transport fixe (oléoduc)',1),(7,1,'NAV','Transport par navigation intérieure',1),(8,1,'PRO','Propulsion propre',1);
/*!40000 ALTER TABLE `llx_c_transport_mode` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_tva`
--

DROP TABLE IF EXISTS `llx_c_tva`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_tva` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_pays` int(11) NOT NULL,
  `code` varchar(10) DEFAULT '',
  `taux` double NOT NULL,
  `localtax1` varchar(20) NOT NULL DEFAULT '0',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2` varchar(20) NOT NULL DEFAULT '0',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `recuperableonly` int(11) NOT NULL DEFAULT 0,
  `note` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_tva_id` (`fk_pays`,`code`,`taux`,`recuperableonly`)
) ENGINE=InnoDB AUTO_INCREMENT=2462 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_tva`
--

LOCK TABLES `llx_c_tva` WRITE;
/*!40000 ALTER TABLE `llx_c_tva` DISABLE KEYS */;
INSERT INTO `llx_c_tva` (`rowid`, `fk_pays`, `code`, `taux`, `localtax1`, `localtax1_type`, `localtax2`, `localtax2_type`, `recuperableonly`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES (11,1,'',0,'0','0','0','0',0,'VAT rate 0 ou non applicable',1,NULL,NULL),(12,1,'',20,'0','0','0','0',0,'VAT rate - standard (France hors DOM-TOM)',1,NULL,NULL),(13,1,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(14,1,'',5.5,'0','0','0','0',0,'VAT rate - reduced (France hors DOM-TOM)',1,NULL,NULL),(15,1,'',2.1,'0','0','0','0',0,'VAT rate - super-reduced',0,NULL,NULL),(16,1,'85',8.5,'0','0','0','0',0,'VAT rate - standard (DOM sauf Guyane et Saint-Martin)',0,NULL,NULL),(17,1,'85NPR',8.5,'0','0','0','0',1,'VAT rate - standard (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL,NULL),(18,1,'85NPROM',8.5,'2','3','0','0',1,'VAT rate - standard (DOM sauf Guyane et Saint-Martin), NPR, Octroi de Mer',0,NULL,NULL),(19,1,'85NPROMOMR',8.5,'2','3','2.5','3',1,'VAT rate - standard (DOM sauf Guyane et Saint-Martin), NPR, Octroi de Mer et Octroi de Mer Regional',0,NULL,NULL),(21,2,'',0,'0','0','0','0',0,'VAT rate 0 ou non applicable',1,NULL,NULL),(22,2,'',6,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(23,2,'',21,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(24,2,'',12,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(31,3,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(32,3,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(33,3,'',4,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(34,3,'',22,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(41,4,'',0,'0','3','-19:-15:-9','5',0,'VAT rate 0',1,NULL,NULL),(42,4,'',10,'1.4','3','-19:-15:-9','5',0,'VAT rate - reduced',1,NULL,NULL),(43,4,'',4,'0.5','3','-19:-15:-9','5',0,'VAT rate - super-reduced',1,NULL,NULL),(44,4,'',21,'5.2','3','-19:-15:-9','5',0,'VAT rate - standard',1,NULL,NULL),(51,5,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(52,5,'',7,'0','0','0','0',0,'ermäßigte USt.',1,NULL,NULL),(54,5,'',5.5,'0','0','0','0',0,'USt. Forst',0,NULL,NULL),(55,5,'',10.7,'0','0','0','0',0,'USt. Landwirtschaft',0,NULL,NULL),(56,5,'',19,'0','0','0','0',0,'allgemeine Ust.',1,NULL,NULL),(61,6,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(62,6,'',3.7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(63,6,'',2.5,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(64,6,'',7.7,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(71,7,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(72,7,'',17.5,'0','0','0','0',0,'VAT rate - standard before 2011',1,NULL,NULL),(73,7,'',5,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(74,7,'',20,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(81,8,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(82,8,'',23,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(83,8,'',13.5,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(84,8,'',9,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(85,8,'',4.8,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(91,9,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(92,9,'',13,'0','0','0','0',0,'VAT rate - reduced 0',1,NULL,NULL),(93,9,'',3,'0','0','0','0',0,'VAT rate -  super-reduced 0',1,NULL,NULL),(94,9,'',17,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(101,10,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(102,10,'',12,'0','0','0','0',0,'VAT 12%',1,NULL,NULL),(103,10,'',18,'0','0','0','0',0,'VAT 18%',1,NULL,NULL),(104,10,'',7.5,'0','0','0','0',0,'VAT 6% Majoré à 25% (7.5%)',1,NULL,NULL),(105,10,'',15,'0','0','0','0',0,'VAT 12% Majoré à 25% (15%)',1,NULL,NULL),(106,10,'',22.5,'0','0','0','0',0,'VAT 18% Majoré à 25% (22.5%)',1,NULL,NULL),(107,10,'',6,'0','0','0','0',0,'VAT 6%',1,NULL,NULL),(111,11,'',0,'0','0','0','0',0,'No Sales Tax',1,NULL,NULL),(112,11,'',4,'0','0','0','0',0,'Sales Tax 4%',1,NULL,NULL),(113,11,'',6,'0','0','0','0',0,'Sales Tax 6%',1,NULL,NULL),(121,12,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(122,12,'',14,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(123,12,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(124,12,'',7,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(125,12,'',20,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(131,13,'',0,'0','0','0','0',0,'TVA 0%',1,NULL,NULL),(132,13,'',9,'0','0','0','0',0,'TVA 9%',1,NULL,NULL),(133,13,'',19,'0','0','0','0',0,'TVA 19%',1,NULL,NULL),(141,14,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(142,14,'',7,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(143,14,'',5,'9.975','1','0','0',0,'GST/TPS and PST/TVQ rate for Province',1,NULL,NULL),(171,17,'',0,'0','0','0','0',0,'0 BTW tarief',1,NULL,NULL),(172,17,'',6,'0','0','0','0',0,'Verlaagd BTW tarief',1,NULL,NULL),(173,17,'',19,'0','0','0','0',0,'Algemeen BTW tarief',1,NULL,NULL),(174,17,'',21,'0','0','0','0',0,'Algemeen BTW tarief (vanaf 1 oktober 2012)',0,NULL,NULL),(201,20,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(202,20,'',12,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(203,20,'',6,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(204,20,'',25,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(211,21,'',0,'0','0','0','0',0,'IVA Rate 0',1,NULL,NULL),(212,21,'',18,'7.5','2','0','0',0,'IVA standard rate',1,NULL,NULL),(221,22,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(222,22,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(223,22,'',18,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(231,23,'',0,'0','0','0','0',0,'IVA Rate 0',1,NULL,NULL),(232,23,'',10.5,'0','0','0','0',0,'IVA reduced rate',1,NULL,NULL),(233,23,'',21,'0','0','0','0',0,'IVA standard rate',1,NULL,NULL),(241,24,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(242,24,'',19.25,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(251,25,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(252,25,'',13,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(253,25,'',23,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(254,25,'',6,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(261,26,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(262,26,'',5,'0','0','0','0',0,'VAT rate 5',1,NULL,NULL),(271,27,'',0,'0','0','0','0',0,'VAT rate 0 ou non applicable',1,NULL,NULL),(272,27,'',8.5,'0','0','0','0',0,'VAT rate - standard (DOM sauf Guyane et Saint-Martin)',0,NULL,NULL),(273,27,'',8.5,'0','0','0','0',1,'VAT rate - standard (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL,NULL),(274,27,'',5.5,'0','0','0','0',0,'VAT rate - reduced (France hors DOM-TOM)',0,NULL,NULL),(275,27,'',19.6,'0','0','0','0',0,'VAT rate - standard (France hors DOM-TOM)',1,NULL,NULL),(276,27,'',2.1,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(277,27,'',7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(281,28,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(282,28,'',10,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(351,35,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(352,35,'',7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(353,35,'',14,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(411,41,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(412,41,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(413,41,'',20,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(461,46,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(462,46,'',15,'0','0','0','0',0,'VAT 15%',1,NULL,NULL),(463,46,'',7.5,'0','0','0','0',0,'VAT 7.5%',1,NULL,NULL),(561,56,'',0,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(591,59,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(592,59,'',7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(593,59,'',20,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(671,67,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(672,67,'',19,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(721,72,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(722,72,'',18,'0.9','1','0','0',0,'VAT rate 18+0.9',1,NULL,NULL),(781,78,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(782,78,'',9,'0','0','0','0',0,'VAT rate 9',1,NULL,NULL),(783,78,'',5,'0','0','0','0',0,'VAT rate 5',1,NULL,NULL),(784,78,'',19,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(801,80,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(802,80,'',25,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(861,86,'',0,'0','0','0','0',0,'SIN IVA',1,NULL,NULL),(862,86,'',13,'0','0','0','0',0,'IVA 13',1,NULL,NULL),(1021,102,'',0,'0','0','0','0',0,'???????? ?.?.?.',1,NULL,NULL),(1022,102,'',24,'0','0','0','0',0,'????????? ?.?.?.',1,NULL,NULL),(1023,102,'',13,'0','0','0','0',0,'????????? ?.?.?.',1,NULL,NULL),(1024,102,'',6,'0','0','0','0',0,'????????????? ?.?.?.',1,NULL,NULL),(1025,102,'',16,'0','0','0','0',0,'????? ????????? ?.?.?.',1,NULL,NULL),(1026,102,'',9,'0','0','0','0',0,'????? ????????? ?.?.?.',1,NULL,NULL),(1027,102,'',4,'0','0','0','0',0,'????? ????????????? ?.?.?.',1,NULL,NULL),(1028,102,'',17,'0','0','0','0',0,'????? ????????????? ?.?.?.',1,NULL,NULL),(1141,114,'',0,'0','0','0','0',0,'No ISV',1,NULL,NULL),(1142,114,'',12,'0','0','0','0',0,'ISV 12%',1,NULL,NULL),(1161,116,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1162,116,'',7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1163,116,'',25.5,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1171,117,'',0,'0','0','0','0',0,'VAT rate 0',0,NULL,NULL),(1172,117,'C+S-5',0,'2.5','1','2.5','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1173,117,'I-5',5,'0','0','0','0',0,'IGST',1,NULL,NULL),(1174,117,'C+S-12',0,'6','1','6','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1175,117,'I-12',12,'0','0','0','0',0,'IGST',1,NULL,NULL),(1176,117,'C+S-18',0,'9','1','9','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1177,117,'I-18',18,'0','0','0','0',0,'IGST',1,NULL,NULL),(1178,117,'C+S-28',0,'14','1','14','1',0,'CGST+SGST - Same state sales',1,NULL,NULL),(1179,117,'I-28',28,'0','0','0','0',0,'IGST',1,NULL,NULL),(1231,123,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1232,123,'',5,'0','0','0','0',0,'VAT rate 5',1,NULL,NULL),(1401,140,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1402,140,'',14,'0','0','0','0',0,'VAT rate - intermediary',1,NULL,NULL),(1403,140,'',8,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1404,140,'',3,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(1405,140,'',17,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1471,147,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1481,148,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1482,148,'',7,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1483,148,'',5,'0','0','0','0',0,'VAT rate - super-reduced',1,NULL,NULL),(1484,148,'',18,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1511,151,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1512,151,'',14,'0','0','0','0',0,'VAT rate 14',1,NULL,NULL),(1521,152,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1522,152,'',15,'0','0','0','0',0,'VAT rate 15',1,NULL,NULL),(1541,154,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(1542,154,'',16,'0','0','0','0',0,'VAT 16%',1,NULL,NULL),(1543,154,'',10,'0','0','0','0',0,'VAT Frontero',1,NULL,NULL),(1651,165,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1652,165,'',3,'0','0','0','0',0,'VAT standard 3',1,NULL,NULL),(1653,165,'',6,'0','0','0','0',0,'VAT standard 6',1,NULL,NULL),(1654,165,'',11,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1655,165,'',22,'0','0','0','0',0,'VAT standard high',1,NULL,NULL),(1661,166,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1662,166,'',15,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1691,169,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1692,169,'',5,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1731,173,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1732,173,'',14,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1733,173,'',8,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1734,173,'',25,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1781,178,'',0,'0','0','0','0',0,'ITBMS Rate 0',1,NULL,NULL),(1782,178,'',7,'0','0','0','0',0,'ITBMS standard rate',1,NULL,NULL),(1811,181,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1818,181,'',18,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1841,184,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1842,184,'',8,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1843,184,'',3,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1844,184,'',23,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1881,188,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(1882,188,'',9,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1883,188,'',19,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(1884,188,'',5,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(1931,193,'',0,'0','0','0','0',0,'No VAT in SPM',1,NULL,NULL),(2011,201,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(2012,201,'',10,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(2013,201,'',19,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(2021,202,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(2022,202,'',9.5,'0','0','0','0',0,'VAT rate - reduced',1,NULL,NULL),(2023,202,'',22,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(2051,205,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(2052,205,'',15,'0','0','0','0',0,'VAT rate - standard',1,NULL,NULL),(2071,207,'',0,'0','0','0','0',0,'VAT 0',1,NULL,NULL),(2072,207,'',15,'0','0','0','0',0,'VAT 15%',1,NULL,NULL),(2131,213,'',0,'0','0','0','0',0,'VAT 0',1,NULL,NULL),(2132,213,'',5,'0','0','0','0',0,'VAT 5%',1,NULL,NULL),(2261,226,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL),(2262,226,'',20,'0','0','0','0',0,'VAT standart rate',1,NULL,NULL),(2321,232,'',0,'0','0','0','0',0,'No VAT',1,NULL,NULL),(2322,232,'',12,'0','0','0','0',0,'VAT 12%',1,NULL,NULL),(2323,232,'',8,'0','0','0','0',0,'VAT 8%',1,NULL,NULL),(2461,246,'',0,'0','0','0','0',0,'VAT rate 0',1,NULL,NULL);
/*!40000 ALTER TABLE `llx_c_tva` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_type_contact`
--

DROP TABLE IF EXISTS `llx_c_type_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_type_contact` (
  `rowid` int(11) NOT NULL,
  `element` varchar(30) NOT NULL,
  `source` varchar(8) NOT NULL DEFAULT 'external',
  `code` varchar(32) NOT NULL,
  `libelle` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_contact_id` (`element`,`source`,`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_type_contact`
--

LOCK TABLES `llx_c_type_contact` WRITE;
/*!40000 ALTER TABLE `llx_c_type_contact` DISABLE KEYS */;
INSERT INTO `llx_c_type_contact` (`rowid`, `element`, `source`, `code`, `libelle`, `active`, `module`, `position`) VALUES (10,'contrat','internal','SALESREPSIGN','Commercial signataire du contrat',1,NULL,0),(11,'contrat','internal','SALESREPFOLL','Commercial suivi du contrat',1,NULL,0),(20,'contrat','external','BILLING','Contact client facturation contrat',1,NULL,0),(21,'contrat','external','CUSTOMER','Contact client suivi contrat',1,NULL,0),(22,'contrat','external','SALESREPSIGN','Contact client signataire contrat',1,NULL,0),(31,'propal','internal','SALESREPFOLL','Commercial à l\'origine de la propale',1,NULL,0),(40,'propal','external','BILLING','Contact client facturation propale',1,NULL,0),(41,'propal','external','CUSTOMER','Contact client suivi propale',1,NULL,0),(42,'propal','external','SHIPPING','Contact client livraison propale',1,NULL,0),(50,'facture','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL,0),(60,'facture','external','BILLING','Contact client facturation',1,NULL,0),(61,'facture','external','SHIPPING','Contact client livraison',1,NULL,0),(62,'facture','external','SERVICE','Contact client prestation',1,NULL,0),(70,'invoice_supplier','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL,0),(71,'invoice_supplier','external','BILLING','Contact fournisseur facturation',1,NULL,0),(72,'invoice_supplier','external','SHIPPING','Contact fournisseur livraison',1,NULL,0),(73,'invoice_supplier','external','SERVICE','Contact fournisseur prestation',1,NULL,0),(80,'agenda','internal','ACTOR','Responsable',1,NULL,0),(81,'agenda','internal','GUEST','Guest',1,NULL,0),(85,'agenda','external','ACTOR','Responsable',1,NULL,0),(86,'agenda','external','GUEST','Guest',1,NULL,0),(91,'commande','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL,0),(100,'commande','external','BILLING','Contact client facturation commande',1,NULL,0),(101,'commande','external','CUSTOMER','Contact client suivi commande',1,NULL,0),(102,'commande','external','SHIPPING','Contact client livraison commande',1,NULL,0),(110,'supplier_proposal','internal','SALESREPFOLL','Responsable suivi de la demande',1,NULL,0),(111,'supplier_proposal','external','BILLING','Contact fournisseur facturation',1,NULL,0),(112,'supplier_proposal','external','SHIPPING','Contact fournisseur livraison',1,NULL,0),(113,'supplier_proposal','external','SERVICE','Contact fournisseur prestation',1,NULL,0),(120,'fichinter','internal','INTERREPFOLL','Responsable suivi de l\'intervention',1,NULL,0),(121,'fichinter','internal','INTERVENING','Intervenant',1,NULL,0),(130,'fichinter','external','BILLING','Contact client facturation intervention',1,NULL,0),(131,'fichinter','external','CUSTOMER','Contact client suivi de l\'intervention',1,NULL,0),(140,'order_supplier','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL,0),(141,'order_supplier','internal','SHIPPING','Responsable réception de la commande',1,NULL,0),(142,'order_supplier','external','BILLING','Contact fournisseur facturation commande',1,NULL,0),(143,'order_supplier','external','CUSTOMER','Contact fournisseur suivi commande',1,NULL,0),(145,'order_supplier','external','SHIPPING','Contact fournisseur livraison commande',1,NULL,0),(150,'dolresource','internal','USERINCHARGE','In charge of resource',1,NULL,0),(151,'dolresource','external','THIRDINCHARGE','In charge of resource',1,NULL,0),(155,'ticket','internal','SUPPORTTEC','Utilisateur contact support',1,NULL,0),(156,'ticket','internal','CONTRIBUTOR','Intervenant',1,NULL,0),(157,'ticket','external','SUPPORTCLI','Contact client suivi incident',1,NULL,0),(158,'ticket','external','CONTRIBUTOR','Intervenant',1,NULL,0),(160,'project','internal','PROJECTLEADER','Chef de Projet',1,NULL,0),(161,'project','internal','PROJECTCONTRIBUTOR','Intervenant',1,NULL,0),(170,'project','external','PROJECTLEADER','Chef de Projet',1,NULL,0),(171,'project','external','PROJECTCONTRIBUTOR','Intervenant',1,NULL,0),(180,'project_task','internal','TASKEXECUTIVE','Responsable',1,NULL,0),(181,'project_task','internal','TASKCONTRIBUTOR','Intervenant',1,NULL,0),(190,'project_task','external','TASKEXECUTIVE','Responsable',1,NULL,0),(191,'project_task','external','TASKCONTRIBUTOR','Intervenant',1,NULL,0),(210,'conferenceorbooth','internal','MANAGER','Conference or Booth manager',1,NULL,0),(211,'conferenceorbooth','external','SPEAKER','Conference Speaker',1,NULL,0),(212,'conferenceorbooth','external','RESPONSIBLE','Booth responsible',1,NULL,0);
/*!40000 ALTER TABLE `llx_c_type_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_type_container`
--

DROP TABLE IF EXISTS `llx_c_type_container`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_type_container` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(32) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(64) NOT NULL,
  `module` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_container_id` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_type_container`
--

LOCK TABLES `llx_c_type_container` WRITE;
/*!40000 ALTER TABLE `llx_c_type_container` DISABLE KEYS */;
INSERT INTO `llx_c_type_container` (`rowid`, `code`, `entity`, `label`, `module`, `active`) VALUES (1,'page',1,'Page','system',1),(2,'banner',1,'Banner','system',1),(3,'blogpost',1,'BlogPost','system',1),(4,'menu',1,'Menu','system',1),(5,'other',1,'Other','system',1);
/*!40000 ALTER TABLE `llx_c_type_container` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_type_fees`
--

DROP TABLE IF EXISTS `llx_c_type_fees`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_type_fees` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `type` int(11) DEFAULT 0,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_type_fees` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_type_fees`
--

LOCK TABLES `llx_c_type_fees` WRITE;
/*!40000 ALTER TABLE `llx_c_type_fees` DISABLE KEYS */;
INSERT INTO `llx_c_type_fees` (`id`, `code`, `label`, `type`, `accountancy_code`, `active`, `module`, `position`) VALUES (1,'TF_OTHER','Other',0,NULL,1,NULL,0),(2,'TF_TRIP','Transportation',0,NULL,1,NULL,0),(3,'TF_LUNCH','Lunch',0,NULL,1,NULL,0),(4,'EX_KME','ExpLabelKm',0,NULL,1,NULL,0),(5,'EX_FUE','ExpLabelFuelCV',0,NULL,0,NULL,0),(6,'EX_HOT','ExpLabelHotel',0,NULL,0,NULL,0),(7,'EX_PAR','ExpLabelParkingCV',0,NULL,0,NULL,0),(8,'EX_TOL','ExpLabelTollCV',0,NULL,0,NULL,0),(9,'EX_TAX','ExpLabelVariousTaxes',0,NULL,0,NULL,0),(10,'EX_IND','ExpLabelIndemnityTransSubscrip',0,NULL,0,NULL,0),(11,'EX_SUM','ExpLabelMaintenanceSupply',0,NULL,0,NULL,0),(12,'EX_SUO','ExpLabelOfficeSupplies',0,NULL,0,NULL,0),(13,'EX_CAR','ExpLabelCarRental',0,NULL,0,NULL,0),(14,'EX_DOC','ExpLabelDocumentation',0,NULL,0,NULL,0),(15,'EX_CUR','ExpLabelCustomersReceiving',0,NULL,0,NULL,0),(16,'EX_OTR','ExpLabelOtherReceiving',0,NULL,0,NULL,0),(17,'EX_POS','ExpLabelPostage',0,NULL,0,NULL,0),(18,'EX_CAM','ExpLabelMaintenanceRepairCV',0,NULL,0,NULL,0),(19,'EX_EMM','ExpLabelEmployeesMeal',0,NULL,0,NULL,0),(20,'EX_GUM','ExpLabelGuestsMeal',0,NULL,0,NULL,0),(21,'EX_BRE','ExpLabelBreakfast',0,NULL,0,NULL,0),(22,'EX_FUE_VP','ExpLabelFuelPV',0,NULL,0,NULL,0),(23,'EX_TOL_VP','ExpLabelTollPV',0,NULL,0,NULL,0),(24,'EX_PAR_VP','ExpLabelParkingPV',0,NULL,0,NULL,0),(25,'EX_CAM_VP','ExpLabelMaintenanceRepairPV',0,NULL,0,NULL,0);
/*!40000 ALTER TABLE `llx_c_type_fees` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_type_resource`
--

DROP TABLE IF EXISTS `llx_c_type_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_type_resource` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(32) NOT NULL,
  `label` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_type_resource_id` (`label`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_type_resource`
--

LOCK TABLES `llx_c_type_resource` WRITE;
/*!40000 ALTER TABLE `llx_c_type_resource` DISABLE KEYS */;
INSERT INTO `llx_c_type_resource` (`rowid`, `code`, `label`, `active`) VALUES (1,'RES_ROOMS','Rooms',1),(2,'RES_CARS','Cars',1);
/*!40000 ALTER TABLE `llx_c_type_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_typent`
--

DROP TABLE IF EXISTS `llx_c_typent`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_typent` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(64) DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_typent` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_typent`
--

LOCK TABLES `llx_c_typent` WRITE;
/*!40000 ALTER TABLE `llx_c_typent` DISABLE KEYS */;
INSERT INTO `llx_c_typent` (`id`, `code`, `libelle`, `fk_country`, `active`, `module`, `position`) VALUES (1,'TE_STARTUP','Start-up',NULL,0,NULL,0),(2,'TE_GROUP','Grand groupe',NULL,1,NULL,0),(3,'TE_MEDIUM','PME/PMI',NULL,1,NULL,0),(4,'TE_SMALL','TPE',NULL,1,NULL,0),(5,'TE_ADMIN','Administration',NULL,1,NULL,0),(6,'TE_WHOLE','Grossiste',NULL,0,NULL,0),(7,'TE_RETAIL','Revendeur',NULL,0,NULL,0),(8,'TE_PRIVATE','Particulier',NULL,1,NULL,0),(100,'TE_OTHER','Autres',NULL,1,NULL,0),(231,'TE_A_RI','Responsable Inscripto (typo A)',23,0,NULL,0),(232,'TE_B_RNI','Responsable No Inscripto (typo B)',23,0,NULL,0),(233,'TE_C_FE','Consumidor Final/Exento (typo C)',23,0,NULL,0);
/*!40000 ALTER TABLE `llx_c_typent` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_units`
--

DROP TABLE IF EXISTS `llx_c_units`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_units` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(3) DEFAULT NULL,
  `scale` int(11) DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `short_label` varchar(5) DEFAULT NULL,
  `unit_type` varchar(10) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_units_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_units`
--

LOCK TABLES `llx_c_units` WRITE;
/*!40000 ALTER TABLE `llx_c_units` DISABLE KEYS */;
INSERT INTO `llx_c_units` (`rowid`, `code`, `scale`, `label`, `short_label`, `unit_type`, `active`) VALUES (1,'T',3,'WeightUnitton','T','weight',1),(2,'KG',0,'WeightUnitkg','kg','weight',1),(3,'G',-3,'WeightUnitg','g','weight',1),(4,'MG',-6,'WeightUnitmg','mg','weight',1),(5,'OZ',98,'WeightUnitounce','Oz','weight',0),(6,'LB',99,'WeightUnitpound','lb','weight',0),(7,'M',0,'SizeUnitm','m','size',1),(8,'DM',-1,'SizeUnitdm','dm','size',1),(9,'CM',-2,'SizeUnitcm','cm','size',1),(10,'MM',-3,'SizeUnitmm','mm','size',1),(11,'FT',98,'SizeUnitfoot','ft','size',0),(12,'IN',99,'SizeUnitinch','in','size',0),(13,'M2',0,'SurfaceUnitm2','m2','surface',1),(14,'DM2',-2,'SurfaceUnitdm2','dm2','surface',1),(15,'CM2',-4,'SurfaceUnitcm2','cm2','surface',1),(16,'MM2',-6,'SurfaceUnitmm2','mm2','surface',1),(17,'FT2',98,'SurfaceUnitfoot2','ft2','surface',0),(18,'IN2',99,'SurfaceUnitinch2','in2','surface',0),(19,'M3',0,'VolumeUnitm3','m3','volume',1),(20,'DM3',-3,'VolumeUnitdm3','dm3','volume',1),(21,'CM3',-6,'VolumeUnitcm3','cm3','volume',1),(22,'MM3',-9,'VolumeUnitmm3','mm3','volume',1),(23,'FT3',88,'VolumeUnitfoot3','ft3','volume',0),(24,'IN3',89,'VolumeUnitinch3','in3','volume',0),(25,'OZ3',97,'VolumeUnitounce','Oz','volume',0),(26,'L',98,'VolumeUnitlitre','L','volume',1),(27,'GAL',99,'VolumeUnitgallon','gal','volume',0),(28,'P',0,'Piece','p','qty',1),(29,'SET',0,'Set','set','qty',1),(30,'S',0,'second','s','time',1),(31,'MI',60,'minute','i','time',1),(32,'H',3600,'hour','h','time',1),(33,'D',86400,'day','d','time',1),(34,'W',604800,'semaine','sem','time',1),(35,'MO',2629800,'mois','mois','time',1),(36,'Y',31557600,'année','an','time',1);
/*!40000 ALTER TABLE `llx_c_units` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_c_ziptown`
--

DROP TABLE IF EXISTS `llx_c_ziptown`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ziptown` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(5) DEFAULT NULL,
  `fk_county` int(11) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL DEFAULT 0,
  `zip` varchar(10) NOT NULL,
  `town` varchar(180) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ziptown_fk_pays` (`zip`,`town`,`fk_pays`),
  KEY `idx_c_ziptown_fk_county` (`fk_county`),
  KEY `idx_c_ziptown_fk_pays` (`fk_pays`),
  KEY `idx_c_ziptown_zip` (`zip`),
  CONSTRAINT `fk_c_ziptown_fk_county` FOREIGN KEY (`fk_county`) REFERENCES `llx_c_departements` (`rowid`),
  CONSTRAINT `fk_c_ziptown_fk_pays` FOREIGN KEY (`fk_pays`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_c_ziptown`
--

LOCK TABLES `llx_c_ziptown` WRITE;
/*!40000 ALTER TABLE `llx_c_ziptown` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_c_ziptown` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie`
--

DROP TABLE IF EXISTS `llx_categorie`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_parent` int(11) NOT NULL DEFAULT 0,
  `label` varchar(180) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `type` int(11) NOT NULL DEFAULT 1,
  `description` text DEFAULT NULL,
  `color` varchar(8) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie` WRITE;
/*!40000 ALTER TABLE `llx_categorie` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_account` (
  `fk_categorie` int(11) NOT NULL,
  `fk_account` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_account`),
  KEY `idx_categorie_account_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_account_fk_account` (`fk_account`),
  CONSTRAINT `fk_categorie_account_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_account_fk_account` FOREIGN KEY (`fk_account`) REFERENCES `llx_bank_account` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_account` WRITE;
/*!40000 ALTER TABLE `llx_categorie_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_account` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_actioncomm`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_actioncomm` (
  `fk_categorie` int(11) NOT NULL,
  `fk_actioncomm` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_actioncomm`),
  KEY `idx_categorie_actioncomm_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_actioncomm_fk_actioncomm` (`fk_actioncomm`),
  CONSTRAINT `fk_categorie_actioncomm_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_actioncomm_fk_actioncomm` FOREIGN KEY (`fk_actioncomm`) REFERENCES `llx_actioncomm` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_actioncomm` WRITE;
/*!40000 ALTER TABLE `llx_categorie_actioncomm` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_actioncomm` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie_contact`
--

DROP TABLE IF EXISTS `llx_categorie_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_contact` (
  `fk_categorie` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_socpeople`),
  KEY `idx_categorie_contact_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_categorie_contact_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_contact_fk_socpeople` FOREIGN KEY (`fk_socpeople`) REFERENCES `llx_socpeople` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_categorie_contact`
--

LOCK TABLES `llx_categorie_contact` WRITE;
/*!40000 ALTER TABLE `llx_categorie_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_contact` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie_fournisseur`
--

DROP TABLE IF EXISTS `llx_categorie_fournisseur`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_fournisseur` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_soc`),
  KEY `idx_categorie_fournisseur_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_fournisseur_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_fournisseur_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_categorie_fournisseur`
--

LOCK TABLES `llx_categorie_fournisseur` WRITE;
/*!40000 ALTER TABLE `llx_categorie_fournisseur` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_fournisseur` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie_lang`
--

DROP TABLE IF EXISTS `llx_categorie_lang`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_category` int(11) NOT NULL DEFAULT 0,
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_category_lang` (`fk_category`,`lang`),
  CONSTRAINT `fk_category_lang_fk_category` FOREIGN KEY (`fk_category`) REFERENCES `llx_categorie` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_lang` WRITE;
/*!40000 ALTER TABLE `llx_categorie_lang` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_lang` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_member`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_member` (
  `fk_categorie` int(11) NOT NULL,
  `fk_member` int(11) NOT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_member`),
  KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_member_fk_member` (`fk_member`),
  CONSTRAINT `fk_categorie_member_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_member_member_rowid` FOREIGN KEY (`fk_member`) REFERENCES `llx_adherent` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_member` WRITE;
/*!40000 ALTER TABLE `llx_categorie_member` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_member` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_product`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_product` (
  `fk_categorie` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_product`),
  KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_product_fk_product` (`fk_product`),
  CONSTRAINT `fk_categorie_product_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_product_product_rowid` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_product` WRITE;
/*!40000 ALTER TABLE `llx_categorie_product` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_product` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_project`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_project` (
  `fk_categorie` int(11) NOT NULL,
  `fk_project` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_project`),
  KEY `idx_categorie_project_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_project_fk_project` (`fk_project`),
  CONSTRAINT `fk_categorie_project_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_project_fk_project_rowid` FOREIGN KEY (`fk_project`) REFERENCES `llx_projet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_project` WRITE;
/*!40000 ALTER TABLE `llx_categorie_project` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_project` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_societe`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_societe` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_soc`),
  KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_societe_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_societe_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_societe_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_societe` WRITE;
/*!40000 ALTER TABLE `llx_categorie_societe` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_societe` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie_user`
--

DROP TABLE IF EXISTS `llx_categorie_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_user` (
  `fk_categorie` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_user`),
  KEY `idx_categorie_user_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_user_fk_user` (`fk_user`),
  CONSTRAINT `fk_categorie_user_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_categorie_user`
--

LOCK TABLES `llx_categorie_user` WRITE;
/*!40000 ALTER TABLE `llx_categorie_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_categorie_warehouse`
--

DROP TABLE IF EXISTS `llx_categorie_warehouse`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_warehouse` (
  `fk_categorie` int(11) NOT NULL,
  `fk_warehouse` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_warehouse`),
  KEY `idx_categorie_warehouse_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_warehouse_fk_warehouse` (`fk_warehouse`),
  CONSTRAINT `fk_categorie_warehouse_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_warehouse_fk_warehouse_rowid` FOREIGN KEY (`fk_warehouse`) REFERENCES `llx_entrepot` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_warehouse` WRITE;
/*!40000 ALTER TABLE `llx_categorie_warehouse` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_warehouse` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categorie_website_page`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categorie_website_page` (
  `fk_categorie` int(11) NOT NULL,
  `fk_website_page` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_website_page`),
  KEY `idx_categorie_website_page_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_website_page_fk_website_page` (`fk_website_page`),
  CONSTRAINT `fk_categorie_websitepage_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_websitepage_website_page_rowid` FOREIGN KEY (`fk_website_page`) REFERENCES `llx_website_page` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categorie_website_page` WRITE;
/*!40000 ALTER TABLE `llx_categorie_website_page` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categorie_website_page` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_categories_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_categories_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_categories_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_categories_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_categories_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_categories_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_chargesociales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_chargesociales` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(16) DEFAULT NULL,
  `date_ech` datetime NOT NULL,
  `libelle` varchar(80) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `periode` date DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_chargesociales`
--

LOCK TABLES `llx_chargesociales` WRITE;
/*!40000 ALTER TABLE `llx_chargesociales` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_chargesociales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande`
--

DROP TABLE IF EXISTS `llx_commande`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande` (
  `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,
  `ref_client` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `date_commande` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `source` smallint(6) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `amount_ht` double(24,8) DEFAULT 0.00000000,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `module_source` varchar(32) DEFAULT NULL,
  `pos_source` varchar(32) DEFAULT NULL,
  `facture` tinyint(4) DEFAULT 0,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_livraison` datetime DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
  KEY `idx_commande_fk_soc` (`fk_soc`),
  KEY `idx_commande_fk_user_author` (`fk_user_author`),
  KEY `idx_commande_fk_user_valid` (`fk_user_valid`),
  KEY `idx_commande_fk_user_cloture` (`fk_user_cloture`),
  KEY `idx_commande_fk_projet` (`fk_projet`),
  KEY `idx_commande_fk_account` (`fk_account`),
  KEY `idx_commande_fk_currency` (`fk_currency`),
  CONSTRAINT `fk_commande_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_commande` WRITE;
/*!40000 ALTER TABLE `llx_commande` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_extrafields`
--

DROP TABLE IF EXISTS `llx_commande_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_extrafields`
--

LOCK TABLES `llx_commande_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_commande_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseur`
--

DROP TABLE IF EXISTS `llx_commande_fournisseur`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseur` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_supplier` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_approve` datetime DEFAULT NULL,
  `date_approve2` datetime DEFAULT NULL,
  `date_commande` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_approve` int(11) DEFAULT NULL,
  `fk_user_approve2` int(11) DEFAULT NULL,
  `source` smallint(6) NOT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `billed` smallint(6) DEFAULT 0,
  `amount_ht` double(24,8) DEFAULT 0.00000000,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_livraison` datetime DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `fk_input_method` int(11) DEFAULT 0,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`),
  KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`),
  KEY `billed` (`billed`),
  CONSTRAINT `fk_commande_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseur`
--

LOCK TABLES `llx_commande_fournisseur` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseur` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseur` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseur_dispatch`
--

DROP TABLE IF EXISTS `llx_commande_fournisseur_dispatch`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseur_dispatch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_reception` int(11) DEFAULT NULL,
  `qty` float DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`),
  KEY `idx_commande_fournisseur_dispatch_fk_reception` (`fk_reception`),
  CONSTRAINT `fk_commande_fournisseur_dispatch_fk_reception` FOREIGN KEY (`fk_reception`) REFERENCES `llx_reception` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseur_dispatch`
--

LOCK TABLES `llx_commande_fournisseur_dispatch` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseur_dispatch_extrafields`
--

DROP TABLE IF EXISTS `llx_commande_fournisseur_dispatch_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseur_dispatch_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_dispatch_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_commande_fournisseur_dispatch_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseur_extrafields`
--

DROP TABLE IF EXISTS `llx_commande_fournisseur_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseur_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseur_extrafields`
--

LOCK TABLES `llx_commande_fournisseur_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseur_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseur_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseur_log`
--

DROP TABLE IF EXISTS `llx_commande_fournisseur_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseur_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datelog` datetime NOT NULL,
  `fk_commande` int(11) NOT NULL,
  `fk_statut` smallint(6) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `comment` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseur_log`
--

LOCK TABLES `llx_commande_fournisseur_log` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseur_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseur_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseurdet`
--

DROP TABLE IF EXISTS `llx_commande_fournisseurdet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseurdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `fk_commande_fournisseurdet_fk_unit` (`fk_unit`),
  KEY `idx_commande_fournisseurdet_fk_commande` (`fk_commande`),
  KEY `idx_commande_fournisseurdet_fk_product` (`fk_product`),
  CONSTRAINT `fk_commande_fournisseurdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseurdet`
--

LOCK TABLES `llx_commande_fournisseurdet` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseurdet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseurdet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commande_fournisseurdet_extrafields`
--

DROP TABLE IF EXISTS `llx_commande_fournisseurdet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commande_fournisseurdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseurdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_commande_fournisseurdet_extrafields`
--

LOCK TABLES `llx_commande_fournisseurdet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_commande_fournisseurdet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commande_fournisseurdet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commandedet`
--

DROP TABLE IF EXISTS `llx_commandedet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commandedet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_fk_commande` (`fk_commande`),
  KEY `idx_commandedet_fk_product` (`fk_product`),
  KEY `fk_commandedet_fk_unit` (`fk_unit`),
  KEY `fk_commandedet_fk_commandefourndet` (`fk_commandefourndet`),
  CONSTRAINT `fk_commandedet_fk_commande` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_commandefourndet` FOREIGN KEY (`fk_commandefourndet`) REFERENCES `llx_commande_fournisseurdet` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_commandedet` WRITE;
/*!40000 ALTER TABLE `llx_commandedet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commandedet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_commandedet_extrafields`
--

DROP TABLE IF EXISTS `llx_commandedet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_commandedet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_commandedet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_commandedet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_commandedet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_comment`
--

DROP TABLE IF EXISTS `llx_comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_comment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `description` text NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_element` int(11) DEFAULT NULL,
  `element_type` varchar(50) DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  `import_key` varchar(125) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_comment`
--

LOCK TABLES `llx_comment` WRITE;
/*!40000 ALTER TABLE `llx_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_const`
--

DROP TABLE IF EXISTS `llx_const`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_const` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `value` text NOT NULL,
  `type` varchar(64) DEFAULT 'string',
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_const` (`name`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2091 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_const`
--

LOCK TABLES `llx_const` WRITE;
/*!40000 ALTER TABLE `llx_const` DISABLE KEYS */;
INSERT INTO `llx_const` (`rowid`, `name`, `entity`, `value`, `type`, `visible`, `note`, `tms`) VALUES (2,'MAIN_FEATURES_LEVEL',0,'0','chaine',1,'Level of features to show: -1=stable+deprecated, 0=stable only (default), 1=stable+experimental, 2=stable+experimental+development','2022-04-25 11:44:41'),(3,'MAILING_LIMIT_SENDBYWEB',0,'25','chaine',1,'Number of targets to defined packet size when sending mass email','2022-04-25 11:44:41'),(4,'MAIN_ENABLE_LOG_TO_HTML',0,'0','chaine',1,'If this option is set to 1, it is possible to see log output at end of HTML sources by adding paramater logtohtml=1 on URL. Module log must also be enabled.','2022-04-25 11:44:41'),(5,'MAIN_SECURITY_CSRF_WITH_TOKEN',0,'0','chaine',1,'If this option is set to 1, a CSRF protection using an antiCSRF token is added.','2022-04-25 11:44:41'),(6,'SYSLOG_HANDLERS',0,'[\"mod_syslog_file\"]','chaine',0,'Which logger to use','2022-04-25 11:44:41'),(7,'SYSLOG_FILE',0,'DOL_DATA_ROOT/dolibarr.log','chaine',0,'Directory where to write log file','2022-04-25 11:44:41'),(8,'SYSLOG_LEVEL',0,'7','chaine',0,'Level of debug info to show','2022-04-25 11:44:41'),(9,'MAIN_UPLOAD_DOC',0,'2048','chaine',0,'Max size for file upload (0 means no upload allowed)','2022-04-25 11:44:41'),(10,'MAIN_ENABLE_OVERWRITE_TRANSLATION',1,'1','chaine',0,'Enable translation overwrite','2022-04-25 11:44:41'),(11,'MAIN_ENABLE_DEFAULT_VALUES',1,'1','chaine',0,'Enable default value overwrite','2022-04-25 11:44:41'),(16,'MAIN_SIZE_LISTE_LIMIT',0,'20','chaine',0,'Maximum length of lists','2022-04-25 11:44:41'),(17,'MAIN_SIZE_SHORTLIST_LIMIT',0,'3','chaine',0,'Maximum length of short lists','2022-04-25 11:44:41'),(18,'MAIN_MENU_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for internal users','2022-04-25 11:44:41'),(19,'MAIN_MENUFRONT_STANDARD',0,'eldy_menu.php','chaine',0,'Menu manager for external users','2022-04-25 11:44:41'),(20,'MAIN_MENU_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for internal users using smartphones','2022-04-25 11:44:41'),(21,'MAIN_MENUFRONT_SMARTPHONE',0,'eldy_menu.php','chaine',0,'Menu manager for external users using smartphones','2022-04-25 11:44:41'),(22,'MAIN_DELAY_ACTIONS_TODO',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées','2022-04-25 11:44:41'),(23,'MAIN_DELAY_ORDERS_TO_PROCESS',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées','2022-04-25 11:44:41'),(24,'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées','2022-04-25 11:44:41'),(25,'MAIN_DELAY_PROPALS_TO_CLOSE',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales à cloturer','2022-04-25 11:44:41'),(26,'MAIN_DELAY_PROPALS_TO_BILL',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales non facturées','2022-04-25 11:44:41'),(27,'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures client impayées','2022-04-25 11:44:41'),(28,'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées','2022-04-25 11:44:41'),(29,'MAIN_DELAY_NOT_ACTIVATED_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services à activer','2022-04-25 11:44:41'),(30,'MAIN_DELAY_RUNNING_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services expirés','2022-04-25 11:44:41'),(31,'MAIN_DELAY_MEMBERS',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard','2022-04-25 11:44:41'),(32,'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE',1,'62','chaine',0,'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire','2022-04-25 11:44:41'),(33,'MAIN_DELAY_EXPENSEREPORTS_TO_PAY',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur les notes de frais impayées','2022-04-25 11:44:41'),(34,'MAIN_FIX_FOR_BUGGED_MTA',1,'1','chaine',1,'Set constant to fix email ending from PHP with some linux ike system','2022-04-25 11:44:41'),(35,'MAILING_EMAIL_FROM',1,'no-reply@mydomain.com','chaine',0,'EMail emmetteur pour les envois d emailings','2022-04-25 11:44:41'),(36,'PRODUCT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/products','chaine',0,NULL,'2022-04-25 11:44:41'),(37,'CONTRACT_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/contracts','chaine',0,NULL,'2022-04-25 11:44:41'),(38,'USERGROUP_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/usergroups','chaine',0,NULL,'2022-04-25 11:44:41'),(39,'USER_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/users','chaine',0,NULL,'2022-04-25 11:44:41'),(40,'PRODUCT_PRICE_BASE_TYPE',0,'HT','string',0,NULL,'2022-04-25 11:44:41'),(41,'ADHERENT_LOGIN_NOT_REQUIRED',0,'1','string',0,NULL,'2022-04-25 11:44:41'),(42,'MAIN_MODULE_USER',0,'1','string',0,'{\"authorid\":0,\"ip\":\"92.184.105.200\"}','2022-04-25 11:45:43'),(43,'DATABASE_PWD_ENCRYPTED',1,'1','chaine',0,'','2022-04-25 11:45:43'),(44,'MAIN_SECURITY_SALT',0,'20220425134543','chaine',0,'','2022-04-25 11:45:43'),(45,'MAIN_SECURITY_HASH_ALGO',0,'password_hash','chaine',0,'','2022-04-25 11:45:43'),(46,'MAIN_VERSION_FIRST_INSTALL',0,'14.0.5','chaine',0,'Dolibarr version when first install','2022-04-25 11:45:43'),(47,'MAIN_VERSION_LAST_INSTALL',0,'14.0.5','chaine',0,'Dolibarr version when last install','2022-04-25 11:45:43'),(60,'MAIN_MODULE_SOCIETE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 12:00:04'),(62,'SOCIETE_CODECOMPTA_ADDON',1,'mod_codecompta_panicum','chaine',0,'Module to control third parties codes','2022-04-25 12:00:04'),(63,'COMPANY_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/thirdparties','chaine',0,NULL,'2022-04-25 12:00:04'),(64,'SOCIETE_ADD_REF_IN_LIST',1,'0','yesno',0,'Display customer ref into select list','2022-04-25 12:00:04'),(66,'MAIN_MODULE_PROPALE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 12:00:09'),(70,'PROPALE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/proposals','chaine',0,NULL,'2022-04-25 12:00:09'),(72,'MAIN_MODULE_FACTURE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 12:00:20'),(75,'FACTURE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/invoices','chaine',0,NULL,'2022-04-25 12:00:20'),(77,'MAIN_MODULE_PRODUCT',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 12:01:14'),(79,'PRODUCT_PRICE_UNIQ',1,'1','chaine',0,'pricing rule by default','2022-04-25 12:01:14'),(88,'MAIN_FIRST_PING_OK_DATE',1,'20220425120338','chaine',0,'','2022-04-25 12:03:38'),(89,'MAIN_FIRST_PING_OK_ID',1,'8f9d50fceee2eb4007d7246054d52ac4','chaine',0,'','2022-04-25 12:03:38'),(93,'THIRDPARTY_CUSTOMERTYPE_BY_DEFAULT',1,'1','chaine',0,'','2022-04-25 12:07:04'),(94,'REF_LETTER_MIGRATED',1,'1','chaine',0,'','2022-04-25 12:10:43'),(113,'MAIN_MODULE_FCKEDITOR',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 12:10:43'),(114,'FCKEDITOR_ENABLE_PRODUCTDESC',1,'1','yesno',0,'WYSIWIG for products/services description and note','2022-04-25 12:10:43'),(115,'FCKEDITOR_ENABLE_MAILING',1,'1','yesno',0,'WYSIWIG for mass emailings','2022-04-25 12:10:43'),(116,'FCKEDITOR_ENABLE_DETAILS',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2022-04-25 12:10:43'),(117,'FCKEDITOR_ENABLE_USERSIGN',1,'1','yesno',0,'WYSIWIG for user signature','2022-04-25 12:10:43'),(118,'FCKEDITOR_ENABLE_MAIL',1,'1','yesno',0,'WYSIWIG for products details lines for all entities','2022-04-25 12:10:43'),(119,'FCKEDITOR_SKIN',1,'moono-lisa','string',0,'Skin by default for fckeditor','2022-04-25 12:10:43'),(153,'MAIN_MODULE_CRON',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:21:52'),(156,'MAIN_MODULE_CATEGORIE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:23:05'),(157,'CATEGORIE_RECURSIV_ADD',1,'0','yesno',0,'Affect parent categories','2022-04-25 13:23:05'),(159,'MAIN_MODULE_MYFIELD',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:25:31'),(160,'MAIN_MODULE_MYFIELD_HOOKS',1,'[\"all\",\"contractlist\",\"propallist\",\"orderlist\",\"invoicelist\",\"supplierorderlist\",\"supplierinvoicelist\",\"supplier_proposallist\",\"interventionlist\",\"shipmentlist\",\"productservicelist\",\"toprightmenu\",\"globalcard\",\"membercard\",\"membertypecard\",\"categorycard\",\"commcard\",\"propalcard\",\"actioncard\",\"agenda\",\"mailingcard\",\"ordercard\",\"invoicecard\",\"paiementcard\",\"tripsandexpensescard\",\"doncard\",\"externalbalance\",\"salarycard\",\"taxvatcard\",\"contactcard\",\"contractcard\",\"expeditioncard\",\"interventioncard\",\"suppliercard\",\"ordersuppliercard\",\"orderstoinvoicesupplier\",\"invoicesuppliercard\",\"paymentsupplier\",\"deliverycard\",\"productcard\",\"pricesuppliercard\",\"productstatsorder\",\"productstatssupplyorder\",\"productstatscontract\",\"productstatsinvoice\",\"productstatssupplyinvoice\",\"productstatspropal\",\"warehousecard\",\"projectcard\",\"projecttaskcard\",\"projecttaskcard\",\"resource_card\",\"element_resource\",\"agendathirdparty\",\"salesrepresentativescard\",\"consumptionthirdparty\",\"infothirdparty\",\"thirdpartycard\",\"usercard\",\"passwordforgottenpage\"]','chaine',0,NULL,'2022-04-25 13:25:31'),(161,'MAIN_MODULE_MYFIELD_CSS',1,'/myfield/css/patastools.css','chaine',0,NULL,'2022-04-25 13:25:31'),(163,'MAIN_MODULE_SCROLLTO',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:25:34'),(164,'MAIN_MODULE_SCROLLTO_JS',1,'[\"\\/scrollto\\/js\\/jquery.cookie.js\",\"\\/scrollto\\/js\\/scrollto.js\"]','chaine',0,NULL,'2022-04-25 13:25:34'),(166,'MAIN_MODULE_SUBTOTAL',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:25:42'),(167,'MAIN_MODULE_SUBTOTAL_TRIGGERS',1,'1','chaine',0,NULL,'2022-04-25 13:25:42'),(168,'MAIN_MODULE_SUBTOTAL_MODELS',1,'1','chaine',0,NULL,'2022-04-25 13:25:42'),(169,'MAIN_MODULE_SUBTOTAL_HOOKS',1,'[\"invoicecard\",\"invoicesuppliercard\",\"propalcard\",\"supplier_proposalcard\",\"ordercard\",\"ordersuppliercard\",\"odtgeneration\",\"orderstoinvoice\",\"orderstoinvoicesupplier\",\"admin\",\"invoicereccard\",\"consumptionthirdparty\",\"ordershipmentcard\",\"expeditioncard\",\"deliverycard\",\"paiementcard\",\"referencelettersinstacecard\"]','chaine',0,NULL,'2022-04-25 13:25:42'),(170,'MAIN_MODULE_SUBTOTAL_TPL',1,'1','chaine',0,NULL,'2022-04-25 13:25:42'),(171,'SUBTOTAL_STYLE_TITRES_SI_LIGNES_CACHEES',1,'I','chaine',1,'Définit le style (B : gras, I : Italique, U : Souligné) des sous titres lorsque le détail des lignes et des ensembles est caché','2022-04-25 13:25:42'),(172,'SUBTOTAL_ALLOW_ADD_BLOCK',1,'1','chaine',0,'Permet l\'ajout de titres et sous-totaux','2022-04-25 13:25:42'),(173,'SUBTOTAL_ALLOW_EDIT_BLOCK',1,'1','chaine',0,'Permet de modifier titres et sous-totaux','2022-04-25 13:25:42'),(174,'SUBTOTAL_ALLOW_REMOVE_BLOCK',1,'1','chaine',0,'Permet de supprimer les titres et sous-totaux','2022-04-25 13:25:42'),(175,'SUBTOTAL_TITLE_STYLE',1,'BU','chaine',0,NULL,'2022-04-25 13:25:42'),(176,'SUBTOTAL_SUBTOTAL_STYLE',1,'B','chaine',0,NULL,'2022-04-25 13:25:42'),(187,'MAIN_MODULE_MYLIST',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.105.200\"}','2022-04-25 13:27:34'),(188,'MAIN_MODULE_MYLIST_CSS',1,'/mylist/css/patastools.css','chaine',0,NULL,'2022-04-25 13:27:34'),(189,'MAIN_MODULE_MYLIST_MODELS',1,'1','chaine',0,NULL,'2022-04-25 13:27:34'),(192,'SOCIETE_CODECLIENT_ADDON',1,'mod_codeclient_elephant','chaine',0,'','2022-04-25 13:31:55'),(194,'COMPANY_ELEPHANT_MASK_CUSTOMER',1,'CL-{00000}','chaine',0,'','2022-04-25 13:32:47'),(195,'COMPANY_ELEPHANT_MASK_SUPPLIER',1,'FO-{00000}','chaine',0,'','2022-04-25 13:32:47'),(196,'SOCIETE_DISABLE_PROSPECTSCUSTOMERS',1,'1','yesno',0,'','2022-04-25 13:34:28'),(197,'PROPALE_ADDON_PDF',1,'rfltr_dol_propal','chaine',0,'','2022-04-26 07:13:39'),(198,'PROPALE_ADDON',1,'mod_propale_saphir','chaine',0,'','2022-04-26 07:13:45'),(199,'PROPALE_SAPHIR_MASK',1,'PR-{000000}','chaine',0,'','2022-04-26 07:14:07'),(200,'PROPALE_VALIDITY_DURATION',1,'30','chaine',0,'','2022-04-26 07:14:28'),(202,'FACTURE_MERCURE_MASK_INVOICE',1,'FA-{000000}','chaine',0,'','2022-04-26 07:15:38'),(203,'FACTURE_MERCURE_MASK_CREDIT',1,'AV-{000000}','chaine',0,'','2022-04-26 07:15:38'),(204,'FACTURE_MERCURE_MASK_DEPOSIT',1,'AC-{000000}','chaine',0,'','2022-04-26 07:15:38'),(209,'FACTURE_ADDON',1,'mod_facture_mercure','chaine',0,'','2022-04-26 07:16:41'),(210,'PRODUCT_CODEPRODUCT_ADDON',1,'mod_codeproduct_elephant','chaine',0,'','2022-04-26 07:16:55'),(211,'PRODUCT_ELEPHANT_MASK_PRODUCT',1,'PR-{000000}','chaine',0,'','2022-04-26 07:17:20'),(212,'PRODUCT_ELEPHANT_MASK_SERVICE',1,'SE-{000000}','chaine',0,'','2022-04-26 07:17:20'),(213,'FACTURE_ADDON_PDF',1,'rfltr_dol_facture','chaine',0,'','2022-04-26 07:18:26'),(214,'FCKEDITOR_ENABLE_NOTE_PUBLIC',1,'1','chaine',0,'','2022-04-26 07:19:26'),(215,'FCKEDITOR_ENABLE_NOTE_PRIVATE',1,'1','chaine',0,'','2022-04-26 07:19:28'),(216,'USER_PASSWORD_PATTERN',1,'12;1;1;1;3;1','chaine',0,'','2022-04-26 07:20:43'),(218,'MAIN_SECURITY_DISABLEFORGETPASSLINK',1,'1','chaine',0,'','2022-04-26 07:22:01'),(219,'MAIN_UPLOAD_DOC',1,'4096','chaine',0,'','2022-04-26 07:23:45'),(220,'MAIN_UMASK',1,'0664','chaine',0,'','2022-04-26 07:23:45'),(221,'MAIN_HELPCENTER_DISABLELINK',1,'1','chaine',0,'','2022-04-26 07:28:17'),(277,'MAIN_MENU_HIDE_UNAUTHORIZED',1,'1','chaine',0,'','2022-04-26 07:42:11'),(278,'MAIN_BUTTON_HIDE_UNAUTHORIZED',1,'1','chaine',0,'','2022-04-26 07:42:12'),(279,'MAIN_HELP_DISABLELINK',1,'1','chaine',0,'','2022-04-26 07:42:14'),(305,'MAIN_MAX_DECIMALS_UNIT',1,'2','chaine',0,'','2022-04-26 07:48:07'),(306,'MAIN_MAX_DECIMALS_TOT',1,'2','chaine',0,'','2022-04-26 07:48:07'),(307,'MAIN_MAX_DECIMALS_SHOWN',1,'2','chaine',0,'','2022-04-26 07:48:07'),(316,'MAIN_DISABLE_ALL_MAILS',1,'0','chaine',0,'','2022-04-26 07:59:22'),(317,'MAIN_MAIL_FORCE_SENDTO',1,'pierre@hugon-informatique.fr','chaine',0,'','2022-04-26 07:59:22'),(318,'MAIN_MAIL_ENABLED_USER_DEST_SELECT',1,'0','chaine',0,'','2022-04-26 07:59:22'),(319,'MAIN_MAIL_SENDMODE',1,'mail','chaine',0,'','2022-04-26 07:59:22'),(320,'MAIN_MAIL_SMTP_SERVER',1,'admin','chaine',0,'','2022-04-26 07:59:22'),(321,'MAIN_MAIL_SMTPS_PW',1,'Greg@ire79531776*','chaine',0,'','2022-04-26 07:59:22'),(322,'MAIN_MAIL_EMAIL_FROM',1,'robot@domain.com','chaine',0,'','2022-04-26 07:59:22'),(323,'MAIN_MAIL_DEFAULT_FROMTYPE',1,'company','chaine',0,'','2022-04-26 07:59:22'),(344,'CRON_KEY',0,'8qAcK4AZ15zg6r26xEG4eOJIx4bo0BzY','chaine',0,'','2022-04-26 12:35:59'),(385,'MAIN_MODULE_BACKUPMODULE',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.184.117.53\"}','2022-04-26 14:29:43'),(386,'MAIN_MODULE_BACKUPMODULE_TRIGGERS',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(387,'MAIN_MODULE_BACKUPMODULE_LOGIN',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(388,'MAIN_MODULE_BACKUPMODULE_SUBSTITUTIONS',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(389,'MAIN_MODULE_BACKUPMODULE_MENUS',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(390,'MAIN_MODULE_BACKUPMODULE_TPL',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(391,'MAIN_MODULE_BACKUPMODULE_BARCODE',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(392,'MAIN_MODULE_BACKUPMODULE_MODELS',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(393,'MAIN_MODULE_BACKUPMODULE_PRINTING',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(394,'MAIN_MODULE_BACKUPMODULE_THEME',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(395,'MAIN_MODULE_BACKUPMODULE_MODULEFOREXTERNAL',1,'0','chaine',0,NULL,'2022-04-26 14:29:43'),(620,'MAIN_SHOW_LOGO',1,'1','chaine',0,'','2022-04-27 09:09:44'),(1247,'MAIN_INFO_SOCIETE_COUNTRY',1,'1:FR:France','chaine',0,'','2022-04-27 11:59:32'),(1248,'MAIN_INFO_SOCIETE_STATE',1,'286:18:Cher','chaine',0,'','2022-04-27 11:59:33'),(1249,'MAIN_INFO_SOCIETE_NOM',1,'Hugon Informatique','chaine',0,'','2022-04-27 11:59:33'),(1250,'MAIN_INFO_SOCIETE_ADDRESS',1,'Le briou, 5 chemin de dame','chaine',0,'','2022-04-27 11:59:33'),(1251,'MAIN_INFO_SOCIETE_TOWN',1,'Saint-Doulchard','chaine',0,'','2022-04-27 11:59:33'),(1252,'MAIN_INFO_SOCIETE_ZIP',1,'18230','chaine',0,'','2022-04-27 11:59:33'),(1253,'MAIN_MONNAIE',1,'EUR','chaine',0,'','2022-04-27 11:59:33'),(1254,'MAIN_INFO_SOCIETE_TEL',1,'0218810383','chaine',0,'','2022-04-27 11:59:33'),(1255,'MAIN_INFO_SOCIETE_MAIL',1,'contact@hugon-informatique.com','chaine',0,'','2022-04-27 11:59:33'),(1256,'MAIN_INFO_SOCIETE_WEB',1,'www.hugon-informatique.com','chaine',0,'','2022-04-27 11:59:33'),(1257,'MAIN_INFO_SOCIETE_LOGO_SQUARRED',1,'logoHI.png','chaine',0,'','2022-04-27 11:59:33'),(1258,'MAIN_INFO_SOCIETE_LOGO_SQUARRED_SMALL',1,'logoHI_small.png','chaine',0,'','2022-04-27 11:59:33'),(1259,'MAIN_INFO_SOCIETE_LOGO_SQUARRED_MINI',1,'logoHI_mini.png','chaine',0,'','2022-04-27 11:59:33'),(1260,'MAIN_INFO_SOCIETE_FORME_JURIDIQUE',1,'0','chaine',0,'','2022-04-27 11:59:33'),(1261,'SOCIETE_FISCAL_MONTH_START',1,'1','chaine',0,'','2022-04-27 11:59:33'),(1262,'FACTURE_TVAOPTION',1,'1','chaine',0,'','2022-04-27 11:59:33'),(1957,'SOCIETE_DISABLE_PROSPECTS',1,'1','chaine',1,'','2022-05-10 09:41:34'),(1958,'MAIN_LANG_DEFAULT',1,'auto','chaine',0,'','2022-05-10 09:57:11'),(1960,'MAIN_THEME',1,'eldy','chaine',0,'','2022-05-10 09:57:11'),(1961,'MAIN_SIZE_LISTE_LIMIT',1,'20','chaine',0,'','2022-05-10 09:57:11'),(1962,'MAIN_SIZE_SHORTLIST_LIMIT',1,'3','chaine',0,'','2022-05-10 09:57:11'),(1963,'MAIN_START_WEEK',1,'1','chaine',0,'','2022-05-10 09:57:11'),(1964,'MAIN_DEFAULT_WORKING_DAYS',1,'1-5','chaine',0,'','2022-05-10 09:57:11'),(1965,'MAIN_DEFAULT_WORKING_HOURS',1,'9-18','chaine',0,'','2022-05-10 09:57:11'),(1966,'MAIN_BUGTRACK_ENABLELINK',1,'0','chaine',0,'','2022-05-10 09:57:11'),(1967,'MAIN_FIRSTNAME_NAME_POSITION',1,'0','chaine',0,'','2022-05-10 09:57:11'),(1969,'MAIN_MODULE_REFERENCELETTERS',1,'1','string',0,'{\"authorid\":\"1\",\"ip\":\"92.162.43.34\"}','2022-05-11 13:10:55'),(1970,'MAIN_MODULE_REFERENCELETTERS_TABS_0',1,'contract:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=contract','chaine',0,NULL,'2022-05-11 13:10:55'),(1971,'MAIN_MODULE_REFERENCELETTERS_TABS_1',1,'thirdparty:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=thirdparty','chaine',0,NULL,'2022-05-11 13:10:55'),(1972,'MAIN_MODULE_REFERENCELETTERS_TABS_2',1,'contact:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=contact','chaine',0,NULL,'2022-05-11 13:10:55'),(1973,'MAIN_MODULE_REFERENCELETTERS_TABS_3',1,'propal:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=propal','chaine',0,NULL,'2022-05-11 13:10:55'),(1974,'MAIN_MODULE_REFERENCELETTERS_TABS_4',1,'invoice:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=invoice','chaine',0,NULL,'2022-05-11 13:10:55'),(1975,'MAIN_MODULE_REFERENCELETTERS_TABS_5',1,'order:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=order','chaine',0,NULL,'2022-05-11 13:10:55'),(1976,'MAIN_MODULE_REFERENCELETTERS_TABS_6',1,'supplier_proposal:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=supplier_proposal','chaine',0,NULL,'2022-05-11 13:10:55'),(1977,'MAIN_MODULE_REFERENCELETTERS_TABS_7',1,'supplier_order:+tabReferenceLetters:RefLtrLetters:referenceletters@referenceletters:$user->rights->referenceletters->use:/referenceletters/referenceletters/instance.php?id=__ID__&element_type=order_supplier','chaine',0,NULL,'2022-05-11 13:10:55'),(1978,'MAIN_MODULE_REFERENCELETTERS_MODELS',1,'1','chaine',0,NULL,'2022-05-11 13:10:55'),(1979,'MAIN_MODULE_REFERENCELETTERS_HOOKS',1,'[\"pdfgeneration\",\"formfile\",\"propalcard\",\"ordercard\",\"invoicecard\",\"contractcard\",\"supplier_proposalcard\",\"ordersuppliercard\",\"expeditioncard\",\"interventioncard\"]','chaine',0,NULL,'2022-05-11 13:10:55'),(1982,'FCKEDITOR_ENABLE_SOCIETE',1,'1','yesno',0,'Enabled WYSYWYG on modules','2022-05-11 13:10:55'),(1983,'REF_LETTER_CREATEEVENT',1,'1','yesno',0,'CreateEvent','2022-05-11 13:10:55'),(1984,'REF_LETTER_EVTCOPYFILE',1,'1','yesno',0,'copy file event','2022-05-11 13:10:55'),(1985,'REF_LETTER_TYPEEVENTNAME',1,'other','chaine',0,'Event name like <Letter Ref.  {ref_int}>(normal) or like <{model title} - {customer name}>(other)','2022-05-11 13:10:55'),(1986,'REF_LETTER_OUTPUTREFLET',1,'1','yesno',0,'Output document ref','2022-05-11 13:10:55'),(1992,'COMMANDE_ADDON_PDF_ODT_PATH',1,'DOL_DATA_ROOT/doctemplates/orders','chaine',0,NULL,'2022-05-12 11:43:03'),(1994,'COMMANDE_SAPHIR_MASK',1,'CO-{000000}','chaine',0,'','2022-05-12 11:43:09'),(1995,'COMMANDE_ADDON',1,'mod_commande_saphir','chaine',0,'','2022-05-12 11:43:11'),(2000,'COMMANDE_ADDON_PDF',1,'rfltr_dol_commande','chaine',0,'','2022-05-12 11:43:41'),(2004,'REF_LETTER_UNIVERSAL_MASK',1,'LTR-{000000}','chaine',0,'','2022-05-12 12:01:09'),(2005,'REF_LETTER_ADDON',1,'mod_referenceletters_universal','chaine',0,'','2022-05-12 12:01:39'),(2017,'SIGNATURE_CONFIRMATION_MAIL',1,'Societe','string',1,NULL,'2022-05-12 12:02:19'),(2018,'DOUBLE_SIGNATURE',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2019,'SIGNATURE_TEMPLATE',1,'Bonjour {CLIENT},\rNous vous remercions d\'avoir accept&eacute; le document {REF}.Veuillez trouver ci-jointe une copie au format PDF.\rNous mettons tout en &oelig;uvre afin de traiter votre commande. Merci de votre confiance.','string',1,NULL,'2022-05-12 12:02:19'),(2020,'SIGNATURE_URL',1,'https://dolibase.hidoli.fr','string',1,NULL,'2022-05-12 12:02:19'),(2021,'SIGNATURE_DOC_PATH',1,'/home/lmvh8671/dolibase.hidoli.fr/documents','string',1,NULL,'2022-05-12 12:02:19'),(2022,'SIGNATURE_ENABLE_PROPAL',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2023,'SIGNATURE_ENABLE_ORDER',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2024,'SIGNATURE_ENABLE_ORDER_SUPPLIER',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2025,'SIGNATURE_ENABLE_EXPEDITION',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2026,'SIGNATURE_ENABLE_INTERVENTION',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2027,'SIGNATURE_ENABLE_DELIVERY',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2028,'SIGNATURE_ENABLE_CONTRACT',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2029,'SIGNATURE_ENABLE_SEPA_MANDATE',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2030,'SIGNATURE_ENABLE_HOLIDAY',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2031,'SIGNATURE_ENABLE_EXPENSE_REPORT',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2032,'SIGNATURE_DISPLAY_NAME',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2033,'SIGNATURE_SOCIAL_LINKS',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2034,'SIGNATURE_DOCUMENT_PREVIEW',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2035,'SIGNATURE_USE_CERTIFICATE',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2036,'SIGNATURE_CRT',1,'/home/lmvh8671/dolibase.hidoli.fr/documents/mycompany/certificate.crt','string',1,NULL,'2022-05-12 12:02:19'),(2037,'SIGNATURE_CRT_PRIVATE_KEY',1,'/home/lmvh8671/dolibase.hidoli.fr/documents/mycompany/private.key','string',1,NULL,'2022-05-12 12:02:19'),(2038,'SIGNATURE_CUSTOM_RIBBON_COLOR',1,'ff0000','string',1,NULL,'2022-05-12 12:02:19'),(2039,'SIGNATURE_CUSTOM_LINE_COLOR',1,'1e90ff','string',1,NULL,'2022-05-12 12:02:19'),(2040,'SIGNATURE_CUSTOM_CHECKBOX_COLOR',1,'26a69a','string',1,NULL,'2022-05-12 12:02:19'),(2041,'SIGNATURE_DISPLAY_LINE_AND_RIBBON',1,'true','string',1,NULL,'2022-05-12 12:02:19'),(2042,'SIGNATURE_TEMPLATE_SUBJECT',1,'Signature du document {REF}','string',1,NULL,'2022-05-12 12:02:19'),(2043,'SIGNATURE_PROPAL_CAN_BE_REFUSED',1,'false','string',1,NULL,'2022-05-12 12:02:19'),(2044,'SIGNATURE_COMPANY_STAMP',1,'/home/lmvh8671/dolibase.hidoli.fr/documents/mycompany/stamp.png','string',1,NULL,'2022-05-12 12:02:19'),(2047,'INVOICE_DISABLE_REPLACEMENT',1,'1','chaine',1,'','2022-07-05 08:07:49'),(2048,'INVOICE_DISALLOW_REOPEN',1,'1','chaine',1,'','2022-07-05 08:07:57'),(2088,'SIGNATURE_DISPLAY_COMMENT_SECTION',1,'false','string',1,NULL,'2022-07-11 20:10:53'),(2090,'MAIN_IHM_PARAMS_REV',1,'135','chaine',0,'','2022-07-11 20:10:55');
/*!40000 ALTER TABLE `llx_const` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_contrat`
--

DROP TABLE IF EXISTS `llx_contrat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_contrat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) DEFAULT NULL,
  `ref_customer` varchar(255) DEFAULT NULL,
  `ref_supplier` varchar(255) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_contrat` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT 0,
  `fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_commercial_signature` int(11) DEFAULT NULL,
  `fk_commercial_suivi` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT 0,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` 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 `uk_contrat_ref` (`ref`,`entity`),
  KEY `idx_contrat_fk_soc` (`fk_soc`),
  KEY `idx_contrat_fk_user_author` (`fk_user_author`),
  CONSTRAINT `fk_contrat_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_contrat_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_contrat` WRITE;
/*!40000 ALTER TABLE `llx_contrat` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_contrat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_contrat_extrafields`
--

DROP TABLE IF EXISTS `llx_contrat_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_contrat_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contrat_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_contrat_extrafields`
--

LOCK TABLES `llx_contrat_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_contrat_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_contrat_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_contratdet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `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,
  `qty` double NOT NULL,
  `remise_percent` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `price_ht` double DEFAULT NULL,
  `remise` double DEFAULT 0,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 1,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT NULL,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT 0,
  `fk_user_ouverture` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `commentaire` text DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
  KEY `idx_contratdet_fk_product` (`fk_product`),
  KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
  KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
  KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`),
  KEY `fk_contratdet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_contratdet_fk_contrat` FOREIGN KEY (`fk_contrat`) REFERENCES `llx_contrat` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_contratdet` WRITE;
/*!40000 ALTER TABLE `llx_contratdet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_contratdet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_contratdet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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`),
  KEY `idx_contratdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_contratdet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_contratdet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_contratdet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_contratdet_log`
--

DROP TABLE IF EXISTS `llx_contratdet_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_contratdet_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_contratdet` int(11) NOT NULL,
  `date` datetime NOT NULL,
  `statut` smallint(6) NOT NULL,
  `fk_user_author` int(11) NOT NULL,
  `commentaire` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
  KEY `idx_contratdet_log_date` (`date`),
  CONSTRAINT `fk_contratdet_log_fk_contratdet` FOREIGN KEY (`fk_contratdet`) REFERENCES `llx_contratdet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_contratdet_log`
--

LOCK TABLES `llx_contratdet_log` WRITE;
/*!40000 ALTER TABLE `llx_contratdet_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_contratdet_log` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_cronjob`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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` text 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,
  `maxrun` int(11) NOT NULL DEFAULT 0,
  `nbrun` int(11) DEFAULT NULL,
  `autodelete` int(11) DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `processing` int(11) NOT NULL DEFAULT 0,
  `test` varchar(255) DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_mailing` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `libname` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_cronjob_status` (`status`),
  KEY `idx_cronjob_datelastrun` (`datelastrun`),
  KEY `idx_cronjob_datenextrun` (`datenextrun`),
  KEY `idx_cronjob_datestart` (`datestart`),
  KEY `idx_cronjob_dateend` (`dateend`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_cronjob` WRITE;
/*!40000 ALTER TABLE `llx_cronjob` DISABLE KEYS */;
INSERT INTO `llx_cronjob` (`rowid`, `tms`, `datec`, `jobtype`, `label`, `command`, `classesname`, `objectname`, `methodename`, `params`, `md5params`, `module_name`, `priority`, `datelastrun`, `datenextrun`, `datestart`, `dateend`, `datelastresult`, `lastresult`, `lastoutput`, `unitfrequency`, `frequency`, `maxrun`, `nbrun`, `autodelete`, `status`, `processing`, `test`, `fk_user_author`, `fk_user_mod`, `fk_mailing`, `note`, `libname`, `entity`) VALUES (1,'2022-04-25 12:00:20','2022-04-25 14:00:20','method','RecurringInvoices',NULL,'compta/facture/class/facture-rec.class.php','FactureRec','createRecurringInvoices',NULL,NULL,'facture',50,NULL,NULL,'2022-04-25 23:00:00',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,1,0,'$conf->facture->enabled',NULL,NULL,NULL,'Generate recurring invoices',NULL,1),(2,'2022-04-25 12:00:20','2022-04-25 14:00:20','method','SendEmailsRemindersOnInvoiceDueDate',NULL,'compta/facture/class/facture.class.php','Facture','sendEmailsRemindersOnInvoiceDueDate','10,all,EmailTemplateCode',NULL,'facture',50,NULL,NULL,'2022-04-25 23:00:00',NULL,NULL,NULL,NULL,'86400',1,0,NULL,0,0,0,'$conf->facture->enabled',NULL,NULL,NULL,'Send an emails when the unpaid invoices reach a due date + n days = today. First param is the offset n of days, second parameter is \"all\" or a payment mode code, last paramater is the code of email template to use (an email template with EmailTemplateCode must exists. the version in the language of the thirdparty will be used in priority).',NULL,1),(3,'2022-04-25 13:21:52','2022-04-25 15:21:52','method','PurgeDeleteTemporaryFilesShort',NULL,'core/class/utils.class.php','Utils','purgeFiles','tempfilesold+logfiles',NULL,'cron',50,NULL,NULL,'2022-04-25 15:21:52',NULL,NULL,NULL,NULL,'604800',2,0,NULL,0,1,0,'1',NULL,NULL,NULL,'PurgeDeleteTemporaryFiles',NULL,0),(4,'2022-04-25 13:21:52','2022-04-25 15:21:52','method','MakeLocalDatabaseDumpShort',NULL,'core/class/utils.class.php','Utils','dumpDatabase','none,auto,1,auto,10',NULL,'cron',90,NULL,NULL,'2022-04-25 15:21:52',NULL,NULL,NULL,NULL,'604800',1,0,NULL,0,0,0,'1',NULL,NULL,NULL,'MakeLocalDatabaseDump',NULL,0),(7,'2022-05-13 14:35:59','2022-04-26 14:34:17','method','RestaurationTotale','','custom/backupmodule/class/backupmodule_backup.class.php','BackUp','CheckIfTotalRestoration','','','BackUpmodule',0,'2022-04-26 17:05:51','2022-04-27 01:00:00','2022-04-28 00:00:00',NULL,'2022-04-26 17:06:42','0',NULL,'604800',52,0,15,0,1,0,NULL,1,1,NULL,'',NULL,1),(8,'2022-04-26 13:06:33','2022-04-26 15:06:33','method','RestaurationPartielle','','custom/backupmodule/class/backupmodule_backup.class.php','BackUp','CheckIfPartialRestoration','','','BackUpmodule',0,NULL,NULL,'2022-04-28 00:00:00',NULL,NULL,NULL,NULL,'86400',1,0,0,0,0,0,NULL,1,1,NULL,'',NULL,1),(9,'2022-08-28 08:00:02','2022-04-26 15:10:47','method','SauvegardeBackUpMod','','custom/backupmodule/class/backupmodule_backup.class.php','BackUp','createBackUp','','','BackUpmodule',0,'2022-08-28 10:00:02','2022-08-28 01:00:00','2022-04-29 01:00:00',NULL,NULL,'','','86400',1,0,125,0,1,1,NULL,1,1,NULL,'',NULL,1);
/*!40000 ALTER TABLE `llx_cronjob` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_default_values`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_default_values` WRITE;
/*!40000 ALTER TABLE `llx_default_values` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_default_values` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_delivery`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `fk_soc` int(11) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_customer` varchar(255) 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,
  `last_main_doc` 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,
  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=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_delivery` WRITE;
/*!40000 ALTER TABLE `llx_delivery` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_delivery` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_delivery_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_delivery_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_delivery_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_delivery_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_delivery_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_deliverydet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_deliverydet_fk_delivery` (`fk_delivery`),
  CONSTRAINT `fk_deliverydet_fk_delivery` FOREIGN KEY (`fk_delivery`) REFERENCES `llx_delivery` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_deliverydet` WRITE;
/*!40000 ALTER TABLE `llx_deliverydet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_deliverydet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_deliverydet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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`),
  KEY `idx_deliverydet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_deliverydet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_deliverydet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_deliverydet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_deplacement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_deplacement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `dated` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `type` varchar(12) NOT NULL,
  `fk_statut` int(11) NOT NULL DEFAULT 1,
  `km` double DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT 0,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_deplacement` WRITE;
/*!40000 ALTER TABLE `llx_deplacement` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_deplacement` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_document_model`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_document_model` WRITE;
/*!40000 ALTER TABLE `llx_document_model` DISABLE KEYS */;
INSERT INTO `llx_document_model` (`rowid`, `nom`, `entity`, `type`, `libelle`, `description`) VALUES (4,'rfltr_dol_propal',1,'propal','docEdit proposition commerciale',NULL),(8,'rfltr_dol_facture',1,'invoice','docEdit facture',NULL),(13,'rfltr_dol_commande',1,'order','docEdit commande',NULL);
/*!40000 ALTER TABLE `llx_document_model` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_don`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `datedon` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `fk_payment` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT 0,
  `fk_soc` int(11) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `societe` varchar(50) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `zip` varchar(30) 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,
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT 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,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_don` WRITE;
/*!40000 ALTER TABLE `llx_don` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_don` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_don_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_don_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_don_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_don_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_ecm_directories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_ecm_directories` WRITE;
/*!40000 ALTER TABLE `llx_ecm_directories` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ecm_directories` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_ecm_directories_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ecm_directories_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_ecm_directories_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_ecm_directories_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ecm_directories_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_ecm_files`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_ecm_files` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) DEFAULT NULL,
  `label` varchar(128) NOT NULL,
  `share` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `filepath` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `src_object_type` varchar(64) DEFAULT NULL,
  `src_object_id` int(11) DEFAULT NULL,
  `fullpath_orig` varchar(750) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `keywords` varchar(750) DEFAULT NULL,
  `cover` text DEFAULT NULL,
  `position` int(11) DEFAULT NULL,
  `gen_or_uploaded` varchar(12) 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_files` (`filepath`,`filename`,`entity`),
  KEY `idx_ecm_files_label` (`label`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_ecm_files` WRITE;
/*!40000 ALTER TABLE `llx_ecm_files` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ecm_files` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_ecm_files_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ecm_files_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_ecm_files_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_ecm_files_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ecm_files_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_element_contact`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_element_contact` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datecreate` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT 5,
  `element_id` int(11) NOT NULL,
  `fk_c_type_contact` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
  KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
  KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_element_contact_fk_c_type_contact` FOREIGN KEY (`fk_c_type_contact`) REFERENCES `llx_c_type_contact` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_element_contact` WRITE;
/*!40000 ALTER TABLE `llx_element_contact` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_element_contact` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_element_element`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_element_element` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_source` int(11) NOT NULL,
  `sourcetype` varchar(32) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
  KEY `idx_element_element_fk_target` (`fk_target`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_element_element` WRITE;
/*!40000 ALTER TABLE `llx_element_element` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_element_element` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_element_resources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `duree` double DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_element_resources_idx1` (`resource_id`,`resource_type`,`element_id`,`element_type`),
  KEY `idx_element_element_element_id` (`element_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_element_resources` WRITE;
/*!40000 ALTER TABLE `llx_element_resources` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_element_resources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_emailcollector_emailcollector`
--

DROP TABLE IF EXISTS `llx_emailcollector_emailcollector`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_emailcollector_emailcollector` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `host` varchar(255) DEFAULT NULL,
  `hostcharset` varchar(16) DEFAULT 'UTF-8',
  `login` varchar(128) DEFAULT NULL,
  `password` varchar(128) DEFAULT NULL,
  `source_directory` varchar(255) NOT NULL,
  `target_directory` varchar(255) DEFAULT NULL,
  `maxemailpercollect` int(11) DEFAULT 100,
  `datelastresult` datetime DEFAULT NULL,
  `codelastresult` varchar(16) DEFAULT NULL,
  `lastresult` varchar(255) DEFAULT NULL,
  `datelastok` datetime 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) 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_emailcollector_ref` (`ref`,`entity`),
  KEY `idx_emailcollector_entity` (`entity`),
  KEY `idx_emailcollector_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_emailcollector_emailcollector` WRITE;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollector` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollector` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_emailcollector_emailcollectoraction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_emailcollector_emailcollectoraction` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_emailcollector` int(11) NOT NULL,
  `type` varchar(128) NOT NULL,
  `actionparam` 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,
  `position` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_emailcollector_emailcollectoraction` (`fk_emailcollector`,`type`),
  KEY `idx_emailcollector_fk_emailcollector` (`fk_emailcollector`),
  CONSTRAINT `fk_emailcollectoraction_fk_emailcollector` FOREIGN KEY (`fk_emailcollector`) REFERENCES `llx_emailcollector_emailcollector` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_emailcollector_emailcollectoraction` WRITE;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollectoraction` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollectoraction` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_emailcollector_emailcollectorfilter`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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(128) 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_emailcollectorfilter_fk_emailcollector` FOREIGN KEY (`fk_emailcollector`) REFERENCES `llx_emailcollector_emailcollector` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_emailcollector_emailcollectorfilter` WRITE;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollectorfilter` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_emailcollector_emailcollectorfilter` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_entrepot`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_entrepot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_project` int(11) DEFAULT NULL,
  `description` text 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,
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_entrepot_label` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_entrepot` WRITE;
/*!40000 ALTER TABLE `llx_entrepot` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_entrepot` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_entrepot_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  PRIMARY KEY (`rowid`),
  KEY `idx_entrepot_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_entrepot_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_entrepot_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_entrepot_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_establishment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_establishment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(30) DEFAULT NULL,
  `name` varchar(128) 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(20) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `status` tinyint(4) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_establishment` WRITE;
/*!40000 ALTER TABLE `llx_establishment` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_establishment` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_event_element`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_event_element` WRITE;
/*!40000 ALTER TABLE `llx_event_element` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_event_element` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_eventorganization_conferenceorboothattendee`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `fk_project` int(11) NOT NULL,
  `fk_invoice` int(11) DEFAULT NULL,
  `email` varchar(100) 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_eventorganization_conferenceorboothattendee` (`fk_project`,`email`,`fk_actioncomm`),
  KEY `idx_eventorganization_conferenceorboothattendee_rowid` (`rowid`),
  KEY `idx_eventorganization_conferenceorboothattendee_ref` (`ref`),
  KEY `idx_eventorganization_conferenceorboothattendee_fk_soc` (`fk_soc`),
  KEY `idx_eventorganization_conferenceorboothattendee_fk_actioncomm` (`fk_actioncomm`),
  KEY `idx_eventorganization_conferenceorboothattendee_fk_project` (`fk_project`),
  KEY `idx_eventorganization_conferenceorboothattendee_email` (`email`),
  KEY `idx_eventorganization_conferenceorboothattendee_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_eventorganization_conferenceorboothattendee` WRITE;
/*!40000 ALTER TABLE `llx_eventorganization_conferenceorboothattendee` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_eventorganization_conferenceorboothattendee` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_eventorganization_conferenceorboothattendee_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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`),
  KEY `idx_conferenceorboothattendee_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_eventorganization_conferenceorboothattendee_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_eventorganization_conferenceorboothattendee_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_eventorganization_conferenceorboothattendee_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_events` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `type` varchar(32) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `prefix_session` varchar(255) DEFAULT NULL,
  `dateevent` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `description` varchar(250) NOT NULL,
  `ip` varchar(250) NOT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL,
  `authentication_method` varchar(64) DEFAULT NULL,
  `fk_oauth_token` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_events_dateevent` (`dateevent`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_events` WRITE;
/*!40000 ALTER TABLE `llx_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_events` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expedition`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_customer` varchar(255) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `date_expedition` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `billed` smallint(6) DEFAULT 0,
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `size` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
  KEY `idx_expedition_fk_soc` (`fk_soc`),
  KEY `idx_expedition_fk_user_author` (`fk_user_author`),
  KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expedition_fk_shipping_method` (`fk_shipping_method`),
  CONSTRAINT `fk_expedition_fk_shipping_method` FOREIGN KEY (`fk_shipping_method`) REFERENCES `llx_c_shipment_mode` (`rowid`),
  CONSTRAINT `fk_expedition_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_expedition_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expedition` WRITE;
/*!40000 ALTER TABLE `llx_expedition` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expedition` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expedition_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expedition_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expedition_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_expedition_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expedition_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expedition_package`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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` smallint(6) DEFAULT 0,
  `tail_lift` smallint(6) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expedition_package` WRITE;
/*!40000 ALTER TABLE `llx_expedition_package` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expedition_package` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expeditiondet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_expeditiondet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expedition` int(11) NOT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`),
  KEY `idx_expeditiondet_fk_origin_line` (`fk_origin_line`),
  CONSTRAINT `fk_expeditiondet_fk_expedition` FOREIGN KEY (`fk_expedition`) REFERENCES `llx_expedition` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expeditiondet` WRITE;
/*!40000 ALTER TABLE `llx_expeditiondet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expeditiondet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expeditiondet_batch`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  PRIMARY KEY (`rowid`),
  KEY `idx_fk_expeditiondet` (`fk_expeditiondet`),
  CONSTRAINT `fk_expeditiondet_batch_fk_expeditiondet` FOREIGN KEY (`fk_expeditiondet`) REFERENCES `llx_expeditiondet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expeditiondet_batch` WRITE;
/*!40000 ALTER TABLE `llx_expeditiondet_batch` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expeditiondet_batch` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expeditiondet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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`),
  KEY `idx_expeditiondet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expeditiondet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_expeditiondet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expeditiondet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expensereport`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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_creat` int(11) DEFAULT 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(50) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_expensereport_uk_ref` (`ref`,`entity`),
  KEY `idx_expensereport_date_debut` (`date_debut`),
  KEY `idx_expensereport_date_fin` (`date_fin`),
  KEY `idx_expensereport_fk_statut` (`fk_statut`),
  KEY `idx_expensereport_fk_user_author` (`fk_user_author`),
  KEY `idx_expensereport_fk_user_valid` (`fk_user_valid`),
  KEY `idx_expensereport_fk_user_approve` (`fk_user_approve`),
  KEY `idx_expensereport_fk_refuse` (`fk_user_approve`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expensereport` WRITE;
/*!40000 ALTER TABLE `llx_expensereport` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expensereport` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expensereport_det`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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_c_exp_tax_cat` int(11) DEFAULT 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,
  `value_unit` double(24,8) NOT NULL,
  `remise_percent` double DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `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,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_facture` int(11) DEFAULT 0,
  `fk_ecm_files` int(11) DEFAULT NULL,
  `fk_code_ventilation` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `rule_warning_message` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expensereport_det` WRITE;
/*!40000 ALTER TABLE `llx_expensereport_det` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expensereport_det` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expensereport_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_expensereport_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expensereport_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_expensereport_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expensereport_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expensereport_ik`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expensereport_ik` WRITE;
/*!40000 ALTER TABLE `llx_expensereport_ik` DISABLE KEYS */;
INSERT INTO `llx_expensereport_ik` (`rowid`, `datec`, `tms`, `fk_c_exp_tax_cat`, `fk_range`, `coef`, `ikoffset`, `active`) VALUES (1,NULL,'2022-04-25 11:44:41',4,1,0.41,0,1),(2,NULL,'2022-04-25 11:44:41',4,2,0.244,824,1),(3,NULL,'2022-04-25 11:44:41',4,3,0.286,0,1),(4,NULL,'2022-04-25 11:44:41',5,4,0.493,0,1),(5,NULL,'2022-04-25 11:44:41',5,5,0.277,1082,1),(6,NULL,'2022-04-25 11:44:41',5,6,0.332,0,1),(7,NULL,'2022-04-25 11:44:41',6,7,0.543,0,1),(8,NULL,'2022-04-25 11:44:41',6,8,0.305,1180,1),(9,NULL,'2022-04-25 11:44:41',6,9,0.364,0,1),(10,NULL,'2022-04-25 11:44:41',7,10,0.568,0,1),(11,NULL,'2022-04-25 11:44:41',7,11,0.32,1244,1),(12,NULL,'2022-04-25 11:44:41',7,12,0.382,0,1),(13,NULL,'2022-04-25 11:44:41',8,13,0.595,0,1),(14,NULL,'2022-04-25 11:44:41',8,14,0.337,1288,1),(15,NULL,'2022-04-25 11:44:41',8,15,0.401,0,1);
/*!40000 ALTER TABLE `llx_expensereport_ik` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_expensereport_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_expensereport_rules` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `dates` datetime NOT NULL,
  `datee` datetime NOT NULL,
  `amount` double(24,8) NOT NULL,
  `restrictive` tinyint(4) NOT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_usergroup` int(11) DEFAULT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `code_expense_rules_type` varchar(50) NOT NULL,
  `is_for_all` tinyint(4) DEFAULT 0,
  `entity` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_expensereport_rules` WRITE;
/*!40000 ALTER TABLE `llx_expensereport_rules` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_expensereport_rules` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_export_compta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_export_compta` WRITE;
/*!40000 ALTER TABLE `llx_export_compta` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_export_compta` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_export_model`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_export_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 0,
  `fk_user` int(11) NOT NULL DEFAULT 0,
  `label` varchar(50) NOT NULL,
  `type` varchar(64) NOT NULL,
  `field` text NOT NULL,
  `filter` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_export_model` (`label`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_export_model` WRITE;
/*!40000 ALTER TABLE `llx_export_model` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_export_model` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `elementtype` varchar(64) NOT NULL DEFAULT 'member',
  `label` varchar(255) NOT NULL,
  `type` varchar(8) DEFAULT NULL,
  `size` varchar(8) DEFAULT NULL,
  `fieldcomputed` text DEFAULT NULL,
  `fielddefault` varchar(255) DEFAULT NULL,
  `fieldunique` int(11) DEFAULT 0,
  `fieldrequired` int(11) DEFAULT 0,
  `perms` varchar(255) DEFAULT NULL,
  `enabled` varchar(255) DEFAULT NULL,
  `pos` int(11) DEFAULT 0,
  `alwayseditable` int(11) DEFAULT 0,
  `param` text DEFAULT NULL,
  `list` varchar(255) DEFAULT '1',
  `printable` int(11) DEFAULT 0,
  `totalizable` tinyint(1) DEFAULT 0,
  `langs` varchar(64) DEFAULT NULL,
  `help` text DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_extrafields` DISABLE KEYS */;
INSERT INTO `llx_extrafields` (`rowid`, `name`, `entity`, `elementtype`, `label`, `type`, `size`, `fieldcomputed`, `fielddefault`, `fieldunique`, `fieldrequired`, `perms`, `enabled`, `pos`, `alwayseditable`, `param`, `list`, `printable`, `totalizable`, `langs`, `help`, `fk_user_author`, `fk_user_modif`, `datec`, `tms`) VALUES (1,'rfltr_model_id',1,'facture','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(2,'rfltr_model_id',1,'societe','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(3,'rfltr_model_id',1,'propal','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(4,'rfltr_model_id',1,'contrat','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(5,'rfltr_model_id',1,'socpeople','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(6,'rfltr_model_id',1,'commande','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(7,'rfltr_model_id',1,'commande_fournisseur','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(8,'rfltr_model_id',1,'supplier_proposal','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(9,'rfltr_model_id',1,'expedition','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-04-25 14:10:43','2022-04-25 12:10:43'),(10,'show_total_ht',1,'propaldet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(11,'show_reduc',1,'propaldet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(12,'show_total_ht',1,'commandedet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(13,'show_reduc',1,'commandedet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(14,'show_total_ht',1,'facturedet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(15,'show_reduc',1,'facturedet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(16,'show_total_ht',1,'supplier_proposaldet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(17,'show_reduc',1,'supplier_proposaldet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(18,'show_total_ht',1,'commande_fournisseurdet','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(19,'show_reduc',1,'commande_fournisseurdet','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(20,'show_total_ht',1,'facture_fourn_det','Afficher le Total HT sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(21,'show_reduc',1,'facture_fourn_det','Afficher la réduction sur le sous-total','int','10',NULL,NULL,0,0,NULL,'1',0,0,'a:1:{s:7:\"options\";a:1:{s:0:\"\";N;}}','0',0,0,NULL,'1',1,1,'2022-04-25 15:25:42','2022-04-25 13:25:42'),(40,'rfltr_model_id',1,'fichinter','model doc edit','int','10',NULL,NULL,0,0,NULL,'1',0,1,'','0',0,0,NULL,'1',1,1,'2022-05-11 15:10:55','2022-05-11 13:10:55'),(41,'signature_link',1,'propal','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(42,'signature_link',1,'commande','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(43,'signature_link',1,'commande_fournisseur','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(44,'signature_link',1,'expedition','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(45,'signature_link',1,'fichinter','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(46,'signature_link',1,'contrat','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(47,'signature_link',1,'societe','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(48,'signature_link',1,'holiday','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(49,'signature_link',1,'expensereport','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19'),(50,'signature_link',1,'delivery','Lien de signature','text','2000',NULL,NULL,0,0,NULL,'1',100,0,'','1',0,0,NULL,NULL,1,1,'2022-05-12 14:02:19','2022-05-12 12:02:19');
/*!40000 ALTER TABLE `llx_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `ref_client` 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,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_closing` datetime DEFAULT NULL,
  `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_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,
  `module_source` varchar(32) DEFAULT NULL,
  `pos_source` varchar(32) DEFAULT NULL,
  `fk_fac_rec_source` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `increment` varchar(10) 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,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `fk_transport_mode` int(11) DEFAULT NULL,
  `situation_cycle_ref` smallint(6) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `retained_warranty` double DEFAULT NULL,
  `retained_warranty_date_limit` date DEFAULT NULL,
  `retained_warranty_fk_cond_reglement` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_ref` (`ref`,`entity`),
  KEY `idx_facture_fk_soc` (`fk_soc`),
  KEY `idx_facture_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  KEY `idx_facture_fk_projet` (`fk_projet`),
  KEY `idx_facture_fk_account` (`fk_account`),
  KEY `idx_facture_fk_currency` (`fk_currency`),
  KEY `idx_facture_fk_statut` (`fk_statut`),
  CONSTRAINT `fk_facture_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facture_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture` WRITE;
/*!40000 ALTER TABLE `llx_facture` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facture_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_fourn`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_facture_fourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(180) NOT NULL,
  `ref_supplier` varchar(180) NOT 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,
  `date_pointoftax` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_closing` datetime DEFAULT NULL,
  `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_note` varchar(128) DEFAULT NULL,
  `tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_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,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `fk_transport_mode` int(11) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_facture_fourn_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_facture_fourn_ref_supplier` (`ref_supplier`,`fk_soc`,`entity`),
  KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  KEY `idx_facture_fourn_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_fourn_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_facture_fourn_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_fourn` WRITE;
/*!40000 ALTER TABLE `llx_facture_fourn` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_fourn` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_fourn_det`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_facture_fourn_det` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture_fourn` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) 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(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) DEFAULT NULL,
  `tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`),
  KEY `idx_facture_fourn_det_fk_product` (`fk_product`),
  KEY `idx_facture_fourn_det_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facture_fourn_det_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facture_fourn_det_fk_facture` FOREIGN KEY (`fk_facture_fourn`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_facture_fourn_det_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_fourn_det` WRITE;
/*!40000 ALTER TABLE `llx_facture_fourn_det` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_fourn_det` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_fourn_det_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_fourn_det_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_fourn_det_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facture_fourn_det_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_fourn_det_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_fourn_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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`),
  KEY `idx_facture_fourn_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_fourn_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facture_fourn_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_fourn_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_rec`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_facture_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(200) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `suspended` int(11) DEFAULT 0,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `remise` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `vat_src_code` varchar(10) DEFAULT '',
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `revenuestamp` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT 1,
  `fk_mode_reglement` int(11) DEFAULT 0,
  `date_lim_reglement` date DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `modelpdf` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
  KEY `idx_facture_rec_fk_soc` (`fk_soc`),
  KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_facture_rec_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_facture_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_facture_rec_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_rec` WRITE;
/*!40000 ALTER TABLE `llx_facture_rec` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_rec` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facture_rec_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  PRIMARY KEY (`rowid`),
  KEY `idx_facture_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facture_rec_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facture_rec_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facture_rec_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facturedet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `vat_src_code` varchar(10) DEFAULT '',
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) 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_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `situation_percent` double DEFAULT 100,
  `fk_prev_id` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `ref_ext` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  KEY `idx_facturedet_fk_facture` (`fk_facture`),
  KEY `idx_facturedet_fk_product` (`fk_product`),
  KEY `idx_facturedet_fk_code_ventilation` (`fk_code_ventilation`),
  KEY `fk_facturedet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_facturedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facturedet` WRITE;
/*!40000 ALTER TABLE `llx_facturedet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facturedet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facturedet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facturedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facturedet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facturedet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facturedet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facturedet_rec`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
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,
  `vat_src_code` varchar(10) DEFAULT '',
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `date_start_fill` int(11) DEFAULT 0,
  `date_end_fill` int(11) DEFAULT 0,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `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_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `fk_facturedet_rec_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_facturedet_rec_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facturedet_rec` WRITE;
/*!40000 ALTER TABLE `llx_facturedet_rec` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facturedet_rec` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_facturedet_rec_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_facturedet_rec_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_facturedet_rec_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_facturedet_rec_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_facturedet_rec_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_facturedet_rec_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinter`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinter` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT 0,
  `fk_contrat` int(11) DEFAULT 0,
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `datei` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `datet` date DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `description` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` 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 `uk_fichinter_ref` (`ref`,`entity`),
  KEY `idx_fichinter_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_fichinter_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_fichinter` WRITE;
/*!40000 ALTER TABLE `llx_fichinter` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinter` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinter_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinter_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ficheinter_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_fichinter_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_fichinter_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinter_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinter_rec`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinter_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `titre` varchar(50) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `fk_contrat` int(11) DEFAULT 0,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `duree` double DEFAULT NULL,
  `description` text DEFAULT NULL,
  `modelpdf` varchar(50) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `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 NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_fichinter_rec_uk_titre` (`titre`,`entity`),
  KEY `idx_fichinter_rec_fk_soc` (`fk_soc`),
  KEY `idx_fichinter_rec_fk_user_author` (`fk_user_author`),
  KEY `idx_fichinter_rec_fk_projet` (`fk_projet`),
  CONSTRAINT `fk_fichinter_rec_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_fichinter_rec_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_fichinter_rec`
--

LOCK TABLES `llx_fichinter_rec` WRITE;
/*!40000 ALTER TABLE `llx_fichinter_rec` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinter_rec` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinterdet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinterdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_fichinter` int(11) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `description` text DEFAULT NULL,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`),
  CONSTRAINT `fk_fichinterdet_fk_fichinter` FOREIGN KEY (`fk_fichinter`) REFERENCES `llx_fichinter` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_fichinterdet` WRITE;
/*!40000 ALTER TABLE `llx_fichinterdet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinterdet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinterdet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinterdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_ficheinterdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_fichinterdet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_fichinterdet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinterdet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_fichinterdet_rec`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_fichinterdet_rec` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_fichinter` int(11) NOT NULL,
  `date` datetime DEFAULT NULL,
  `description` text DEFAULT NULL,
  `duree` int(11) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  `total_ht` double(24,8) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(1) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(1) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT NULL,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT 0,
  `fk_export_commpta` int(11) NOT NULL DEFAULT 0,
  `special_code` int(10) unsigned DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_fichinterdet_rec`
--

LOCK TABLES `llx_fichinterdet_rec` WRITE;
/*!40000 ALTER TABLE `llx_fichinterdet_rec` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_fichinterdet_rec` ENABLE KEYS */;
UNLOCK TABLES;

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

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

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

LOCK TABLES `llx_holiday` WRITE;
/*!40000 ALTER TABLE `llx_holiday` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_holiday` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_holiday_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_holiday_config` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) NOT NULL,
  `value` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_holiday_config` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_holiday_config` WRITE;
/*!40000 ALTER TABLE `llx_holiday_config` DISABLE KEYS */;
INSERT INTO `llx_holiday_config` (`rowid`, `name`, `value`) VALUES (1,'lastUpdate',NULL);
/*!40000 ALTER TABLE `llx_holiday_config` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_holiday_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_holiday_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_holiday_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_holiday_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_holiday_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_holiday_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_holiday_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_holiday_logs` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_action` datetime NOT NULL,
  `fk_user_action` int(11) NOT NULL,
  `fk_user_update` int(11) NOT NULL,
  `fk_type` int(11) NOT NULL,
  `type_action` varchar(255) NOT NULL,
  `prev_solde` varchar(255) NOT NULL,
  `new_solde` varchar(255) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_holiday_logs` WRITE;
/*!40000 ALTER TABLE `llx_holiday_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_holiday_logs` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_holiday_users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_holiday_users` (
  `fk_user` int(11) NOT NULL,
  `fk_type` int(11) NOT NULL,
  `nb_holiday` double NOT NULL DEFAULT 0,
  UNIQUE KEY `uk_holiday_users` (`fk_user`,`fk_type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_holiday_users` WRITE;
/*!40000 ALTER TABLE `llx_holiday_users` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_holiday_users` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_import_model`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_import_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 0,
  `fk_user` int(11) NOT NULL DEFAULT 0,
  `label` varchar(50) NOT NULL,
  `type` varchar(64) NOT NULL,
  `field` text NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_import_model` (`label`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_import_model` WRITE;
/*!40000 ALTER TABLE `llx_import_model` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_import_model` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_intracommreport`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_intracommreport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `type_declaration` varchar(32) DEFAULT NULL,
  `periods` varchar(32) DEFAULT NULL,
  `mode` varchar(32) DEFAULT NULL,
  `content_xml` text DEFAULT NULL,
  `type_export` varchar(10) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_intracommreport` WRITE;
/*!40000 ALTER TABLE `llx_intracommreport` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_intracommreport` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_inventory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_inventory` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 0,
  `ref` varchar(48) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT 0,
  `title` varchar(255) NOT NULL,
  `date_inventory` datetime DEFAULT NULL,
  `date_validation` datetime DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_inventory_ref` (`ref`,`entity`),
  KEY `idx_inventory_tms` (`tms`),
  KEY `idx_inventory_date_creation` (`date_creation`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_inventory` WRITE;
/*!40000 ALTER TABLE `llx_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_inventory` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_inventorydet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_inventorydet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_inventory` int(11) DEFAULT 0,
  `fk_warehouse` int(11) DEFAULT 0,
  `fk_product` int(11) DEFAULT 0,
  `batch` varchar(128) DEFAULT NULL,
  `qty_stock` double DEFAULT NULL,
  `qty_view` double DEFAULT NULL,
  `qty_regulated` double DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_inventorydet` (`fk_inventory`,`fk_warehouse`,`fk_product`,`batch`),
  KEY `idx_inventorydet_tms` (`tms`),
  KEY `idx_inventorydet_datec` (`datec`),
  KEY `idx_inventorydet_fk_inventory` (`fk_inventory`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_inventorydet` WRITE;
/*!40000 ALTER TABLE `llx_inventorydet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_inventorydet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_knowledgemanagement_knowledgerecord`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_knowledgemanagement_knowledgerecord` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `last_main_doc` varchar(255) DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `question` text NOT NULL,
  `answer` text DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `fk_ticket` int(11) DEFAULT NULL,
  `fk_c_ticket_category` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_knowledgemanagement_knowledgerecord_rowid` (`rowid`),
  KEY `idx_knowledgemanagement_knowledgerecord_ref` (`ref`),
  KEY `llx_knowledgemanagement_knowledgerecord_fk_user_creat` (`fk_user_creat`),
  KEY `idx_knowledgemanagement_knowledgerecord_status` (`status`),
  CONSTRAINT `llx_knowledgemanagement_knowledgerecord_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_knowledgemanagement_knowledgerecord` WRITE;
/*!40000 ALTER TABLE `llx_knowledgemanagement_knowledgerecord` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_knowledgemanagement_knowledgerecord` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_knowledgemanagement_knowledgerecord_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_knowledgemanagement_knowledgerecord_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_knowledgerecord_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_knowledgemanagement_knowledgerecord_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_knowledgemanagement_knowledgerecord_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_knowledgemanagement_knowledgerecord_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_links` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datea` datetime NOT NULL,
  `url` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `objecttype` varchar(255) NOT NULL,
  `objectid` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_links` (`objectid`,`label`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_links` WRITE;
/*!40000 ALTER TABLE `llx_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_links` ENABLE KEYS */;
UNLOCK TABLES;

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

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

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

LOCK TABLES `llx_loan` WRITE;
/*!40000 ALTER TABLE `llx_loan` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_loan` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_loan_schedule`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_loan_schedule` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT 0.00000000,
  `amount_insurance` double(24,8) DEFAULT 0.00000000,
  `amount_interest` double(24,8) DEFAULT 0.00000000,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_payment_loan` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_loan_schedule`
--

LOCK TABLES `llx_loan_schedule` WRITE;
/*!40000 ALTER TABLE `llx_loan_schedule` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_loan_schedule` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_localtax`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_localtax` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `localtaxtype` tinyint(4) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_localtax`
--

LOCK TABLES `llx_localtax` WRITE;
/*!40000 ALTER TABLE `llx_localtax` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_localtax` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_mailing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mailing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `statut` smallint(6) DEFAULT 0,
  `titre` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `sujet` varchar(128) DEFAULT NULL,
  `body` mediumtext DEFAULT NULL,
  `bgcolor` varchar(8) DEFAULT NULL,
  `bgimage` varchar(255) DEFAULT NULL,
  `cible` varchar(60) DEFAULT NULL,
  `nbemail` int(11) DEFAULT NULL,
  `email_from` varchar(160) DEFAULT NULL,
  `email_replyto` varchar(160) DEFAULT NULL,
  `email_errorsto` varchar(160) DEFAULT NULL,
  `tag` varchar(128) DEFAULT NULL,
  `date_creat` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_appro` datetime DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_appro` int(11) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `joined_file1` varchar(255) DEFAULT NULL,
  `joined_file2` varchar(255) DEFAULT NULL,
  `joined_file3` varchar(255) DEFAULT NULL,
  `joined_file4` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mailing`
--

LOCK TABLES `llx_mailing` WRITE;
/*!40000 ALTER TABLE `llx_mailing` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mailing` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_mailing_cibles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mailing_cibles` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_mailing` int(11) NOT NULL,
  `fk_contact` int(11) NOT NULL,
  `lastname` varchar(160) DEFAULT NULL,
  `firstname` varchar(160) DEFAULT NULL,
  `email` varchar(160) NOT NULL,
  `other` varchar(255) DEFAULT NULL,
  `tag` varchar(64) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `source_url` varchar(255) DEFAULT NULL,
  `source_id` int(11) DEFAULT NULL,
  `source_type` varchar(16) DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `error_text` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`),
  KEY `idx_mailing_cibles_email` (`email`),
  KEY `idx_mailing_cibles_tag` (`tag`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_mailing_cibles` WRITE;
/*!40000 ALTER TABLE `llx_mailing_cibles` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mailing_cibles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mailing_unsubscribe`
--

DROP TABLE IF EXISTS `llx_mailing_unsubscribe`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mailing_unsubscribe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `email` varchar(255) DEFAULT NULL,
  `unsubscribegroup` varchar(128) DEFAULT '',
  `ip` varchar(128) DEFAULT NULL,
  `date_creat` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_mailing_unsubscribe` (`email`,`entity`,`unsubscribegroup`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mailing_unsubscribe`
--

LOCK TABLES `llx_mailing_unsubscribe` WRITE;
/*!40000 ALTER TABLE `llx_mailing_unsubscribe` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mailing_unsubscribe` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mbi_signature`
--

DROP TABLE IF EXISTS `llx_mbi_signature`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mbi_signature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `object_type` varchar(32) NOT NULL,
  `object_id` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp(),
  `name` varchar(255) NOT NULL,
  `ip` varchar(128) DEFAULT NULL,
  `pathoffile` mediumtext DEFAULT NULL,
  `comment` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mbi_signature`
--

LOCK TABLES `llx_mbi_signature` WRITE;
/*!40000 ALTER TABLE `llx_mbi_signature` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mbi_signature` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mbi_signature_hash`
--

DROP TABLE IF EXISTS `llx_mbi_signature_hash`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mbi_signature_hash` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `hash` varchar(255) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp(),
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mbi_signature_hash`
--

LOCK TABLES `llx_mbi_signature_hash` WRITE;
/*!40000 ALTER TABLE `llx_mbi_signature_hash` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mbi_signature_hash` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_menu` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `menu_handler` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `module` varchar(255) DEFAULT NULL,
  `type` varchar(4) NOT NULL,
  `mainmenu` varchar(100) NOT NULL,
  `leftmenu` varchar(100) DEFAULT NULL,
  `fk_menu` int(11) NOT NULL,
  `fk_mainmenu` varchar(100) DEFAULT NULL,
  `fk_leftmenu` varchar(100) DEFAULT NULL,
  `position` int(11) NOT NULL,
  `url` varchar(255) NOT NULL,
  `target` varchar(100) DEFAULT NULL,
  `titre` varchar(255) NOT NULL,
  `prefix` varchar(255) DEFAULT NULL,
  `langs` varchar(100) DEFAULT NULL,
  `level` smallint(6) DEFAULT NULL,
  `perms` text DEFAULT NULL,
  `enabled` text DEFAULT NULL,
  `usertype` int(11) NOT NULL DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`),
  KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_menu` WRITE;
/*!40000 ALTER TABLE `llx_menu` DISABLE KEYS */;
INSERT INTO `llx_menu` (`rowid`, `menu_handler`, `entity`, `module`, `type`, `mainmenu`, `leftmenu`, `fk_menu`, `fk_mainmenu`, `fk_leftmenu`, `position`, `url`, `target`, `titre`, `prefix`, `langs`, `level`, `perms`, `enabled`, `usertype`, `tms`) VALUES (11,'all',1,'cron','left','home',NULL,-1,'home','admintools',200,'/cron/list.php?leftmenu=admintools','','CronList','','cron',NULL,'$user->rights->cron->read','$conf->cron->enabled && preg_match(\'/^(admintools|all)/\', $leftmenu)',2,'2022-04-25 13:21:52'),(12,'all',1,'myfield','top','patastools','myfield',0,NULL,NULL,100,'/myfield/core/patastools.php?mainmenu=patastools&leftmenu=myfield','','PatasTools','','myfield@myfield',NULL,'1','1',0,'2022-04-25 13:25:31'),(13,'all',1,'myfield','left','patastools','myfield',-1,'patastools',NULL,110,'/myfield/index.php','','MyField','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(14,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/card.php?action=create&typefield=0','','NewmyField','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(15,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/card.php?action=create&typefield=3','','NewmyList','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(16,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/card.php?action=create&typefield=1','','NewmyTab','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(17,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/card.php?action=create&typefield=2','','NewmyMenu','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(18,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/list.php','','MyfieldList','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(19,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/groupright.php','','GroupRight','','myfield@myfield',NULL,'$user->rights->myfield->setup','1',2,'2022-04-25 13:25:31'),(20,'all',1,'myfield','left','',NULL,-1,'patastools','myfield',110,'/myfield/card.php?action=import','','ImportXML','','myfield@myfield',NULL,'$user->rights->myfield->export','1',2,'2022-04-25 13:25:31'),(25,'all',1,'mylist','left','patastools','mylist',-1,'patastools',NULL,110,'/mylist/index.php','','myList','','mylist@mylist',NULL,'$user->rights->mylist->setup','1',2,'2022-04-25 13:27:34'),(26,'all',1,'mylist','left','',NULL,-1,'patastools','mylist',110,'/mylist/card.php?action=create','','NewList','','mylist@mylist',NULL,'$user->rights->mylist->setup','1',2,'2022-04-25 13:27:34'),(27,'all',1,'mylist','left','',NULL,-1,'patastools','mylist',110,'/mylist/list.php','','mylist','','mylist@mylist',NULL,'$user->rights->mylist->setup','1',2,'2022-04-25 13:27:34'),(28,'all',1,'mylist','left','',NULL,-1,'patastools','mylist',110,'/mylist/card.php?action=importexport','','ImportList','','mylist@mylist',NULL,'$user->rights->mylist->setup','1',2,'2022-04-25 13:27:34'),(41,'all',1,'backupmodule','top','backupmodule',NULL,0,NULL,NULL,1001,'/backupmodule/list.php','','Sauvegardes','<span class=\"far fa-file paddingright pictofixedwidth valignmiddle\" style=\"\"></span>','backupmodule@backupmodule',NULL,'1','$conf->backupmodule->enabled',2,'2022-04-26 14:29:43'),(42,'all',1,'backupmodule','left','backupmodule','backupmoduleleftmenu',-1,'backupmodule',NULL,1002,'','','Module de sauvegarde','<span class=\"far fa-file paddingright pictofixedwidth valignmiddle\" style=\"\"></span>','backupmodule@backupmodule',NULL,'$user->rights->backupmodule->myobject->read','$conf->backupmodule->enabled',2,'2022-04-26 14:29:43'),(43,'all',1,'backupmodule','left','backupmodule','backupmodule_leftmenu',-1,'backupmodule','backupmoduleleftmenu',1003,'/backupmodule/list.php','','Liste des sauvegardes','','backupmodule@backupmodule',NULL,'$user->rights->backupmodule->myobject->read','$conf->backupmodule->enabled',2,'2022-04-26 14:29:43'),(44,'all',1,'backupmodule','left','backupmodule','backupmodule_leftmenu',-1,'backupmodule','backupmoduleleftmenu',1004,'/backupmodule/restaurefile.php','','Restaurer le site','','backupmodule@backupmodule',NULL,'$user->rights->backupmodule->myobject->read','$conf->backupmodule->enabled',2,'2022-04-26 14:29:43'),(51,'all',1,'referenceletters','top','referenceletters',NULL,0,NULL,NULL,100,'/referenceletters/index.php','','Module103258Name','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->read','$user->rights->referenceletters->read',0,'2022-05-11 13:10:55'),(52,'all',1,'referenceletters','left','referenceletters','refletterlist',-1,'referenceletters',NULL,101,'/referenceletters/referenceletters/list.php','','Module103258Name','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->read','$user->rights->referenceletters->read',0,'2022-05-11 13:10:55'),(53,'all',1,'referenceletters','left','referenceletters',NULL,-1,'referenceletters','refletterlist',102,'/referenceletters/referenceletters/list.php','','RefLtrList','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->read','$user->rights->referenceletters->read',0,'2022-05-11 13:10:55'),(54,'all',1,'referenceletters','left','referenceletters',NULL,-1,'referenceletters','refletterlist',103,'/referenceletters/referenceletters/card.php?action=create','','RefLtrNew','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->write','$user->rights->referenceletters->write',0,'2022-05-11 13:10:55'),(55,'all',1,'referenceletters','left','referenceletters',NULL,-1,'referenceletters','refletterlist',104,'/referenceletters/referenceletters/list_instance.php','','RefLtrListInstance','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->read','$user->rights->referenceletters->read',0,'2022-05-11 13:10:55'),(56,'all',1,'referenceletters','left','referenceletters',NULL,-1,'referenceletters','refletterlist',104,'/referenceletters/referenceletters/mass_gen.php','','RefLtrListMassGen','','referenceletters@referenceletters',NULL,'$user->rights->referenceletters->write','$user->rights->referenceletters->write',0,'2022-05-11 13:10:55');
/*!40000 ALTER TABLE `llx_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mrp_mo`
--

DROP TABLE IF EXISTS `llx_mrp_mo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mrp_mo` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL DEFAULT '(PROV)',
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `qty` double NOT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `date_valid` datetime DEFAULT 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,
  `fk_user_valid` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `date_start_planned` datetime DEFAULT NULL,
  `date_end_planned` datetime DEFAULT NULL,
  `fk_bom` int(11) DEFAULT NULL,
  `fk_project` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_mrp_mo_ref` (`ref`),
  KEY `idx_mrp_mo_entity` (`entity`),
  KEY `idx_mrp_mo_fk_soc` (`fk_soc`),
  KEY `fk_mrp_mo_fk_user_creat` (`fk_user_creat`),
  KEY `idx_mrp_mo_status` (`status`),
  KEY `idx_mrp_mo_fk_product` (`fk_product`),
  KEY `idx_mrp_mo_date_start_planned` (`date_start_planned`),
  KEY `idx_mrp_mo_date_end_planned` (`date_end_planned`),
  KEY `idx_mrp_mo_fk_bom` (`fk_bom`),
  KEY `idx_mrp_mo_fk_project` (`fk_project`),
  CONSTRAINT `fk_mrp_mo_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mrp_mo`
--

LOCK TABLES `llx_mrp_mo` WRITE;
/*!40000 ALTER TABLE `llx_mrp_mo` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mrp_mo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mrp_mo_extrafields`
--

DROP TABLE IF EXISTS `llx_mrp_mo_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mrp_mo_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_mrp_mo_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mrp_mo_extrafields`
--

LOCK TABLES `llx_mrp_mo_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_mrp_mo_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mrp_mo_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mrp_production`
--

DROP TABLE IF EXISTS `llx_mrp_production`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mrp_production` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_mo` int(11) NOT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(10) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  `fk_product` int(11) NOT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `qty` double NOT NULL DEFAULT 1,
  `qty_frozen` smallint(6) DEFAULT 0,
  `disable_stock_change` smallint(6) DEFAULT 0,
  `batch` varchar(128) DEFAULT NULL,
  `role` varchar(10) DEFAULT NULL,
  `fk_mrp_production` int(11) DEFAULT NULL,
  `fk_stock_movement` int(11) 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,
  PRIMARY KEY (`rowid`),
  KEY `fk_mrp_production_product` (`fk_product`),
  KEY `fk_mrp_production_stock_movement` (`fk_stock_movement`),
  KEY `idx_mrp_production_fk_mo` (`fk_mo`),
  CONSTRAINT `fk_mrp_production_mo` FOREIGN KEY (`fk_mo`) REFERENCES `llx_mrp_mo` (`rowid`),
  CONSTRAINT `fk_mrp_production_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_mrp_production_stock_movement` FOREIGN KEY (`fk_stock_movement`) REFERENCES `llx_stock_mouvement` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mrp_production`
--

LOCK TABLES `llx_mrp_production` WRITE;
/*!40000 ALTER TABLE `llx_mrp_production` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mrp_production` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_multicurrency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_multicurrency` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_create` datetime DEFAULT NULL,
  `code` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  `fk_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_multicurrency` WRITE;
/*!40000 ALTER TABLE `llx_multicurrency` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_multicurrency` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_multicurrency_rate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_multicurrency_rate` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `date_sync` datetime DEFAULT NULL,
  `rate` double NOT NULL DEFAULT 0,
  `fk_multicurrency` int(11) NOT NULL,
  `entity` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_multicurrency_rate` WRITE;
/*!40000 ALTER TABLE `llx_multicurrency_rate` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_multicurrency_rate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_myfield`
--

DROP TABLE IF EXISTS `llx_myfield`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_myfield` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(150) NOT NULL,
  `context` varchar(255) DEFAULT NULL,
  `author` varchar(50) DEFAULT NULL,
  `active` int(11) DEFAULT NULL,
  `typefield` int(11) DEFAULT NULL,
  `compulsory` int(11) DEFAULT NULL,
  `sizefield` int(11) DEFAULT NULL,
  `movefield` int(11) DEFAULT NULL,
  `formatfield` varchar(255) DEFAULT NULL,
  `color` varchar(6) DEFAULT NULL,
  `replacement` varchar(255) DEFAULT NULL,
  `initvalue` text DEFAULT NULL,
  `tooltipinfo` text DEFAULT NULL,
  `querydisplay` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_myfield`
--

LOCK TABLES `llx_myfield` WRITE;
/*!40000 ALTER TABLE `llx_myfield` DISABLE KEYS */;
INSERT INTO `llx_myfield` (`rowid`, `label`, `context`, `author`, `active`, `typefield`, `compulsory`, `sizefield`, `movefield`, `formatfield`, `color`, `replacement`, `initvalue`, `tooltipinfo`, `querydisplay`) VALUES (1,'Commerce','tmenu','',0,2,0,NULL,0,'','','Devis','','',''),(2,'Outils','tmenu','',2,2,0,NULL,0,'','','','','',''),(3,'DocEdit','tmenu','',2,2,0,NULL,0,'','','','','',''),(4,'Outils Patas-M','tmenu','',2,2,0,NULL,0,'','','','','',''),(5,'Logo (carré)','','',0,0,0,NULL,0,'','','Logo (prestataire)','','',''),(6,'Sauvegardes','tmenu','',2,2,0,NULL,0,'','','','','','');
/*!40000 ALTER TABLE `llx_myfield` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_myfield_usergroup_rights`
--

DROP TABLE IF EXISTS `llx_myfield_usergroup_rights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_myfield_usergroup_rights` (
  `fk_myfield` int(11) DEFAULT NULL,
  `fk_usergroup` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT NULL,
  `rights` varchar(3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_myfield_usergroup_rights`
--

LOCK TABLES `llx_myfield_usergroup_rights` WRITE;
/*!40000 ALTER TABLE `llx_myfield_usergroup_rights` DISABLE KEYS */;
INSERT INTO `llx_myfield_usergroup_rights` (`fk_myfield`, `fk_usergroup`, `entity`, `rights`) VALUES (1,1,NULL,'');
/*!40000 ALTER TABLE `llx_myfield_usergroup_rights` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mylist`
--

DROP TABLE IF EXISTS `llx_mylist`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mylist` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `titlemenu` varchar(20) DEFAULT NULL,
  `mainmenu` varchar(50) DEFAULT NULL,
  `leftmenu` varchar(50) DEFAULT NULL,
  `posmenu` varchar(50) DEFAULT '100',
  `elementtab` varchar(50) DEFAULT NULL,
  `author` varchar(50) DEFAULT NULL,
  `active` int(11) DEFAULT NULL,
  `perms` text DEFAULT NULL,
  `langs` text DEFAULT NULL,
  `fieldinit` text DEFAULT NULL,
  `fieldused` text DEFAULT NULL,
  `querylist` text DEFAULT NULL,
  `querydo` text DEFAULT NULL,
  `forceall` int(11) DEFAULT NULL,
  `export` int(11) DEFAULT NULL,
  `datatable` int(11) DEFAULT 0,
  `shownumline` int(11) DEFAULT 0,
  `categories` varchar(10) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mylist`
--

LOCK TABLES `llx_mylist` WRITE;
/*!40000 ALTER TABLE `llx_mylist` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mylist` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_mylistdet`
--

DROP TABLE IF EXISTS `llx_mylistdet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mylistdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fieldname` varchar(255) NOT NULL,
  `alias` varchar(64) NOT NULL,
  `fk_mylist` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `name` varchar(255) NOT NULL,
  `type` varchar(20) DEFAULT NULL,
  `rang` int(11) DEFAULT NULL,
  `param` text DEFAULT NULL,
  `align` varchar(10) DEFAULT '100',
  `enabled` varchar(255) DEFAULT NULL,
  `visible` int(11) DEFAULT NULL,
  `filter` int(11) DEFAULT NULL,
  `width` int(11) DEFAULT NULL,
  `widthpdf` int(11) DEFAULT NULL,
  `sumreport` int(11) DEFAULT NULL,
  `pctreport` int(11) DEFAULT NULL,
  `avgreport` int(11) DEFAULT NULL,
  `cumreport` int(11) DEFAULT NULL,
  `cumpctreport` int(11) DEFAULT NULL,
  `barcode` int(11) DEFAULT NULL,
  `filterinit` varchar(255) DEFAULT NULL,
  `updatekey` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_mylistdet`
--

LOCK TABLES `llx_mylistdet` WRITE;
/*!40000 ALTER TABLE `llx_mylistdet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mylistdet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_notify`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_notify` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `daten` datetime DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) DEFAULT 'email',
  `type_target` varchar(16) DEFAULT NULL,
  `objet_type` varchar(24) NOT NULL,
  `objet_id` int(11) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_notify`
--

LOCK TABLES `llx_notify` WRITE;
/*!40000 ALTER TABLE `llx_notify` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_notify` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_notify_def`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_notify_def` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` date DEFAULT NULL,
  `fk_action` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `type` varchar(16) DEFAULT 'email',
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_notify_def` WRITE;
/*!40000 ALTER TABLE `llx_notify_def` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_notify_def` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_notify_def_object`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_notify_def_object` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `objet_type` varchar(16) DEFAULT NULL,
  `objet_id` int(11) NOT NULL,
  `type_notif` varchar(16) DEFAULT 'browser',
  `date_notif` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `moreparam` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_notify_def_object` WRITE;
/*!40000 ALTER TABLE `llx_notify_def_object` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_notify_def_object` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_oauth_state`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_oauth_state` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) DEFAULT NULL,
  `state` varchar(128) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_oauth_state` WRITE;
/*!40000 ALTER TABLE `llx_oauth_state` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_oauth_state` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_oauth_token`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_oauth_token` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `service` varchar(36) DEFAULT NULL,
  `token` text DEFAULT NULL,
  `tokenstring` text DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `restricted_ips` varchar(200) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `entity` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_oauth_token` WRITE;
/*!40000 ALTER TABLE `llx_oauth_token` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_oauth_token` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_object_lang`
--

DROP TABLE IF EXISTS `llx_object_lang`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_object_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_object` int(11) NOT NULL DEFAULT 0,
  `type_object` varchar(32) NOT NULL,
  `property` varchar(32) NOT NULL,
  `lang` varchar(5) NOT NULL DEFAULT '',
  `value` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_object_lang` (`fk_object`,`type_object`,`property`,`lang`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_object_lang`
--

LOCK TABLES `llx_object_lang` WRITE;
/*!40000 ALTER TABLE `llx_object_lang` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_object_lang` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_onlinesignature`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_onlinesignature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `object_type` varchar(32) NOT NULL,
  `object_id` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `name` varchar(255) NOT NULL,
  `ip` varchar(128) DEFAULT NULL,
  `pathoffile` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_onlinesignature`
--

LOCK TABLES `llx_onlinesignature` WRITE;
/*!40000 ALTER TABLE `llx_onlinesignature` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_onlinesignature` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_opensurvey_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_opensurvey_comments` (
  `id_comment` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id_sondage` char(16) NOT NULL,
  `comment` text NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `usercomment` text DEFAULT NULL,
  PRIMARY KEY (`id_comment`),
  KEY `idx_id_comment` (`id_comment`),
  KEY `idx_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_opensurvey_comments` WRITE;
/*!40000 ALTER TABLE `llx_opensurvey_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_opensurvey_comments` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_opensurvey_formquestions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_opensurvey_formquestions` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `id_sondage` varchar(16) DEFAULT NULL,
  `question` text DEFAULT NULL,
  `available_answers` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_opensurvey_formquestions` WRITE;
/*!40000 ALTER TABLE `llx_opensurvey_formquestions` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_opensurvey_formquestions` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_opensurvey_sondage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_opensurvey_sondage` (
  `id_sondage` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `commentaires` text DEFAULT NULL,
  `mail_admin` varchar(128) DEFAULT NULL,
  `nom_admin` varchar(64) DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `titre` text NOT NULL,
  `date_fin` datetime DEFAULT NULL,
  `status` int(11) DEFAULT 1,
  `format` varchar(2) NOT NULL,
  `mailsonde` tinyint(4) NOT NULL DEFAULT 0,
  `allow_comments` tinyint(4) NOT NULL DEFAULT 1,
  `allow_spy` tinyint(4) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `sujet` text DEFAULT NULL,
  PRIMARY KEY (`id_sondage`),
  KEY `idx_date_fin` (`date_fin`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_opensurvey_sondage` WRITE;
/*!40000 ALTER TABLE `llx_opensurvey_sondage` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_opensurvey_sondage` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_opensurvey_user_formanswers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_opensurvey_user_formanswers` (
  `fk_user_survey` int(11) NOT NULL,
  `fk_question` int(11) NOT NULL,
  `reponses` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_opensurvey_user_formanswers` WRITE;
/*!40000 ALTER TABLE `llx_opensurvey_user_formanswers` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_opensurvey_user_formanswers` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_opensurvey_user_studs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_opensurvey_user_studs` (
  `id_users` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(64) NOT NULL,
  `id_sondage` varchar(16) NOT NULL,
  `reponses` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`id_users`),
  KEY `idx_opensurvey_user_studs_id_users` (`id_users`),
  KEY `idx_opensurvey_user_studs_nom` (`nom`),
  KEY `idx_opensurvey_user_studs_id_sondage` (`id_sondage`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_opensurvey_user_studs` WRITE;
/*!40000 ALTER TABLE `llx_opensurvey_user_studs` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_opensurvey_user_studs` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_overwrite_trans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_overwrite_trans` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `lang` varchar(5) DEFAULT NULL,
  `transkey` varchar(128) DEFAULT NULL,
  `transvalue` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_overwrite_trans` (`lang`,`transkey`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_overwrite_trans` WRITE;
/*!40000 ALTER TABLE `llx_overwrite_trans` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_overwrite_trans` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_paiement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_paiement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `multicurrency_amount` double(24,8) DEFAULT 0.00000000,
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `ext_payment_id` varchar(128) DEFAULT NULL,
  `ext_payment_site` varchar(128) DEFAULT NULL,
  `fk_bank` int(11) NOT NULL DEFAULT 0,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `fk_export_compta` int(11) NOT NULL DEFAULT 0,
  `pos_change` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_paiement` WRITE;
/*!40000 ALTER TABLE `llx_paiement` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_paiement` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_paiement_facture`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_paiement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiement` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_amount` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
  KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
  KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`),
  CONSTRAINT `fk_paiement_facture_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_paiement_facture_fk_paiement` FOREIGN KEY (`fk_paiement`) REFERENCES `llx_paiement` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_paiement_facture` WRITE;
/*!40000 ALTER TABLE `llx_paiement_facture` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_paiement_facture` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_paiementcharge`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_paiementcharge` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_charge` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `fk_typepaiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_paiementcharge`
--

LOCK TABLES `llx_paiementcharge` WRITE;
/*!40000 ALTER TABLE `llx_paiementcharge` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_paiementcharge` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_paiementfourn`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_paiementfourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `multicurrency_amount` double(24,8) DEFAULT 0.00000000,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_paiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_paiementfourn` WRITE;
/*!40000 ALTER TABLE `llx_paiementfourn` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_paiementfourn` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_paiementfourn_facturefourn`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_paiementfourn_facturefourn` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_paiementfourn` int(11) DEFAULT NULL,
  `fk_facturefourn` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_amount` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
  KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_paiementfourn_facturefourn` WRITE;
/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_partnership`
--

DROP TABLE IF EXISTS `llx_partnership`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_partnership` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL DEFAULT '(PROV)',
  `status` smallint(6) NOT NULL DEFAULT 0,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_member` int(11) DEFAULT NULL,
  `date_partnership_start` date NOT NULL,
  `date_partnership_end` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `reason_decline_or_cancel` text DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `count_last_url_check_error` int(11) DEFAULT 0,
  `last_check_backlink` datetime DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_partnership_ref` (`ref`,`entity`),
  KEY `idx_partnership_entity` (`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_partnership`
--

LOCK TABLES `llx_partnership` WRITE;
/*!40000 ALTER TABLE `llx_partnership` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_partnership` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_partnership_extrafields`
--

DROP TABLE IF EXISTS `llx_partnership_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_partnership_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_partnership_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_partnership_extrafields`
--

LOCK TABLES `llx_partnership_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_partnership_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_partnership_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_payment_donation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_donation` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_donation` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `ext_payment_id` varchar(128) DEFAULT NULL,
  `ext_payment_site` varchar(128) DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_payment_donation`
--

LOCK TABLES `llx_payment_donation` WRITE;
/*!40000 ALTER TABLE `llx_payment_donation` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_donation` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_payment_expensereport`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_expensereport` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_expensereport` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_payment_expensereport`
--

LOCK TABLES `llx_payment_expensereport` WRITE;
/*!40000 ALTER TABLE `llx_payment_expensereport` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_expensereport` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_payment_loan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_loan` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_loan` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount_capital` double(24,8) DEFAULT 0.00000000,
  `amount_insurance` double(24,8) DEFAULT 0.00000000,
  `amount_interest` double(24,8) DEFAULT 0.00000000,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_payment_loan`
--

LOCK TABLES `llx_payment_loan` WRITE;
/*!40000 ALTER TABLE `llx_payment_loan` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_loan` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_payment_salary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_salary` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `datesp` date DEFAULT NULL,
  `dateep` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_salary` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_payment_salary_ref` (`num_payment`),
  KEY `idx_payment_salary_user` (`fk_user`,`entity`),
  KEY `idx_payment_salary_datep` (`datep`),
  KEY `idx_payment_salary_datesp` (`datesp`),
  KEY `idx_payment_salary_dateep` (`dateep`),
  CONSTRAINT `fk_payment_salary_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_payment_salary` WRITE;
/*!40000 ALTER TABLE `llx_payment_salary` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_salary` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_payment_various`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_various` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `sens` smallint(6) NOT NULL DEFAULT 0,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `fk_typepayment` int(11) NOT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `subledger_account` varchar(32) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_payment_various`
--

LOCK TABLES `llx_payment_various` WRITE;
/*!40000 ALTER TABLE `llx_payment_various` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_various` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_payment_vat`
--

DROP TABLE IF EXISTS `llx_payment_vat`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_payment_vat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_tva` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datep` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `fk_typepaiement` int(11) NOT NULL,
  `num_paiement` varchar(50) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) NOT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_payment_vat`
--

LOCK TABLES `llx_payment_vat` WRITE;
/*!40000 ALTER TABLE `llx_payment_vat` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_payment_vat` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_pos_cash_fence`
--

DROP TABLE IF EXISTS `llx_pos_cash_fence`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_pos_cash_fence` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(64) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `opening` double(24,8) DEFAULT 0.00000000,
  `cash` double(24,8) DEFAULT 0.00000000,
  `card` double(24,8) DEFAULT 0.00000000,
  `cheque` double(24,8) DEFAULT 0.00000000,
  `status` int(11) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `day_close` int(11) DEFAULT NULL,
  `month_close` int(11) DEFAULT NULL,
  `year_close` int(11) DEFAULT NULL,
  `posmodule` varchar(30) DEFAULT NULL,
  `posnumber` varchar(30) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_pos_cash_fence`
--

LOCK TABLES `llx_pos_cash_fence` WRITE;
/*!40000 ALTER TABLE `llx_pos_cash_fence` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_pos_cash_fence` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_prelevement_bons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_prelevement_bons` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(16) DEFAULT 'debit-order',
  `ref` varchar(12) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `statut` smallint(6) DEFAULT 0,
  `credite` smallint(6) DEFAULT 0,
  `note` text DEFAULT NULL,
  `date_trans` datetime DEFAULT NULL,
  `method_trans` smallint(6) DEFAULT NULL,
  `fk_user_trans` int(11) DEFAULT NULL,
  `date_credit` datetime DEFAULT NULL,
  `fk_user_credit` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_prelevement_bons` WRITE;
/*!40000 ALTER TABLE `llx_prelevement_bons` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_prelevement_bons` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_prelevement_facture`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_prelevement_facture` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_facture` int(11) DEFAULT NULL,
  `fk_facture_fourn` int(11) DEFAULT NULL,
  `fk_prelevement_lignes` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`),
  CONSTRAINT `fk_prelevement_facture_fk_prelevement_lignes` FOREIGN KEY (`fk_prelevement_lignes`) REFERENCES `llx_prelevement_lignes` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_prelevement_facture` WRITE;
/*!40000 ALTER TABLE `llx_prelevement_facture` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_prelevement_facture` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_prelevement_facture_demande`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_prelevement_facture_demande` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_facture` int(11) DEFAULT NULL,
  `fk_facture_fourn` int(11) DEFAULT NULL,
  `sourcetype` varchar(32) DEFAULT NULL,
  `amount` double(24,8) NOT NULL,
  `date_demande` datetime NOT NULL,
  `traite` smallint(6) DEFAULT 0,
  `date_traite` datetime DEFAULT NULL,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_user_demande` int(11) NOT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `ext_payment_id` varchar(128) DEFAULT NULL,
  `ext_payment_site` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_facture_demande_fk_facture` (`fk_facture`),
  KEY `idx_prelevement_facture_demande_fk_facture_fourn` (`fk_facture_fourn`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_prelevement_facture_demande` WRITE;
/*!40000 ALTER TABLE `llx_prelevement_facture_demande` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_prelevement_facture_demande` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_prelevement_lignes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_prelevement_lignes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prelevement_bons` int(11) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `statut` smallint(6) DEFAULT 0,
  `client_nom` varchar(255) DEFAULT NULL,
  `amount` double(24,8) DEFAULT 0.00000000,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`),
  CONSTRAINT `fk_prelevement_lignes_fk_prelevement_bons` FOREIGN KEY (`fk_prelevement_bons`) REFERENCES `llx_prelevement_bons` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_prelevement_lignes` WRITE;
/*!40000 ALTER TABLE `llx_prelevement_lignes` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_prelevement_lignes` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_prelevement_rejet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_prelevement_rejet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prelevement_lignes` int(11) DEFAULT NULL,
  `date_rejet` datetime DEFAULT NULL,
  `motif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_creation` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `afacturer` tinyint(4) DEFAULT 0,
  `fk_facture` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_prelevement_rejet` WRITE;
/*!40000 ALTER TABLE `llx_prelevement_rejet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_prelevement_rejet` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_printing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_printing` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `printer_name` text NOT NULL,
  `printer_location` text NOT NULL,
  `printer_id` varchar(255) NOT NULL,
  `copy` int(11) NOT NULL DEFAULT 1,
  `module` varchar(16) NOT NULL,
  `driver` varchar(16) NOT NULL,
  `userid` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_printing` WRITE;
/*!40000 ALTER TABLE `llx_printing` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_printing` ENABLE KEYS */;
UNLOCK TABLES;

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

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

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

LOCK TABLES `llx_product` WRITE;
/*!40000 ALTER TABLE `llx_product` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_association`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_association` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_pere` int(11) NOT NULL DEFAULT 0,
  `fk_product_fils` int(11) NOT NULL DEFAULT 0,
  `qty` double DEFAULT NULL,
  `incdec` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
  KEY `idx_product_association_fils` (`fk_product_fils`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_association` WRITE;
/*!40000 ALTER TABLE `llx_product_association` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_association` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_attribute`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_attribute` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(255) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `rang` int(11) NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_ref` (`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_attribute` WRITE;
/*!40000 ALTER TABLE `llx_product_attribute` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_attribute` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_attribute_combination`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_attribute_combination` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_parent` int(11) NOT NULL,
  `fk_product_child` int(11) NOT NULL,
  `variation_price` double(24,8) NOT NULL,
  `variation_price_percentage` int(11) DEFAULT NULL,
  `variation_weight` double NOT NULL,
  `variation_ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_att_com_product_parent` (`fk_product_parent`),
  KEY `idx_product_att_com_product_child` (`fk_product_child`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_attribute_combination` WRITE;
/*!40000 ALTER TABLE `llx_product_attribute_combination` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_attribute_combination` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_attribute_combination2val`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_attribute_combination2val` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_prod_combination` int(11) NOT NULL,
  `fk_prod_attr` int(11) NOT NULL,
  `fk_prod_attr_val` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_attribute_combination2val` WRITE;
/*!40000 ALTER TABLE `llx_product_attribute_combination2val` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_attribute_combination2val` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_attribute_combination_price_level`
--

DROP TABLE IF EXISTS `llx_product_attribute_combination_price_level`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_attribute_combination_price_level` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_attribute_combination` int(11) NOT NULL DEFAULT 1,
  `fk_price_level` int(11) NOT NULL DEFAULT 1,
  `variation_price` double(24,8) NOT NULL,
  `variation_price_percentage` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `fk_product_attribute_combination` (`fk_product_attribute_combination`,`fk_price_level`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_attribute_combination_price_level`
--

LOCK TABLES `llx_product_attribute_combination_price_level` WRITE;
/*!40000 ALTER TABLE `llx_product_attribute_combination_price_level` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_attribute_combination_price_level` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_attribute_value`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_attribute_value` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_attribute` int(11) NOT NULL,
  `ref` varchar(180) DEFAULT NULL,
  `value` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_attribute_value` (`fk_product_attribute`,`ref`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_attribute_value` WRITE;
/*!40000 ALTER TABLE `llx_product_attribute_value` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_attribute_value` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_batch`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_batch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product_stock` int(11) NOT NULL,
  `eatby` datetime DEFAULT NULL,
  `sellby` datetime DEFAULT NULL,
  `batch` varchar(128) NOT NULL,
  `qty` double NOT NULL DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_batch` (`fk_product_stock`,`batch`),
  KEY `idx_fk_product_stock` (`fk_product_stock`),
  KEY `idx_batch` (`batch`),
  CONSTRAINT `fk_product_batch_fk_product_stock` FOREIGN KEY (`fk_product_stock`) REFERENCES `llx_product_stock` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_batch` WRITE;
/*!40000 ALTER TABLE `llx_product_batch` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_batch` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_customer_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_customer_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `ref_customer` varchar(30) DEFAULT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `price_ttc` double(24,8) DEFAULT 0.00000000,
  `price_min` double(24,8) DEFAULT 0.00000000,
  `price_min_ttc` double(24,8) DEFAULT 0.00000000,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT 0,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_customer_price_fk_product_fk_soc` (`fk_product`,`fk_soc`),
  KEY `idx_product_customer_price_fk_user` (`fk_user`),
  KEY `idx_product_customer_price_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_product_customer_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_product_customer_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_customer_price` WRITE;
/*!40000 ALTER TABLE `llx_product_customer_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_customer_price` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_customer_price_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_customer_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL DEFAULT 0,
  `ref_customer` varchar(30) DEFAULT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `price_ttc` double(24,8) DEFAULT 0.00000000,
  `price_min` double(24,8) DEFAULT 0.00000000,
  `price_min_ttc` double(24,8) DEFAULT 0.00000000,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `recuperableonly` int(11) NOT NULL DEFAULT 0,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_customer_price_log` WRITE;
/*!40000 ALTER TABLE `llx_product_customer_price_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_customer_price_log` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_product_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_fournisseur_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_fournisseur_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product` int(11) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `ref_fourn` varchar(30) DEFAULT NULL,
  `desc_fourn` text DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT 0,
  `remise` double NOT NULL DEFAULT 0,
  `unitprice` double(24,8) DEFAULT 0.00000000,
  `charges` double(24,8) DEFAULT 0.00000000,
  `default_vat_code` varchar(10) DEFAULT NULL,
  `barcode` varchar(180) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT NULL,
  `tva_tx` double(6,3) NOT NULL,
  `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',
  `info_bits` int(11) NOT NULL DEFAULT 0,
  `fk_user` int(11) DEFAULT NULL,
  `fk_supplier_price_expression` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `delivery_time_days` int(11) DEFAULT NULL,
  `supplier_reputation` varchar(10) DEFAULT NULL,
  `packaging` varchar(64) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_unitprice` double(24,8) DEFAULT NULL,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_fournisseur_price_ref` (`ref_fourn`,`fk_soc`,`quantity`,`entity`),
  UNIQUE KEY `uk_product_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
  KEY `idx_product_fourn_price_fk_product` (`fk_product`,`entity`),
  KEY `idx_product_fourn_price_fk_soc` (`fk_soc`,`entity`),
  KEY `idx_product_barcode` (`barcode`),
  KEY `idx_product_fk_barcode_type` (`fk_barcode_type`),
  CONSTRAINT `fk_product_fournisseur_price_barcode_type` FOREIGN KEY (`fk_barcode_type`) REFERENCES `llx_c_barcode_type` (`rowid`),
  CONSTRAINT `fk_product_fournisseur_price_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_product_fournisseur_price_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_fournisseur_price` WRITE;
/*!40000 ALTER TABLE `llx_product_fournisseur_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_fournisseur_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_fournisseur_price_extrafields`
--

DROP TABLE IF EXISTS `llx_product_fournisseur_price_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_fournisseur_price_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_product_fournisseur_price_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_fournisseur_price_extrafields`
--

LOCK TABLES `llx_product_fournisseur_price_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_product_fournisseur_price_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_fournisseur_price_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_fournisseur_price_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_fournisseur_price_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `fk_product_fournisseur` int(11) NOT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `quantity` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_unitprice` double(24,8) DEFAULT NULL,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_fournisseur_price_log` WRITE;
/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_lang`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) NOT NULL DEFAULT 0,
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `note` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`),
  CONSTRAINT `fk_product_lang_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_lang` WRITE;
/*!40000 ALTER TABLE `llx_product_lang` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_lang` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_lot`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_lot` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `fk_product` int(11) NOT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `eol_date` datetime DEFAULT NULL,
  `manufacturing_date` datetime DEFAULT NULL,
  `scrapping_date` datetime DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_lot` (`fk_product`,`batch`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_lot` WRITE;
/*!40000 ALTER TABLE `llx_product_lot` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_lot` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_lot_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_lot_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_lot_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_lot_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_product_lot_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_lot_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_perentity`
--

DROP TABLE IF EXISTS `llx_product_perentity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_perentity` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_sell_intra` varchar(32) DEFAULT NULL,
  `accountancy_code_sell_export` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL,
  `accountancy_code_buy_intra` varchar(32) DEFAULT NULL,
  `accountancy_code_buy_export` varchar(32) DEFAULT NULL,
  `pmp` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_perentity` (`fk_product`,`entity`),
  KEY `idx_product_perentity_fk_product` (`fk_product`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_perentity`
--

LOCK TABLES `llx_product_perentity` WRITE;
/*!40000 ALTER TABLE `llx_product_perentity` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_perentity` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `llx_product_price`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_price` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product` int(11) NOT NULL,
  `date_price` datetime NOT NULL,
  `price_level` smallint(6) DEFAULT 1,
  `price` double(24,8) DEFAULT NULL,
  `price_ttc` double(24,8) DEFAULT NULL,
  `price_min` double(24,8) DEFAULT NULL,
  `price_min_ttc` double(24,8) DEFAULT NULL,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `default_vat_code` varchar(10) DEFAULT NULL,
  `tva_tx` double(6,3) NOT NULL DEFAULT 0.000,
  `recuperableonly` int(11) NOT NULL DEFAULT 0,
  `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',
  `fk_user_author` int(11) DEFAULT NULL,
  `tosell` tinyint(4) DEFAULT 1,
  `price_by_qty` int(11) NOT NULL DEFAULT 0,
  `fk_price_expression` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_price_ttc` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_product_price_fk_user_author` (`fk_user_author`),
  KEY `idx_product_price_fk_product` (`fk_product`),
  CONSTRAINT `fk_product_price_product` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_product_price_user_author` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `llx_product_price` WRITE;
/*!40000 ALTER TABLE `llx_product_price` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_price` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_price_by_qty`
--

DROP TABLE IF EXISTS `llx_product_price_by_qty`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_price_by_qty` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product_price` int(11) NOT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `price_base_type` varchar(3) DEFAULT 'HT',
  `quantity` double DEFAULT NULL,
  `remise_percent` double NOT NULL DEFAULT 0,
  `remise` double NOT NULL DEFAULT 0,
  `unitprice` double(24,8) DEFAULT 0.00000000,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_price` double(24,8) DEFAULT NULL,
  `multicurrency_price_ttc` double(24,8) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_price_by_qty_level` (`fk_product_price`,`quantity`),
  KEY `idx_product_price_by_qty_fk_product_price` (`fk_product_price`),
  CONSTRAINT `fk_product_price_by_qty_fk_product_price` FOREIGN KEY (`fk_product_price`) REFERENCES `llx_product_price` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_price_by_qty`
--

LOCK TABLES `llx_product_price_by_qty` WRITE;
/*!40000 ALTER TABLE `llx_product_price_by_qty` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_price_by_qty` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_pricerules`
--

DROP TABLE IF EXISTS `llx_product_pricerules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_pricerules` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `level` int(11) NOT NULL,
  `fk_level` int(11) NOT NULL,
  `var_percent` double NOT NULL,
  `var_min_percent` double NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `unique_level` (`level`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_pricerules`
--

LOCK TABLES `llx_product_pricerules` WRITE;
/*!40000 ALTER TABLE `llx_product_pricerules` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_pricerules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_stock`
--

DROP TABLE IF EXISTS `llx_product_stock`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_stock` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `reel` double DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`),
  KEY `idx_product_stock_fk_product` (`fk_product`),
  KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_stock`
--

LOCK TABLES `llx_product_stock` WRITE;
/*!40000 ALTER TABLE `llx_product_stock` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_stock` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_product_warehouse_properties`
--

DROP TABLE IF EXISTS `llx_product_warehouse_properties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_product_warehouse_properties` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_product` int(11) NOT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `seuil_stock_alerte` float DEFAULT 0,
  `desiredstock` float DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_product_warehouse_properties`
--

LOCK TABLES `llx_product_warehouse_properties` WRITE;
/*!40000 ALTER TABLE `llx_product_warehouse_properties` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_product_warehouse_properties` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_projet`
--

DROP TABLE IF EXISTS `llx_projet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_projet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `dateo` date DEFAULT NULL,
  `datee` date DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `public` int(11) DEFAULT NULL,
  `fk_statut` int(11) NOT NULL DEFAULT 0,
  `fk_opp_status` int(11) DEFAULT NULL,
  `opp_percent` double(5,2) DEFAULT NULL,
  `fk_opp_status_end` int(11) DEFAULT NULL,
  `date_close` datetime DEFAULT NULL,
  `fk_user_close` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `email_msgid` varchar(175) DEFAULT NULL,
  `opp_amount` double(24,8) DEFAULT NULL,
  `budget_amount` double(24,8) DEFAULT NULL,
  `usage_opportunity` int(11) DEFAULT 0,
  `usage_task` int(11) DEFAULT 1,
  `usage_bill_time` int(11) DEFAULT 0,
  `usage_organize_event` int(11) DEFAULT 0,
  `accept_conference_suggestions` int(11) DEFAULT 0,
  `accept_booth_suggestions` int(11) DEFAULT 0,
  `price_registration` double(24,8) DEFAULT NULL,
  `price_booth` double(24,8) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_projet_ref` (`ref`,`entity`),
  KEY `idx_projet_fk_soc` (`fk_soc`),
  CONSTRAINT `fk_projet_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_projet`
--

LOCK TABLES `llx_projet` WRITE;
/*!40000 ALTER TABLE `llx_projet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_projet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_projet_extrafields`
--

DROP TABLE IF EXISTS `llx_projet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_projet_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_projet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_projet_extrafields`
--

LOCK TABLES `llx_projet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_projet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_projet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_projet_task`
--

DROP TABLE IF EXISTS `llx_projet_task`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_projet_task` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_projet` int(11) NOT NULL,
  `fk_task_parent` int(11) NOT NULL DEFAULT 0,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `dateo` datetime DEFAULT NULL,
  `datee` datetime DEFAULT NULL,
  `datev` datetime DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `duration_effective` double DEFAULT 0,
  `planned_workload` double DEFAULT 0,
  `progress` int(11) DEFAULT 0,
  `priority` int(11) DEFAULT 0,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_projet_task_ref` (`ref`,`entity`),
  KEY `idx_projet_task_fk_projet` (`fk_projet`),
  KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`),
  KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`),
  CONSTRAINT `fk_projet_task_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_projet_task_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_projet_task_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_projet_task`
--

LOCK TABLES `llx_projet_task` WRITE;
/*!40000 ALTER TABLE `llx_projet_task` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_projet_task` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_projet_task_extrafields`
--

DROP TABLE IF EXISTS `llx_projet_task_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_projet_task_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_projet_task_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_projet_task_extrafields`
--

LOCK TABLES `llx_projet_task_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_projet_task_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_projet_task_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_projet_task_time`
--

DROP TABLE IF EXISTS `llx_projet_task_time`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_projet_task_time` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_task` int(11) NOT NULL,
  `task_date` date DEFAULT NULL,
  `task_datehour` datetime DEFAULT NULL,
  `task_date_withhour` int(11) DEFAULT 0,
  `task_duration` double DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `thm` double(24,8) 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(),
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_projet_task_time_task` (`fk_task`),
  KEY `idx_projet_task_time_date` (`task_date`),
  KEY `idx_projet_task_time_datehour` (`task_datehour`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_projet_task_time`
--

LOCK TABLES `llx_projet_task_time` WRITE;
/*!40000 ALTER TABLE `llx_projet_task_time` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_projet_task_time` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_propal`
--

DROP TABLE IF EXISTS `llx_propal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_propal` (
  `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,
  `ref_client` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_signature` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_signature` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `price` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `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,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_propal_ref` (`ref`,`entity`),
  KEY `idx_propal_fk_soc` (`fk_soc`),
  KEY `idx_propal_fk_user_author` (`fk_user_author`),
  KEY `idx_propal_fk_user_valid` (`fk_user_valid`),
  KEY `idx_propal_fk_user_signature` (`fk_user_signature`),
  KEY `idx_propal_fk_user_cloture` (`fk_user_cloture`),
  KEY `idx_propal_fk_projet` (`fk_projet`),
  KEY `idx_propal_fk_account` (`fk_account`),
  KEY `idx_propal_fk_currency` (`fk_currency`),
  KEY `idx_propal_fk_warehouse` (`fk_warehouse`),
  CONSTRAINT `fk_propal_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_propal_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_signature` FOREIGN KEY (`fk_user_signature`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_propal_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_propal`
--

LOCK TABLES `llx_propal` WRITE;
/*!40000 ALTER TABLE `llx_propal` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_propal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_propal_extrafields`
--

DROP TABLE IF EXISTS `llx_propal_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_propal_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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_propal_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_propal_extrafields`
--

LOCK TABLES `llx_propal_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_propal_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_propal_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_propal_merge_pdf_product`
--

DROP TABLE IF EXISTS `llx_propal_merge_pdf_product`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_propal_merge_pdf_product` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_product` int(11) NOT NULL,
  `file_name` varchar(200) NOT NULL,
  `lang` varchar(5) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_propal_merge_pdf_product`
--

LOCK TABLES `llx_propal_merge_pdf_product` WRITE;
/*!40000 ALTER TABLE `llx_propal_merge_pdf_product` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_propal_merge_pdf_product` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_propaldet`
--

DROP TABLE IF EXISTS `llx_propaldet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_propaldet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_propal` 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,
  `fk_remise_except` int(11) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_propaldet_fk_propal` (`fk_propal`),
  KEY `idx_propaldet_fk_product` (`fk_product`),
  KEY `fk_propaldet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_propaldet_fk_propal` FOREIGN KEY (`fk_propal`) REFERENCES `llx_propal` (`rowid`),
  CONSTRAINT `fk_propaldet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_propaldet`
--

LOCK TABLES `llx_propaldet` WRITE;
/*!40000 ALTER TABLE `llx_propaldet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_propaldet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_propaldet_extrafields`
--

DROP TABLE IF EXISTS `llx_propaldet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_propaldet_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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_propaldet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_propaldet_extrafields`
--

LOCK TABLES `llx_propaldet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_propaldet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_propaldet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_reception`
--

DROP TABLE IF EXISTS `llx_reception`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_reception` (
  `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,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `ref_ext` varchar(30) DEFAULT NULL,
  `ref_int` varchar(30) DEFAULT NULL,
  `ref_supplier` varchar(30) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `date_reception` datetime DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `billed` smallint(6) DEFAULT 0,
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `size` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `note_private` text 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,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_reception_uk_ref` (`ref`,`entity`),
  KEY `idx_reception_fk_soc` (`fk_soc`),
  KEY `idx_reception_fk_user_author` (`fk_user_author`),
  KEY `idx_reception_fk_user_valid` (`fk_user_valid`),
  KEY `idx_reception_fk_shipping_method` (`fk_shipping_method`),
  CONSTRAINT `fk_reception_fk_shipping_method` FOREIGN KEY (`fk_shipping_method`) REFERENCES `llx_c_shipment_mode` (`rowid`),
  CONSTRAINT `fk_reception_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_reception_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_reception_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_reception`
--

LOCK TABLES `llx_reception` WRITE;
/*!40000 ALTER TABLE `llx_reception` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_reception` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_reception_extrafields`
--

DROP TABLE IF EXISTS `llx_reception_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_reception_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_reception_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_reception_extrafields`
--

LOCK TABLES `llx_reception_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_reception_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_reception_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_recruitment_recruitmentcandidature`
--

DROP TABLE IF EXISTS `llx_recruitment_recruitmentcandidature`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_recruitment_recruitmentcandidature` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL DEFAULT '(PROV)',
  `fk_recruitmentjobposition` int(11) DEFAULT NULL,
  `description` text 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) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  `firstname` varchar(128) DEFAULT NULL,
  `lastname` varchar(128) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(64) DEFAULT NULL,
  `date_birth` date DEFAULT NULL,
  `remuneration_requested` int(11) DEFAULT NULL,
  `remuneration_proposed` int(11) DEFAULT NULL,
  `email_msgid` varchar(175) DEFAULT NULL,
  `fk_recruitment_origin` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_recruitmentcandidature_email_msgid` (`email_msgid`),
  KEY `idx_recruitment_recruitmentcandidature_rowid` (`rowid`),
  KEY `idx_recruitment_recruitmentcandidature_ref` (`ref`),
  KEY `llx_recruitment_recruitmentcandidature_fk_user_creat` (`fk_user_creat`),
  KEY `idx_recruitment_recruitmentcandidature_status` (`status`),
  CONSTRAINT `llx_recruitment_recruitmentcandidature_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_recruitment_recruitmentcandidature`
--

LOCK TABLES `llx_recruitment_recruitmentcandidature` WRITE;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentcandidature` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentcandidature` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_recruitment_recruitmentcandidature_extrafields`
--

DROP TABLE IF EXISTS `llx_recruitment_recruitmentcandidature_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_recruitment_recruitmentcandidature_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_recruitmentcandidature_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_recruitment_recruitmentcandidature_extrafields`
--

LOCK TABLES `llx_recruitment_recruitmentcandidature_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentcandidature_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentcandidature_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_recruitment_recruitmentjobposition`
--

DROP TABLE IF EXISTS `llx_recruitment_recruitmentjobposition`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_recruitment_recruitmentjobposition` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL DEFAULT '(PROV)',
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) NOT NULL,
  `qty` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_project` int(11) DEFAULT NULL,
  `fk_user_recruiter` int(11) DEFAULT NULL,
  `email_recruiter` varchar(255) DEFAULT NULL,
  `fk_user_supervisor` int(11) DEFAULT NULL,
  `fk_establishment` int(11) DEFAULT NULL,
  `date_planned` date DEFAULT NULL,
  `remuneration_suggested` varchar(255) DEFAULT NULL,
  `description` text 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) NOT 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,
  PRIMARY KEY (`rowid`),
  KEY `idx_recruitment_recruitmentjobposition_rowid` (`rowid`),
  KEY `idx_recruitment_recruitmentjobposition_ref` (`ref`),
  KEY `idx_recruitment_recruitmentjobposition_fk_soc` (`fk_soc`),
  KEY `idx_recruitment_recruitmentjobposition_fk_project` (`fk_project`),
  KEY `llx_recruitment_recruitmentjobposition_fk_user_recruiter` (`fk_user_recruiter`),
  KEY `llx_recruitment_recruitmentjobposition_fk_user_supervisor` (`fk_user_supervisor`),
  KEY `llx_recruitment_recruitmentjobposition_fk_establishment` (`fk_establishment`),
  KEY `llx_recruitment_recruitmentjobposition_fk_user_creat` (`fk_user_creat`),
  KEY `idx_recruitment_recruitmentjobposition_status` (`status`),
  CONSTRAINT `llx_recruitment_recruitmentjobposition_fk_establishment` FOREIGN KEY (`fk_establishment`) REFERENCES `llx_establishment` (`rowid`),
  CONSTRAINT `llx_recruitment_recruitmentjobposition_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `llx_recruitment_recruitmentjobposition_fk_user_recruiter` FOREIGN KEY (`fk_user_recruiter`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `llx_recruitment_recruitmentjobposition_fk_user_supervisor` FOREIGN KEY (`fk_user_supervisor`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_recruitment_recruitmentjobposition`
--

LOCK TABLES `llx_recruitment_recruitmentjobposition` WRITE;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentjobposition` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentjobposition` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_recruitment_recruitmentjobposition_extrafields`
--

DROP TABLE IF EXISTS `llx_recruitment_recruitmentjobposition_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_recruitment_recruitmentjobposition_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_recruitmentjobposition_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_recruitment_recruitmentjobposition_extrafields`
--

LOCK TABLES `llx_recruitment_recruitmentjobposition_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentjobposition_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_recruitment_recruitmentjobposition_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_referenceletters`
--

DROP TABLE IF EXISTS `llx_referenceletters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_referenceletters` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `title` varchar(100) NOT NULL,
  `element_type` varchar(50) NOT NULL,
  `use_custom_header` int(11) NOT NULL DEFAULT 0,
  `header` text DEFAULT NULL,
  `use_custom_footer` int(11) NOT NULL DEFAULT 0,
  `footer` text DEFAULT NULL,
  `use_landscape_format` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `default_doc` int(11) NOT NULL DEFAULT 0,
  `import_key` varchar(100) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_referenceletters`
--

LOCK TABLES `llx_referenceletters` WRITE;
/*!40000 ALTER TABLE `llx_referenceletters` DISABLE KEYS */;
INSERT INTO `llx_referenceletters` (`rowid`, `entity`, `title`, `element_type`, `use_custom_header`, `header`, `use_custom_footer`, `footer`, `use_landscape_format`, `status`, `default_doc`, `import_key`, `fk_user_author`, `datec`, `fk_user_mod`, `tms`) VALUES (1,1,'Exemple de modèle de PROPOSITION','propal',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Proposition commerciale<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date :&nbsp;{object_date}<br />\n			Date de fin de validit&eacute; :&nbsp;{object_date_end}<br />\n			Code client :&nbsp;{cust_company_customercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>\n',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(2,1,'Exemple de modèle de FACTURE','invoice',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Facture<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date facturation :&nbsp;{object_date}<br />\n			Date &eacute;ch&eacute;ance :&nbsp;{object_date_limit}<br />\n			Code client :&nbsp;{cust_company_customercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(3,1,'Exemple de modèle de COMMANDE','order',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Commande<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date de commande :&nbsp;{object_date}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(4,1,'Exemple de modèle de BON DE LIVRAISON','shipping',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong><span style=\"font-size:16px\">Bon de Livraison</span><br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date de livraison :&nbsp;{object_date_creation}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>\n',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(5,1,'Exemple de modèle de CONTRAT','contract',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Fiche contrat<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date :&nbsp;{object_date_creation}<br />\n			Code client :&nbsp;{cust_company_customercode}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(6,1,'Exemple de modèle de DEMANDE DE PRIX','supplier_proposal',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Demande de prix<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Code fournisseur : :&nbsp;{cust_company_suppliercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(7,1,'Exemple de modèle de COMMANDE FOURNISSEUR','order_supplier',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Commande fournisseur {object_ref}<br />\n			R&eacute;f. :&nbsp;{objvar_object_ref_supplier}</strong><br />\n			Date pr&egrave;vue de livraison :&nbsp;{object_date_delivery_planed}<br />\n			Code fournisseur : :&nbsp;{cust_company_suppliercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>\n',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(8,1,'Exemple de mod&egrave;le pour le module Formation','rfltr_agefodd_courrier',1,'<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td style=\"width:400px\"><span style=\"font-size:9px\"><strong>{mycompany_name}</strong><br />\n			{mycompany_address}<br />\n			{mycompany_zip}&nbsp;{mycompany_town}<br />\n			T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n			Email : {mycompany_email}<br />\n			Web :&nbsp;{mycompany_web}<br />\n			Formation / Session : {formation_ref}/ {objvar_object_ref}<br />\n			Date : {objvar_object_date_text}</span></td>\n			<td>YOUR LOGO</td>\n		</tr>\n	</tbody>\n</table>',1,'<hr /><div style=\"text-align:center\"><span style=\"color:#95a5a6\"><span style=\"font-size:6px\">{mycompany_name} {mycompany_address} -&nbsp; {mycompany_zip}&nbsp;{mycompany_town} - T&eacute;l. : {mycompany_phone} - mail : {mycompany_email} - {mycompany_juridicalstatus} - Capital de {mycompany_capital} SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} -&nbsp; N&deg; d&eacute;claration d&#39;activit&eacute; (ce num&eacute;ro ne vaut pas agr&eacute;ment de l&#39;&eacute;tat) {__[AGF_ORGANISME_NUM]__} &nbsp; - pr&eacute;fecture {__[AGF_ORGANISME_PREF]__} &nbsp;Num VA :&nbsp;{mycompany_vatnumber}</span></span><br />\n<br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(9,1,'Exemple de mod&egrave;le de convention pour le module Formation','rfltr_agefodd_convention',1,'&nbsp;<br />\n&nbsp;<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td style=\"width:25%\"></td>\n			<td style=\"text-align:center; width:50%\"><span style=\"font-size:14px\"><strong>CONVENTION DE FORMATION<br />\n			PROFESSIONNELLE CONTINUE</strong></span></td>\n			<td style=\"width:25%\"></td>\n		</tr>\n	</tbody>\n</table>\n',1,'<div style=\"text-align:center\"><span style=\"font-size:8px\"><strong>{mycompany_name}</strong><br />\n{mycompany_address} -&nbsp;{mycompany_zip}&nbsp;{mycompany_town} - <u>T&eacute;l. :</u>&nbsp;{myuser_phone}&nbsp;- <u>Fax :</u>&nbsp;{myuser_fax}<br />\n<strong>email :&nbsp;{mycompany_email}&nbsp;- Site :&nbsp;{mycompany_web}</strong><br />\n{mycompany_juridicalstatus}&nbsp;- Siret :&nbsp;{mycompany_idprof1} - APE :&nbsp;{mycompany_idprof3}</span><br />\n<br />\n<br />\n<br />\n&nbsp;</div>\n',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(10,1,'Exemple de mod&egrave;le de feuille d\'&eacute;margement vide pour le module Formation','rfltr_agefodd_fiche_presence_empty',1,'<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td style=\"width:400px\"><span style=\"font-size:9px\"><strong>{mycompany_name}</strong><br />\n			{mycompany_address}<br />\n			{mycompany_zip}&nbsp;{mycompany_town}<br />\n			T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n			Email : {mycompany_email}<br />\n			Web :&nbsp;{mycompany_web}<br />\n			Formation / Session : {formation_ref}/ {objvar_object_ref}<br />\n			Date : {objvar_object_date_text}</span></td>\n			<td>YOUR LOGO</td>\n		</tr>\n	</tbody>\n</table>',1,'<hr />\n<div style=\"text-align:center\"><span style=\"color:#95a5a6\"><span style=\"font-size:6px\">{mycompany_name} {mycompany_address} -&nbsp; {mycompany_zip}&nbsp;{mycompany_town} - T&eacute;l. : {mycompany_phone} - mail : {mycompany_email} - {mycompany_juridicalstatus} - Capital de {mycompany_capital} SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} -&nbsp; N&deg; d&eacute;claration d&#39;activit&eacute; (ce num&eacute;ro ne vaut pas agr&eacute;ment de l&#39;&eacute;tat) {__[AGF_ORGANISME_NUM]__} &nbsp; - pr&eacute;fecture {__[AGF_ORGANISME_PREF]__} &nbsp;Num VA :&nbsp;{mycompany_vatnumber}</span></span><br />\n<br />\n&nbsp;</div>',0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(11,1,'Facture','invoice',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Facture<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date facturation :&nbsp;{object_date}<br />\n			Date &eacute;ch&eacute;ance :&nbsp;{object_date_limit}<br />\n			Code client :&nbsp;{cust_company_customercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>',0,1,1,NULL,1,'2022-04-27 09:49:25',1,'2022-04-27 07:49:44'),(12,1,'Devis','propal',1,'&nbsp;<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td>MON LOGO ENTREPRISE</td>\n			<td style=\"text-align:right\"><strong>Proposition commerciale<br />\n			R&eacute;f. :&nbsp;{object_ref}</strong><br />\n			Date :&nbsp;{object_date}<br />\n			Date de fin de validit&eacute; :&nbsp;{object_date_end}<br />\n			Code client :&nbsp;{cust_company_customercode}<br />\n			{objets_lies}</td>\n		</tr>\n	</tbody>\n</table>',1,'<div style=\"text-align:center\"><br />\n<span style=\"font-size:8px\">{mycompany_juridicalstatus} - SIRET :&nbsp;{mycompany_idprof2}<br />\nNAF-APE :&nbsp;{mycompany_idprof3} - Num VA :&nbsp;{mycompany_vatnumber}</span><br />\n&nbsp;</div>\n',0,1,1,NULL,1,'2022-04-27 09:50:18',1,'2022-04-27 07:50:33');
/*!40000 ALTER TABLE `llx_referenceletters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_referenceletters_chapters`
--

DROP TABLE IF EXISTS `llx_referenceletters_chapters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_referenceletters_chapters` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_referenceletters` int(11) NOT NULL,
  `lang` varchar(5) NOT NULL DEFAULT '',
  `sort_order` int(11) NOT NULL DEFAULT 1,
  `title` varchar(100) NOT NULL,
  `content_text` text DEFAULT NULL,
  `options_text` text DEFAULT NULL,
  `readonly` int(11) NOT NULL DEFAULT 0,
  `same_page` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `import_key` varchar(100) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  KEY `idx_referenceletters_chapters_fk_referenceletters` (`fk_referenceletters`),
  CONSTRAINT `ibfk_referenceletters_chapters_fk_referenceletters` FOREIGN KEY (`fk_referenceletters`) REFERENCES `llx_referenceletters` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_referenceletters_chapters`
--

LOCK TABLES `llx_referenceletters_chapters` WRITE;
/*!40000 ALTER TABLE `llx_referenceletters_chapters` DISABLE KEYS */;
INSERT INTO `llx_referenceletters_chapters` (`rowid`, `entity`, `fk_referenceletters`, `lang`, `sort_order`, `title`, `content_text`, `options_text`, `readonly`, `same_page`, `status`, `import_key`, `fk_user_author`, `datec`, `fk_user_mod`, `tms`) VALUES (1,1,1,'fr_FR',1,'Header','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(2,1,1,'fr_FR',2,'Lines','&nbsp;<br />&nbsp;<br /><div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\"><strong>D&eacute;signation</strong></td>\n			<td style=\"width:10%\"><strong>TVA</strong></td>\n			<td style=\"width:10%\"><strong>P.U. HT</strong></td>\n			<td style=\"width:10%\"><strong>Qt&eacute;</strong></td>\n			<td style=\"width:10%\"><strong>R&eacute;duc.</strong></td>\n			<td style=\"width:10%\"><strong>Total HT</strong>[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody></table>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(3,1,1,'fr_FR',3,'Footer','&nbsp;<br />\n&nbsp;<br />\n\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td rowspan=\"3\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {objvar_object_cond_reglement_doc}<br />\n			<strong>Mode de r&egrave;glement</strong> : {objvar_object_mode_reglement}</td>\n			<td style=\"width:20%\">Total HT</td>\n			<td style=\"text-align:right; width:20%\">{objvar_object_total_ht}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{objvar_object_total_ttc}</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td style=\"width:55%\">&nbsp;</td>\n			<td style=\"width:45%\"><br />\n			Cachet, Date, Signature et mention &quot;Bon pour accord&quot;<br />\n			&nbsp;\n			<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:200px\">\n				<tbody>\n					<tr>\n						<td style=\"height:70px; width:220px\">&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(4,1,2,'fr_FR',1,'Header','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(5,1,2,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">TVA</td>\n			<td style=\"width:10%\">P.U. HT</td>\n			<td style=\"width:10%\">Qt&eacute;</td>\n			<td style=\"width:10%\">R&eacute;duc.</td>\n			<td style=\"width:10%\">Total HT[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(6,1,2,'fr_FR',3,'Footer','&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td rowspan=\"6\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {objvar_object_cond_reglement_doc}<br />\n			<strong>Mode de r&egrave;glement</strong> : {objvar_object_mode_reglement}</td>\n			<td style=\"width:20%\">Total HT</td>\n			<td style=\"text-align:right; width:20%\">{objvar_object_total_ht}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{objvar_object_total_ttc}</td>\n		</tr>\n		<tr>\n			<td style=\"width:20%\">Pay&eacute;</td>\n			<td style=\"text-align:right; width:20%\">{deja_paye}</td>\n		</tr>\n		<tr>\n			<td style=\"width:20%\">Avoirs</td>\n			<td style=\"text-align:right; width:20%\">{somme_avoirs}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#e6e6e6; width:20%\">Reste &agrave; payer</td>\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{reste_a_payer}</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td style=\"width:55%\">&nbsp;</td>\n			<td style=\"width:45%\">&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:200px\">\n				<tbody>\n					<tr>\n						<td style=\"height:70px; width:220px\">{liste_paiements}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(7,1,3,'fr_FR',1,'Contenu','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(8,1,3,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">TVA</td>\n			<td style=\"width:10%\">P.U. HT</td>\n			<td style=\"width:10%\">Qt&eacute;</td>\n			<td style=\"width:10%\">R&eacute;duc.</td>\n			<td style=\"width:10%\">Total HT[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(9,1,3,'fr_FR',3,'Footer','&nbsp;\n\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td rowspan=\"3\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {objvar_object_cond_reglement_doc}<br />\n			<strong>Mode de r&egrave;glement</strong> : {objvar_object_mode_reglement}</td>\n			<td style=\"width:20%\">Total HT</td>\n			<td style=\"text-align:right; width:20%\">{objvar_object_total_ht}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{objvar_object_total_ttc}</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(10,1,4,'fr_FR',1,'Contenu','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n<br />\n<p>&nbsp;<br />\n&nbsp;{object_tracking_number}</p>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(11,1,4,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">PU H.T.</td>\n			<td style=\"width:10%\">Total H.T.</td>\n			<td style=\"width:10%\">Poids/volume</td>\n			<td style=\"width:10%\">Qt&eacute; command&eacute;e</td>\n			<td style=\"width:10%\">Quantit&eacute; livr&eacute;e[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_price_ht}</td>\n			<td style=\"text-align:right\">{line_weight} {line_vol}</td>\n			<td style=\"text-align:right\">{line_qty_asked}</td>\n			<td style=\"text-align:right\">{line_qty_shipped}[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n\n<p>Volume total: {object_total_volume}</p>\n\n<p>Poids total: {object_total_weight}</p>\n\n<p>Quantit&eacute; command&eacute;e totale: {object_total_qty_ordered}</p>\n\n<p>Quantit&eacute; exp&eacute;di&eacute; totale: {object_total_qty_toship}<br />\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(12,1,5,'fr_FR',1,'Contenu','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(13,1,5,'fr_FR',2,'Lines','<table border=\"1\" style=\"width:530px\">\n	<tbody>\n		<tr>\n			<td>[!-- BEGIN lines_active --]{line_product_ref} -&nbsp;{line_product_label}<br />\n			Quantit&eacute; :&nbsp;<strong>{line_qty}</strong> - Prix unitaire :&nbsp;<strong>{line_price_ht_locale}</strong><br />\n			Date d&eacute;but pr&eacute;vue : <strong>{date_ouverture_prevue}</strong> - Date pr&eacute;vue fin de service : <strong>{date_fin_validite}</strong><br />\n			Date d&eacute;but : <strong>{date_ouverture}</strong><br />\n			{line_desc}<br />\n			<br />\n			[!-- END lines_active --]</td>\n		</tr>\n		<tr>\n			<td>[!-- BEGIN lines --]{line_product_ref} -&nbsp;{line_product_label}<br />\n			Quantit&eacute; :&nbsp;<strong>{line_qty}</strong> - Prix unitaire :&nbsp;<strong>{line_price_ht_locale}</strong><br />\n			Date d&eacute;but pr&eacute;vue : <strong>{date_ouverture_prevue}</strong> - Date pr&eacute;vue fin de service : <strong>{date_fin_validite}</strong><br />\n			Date d&eacute;but : <strong>{date_ouverture}</strong><br />\n			{line_desc}<br />\n			<br />\n			[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />\n<br />\n<br />\n<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(14,1,5,'fr_FR',3,'Footer','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:55%\"><br />\n			Pour&nbsp;{mycompany_name}, nom et signature :<br />\n			&nbsp;\n			<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"height:70px; width:220px\">&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:45%\"><br />\n			Pour&nbsp;{cust_company_name}, nom et signature :<br />\n			&nbsp;\n			<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"height:70px; width:220px\">&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(15,1,6,'fr_FR',1,'Contenu','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(16,1,6,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">TVA</td>\n			<td style=\"width:10%\">P.U. HT</td>\n			<td style=\"width:10%\">Qt&eacute;</td>\n			<td style=\"width:10%\">Total HT[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\"></td>\n			<td style=\"text-align:right\"></td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(17,1,6,'fr_FR',3,'Footer','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td rowspan=\"3\" style=\"width:60%\"><strong>Date pr&egrave;vue de livraison</strong> : {object_date_livraison}<br />\n			<strong>Mode de r&egrave;glement</strong> : {objvar_object_mode_reglement}</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(18,1,7,'fr_FR',1,'Contenu','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">Emetteur :<br />\n			&nbsp;\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\n				<tbody>\n					<tr>\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\n						<strong>{mycompany_name}</strong><br />\n						{object_contactsale}<br />\n						{mycompany_address}<br />\n						{mycompany_zip}&nbsp;{mycompany_town}<br />\n						<br />\n						T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\n						Email : {mycompany_email}<br />\n						Web :&nbsp;{mycompany_web}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n			<td style=\"width:50%\">Adress&eacute; &agrave; :<br />\n			&nbsp;\n			<table border=\"1\" style=\"width:245px\">\n				<tbody>\n					<tr>\n						<td style=\"height:121px\"><br />\n						<strong>{cust_company_name}</strong><br />\n						{cust_contactclient}<br />\n						{cust_contactclientfact}<br />\n						{cust_company_address}<br />\n						{cust_company_zip}&nbsp;{cust_company_town}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(19,1,7,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">TVA</td>\n			<td style=\"width:10%\">P.U. HT</td>\n			<td style=\"width:10%\">Qt&eacute;</td>\n			<td style=\"width:10%\">R&eacute;duc.</td>\n			<td style=\"width:10%\">Total HT[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(20,1,7,'fr_FR',3,'Footer','&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\n	<tbody>\n		<tr>\n			<td rowspan=\"3\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {object_payment_term}<br />\n			<strong>Mode de r&egrave;glement</strong> : {object_payment_mode}</td>\n			<td style=\"width:20%\">Total HT</td>\n			<td style=\"text-align:right; width:20%\">{objvar_object_total_ht}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\n		</tr>\n		<tr>\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{objvar_object_total_ttc}</td>\n		</tr>\n	</tbody>\n</table>',NULL,0,1,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(21,1,8,'fr_FR',1,'Contenu','<u>Formation : </u><br />\nIntitul&eacute; formation : <strong>{formation_nom}</strong><br />\nIntitul&eacute; formation pour les PDF: <strong>{formation_nom_custo}</strong><br />\nBut de la formation : <strong>{formation_but}</strong><br />\nM&eacute;thode de la formation : <strong>{formation_methode}</strong><br />\nPr&eacute;requis : <strong>{formation_prerequis}</strong><br />\nSanction : <strong>{formation_sanction}</strong><br />\nType (intra/inter) : <strong>{formation_type}</strong><br />\nType de participant : <strong>{formation_type_stagiaire}</strong><br />\nProgramme : <strong>{formation_programme}</strong><br />\nDocuments necessaires : <strong>{formation_documents}</strong><br />\nEquipement necessaire : <strong>{formation_equipements}</strong><br />\nRéférence : <strong>{formation_ref}</strong><br />\nRéférence Interne : <strong>{formation_refint}</strong><br />\nObjectif de formation text : <strong>{formation_obj_peda}</strong><br />\nTableau des objectifs :<br />\n[!-- BEGIN TFormationObjPeda --] Priorit&eacute;/Rang : <strong>{line_objpeda_rang}, </strong>Description : <strong>{line_objpeda_description}</strong><br />\n[!-- END TFormationObjPeda --]<br />\n<br />\n<u>Lieu</u> :&nbsp;<br />\n<strong>{formation_lieu} -&nbsp;{formation_lieu_adresse}&nbsp;{formation_lieu_cp}&nbsp;{formation_lieu_ville}</strong><br />\nInstruction d&#39;acces au lieu : <strong>{formation_lieu_acces}</strong><br />\nHoraire du lieu : <strong>{formation_lieu_horaires}</strong><br />\nTéléphone du lieu : <strong>{formation_lieu_phone}</strong><br />\nInfos diverses :&nbsp;<strong>{formation_lieu_divers}</strong><br />\nCommentaire Lieu : <strong>{formation_lieu_notes}</strong><br />\n<br />\n<u>Session : </u><br />\nId Session : <strong>{objvar_object_id}</strong><br />\nRef Session : <strong>{objvar_object_ref}</strong><br />\nClient :<strong> {formation_societe} </strong>(Intra)<br />\nCommenatire session : <strong>{formation_commentaire}</strong><br />\nDate : du <strong>{formation_date_debut}</strong> au&nbsp;<strong>{formation_date_fin}</strong><br />\nAutre format de date: <strong>{objvar_object_date_text}</strong><br />\nDur&eacute;e : <strong>{formation_duree}</strong> heure(s)<br />\nDur&eacute;e Session: <strong>{formation_duree_session}</strong> heure(s)<br />\nNombre de jours <strong>{session_nb_days}</strong> jour(s)<br />\nCommercial de la session : <strong>{formation_commercial}</strong><br />\n<br />\n<u>Liste horaires :</u><br />\n<br />\n[!-- BEGIN THorairesSession --]Le&nbsp;<strong>{line_date_session} </strong>:<br />\n- D&eacute;but&nbsp;<strong>{line_heure_debut_session}</strong>&nbsp;<br />\n- Fin&nbsp;<strong>{line_heure_fin_session}</strong><br />\n[!-- END THorairesSession --]<br />\n<br />\nHoraire session en texte : <strong>{objvar_object_dthour_text}</strong><br />\n<br />\n<br />\n<u>Tableau des participants :</u><br />\n&nbsp;<br />\n&nbsp;\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Nom - Pr&eacute;nom</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Structure</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Fonction</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Date de naissance</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Lieu de naissance</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Type financement</span>[!-- BEGIN TStagiairesSession --]</td>\n		</tr>\n		<tr>\n			<td style=\"text-align:center\"><br />\n			<strong><span style=\"font-size:11px\">{line_civilite} {line_nom}&nbsp;{line_prenom}</span></strong><br />\n			&nbsp;</td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_nom_societe} ({line_code_societe})</span></strong></td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_poste}</span></strong></td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_birthday}</span></strong></td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_birthplace}</span></strong></td>\n			<td style=\"text-align:center\"><strong>{line_type}</strong>[!-- END TStagiairesSession --]</td>\n		</tr>\n	</tbody>\n</table>\n<br />\n<br />\n<u>Convention :</u><br />\nTiers convention <span style=\"color:#ff0000\">(disponible uniquement sur PDF convention)</span> :<br />\n<br />\nMontant HT convention : {objvar_object_conv_amount_ht} Montant TVA convention : {objvar_object_conv_amount_tva} Montant TTC convention : {objvar_object_conv_amount_ttc}<br />\n<strong>{objvar_object_document_societe_name}<br />\n{objvar_object_document_societe_address}<br />\n{objvar_object_document_societe_zip}&nbsp;{objvar_object_document_societe_town}</strong><br />\nRepr&eacute;sent&eacute; par<strong>&nbsp;{objvar_object_signataire_intra}/{objvar_object_signataire_inter}</strong><br />\nNombre de participant de la convention<strong> </strong>{formation_nb_stagiaire_convention}<br />\n<br />\n<br />\n<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:440px\">\n	<tbody>\n		<tr>\n			<td style=\"background-color:#dddddd; text-align:center; width:40%\">D&eacute;signation</td>\n			<td style=\"background-color:#dddddd; text-align:center\">TVA</td>\n			<td style=\"background-color:#dddddd; text-align:center\">PU H.T</td>\n			<td style=\"background-color:#dddddd; text-align:center\">R&eacute;duc.</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Qt&eacute;</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Total HT</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Total TTC[!-- BEGIN TConventionFinancialLine --]</td>\n		</tr>\n		<tr>\n			<td style=\"text-align:center\">{line_fin_desciption}</td>\n			<td style=\"text-align:center\">{line_fin_tva_tx}</td>\n			<td style=\"text-align:center\">{line_fin_pu_ht}</td>\n			<td style=\"text-align:center\">{line_fin_discount}</td>\n			<td style=\"text-align:center\">{line_fin_qty}</td>\n			<td style=\"text-align:center\">{line_fin_amount_ht}</td>\n			<td style=\"text-align:center\">{line_fin_amount_ttc}[!-- END TConventionFinancialLine --]</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total HT</td>\n			<td>{objvar_object_conv_amount_ht}</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total TVA</td>\n			<td>{objvar_object_conv_amount_tva}</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total TTC</td>\n			<td>{objvar_object_conv_amount_ttc}</td>\n		</tr>\n	</tbody>\n</table>\n<br />\n<br />\nTableau des participants au sein d&#39;une convention <span style=\"color:#ff0000\">(disponible uniquement sur PDF convention)</span> :<br />\n&nbsp;<br />\n&nbsp;\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Nom - Pr&eacute;nom</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Structure</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Fonction</span></td>\n			<td style=\"text-align:center\">Type financement[!-- BEGIN TStagiairesSessionConvention --]</td>\n		</tr>\n		<tr>\n			<td style=\"text-align:center\"><br />\n			<strong><span style=\"font-size:11px\">{line_civilite} {line_nom}&nbsp;{line_prenom}</span></strong><br />\n			&nbsp;</td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_nom_societe} ({line_code_societe})</span></strong></td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_poste}</span></strong></td>\n			<td style=\"text-align:center\"><strong>{line_type}</strong>[!-- END TStagiairesSessionConvention --]</td>\n		</tr>\n	</tbody>\n</table>\n<br />\n<br />\nOu en forme texte : {formation_stagiaire_convention}\n<br />\nTableau des participants au sein d&#39;une convention <span style=\"color:#ff0000\">(disponible uniquement sur PDF &nbsp;d&#39;une soci&eacute;te)</span> :<br />\n&nbsp;<br />\n&nbsp;\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Nom - Pr&eacute;nom</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Structure</span></td>\n			<td style=\"text-align:center\"><span style=\"font-size:11px\">Fonction</span></td>\n			<td style=\"text-align:center\">Type financement[!-- BEGIN TStagiairesSessionSoc --]</td>\n		</tr>\n		<tr>\n			<td style=\"text-align:center\"><br />\n			<strong><span style=\"font-size:11px\">{line_civilite} {line_nom}&nbsp;{line_prenom}</span></strong><br />\n			&nbsp;</td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_nom_societe} ({line_code_societe})</span></strong></td>\n			<td style=\"text-align:center\"><strong><span style=\"font-size:11px\">{line_poste}</span></strong></td>\n			<td style=\"text-align:center\"><strong>{line_type}</strong>[!-- END TStagiairesSessionSoc --]</td>\n		</tr>\n	</tbody>\n</table>\n<br />\nNote : il existe également TStagiairesSessionSocPresent pour lister les participant du client présent ou partiellement présent et TStagiairesSessionSocConfirm pour lister les participants du client confirmé\n<br />\n<br />\n<u>Liste des formateurs :</u><br />\n<br />\n[!-- BEGIN TFormateursSession --] Nom : <strong>{line_formateur_nom}, </strong>pr&eacute;nom : <strong>{line_formateur_prenom}</strong>, statut : <strong>{line_formateur_statut}</strong><br />\n[!-- END TFormateursSession --]<br />\n<br />\nou en une ligne : <strong>{objvar_object_trainer_text}</strong><br />\nCout formateur (cout/nb de creneaux): <strong>{objvar_object_trainer_day_cost}</strong><br />\nD&eacute;tail par formateur<span style=\"color:#ff0000\"> (disponible uniquement sur contrat formateur)</span> :<br />\n<br />\n<strong>{objvar_object_formateur_session_lastname}&nbsp;{objvar_object_formateur_session_firstname}<br />\n{objvar_object_formateur_session_address}<br />\n{objvar_object_formateur_session_zip}&nbsp;{objvar_object_formateur_session_town}</strong><br />\nSiret : <strong>{objvar_object_formateur_session_societe_idprof2}</strong><br />\nHoraire du formateur dans la session avec heure :{trainer_datehourtextline}\nHoraire du formateur dans la session sans heure :{trainer_datetextline}\n<br />\n<br />\n<u>Autres :</u><br />\n<br />\nRepr&eacute;sentant Agefodd : <strong>{objvar_object_AGF_ORGANISME_REPRESENTANT}</strong> Numero de d&eacute;claration : <strong>{objvar_object_AGF_ORGANISME_NUM}</strong> Prefecture : <strong>{objvar_object_AGF_ORGANISME_PREF}</strong>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(22,1,8,'fr_FR',1,'Saut de page dans une boucle','Tableau des participants au sein d&#39;une convention (disponible uniquement sur PDF convention) :<br />\n&nbsp;<br />\nSaut de page dans une boucle (ex: un stagiaire par page)<br />\n<br />\n[!-- BEGIN TStagiairesSession --]<br />\n<strong>{line_civilite} {line_nom}&nbsp;{line_prenom}<br />\n<br />\n{line_nom_societe} ({line_code_societe})</strong><br />\n<br />\n@breakpage@<br />\n[!-- END TStagiairesSession --]\n\nSaut de page dans une boucle (ex: un stagiaire PRESENT ou PARTIELLEMENT par page)<br />\n<br />\n[!-- BEGIN TStagiairesSessionPresent --]<br />\n<strong>{line_civilite} {line_nom}&nbsp;{line_prenom}<br />\n<br />\n{line_nom_societe} ({line_code_societe})</strong><br />\n<br />\n@breakpage@<br />\n[!-- END TStagiairesSessionPresent --]',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(23,1,9,'fr_FR',1,'Page titre','&nbsp;\n<div style=\"text-align:center\"><br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<br />\n<span style=\"color:#3498db\"><span style=\"font-size:18px\">{formation_nom}<br />\nDu {formation_date_debut} au&nbsp;{formation_date_fin}</span></span><br />\n<br />\n<br />\n<span style=\"color:#3498db\"><span style=\"font-size:18px\">{objvar_object_document_societe_name}<br />\n{objvar_object_document_societe_address}<br />\n{objvar_object_document_societe_zip} {objvar_object_document_societe_town}<br />\nRepr&eacute;sent&eacute;e par {objvar_object_signataire_intra}</span></span></div>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(24,1,9,'fr_FR',2,'1ère page (articles 1, 2, 3 et 4)','<br />\n<br />\n<br />\n<span style=\"font-size:11px\"><strong>Entre les soussign&eacute;s :</strong><br />\n<br />\nLa soci&eacute;t&eacute;&nbsp;{mycompany_name}, dont le si&egrave;ge social se situe au&nbsp;{mycompany_address},&nbsp;{mycompany_zip}&nbsp;{mycompany_town} et en cours&nbsp;et en cours d&#39;enregistrement comme organisme de formation aupr&egrave;s de la pr&eacute;fecture Ci-apr&egrave;s d&eacute;nomm&eacute;e &laquo; l&#39;organisme &raquo; d&#39;une part,<br />\n<br />\n<strong>Et</strong><br />\n<br />\nLa soci&eacute;t&eacute;&nbsp;{objvar_object_document_societe_name}, situ&eacute;e au&nbsp;{objvar_object_document_societe_address},&nbsp;{objvar_object_document_societe_zip}&nbsp;{objvar_object_document_societe_town}, repr&eacute;sent&eacute;e par&nbsp;{objvar_object_signataire_intra} d&ucirc;ment habilit&eacute;(e) &agrave; ce faire.<br />\n<br />\nCi-apr&egrave;s d&eacute;nomm&eacute;e &laquo; le client &raquo; d&#39;autre part,<br />\n<strong>Est conclue la convention suivante, en application des dispositions du Livre III &ndash; VI&deg; du Code du Travail portant sur l&#39;organisation de la formation professionnelle continue dans le cadre de l&#39;&eacute;ducation permanente :<br />\n<br />\nArticle 1 - Objet</strong><br />\nLa convention a pour objet la r&eacute;alisation d&#39;une prestation de formation par l&#39;organisme aupr&egrave;s de collaborateurs du client.<br />\n<br />\n<strong>Article 2 - D&eacute;tails du stage</strong><br />\nL&#39;organisme accomplit l&#39;action de formation suivante : Formation : &laquo; {formation_nom} &raquo;<br />\nObjectifs :<br />\n- D&eacute;veloppement de comp&eacute;tences<br />\nType d&#39;action de formation : Actions d&rsquo;adaptation au poste de travail, li&eacute;es &agrave; l&#39;&eacute;volution ou au maintien dans l&rsquo;emploi ou de d&eacute;veloppement des comp&eacute;tences des salari&eacute;s.<br />\nDate: le {formation_date_debut} Dur&eacute;e : {formation_duree} heures ou {formation_duree_session} heures, r&eacute;parties de la fa&ccedil;on suivante :<br />\n[!-- BEGIN THorairesSession --]Le {line_date_session} ({line_heure_debut_session} / {line_heure_fin_session})<br />\n[!-- END THorairesSession --]Evaluation et sanction : Feuilles d&rsquo;&eacute;margement par demi-journ&eacute;e; Evaluation des acquis par questions / r&eacute;ponses et mises en situation; Acquisition de connaissances donnant lieu &agrave; la d&eacute;livrance d&#39;une attestation de formation.<br />\nNombre de Participants :&nbsp;{formation_nb_stagiaire_convention}<br />\nLieu : {formation_lieu} {formation_lieu_adresse},&nbsp;{formation_lieu_cp}&nbsp;{formation_lieu_ville}<br />\n<br />\n<strong>Article 3 - Programme et m&eacute;thode</strong><br />\nCf. annexe 1 (Programme de formation)<br />\n<br />\n<strong>Article 4 - Effectif form&eacute;</strong><br />\nL&#39;organisme formera les participants :<br />\n[!-- BEGIN TStagiairesSessionConvention --]- {line_nom}&nbsp;{line_prenom}<br />\n[!-- END TStagiairesSessionConvention --]</span>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(25,1,9,'fr_FR',3,'2nde page (articles 5, 6, 7 et 8)','<br />\n<br />\n<br />\n<br />\n<strong>Article 5 - Dispositions financi&egrave;res</strong><br />\nL&#39;organisme d&eacute;clare &ecirc;tre assujetti &agrave; la TVA au sens de l&#39;article 261-4-4&deg;-a du CGI et des articles L.900-2 et R.950-4 du code du travail. En contrepartie de cette action de formation, le client devra s&#39;acquitter des sommes suivantes :<br />\n<br />\n<br />\n&nbsp;\n<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:440px\">\n	<tbody>\n		<tr>\n			<td style=\"background-color:#dddddd; text-align:center; width:40%\">D&eacute;signation</td>\n			<td style=\"background-color:#dddddd; text-align:center\">TVA</td>\n			<td style=\"background-color:#dddddd; text-align:center\">PU H.T</td>\n			<td style=\"background-color:#dddddd; text-align:center\">R&eacute;duc.</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Qt&eacute;</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Total HT</td>\n			<td style=\"background-color:#dddddd; text-align:center\">Total TTC[!-- BEGIN TConventionFinancialLine --]</td>\n		</tr>\n		<tr>\n			<td style=\"text-align:center\">{line_fin_desciption}</td>\n			<td style=\"text-align:center\">{line_fin_tva_tx}</td>\n			<td style=\"text-align:center\">{line_fin_pu_ht}</td>\n			<td style=\"text-align:center\">{line_fin_discount}</td>\n			<td style=\"text-align:center\">{line_fin_qty}</td>\n			<td style=\"text-align:center\">{line_fin_amount_ht}</td>\n			<td style=\"text-align:center\">{line_fin_amount_ttc}[!-- END TConventionFinancialLine --]</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total HT</td>\n			<td>{objvar_object_conv_amount_ht}</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total TVA</td>\n			<td>{objvar_object_conv_amount_tva}</td>\n		</tr>\n		<tr>\n			<td colspan=\"5\" style=\"border-color:#ffffff\">&nbsp;</td>\n			<td style=\"background-color:#dddddd\">Total TTC</td>\n			<td>{objvar_object_conv_amount_ttc}</td>\n		</tr>\n	</tbody>\n</table>\n<div style=\"text-align:right\"><span style=\"font-size:8px\"><em>Montant exprim&eacute;s en Euros</em></span></div>\n<br />\n<br />\n<br />\n<strong>Article 6 - Conditions de r&egrave;glement</strong><br />\nLa facture correspondant &agrave; la somme indiqu&eacute;e ci-dessus sera adress&eacute;e, service fait, par l&#39;organisme au client qui en r&eacute;glera le montant sur le compte de l&#39;organisme.<br />\n<br />\n<strong>Article 7 - D&eacute;dit ou abandon</strong><br />\nEn application de l&#39;article L 6354-1 du code du travail, il est convenu entre les signataires de la pr&eacute;sente convention, que faute de r&eacute;alisation totale ou partielle de la prestation de formation, l&#39;organisme de formation remboursera au cocontractant les sommes qu&#39;il aura ind&ucirc;ment per&ccedil;ues de ce fait. C&#39;est-&agrave;-dire les sommes qui ne correspondront pas &agrave; la r&eacute;alisation de la prestation de formation.<br />\nLa non r&eacute;alisation totale de l&#39;action due &agrave; la carence du prestataire ou au renoncement &agrave; la prestation par l&#39;acheteur ne donnera pas lieu &agrave; une facturation au titre de la formation professionnelle continue.<br />\nLa r&eacute;alisation partielle de la prestation de formation, imputable ou non &agrave; l&#39;organisme de formation ou &agrave; son client, ne donnera lieu qu&#39;&agrave; facturation, au titre de la formation professionnelle continue, des sommes correspondantes &agrave; la r&eacute;alisation effective de la prestation.<br />\nEn cas de d&eacute;dit par le client &agrave; moins de 5 jours francs, avant le d&eacute;but de l&#39;action mentionn&eacute;e &agrave; l&#39;Article 1, ou d&#39;abandon en cours de formation par un ou plusieurs participants, l&#39;organisme retiendra sur le co&ucirc;t total, les sommes qu&#39;il aura r&eacute;ellement d&eacute;pens&eacute;es ou engag&eacute;es pour la r&eacute;alisation de la dite action, conform&eacute;ment aux dispositions de l&#39;Article L 920-9 du Code du Travail.<br />\n<br />\n<strong>Article 8 - Litiges et comp&eacute;tence d&#39;attribution</strong><br />\nEn cas de litige entre les deux parties, celles-ci s&#39;engagent &agrave; rechercher pr&eacute;alablement une solution amiable.En cas d&#39;&eacute;chec d&#39;une solution n&eacute;goci&eacute;e, les parties conviennent express&eacute;ment d&#39;attribuer la comp&eacute;tence exclusive aux tribunaux de la pr&eacute;fecture dont d&eacute;pend Valence.<br />\n<br />\nSignatures<br />\nFait &agrave; Valence, le {current_date_fr}, en 2 exemplaires originaux, dont un remis ce jour au client.<br />\nCe document comporte trois (3) pages.<br />\n<br />\n<br />\n<br />\n&nbsp;\n<table cellpadding=\"1\" cellspacing=\"1\">\n	<tbody>\n		<tr>\n			<td style=\"text-align:center\"><strong>Pour l&#39;Organisme de formation</strong><br />\n			{mycompany_name}<br />\n			Repr&eacute;sent&eacute;e par&nbsp;{mycompany_managers} (*)</td>\n			<td style=\"text-align:center\"><strong>Pour le client</strong><br />\n			{objvar_object_signataire_intra} (*)</td>\n		</tr>\n	</tbody>\n</table>\n<br />\n<br />\n&nbsp;\n<div style=\"text-align:center\"><span style=\"font-size:8px\">(*) Faire pr&eacute;c&eacute;der la signature de la mention &laquo; lu et approuv&eacute; &raquo; apr&egrave;s avoir paraph&eacute; chaque page de la pr&eacute;sente convention.</span></div>\n\n<div style=\"text-align:center\">&nbsp;</div>',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(26,1,10,'fr_FR',1,'Page titre','<div style=\"text-align:center\"><br />\n<br />\n<span style=\"font-size:20px\"><strong>Feuille d&#39;&eacute;margement</strong></span><br />\n&nbsp;\n<div>Nous, &laquo; {mycompany_name} &raquo;,demeurant {mycompany_address} {mycompany_zip}&nbsp;{mycompany_town}, repr&eacute;sent&eacute;s par {__[AGF_ORGANISME_REPRESENTANT]__} ,</div>\n</div>\n\n<div>attestons par la pr&eacute;sente de la r&eacute;alit&eacute; des informations port&eacute;es ci-dessous &agrave; votre connaissance.</div>\n\n<div style=\"text-align:left\"><br />\n<strong>La formation</strong></div>\n\n<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:540px\">\n	<tbody>\n		<tr>\n			<td>\n			<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:540px\">\n				<tbody>\n					<tr>\n						<td>\n						<div>Intitul&eacute; : <strong>{formation_nom}</strong></div>\n\n						<div>P&eacute;riode : {objvar_object_date_text} ({formation_duree_session}h)</div>\n						</td>\n						<td>Lieu de formation : {formation_lieu}<br />\n						{formation_lieu_adresse}&nbsp;{formation_lieu_cp}&nbsp;{formation_lieu_ville}</td>\n					</tr>\n				</tbody>\n			</table>\n			</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;\n\n<div style=\"text-align:left\"><br />\n<strong>Le(s)/</strong><strong>La formateur/trice(s)</strong></div>\n\n<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:540px\">\n	<tbody>\n		<tr>\n			<td style=\"width:100px\">Nom et pr&eacute;nom</td>\n			<td style=\"width:440px\">\n			<div style=\"text-align:center\">Signature<br />\n			<span style=\"font-size:8px\"><em>atteste(nt) par la(les) signature(s) avoir dispens&eacute; la formation ci-dessus nomm&eacute;e.</em></span></div>\n\n			<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:440px\">\n				<tbody>\n					<tr>\n						<td style=\"text-align:left\">Date:</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n					<tr>\n						<td style=\"text-align:left\">Heure :</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			[!-- BEGIN TFormateursSession --]</td>\n		</tr>\n		<tr>\n			<td>{line_formateur_nom} {line_formateur_prenom}</td>\n			<td>\n			<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:440px\">\n				<tbody>\n					<tr>\n						<td style=\"height:27px\">&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			[!-- END TFormateursSession --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;\n\n<div style=\"text-align:left\"><br />\n<strong>Le(s)/ La participant(e(s))</strong></div>\n\n<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:540px\">\n	<tbody>\n		<tr>\n			<td style=\"width:100px\">Nom et pr&eacute;nom</td>\n			<td style=\"width:440px\">\n			<div style=\"text-align:center\">Signature<br />\n			<span style=\"font-size:8px\"><em>atteste(nt) par la(les) signature(s) avoir re&ccedil;u la formation ci-dessus nomm&eacute;e</em></span></div>\n\n			<table border=\"0.5\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:440px\">\n				<tbody>\n					<tr>\n						<td style=\"text-align:left\">Date:</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n					<tr>\n						<td style=\"text-align:left\">Heure :</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			[!-- BEGIN TStagiairesSession --]</td>\n		</tr>\n		<tr>\n			<td>{line_nom} {line_prenom}<br />\n			({line_nom_societe})</td>\n			<td>\n			<table border=\"0.5\" style=\"width:440px\">\n				<tbody>\n					<tr>\n						<td style=\"height:27px\">&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n						<td>&nbsp;</td>\n					</tr>\n				</tbody>\n			</table>\n			[!-- END TStagiairesSession --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;',NULL,0,0,0,NULL,1,'2022-04-25 14:10:43',1,'2022-04-25 12:10:43'),(27,1,11,'fr_FR',1,'Header','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"width:50%\">&nbsp;Emetteur :<br />\r\n			&nbsp;\r\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\r\n						<strong>&nbsp;{mycompany_name}</strong><br />\r\n						&nbsp;{object_contactsale}<br />\r\n						&nbsp;{mycompany_address}<br />\r\n						&nbsp;{mycompany_zip}&nbsp;{mycompany_town}<br />\r\n						<br />\r\n						&nbsp;T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\r\n						&nbsp;Email : {mycompany_email}<br />\r\n						&nbsp;Web :&nbsp;{mycompany_web}</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n			<td style=\"width:50%\">&nbsp;Adress&eacute; &agrave; :<br />\r\n			&nbsp;\r\n			<table border=\"1\" style=\"width:245px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"height:121px\"><br />\r\n						<strong>&nbsp;{cust_company_name}</strong><br />\r\n						&nbsp;{cust_contactclient}<br />\r\n						&nbsp;{cust_contactclientfact}<br />\r\n						&nbsp;{cust_company_address}<br />\r\n						&nbsp;{cust_company_zip}&nbsp;{cust_company_town}</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n&nbsp;<br />\r\n&nbsp;',NULL,0,0,0,NULL,1,'2022-04-27 09:49:25',1,'2022-05-09 13:51:08'),(28,1,11,'fr_FR',2,'Lines','<div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\">D&eacute;signation</td>\n			<td style=\"width:10%\">TVA</td>\n			<td style=\"width:10%\">P.U. HT</td>\n			<td style=\"width:10%\">Qt&eacute;</td>\n			<td style=\"width:10%\">R&eacute;duc.</td>\n			<td style=\"width:10%\">Total HT[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody>\n</table>\n&nbsp;<br />\n&nbsp;<br />',NULL,0,0,0,NULL,1,'2022-04-27 09:49:25',1,'2022-04-27 07:49:25'),(29,1,11,'fr_FR',3,'Footer','&nbsp;\r\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\r\n	<tbody>\r\n		<tr>\r\n			<td rowspan=\"6\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {object_payment_term}<br />\r\n			<strong>Mode de r&egrave;glement</strong> : {object_payment_mode}</td>\r\n			<td style=\"width:20%\">Total HT</td>\r\n			<td style=\"text-align:right; width:20%\">{object_total_ht_locale}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\r\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\r\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{object_total_ttc_locale}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"width:20%\">Pay&eacute;</td>\r\n			<td style=\"text-align:right; width:20%\">{deja_paye}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"width:20%\">Avoirs</td>\r\n			<td style=\"text-align:right; width:20%\">{somme_avoirs}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background-color:#e6e6e6; width:20%\">Reste &agrave; payer</td>\r\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{reste_a_payer}</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n&nbsp;<br />\r\n&nbsp;\r\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"width:55%\">&nbsp;</td>\r\n			<td style=\"width:45%\">&nbsp;\r\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:200px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"height:70px; width:220px\">{liste_paiements}</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>',NULL,0,0,0,NULL,1,'2022-04-27 09:49:25',1,'2022-07-05 07:15:29'),(30,1,12,'fr_FR',1,'Header','<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:550px\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"width:50%\">&nbsp;Emetteur :<br />\r\n			&nbsp;\r\n			<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:242px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"background-color:#e6e6e6; height:121px\"><br />\r\n						<strong>&nbsp;{mycompany_name}</strong><br />\r\n						&nbsp;{object_contactsale}<br />\r\n						&nbsp;{mycompany_address}<br />\r\n						&nbsp;{mycompany_zip}&nbsp;{mycompany_town}<br />\r\n						<br />\r\n						&nbsp;T&eacute;l. : {mycompany_phone} - Fax :&nbsp;{mycompany_fax}<br />\r\n						&nbsp;Email : {mycompany_email}<br />\r\n						&nbsp;Web :&nbsp;{mycompany_web}</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n			<td style=\"width:50%\">&nbsp;Adress&eacute; &agrave; :<br />\r\n			&nbsp;\r\n			<table border=\"1\" style=\"width:245px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"height:121px\"><br />\r\n						<strong>&nbsp;{cust_company_name}</strong><br />\r\n						&nbsp;{cust_contactclient}<br />\r\n						&nbsp;{cust_contactclientfact}<br />\r\n						&nbsp;{cust_company_address}<br />\r\n						&nbsp;{cust_company_zip}&nbsp;{cust_company_town}</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>',NULL,0,0,0,NULL,1,'2022-04-27 09:50:18',1,'2022-05-09 13:50:26'),(31,1,12,'fr_FR',2,'Lines','&nbsp;<br />&nbsp;<br /><div style=\"text-align:right\">Montants exprim&eacute;s en Euros</div>\n\n<table border=\"1\" style=\"cellpadding:1; cellspacing:1; width:530px\">\n	<tbody>\n		<tr>\n			<td style=\"width:50%\"><strong>D&eacute;signation</strong></td>\n			<td style=\"width:10%\"><strong>TVA</strong></td>\n			<td style=\"width:10%\"><strong>P.U. HT</strong></td>\n			<td style=\"width:10%\"><strong>Qt&eacute;</strong></td>\n			<td style=\"width:10%\"><strong>R&eacute;duc.</strong></td>\n			<td style=\"width:10%\"><strong>Total HT</strong>[!-- BEGIN lines --]</td>\n		</tr>\n		<tr>\n			<td>{line_fulldesc}</td>\n			<td style=\"text-align:right\">{line_vatrate}</td>\n			<td style=\"text-align:right\">{line_up_locale}</td>\n			<td style=\"text-align:right\">{line_qty}</td>\n			<td style=\"text-align:right\">{line_discount_percent}</td>\n			<td style=\"text-align:right\">{line_price_ht_locale}[!-- END lines --]</td>\n		</tr>\n	</tbody></table>',NULL,0,0,0,NULL,1,'2022-04-27 09:50:18',1,'2022-04-27 07:50:18'),(32,1,12,'fr_FR',3,'Footer','&nbsp;<br />\r\n&nbsp;\r\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\r\n	<tbody>\r\n		<tr>\r\n			<td rowspan=\"3\" style=\"width:60%\"><strong>Conditions de r&egrave;glement</strong> : {object_payment_term}<br />\r\n			<strong>Mode de r&egrave;glement</strong> : {object_payment_mode}</td>\r\n			<td style=\"width:20%\">Total HT</td>\r\n			<td style=\"text-align:right; width:20%\">{object_total_ht_locale}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background-color:#f5f5f5; width:20%\">{tva_detail_titres}</td>\r\n			<td style=\"background-color:#f5f5f5; text-align:right; width:20%\">{tva_detail_montants}</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"background-color:#e6e6e6; width:20%\">Total TTC</td>\r\n			<td style=\"background-color:#e6e6e6; text-align:right; width:20%\">{object_total_ttc_locale}</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n&nbsp;<br />\r\n&nbsp;<br />\r\n&nbsp;\r\n<table cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"width:55%\">&nbsp;</td>\r\n			<td style=\"width:45%\"><br />\r\n			Cachet, Date, Signature et mention &quot;Bon pour accord&quot;<br />\r\n			&nbsp;\r\n			<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:200px\">\r\n				<tbody>\r\n					<tr>\r\n						<td style=\"height:70px; width:220px\">&nbsp;</td>\r\n					</tr>\r\n				</tbody>\r\n			</table>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>',NULL,0,0,0,NULL,1,'2022-04-27 09:50:18',1,'2022-07-05 07:13:22');
/*!40000 ALTER TABLE `llx_referenceletters_chapters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_referenceletters_elements`
--

DROP TABLE IF EXISTS `llx_referenceletters_elements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_referenceletters_elements` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_int` varchar(20) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `outputref` int(11) NOT NULL DEFAULT 1,
  `fk_referenceletters` int(11) NOT NULL,
  `element_type` varchar(50) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `content_letter` text DEFAULT NULL,
  `import_key` varchar(100) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `datec` datetime NOT NULL,
  `fk_user_mod` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `use_custom_header` int(11) NOT NULL DEFAULT 0,
  `header` text DEFAULT NULL,
  `use_custom_footer` int(11) NOT NULL DEFAULT 0,
  `footer` text DEFAULT NULL,
  `use_landscape_format` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_referenceletters_elements_fk_referenceletters` (`fk_referenceletters`),
  CONSTRAINT `ibfk_referenceletters_elements_fk_referenceletters` FOREIGN KEY (`fk_referenceletters`) REFERENCES `llx_referenceletters` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_referenceletters_elements`
--

LOCK TABLES `llx_referenceletters_elements` WRITE;
/*!40000 ALTER TABLE `llx_referenceletters_elements` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_referenceletters_elements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_referenceletters_extrafields`
--

DROP TABLE IF EXISTS `llx_referenceletters_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_referenceletters_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 `idxreferenceletters_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_referenceletters_extrafields`
--

LOCK TABLES `llx_referenceletters_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_referenceletters_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_referenceletters_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_resource`
--

DROP TABLE IF EXISTS `llx_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_resource` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(255) DEFAULT NULL,
  `asset_number` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `fk_code_type_resource` varchar(32) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_resource_ref` (`ref`,`entity`),
  KEY `fk_code_type_resource_idx` (`fk_code_type_resource`),
  KEY `idx_resource_fk_country` (`fk_country`),
  CONSTRAINT `fk_resource_fk_country` FOREIGN KEY (`fk_country`) REFERENCES `llx_c_country` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_resource`
--

LOCK TABLES `llx_resource` WRITE;
/*!40000 ALTER TABLE `llx_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_resource_extrafields`
--

DROP TABLE IF EXISTS `llx_resource_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_resource_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_resource_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_resource_extrafields`
--

LOCK TABLES `llx_resource_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_resource_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_resource_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_rights_def`
--

DROP TABLE IF EXISTS `llx_rights_def`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_rights_def` (
  `id` int(11) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `module` varchar(64) DEFAULT NULL,
  `module_position` int(11) NOT NULL DEFAULT 0,
  `family_position` int(11) NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `perms` varchar(50) DEFAULT NULL,
  `subperms` varchar(50) DEFAULT NULL,
  `type` varchar(1) DEFAULT NULL,
  `bydefault` tinyint(4) DEFAULT 0,
  PRIMARY KEY (`id`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_rights_def`
--

LOCK TABLES `llx_rights_def` WRITE;
/*!40000 ALTER TABLE `llx_rights_def` DISABLE KEYS */;
INSERT INTO `llx_rights_def` (`id`, `libelle`, `module`, `module_position`, `family_position`, `entity`, `perms`, `subperms`, `type`, `bydefault`) VALUES (11,'Read invoices','facture',11,0,1,'lire',NULL,'a',0),(12,'Create and update invoices','facture',11,0,1,'creer',NULL,'a',0),(13,'Devalidate invoices','facture',11,0,1,'invoice_advance','unvalidate','a',0),(14,'Validate invoices','facture',11,0,1,'invoice_advance','validate','a',0),(15,'Send invoices by email','facture',11,0,1,'invoice_advance','send','a',0),(16,'Issue payments on invoices','facture',11,0,1,'paiement',NULL,'a',0),(19,'Delete invoices','facture',11,0,1,'supprimer',NULL,'a',0),(21,'Read commercial proposals','propale',10,0,1,'lire',NULL,'r',0),(22,'Create and update commercial proposals','propale',10,0,1,'creer',NULL,'w',0),(24,'Validate commercial proposals','propale',10,0,1,'propal_advance','validate','d',0),(25,'Send commercial proposals to customers','propale',10,0,1,'propal_advance','send','d',0),(26,'Close commercial proposals','propale',10,0,1,'propal_advance','close','d',0),(27,'Delete commercial proposals','propale',10,0,1,'supprimer',NULL,'d',0),(28,'Exporting commercial proposals and attributes','propale',10,0,1,'export',NULL,'r',0),(31,'Read products','produit',26,0,1,'lire',NULL,'r',0),(32,'Create/modify products','produit',26,0,1,'creer',NULL,'w',0),(34,'Delete products','produit',26,0,1,'supprimer',NULL,'d',0),(38,'Export products','produit',26,0,1,'export',NULL,'r',0),(39,'Ignore minimum price','produit',26,0,1,'ignore_price_min_advance',NULL,'r',0),(121,'Read third parties','societe',9,0,1,'lire',NULL,'r',0),(122,'Create and update third parties','societe',9,0,1,'creer',NULL,'w',0),(125,'Delete third parties','societe',9,0,1,'supprimer',NULL,'d',0),(126,'Export third parties','societe',9,0,1,'export',NULL,'r',0),(241,'Lire les categories','categorie',20,0,1,'lire',NULL,'r',0),(242,'Creer/modifier les categories','categorie',20,0,1,'creer',NULL,'w',0),(243,'Supprimer les categories','categorie',20,0,1,'supprimer',NULL,'d',0),(251,'Consulter les autres utilisateurs','user',5,0,1,'user','lire','r',0),(252,'Consulter les permissions des autres utilisateurs','user',5,0,1,'user_advance','readperms','r',0),(253,'Creer/modifier utilisateurs internes et externes','user',5,0,1,'user','creer','w',0),(254,'Creer/modifier utilisateurs externes seulement','user',5,0,1,'user_advance','write','w',0),(255,'Modifier le mot de passe des autres utilisateurs','user',5,0,1,'user','password','w',0),(256,'Supprimer ou desactiver les autres utilisateurs','user',5,0,1,'user','supprimer','d',0),(262,'Read all third parties (and their objects) by internal users (otherwise only if commercial contact). Not effective for external users (limited to themselves).','societe',9,0,1,'client','voir','r',0),(281,'Read contacts','societe',9,0,1,'contact','lire','r',0),(282,'Create and update contact','societe',9,0,1,'contact','creer','w',0),(283,'Delete contacts','societe',9,0,1,'contact','supprimer','d',0),(286,'Export contacts','societe',9,0,1,'contact','export','d',0),(341,'Consulter ses propres permissions','user',5,0,1,'self_advance','readperms','r',0),(342,'Creer/modifier ses propres infos utilisateur','user',5,0,1,'self','creer','w',0),(343,'Modifier son propre mot de passe','user',5,0,1,'self','password','w',0),(344,'Modifier ses propres permissions','user',5,0,1,'self_advance','writeperms','w',0),(351,'Consulter les groupes','user',5,0,1,'group_advance','read','r',0),(352,'Consulter les permissions des groupes','user',5,0,1,'group_advance','readperms','r',0),(353,'Creer/modifier les groupes et leurs permissions','user',5,0,1,'group_advance','write','w',0),(354,'Supprimer ou desactiver les groupes','user',5,0,1,'group_advance','delete','d',0),(358,'Exporter les utilisateurs','user',5,0,1,'user','export','r',0),(1321,'Export customer invoices, attributes and payments','facture',11,0,1,'facture','export','r',0),(1322,'Re-open a fully paid invoice','facture',11,0,1,'invoice_advance','reopen','r',0),(23001,'Read cron jobs','cron',50,0,1,'read',NULL,'w',0),(23002,'Create cron Jobs','cron',50,0,1,'create',NULL,'w',0),(23003,'Delete cron Jobs','cron',50,0,1,'delete',NULL,'w',0),(23004,'Execute cron Jobs','cron',50,0,1,'execute',NULL,'w',0),(160211,'Lire les listes personnalis&eacute;es','mylist',100050,0,1,'lire',NULL,'r',0),(160212,'Administrer les listes personnalis&eacute;es','mylist',100050,0,1,'setup',NULL,'w',0),(160213,'Modifier les listes personnalis&eacute;es','mylist',100050,0,1,'creer',NULL,'c',0),(160214,'Supprimer les listes personnalis&eacute;es','mylist',100050,0,1,'supprimer',NULL,'d',0),(1032581,'See models letters','referenceletters',100050,0,1,'read',NULL,'w',0),(1032582,'Modify models letters','referenceletters',100050,0,1,'write',NULL,'w',0),(1032583,'Delete models letters','referenceletters',100050,0,1,'delete',NULL,'w',0),(1032584,'Use models letters','referenceletters',100050,0,1,'use',NULL,'w',0),(1602111,'Lire les champs ','myfield',100050,0,1,'lire',NULL,'r',0),(1602112,'Administrer les champs','myfield',100050,0,1,'setup',NULL,'w',0),(1602113,'Créer les champs ','myfield',100050,0,1,'creer',NULL,'c',0),(1602114,'Supprimer les champs','myfield',100050,0,1,'supprimer',NULL,'d',0),(1602115,'Import/Export XML les champs','myfield',100050,0,1,'export',NULL,'e',0),(50000001,'Read objects of BackUpmodule','backupmodule',100090,0,1,'myobject','read','w',0),(50000002,'Create/Update objects of BackUpmodule','backupmodule',100090,0,1,'myobject','write','w',0),(50000003,'Delete objects of BackUpmodule','backupmodule',100090,0,1,'myobject','delete','w',0);
/*!40000 ALTER TABLE `llx_rights_def` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_salary`
--

DROP TABLE IF EXISTS `llx_salary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_salary` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_typepayment` int(11) NOT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `datesp` date DEFAULT NULL,
  `dateep` date DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `fk_account` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_salary`
--

LOCK TABLES `llx_salary` WRITE;
/*!40000 ALTER TABLE `llx_salary` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_salary` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_salary_extrafields`
--

DROP TABLE IF EXISTS `llx_salary_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_salary_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_salary_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_salary_extrafields`
--

LOCK TABLES `llx_salary_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_salary_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_salary_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_session`
--

DROP TABLE IF EXISTS `llx_session`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_session` (
  `session_id` varchar(50) NOT NULL,
  `session_variable` text DEFAULT NULL,
  `last_accessed` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `remote_ip` varchar(64) DEFAULT NULL,
  `user_agent` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_session`
--

LOCK TABLES `llx_session` WRITE;
/*!40000 ALTER TABLE `llx_session` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_session` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe`
--

DROP TABLE IF EXISTS `llx_societe`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(128) DEFAULT NULL,
  `name_alias` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT 0,
  `parent` int(11) DEFAULT NULL,
  `status` tinyint(4) DEFAULT 1,
  `code_client` varchar(24) DEFAULT NULL,
  `code_fournisseur` varchar(24) DEFAULT NULL,
  `code_compta` varchar(24) DEFAULT NULL,
  `code_compta_fournisseur` varchar(24) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT 0,
  `fk_pays` int(11) DEFAULT 0,
  `fk_account` int(11) DEFAULT 0,
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `email` varchar(128) DEFAULT NULL,
  `socialnetworks` text DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `twitter` varchar(255) DEFAULT NULL,
  `facebook` varchar(255) DEFAULT NULL,
  `linkedin` varchar(255) DEFAULT NULL,
  `instagram` varchar(255) DEFAULT NULL,
  `snapchat` varchar(255) DEFAULT NULL,
  `googleplus` varchar(255) DEFAULT NULL,
  `youtube` varchar(255) DEFAULT NULL,
  `whatsapp` varchar(255) DEFAULT NULL,
  `fk_effectif` int(11) DEFAULT 0,
  `fk_typent` int(11) DEFAULT NULL,
  `fk_forme_juridique` int(11) DEFAULT 0,
  `fk_currency` varchar(3) DEFAULT NULL,
  `siren` varchar(128) DEFAULT NULL,
  `siret` varchar(128) DEFAULT NULL,
  `ape` varchar(128) DEFAULT NULL,
  `idprof4` varchar(128) DEFAULT NULL,
  `idprof5` varchar(128) DEFAULT NULL,
  `idprof6` varchar(128) DEFAULT NULL,
  `tva_intra` varchar(20) DEFAULT NULL,
  `capital` double(24,8) DEFAULT NULL,
  `fk_stcomm` int(11) NOT NULL DEFAULT 0,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `prefix_comm` varchar(5) DEFAULT NULL,
  `client` tinyint(4) DEFAULT 0,
  `fournisseur` tinyint(4) DEFAULT 0,
  `supplier_account` varchar(32) DEFAULT NULL,
  `fk_prospectlevel` varchar(12) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `customer_bad` tinyint(4) DEFAULT 0,
  `customer_rate` double DEFAULT 0,
  `supplier_rate` double DEFAULT 0,
  `remise_client` double DEFAULT 0,
  `remise_supplier` double DEFAULT 0,
  `mode_reglement` tinyint(4) DEFAULT NULL,
  `cond_reglement` tinyint(4) DEFAULT NULL,
  `transport_mode` tinyint(4) DEFAULT NULL,
  `mode_reglement_supplier` tinyint(4) DEFAULT NULL,
  `cond_reglement_supplier` tinyint(4) DEFAULT NULL,
  `transport_mode_supplier` tinyint(4) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tva_assuj` tinyint(4) DEFAULT 1,
  `localtax1_assuj` tinyint(4) DEFAULT 0,
  `localtax1_value` double(6,3) DEFAULT NULL,
  `localtax2_assuj` tinyint(4) DEFAULT 0,
  `localtax2_value` double(6,3) DEFAULT NULL,
  `barcode` varchar(180) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT 0,
  `price_level` int(11) DEFAULT NULL,
  `outstanding_limit` double(24,8) DEFAULT NULL,
  `order_min_amount` double(24,8) DEFAULT NULL,
  `supplier_order_min_amount` double(24,8) DEFAULT NULL,
  `default_lang` varchar(6) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `logo_squarred` varchar(255) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `webservices_url` varchar(255) DEFAULT NULL,
  `webservices_key` varchar(128) DEFAULT NULL,
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`),
  UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`),
  UNIQUE KEY `uk_societe_code_fournisseur` (`code_fournisseur`,`entity`),
  UNIQUE KEY `uk_societe_barcode` (`barcode`,`fk_barcode_type`,`entity`),
  KEY `idx_societe_user_creat` (`fk_user_creat`),
  KEY `idx_societe_user_modif` (`fk_user_modif`),
  KEY `idx_societe_stcomm` (`fk_stcomm`),
  KEY `idx_societe_pays` (`fk_pays`),
  KEY `idx_societe_account` (`fk_account`),
  KEY `idx_societe_prospectlevel` (`fk_prospectlevel`),
  KEY `idx_societe_typent` (`fk_typent`),
  KEY `idx_societe_forme_juridique` (`fk_forme_juridique`),
  KEY `idx_societe_shipping_method` (`fk_shipping_method`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe`
--

LOCK TABLES `llx_societe` WRITE;
/*!40000 ALTER TABLE `llx_societe` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_account`
--

DROP TABLE IF EXISTS `llx_societe_account`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `login` varchar(128) NOT NULL,
  `pass_encoding` varchar(24) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `pass_temp` varchar(128) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_website` int(11) DEFAULT NULL,
  `site` varchar(128) DEFAULT NULL,
  `site_account` varchar(128) DEFAULT NULL,
  `key_account` varchar(128) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `date_last_login` datetime DEFAULT NULL,
  `date_previous_login` datetime 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) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_account_login_website_soc` (`entity`,`fk_soc`,`login`,`site`,`fk_website`),
  UNIQUE KEY `uk_societe_account_key_account_soc` (`entity`,`fk_soc`,`key_account`,`site`,`fk_website`),
  KEY `idx_societe_account_rowid` (`rowid`),
  KEY `idx_societe_account_login` (`login`),
  KEY `idx_societe_account_status` (`status`),
  KEY `idx_societe_account_fk_website` (`fk_website`),
  KEY `idx_societe_account_fk_soc` (`fk_soc`),
  CONSTRAINT `llx_societe_account_fk_societe` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `llx_societe_account_fk_website` FOREIGN KEY (`fk_website`) REFERENCES `llx_website` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_account`
--

LOCK TABLES `llx_societe_account` WRITE;
/*!40000 ALTER TABLE `llx_societe_account` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_account` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_address`
--

DROP TABLE IF EXISTS `llx_societe_address`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_address` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(30) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT 0,
  `name` varchar(60) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT 0,
  `phone` varchar(20) DEFAULT NULL,
  `fax` varchar(20) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_address`
--

LOCK TABLES `llx_societe_address` WRITE;
/*!40000 ALTER TABLE `llx_societe_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_address` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_commerciaux`
--

DROP TABLE IF EXISTS `llx_societe_commerciaux`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_commerciaux` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_commerciaux`
--

LOCK TABLES `llx_societe_commerciaux` WRITE;
/*!40000 ALTER TABLE `llx_societe_commerciaux` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_commerciaux` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_contacts`
--

DROP TABLE IF EXISTS `llx_societe_contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_contacts` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `date_creation` datetime NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_c_type_contact` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_societe_contacts_idx1` (`entity`,`fk_soc`,`fk_c_type_contact`,`fk_socpeople`),
  KEY `fk_societe_contacts_fk_c_type_contact` (`fk_c_type_contact`),
  KEY `fk_societe_contacts_fk_soc` (`fk_soc`),
  KEY `fk_societe_contacts_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_societe_contacts_fk_c_type_contact` FOREIGN KEY (`fk_c_type_contact`) REFERENCES `llx_c_type_contact` (`rowid`),
  CONSTRAINT `fk_societe_contacts_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_societe_contacts_fk_socpeople` FOREIGN KEY (`fk_socpeople`) REFERENCES `llx_socpeople` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_contacts`
--

LOCK TABLES `llx_societe_contacts` WRITE;
/*!40000 ALTER TABLE `llx_societe_contacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_contacts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_extrafields`
--

DROP TABLE IF EXISTS `llx_societe_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  `signature_link` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_extrafields`
--

LOCK TABLES `llx_societe_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_societe_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_perentity`
--

DROP TABLE IF EXISTS `llx_societe_perentity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_perentity` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_perentity` (`fk_soc`,`entity`),
  KEY `idx_societe_perentity_fk_soc` (`fk_soc`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_perentity`
--

LOCK TABLES `llx_societe_perentity` WRITE;
/*!40000 ALTER TABLE `llx_societe_perentity` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_perentity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_prices`
--

DROP TABLE IF EXISTS `llx_societe_prices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_prices` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_soc` int(11) DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `price_level` tinyint(4) DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_prices`
--

LOCK TABLES `llx_societe_prices` WRITE;
/*!40000 ALTER TABLE `llx_societe_prices` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_prices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_remise`
--

DROP TABLE IF EXISTS `llx_societe_remise`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_remise` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `remise_client` double(6,3) NOT NULL DEFAULT 0.000,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_remise`
--

LOCK TABLES `llx_societe_remise` WRITE;
/*!40000 ALTER TABLE `llx_societe_remise` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_remise` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_remise_except`
--

DROP TABLE IF EXISTS `llx_societe_remise_except`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_remise_except` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) NOT NULL,
  `discount_type` int(11) NOT NULL DEFAULT 0,
  `datec` datetime DEFAULT NULL,
  `amount_ht` double(24,8) NOT NULL,
  `amount_tva` double(24,8) NOT NULL DEFAULT 0.00000000,
  `amount_ttc` double(24,8) NOT NULL DEFAULT 0.00000000,
  `tva_tx` double(6,3) NOT NULL DEFAULT 0.000,
  `vat_src_code` varchar(10) DEFAULT '',
  `fk_user` int(11) NOT NULL,
  `fk_facture_line` int(11) DEFAULT NULL,
  `fk_facture` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_invoice_supplier_line` int(11) DEFAULT NULL,
  `fk_invoice_supplier` int(11) DEFAULT NULL,
  `fk_invoice_supplier_source` int(11) DEFAULT NULL,
  `description` text NOT NULL,
  `multicurrency_amount_ht` double(24,8) NOT NULL DEFAULT 0.00000000,
  `multicurrency_amount_tva` double(24,8) NOT NULL DEFAULT 0.00000000,
  `multicurrency_amount_ttc` double(24,8) NOT NULL DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_societe_remise_except_fk_user` (`fk_user`),
  KEY `idx_societe_remise_except_fk_soc` (`fk_soc`),
  KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`),
  KEY `idx_societe_remise_except_fk_facture` (`fk_facture`),
  KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`),
  KEY `idx_societe_remise_except_discount_type` (`discount_type`),
  KEY `fk_soc_remise_fk_invoice_supplier_line` (`fk_invoice_supplier_line`),
  KEY `fk_societe_remise_fk_invoice_supplier_source` (`fk_invoice_supplier`),
  CONSTRAINT `fk_soc_remise_fk_facture_line` FOREIGN KEY (`fk_facture_line`) REFERENCES `llx_facturedet` (`rowid`),
  CONSTRAINT `fk_soc_remise_fk_invoice_supplier_line` FOREIGN KEY (`fk_invoice_supplier_line`) REFERENCES `llx_facture_fourn_det` (`rowid`),
  CONSTRAINT `fk_soc_remise_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_facture_source` FOREIGN KEY (`fk_facture_source`) REFERENCES `llx_facture` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_invoice_supplier` FOREIGN KEY (`fk_invoice_supplier`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_invoice_supplier_source` FOREIGN KEY (`fk_invoice_supplier`) REFERENCES `llx_facture_fourn` (`rowid`),
  CONSTRAINT `fk_societe_remise_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_remise_except`
--

LOCK TABLES `llx_societe_remise_except` WRITE;
/*!40000 ALTER TABLE `llx_societe_remise_except` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_remise_except` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_remise_supplier`
--

DROP TABLE IF EXISTS `llx_societe_remise_supplier`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_remise_supplier` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_soc` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `remise_supplier` double(6,3) NOT NULL DEFAULT 0.000,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_remise_supplier`
--

LOCK TABLES `llx_societe_remise_supplier` WRITE;
/*!40000 ALTER TABLE `llx_societe_remise_supplier` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_remise_supplier` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_societe_rib`
--

DROP TABLE IF EXISTS `llx_societe_rib`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_societe_rib` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(32) NOT NULL DEFAULT 'ban',
  `label` varchar(200) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `bank` varchar(255) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(20) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  `default_rib` smallint(6) NOT NULL DEFAULT 0,
  `rum` varchar(32) DEFAULT NULL,
  `date_rum` date DEFAULT NULL,
  `frstrecur` varchar(16) DEFAULT 'FRST',
  `last_four` varchar(4) DEFAULT NULL,
  `card_type` varchar(255) DEFAULT NULL,
  `cvn` varchar(255) DEFAULT NULL,
  `exp_date_month` int(11) DEFAULT NULL,
  `exp_date_year` int(11) DEFAULT NULL,
  `country_code` varchar(10) DEFAULT NULL,
  `approved` int(11) DEFAULT 0,
  `email` varchar(255) DEFAULT NULL,
  `ending_date` date DEFAULT NULL,
  `max_total_amount_of_all_payments` double(24,8) DEFAULT NULL,
  `preapproval_key` varchar(255) DEFAULT NULL,
  `starting_date` date DEFAULT NULL,
  `total_amount_of_all_payments` double(24,8) DEFAULT NULL,
  `stripe_card_ref` varchar(128) DEFAULT NULL,
  `stripe_account` varchar(128) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `ipaddress` varchar(68) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_societe_rib` (`label`,`fk_soc`),
  KEY `llx_societe_rib_fk_societe` (`fk_soc`),
  CONSTRAINT `llx_societe_rib_fk_societe` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_societe_rib`
--

LOCK TABLES `llx_societe_rib` WRITE;
/*!40000 ALTER TABLE `llx_societe_rib` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_societe_rib` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_socpeople`
--

DROP TABLE IF EXISTS `llx_socpeople`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_socpeople` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_soc` int(11) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(25) DEFAULT NULL,
  `town` varchar(255) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT 0,
  `birthday` date DEFAULT NULL,
  `poste` varchar(255) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `phone_perso` varchar(30) DEFAULT NULL,
  `phone_mobile` varchar(30) DEFAULT NULL,
  `fax` varchar(30) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `socialnetworks` text DEFAULT NULL,
  `jabberid` varchar(255) DEFAULT NULL,
  `skype` varchar(255) DEFAULT NULL,
  `twitter` varchar(255) DEFAULT NULL,
  `facebook` varchar(255) DEFAULT NULL,
  `linkedin` varchar(255) DEFAULT NULL,
  `instagram` varchar(255) DEFAULT NULL,
  `snapchat` varchar(255) DEFAULT NULL,
  `googleplus` varchar(255) DEFAULT NULL,
  `youtube` varchar(255) DEFAULT NULL,
  `whatsapp` varchar(255) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `no_email` smallint(6) NOT NULL DEFAULT 0,
  `priv` smallint(6) NOT NULL DEFAULT 0,
  `fk_prospectcontactlevel` varchar(12) DEFAULT NULL,
  `fk_stcommcontact` int(11) NOT NULL DEFAULT 0,
  `fk_user_creat` int(11) DEFAULT 0,
  `fk_user_modif` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `default_lang` varchar(6) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `statut` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  KEY `idx_socpeople_fk_soc` (`fk_soc`),
  KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`),
  CONSTRAINT `fk_socpeople_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_socpeople_user_creat_user_rowid` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_socpeople`
--

LOCK TABLES `llx_socpeople` WRITE;
/*!40000 ALTER TABLE `llx_socpeople` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_socpeople` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_socpeople_extrafields`
--

DROP TABLE IF EXISTS `llx_socpeople_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_socpeople_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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_socpeople_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_socpeople_extrafields`
--

LOCK TABLES `llx_socpeople_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_socpeople_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_socpeople_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_stock_mouvement`
--

DROP TABLE IF EXISTS `llx_stock_mouvement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_stock_mouvement` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datem` datetime DEFAULT NULL,
  `fk_product` int(11) NOT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `fk_entrepot` int(11) NOT NULL,
  `value` double DEFAULT NULL,
  `price` double(24,8) DEFAULT 0.00000000,
  `type_mouvement` smallint(6) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `inventorycode` varchar(128) DEFAULT NULL,
  `fk_project` int(11) DEFAULT NULL,
  `fk_origin` int(11) DEFAULT NULL,
  `origintype` varchar(32) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_projet` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_stock_mouvement_fk_product` (`fk_product`),
  KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_stock_mouvement`
--

LOCK TABLES `llx_stock_mouvement` WRITE;
/*!40000 ALTER TABLE `llx_stock_mouvement` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_stock_mouvement` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_subscription`
--

DROP TABLE IF EXISTS `llx_subscription`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_subscription` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `fk_type` int(11) DEFAULT NULL,
  `dateadh` datetime DEFAULT NULL,
  `datef` datetime DEFAULT NULL,
  `subscription` double(24,8) DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_subscription` (`fk_adherent`,`dateadh`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_subscription`
--

LOCK TABLES `llx_subscription` WRITE;
/*!40000 ALTER TABLE `llx_subscription` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_subscription` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_supplier_proposal`
--

DROP TABLE IF EXISTS `llx_supplier_proposal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_supplier_proposal` (
  `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,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `price` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `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,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_supplier_proposal`
--

LOCK TABLES `llx_supplier_proposal` WRITE;
/*!40000 ALTER TABLE `llx_supplier_proposal` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_supplier_proposal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_supplier_proposal_extrafields`
--

DROP TABLE IF EXISTS `llx_supplier_proposal_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_supplier_proposal_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,
  `rfltr_model_id` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_supplier_proposal_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_supplier_proposal_extrafields`
--

LOCK TABLES `llx_supplier_proposal_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_supplier_proposal_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_supplier_proposal_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_supplier_proposaldet`
--

DROP TABLE IF EXISTS `llx_supplier_proposaldet`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_supplier_proposaldet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_supplier_proposal` 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,
  `fk_remise_except` int(11) DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `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,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `ref_fourn` varchar(30) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `fk_unit` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_supplier_proposaldet_fk_supplier_proposal` (`fk_supplier_proposal`),
  KEY `idx_supplier_proposaldet_fk_product` (`fk_product`),
  KEY `fk_supplier_proposaldet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_supplier_proposaldet_fk_supplier_proposal` FOREIGN KEY (`fk_supplier_proposal`) REFERENCES `llx_supplier_proposal` (`rowid`),
  CONSTRAINT `fk_supplier_proposaldet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_supplier_proposaldet`
--

LOCK TABLES `llx_supplier_proposaldet` WRITE;
/*!40000 ALTER TABLE `llx_supplier_proposaldet` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_supplier_proposaldet` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_supplier_proposaldet_extrafields`
--

DROP TABLE IF EXISTS `llx_supplier_proposaldet_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_supplier_proposaldet_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,
  `show_total_ht` int(10) DEFAULT NULL,
  `show_reduc` int(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_supplier_proposaldet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_supplier_proposaldet_extrafields`
--

LOCK TABLES `llx_supplier_proposaldet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_supplier_proposaldet_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_supplier_proposaldet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_takepos_floor_tables`
--

DROP TABLE IF EXISTS `llx_takepos_floor_tables`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_takepos_floor_tables` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `leftpos` float DEFAULT NULL,
  `toppos` float DEFAULT NULL,
  `floor` smallint(6) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_takepos_floor_tables`
--

LOCK TABLES `llx_takepos_floor_tables` WRITE;
/*!40000 ALTER TABLE `llx_takepos_floor_tables` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_takepos_floor_tables` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_ticket`
--

DROP TABLE IF EXISTS `llx_ticket`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_ticket` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `track_id` varchar(128) NOT NULL,
  `fk_soc` int(11) DEFAULT 0,
  `fk_project` int(11) DEFAULT 0,
  `origin_email` varchar(128) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `fk_user_assign` int(11) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `fk_statut` int(11) DEFAULT NULL,
  `resolution` int(11) DEFAULT NULL,
  `progress` varchar(100) DEFAULT NULL,
  `timing` varchar(20) DEFAULT NULL,
  `type_code` varchar(32) DEFAULT NULL,
  `category_code` varchar(32) DEFAULT NULL,
  `severity_code` varchar(32) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `date_read` datetime DEFAULT NULL,
  `date_close` datetime DEFAULT NULL,
  `notify_tiers_at_create` tinyint(4) DEFAULT NULL,
  `email_msgid` varchar(255) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_ticket_track_id` (`track_id`),
  UNIQUE KEY `uk_ticket_ref` (`ref`,`entity`),
  KEY `idx_ticket_entity` (`entity`),
  KEY `idx_ticket_fk_soc` (`fk_soc`),
  KEY `idx_ticket_fk_user_assign` (`fk_user_assign`),
  KEY `idx_ticket_fk_project` (`fk_project`),
  KEY `idx_ticket_fk_statut` (`fk_statut`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_ticket`
--

LOCK TABLES `llx_ticket` WRITE;
/*!40000 ALTER TABLE `llx_ticket` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ticket` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_ticket_extrafields`
--

DROP TABLE IF EXISTS `llx_ticket_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_ticket_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_ticket_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_ticket_extrafields`
--

LOCK TABLES `llx_ticket_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_ticket_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_ticket_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_tva`
--

DROP TABLE IF EXISTS `llx_tva`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_tva` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `datep` date DEFAULT NULL,
  `datev` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `fk_typepayment` int(11) DEFAULT NULL,
  `num_payment` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `fk_account` int(11) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_tva`
--

LOCK TABLES `llx_tva` WRITE;
/*!40000 ALTER TABLE `llx_tva` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_tva` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user`
--

DROP TABLE IF EXISTS `llx_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(50) DEFAULT NULL,
  `ref_int` varchar(50) DEFAULT NULL,
  `admin` smallint(6) DEFAULT 0,
  `employee` tinyint(4) DEFAULT 1,
  `fk_establishment` int(11) DEFAULT 0,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `login` varchar(50) NOT NULL,
  `pass_encoding` varchar(24) DEFAULT NULL,
  `pass` varchar(128) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `pass_temp` varchar(128) DEFAULT NULL,
  `api_key` varchar(128) DEFAULT NULL,
  `gender` varchar(10) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` 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,
  `birth` date DEFAULT NULL,
  `job` varchar(128) DEFAULT NULL,
  `office_phone` varchar(20) DEFAULT NULL,
  `office_fax` varchar(20) DEFAULT NULL,
  `user_mobile` varchar(20) DEFAULT NULL,
  `personal_mobile` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `personal_email` varchar(255) DEFAULT NULL,
  `signature` text DEFAULT NULL,
  `socialnetworks` text DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_socpeople` int(11) DEFAULT NULL,
  `fk_member` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `fk_user_expense_validator` int(11) DEFAULT NULL,
  `fk_user_holiday_validator` int(11) DEFAULT NULL,
  `idpers1` varchar(128) DEFAULT NULL,
  `idpers2` varchar(128) DEFAULT NULL,
  `idpers3` varchar(128) DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `note` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `datelastlogin` datetime DEFAULT NULL,
  `datepreviouslogin` datetime DEFAULT NULL,
  `datelastpassvalidation` datetime DEFAULT NULL,
  `datestartvalidity` datetime DEFAULT NULL,
  `dateendvalidity` datetime DEFAULT NULL,
  `iplastlogin` varchar(250) DEFAULT NULL,
  `ippreviouslogin` varchar(250) DEFAULT NULL,
  `egroupware_id` int(11) DEFAULT NULL,
  `ldap_sid` varchar(255) DEFAULT NULL,
  `openid` varchar(255) DEFAULT NULL,
  `statut` tinyint(4) DEFAULT 1,
  `photo` varchar(255) DEFAULT NULL,
  `lang` varchar(6) DEFAULT NULL,
  `color` varchar(6) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `fk_barcode_type` int(11) DEFAULT 0,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `nb_holiday` int(11) DEFAULT 0,
  `thm` double(24,8) DEFAULT NULL,
  `tjm` double(24,8) DEFAULT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `salaryextra` double(24,8) DEFAULT NULL,
  `dateemployment` date DEFAULT NULL,
  `dateemploymentend` date DEFAULT NULL,
  `weeklyhours` double(16,8) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `default_range` int(11) DEFAULT NULL,
  `default_c_exp_tax_cat` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_login` (`login`,`entity`),
  UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`),
  UNIQUE KEY `uk_user_fk_member` (`fk_member`),
  UNIQUE KEY `uk_user_api_key` (`api_key`),
  KEY `idx_user_fk_societe` (`fk_soc`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user`
--

LOCK TABLES `llx_user` WRITE;
/*!40000 ALTER TABLE `llx_user` DISABLE KEYS */;
INSERT INTO `llx_user` (`rowid`, `entity`, `ref_ext`, `ref_int`, `admin`, `employee`, `fk_establishment`, `datec`, `tms`, `fk_user_creat`, `fk_user_modif`, `login`, `pass_encoding`, `pass`, `pass_crypted`, `pass_temp`, `api_key`, `gender`, `civility`, `lastname`, `firstname`, `address`, `zip`, `town`, `fk_state`, `fk_country`, `birth`, `job`, `office_phone`, `office_fax`, `user_mobile`, `personal_mobile`, `email`, `personal_email`, `signature`, `socialnetworks`, `fk_soc`, `fk_socpeople`, `fk_member`, `fk_user`, `fk_user_expense_validator`, `fk_user_holiday_validator`, `idpers1`, `idpers2`, `idpers3`, `note_public`, `note`, `model_pdf`, `datelastlogin`, `datepreviouslogin`, `datelastpassvalidation`, `datestartvalidity`, `dateendvalidity`, `iplastlogin`, `ippreviouslogin`, `egroupware_id`, `ldap_sid`, `openid`, `statut`, `photo`, `lang`, `color`, `barcode`, `fk_barcode_type`, `accountancy_code`, `nb_holiday`, `thm`, `tjm`, `salary`, `salaryextra`, `dateemployment`, `dateemploymentend`, `weeklyhours`, `import_key`, `default_range`, `default_c_exp_tax_cat`, `fk_warehouse`) VALUES (1,0,NULL,NULL,1,1,0,'2022-04-25 13:45:43','2022-04-25 11:45:43',NULL,NULL,'admin',NULL,NULL,'$2y$10$cMIb7gnyUNSPUl8MMHC0gOEm3705IVrqfHm8hjfjPsicjHu8Q/LJC',NULL,NULL,'','','SuperAdmin','','','','',NULL,NULL,NULL,'','','','','','','','','null',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',NULL,'2022-08-04 16:22:19','2022-08-03 10:07:17',NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(2,1,NULL,NULL,0,1,0,'2022-04-27 10:24:12','2022-05-11 13:32:05',NULL,NULL,'utilisateur',NULL,NULL,'$2y$10$dMUnUZ9uhjPc1zdPohHogOOw1qeh7jC7ftqZEJTP6esl1Ss1kEMje',NULL,'uc0AQeNrMK48',NULL,'','Utilisateur','','','','',286,NULL,NULL,'','','','','','','','','[]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',NULL,'2022-05-03 15:48:04','2022-04-27 10:27:03',NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,1,NULL,NULL,'',NULL,0,'',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `llx_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_alert`
--

DROP TABLE IF EXISTS `llx_user_alert`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_alert` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type` int(11) DEFAULT NULL,
  `fk_contact` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_alert`
--

LOCK TABLES `llx_user_alert` WRITE;
/*!40000 ALTER TABLE `llx_user_alert` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_alert` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_clicktodial`
--

DROP TABLE IF EXISTS `llx_user_clicktodial`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_clicktodial` (
  `fk_user` int(11) NOT NULL,
  `url` varchar(255) DEFAULT NULL,
  `login` varchar(32) DEFAULT NULL,
  `pass` varchar(64) DEFAULT NULL,
  `poste` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`fk_user`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_clicktodial`
--

LOCK TABLES `llx_user_clicktodial` WRITE;
/*!40000 ALTER TABLE `llx_user_clicktodial` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_clicktodial` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_employment`
--

DROP TABLE IF EXISTS `llx_user_employment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_employment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(50) DEFAULT NULL,
  `ref_ext` varchar(50) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `job` varchar(128) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `salary` double(24,8) DEFAULT NULL,
  `salaryextra` double(24,8) DEFAULT NULL,
  `weeklyhours` double(16,8) DEFAULT NULL,
  `dateemployment` date DEFAULT NULL,
  `dateemploymentend` date DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_employment` (`ref`,`entity`),
  KEY `fk_user_employment_fk_user` (`fk_user`),
  CONSTRAINT `fk_user_employment_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_employment`
--

LOCK TABLES `llx_user_employment` WRITE;
/*!40000 ALTER TABLE `llx_user_employment` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_employment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_extrafields`
--

DROP TABLE IF EXISTS `llx_user_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_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_user_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_extrafields`
--

LOCK TABLES `llx_user_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_user_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_param`
--

DROP TABLE IF EXISTS `llx_user_param`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_param` (
  `fk_user` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `param` varchar(180) NOT NULL,
  `value` text NOT NULL,
  UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_param`
--

LOCK TABLES `llx_user_param` WRITE;
/*!40000 ALTER TABLE `llx_user_param` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_param` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_rib`
--

DROP TABLE IF EXISTS `llx_user_rib`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_rib` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(30) DEFAULT NULL,
  `bank` varchar(255) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(11) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_rib`
--

LOCK TABLES `llx_user_rib` WRITE;
/*!40000 ALTER TABLE `llx_user_rib` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_user_rib` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_user_rights`
--

DROP TABLE IF EXISTS `llx_user_rights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_user_rights` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_user` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_user_rights` (`entity`,`fk_user`,`fk_id`),
  KEY `fk_user_rights_fk_user_user` (`fk_user`),
  CONSTRAINT `fk_user_rights_fk_user_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=150 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_user_rights`
--

LOCK TABLES `llx_user_rights` WRITE;
/*!40000 ALTER TABLE `llx_user_rights` DISABLE KEYS */;
INSERT INTO `llx_user_rights` (`rowid`, `entity`, `fk_user`, `fk_id`) VALUES (34,1,1,11),(28,1,1,12),(29,1,1,13),(30,1,1,14),(31,1,1,15),(33,1,1,16),(35,1,1,19),(24,1,1,21),(18,1,1,22),(19,1,1,24),(20,1,1,25),(21,1,1,26),(23,1,1,27),(25,1,1,28),(45,1,1,31),(40,1,1,32),(42,1,1,34),(44,1,1,38),(46,1,1,39),(147,1,1,81),(142,1,1,82),(143,1,1,84),(144,1,1,86),(145,1,1,87),(146,1,1,88),(148,1,1,89),(6,1,1,121),(3,1,1,122),(5,1,1,125),(7,1,1,126),(69,1,1,241),(68,1,1,242),(70,1,1,243),(8,1,1,262),(14,1,1,281),(11,1,1,282),(13,1,1,283),(15,1,1,286),(36,1,1,1321),(37,1,1,1322),(149,1,1,1421),(64,1,1,23001),(61,1,1,23002),(63,1,1,23003),(65,1,1,23004),(92,1,1,160211),(89,1,1,160212),(91,1,1,160213),(93,1,1,160214),(128,1,1,1032581),(125,1,1,1032582),(127,1,1,1032583),(129,1,1,1032584),(78,1,1,1602111),(73,1,1,1602112),(75,1,1,1602113),(77,1,1,1602114),(79,1,1,1602115),(112,1,1,50000001),(111,1,1,50000002),(113,1,1,50000003);
/*!40000 ALTER TABLE `llx_user_rights` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_usergroup`
--

DROP TABLE IF EXISTS `llx_usergroup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_usergroup` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `note` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_usergroup`
--

LOCK TABLES `llx_usergroup` WRITE;
/*!40000 ALTER TABLE `llx_usergroup` DISABLE KEYS */;
INSERT INTO `llx_usergroup` (`rowid`, `nom`, `entity`, `datec`, `tms`, `note`, `model_pdf`) VALUES (1,'Equipe',1,'2022-04-26 14:27:19','2022-04-26 12:27:19','Groupe test',NULL);
/*!40000 ALTER TABLE `llx_usergroup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_usergroup_extrafields`
--

DROP TABLE IF EXISTS `llx_usergroup_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_usergroup_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_usergroup_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_usergroup_extrafields`
--

LOCK TABLES `llx_usergroup_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_usergroup_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_usergroup_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_usergroup_rights`
--

DROP TABLE IF EXISTS `llx_usergroup_rights`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_usergroup_rights` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_usergroup` int(11) NOT NULL,
  `fk_id` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_rights` (`entity`,`fk_usergroup`,`fk_id`),
  KEY `fk_usergroup_rights_fk_usergroup` (`fk_usergroup`),
  CONSTRAINT `fk_usergroup_rights_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=204 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_usergroup_rights`
--

LOCK TABLES `llx_usergroup_rights` WRITE;
/*!40000 ALTER TABLE `llx_usergroup_rights` DISABLE KEYS */;
INSERT INTO `llx_usergroup_rights` (`rowid`, `entity`, `fk_usergroup`, `fk_id`) VALUES (110,1,1,11),(111,1,1,12),(112,1,1,13),(113,1,1,14),(114,1,1,15),(115,1,1,16),(116,1,1,19),(103,1,1,21),(104,1,1,22),(105,1,1,24),(106,1,1,25),(107,1,1,26),(108,1,1,27),(109,1,1,28),(119,1,1,31),(120,1,1,32),(121,1,1,34),(122,1,1,38),(123,1,1,39),(94,1,1,121),(95,1,1,122),(96,1,1,125),(97,1,1,126),(124,1,1,241),(125,1,1,242),(126,1,1,243),(98,1,1,262),(99,1,1,281),(100,1,1,282),(101,1,1,283),(102,1,1,286),(203,1,1,342),(93,1,1,343),(117,1,1,1321),(118,1,1,1322),(128,1,1,160211),(201,1,1,1032581),(202,1,1,1032584),(127,1,1,1602111);
/*!40000 ALTER TABLE `llx_usergroup_rights` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_usergroup_user`
--

DROP TABLE IF EXISTS `llx_usergroup_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_usergroup_user` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_user` int(11) NOT NULL,
  `fk_usergroup` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_usergroup_user` (`entity`,`fk_user`,`fk_usergroup`),
  KEY `fk_usergroup_user_fk_user` (`fk_user`),
  KEY `fk_usergroup_user_fk_usergroup` (`fk_usergroup`),
  CONSTRAINT `fk_usergroup_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_usergroup_user_fk_usergroup` FOREIGN KEY (`fk_usergroup`) REFERENCES `llx_usergroup` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_usergroup_user`
--

LOCK TABLES `llx_usergroup_user` WRITE;
/*!40000 ALTER TABLE `llx_usergroup_user` DISABLE KEYS */;
INSERT INTO `llx_usergroup_user` (`rowid`, `entity`, `fk_user`, `fk_usergroup`) VALUES (1,1,2,1);
/*!40000 ALTER TABLE `llx_usergroup_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_website`
--

DROP TABLE IF EXISTS `llx_website`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_website` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `type_container` varchar(16) NOT NULL DEFAULT 'page',
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `maincolor` varchar(16) DEFAULT NULL,
  `maincolorbis` varchar(16) DEFAULT NULL,
  `lang` varchar(8) DEFAULT NULL,
  `otherlang` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT 1,
  `fk_default_home` int(11) DEFAULT NULL,
  `use_manifest` int(11) DEFAULT NULL,
  `virtualhost` varchar(255) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `position` int(11) DEFAULT 0,
  `lastaccess` datetime DEFAULT NULL,
  `pageviews_month` bigint(20) unsigned DEFAULT 0,
  `pageviews_total` bigint(20) unsigned DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_website_ref` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_website`
--

LOCK TABLES `llx_website` WRITE;
/*!40000 ALTER TABLE `llx_website` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_website` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_website_extrafields`
--

DROP TABLE IF EXISTS `llx_website_extrafields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_website_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_website_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_website_extrafields`
--

LOCK TABLES `llx_website_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_website_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_website_extrafields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_website_page`
--

DROP TABLE IF EXISTS `llx_website_page`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_website_page` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_website` int(11) NOT NULL,
  `type_container` varchar(16) NOT NULL DEFAULT 'page',
  `pageurl` varchar(255) NOT NULL,
  `aliasalt` varchar(255) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `keywords` varchar(255) DEFAULT NULL,
  `lang` varchar(6) DEFAULT NULL,
  `fk_page` int(11) DEFAULT NULL,
  `allowed_in_frames` int(11) DEFAULT 0,
  `htmlheader` text DEFAULT NULL,
  `content` mediumtext DEFAULT NULL,
  `status` int(11) DEFAULT 1,
  `grabbed_from` varchar(255) DEFAULT NULL,
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `author_alias` varchar(64) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  `object_type` varchar(255) DEFAULT NULL,
  `fk_object` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_website_page_url` (`fk_website`,`pageurl`),
  CONSTRAINT `fk_website_page_website` FOREIGN KEY (`fk_website`) REFERENCES `llx_website` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_website_page`
--

LOCK TABLES `llx_website_page` WRITE;
/*!40000 ALTER TABLE `llx_website_page` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_website_page` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_workstation_workstation`
--

DROP TABLE IF EXISTS `llx_workstation_workstation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_workstation_workstation` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL DEFAULT '(PROV)',
  `label` varchar(255) DEFAULT NULL,
  `type` varchar(7) DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  `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) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  `nb_operators_required` int(11) DEFAULT NULL,
  `thm_operator_estimated` double DEFAULT NULL,
  `thm_machine_estimated` double DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_workstation_workstation_rowid` (`rowid`),
  KEY `idx_workstation_workstation_ref` (`ref`),
  KEY `fk_workstation_workstation_fk_user_creat` (`fk_user_creat`),
  KEY `idx_workstation_workstation_status` (`status`),
  CONSTRAINT `fk_workstation_workstation_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_workstation_workstation`
--

LOCK TABLES `llx_workstation_workstation` WRITE;
/*!40000 ALTER TABLE `llx_workstation_workstation` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_workstation_workstation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_workstation_workstation_resource`
--

DROP TABLE IF EXISTS `llx_workstation_workstation_resource`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_workstation_workstation_resource` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_resource` int(11) DEFAULT NULL,
  `fk_workstation` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_workstation_workstation_resource`
--

LOCK TABLES `llx_workstation_workstation_resource` WRITE;
/*!40000 ALTER TABLE `llx_workstation_workstation_resource` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_workstation_workstation_resource` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_workstation_workstation_usergroup`
--

DROP TABLE IF EXISTS `llx_workstation_workstation_usergroup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_workstation_workstation_usergroup` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_usergroup` int(11) DEFAULT NULL,
  `fk_workstation` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_workstation_workstation_usergroup`
--

LOCK TABLES `llx_workstation_workstation_usergroup` WRITE;
/*!40000 ALTER TABLE `llx_workstation_workstation_usergroup` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_workstation_workstation_usergroup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `llx_zapier_hook`
--

DROP TABLE IF EXISTS `llx_zapier_hook`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_zapier_hook` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `url` varchar(255) DEFAULT NULL,
  `event` varchar(255) DEFAULT NULL,
  `module` varchar(128) DEFAULT NULL,
  `action` varchar(128) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `llx_zapier_hook`
--

LOCK TABLES `llx_zapier_hook` WRITE;
/*!40000 ALTER TABLE `llx_zapier_hook` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_zapier_hook` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2022-08-28 10:00:04
