wok rev 24494

updated dolibarr (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:37:42 2022 +0100 (7 months ago)
parents 8d83e2a77e2f
children 401e930b6a17
files dolibarr/description.txt dolibarr/receipt dolibarr/stuff/dolibarr-14.0.5-mysql.sql
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dolibarr/description.txt	Sat Feb 19 13:37:42 2022 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +Dolibarr ERP and CRM is a modern software package that helps manage
     1.5 +your organization's activity (contacts, suppliers, invoices, orders,
     1.6 +stocks, agenda ...).
     1.7 +
     1.8 +It's an Open Source Software suite (written in PHP with optional
     1.9 +JavaScript enhancements) designed for small, medium or large companies,
    1.10 +foundations and freelancers.
    1.11 +
    1.12 +You can freely use, study, modify or distribute it according to its
    1.13 +licence.
    1.14 +
    1.15 +You can use it as a standalone application or as a web application to
    1.16 +access it from the Internet or a LAN.
    1.17 +
    1.18 +Dolibarr has a large community ready to help you, free forums and
    1.19 +preferred partners ready to offer commercial support should you need it.
     2.1 --- a/dolibarr/receipt	Sat Feb 19 11:02:17 2022 +0100
     2.2 +++ b/dolibarr/receipt	Sat Feb 19 13:37:42 2022 +0100
     2.3 @@ -1,17 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dolibarr"
     2.7 -VERSION="10.0.6"
     2.8 +VERSION="14.0.5"
     2.9  CATEGORY="office"
    2.10 -SHORT_DESC="ERP/CRM for small and medium companies."
    2.11 +SHORT_DESC="ERP and CRM for small and medium companies."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="GPLv3"
    2.14 -WEB_SITE="https://www.dolibarr.fr/"
    2.15 +WEB_SITE="https://www.dolibarr.org/"
    2.16  
    2.17  TARBALL="$PACKAGE-$VERSION.tgz"
    2.18 -WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/Dolibarr%20ERP-CRM/$VERSION/$TARBALL"
    2.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.20  
    2.21 -DEPENDS="apache php-apache php-gd php-mysqli"
    2.22 +DEPENDS="apache mysql php-apache php-gd php-mysqli"
    2.23  BUILD_DEPENDS=""
    2.24  
    2.25  # What is the latest version available today?
    2.26 @@ -70,11 +70,12 @@
    2.27  	ln -s /etc/dolibarr/conf.php $fs/usr/share/dolibarr/htdocs/conf
    2.28  }
    2.29  
    2.30 -post_install(){
    2.31 +post_install()
    2.32 +{
    2.33  	db_name=dolibarr
    2.34  	db_user=dolibarr
    2.35  	db_password=dolibarr
    2.36 -	
    2.37 +
    2.38  	# Configure apache server
    2.39  	if [ -f "$1/etc/apache/httpd.conf" ]
    2.40  	  then
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/dolibarr/stuff/dolibarr-14.0.5-mysql.sql	Sat Feb 19 13:37:42 2022 +0100
     3.3 @@ -0,0 +1,5038 @@
     3.4 +-- MySQL dump 10.13  Distrib 5.1.54, for slitaz-linux-gnu (i486)
     3.5 +--
     3.6 +-- Host: localhost    Database: dolibarr
     3.7 +-- ------------------------------------------------------
     3.8 +-- Server version	5.1.54-log
     3.9 +
    3.10 +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    3.11 +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    3.12 +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    3.13 +/*!40101 SET NAMES utf8 */;
    3.14 +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
    3.15 +/*!40103 SET TIME_ZONE='+00:00' */;
    3.16 +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
    3.17 +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
    3.18 +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
    3.19 +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
    3.20 +
    3.21 +--
    3.22 +-- Table structure for table `llx_accountingaccount`
    3.23 +--
    3.24 +
    3.25 +DROP TABLE IF EXISTS `llx_accountingaccount`;
    3.26 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
    3.27 +/*!40101 SET character_set_client = utf8 */;
    3.28 +CREATE TABLE `llx_accountingaccount` (
    3.29 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
    3.30 +  `fk_pcg_version` varchar(12) NOT NULL,
    3.31 +  `pcg_type` varchar(20) NOT NULL,
    3.32 +  `pcg_subtype` varchar(20) NOT NULL,
    3.33 +  `account_number` varchar(20) NOT NULL,
    3.34 +  `account_parent` varchar(20) DEFAULT NULL,
    3.35 +  `label` varchar(128) NOT NULL,
    3.36 +  PRIMARY KEY (`rowid`),
    3.37 +  KEY `idx_accountingaccount_fk_pcg_version` (`fk_pcg_version`)
    3.38 +) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8;
    3.39 +/*!40101 SET character_set_client = @saved_cs_client */;
    3.40 +
    3.41 +--
    3.42 +-- Dumping data for table `llx_accountingaccount`
    3.43 +--
    3.44 +
    3.45 +LOCK TABLES `llx_accountingaccount` WRITE;
    3.46 +/*!40000 ALTER TABLE `llx_accountingaccount` DISABLE KEYS */;
    3.47 +INSERT INTO `llx_accountingaccount` VALUES (1,'PCG99-ABREGE','CAPIT','CAPITAL','101','1','Capital'),(2,'PCG99-ABREGE','CAPIT','XXXXXX','105','1','Ecarts de réévaluation'),(3,'PCG99-ABREGE','CAPIT','XXXXXX','1061','1','Réserve légale'),(4,'PCG99-ABREGE','CAPIT','XXXXXX','1063','1','Réserves statutaires ou contractuelles'),(5,'PCG99-ABREGE','CAPIT','XXXXXX','1064','1','Réserves réglementées'),(6,'PCG99-ABREGE','CAPIT','XXXXXX','1068','1','Autres réserves'),(7,'PCG99-ABREGE','CAPIT','XXXXXX','108','1','Compte de l\'exploitant'),(8,'PCG99-ABREGE','CAPIT','XXXXXX','12','1','Résultat de l\'exercice'),(9,'PCG99-ABREGE','CAPIT','XXXXXX','145','1','Amortissements dérogatoires'),(10,'PCG99-ABREGE','CAPIT','XXXXXX','146','1','Provision spéciale de réévaluation'),(11,'PCG99-ABREGE','CAPIT','XXXXXX','147','1','Plus-values réinvesties'),(12,'PCG99-ABREGE','CAPIT','XXXXXX','148','1','Autres provisions réglementées'),(13,'PCG99-ABREGE','CAPIT','XXXXXX','15','1','Provisions pour risques et charges'),(14,'PCG99-ABREGE','CAPIT','XXXXXX','16','1','Emprunts et dettes assimilees'),(15,'PCG99-ABREGE','IMMO','XXXXXX','20','2','Immobilisations incorporelles'),(16,'PCG99-ABREGE','IMMO','XXXXXX','201','20','Frais d\'établissement'),(17,'PCG99-ABREGE','IMMO','XXXXXX','206','20','Droit au bail'),(18,'PCG99-ABREGE','IMMO','XXXXXX','207','20','Fonds commercial'),(19,'PCG99-ABREGE','IMMO','XXXXXX','208','20','Autres immobilisations incorporelles'),(20,'PCG99-ABREGE','IMMO','XXXXXX','21','2','Immobilisations corporelles'),(21,'PCG99-ABREGE','IMMO','XXXXXX','23','2','Immobilisations en cours'),(22,'PCG99-ABREGE','IMMO','XXXXXX','27','2','Autres immobilisations financieres'),(23,'PCG99-ABREGE','IMMO','XXXXXX','280','2','Amortissements des immobilisations incorporelles'),(24,'PCG99-ABREGE','IMMO','XXXXXX','281','2','Amortissements des immobilisations corporelles'),(25,'PCG99-ABREGE','IMMO','XXXXXX','290','2','Provisions pour dépréciation des immobilisations incorporelles'),(26,'PCG99-ABREGE','IMMO','XXXXXX','291','2','Provisions pour dépréciation des immobilisations corporelles'),(27,'PCG99-ABREGE','IMMO','XXXXXX','297','2','Provisions pour dépréciation des autres immobilisations financières'),(28,'PCG99-ABREGE','STOCK','XXXXXX','31','3','Matieres premières'),(29,'PCG99-ABREGE','STOCK','XXXXXX','32','3','Autres approvisionnements'),(30,'PCG99-ABREGE','STOCK','XXXXXX','33','3','En-cours de production de biens'),(31,'PCG99-ABREGE','STOCK','XXXXXX','34','3','En-cours de production de services'),(32,'PCG99-ABREGE','STOCK','XXXXXX','35','3','Stocks de produits'),(33,'PCG99-ABREGE','STOCK','XXXXXX','37','3','Stocks de marchandises'),(34,'PCG99-ABREGE','STOCK','XXXXXX','391','3','Provisions pour dépréciation des matières premières'),(35,'PCG99-ABREGE','STOCK','XXXXXX','392','3','Provisions pour dépréciation des autres approvisionnements'),(36,'PCG99-ABREGE','STOCK','XXXXXX','393','3','Provisions pour dépréciation des en-cours de production de biens'),(37,'PCG99-ABREGE','STOCK','XXXXXX','394','3','Provisions pour dépréciation des en-cours de production de services'),(38,'PCG99-ABREGE','STOCK','XXXXXX','395','3','Provisions pour dépréciation des stocks de produits'),(39,'PCG99-ABREGE','STOCK','XXXXXX','397','3','Provisions pour dépréciation des stocks de marchandises'),(40,'PCG99-ABREGE','TIERS','SUPPLIER','400','4','Fournisseurs et Comptes rattachés'),(41,'PCG99-ABREGE','TIERS','XXXXXX','409','4','Fournisseurs débiteurs'),(42,'PCG99-ABREGE','TIERS','CUSTOMER','410','4','Clients et Comptes rattachés'),(43,'PCG99-ABREGE','TIERS','XXXXXX','419','4','Clients créditeurs'),(44,'PCG99-ABREGE','TIERS','XXXXXX','421','4','Personnel'),(45,'PCG99-ABREGE','TIERS','XXXXXX','428','4','Personnel'),(46,'PCG99-ABREGE','TIERS','XXXXXX','43','4','Sécurité sociale et autres organismes sociaux'),(47,'PCG99-ABREGE','TIERS','XXXXXX','444','4','Etat - impôts sur bénéfice'),(48,'PCG99-ABREGE','TIERS','XXXXXX','445','4','Etat - Taxes sur chiffre affaire'),(49,'PCG99-ABREGE','TIERS','XXXXXX','447','4','Autres impôts, taxes et versements assimilés'),(50,'PCG99-ABREGE','TIERS','XXXXXX','45','4','Groupe et associes'),(51,'PCG99-ABREGE','TIERS','XXXXXX','455','45','Associés'),(52,'PCG99-ABREGE','TIERS','XXXXXX','46','4','Débiteurs divers et créditeurs divers'),(53,'PCG99-ABREGE','TIERS','XXXXXX','47','4','Comptes transitoires ou d\'attente'),(54,'PCG99-ABREGE','TIERS','XXXXXX','481','4','Charges à répartir sur plusieurs exercices'),(55,'PCG99-ABREGE','TIERS','XXXXXX','486','4','Charges constatées d\'avance'),(56,'PCG99-ABREGE','TIERS','XXXXXX','487','4','Produits constatés d\'avance'),(57,'PCG99-ABREGE','TIERS','XXXXXX','491','4','Provisions pour dépréciation des comptes de clients'),(58,'PCG99-ABREGE','TIERS','XXXXXX','496','4','Provisions pour dépréciation des comptes de débiteurs divers'),(59,'PCG99-ABREGE','FINAN','XXXXXX','50','5','Valeurs mobilières de placement'),(60,'PCG99-ABREGE','FINAN','BANK','51','5','Banques, établissements financiers et assimilés'),(61,'PCG99-ABREGE','FINAN','CASH','53','5','Caisse'),(62,'PCG99-ABREGE','FINAN','XXXXXX','54','5','Régies d\'avance et accréditifs'),(63,'PCG99-ABREGE','FINAN','XXXXXX','58','5','Virements internes'),(64,'PCG99-ABREGE','FINAN','XXXXXX','590','5','Provisions pour dépréciation des valeurs mobilières de placement'),(65,'PCG99-ABREGE','CHARGE','PRODUCT','60','6','Achats'),(66,'PCG99-ABREGE','CHARGE','XXXXXX','603','60','Variations des stocks'),(67,'PCG99-ABREGE','CHARGE','SERVICE','61','6','Services extérieurs'),(68,'PCG99-ABREGE','CHARGE','XXXXXX','62','6','Autres services extérieurs'),(69,'PCG99-ABREGE','CHARGE','XXXXXX','63','6','Impôts, taxes et versements assimiles'),(70,'PCG99-ABREGE','CHARGE','XXXXXX','641','6','Rémunérations du personnel'),(71,'PCG99-ABREGE','CHARGE','XXXXXX','644','6','Rémunération du travail de l\'exploitant'),(72,'PCG99-ABREGE','CHARGE','SOCIAL','645','6','Charges de sécurité sociale et de prévoyance'),(73,'PCG99-ABREGE','CHARGE','XXXXXX','646','6','Cotisations sociales personnelles de l\'exploitant'),(74,'PCG99-ABREGE','CHARGE','XXXXXX','65','6','Autres charges de gestion courante'),(75,'PCG99-ABREGE','CHARGE','XXXXXX','66','6','Charges financières'),(76,'PCG99-ABREGE','CHARGE','XXXXXX','67','6','Charges exceptionnelles'),(77,'PCG99-ABREGE','CHARGE','XXXXXX','681','6','Dotations aux amortissements et aux provisions'),(78,'PCG99-ABREGE','CHARGE','XXXXXX','686','6','Dotations aux amortissements et aux provisions'),(79,'PCG99-ABREGE','CHARGE','XXXXXX','687','6','Dotations aux amortissements et aux provisions'),(80,'PCG99-ABREGE','CHARGE','XXXXXX','691','6','Participation des salariés aux résultats'),(81,'PCG99-ABREGE','CHARGE','XXXXXX','695','6','Impôts sur les bénéfices'),(82,'PCG99-ABREGE','CHARGE','XXXXXX','697','6','Imposition forfaitaire annuelle des sociétés'),(83,'PCG99-ABREGE','CHARGE','XXXXXX','699','6','Produits'),(84,'PCG99-ABREGE','PROD','PRODUCT','701','7','Ventes de produits finis'),(85,'PCG99-ABREGE','PROD','SERVICE','706','7','Prestations de services'),(86,'PCG99-ABREGE','PROD','PRODUCT','707','7','Ventes de marchandises'),(87,'PCG99-ABREGE','PROD','PRODUCT','708','7','Produits des activités annexes'),(88,'PCG99-ABREGE','PROD','XXXXXX','709','7','Rabais, remises et ristournes accordés par l\'entreprise'),(89,'PCG99-ABREGE','PROD','XXXXXX','713','7','Variation des stocks'),(90,'PCG99-ABREGE','PROD','XXXXXX','72','7','Production immobilisée'),(91,'PCG99-ABREGE','PROD','XXXXXX','73','7','Produits nets partiels sur opérations à long terme'),(92,'PCG99-ABREGE','PROD','XXXXXX','74','7','Subventions d\'exploitation'),(93,'PCG99-ABREGE','PROD','XXXXXX','75','7','Autres produits de gestion courante'),(94,'PCG99-ABREGE','PROD','XXXXXX','753','75','Jetons de présence et rémunérations d\'administrateurs, gérants,...'),(95,'PCG99-ABREGE','PROD','XXXXXX','754','75','Ristournes perçues des coopératives'),(96,'PCG99-ABREGE','PROD','XXXXXX','755','75','Quotes-parts de résultat sur opérations faites en commun'),(97,'PCG99-ABREGE','PROD','XXXXXX','76','7','Produits financiers'),(98,'PCG99-ABREGE','PROD','XXXXXX','77','7','Produits exceptionnels'),(99,'PCG99-ABREGE','PROD','XXXXXX','781','7','Reprises sur amortissements et provisions'),(100,'PCG99-ABREGE','PROD','XXXXXX','786','7','Reprises sur provisions pour risques'),(101,'PCG99-ABREGE','PROD','XXXXXX','787','7','Reprises sur provisions'),(102,'PCG99-ABREGE','PROD','XXXXXX','79','7','Transferts de charges');
    3.48 +/*!40000 ALTER TABLE `llx_accountingaccount` ENABLE KEYS */;
    3.49 +UNLOCK TABLES;
    3.50 +
    3.51 +--
    3.52 +-- Table structure for table `llx_accountingdebcred`
    3.53 +--
    3.54 +
    3.55 +DROP TABLE IF EXISTS `llx_accountingdebcred`;
    3.56 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
    3.57 +/*!40101 SET character_set_client = utf8 */;
    3.58 +CREATE TABLE `llx_accountingdebcred` (
    3.59 +  `fk_transaction` int(11) NOT NULL,
    3.60 +  `account_number` varchar(20) NOT NULL,
    3.61 +  `amount` double NOT NULL,
    3.62 +  `direction` varchar(1) NOT NULL
    3.63 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    3.64 +/*!40101 SET character_set_client = @saved_cs_client */;
    3.65 +
    3.66 +--
    3.67 +-- Dumping data for table `llx_accountingdebcred`
    3.68 +--
    3.69 +
    3.70 +LOCK TABLES `llx_accountingdebcred` WRITE;
    3.71 +/*!40000 ALTER TABLE `llx_accountingdebcred` DISABLE KEYS */;
    3.72 +/*!40000 ALTER TABLE `llx_accountingdebcred` ENABLE KEYS */;
    3.73 +UNLOCK TABLES;
    3.74 +
    3.75 +--
    3.76 +-- Table structure for table `llx_accountingsystem`
    3.77 +--
    3.78 +
    3.79 +DROP TABLE IF EXISTS `llx_accountingsystem`;
    3.80 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
    3.81 +/*!40101 SET character_set_client = utf8 */;
    3.82 +CREATE TABLE `llx_accountingsystem` (
    3.83 +  `pcg_version` varchar(12) NOT NULL,
    3.84 +  `fk_pays` int(11) NOT NULL,
    3.85 +  `label` varchar(128) NOT NULL,
    3.86 +  `datec` varchar(12) NOT NULL,
    3.87 +  `fk_author` varchar(20) DEFAULT NULL,
    3.88 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    3.89 +  `active` smallint(6) DEFAULT '0',
    3.90 +  PRIMARY KEY (`pcg_version`)
    3.91 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    3.92 +/*!40101 SET character_set_client = @saved_cs_client */;
    3.93 +
    3.94 +--
    3.95 +-- Dumping data for table `llx_accountingsystem`
    3.96 +--
    3.97 +
    3.98 +LOCK TABLES `llx_accountingsystem` WRITE;
    3.99 +/*!40000 ALTER TABLE `llx_accountingsystem` DISABLE KEYS */;
   3.100 +INSERT INTO `llx_accountingsystem` VALUES ('PCG99-ABREGE',1,'The simple accountancy french plan','2011-07-03',NULL,'2011-07-03 17:32:38',0);
   3.101 +/*!40000 ALTER TABLE `llx_accountingsystem` ENABLE KEYS */;
   3.102 +UNLOCK TABLES;
   3.103 +
   3.104 +--
   3.105 +-- Table structure for table `llx_accountingtransaction`
   3.106 +--
   3.107 +
   3.108 +DROP TABLE IF EXISTS `llx_accountingtransaction`;
   3.109 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.110 +/*!40101 SET character_set_client = utf8 */;
   3.111 +CREATE TABLE `llx_accountingtransaction` (
   3.112 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.113 +  `label` varchar(128) NOT NULL,
   3.114 +  `datec` date NOT NULL,
   3.115 +  `fk_author` varchar(20) NOT NULL,
   3.116 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.117 +  `fk_source` int(11) NOT NULL,
   3.118 +  `sourcetype` varchar(16) NOT NULL,
   3.119 +  `url` varchar(255) DEFAULT NULL,
   3.120 +  PRIMARY KEY (`rowid`)
   3.121 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.122 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.123 +
   3.124 +--
   3.125 +-- Dumping data for table `llx_accountingtransaction`
   3.126 +--
   3.127 +
   3.128 +LOCK TABLES `llx_accountingtransaction` WRITE;
   3.129 +/*!40000 ALTER TABLE `llx_accountingtransaction` DISABLE KEYS */;
   3.130 +/*!40000 ALTER TABLE `llx_accountingtransaction` ENABLE KEYS */;
   3.131 +UNLOCK TABLES;
   3.132 +
   3.133 +--
   3.134 +-- Table structure for table `llx_actioncomm`
   3.135 +--
   3.136 +
   3.137 +DROP TABLE IF EXISTS `llx_actioncomm`;
   3.138 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.139 +/*!40101 SET character_set_client = utf8 */;
   3.140 +CREATE TABLE `llx_actioncomm` (
   3.141 +  `id` int(11) NOT NULL AUTO_INCREMENT,
   3.142 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.143 +  `datep` datetime DEFAULT NULL,
   3.144 +  `datep2` datetime DEFAULT NULL,
   3.145 +  `datea` datetime DEFAULT NULL,
   3.146 +  `datea2` datetime DEFAULT NULL,
   3.147 +  `fk_action` int(11) DEFAULT NULL,
   3.148 +  `label` varchar(128) NOT NULL,
   3.149 +  `datec` datetime DEFAULT NULL,
   3.150 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.151 +  `fk_user_author` int(11) DEFAULT NULL,
   3.152 +  `fk_user_mod` int(11) DEFAULT NULL,
   3.153 +  `fk_project` int(11) DEFAULT NULL,
   3.154 +  `fk_soc` int(11) DEFAULT NULL,
   3.155 +  `fk_contact` int(11) DEFAULT NULL,
   3.156 +  `fk_parent` int(11) NOT NULL DEFAULT '0',
   3.157 +  `fk_user_action` int(11) DEFAULT NULL,
   3.158 +  `fk_user_done` int(11) DEFAULT NULL,
   3.159 +  `priority` smallint(6) DEFAULT NULL,
   3.160 +  `fulldayevent` smallint(6) NOT NULL DEFAULT '0',
   3.161 +  `punctual` smallint(6) NOT NULL DEFAULT '1',
   3.162 +  `percent` smallint(6) NOT NULL DEFAULT '0',
   3.163 +  `location` varchar(128) DEFAULT NULL,
   3.164 +  `durationp` double DEFAULT NULL,
   3.165 +  `durationa` double DEFAULT NULL,
   3.166 +  `note` text,
   3.167 +  `fk_element` int(11) DEFAULT NULL,
   3.168 +  `elementtype` varchar(16) DEFAULT NULL,
   3.169 +  `propalrowid` int(11) DEFAULT NULL,
   3.170 +  `fk_commande` int(11) DEFAULT NULL,
   3.171 +  `fk_facture` int(11) DEFAULT NULL,
   3.172 +  `fk_contract` int(11) DEFAULT NULL,
   3.173 +  `fk_supplier_order` int(11) DEFAULT NULL,
   3.174 +  `fk_supplier_invoice` int(11) DEFAULT NULL,
   3.175 +  PRIMARY KEY (`id`),
   3.176 +  KEY `idx_actioncomm_datea` (`datea`),
   3.177 +  KEY `idx_actioncomm_fk_soc` (`fk_soc`),
   3.178 +  KEY `idx_actioncomm_fk_contact` (`fk_contact`)
   3.179 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.180 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.181 +
   3.182 +--
   3.183 +-- Dumping data for table `llx_actioncomm`
   3.184 +--
   3.185 +
   3.186 +LOCK TABLES `llx_actioncomm` WRITE;
   3.187 +/*!40000 ALTER TABLE `llx_actioncomm` DISABLE KEYS */;
   3.188 +/*!40000 ALTER TABLE `llx_actioncomm` ENABLE KEYS */;
   3.189 +UNLOCK TABLES;
   3.190 +
   3.191 +--
   3.192 +-- Table structure for table `llx_adherent`
   3.193 +--
   3.194 +
   3.195 +DROP TABLE IF EXISTS `llx_adherent`;
   3.196 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.197 +/*!40101 SET character_set_client = utf8 */;
   3.198 +CREATE TABLE `llx_adherent` (
   3.199 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.200 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.201 +  `ref_ext` varchar(30) DEFAULT NULL,
   3.202 +  `civilite` varchar(6) DEFAULT NULL,
   3.203 +  `nom` varchar(50) DEFAULT NULL,
   3.204 +  `prenom` varchar(50) DEFAULT NULL,
   3.205 +  `login` varchar(50) DEFAULT NULL,
   3.206 +  `pass` varchar(50) DEFAULT NULL,
   3.207 +  `fk_adherent_type` int(11) NOT NULL,
   3.208 +  `morphy` varchar(3) NOT NULL,
   3.209 +  `societe` varchar(50) DEFAULT NULL,
   3.210 +  `fk_soc` int(11) DEFAULT NULL,
   3.211 +  `adresse` text,
   3.212 +  `cp` varchar(30) DEFAULT NULL,
   3.213 +  `ville` varchar(50) DEFAULT NULL,
   3.214 +  `fk_departement` int(11) DEFAULT NULL,
   3.215 +  `pays` int(11) DEFAULT NULL,
   3.216 +  `email` varchar(255) DEFAULT NULL,
   3.217 +  `phone` varchar(30) DEFAULT NULL,
   3.218 +  `phone_perso` varchar(30) DEFAULT NULL,
   3.219 +  `phone_mobile` varchar(30) DEFAULT NULL,
   3.220 +  `naiss` date DEFAULT NULL,
   3.221 +  `photo` varchar(255) DEFAULT NULL,
   3.222 +  `statut` smallint(6) NOT NULL DEFAULT '0',
   3.223 +  `public` smallint(6) NOT NULL DEFAULT '0',
   3.224 +  `datefin` datetime DEFAULT NULL,
   3.225 +  `note` text,
   3.226 +  `datevalid` datetime DEFAULT NULL,
   3.227 +  `datec` datetime DEFAULT NULL,
   3.228 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.229 +  `fk_user_author` int(11) DEFAULT NULL,
   3.230 +  `fk_user_mod` int(11) DEFAULT NULL,
   3.231 +  `fk_user_valid` int(11) DEFAULT NULL,
   3.232 +  `import_key` varchar(14) DEFAULT NULL,
   3.233 +  PRIMARY KEY (`rowid`),
   3.234 +  UNIQUE KEY `uk_adherent_login` (`login`,`entity`),
   3.235 +  UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`),
   3.236 +  KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`)
   3.237 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.238 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.239 +
   3.240 +--
   3.241 +-- Dumping data for table `llx_adherent`
   3.242 +--
   3.243 +
   3.244 +LOCK TABLES `llx_adherent` WRITE;
   3.245 +/*!40000 ALTER TABLE `llx_adherent` DISABLE KEYS */;
   3.246 +/*!40000 ALTER TABLE `llx_adherent` ENABLE KEYS */;
   3.247 +UNLOCK TABLES;
   3.248 +
   3.249 +--
   3.250 +-- Table structure for table `llx_adherent_extrafields`
   3.251 +--
   3.252 +
   3.253 +DROP TABLE IF EXISTS `llx_adherent_extrafields`;
   3.254 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.255 +/*!40101 SET character_set_client = utf8 */;
   3.256 +CREATE TABLE `llx_adherent_extrafields` (
   3.257 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.258 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.259 +  `fk_object` int(11) NOT NULL,
   3.260 +  PRIMARY KEY (`rowid`),
   3.261 +  KEY `idx_adherent_options` (`fk_object`)
   3.262 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.263 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.264 +
   3.265 +--
   3.266 +-- Dumping data for table `llx_adherent_extrafields`
   3.267 +--
   3.268 +
   3.269 +LOCK TABLES `llx_adherent_extrafields` WRITE;
   3.270 +/*!40000 ALTER TABLE `llx_adherent_extrafields` DISABLE KEYS */;
   3.271 +/*!40000 ALTER TABLE `llx_adherent_extrafields` ENABLE KEYS */;
   3.272 +UNLOCK TABLES;
   3.273 +
   3.274 +--
   3.275 +-- Table structure for table `llx_adherent_type`
   3.276 +--
   3.277 +
   3.278 +DROP TABLE IF EXISTS `llx_adherent_type`;
   3.279 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.280 +/*!40101 SET character_set_client = utf8 */;
   3.281 +CREATE TABLE `llx_adherent_type` (
   3.282 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.283 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.284 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.285 +  `statut` smallint(6) NOT NULL DEFAULT '0',
   3.286 +  `libelle` varchar(50) NOT NULL,
   3.287 +  `cotisation` varchar(3) NOT NULL DEFAULT 'yes',
   3.288 +  `vote` varchar(3) NOT NULL DEFAULT 'yes',
   3.289 +  `note` text,
   3.290 +  `mail_valid` text,
   3.291 +  PRIMARY KEY (`rowid`),
   3.292 +  UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`)
   3.293 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.294 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.295 +
   3.296 +--
   3.297 +-- Dumping data for table `llx_adherent_type`
   3.298 +--
   3.299 +
   3.300 +LOCK TABLES `llx_adherent_type` WRITE;
   3.301 +/*!40000 ALTER TABLE `llx_adherent_type` DISABLE KEYS */;
   3.302 +/*!40000 ALTER TABLE `llx_adherent_type` ENABLE KEYS */;
   3.303 +UNLOCK TABLES;
   3.304 +
   3.305 +--
   3.306 +-- Table structure for table `llx_bank`
   3.307 +--
   3.308 +
   3.309 +DROP TABLE IF EXISTS `llx_bank`;
   3.310 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.311 +/*!40101 SET character_set_client = utf8 */;
   3.312 +CREATE TABLE `llx_bank` (
   3.313 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.314 +  `datec` datetime DEFAULT NULL,
   3.315 +  `datev` date DEFAULT NULL,
   3.316 +  `dateo` date DEFAULT NULL,
   3.317 +  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
   3.318 +  `label` varchar(255) DEFAULT NULL,
   3.319 +  `fk_account` int(11) DEFAULT NULL,
   3.320 +  `fk_user_author` int(11) DEFAULT NULL,
   3.321 +  `fk_user_rappro` int(11) DEFAULT NULL,
   3.322 +  `fk_type` varchar(6) DEFAULT NULL,
   3.323 +  `num_releve` varchar(50) DEFAULT NULL,
   3.324 +  `num_chq` varchar(50) DEFAULT NULL,
   3.325 +  `rappro` tinyint(4) DEFAULT '0',
   3.326 +  `note` text,
   3.327 +  `fk_bordereau` int(11) DEFAULT '0',
   3.328 +  `banque` varchar(255) DEFAULT NULL,
   3.329 +  `emetteur` varchar(255) DEFAULT NULL,
   3.330 +  `author` varchar(40) DEFAULT NULL,
   3.331 +  PRIMARY KEY (`rowid`),
   3.332 +  KEY `idx_bank_datev` (`datev`),
   3.333 +  KEY `idx_bank_dateo` (`dateo`),
   3.334 +  KEY `idx_bank_fk_account` (`fk_account`),
   3.335 +  KEY `idx_bank_rappro` (`rappro`)
   3.336 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.337 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.338 +
   3.339 +--
   3.340 +-- Dumping data for table `llx_bank`
   3.341 +--
   3.342 +
   3.343 +LOCK TABLES `llx_bank` WRITE;
   3.344 +/*!40000 ALTER TABLE `llx_bank` DISABLE KEYS */;
   3.345 +/*!40000 ALTER TABLE `llx_bank` ENABLE KEYS */;
   3.346 +UNLOCK TABLES;
   3.347 +
   3.348 +--
   3.349 +-- Table structure for table `llx_bank_account`
   3.350 +--
   3.351 +
   3.352 +DROP TABLE IF EXISTS `llx_bank_account`;
   3.353 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.354 +/*!40101 SET character_set_client = utf8 */;
   3.355 +CREATE TABLE `llx_bank_account` (
   3.356 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.357 +  `datec` datetime DEFAULT NULL,
   3.358 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.359 +  `ref` varchar(12) NOT NULL,
   3.360 +  `label` varchar(30) NOT NULL,
   3.361 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.362 +  `bank` varchar(60) DEFAULT NULL,
   3.363 +  `code_banque` varchar(7) DEFAULT NULL,
   3.364 +  `code_guichet` varchar(6) DEFAULT NULL,
   3.365 +  `number` varchar(255) DEFAULT NULL,
   3.366 +  `cle_rib` varchar(5) DEFAULT NULL,
   3.367 +  `bic` varchar(11) DEFAULT NULL,
   3.368 +  `iban_prefix` varchar(34) DEFAULT NULL,
   3.369 +  `country_iban` varchar(2) DEFAULT NULL,
   3.370 +  `cle_iban` varchar(2) DEFAULT NULL,
   3.371 +  `domiciliation` varchar(255) DEFAULT NULL,
   3.372 +  `fk_departement` int(11) DEFAULT NULL,
   3.373 +  `fk_pays` int(11) NOT NULL,
   3.374 +  `proprio` varchar(60) DEFAULT NULL,
   3.375 +  `adresse_proprio` varchar(255) DEFAULT NULL,
   3.376 +  `courant` smallint(6) NOT NULL DEFAULT '0',
   3.377 +  `clos` smallint(6) NOT NULL DEFAULT '0',
   3.378 +  `rappro` smallint(6) DEFAULT '1',
   3.379 +  `url` varchar(128) DEFAULT NULL,
   3.380 +  `account_number` varchar(8) DEFAULT NULL,
   3.381 +  `currency_code` varchar(3) NOT NULL,
   3.382 +  `min_allowed` int(11) DEFAULT '0',
   3.383 +  `min_desired` int(11) DEFAULT '0',
   3.384 +  `comment` text,
   3.385 +  PRIMARY KEY (`rowid`),
   3.386 +  UNIQUE KEY `uk_bank_account_label` (`label`,`entity`)
   3.387 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.388 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.389 +
   3.390 +--
   3.391 +-- Dumping data for table `llx_bank_account`
   3.392 +--
   3.393 +
   3.394 +LOCK TABLES `llx_bank_account` WRITE;
   3.395 +/*!40000 ALTER TABLE `llx_bank_account` DISABLE KEYS */;
   3.396 +/*!40000 ALTER TABLE `llx_bank_account` ENABLE KEYS */;
   3.397 +UNLOCK TABLES;
   3.398 +
   3.399 +--
   3.400 +-- Table structure for table `llx_bank_categ`
   3.401 +--
   3.402 +
   3.403 +DROP TABLE IF EXISTS `llx_bank_categ`;
   3.404 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.405 +/*!40101 SET character_set_client = utf8 */;
   3.406 +CREATE TABLE `llx_bank_categ` (
   3.407 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.408 +  `label` varchar(255) DEFAULT NULL,
   3.409 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.410 +  PRIMARY KEY (`rowid`)
   3.411 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.412 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.413 +
   3.414 +--
   3.415 +-- Dumping data for table `llx_bank_categ`
   3.416 +--
   3.417 +
   3.418 +LOCK TABLES `llx_bank_categ` WRITE;
   3.419 +/*!40000 ALTER TABLE `llx_bank_categ` DISABLE KEYS */;
   3.420 +/*!40000 ALTER TABLE `llx_bank_categ` ENABLE KEYS */;
   3.421 +UNLOCK TABLES;
   3.422 +
   3.423 +--
   3.424 +-- Table structure for table `llx_bank_class`
   3.425 +--
   3.426 +
   3.427 +DROP TABLE IF EXISTS `llx_bank_class`;
   3.428 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.429 +/*!40101 SET character_set_client = utf8 */;
   3.430 +CREATE TABLE `llx_bank_class` (
   3.431 +  `lineid` int(11) NOT NULL,
   3.432 +  `fk_categ` int(11) NOT NULL,
   3.433 +  UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`)
   3.434 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.435 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.436 +
   3.437 +--
   3.438 +-- Dumping data for table `llx_bank_class`
   3.439 +--
   3.440 +
   3.441 +LOCK TABLES `llx_bank_class` WRITE;
   3.442 +/*!40000 ALTER TABLE `llx_bank_class` DISABLE KEYS */;
   3.443 +/*!40000 ALTER TABLE `llx_bank_class` ENABLE KEYS */;
   3.444 +UNLOCK TABLES;
   3.445 +
   3.446 +--
   3.447 +-- Table structure for table `llx_bank_url`
   3.448 +--
   3.449 +
   3.450 +DROP TABLE IF EXISTS `llx_bank_url`;
   3.451 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.452 +/*!40101 SET character_set_client = utf8 */;
   3.453 +CREATE TABLE `llx_bank_url` (
   3.454 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.455 +  `fk_bank` int(11) DEFAULT NULL,
   3.456 +  `url_id` int(11) DEFAULT NULL,
   3.457 +  `url` varchar(255) DEFAULT NULL,
   3.458 +  `label` varchar(255) DEFAULT NULL,
   3.459 +  `type` varchar(20) NOT NULL,
   3.460 +  PRIMARY KEY (`rowid`),
   3.461 +  UNIQUE KEY `uk_bank_url` (`fk_bank`,`type`)
   3.462 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.463 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.464 +
   3.465 +--
   3.466 +-- Dumping data for table `llx_bank_url`
   3.467 +--
   3.468 +
   3.469 +LOCK TABLES `llx_bank_url` WRITE;
   3.470 +/*!40000 ALTER TABLE `llx_bank_url` DISABLE KEYS */;
   3.471 +/*!40000 ALTER TABLE `llx_bank_url` ENABLE KEYS */;
   3.472 +UNLOCK TABLES;
   3.473 +
   3.474 +--
   3.475 +-- Table structure for table `llx_bookmark`
   3.476 +--
   3.477 +
   3.478 +DROP TABLE IF EXISTS `llx_bookmark`;
   3.479 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.480 +/*!40101 SET character_set_client = utf8 */;
   3.481 +CREATE TABLE `llx_bookmark` (
   3.482 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.483 +  `fk_soc` int(11) DEFAULT NULL,
   3.484 +  `fk_user` int(11) NOT NULL,
   3.485 +  `dateb` datetime DEFAULT NULL,
   3.486 +  `url` varchar(128) NOT NULL,
   3.487 +  `target` varchar(16) DEFAULT NULL,
   3.488 +  `title` varchar(64) DEFAULT NULL,
   3.489 +  `favicon` varchar(24) DEFAULT NULL,
   3.490 +  `position` int(11) DEFAULT '0',
   3.491 +  PRIMARY KEY (`rowid`),
   3.492 +  UNIQUE KEY `uk_bookmark_url` (`fk_user`,`url`),
   3.493 +  UNIQUE KEY `uk_bookmark_title` (`fk_user`,`title`)
   3.494 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.495 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.496 +
   3.497 +--
   3.498 +-- Dumping data for table `llx_bookmark`
   3.499 +--
   3.500 +
   3.501 +LOCK TABLES `llx_bookmark` WRITE;
   3.502 +/*!40000 ALTER TABLE `llx_bookmark` DISABLE KEYS */;
   3.503 +/*!40000 ALTER TABLE `llx_bookmark` ENABLE KEYS */;
   3.504 +UNLOCK TABLES;
   3.505 +
   3.506 +--
   3.507 +-- Table structure for table `llx_bordereau_cheque`
   3.508 +--
   3.509 +
   3.510 +DROP TABLE IF EXISTS `llx_bordereau_cheque`;
   3.511 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.512 +/*!40101 SET character_set_client = utf8 */;
   3.513 +CREATE TABLE `llx_bordereau_cheque` (
   3.514 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.515 +  `datec` datetime NOT NULL,
   3.516 +  `date_bordereau` date DEFAULT NULL,
   3.517 +  `number` varchar(16) NOT NULL,
   3.518 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.519 +  `amount` double(24,8) NOT NULL,
   3.520 +  `nbcheque` smallint(6) NOT NULL,
   3.521 +  `fk_bank_account` int(11) DEFAULT NULL,
   3.522 +  `fk_user_author` int(11) DEFAULT NULL,
   3.523 +  `note` text,
   3.524 +  `statut` smallint(6) NOT NULL DEFAULT '0',
   3.525 +  PRIMARY KEY (`rowid`),
   3.526 +  UNIQUE KEY `uk_bordereau_cheque` (`number`,`entity`)
   3.527 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.528 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.529 +
   3.530 +--
   3.531 +-- Dumping data for table `llx_bordereau_cheque`
   3.532 +--
   3.533 +
   3.534 +LOCK TABLES `llx_bordereau_cheque` WRITE;
   3.535 +/*!40000 ALTER TABLE `llx_bordereau_cheque` DISABLE KEYS */;
   3.536 +/*!40000 ALTER TABLE `llx_bordereau_cheque` ENABLE KEYS */;
   3.537 +UNLOCK TABLES;
   3.538 +
   3.539 +--
   3.540 +-- Table structure for table `llx_boxes`
   3.541 +--
   3.542 +
   3.543 +DROP TABLE IF EXISTS `llx_boxes`;
   3.544 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.545 +/*!40101 SET character_set_client = utf8 */;
   3.546 +CREATE TABLE `llx_boxes` (
   3.547 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.548 +  `box_id` int(11) NOT NULL,
   3.549 +  `position` smallint(6) NOT NULL,
   3.550 +  `box_order` varchar(3) NOT NULL,
   3.551 +  `fk_user` int(11) NOT NULL DEFAULT '0',
   3.552 +  PRIMARY KEY (`rowid`),
   3.553 +  UNIQUE KEY `uk_boxes` (`box_id`,`position`,`fk_user`),
   3.554 +  KEY `idx_boxes_boxid` (`box_id`),
   3.555 +  KEY `idx_boxes_fk_user` (`fk_user`)
   3.556 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.557 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.558 +
   3.559 +--
   3.560 +-- Dumping data for table `llx_boxes`
   3.561 +--
   3.562 +
   3.563 +LOCK TABLES `llx_boxes` WRITE;
   3.564 +/*!40000 ALTER TABLE `llx_boxes` DISABLE KEYS */;
   3.565 +/*!40000 ALTER TABLE `llx_boxes` ENABLE KEYS */;
   3.566 +UNLOCK TABLES;
   3.567 +
   3.568 +--
   3.569 +-- Table structure for table `llx_boxes_def`
   3.570 +--
   3.571 +
   3.572 +DROP TABLE IF EXISTS `llx_boxes_def`;
   3.573 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.574 +/*!40101 SET character_set_client = utf8 */;
   3.575 +CREATE TABLE `llx_boxes_def` (
   3.576 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.577 +  `file` varchar(200) NOT NULL,
   3.578 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.579 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.580 +  `note` varchar(130) DEFAULT NULL,
   3.581 +  PRIMARY KEY (`rowid`),
   3.582 +  UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`)
   3.583 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.584 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.585 +
   3.586 +--
   3.587 +-- Dumping data for table `llx_boxes_def`
   3.588 +--
   3.589 +
   3.590 +LOCK TABLES `llx_boxes_def` WRITE;
   3.591 +/*!40000 ALTER TABLE `llx_boxes_def` DISABLE KEYS */;
   3.592 +/*!40000 ALTER TABLE `llx_boxes_def` ENABLE KEYS */;
   3.593 +UNLOCK TABLES;
   3.594 +
   3.595 +--
   3.596 +-- Table structure for table `llx_c_action_trigger`
   3.597 +--
   3.598 +
   3.599 +DROP TABLE IF EXISTS `llx_c_action_trigger`;
   3.600 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.601 +/*!40101 SET character_set_client = utf8 */;
   3.602 +CREATE TABLE `llx_c_action_trigger` (
   3.603 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.604 +  `code` varchar(32) NOT NULL,
   3.605 +  `label` varchar(128) NOT NULL,
   3.606 +  `description` varchar(255) DEFAULT NULL,
   3.607 +  `elementtype` varchar(16) NOT NULL,
   3.608 +  `rang` int(11) DEFAULT '0',
   3.609 +  PRIMARY KEY (`rowid`),
   3.610 +  UNIQUE KEY `uk_action_trigger_code` (`code`)
   3.611 +) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;
   3.612 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.613 +
   3.614 +--
   3.615 +-- Dumping data for table `llx_c_action_trigger`
   3.616 +--
   3.617 +
   3.618 +LOCK TABLES `llx_c_action_trigger` WRITE;
   3.619 +/*!40000 ALTER TABLE `llx_c_action_trigger` DISABLE KEYS */;
   3.620 +INSERT INTO `llx_c_action_trigger` VALUES (1,'FICHEINTER_VALIDATE','Validation fiche intervention','Executed when a intervention is validated','ficheinter',18),(2,'BILL_VALIDATE','Validation facture client','Executed when a customer invoice is approved','facture',6),(3,'ORDER_SUPPLIER_APPROVE','Approbation commande fournisseur','Executed when a supplier order is approved','order_supplier',11),(4,'ORDER_SUPPLIER_REFUSE','Refus commande fournisseur','Executed when a supplier order is refused','order_supplier',12),(5,'ORDER_VALIDATE','Validation commande client','Executed when a customer order is validated','commande',4),(6,'PROPAL_VALIDATE','Validation proposition client','Executed when a commercial proposal is validated','propal',2),(7,'WITHDRAW_TRANSMIT','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw',25),(8,'WITHDRAW_CREDIT','Créditer prélèvement','Executed when a withdrawal is credited','withdraw',26),(9,'WITHDRAW_EMIT','Emission prélèvement','Executed when a withdrawal is emited','withdraw',27),(10,'COMPANY_CREATE','Third party created','Executed when a third party is created','societe',1),(11,'CONTRACT_VALIDATE','Contract validated','Executed when a contract is validated','contrat',17),(12,'PROPAL_SENTBYMAIL','Commercial proposal sent by mail','Executed when a commercial proposal is sent by mail','propal',3),(13,'ORDER_SENTBYMAIL','Customer order sent by mail','Executed when a customer order is sent by mail ','commande',5),(14,'BILL_PAYED','Customer invoice payed','Executed when a customer invoice is payed','facture',7),(15,'BILL_CANCEL','Customer invoice canceled','Executed when a customer invoice is conceled','facture',8),(16,'BILL_SENTBYMAIL','Customer invoice sent by mail','Executed when a customer invoice is sent by mail','facture',9),(17,'ORDER_SUPPLIER_VALIDATE','Supplier order validated','Executed when a supplier order is validated','order_supplier',10),(18,'ORDER_SUPPLIER_SENTBYMAIL','Supplier order sent by mail','Executed when a supplier order is sent by mail','order_supplier',13),(19,'BILL_SUPPLIER_VALIDATE','Supplier invoice validated','Executed when a supplier invoice is validated','invoice_supplier',14),(20,'BILL_SUPPLIER_PAYED','Supplier invoice payed','Executed when a supplier invoice is payed','invoice_supplier',15),(21,'BILL_SUPPLIER_SENTBYMAIL','Supplier invoice sent by mail','Executed when a supplier invoice is sent by mail','invoice_supplier',16),(22,'SHIPPING_VALIDATE','Shipping validated','Executed when a shipping is validated','shipping',19),(23,'SHIPPING_SENTBYMAIL','Shipping sent by mail','Executed when a shipping is sent by mail','shipping',20),(24,'MEMBER_VALIDATE','Member validated','Executed when a member is validated','member',21),(25,'MEMBER_SUBSCRIPTION','Member subscribed','Executed when a member is subscribed','member',22),(26,'MEMBER_RESILIATE','Member resiliated','Executed when a member is resiliated','member',23),(27,'MEMBER_DELETE','Member deleted','Executed when a member is deleted','member',24);
   3.621 +/*!40000 ALTER TABLE `llx_c_action_trigger` ENABLE KEYS */;
   3.622 +UNLOCK TABLES;
   3.623 +
   3.624 +--
   3.625 +-- Table structure for table `llx_c_actioncomm`
   3.626 +--
   3.627 +
   3.628 +DROP TABLE IF EXISTS `llx_c_actioncomm`;
   3.629 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.630 +/*!40101 SET character_set_client = utf8 */;
   3.631 +CREATE TABLE `llx_c_actioncomm` (
   3.632 +  `id` int(11) NOT NULL,
   3.633 +  `code` varchar(12) NOT NULL,
   3.634 +  `type` varchar(10) NOT NULL DEFAULT 'system',
   3.635 +  `libelle` varchar(48) NOT NULL,
   3.636 +  `module` varchar(16) DEFAULT NULL,
   3.637 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.638 +  `todo` tinyint(4) DEFAULT NULL,
   3.639 +  `position` int(11) NOT NULL DEFAULT '0',
   3.640 +  PRIMARY KEY (`id`),
   3.641 +  UNIQUE KEY `code` (`code`)
   3.642 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.643 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.644 +
   3.645 +--
   3.646 +-- Dumping data for table `llx_c_actioncomm`
   3.647 +--
   3.648 +
   3.649 +LOCK TABLES `llx_c_actioncomm` WRITE;
   3.650 +/*!40000 ALTER TABLE `llx_c_actioncomm` DISABLE KEYS */;
   3.651 +INSERT INTO `llx_c_actioncomm` VALUES (1,'AC_TEL','system','Phone call',NULL,1,NULL,0),(2,'AC_FAX','system','Fax send',NULL,1,NULL,0),(3,'AC_PROP','system','Send commercial proposal by email','propal',1,NULL,0),(4,'AC_EMAIL','system','Send Email',NULL,1,NULL,0),(5,'AC_RDV','system','Rendez-vous',NULL,1,NULL,0),(8,'AC_COM','system','Send customer order by email','order',1,NULL,0),(9,'AC_FAC','system','Send customer invoice by email','invoice',1,NULL,0),(30,'AC_SUP_ORD','system','Send supplier order by email','order_supplier',1,NULL,0),(31,'AC_SUP_INV','system','Send supplier invoice by email','invoice_supplier',1,NULL,0),(50,'AC_OTH','system','Other',NULL,1,NULL,0),(10,'AC_SHIP','system','Send shipping by email','shipping',1,NULL,11);
   3.652 +/*!40000 ALTER TABLE `llx_c_actioncomm` ENABLE KEYS */;
   3.653 +UNLOCK TABLES;
   3.654 +
   3.655 +--
   3.656 +-- Table structure for table `llx_c_availability`
   3.657 +--
   3.658 +
   3.659 +DROP TABLE IF EXISTS `llx_c_availability`;
   3.660 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.661 +/*!40101 SET character_set_client = utf8 */;
   3.662 +CREATE TABLE `llx_c_availability` (
   3.663 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.664 +  `code` varchar(30) NOT NULL,
   3.665 +  `label` varchar(60) NOT NULL,
   3.666 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.667 +  PRIMARY KEY (`rowid`),
   3.668 +  UNIQUE KEY `uk_c_availability` (`code`)
   3.669 +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
   3.670 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.671 +
   3.672 +--
   3.673 +-- Dumping data for table `llx_c_availability`
   3.674 +--
   3.675 +
   3.676 +LOCK TABLES `llx_c_availability` WRITE;
   3.677 +/*!40000 ALTER TABLE `llx_c_availability` DISABLE KEYS */;
   3.678 +INSERT INTO `llx_c_availability` VALUES (1,'AV_NOW','Immediate',1),(2,'AV_1W','1 week',1),(3,'AV_2W','2 weeks',1),(4,'AV_3W','3 weeks',1);
   3.679 +/*!40000 ALTER TABLE `llx_c_availability` ENABLE KEYS */;
   3.680 +UNLOCK TABLES;
   3.681 +
   3.682 +--
   3.683 +-- Table structure for table `llx_c_barcode_type`
   3.684 +--
   3.685 +
   3.686 +DROP TABLE IF EXISTS `llx_c_barcode_type`;
   3.687 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.688 +/*!40101 SET character_set_client = utf8 */;
   3.689 +CREATE TABLE `llx_c_barcode_type` (
   3.690 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.691 +  `code` varchar(16) NOT NULL,
   3.692 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.693 +  `libelle` varchar(50) NOT NULL,
   3.694 +  `coder` varchar(16) NOT NULL,
   3.695 +  `example` varchar(16) NOT NULL,
   3.696 +  PRIMARY KEY (`rowid`)
   3.697 +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
   3.698 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.699 +
   3.700 +--
   3.701 +-- Dumping data for table `llx_c_barcode_type`
   3.702 +--
   3.703 +
   3.704 +LOCK TABLES `llx_c_barcode_type` WRITE;
   3.705 +/*!40000 ALTER TABLE `llx_c_barcode_type` DISABLE KEYS */;
   3.706 +INSERT INTO `llx_c_barcode_type` VALUES (1,'EAN8',1,'EAN8','0','1234567'),(2,'EAN13',1,'EAN13','0','123456789012'),(3,'UPC',1,'UPC','0','123456789012'),(4,'ISBN',1,'ISBN','0','123456789'),(5,'C39',1,'Code 39','0','1234567890'),(6,'C128',1,'Code 128','0','ABCD1234567890');
   3.707 +/*!40000 ALTER TABLE `llx_c_barcode_type` ENABLE KEYS */;
   3.708 +UNLOCK TABLES;
   3.709 +
   3.710 +--
   3.711 +-- Table structure for table `llx_c_chargesociales`
   3.712 +--
   3.713 +
   3.714 +DROP TABLE IF EXISTS `llx_c_chargesociales`;
   3.715 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.716 +/*!40101 SET character_set_client = utf8 */;
   3.717 +CREATE TABLE `llx_c_chargesociales` (
   3.718 +  `id` int(11) NOT NULL AUTO_INCREMENT,
   3.719 +  `libelle` varchar(80) DEFAULT NULL,
   3.720 +  `deductible` smallint(6) NOT NULL DEFAULT '0',
   3.721 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.722 +  `code` varchar(12) NOT NULL,
   3.723 +  `fk_pays` int(11) NOT NULL DEFAULT '1',
   3.724 +  `module` varchar(32) DEFAULT NULL,
   3.725 +  PRIMARY KEY (`id`)
   3.726 +) ENGINE=MyISAM AUTO_INCREMENT=231 DEFAULT CHARSET=utf8;
   3.727 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.728 +
   3.729 +--
   3.730 +-- Dumping data for table `llx_c_chargesociales`
   3.731 +--
   3.732 +
   3.733 +LOCK TABLES `llx_c_chargesociales` WRITE;
   3.734 +/*!40000 ALTER TABLE `llx_c_chargesociales` DISABLE KEYS */;
   3.735 +INSERT INTO `llx_c_chargesociales` VALUES (1,'Allocations familiales',1,1,'TAXFAM',1,NULL),(2,'CSG Deductible',1,1,'TAXCSGD',1,NULL),(3,'CSG/CRDS NON Deductible',0,1,'TAXCSGND',1,NULL),(10,'Taxe apprentissage',0,1,'TAXAPP',1,NULL),(11,'Taxe professionnelle',0,1,'TAXPRO',1,NULL),(20,'Impots locaux/fonciers',0,1,'TAXFON',1,NULL),(25,'Impots revenus',0,1,'TAXREV',1,NULL),(30,'Assurance Sante',0,1,'TAXSECU',1,NULL),(40,'Mutuelle',0,1,'TAXMUT',1,NULL),(50,'Assurance vieillesse',0,1,'TAXRET',1,NULL),(60,'Assurance Chomage',0,1,'TAXCHOM',1,NULL),(201,'ONSS',1,1,'TAXBEONSS',2,NULL),(210,'Precompte professionnel',1,1,'TAXBEPREPRO',2,NULL),(220,'Prime d\'existence',1,1,'TAXBEPRIEXI',2,NULL),(230,'Precompte immobilier',1,1,'TAXBEPREIMMO',2,NULL);
   3.736 +/*!40000 ALTER TABLE `llx_c_chargesociales` ENABLE KEYS */;
   3.737 +UNLOCK TABLES;
   3.738 +
   3.739 +--
   3.740 +-- Table structure for table `llx_c_civilite`
   3.741 +--
   3.742 +
   3.743 +DROP TABLE IF EXISTS `llx_c_civilite`;
   3.744 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.745 +/*!40101 SET character_set_client = utf8 */;
   3.746 +CREATE TABLE `llx_c_civilite` (
   3.747 +  `rowid` int(11) NOT NULL,
   3.748 +  `code` varchar(6) NOT NULL,
   3.749 +  `civilite` varchar(50) DEFAULT NULL,
   3.750 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.751 +  `module` varchar(32) DEFAULT NULL,
   3.752 +  PRIMARY KEY (`rowid`),
   3.753 +  UNIQUE KEY `code` (`code`)
   3.754 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.755 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.756 +
   3.757 +--
   3.758 +-- Dumping data for table `llx_c_civilite`
   3.759 +--
   3.760 +
   3.761 +LOCK TABLES `llx_c_civilite` WRITE;
   3.762 +/*!40000 ALTER TABLE `llx_c_civilite` DISABLE KEYS */;
   3.763 +INSERT INTO `llx_c_civilite` VALUES (1,'MME','Madame',1,NULL),(3,'MR','Monsieur',1,NULL),(5,'MLE','Mademoiselle',1,NULL),(7,'MTRE','Maître',1,NULL);
   3.764 +/*!40000 ALTER TABLE `llx_c_civilite` ENABLE KEYS */;
   3.765 +UNLOCK TABLES;
   3.766 +
   3.767 +--
   3.768 +-- Table structure for table `llx_c_currencies`
   3.769 +--
   3.770 +
   3.771 +DROP TABLE IF EXISTS `llx_c_currencies`;
   3.772 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.773 +/*!40101 SET character_set_client = utf8 */;
   3.774 +CREATE TABLE `llx_c_currencies` (
   3.775 +  `code` varchar(2) NOT NULL,
   3.776 +  `code_iso` varchar(3) NOT NULL,
   3.777 +  `label` varchar(64) DEFAULT NULL,
   3.778 +  `labelsing` varchar(64) DEFAULT NULL,
   3.779 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.780 +  PRIMARY KEY (`code`),
   3.781 +  UNIQUE KEY `uk_c_currencies_code_iso` (`code_iso`)
   3.782 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.783 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.784 +
   3.785 +--
   3.786 +-- Dumping data for table `llx_c_currencies`
   3.787 +--
   3.788 +
   3.789 +LOCK TABLES `llx_c_currencies` WRITE;
   3.790 +/*!40000 ALTER TABLE `llx_c_currencies` DISABLE KEYS */;
   3.791 +INSERT INTO `llx_c_currencies` VALUES ('BT','THB','Bath thailandais',NULL,1),('CD','DKK','Couronnes dannoises',NULL,1),('CN','NOK','Couronnes norvegiennes',NULL,1),('CS','SEK','Couronnes suedoises',NULL,1),('CZ','CZK','Couronnes tcheques',NULL,1),('TD','TND','Dinar tunisien',NULL,1),('DA','DZD','Dinar algérien',NULL,1),('DH','MAD','Dirham',NULL,1),('AD','AUD','Dollars australiens',NULL,1),('DC','CAD','Dollars canadiens',NULL,1),('HK','HKD','Dollars hong kong',NULL,1),('DS','SGD','Dollars singapour',NULL,1),('DU','USD','Dollars us',NULL,1),('EC','XEU','Ecus',NULL,1),('ES','PTE','Escudos',NULL,0),('FB','BEF','Francs belges',NULL,0),('FF','FRF','Francs francais',NULL,0),('FL','LUF','Francs luxembourgeois',NULL,0),('FO','NLG','Florins',NULL,1),('FS','CHF','Francs suisses',NULL,1),('LI','IEP','Livres irlandaises',NULL,1),('LR','ITL','Lires',NULL,0),('LS','GBP','Livres sterling',NULL,1),('MA','DEM','Deutsch mark',NULL,0),('MF','FIM','Mark finlandais',NULL,1),('MR','MRO','Ouguiya Mauritanien',NULL,1),('PA','ARP','Pesos argentins',NULL,1),('PC','CLP','Pesos chilien',NULL,1),('PE','ESP','Pesete',NULL,1),('PL','PLN','Zlotys polonais',NULL,1),('SA','ATS','Shiliing autrichiens',NULL,1),('TW','TWD','Dollar taiwanais',NULL,1),('YE','JPY','Yens',NULL,1),('ZA','ZAR','Rand africa',NULL,1),('DR','GRD','Drachme (grece)',NULL,1),('EU','EUR','Euros',NULL,1),('RB','BRL','Real bresilien',NULL,1),('SK','SKK','Couronnes slovaques',NULL,1),('YC','CNY','Yuang chinois',NULL,1),('AE','AED','Arabes emirats dirham',NULL,1),('CF','XAF','Francs cfa beac',NULL,1),('EG','EGP','Livre egyptienne',NULL,1),('KR','KRW','Won coree du sud',NULL,1),('NZ','NZD','Dollar neo-zelandais',NULL,1),('TR','TRL','Livre turque',NULL,1),('ID','IDR','Rupiahs d\'indonesie',NULL,1),('IN','INR','Roupie indienne',NULL,1),('LT','LTL','Litas',NULL,1),('RU','SUR','Rouble',NULL,1),('FH','HUF','Forint hongrois',NULL,1),('LK','LKR','Roupies sri lanka',NULL,1),('MU','MUR','Roupies mauritiennes',NULL,1),('SR','SAR','Saudi riyal',NULL,1),('LH','HNL','Lempiras',NULL,1),('MX','MXP','Pesos Mexicanos',NULL,1),('BD','BBD','Barbadian or Bajan Dollar',NULL,1);
   3.792 +/*!40000 ALTER TABLE `llx_c_currencies` ENABLE KEYS */;
   3.793 +UNLOCK TABLES;
   3.794 +
   3.795 +--
   3.796 +-- Table structure for table `llx_c_departements`
   3.797 +--
   3.798 +
   3.799 +DROP TABLE IF EXISTS `llx_c_departements`;
   3.800 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.801 +/*!40101 SET character_set_client = utf8 */;
   3.802 +CREATE TABLE `llx_c_departements` (
   3.803 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.804 +  `code_departement` varchar(6) NOT NULL,
   3.805 +  `fk_region` int(11) DEFAULT NULL,
   3.806 +  `cheflieu` varchar(50) DEFAULT NULL,
   3.807 +  `tncc` int(11) DEFAULT NULL,
   3.808 +  `ncc` varchar(50) DEFAULT NULL,
   3.809 +  `nom` varchar(50) DEFAULT NULL,
   3.810 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.811 +  PRIMARY KEY (`rowid`),
   3.812 +  UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`),
   3.813 +  KEY `idx_departements_fk_region` (`fk_region`)
   3.814 +) ENGINE=MyISAM AUTO_INCREMENT=583 DEFAULT CHARSET=utf8;
   3.815 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.816 +
   3.817 +--
   3.818 +-- Dumping data for table `llx_c_departements`
   3.819 +--
   3.820 +
   3.821 +LOCK TABLES `llx_c_departements` WRITE;
   3.822 +/*!40000 ALTER TABLE `llx_c_departements` DISABLE KEYS */;
   3.823 +INSERT INTO `llx_c_departements` VALUES (1,'0',0,'0',0,'-','-',1),(2,'01',82,'01053',5,'AIN','Ain',1),(3,'02',22,'02408',5,'AISNE','Aisne',1),(4,'03',83,'03190',5,'ALLIER','Allier',1),(5,'04',93,'04070',4,'ALPES-DE-HAUTE-PROVENCE','Alpes-de-Haute-Provence',1),(6,'05',93,'05061',4,'HAUTES-ALPES','Hautes-Alpes',1),(7,'06',93,'06088',4,'ALPES-MARITIMES','Alpes-Maritimes',1),(8,'07',82,'07186',5,'ARDECHE','Ardèche',1),(9,'08',21,'08105',4,'ARDENNES','Ardennes',1),(10,'09',73,'09122',5,'ARIEGE','Ariège',1),(11,'10',21,'10387',5,'AUBE','Aube',1),(12,'11',91,'11069',5,'AUDE','Aude',1),(13,'12',73,'12202',5,'AVEYRON','Aveyron',1),(14,'13',93,'13055',4,'BOUCHES-DU-RHONE','Bouches-du-Rhône',1),(15,'14',25,'14118',2,'CALVADOS','Calvados',1),(16,'15',83,'15014',2,'CANTAL','Cantal',1),(17,'16',54,'16015',3,'CHARENTE','Charente',1),(18,'17',54,'17300',3,'CHARENTE-MARITIME','Charente-Maritime',1),(19,'18',24,'18033',2,'CHER','Cher',1),(20,'19',74,'19272',3,'CORREZE','Corrèze',1),(21,'2A',94,'2A004',3,'CORSE-DU-SUD','Corse-du-Sud',1),(22,'2B',94,'2B033',3,'HAUTE-CORSE','Haute-Corse',1),(23,'21',26,'21231',3,'COTE-D\'OR','Côte-d\'Or',1),(24,'22',53,'22278',4,'COTES-D\'ARMOR','Côtes-d\'Armor',1),(25,'23',74,'23096',3,'CREUSE','Creuse',1),(26,'24',72,'24322',3,'DORDOGNE','Dordogne',1),(27,'25',43,'25056',2,'DOUBS','Doubs',1),(28,'26',82,'26362',3,'DROME','Drôme',1),(29,'27',23,'27229',5,'EURE','Eure',1),(30,'28',24,'28085',1,'EURE-ET-LOIR','Eure-et-Loir',1),(31,'29',53,'29232',2,'FINISTERE','Finistère',1),(32,'30',91,'30189',2,'GARD','Gard',1),(33,'31',73,'31555',3,'HAUTE-GARONNE','Haute-Garonne',1),(34,'32',73,'32013',2,'GERS','Gers',1),(35,'33',72,'33063',3,'GIRONDE','Gironde',1),(36,'34',91,'34172',5,'HERAULT','Hérault',1),(37,'35',53,'35238',1,'ILLE-ET-VILAINE','Ille-et-Vilaine',1),(38,'36',24,'36044',5,'INDRE','Indre',1),(39,'37',24,'37261',1,'INDRE-ET-LOIRE','Indre-et-Loire',1),(40,'38',82,'38185',5,'ISERE','Isère',1),(41,'39',43,'39300',2,'JURA','Jura',1),(42,'40',72,'40192',4,'LANDES','Landes',1),(43,'41',24,'41018',0,'LOIR-ET-CHER','Loir-et-Cher',1),(44,'42',82,'42218',3,'LOIRE','Loire',1),(45,'43',83,'43157',3,'HAUTE-LOIRE','Haute-Loire',1),(46,'44',52,'44109',3,'LOIRE-ATLANTIQUE','Loire-Atlantique',1),(47,'45',24,'45234',2,'LOIRET','Loiret',1),(48,'46',73,'46042',2,'LOT','Lot',1),(49,'47',72,'47001',0,'LOT-ET-GARONNE','Lot-et-Garonne',1),(50,'48',91,'48095',3,'LOZERE','Lozère',1),(51,'49',52,'49007',0,'MAINE-ET-LOIRE','Maine-et-Loire',1),(52,'50',25,'50502',3,'MANCHE','Manche',1),(53,'51',21,'51108',3,'MARNE','Marne',1),(54,'52',21,'52121',3,'HAUTE-MARNE','Haute-Marne',1),(55,'53',52,'53130',3,'MAYENNE','Mayenne',1),(56,'54',41,'54395',0,'MEURTHE-ET-MOSELLE','Meurthe-et-Moselle',1),(57,'55',41,'55029',3,'MEUSE','Meuse',1),(58,'56',53,'56260',2,'MORBIHAN','Morbihan',1),(59,'57',41,'57463',3,'MOSELLE','Moselle',1),(60,'58',26,'58194',3,'NIEVRE','Nièvre',1),(61,'59',31,'59350',2,'NORD','Nord',1),(62,'60',22,'60057',5,'OISE','Oise',1),(63,'61',25,'61001',5,'ORNE','Orne',1),(64,'62',31,'62041',2,'PAS-DE-CALAIS','Pas-de-Calais',1),(65,'63',83,'63113',2,'PUY-DE-DOME','Puy-de-Dôme',1),(66,'64',72,'64445',4,'PYRENEES-ATLANTIQUES','Pyrénées-Atlantiques',1),(67,'65',73,'65440',4,'HAUTES-PYRENEES','Hautes-Pyrénées',1),(68,'66',91,'66136',4,'PYRENEES-ORIENTALES','Pyrénées-Orientales',1),(69,'67',42,'67482',2,'BAS-RHIN','Bas-Rhin',1),(70,'68',42,'68066',2,'HAUT-RHIN','Haut-Rhin',1),(71,'69',82,'69123',2,'RHONE','Rhône',1),(72,'70',43,'70550',3,'HAUTE-SAONE','Haute-Saône',1),(73,'71',26,'71270',0,'SAONE-ET-LOIRE','Saône-et-Loire',1),(74,'72',52,'72181',3,'SARTHE','Sarthe',1),(75,'73',82,'73065',3,'SAVOIE','Savoie',1),(76,'74',82,'74010',3,'HAUTE-SAVOIE','Haute-Savoie',1),(77,'75',11,'75056',0,'PARIS','Paris',1),(78,'76',23,'76540',3,'SEINE-MARITIME','Seine-Maritime',1),(79,'77',11,'77288',0,'SEINE-ET-MARNE','Seine-et-Marne',1),(80,'78',11,'78646',4,'YVELINES','Yvelines',1),(81,'79',54,'79191',4,'DEUX-SEVRES','Deux-Sèvres',1),(82,'80',22,'80021',3,'SOMME','Somme',1),(83,'81',73,'81004',2,'TARN','Tarn',1),(84,'82',73,'82121',0,'TARN-ET-GARONNE','Tarn-et-Garonne',1),(85,'83',93,'83137',2,'VAR','Var',1),(86,'84',93,'84007',0,'VAUCLUSE','Vaucluse',1),(87,'85',52,'85191',3,'VENDEE','Vendée',1),(88,'86',54,'86194',3,'VIENNE','Vienne',1),(89,'87',74,'87085',3,'HAUTE-VIENNE','Haute-Vienne',1),(90,'88',41,'88160',4,'VOSGES','Vosges',1),(91,'89',26,'89024',5,'YONNE','Yonne',1),(92,'90',43,'90010',0,'TERRITOIRE DE BELFORT','Territoire de Belfort',1),(93,'91',11,'91228',5,'ESSONNE','Essonne',1),(94,'92',11,'92050',4,'HAUTS-DE-SEINE','Hauts-de-Seine',1),(95,'93',11,'93008',3,'SEINE-SAINT-DENIS','Seine-Saint-Denis',1),(96,'94',11,'94028',2,'VAL-DE-MARNE','Val-de-Marne',1),(97,'95',11,'95500',2,'VAL-D\'OISE','Val-d\'Oise',1),(98,'971',1,'97105',3,'GUADELOUPE','Guadeloupe',1),(99,'972',2,'97209',3,'MARTINIQUE','Martinique',1),(100,'973',3,'97302',3,'GUYANE','Guyane',1),(101,'974',4,'97411',3,'REUNION','Réunion',1),(102,'01',201,'',1,'ANVERS','Anvers',1),(103,'02',203,'',3,'BRUXELLES-CAPITALE','Bruxelles-Capitale',1),(104,'03',202,'',2,'BRABANT-WALLON','Brabant-Wallon',1),(105,'04',201,'',1,'BRABANT-FLAMAND','Brabant-Flamand',1),(106,'05',201,'',1,'FLANDRE-OCCIDENTALE','Flandre-Occidentale',1),(107,'06',201,'',1,'FLANDRE-ORIENTALE','Flandre-Orientale',1),(108,'07',202,'',2,'HAINAUT','Hainaut',1),(109,'08',201,'',2,'LIEGE','Liège',1),(110,'09',202,'',1,'LIMBOURG','Limbourg',1),(111,'10',202,'',2,'LUXEMBOURG','Luxembourg',1),(112,'11',201,'',2,'NAMUR','Namur',1),(113,'AG',315,NULL,NULL,NULL,'AGRIGENTO',1),(114,'AL',312,NULL,NULL,NULL,'ALESSANDRIA',1),(115,'AN',310,NULL,NULL,NULL,'ANCONA',1),(116,'AO',319,NULL,NULL,NULL,'AOSTA',1),(117,'AR',316,NULL,NULL,NULL,'AREZZO',1),(118,'AP',310,NULL,NULL,NULL,'ASCOLI PICENO',1),(119,'AT',312,NULL,NULL,NULL,'ASTI',1),(120,'AV',304,NULL,NULL,NULL,'AVELLINO',1),(121,'BA',313,NULL,NULL,NULL,'BARI',1),(122,'BT',313,NULL,NULL,NULL,'BARLETTA-ANDRIA-TRANI',1),(123,'BL',320,NULL,NULL,NULL,'BELLUNO',1),(124,'BN',304,NULL,NULL,NULL,'BENEVENTO',1),(125,'BG',309,NULL,NULL,NULL,'BERGAMO',1),(126,'BI',312,NULL,NULL,NULL,'BIELLA',1),(127,'BO',305,NULL,NULL,NULL,'BOLOGNA',1),(128,'BZ',317,NULL,NULL,NULL,'BOLZANO',1),(129,'BS',309,NULL,NULL,NULL,'BRESCIA',1),(130,'BR',313,NULL,NULL,NULL,'BRINDISI',1),(131,'CA',314,NULL,NULL,NULL,'CAGLIARI',1),(132,'CL',315,NULL,NULL,NULL,'CALTANISSETTA',1),(133,'CB',311,NULL,NULL,NULL,'CAMPOBASSO',1),(134,'CI',314,NULL,NULL,NULL,'CARBONIA-IGLESIAS',1),(135,'CE',304,NULL,NULL,NULL,'CASERTA',1),(136,'CT',315,NULL,NULL,NULL,'CATANIA',1),(137,'CZ',303,NULL,NULL,NULL,'CATANZARO',1),(138,'CH',301,NULL,NULL,NULL,'CHIETI',1),(139,'CO',309,NULL,NULL,NULL,'COMO',1),(140,'CS',303,NULL,NULL,NULL,'COSENZA',1),(141,'CR',309,NULL,NULL,NULL,'CREMONA',1),(142,'KR',303,NULL,NULL,NULL,'CROTONE',1),(143,'CN',312,NULL,NULL,NULL,'CUNEO',1),(144,'EN',315,NULL,NULL,NULL,'ENNA',1),(145,'FM',310,NULL,NULL,NULL,'FERMO',1),(146,'FE',305,NULL,NULL,NULL,'FERRARA',1),(147,'FI',316,NULL,NULL,NULL,'FIRENZE',1),(148,'FG',313,NULL,NULL,NULL,'FOGGIA',1),(149,'FC',305,NULL,NULL,NULL,'FORLI-CESENA',1),(150,'FR',307,NULL,NULL,NULL,'FROSINONE',1),(151,'GE',308,NULL,NULL,NULL,'GENOVA',1),(152,'GO',306,NULL,NULL,NULL,'GORIZIA',1),(153,'GR',316,NULL,NULL,NULL,'GROSSETO',1),(154,'IM',308,NULL,NULL,NULL,'IMPERIA',1),(155,'IS',311,NULL,NULL,NULL,'ISERNIA',1),(156,'SP',308,NULL,NULL,NULL,'LA SPEZIA',1),(157,'AQ',301,NULL,NULL,NULL,'L AQUILA',1),(158,'LT',307,NULL,NULL,NULL,'LATINA',1),(159,'LE',313,NULL,NULL,NULL,'LECCE',1),(160,'LC',309,NULL,NULL,NULL,'LECCO',1),(161,'LI',314,NULL,NULL,NULL,'LIVORNO',1),(162,'LO',309,NULL,NULL,NULL,'LODI',1),(163,'LU',316,NULL,NULL,NULL,'LUCCA',1),(164,'MC',310,NULL,NULL,NULL,'MACERATA',1),(165,'MN',309,NULL,NULL,NULL,'MANTOVA',1),(166,'MS',316,NULL,NULL,NULL,'MASSA-CARRARA',1),(167,'MT',302,NULL,NULL,NULL,'MATERA',1),(168,'VS',314,NULL,NULL,NULL,'MEDIO CAMPIDANO',1),(169,'ME',315,NULL,NULL,NULL,'MESSINA',1),(170,'MI',309,NULL,NULL,NULL,'MILANO',1),(171,'MB',309,NULL,NULL,NULL,'MONZA e BRIANZA',1),(172,'MO',305,NULL,NULL,NULL,'MODENA',1),(173,'NA',304,NULL,NULL,NULL,'NAPOLI',1),(174,'NO',312,NULL,NULL,NULL,'NOVARA',1),(175,'NU',314,NULL,NULL,NULL,'NUORO',1),(176,'OG',314,NULL,NULL,NULL,'OGLIASTRA',1),(177,'OT',314,NULL,NULL,NULL,'OLBIA-TEMPIO',1),(178,'OR',314,NULL,NULL,NULL,'ORISTANO',1),(179,'PD',320,NULL,NULL,NULL,'PADOVA',1),(180,'PA',315,NULL,NULL,NULL,'PALERMO',1),(181,'PR',305,NULL,NULL,NULL,'PARMA',1),(182,'PV',309,NULL,NULL,NULL,'PAVIA',1),(183,'PG',318,NULL,NULL,NULL,'PERUGIA',1),(184,'PU',310,NULL,NULL,NULL,'PESARO e URBINO',1),(185,'PE',301,NULL,NULL,NULL,'PESCARA',1),(186,'PC',305,NULL,NULL,NULL,'PIACENZA',1),(187,'PI',316,NULL,NULL,NULL,'PISA',1),(188,'PT',316,NULL,NULL,NULL,'PISTOIA',1),(189,'PN',306,NULL,NULL,NULL,'PORDENONE',1),(190,'PZ',302,NULL,NULL,NULL,'POTENZA',1),(191,'PO',316,NULL,NULL,NULL,'PRATO',1),(192,'RG',315,NULL,NULL,NULL,'RAGUSA',1),(193,'RA',305,NULL,NULL,NULL,'RAVENNA',1),(194,'RC',303,NULL,NULL,NULL,'REGGIO CALABRIA',1),(195,'RE',305,NULL,NULL,NULL,'REGGIO NELL EMILIA',1),(196,'RI',307,NULL,NULL,NULL,'RIETI',1),(197,'RN',305,NULL,NULL,NULL,'RIMINI',1),(198,'RM',307,NULL,NULL,NULL,'ROMA',1),(199,'RO',320,NULL,NULL,NULL,'ROVIGO',1),(200,'SA',304,NULL,NULL,NULL,'SALERNO',1),(201,'SS',314,NULL,NULL,NULL,'SASSARI',1),(202,'SV',308,NULL,NULL,NULL,'SAVONA',1),(203,'SI',316,NULL,NULL,NULL,'SIENA',1),(204,'SR',315,NULL,NULL,NULL,'SIRACUSA',1),(205,'SO',309,NULL,NULL,NULL,'SONDRIO',1),(206,'TA',313,NULL,NULL,NULL,'TARANTO',1),(207,'TE',301,NULL,NULL,NULL,'TERAMO',1),(208,'TR',318,NULL,NULL,NULL,'TERNI',1),(209,'TO',312,NULL,NULL,NULL,'TORINO',1),(210,'TP',315,NULL,NULL,NULL,'TRAPANI',1),(211,'TN',317,NULL,NULL,NULL,'TRENTO',1),(212,'TV',320,NULL,NULL,NULL,'TREVISO',1),(213,'TS',306,NULL,NULL,NULL,'TRIESTE',1),(214,'UD',306,NULL,NULL,NULL,'UDINE',1),(215,'VA',309,NULL,NULL,NULL,'VARESE',1),(216,'VE',320,NULL,NULL,NULL,'VENEZIA',1),(217,'VB',312,NULL,NULL,NULL,'VERBANO-CUSIO-OSSOLA',1),(218,'VC',312,NULL,NULL,NULL,'VERCELLI',1),(219,'VR',320,NULL,NULL,NULL,'VERONA',1),(220,'VV',303,NULL,NULL,NULL,'VIBO VALENTIA',1),(221,'VI',320,NULL,NULL,NULL,'VICENZA',1),(222,'VT',307,NULL,NULL,NULL,'VITERBO',1),(223,'NSW',2801,'',1,'','New South Wales',1),(224,'VIC',2801,'',1,'','Victoria',1),(225,'QLD',2801,'',1,'','Queensland',1),(226,'SA',2801,'',1,'','South Australia',1),(227,'ACT',2801,'',1,'','Australia Capital Territory',1),(228,'TAS',2801,'',1,'','Tasmania',1),(229,'WA',2801,'',1,'','Western Australia',1),(230,'NT',2801,'',1,'','Northern Territory',1),(231,'01',419,'',19,'PAIS VASCO','País Vasco',1),(232,'02',404,'',4,'ALBACETE','Albacete',1),(233,'03',411,'',11,'ALICANTE','Alicante',1),(234,'04',401,'',1,'ALMERIA','Almería',1),(235,'05',403,'',3,'AVILA','Avila',1),(236,'06',412,'',12,'BADAJOZ','Badajoz',1),(237,'07',414,'',14,'ISLAS BALEARES','Islas Baleares',1),(238,'08',406,'',6,'BARCELONA','Barcelona',1),(239,'09',403,'',8,'BURGOS','Burgos',1),(240,'10',412,'',12,'CACERES','Cáceres',1),(241,'11',401,'',1,'CADIz','Cádiz',1),(242,'12',411,'',11,'CASTELLON','Castellón',1),(243,'13',404,'',4,'CIUDAD REAL','Ciudad Real',1),(244,'14',401,'',1,'CORDOBA','Córdoba',1),(245,'15',413,'',13,'LA CORUÑA','La Coruña',1),(246,'16',404,'',4,'CUENCA','Cuenca',1),(247,'17',406,'',6,'GERONA','Gerona',1),(248,'18',401,'',1,'GRANADA','Granada',1),(249,'19',404,'',4,'GUADALAJARA','Guadalajara',1),(250,'20',419,'',19,'GUIPUZCOA','Guipúzcoa',1),(251,'21',401,'',1,'HUELVA','Huelva',1),(252,'22',402,'',2,'HUESCA','Huesca',1),(253,'23',401,'',1,'JAEN','Jaén',1),(254,'24',403,'',3,'LEON','León',1),(255,'25',406,'',6,'LERIDA','Lérida',1),(256,'26',415,'',15,'LA RIOJA','La Rioja',1),(257,'27',413,'',13,'LUGO','Lugo',1),(258,'28',416,'',16,'MADRID','Madrid',1),(259,'29',401,'',1,'MALAGA','Málaga',1),(260,'30',417,'',17,'MURCIA','Murcia',1),(261,'31',408,'',8,'NAVARRA','Navarra',1),(262,'32',413,'',13,'ORENSE','Orense',1),(263,'33',418,'',18,'ASTURIAS','Asturias',1),(264,'34',403,'',3,'PALENCIA','Palencia',1),(265,'35',405,'',5,'LAS PALMAS','Las Palmas',1),(266,'36',413,'',13,'PONTEVEDRA','Pontevedra',1),(267,'37',403,'',3,'SALAMANCA','Salamanca',1),(268,'38',405,'',5,'STA. CRUZ DE TENERIFE','Sta. Cruz de Tenerife',1),(269,'39',410,'',10,'CANTABRIA','Cantabria',1),(270,'40',403,'',3,'SEGOVIA','Segovia',1),(271,'41',401,'',1,'SEVILLA','Sevilla',1),(272,'42',403,'',3,'SORIA','Soria',1),(273,'43',406,'',6,'TARRAGONA','Tarragona',1),(274,'44',402,'',2,'TERUEL','Teruel',1),(275,'45',404,'',5,'TOLEDO','Toledo',1),(276,'46',411,'',11,'VALENCIA','Valencia',1),(277,'47',403,'',3,'VALLADOLID','Valladolid',1),(278,'48',419,'',19,'VIZCAYA','Vizcaya',1),(279,'49',403,'',3,'ZAMORA','Zamora',1),(280,'50',402,'',1,'ZARAGOZA','Zaragoza',1),(281,'51',407,'',7,'CEUTA','Ceuta',1),(282,'52',409,'',9,'MELILLA','Melilla',1),(283,'53',420,'',20,'OTROS','Otros',1),(284,'AG',601,NULL,NULL,'ARGOVIE','Argovie',1),(285,'AI',601,NULL,NULL,'APPENZELL RHODES INTERIEURES','Appenzell Rhodes intérieures',1),(286,'AR',601,NULL,NULL,'APPENZELL RHODES EXTERIEURES','Appenzell Rhodes extérieures',1),(287,'BE',601,NULL,NULL,'BERNE','Berne',1),(288,'BL',601,NULL,NULL,'BALE CAMPAGNE','Bâle Campagne',1),(289,'BS',601,NULL,NULL,'BALE VILLE','Bâle Ville',1),(290,'FR',601,NULL,NULL,'FRIBOURG','Fribourg',1),(291,'GE',601,NULL,NULL,'GENEVE','Genève',1),(292,'GL',601,NULL,NULL,'GLARIS','Glaris',1),(293,'GR',601,NULL,NULL,'GRISONS','Grisons',1),(294,'JU',601,NULL,NULL,'JURA','Jura',1),(295,'LU',601,NULL,NULL,'LUCERNE','Lucerne',1),(296,'NE',601,NULL,NULL,'NEUCHATEL','Neuchâtel',1),(297,'NW',601,NULL,NULL,'NIDWALD','Nidwald',1),(298,'OW',601,NULL,NULL,'OBWALD','Obwald',1),(299,'SG',601,NULL,NULL,'SAINT-GALL','Saint-Gall',1),(300,'SH',601,NULL,NULL,'SCHAFFHOUSE','Schaffhouse',1),(301,'SO',601,NULL,NULL,'SOLEURE','Soleure',1),(302,'SZ',601,NULL,NULL,'SCHWYZ','Schwyz',1),(303,'TG',601,NULL,NULL,'THURGOVIE','Thurgovie',1),(304,'TI',601,NULL,NULL,'TESSIN','Tessin',1),(305,'UR',601,NULL,NULL,'URI','Uri',1),(306,'VD',601,NULL,NULL,'VAUD','Vaud',1),(307,'VS',601,NULL,NULL,'VALAIS','Valais',1),(308,'ZG',601,NULL,NULL,'ZUG','Zug',1),(309,'ZH',601,NULL,NULL,'ZURICH','Zürich',1),(310,'AL',1101,'',0,'ALABAMA','Alabama',1),(311,'AK',1101,'',0,'ALASKA','Alaska',1),(312,'AZ',1101,'',0,'ARIZONA','Arizona',1),(313,'AR',1101,'',0,'ARKANSAS','Arkansas',1),(314,'CA',1101,'',0,'CALIFORNIA','California',1),(315,'CO',1101,'',0,'COLORADO','Colorado',1),(316,'CT',1101,'',0,'CONNECTICUT','Connecticut',1),(317,'DE',1101,'',0,'DELAWARE','Delaware',1),(318,'FL',1101,'',0,'FLORIDA','Florida',1),(319,'GA',1101,'',0,'GEORGIA','Georgia',1),(320,'HI',1101,'',0,'HAWAII','Hawaii',1),(321,'ID',1101,'',0,'IDAHO','Idaho',1),(322,'IL',1101,'',0,'ILLINOIS','Illinois',1),(323,'IN',1101,'',0,'INDIANA','Indiana',1),(324,'IA',1101,'',0,'IOWA','Iowa',1),(325,'KS',1101,'',0,'KANSAS','Kansas',1),(326,'KY',1101,'',0,'KENTUCKY','Kentucky',1),(327,'LA',1101,'',0,'LOUISIANA','Louisiana',1),(328,'ME',1101,'',0,'MAINE','Maine',1),(329,'MD',1101,'',0,'MARYLAND','Maryland',1),(330,'MA',1101,'',0,'MASSACHUSSETTS','Massachusetts',1),(331,'MI',1101,'',0,'MICHIGAN','Michigan',1),(332,'MN',1101,'',0,'MINNESOTA','Minnesota',1),(333,'MS',1101,'',0,'MISSISSIPPI','Mississippi',1),(334,'MO',1101,'',0,'MISSOURI','Missouri',1),(335,'MT',1101,'',0,'MONTANA','Montana',1),(336,'NE',1101,'',0,'NEBRASKA','Nebraska',1),(337,'NV',1101,'',0,'NEVADA','Nevada',1),(338,'NH',1101,'',0,'NEW HAMPSHIRE','New Hampshire',1),(339,'NJ',1101,'',0,'NEW JERSEY','New Jersey',1),(340,'NM',1101,'',0,'NEW MEXICO','New Mexico',1),(341,'NY',1101,'',0,'NEW YORK','New York',1),(342,'NC',1101,'',0,'NORTH CAROLINA','North Carolina',1),(343,'ND',1101,'',0,'NORTH DAKOTA','North Dakota',1),(344,'OH',1101,'',0,'OHIO','Ohio',1),(345,'OK',1101,'',0,'OKLAHOMA','Oklahoma',1),(346,'OR',1101,'',0,'OREGON','Oregon',1),(347,'PA',1101,'',0,'PENNSYLVANIA','Pennsylvania',1),(348,'RI',1101,'',0,'RHODE ISLAND','Rhode Island',1),(349,'SC',1101,'',0,'SOUTH CAROLINA','South Carolina',1),(350,'SD',1101,'',0,'SOUTH DAKOTA','South Dakota',1),(351,'TN',1101,'',0,'TENNESSEE','Tennessee',1),(352,'TX',1101,'',0,'TEXAS','Texas',1),(353,'UT',1101,'',0,'UTAH','Utah',1),(354,'VT',1101,'',0,'VERMONT','Vermont',1),(355,'VA',1101,'',0,'VIRGINIA','Virginia',1),(356,'WA',1101,'',0,'WASHINGTON','Washington',1),(357,'WV',1101,'',0,'WEST VIRGINIA','West Virginia',1),(358,'WI',1101,'',0,'WISCONSIN','Wisconsin',1),(359,'WY',1101,'',0,'WYOMING','Wyoming',1),(360,'SS',8601,NULL,NULL,NULL,'San Salvador',1),(361,'SA',8603,NULL,NULL,NULL,'Santa Ana',1),(362,'AH',8603,NULL,NULL,NULL,'Ahuachapan',1),(363,'SO',8603,NULL,NULL,NULL,'Sonsonate',1),(364,'US',8602,NULL,NULL,NULL,'Usulutan',1),(365,'SM',8602,NULL,NULL,NULL,'San Miguel',1),(366,'MO',8602,NULL,NULL,NULL,'Morazan',1),(367,'LU',8602,NULL,NULL,NULL,'La Union',1),(368,'LL',8601,NULL,NULL,NULL,'La Libertad',1),(369,'CH',8601,NULL,NULL,NULL,'Chalatenango',1),(370,'CA',8601,NULL,NULL,NULL,'Cabañas',1),(371,'LP',8601,NULL,NULL,NULL,'La Paz',1),(372,'SV',8601,NULL,NULL,NULL,'San Vicente',1),(373,'CU',8601,NULL,NULL,NULL,'Cuscatlan',1),(374,'2301',2301,'',0,'CATAMARCA','Catamarca',1),(375,'2302',2301,'',0,'YUJUY','Yujuy',1),(376,'2303',2301,'',0,'TUCAMAN','Tucamán',1),(377,'2304',2301,'',0,'SANTIAGO DEL ESTERO','Santiago del Estero',1),(378,'2305',2301,'',0,'SALTA','Salta',1),(379,'2306',2302,'',0,'CHACO','Chaco',1),(380,'2307',2302,'',0,'CORRIENTES','Corrientes',1),(381,'2308',2302,'',0,'ENTRE RIOS','Entre Ríos',1),(382,'2309',2302,'',0,'FORMOSA MISIONES','Formosa Misiones',1),(383,'2310',2302,'',0,'SANTA FE','Santa Fe',1),(384,'2311',2303,'',0,'LA RIOJA','La Rioja',1),(385,'2312',2303,'',0,'MENDOZA','Mendoza',1),(386,'2313',2303,'',0,'SAN JUAN','San Juan',1),(387,'2314',2303,'',0,'SAN LUIS','San Luis',1),(388,'2315',2304,'',0,'CORDOBA','Córdoba',1),(389,'2316',2304,'',0,'BUENOS AIRES','Buenos Aires',1),(390,'2317',2304,'',0,'CABA','Caba',1),(391,'2318',2305,'',0,'LA PAMPA','La Pampa',1),(392,'2319',2305,'',0,'NEUQUEN','Neuquén',1),(393,'2320',2305,'',0,'RIO NEGRO','Río Negro',1),(394,'2321',2305,'',0,'CHUBUT','Chubut',1),(395,'2322',2305,'',0,'SANTA CRUZ','Santa Cruz',1),(396,'2323',2305,'',0,'TIERRA DEL FUEGO','Tierra del Fuego',1),(397,'2324',2305,'',0,'ISLAS MALVINAS','Islas Malvinas',1),(398,'2325',2305,'',0,'ANTARTIDA','Antártida',1),(399,'AN',11701,NULL,0,'AN','Andaman & Nicobar',1),(400,'AP',11701,NULL,0,'AP','Andhra Pradesh',1),(401,'AR',11701,NULL,0,'AR','Arunachal Pradesh',1),(402,'AS',11701,NULL,0,'AS','Assam',1),(403,'BR',11701,NULL,0,'BR','Bihar',1),(404,'CG',11701,NULL,0,'CG','Chattisgarh',1),(405,'CH',11701,NULL,0,'CH','Chandigarh',1),(406,'DD',11701,NULL,0,'DD','Daman & Diu',1),(407,'DL',11701,NULL,0,'DL','Delhi',1),(408,'DN',11701,NULL,0,'DN','Dadra and Nagar Haveli',1),(409,'GA',11701,NULL,0,'GA','Goa',1),(410,'GJ',11701,NULL,0,'GJ','Gujarat',1),(411,'HP',11701,NULL,0,'HP','Himachal Pradesh',1),(412,'HR',11701,NULL,0,'HR','Haryana',1),(413,'JH',11701,NULL,0,'JH','Jharkhand',1),(414,'JK',11701,NULL,0,'JK','Jammu & Kashmir',1),(415,'KA',11701,NULL,0,'KA','Karnataka',1),(416,'KL',11701,NULL,0,'KL','Kerala',1),(417,'LD',11701,NULL,0,'LD','Lakshadweep',1),(418,'MH',11701,NULL,0,'MH','Maharashtra',1),(419,'ML',11701,NULL,0,'ML','Meghalaya',1),(420,'MN',11701,NULL,0,'MN','Manipur',1),(421,'MP',11701,NULL,0,'MP','Madhya Pradesh',1),(422,'MZ',11701,NULL,0,'MZ','Mizoram',1),(423,'NL',11701,NULL,0,'NL','Nagaland',1),(424,'OR',11701,NULL,0,'OR','Orissa',1),(425,'PB',11701,NULL,0,'PB','Punjab',1),(426,'PY',11701,NULL,0,'PY','Puducherry',1),(427,'RJ',11701,NULL,0,'RJ','Rajasthan',1),(428,'SK',11701,NULL,0,'SK','Sikkim',1),(429,'TN',11701,NULL,0,'TN','Tamil Nadu',1),(430,'TR',11701,NULL,0,'TR','Tripura',1),(431,'UL',11701,NULL,0,'UL','Uttarakhand',1),(432,'UP',11701,NULL,0,'UP','Uttar Pradesh',1),(433,'WB',11701,NULL,0,'WB','West Bengal',1),(434,'151',6715,'',0,'151','Arica',1),(435,'152',6715,'',0,'152','Parinacota',1),(436,'011',6701,'',0,'011','Iquique',1),(437,'014',6701,'',0,'014','Tamarugal',1),(438,'021',6702,'',0,'021','Antofagasa',1),(439,'022',6702,'',0,'022','El Loa',1),(440,'023',6702,'',0,'023','Tocopilla',1),(441,'031',6703,'',0,'031','Copiapó',1),(442,'032',6703,'',0,'032','Chañaral',1),(443,'033',6703,'',0,'033','Huasco',1),(444,'041',6704,'',0,'041','Elqui',1),(445,'042',6704,'',0,'042','Choapa',1),(446,'043',6704,'',0,'043','Limarí',1),(447,'051',6705,'',0,'051','Valparaíso',1),(448,'052',6705,'',0,'052','Isla de Pascua',1),(449,'053',6705,'',0,'053','Los Andes',1),(450,'054',6705,'',0,'054','Petorca',1),(451,'055',6705,'',0,'055','Quillota',1),(452,'056',6705,'',0,'056','San Antonio',1),(453,'057',6705,'',0,'057','San Felipe de Aconcagua',1),(454,'058',6705,'',0,'058','Marga Marga',1),(455,'061',6706,'',0,'061','Cachapoal',1),(456,'062',6706,'',0,'062','Cardenal Caro',1),(457,'063',6706,'',0,'063','Colchagua',1),(458,'071',6707,'',0,'071','Talca',1),(459,'072',6707,'',0,'072','Cauquenes',1),(460,'073',6707,'',0,'073','Curicó',1),(461,'074',6707,'',0,'074','Linares',1),(462,'081',6708,'',0,'081','Concepción',1),(463,'082',6708,'',0,'082','Arauco',1),(464,'083',6708,'',0,'083','Biobío',1),(465,'084',6708,'',0,'084','Ñuble',1),(466,'091',6709,'',0,'091','Cautín',1),(467,'092',6709,'',0,'092','Malleco',1),(468,'141',6714,'',0,'141','Valdivia',1),(469,'142',6714,'',0,'142','Ranco',1),(470,'101',6710,'',0,'101','Llanquihue',1),(471,'102',6710,'',0,'102','Chiloé',1),(472,'103',6710,'',0,'103','Osorno',1),(473,'104',6710,'',0,'104','Palena',1),(474,'111',6711,'',0,'111','Coihaique',1),(475,'112',6711,'',0,'112','Aisén',1),(476,'113',6711,'',0,'113','Capitán Prat',1),(477,'114',6711,'',0,'114','General Carrera',1),(478,'121',6712,'',0,'121','Magallanes',1),(479,'122',6712,'',0,'122','Antártica Chilena',1),(480,'123',6712,'',0,'123','Tierra del Fuego',1),(481,'124',6712,'',0,'124','Última Esperanza',1),(482,'131',6713,'',0,'131','Santiago',1),(483,'132',6713,'',0,'132','Cordillera',1),(484,'133',6713,'',0,'133','Chacabuco',1),(485,'134',6713,'',0,'134','Maipo',1),(486,'135',6713,'',0,'135','Melipilla',1),(487,'136',6713,'',0,'136','Talagante',1),(488,'DIF',15401,'',0,'DIF','Distrito Federal',1),(489,'AGS',15401,'',0,'AGS','Aguascalientes',1),(490,'BCN',15401,'',0,'BCN','Baja California Norte',1),(491,'BCS',15401,'',0,'BCS','Baja California Sur',1),(492,'CAM',15401,'',0,'CAM','Campeche',1),(493,'CHP',15401,'',0,'CHP','Chiapas',1),(494,'CHI',15401,'',0,'CHI','Chihuahua',1),(495,'COA',15401,'',0,'COA','Coahuila',1),(496,'COL',15401,'',0,'COL','Colima',1),(497,'DUR',15401,'',0,'DUR','Durango',1),(498,'GTO',15401,'',0,'GTO','Guanajuato',1),(499,'GRO',15401,'',0,'GRO','Guerrero',1),(500,'HGO',15401,'',0,'HGO','Hidalgo',1),(501,'JAL',15401,'',0,'JAL','Jalisco',1),(502,'MEX',15401,'',0,'MEX','México',1),(503,'MIC',15401,'',0,'MIC','Michoacán de Ocampo',1),(504,'MOR',15401,'',0,'MOR','Morelos',1),(505,'NAY',15401,'',0,'NAY','Nayarit',1),(506,'NLE',15401,'',0,'NLE','Nuevo León',1),(507,'OAX',15401,'',0,'OAX','Oaxaca',1),(508,'PUE',15401,'',0,'PUE','Puebla',1),(509,'QRO',15401,'',0,'QRO','Querétaro',1),(510,'ROO',15401,'',0,'ROO','Quintana Roo',1),(511,'SLP',15401,'',0,'SLP','San Luis Potosí',1),(512,'SIN',15401,'',0,'SIN','Sinaloa',1),(513,'SON',15401,'',0,'SON','Sonora',1),(514,'TAB',15401,'',0,'TAB','Tabasco',1),(515,'TAM',15401,'',0,'TAM','Tamaulipas',1),(516,'TLX',15401,'',0,'TLX','Tlaxcala',1),(517,'VER',15401,'',0,'VER','Veracruz',1),(518,'YUC',15401,'',0,'YUC','Yucatán',1),(519,'ZAC',15401,'',0,'ZAC','Zacatecas',1),(520,'ANT',7001,'',0,'ANT','Antioquia',1),(521,'BOL',7001,'',0,'BOL','Bolívar',1),(522,'BOY',7001,'',0,'BOY','Boyacá',1),(523,'CAL',7001,'',0,'CAL','Caldas',1),(524,'CAU',7001,'',0,'CAU','Cauca',1),(525,'CUN',7001,'',0,'CUN','Cundinamarca',1),(526,'HUI',7001,'',0,'HUI','Huila',1),(527,'LAG',7001,'',0,'LAG','La Guajira',1),(528,'MET',7001,'',0,'MET','Meta',1),(529,'NAR',7001,'',0,'NAR','Nariño',1),(530,'NDS',7001,'',0,'NDS','Norte de Santander',1),(531,'SAN',7001,'',0,'SAN','Santander',1),(532,'SUC',7001,'',0,'SUC','Sucre',1),(533,'TOL',7001,'',0,'TOL','Tolima',1),(534,'VAC',7001,'',0,'VAC','Valle del Cauca',1),(535,'RIS',7001,'',0,'RIS','Risalda',1),(536,'ATL',7001,'',0,'ATL','Atlántico',1),(537,'COR',7001,'',0,'COR','Córdoba',1),(538,'SAP',7001,'',0,'SAP','San Andrés, Providencia y Santa Catalina',1),(539,'ARA',7001,'',0,'ARA','Arauca',1),(540,'CAS',7001,'',0,'CAS','Casanare',1),(541,'AMA',7001,'',0,'AMA','Amazonas',1),(542,'CAQ',7001,'',0,'CAQ','Caquetá',1),(543,'CHO',7001,'',0,'CHO','Chocó',1),(544,'GUA',7001,'',0,'GUA','Guainía',1),(545,'GUV',7001,'',0,'GUV','Guaviare',1),(546,'PUT',7001,'',0,'PUT','Putumayo',1),(547,'QUI',7001,'',0,'QUI','Quindío',1),(548,'VAU',7001,'',0,'VAU','Vaupés',1),(549,'BOG',7001,'',0,'BOG','Bogotá',1),(550,'VID',7001,'',0,'VID','Vichada',1),(551,'CES',7001,'',0,'CES','Cesar',1),(552,'MAG',7001,'',0,'MAG','Magdalena',1),(553,'AT',11401,'',0,'AT','Atlántida',1),(554,'CH',11401,'',0,'CH','Choluteca',1),(555,'CL',11401,'',0,'CL','Colón',1),(556,'CM',11401,'',0,'CM','Comayagua',1),(557,'CO',11401,'',0,'CO','Copán',1),(558,'CR',11401,'',0,'CR','Cortés',1),(559,'EP',11401,'',0,'EP','El Paraíso',1),(560,'FM',11401,'',0,'FM','Francisco Morazán',1),(561,'GD',11401,'',0,'GD','Gracias a Dios',1),(562,'IN',11401,'',0,'IN','Intibucá',1),(563,'IB',11401,'',0,'IB','Islas de la Bahía',1),(564,'LP',11401,'',0,'LP','La Paz',1),(565,'LM',11401,'',0,'LM','Lempira',1),(566,'OC',11401,'',0,'OC','Ocotepeque',1),(567,'OL',11401,'',0,'OL','Olancho',1),(568,'SB',11401,'',0,'SB','Santa Bárbara',1),(569,'VL',11401,'',0,'VL','Valle',1),(570,'YO',11401,'',0,'YO','Yoro',1),(571,'DC',11401,'',0,'DC','Distrito Central',1),(572,'CC',4601,'Oistins',0,'CC','Christ Church',1),(573,'SA',4601,'Greenland',0,'SA','Saint Andrew',1),(574,'SG',4601,'Bulkeley',0,'SG','Saint George',1),(575,'JA',4601,'Holetown',0,'JA','Saint James',1),(576,'SJ',4601,'Four Roads',0,'SJ','Saint John',1),(577,'SB',4601,'Bathsheba',0,'SB','Saint Joseph',1),(578,'SL',4601,'Crab Hill',0,'SL','Saint Lucy',1),(579,'SM',4601,'Bridgetown',0,'SM','Saint Michael',1),(580,'SP',4601,'Speightstown',0,'SP','Saint Peter',1),(581,'SC',4601,'Crane',0,'SC','Saint Philip',1),(582,'ST',4601,'Hillaby',0,'ST','Saint Thomas',1);
   3.824 +/*!40000 ALTER TABLE `llx_c_departements` ENABLE KEYS */;
   3.825 +UNLOCK TABLES;
   3.826 +
   3.827 +--
   3.828 +-- Table structure for table `llx_c_ecotaxe`
   3.829 +--
   3.830 +
   3.831 +DROP TABLE IF EXISTS `llx_c_ecotaxe`;
   3.832 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.833 +/*!40101 SET character_set_client = utf8 */;
   3.834 +CREATE TABLE `llx_c_ecotaxe` (
   3.835 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.836 +  `code` varchar(64) NOT NULL,
   3.837 +  `libelle` varchar(255) DEFAULT NULL,
   3.838 +  `price` double(24,8) DEFAULT NULL,
   3.839 +  `organization` varchar(255) DEFAULT NULL,
   3.840 +  `fk_pays` int(11) NOT NULL,
   3.841 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.842 +  PRIMARY KEY (`rowid`),
   3.843 +  UNIQUE KEY `uk_c_ecotaxe` (`code`)
   3.844 +) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8;
   3.845 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.846 +
   3.847 +--
   3.848 +-- Dumping data for table `llx_c_ecotaxe`
   3.849 +--
   3.850 +
   3.851 +LOCK TABLES `llx_c_ecotaxe` WRITE;
   3.852 +/*!40000 ALTER TABLE `llx_c_ecotaxe` DISABLE KEYS */;
   3.853 +INSERT INTO `llx_c_ecotaxe` VALUES (1,'ER-A-A','Materiels electriques < 0,2kg',0.01000000,'ERP',1,1),(2,'ER-A-B','Materiels electriques >= 0,2 kg et < 0,5 kg',0.03000000,'ERP',1,1),(3,'ER-A-C','Materiels electriques >= 0,5 kg et < 1 kg',0.04000000,'ERP',1,1),(4,'ER-A-D','Materiels electriques >= 1 kg et < 2 kg',0.13000000,'ERP',1,1),(5,'ER-A-E','Materiels electriques >= 2 kg et < 4kg',0.21000000,'ERP',1,1),(6,'ER-A-F','Materiels electriques >= 4 kg et < 8 kg',0.42000000,'ERP',1,1),(7,'ER-A-G','Materiels electriques >= 8 kg et < 15 kg',0.84000000,'ERP',1,1),(8,'ER-A-H','Materiels electriques >= 15 kg et < 20 kg',1.25000000,'ERP',1,1),(9,'ER-A-I','Materiels electriques >= 20 kg et < 30 kg',1.88000000,'ERP',1,1),(10,'ER-A-J','Materiels electriques >= 30 kg',3.34000000,'ERP',1,1),(11,'ER-M-1','TV, Moniteurs < 9kg',0.84000000,'ERP',1,1),(12,'ER-M-2','TV, Moniteurs >= 9kg et < 15kg',1.67000000,'ERP',1,1),(13,'ER-M-3','TV, Moniteurs >= 15kg et < 30kg',3.34000000,'ERP',1,1),(14,'ER-M-4','TV, Moniteurs >= 30 kg',6.69000000,'ERP',1,1),(15,'EC-A-A','Materiels electriques  0,2 kg max',0.00840000,'Ecologic',1,1),(16,'EC-A-B','Materiels electriques 0,21 kg min - 0,50 kg max',0.02500000,'Ecologic',1,1),(17,'EC-A-C','Materiels electriques  0,51 kg min - 1 kg max',0.04000000,'Ecologic',1,1),(18,'EC-A-D','Materiels electriques  1,01 kg min - 2,5 kg max',0.13000000,'Ecologic',1,1),(19,'EC-A-E','Materiels electriques  2,51 kg min - 4 kg max',0.21000000,'Ecologic',1,1),(20,'EC-A-F','Materiels electriques 4,01 kg min - 8 kg max',0.42000000,'Ecologic',1,1),(21,'EC-A-G','Materiels electriques  8,01 kg min - 12 kg max',0.63000000,'Ecologic',1,1),(22,'EC-A-H','Materiels electriques 12,01 kg min - 20 kg max',1.05000000,'Ecologic',1,1),(23,'EC-A-I','Materiels electriques  20,01 kg min',1.88000000,'Ecologic',1,1),(24,'EC-M-1','TV, Moniteurs 9 kg max',0.84000000,'Ecologic',1,1),(25,'EC-M-2','TV, Moniteurs 9,01 kg min - 18 kg max',1.67000000,'Ecologic',1,1),(26,'EC-M-3','TV, Moniteurs 18,01 kg min - 36 kg max',3.34000000,'Ecologic',1,1),(27,'EC-M-4','TV, Moniteurs 36,01 kg min',6.69000000,'Ecologic',1,1),(28,'ES-M-1','TV, Moniteurs <= 20 pouces',0.84000000,'Eco-systemes',1,1),(29,'ES-M-2','TV, Moniteurs > 20 pouces et <= 32 pouces',3.34000000,'Eco-systemes',1,1),(30,'ES-M-3','TV, Moniteurs > 32 pouces et autres grands ecrans',6.69000000,'Eco-systemes',1,1),(31,'ES-A-A','Ordinateur fixe, Audio home systems (HIFI), elements hifi separes',0.84000000,'Eco-systemes',1,1),(32,'ES-A-B','Ordinateur portable, CD-RCR, VCR, lecteurs et enregistreurs DVD, instruments de musique et caisses de resonance, haut parleurs...',0.25000000,'Eco-systemes',1,1),(33,'ES-A-C','Imprimante, photocopieur, telecopieur',0.42000000,'Eco-systemes',1,1),(34,'ES-A-D','Accessoires, clavier, souris, PDA, imprimante photo, appareil photo, gps, telephone, repondeur, telephone sans fil, modem, telecommande, casque, camescope, baladeur mp3, radio portable, radio K7 et CD portable, radio reveil',0.08400000,'Eco-systemes',1,1),(35,'ES-A-E','GSM',0.00840000,'Eco-systemes',1,1),(36,'ES-A-F','Jouets et equipements de loisirs et de sports < 0,5 kg',0.04200000,'Eco-systemes',1,1),(37,'ES-A-G','Jouets et equipements de loisirs et de sports > 0,5 kg',0.17000000,'Eco-systemes',1,1),(38,'ES-A-H','Jouets et equipements de loisirs et de sports > 10 kg',1.25000000,'Eco-systemes',1,1);
   3.854 +/*!40000 ALTER TABLE `llx_c_ecotaxe` ENABLE KEYS */;
   3.855 +UNLOCK TABLES;
   3.856 +
   3.857 +--
   3.858 +-- Table structure for table `llx_c_effectif`
   3.859 +--
   3.860 +
   3.861 +DROP TABLE IF EXISTS `llx_c_effectif`;
   3.862 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.863 +/*!40101 SET character_set_client = utf8 */;
   3.864 +CREATE TABLE `llx_c_effectif` (
   3.865 +  `id` int(11) NOT NULL,
   3.866 +  `code` varchar(12) NOT NULL,
   3.867 +  `libelle` varchar(30) DEFAULT NULL,
   3.868 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.869 +  `module` varchar(32) DEFAULT NULL,
   3.870 +  PRIMARY KEY (`id`),
   3.871 +  UNIQUE KEY `code` (`code`)
   3.872 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.873 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.874 +
   3.875 +--
   3.876 +-- Dumping data for table `llx_c_effectif`
   3.877 +--
   3.878 +
   3.879 +LOCK TABLES `llx_c_effectif` WRITE;
   3.880 +/*!40000 ALTER TABLE `llx_c_effectif` DISABLE KEYS */;
   3.881 +INSERT INTO `llx_c_effectif` 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);
   3.882 +/*!40000 ALTER TABLE `llx_c_effectif` ENABLE KEYS */;
   3.883 +UNLOCK TABLES;
   3.884 +
   3.885 +--
   3.886 +-- Table structure for table `llx_c_field_list`
   3.887 +--
   3.888 +
   3.889 +DROP TABLE IF EXISTS `llx_c_field_list`;
   3.890 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.891 +/*!40101 SET character_set_client = utf8 */;
   3.892 +CREATE TABLE `llx_c_field_list` (
   3.893 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.894 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
   3.895 +  `element` varchar(64) NOT NULL,
   3.896 +  `entity` int(11) NOT NULL DEFAULT '1',
   3.897 +  `name` varchar(32) NOT NULL,
   3.898 +  `alias` varchar(32) NOT NULL,
   3.899 +  `title` varchar(32) NOT NULL,
   3.900 +  `align` varchar(6) DEFAULT 'left',
   3.901 +  `sort` tinyint(4) NOT NULL DEFAULT '1',
   3.902 +  `search` tinyint(4) NOT NULL DEFAULT '0',
   3.903 +  `enabled` varchar(255) DEFAULT '1',
   3.904 +  `rang` int(11) DEFAULT '0',
   3.905 +  PRIMARY KEY (`rowid`)
   3.906 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
   3.907 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.908 +
   3.909 +--
   3.910 +-- Dumping data for table `llx_c_field_list`
   3.911 +--
   3.912 +
   3.913 +LOCK TABLES `llx_c_field_list` WRITE;
   3.914 +/*!40000 ALTER TABLE `llx_c_field_list` DISABLE KEYS */;
   3.915 +/*!40000 ALTER TABLE `llx_c_field_list` ENABLE KEYS */;
   3.916 +UNLOCK TABLES;
   3.917 +
   3.918 +--
   3.919 +-- Table structure for table `llx_c_forme_juridique`
   3.920 +--
   3.921 +
   3.922 +DROP TABLE IF EXISTS `llx_c_forme_juridique`;
   3.923 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.924 +/*!40101 SET character_set_client = utf8 */;
   3.925 +CREATE TABLE `llx_c_forme_juridique` (
   3.926 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.927 +  `code` int(11) NOT NULL,
   3.928 +  `fk_pays` int(11) NOT NULL,
   3.929 +  `libelle` varchar(255) DEFAULT NULL,
   3.930 +  `isvatexempted` tinyint(4) NOT NULL DEFAULT '0',
   3.931 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.932 +  `module` varchar(32) DEFAULT NULL,
   3.933 +  PRIMARY KEY (`rowid`),
   3.934 +  UNIQUE KEY `uk_c_forme_juridique` (`code`)
   3.935 +) ENGINE=MyISAM AUTO_INCREMENT=131 DEFAULT CHARSET=utf8;
   3.936 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.937 +
   3.938 +--
   3.939 +-- Dumping data for table `llx_c_forme_juridique`
   3.940 +--
   3.941 +
   3.942 +LOCK TABLES `llx_c_forme_juridique` WRITE;
   3.943 +/*!40000 ALTER TABLE `llx_c_forme_juridique` DISABLE KEYS */;
   3.944 +INSERT INTO `llx_c_forme_juridique` VALUES (1,0,0,'-',0,1,NULL),(2,11,1,'Artisan Commerçant (EI)',0,1,NULL),(3,12,1,'Commerçant (EI)',0,1,NULL),(4,13,1,'Artisan (EI)',0,1,NULL),(5,14,1,'Officier public ou ministériel',0,1,NULL),(6,15,1,'Profession libérale (EI)',0,1,NULL),(7,16,1,'Exploitant agricole',0,1,NULL),(8,17,1,'Agent commercial',0,1,NULL),(9,18,1,'Associé Gérant de société',0,1,NULL),(10,19,1,'Personne physique',0,1,NULL),(11,21,1,'Indivision',0,1,NULL),(12,22,1,'Société créée de fait',0,1,NULL),(13,23,1,'Société en participation',0,1,NULL),(14,27,1,'Paroisse hors zone concordataire',0,1,NULL),(15,29,1,'Groupement de droit privé non doté de la personnalité morale',0,1,NULL),(16,31,1,'Personne morale de droit étranger, immatriculée au RCS',0,1,NULL),(17,32,1,'Personne morale de droit étranger, non immatriculée au RCS',0,1,NULL),(18,35,1,'Régime auto-entrepreneur',0,1,NULL),(19,41,1,'Établissement public ou régie à caractère industriel ou commercial',0,1,NULL),(20,51,1,'Société coopérative commerciale particulière',0,1,NULL),(21,52,1,'Société en nom collectif',0,1,NULL),(22,53,1,'Société en commandite',0,1,NULL),(23,54,1,'Société à responsabilité limitée (SARL)',0,1,NULL),(24,55,1,'Société anonyme à conseil d administration',0,1,NULL),(25,56,1,'Société anonyme à directoire',0,1,NULL),(26,57,1,'Société par actions simplifiée',0,1,NULL),(27,58,1,'Entreprise Unipersonnelle à Responsabilité Limitée (EURL)',0,1,NULL),(28,61,1,'Caisse d\'épargne et de prévoyance',0,1,NULL),(29,62,1,'Groupement d\'intérêt économique (GIE)',0,1,NULL),(30,63,1,'Société coopérative agricole',0,1,NULL),(31,64,1,'Société non commerciale d assurances',0,1,NULL),(32,65,1,'Société civile',0,1,NULL),(33,69,1,'Personnes de droit privé inscrites au RCS',0,1,NULL),(34,71,1,'Administration de l état',0,1,NULL),(35,72,1,'Collectivité territoriale',0,1,NULL),(36,73,1,'Établissement public administratif',0,1,NULL),(37,74,1,'Personne morale de droit public administratif',0,1,NULL),(38,81,1,'Organisme gérant régime de protection social à adhésion obligatoire',0,1,NULL),(39,82,1,'Organisme mutualiste',0,1,NULL),(40,83,1,'Comité d entreprise',0,1,NULL),(41,84,1,'Organisme professionnel',0,1,NULL),(42,85,1,'Organisme de retraite à adhésion non obligatoire',0,1,NULL),(43,91,1,'Syndicat de propriétaires',0,1,NULL),(44,92,1,'Association loi 1901 ou assimilé',0,1,NULL),(45,93,1,'Fondation',0,1,NULL),(46,99,1,'Personne morale de droit privé',0,1,NULL),(47,200,2,'Indépendant',0,1,NULL),(48,201,2,'SPRL - Société à responsabilité limitée',0,1,NULL),(49,202,2,'SA   - Société Anonyme',0,1,NULL),(50,203,2,'SCRL - Société coopérative à responsabilité limitée',0,1,NULL),(51,204,2,'ASBL - Association sans but Lucratif',0,1,NULL),(52,205,2,'SCRI - Société coopérative à responsabilité illimitée',0,1,NULL),(53,206,2,'SCS  - Société en commandite simple',0,1,NULL),(54,207,2,'SCA  - Société en commandite par action',0,1,NULL),(55,208,2,'SNC  - Société en nom collectif',0,1,NULL),(56,209,2,'GIE  - Groupement d intérêt économique',0,1,NULL),(57,210,2,'GEIE - Groupement européen d intérêt économique',0,1,NULL),(58,500,5,'Limited liability corporation (GmbH)',0,1,NULL),(59,501,5,'Stock corporation (AG)',0,1,NULL),(60,502,5,'Partnerships general or limited (GmbH & CO. KG)',0,1,NULL),(61,503,5,'Sole proprietor / Private business',0,1,NULL),(62,600,6,'Raison Individuelle',0,1,NULL),(63,601,6,'Société Simple',0,1,NULL),(64,602,6,'Société en nom collectif',0,1,NULL),(65,603,6,'Société en commandite',0,1,NULL),(66,604,6,'Société anonyme (SA)',0,1,NULL),(67,605,6,'Société en commandite par actions',0,1,NULL),(68,606,6,'Société à responsabilité limitée (SARL)',0,1,NULL),(69,607,6,'Société coopérative',0,1,NULL),(70,608,6,'Association',0,1,NULL),(71,609,6,'Fondation',0,1,NULL),(72,700,7,'Sole Trader',0,1,NULL),(73,701,7,'Partnership',0,1,NULL),(74,702,7,'Private Limited Company by shares (LTD)',0,1,NULL),(75,703,7,'Public Limited Company',0,1,NULL),(76,704,7,'Workers Cooperative',0,1,NULL),(77,705,7,'Limited Liability Partnership',0,1,NULL),(78,706,7,'Franchise',0,1,NULL),(79,1000,10,'Société à responsabilité limitée (SARL)',0,1,NULL),(80,1001,10,'Société en Nom Collectif (SNC)',0,1,NULL),(81,1002,10,'Société en Commandite Simple (SCS)',0,1,NULL),(82,1003,10,'société en participation',0,1,NULL),(83,1004,10,'Société Anonyme (SA)',0,1,NULL),(84,1005,10,'Société Unipersonnelle à Responsabilité Limitée (SUARL)',0,1,NULL),(85,1006,10,'Groupement d\'intérêt économique (GEI)',0,1,NULL),(86,1007,10,'Groupe de sociétés',0,1,NULL),(87,401,4,'Empresario Individual',0,1,NULL),(88,402,4,'Comunidad de Bienes',0,1,NULL),(89,403,4,'Sociedad Civil',0,1,NULL),(90,404,4,'Sociedad Colectiva',0,1,NULL),(91,405,4,'Sociedad Limitada',0,1,NULL),(92,406,4,'Sociedad Anónima',0,1,NULL),(93,407,4,'Sociedad Comandataria por Acciones',0,1,NULL),(94,408,4,'Sociedad Comandataria Simple',0,1,NULL),(95,409,4,'Sociedad Laboral',0,1,NULL),(96,410,4,'Sociedad Cooperativa',0,1,NULL),(97,411,4,'Sociedad de Garantía Recíproca',0,1,NULL),(98,412,4,'Entidad de Capital-Riesgo',0,1,NULL),(99,413,4,'Agrupación de Interés Económico',0,1,NULL),(100,414,4,'Sociedad de Inversión Mobiliaria',0,1,NULL),(101,415,4,'Agrupación sin Ánimo de Lucro',0,1,NULL),(102,15201,152,'Mauritius Private Company Limited By Shares',0,1,NULL),(103,15202,152,'Mauritius Company Limited By Guarantee',0,1,NULL),(104,15203,152,'Mauritius Public Company Limited By Shares',0,1,NULL),(105,15204,152,'Mauritius Foreign Company',0,1,NULL),(106,15205,152,'Mauritius GBC1 (Offshore Company)',0,1,NULL),(107,15206,152,'Mauritius GBC2 (International Company)',0,1,NULL),(108,15207,152,'Mauritius General Partnership',0,1,NULL),(109,15208,152,'Mauritius Limited Partnership',0,1,NULL),(110,15209,152,'Mauritius Sole Proprietorship',0,1,NULL),(111,15210,152,'Mauritius Trusts',0,1,NULL),(112,2301,23,'Monotributista',0,1,NULL),(113,2302,23,'Sociedad Civil',0,1,NULL),(114,2303,23,'Sociedades Comerciales',0,1,NULL),(115,2304,23,'Sociedades de Hecho',0,1,NULL),(116,2305,23,'Sociedades Irregulares',0,1,NULL),(117,2306,23,'Sociedad Colectiva',0,1,NULL),(118,2307,23,'Sociedad en Comandita Simple',0,1,NULL),(119,2308,23,'Sociedad de Capital e Industria',0,1,NULL),(120,2309,23,'Sociedad Accidental o en participación',0,1,NULL),(121,2310,23,'Sociedad de Responsabilidad Limitada',0,1,NULL),(122,2311,23,'Sociedad Anónima',0,1,NULL),(123,2312,23,'Sociedad Anónima con Participación Estatal Mayoritaria',0,1,NULL),(124,2313,23,'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)',0,1,NULL),(125,15401,154,'Sociedad en nombre colectivo',0,1,NULL),(126,15402,154,'Sociedad en comandita simple',0,1,NULL),(127,15403,154,'Sociedad de responsabilidad limitada',0,1,NULL),(128,15404,154,'Sociedad anónima',0,1,NULL),(129,15405,154,'Sociedad en comandita por acciones',0,1,NULL),(130,15406,154,'Sociedad cooperativa',0,1,NULL);
   3.945 +/*!40000 ALTER TABLE `llx_c_forme_juridique` ENABLE KEYS */;
   3.946 +UNLOCK TABLES;
   3.947 +
   3.948 +--
   3.949 +-- Table structure for table `llx_c_input_method`
   3.950 +--
   3.951 +
   3.952 +DROP TABLE IF EXISTS `llx_c_input_method`;
   3.953 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.954 +/*!40101 SET character_set_client = utf8 */;
   3.955 +CREATE TABLE `llx_c_input_method` (
   3.956 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.957 +  `code` varchar(30) DEFAULT NULL,
   3.958 +  `libelle` varchar(60) DEFAULT NULL,
   3.959 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.960 +  `module` varchar(32) DEFAULT NULL,
   3.961 +  PRIMARY KEY (`rowid`),
   3.962 +  UNIQUE KEY `uk_c_methode_commande_fournisseur` (`code`)
   3.963 +) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
   3.964 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.965 +
   3.966 +--
   3.967 +-- Dumping data for table `llx_c_input_method`
   3.968 +--
   3.969 +
   3.970 +LOCK TABLES `llx_c_input_method` WRITE;
   3.971 +/*!40000 ALTER TABLE `llx_c_input_method` DISABLE KEYS */;
   3.972 +INSERT INTO `llx_c_input_method` 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);
   3.973 +/*!40000 ALTER TABLE `llx_c_input_method` ENABLE KEYS */;
   3.974 +UNLOCK TABLES;
   3.975 +
   3.976 +--
   3.977 +-- Table structure for table `llx_c_input_reason`
   3.978 +--
   3.979 +
   3.980 +DROP TABLE IF EXISTS `llx_c_input_reason`;
   3.981 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
   3.982 +/*!40101 SET character_set_client = utf8 */;
   3.983 +CREATE TABLE `llx_c_input_reason` (
   3.984 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
   3.985 +  `code` varchar(30) NOT NULL,
   3.986 +  `label` varchar(60) NOT NULL,
   3.987 +  `active` tinyint(4) NOT NULL DEFAULT '1',
   3.988 +  `module` varchar(32) DEFAULT NULL,
   3.989 +  PRIMARY KEY (`rowid`),
   3.990 +  UNIQUE KEY `uk_c_input_reason` (`code`)
   3.991 +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
   3.992 +/*!40101 SET character_set_client = @saved_cs_client */;
   3.993 +
   3.994 +--
   3.995 +-- Dumping data for table `llx_c_input_reason`
   3.996 +--
   3.997 +
   3.998 +LOCK TABLES `llx_c_input_reason` WRITE;
   3.999 +/*!40000 ALTER TABLE `llx_c_input_reason` DISABLE KEYS */;
  3.1000 +INSERT INTO `llx_c_input_reason` 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);
  3.1001 +/*!40000 ALTER TABLE `llx_c_input_reason` ENABLE KEYS */;
  3.1002 +UNLOCK TABLES;
  3.1003 +
  3.1004 +--
  3.1005 +-- Table structure for table `llx_c_paiement`
  3.1006 +--
  3.1007 +
  3.1008 +DROP TABLE IF EXISTS `llx_c_paiement`;
  3.1009 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1010 +/*!40101 SET character_set_client = utf8 */;
  3.1011 +CREATE TABLE `llx_c_paiement` (
  3.1012 +  `id` int(11) NOT NULL,
  3.1013 +  `code` varchar(6) NOT NULL,
  3.1014 +  `libelle` varchar(30) DEFAULT NULL,
  3.1015 +  `type` smallint(6) DEFAULT NULL,
  3.1016 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1017 +  `module` varchar(32) DEFAULT NULL,
  3.1018 +  PRIMARY KEY (`id`),
  3.1019 +  UNIQUE KEY `code` (`code`)
  3.1020 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1021 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1022 +
  3.1023 +--
  3.1024 +-- Dumping data for table `llx_c_paiement`
  3.1025 +--
  3.1026 +
  3.1027 +LOCK TABLES `llx_c_paiement` WRITE;
  3.1028 +/*!40000 ALTER TABLE `llx_c_paiement` DISABLE KEYS */;
  3.1029 +INSERT INTO `llx_c_paiement` VALUES (0,'','-',3,1,NULL),(1,'TIP','TIP',2,1,NULL),(2,'VIR','Virement',2,1,NULL),(3,'PRE','Prélèvement',2,1,NULL),(4,'LIQ','Espèces',2,1,NULL),(5,'VAD','Paiement en ligne',2,0,NULL),(6,'CB','Carte Bancaire',2,1,NULL),(7,'CHQ','Chèque',2,1,NULL),(8,'TRA','Traite',2,0,NULL),(9,'LCR','LCR',2,0,NULL),(10,'FAC','Factor',2,0,NULL),(11,'PRO','Proforma',2,0,NULL);
  3.1030 +/*!40000 ALTER TABLE `llx_c_paiement` ENABLE KEYS */;
  3.1031 +UNLOCK TABLES;
  3.1032 +
  3.1033 +--
  3.1034 +-- Table structure for table `llx_c_paper_format`
  3.1035 +--
  3.1036 +
  3.1037 +DROP TABLE IF EXISTS `llx_c_paper_format`;
  3.1038 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1039 +/*!40101 SET character_set_client = utf8 */;
  3.1040 +CREATE TABLE `llx_c_paper_format` (
  3.1041 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1042 +  `code` varchar(16) NOT NULL,
  3.1043 +  `label` varchar(50) NOT NULL,
  3.1044 +  `width` float(6,2) DEFAULT '0.00',
  3.1045 +  `height` float(6,2) DEFAULT '0.00',
  3.1046 +  `unit` varchar(5) NOT NULL,
  3.1047 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1048 +  `module` varchar(32) DEFAULT NULL,
  3.1049 +  PRIMARY KEY (`rowid`)
  3.1050 +) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=utf8;
  3.1051 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1052 +
  3.1053 +--
  3.1054 +-- Dumping data for table `llx_c_paper_format`
  3.1055 +--
  3.1056 +
  3.1057 +LOCK TABLES `llx_c_paper_format` WRITE;
  3.1058 +/*!40000 ALTER TABLE `llx_c_paper_format` DISABLE KEYS */;
  3.1059 +INSERT INTO `llx_c_paper_format` VALUES (1,'4A0','Format 4A0',1682.00,2378.00,'mm',1,NULL),(2,'2A0','Format 2A0',1189.00,1682.00,'mm',1,NULL),(3,'A0','Format A0',840.00,1189.00,'mm',1,NULL),(4,'A1','Format A1',594.00,840.00,'mm',1,NULL),(5,'A2','Format A2',420.00,594.00,'mm',1,NULL),(6,'A3','Format A3',297.00,420.00,'mm',1,NULL),(7,'A4','Format A4',210.00,297.00,'mm',1,NULL),(8,'A5','Format A5',148.00,210.00,'mm',1,NULL),(9,'A6','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,'Canadian P1','Format Canadian P1',560.00,860.00,'mm',0,NULL),(205,'Canadian P2','Format Canadian P2',430.00,560.00,'mm',0,NULL),(210,'Canadian P3','Format Canadian P3',280.00,430.00,'mm',0,NULL),(215,'Canadian P4','Format Canadian P4',215.00,280.00,'mm',0,NULL),(220,'Canadian P5','Format Canadian P5',140.00,215.00,'mm',0,NULL),(225,'Canadian P6','Format Canadian P6',107.00,140.00,'mm',0,NULL);
  3.1060 +/*!40000 ALTER TABLE `llx_c_paper_format` ENABLE KEYS */;
  3.1061 +UNLOCK TABLES;
  3.1062 +
  3.1063 +--
  3.1064 +-- Table structure for table `llx_c_payment_term`
  3.1065 +--
  3.1066 +
  3.1067 +DROP TABLE IF EXISTS `llx_c_payment_term`;
  3.1068 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1069 +/*!40101 SET character_set_client = utf8 */;
  3.1070 +CREATE TABLE `llx_c_payment_term` (
  3.1071 +  `rowid` int(11) NOT NULL,
  3.1072 +  `code` varchar(16) DEFAULT NULL,
  3.1073 +  `sortorder` smallint(6) DEFAULT NULL,
  3.1074 +  `active` tinyint(4) DEFAULT '1',
  3.1075 +  `libelle` varchar(255) DEFAULT NULL,
  3.1076 +  `libelle_facture` text,
  3.1077 +  `fdm` tinyint(4) DEFAULT NULL,
  3.1078 +  `nbjour` smallint(6) DEFAULT NULL,
  3.1079 +  `decalage` smallint(6) DEFAULT NULL,
  3.1080 +  `module` varchar(32) DEFAULT NULL,
  3.1081 +  PRIMARY KEY (`rowid`)
  3.1082 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1083 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1084 +
  3.1085 +--
  3.1086 +-- Dumping data for table `llx_c_payment_term`
  3.1087 +--
  3.1088 +
  3.1089 +LOCK TABLES `llx_c_payment_term` WRITE;
  3.1090 +/*!40000 ALTER TABLE `llx_c_payment_term` DISABLE KEYS */;
  3.1091 +INSERT INTO `llx_c_payment_term` VALUES (1,'RECEP',1,1,'A réception','Réception de facture',0,0,NULL,NULL),(2,'30D',2,1,'30 jours','Réglement à 30 jours',0,30,NULL,NULL),(3,'30DENDMONTH',3,1,'30 jours fin de mois','Réglement à 30 jours fin de mois',1,30,NULL,NULL),(4,'60D',4,1,'60 jours','Réglement à 60 jours',0,60,NULL,NULL),(5,'60DENDMONTH',5,1,'60 jours fin de mois','Réglement à 60 jours fin de mois',1,60,NULL,NULL);
  3.1092 +/*!40000 ALTER TABLE `llx_c_payment_term` ENABLE KEYS */;
  3.1093 +UNLOCK TABLES;
  3.1094 +
  3.1095 +--
  3.1096 +-- Table structure for table `llx_c_pays`
  3.1097 +--
  3.1098 +
  3.1099 +DROP TABLE IF EXISTS `llx_c_pays`;
  3.1100 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1101 +/*!40101 SET character_set_client = utf8 */;
  3.1102 +CREATE TABLE `llx_c_pays` (
  3.1103 +  `rowid` int(11) NOT NULL,
  3.1104 +  `code` varchar(2) NOT NULL,
  3.1105 +  `code_iso` varchar(3) DEFAULT NULL,
  3.1106 +  `libelle` varchar(50) NOT NULL,
  3.1107 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1108 +  PRIMARY KEY (`rowid`),
  3.1109 +  UNIQUE KEY `idx_c_pays_code` (`code`),
  3.1110 +  UNIQUE KEY `idx_c_pays_libelle` (`libelle`),
  3.1111 +  UNIQUE KEY `idx_c_pays_code_iso` (`code_iso`)
  3.1112 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1113 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1114 +
  3.1115 +--
  3.1116 +-- Dumping data for table `llx_c_pays`
  3.1117 +--
  3.1118 +
  3.1119 +LOCK TABLES `llx_c_pays` WRITE;
  3.1120 +/*!40000 ALTER TABLE `llx_c_pays` DISABLE KEYS */;
  3.1121 +INSERT INTO `llx_c_pays` VALUES (0,'',NULL,'-',1),(1,'FR',NULL,'France',1),(2,'BE',NULL,'Belgium',1),(3,'IT',NULL,'Italy',1),(4,'ES',NULL,'Spain',1),(5,'DE',NULL,'Germany',1),(6,'CH',NULL,'Suisse',1),(7,'GB',NULL,'United Kingdom',1),(8,'IE',NULL,'Irland',1),(9,'CN',NULL,'China',1),(10,'TN',NULL,'Tunisie',1),(11,'US',NULL,'United States',1),(12,'MA',NULL,'Maroc',1),(13,'DZ',NULL,'Algérie',1),(14,'CA',NULL,'Canada',1),(15,'TG',NULL,'Togo',1),(16,'GA',NULL,'Gabon',1),(17,'NL',NULL,'Nerderland',1),(18,'HU',NULL,'Hongrie',1),(19,'RU',NULL,'Russia',1),(20,'SE',NULL,'Sweden',1),(21,'CI',NULL,'Côte d\'Ivoire',1),(22,'SN',NULL,'Sénégal',1),(23,'AR',NULL,'Argentine',1),(24,'CM',NULL,'Cameroun',1),(25,'PT',NULL,'Portugal',1),(26,'SA',NULL,'Arabie Saoudite',1),(27,'MC',NULL,'Monaco',1),(28,'AU',NULL,'Australia',1),(29,'SG',NULL,'Singapour',1),(30,'AF',NULL,'Afghanistan',1),(31,'AX',NULL,'Iles Aland',1),(32,'AL',NULL,'Albanie',1),(33,'AS',NULL,'Samoa américaines',1),(34,'AD',NULL,'Andorre',1),(35,'AO',NULL,'Angola',1),(36,'AI',NULL,'Anguilla',1),(37,'AQ',NULL,'Antarctique',1),(38,'AG',NULL,'Antigua-et-Barbuda',1),(39,'AM',NULL,'Arménie',1),(40,'AW',NULL,'Aruba',1),(41,'AT',NULL,'Autriche',1),(42,'AZ',NULL,'Azerbaïdjan',1),(43,'BS',NULL,'Bahamas',1),(44,'BH',NULL,'Bahreïn',1),(45,'BD',NULL,'Bangladesh',1),(46,'BB',NULL,'Barbade',1),(47,'BY',NULL,'Biélorussie',1),(48,'BZ',NULL,'Belize',1),(49,'BJ',NULL,'Bénin',1),(50,'BM',NULL,'Bermudes',1),(51,'BT',NULL,'Bhoutan',1),(52,'BO',NULL,'Bolivie',1),(53,'BA',NULL,'Bosnie-Herzégovine',1),(54,'BW',NULL,'Botswana',1),(55,'BV',NULL,'Ile Bouvet',1),(56,'BR',NULL,'Brésil',1),(57,'IO',NULL,'Territoire britannique de l\'Océan Indien',1),(58,'BN',NULL,'Brunei',1),(59,'BG',NULL,'Bulgarie',1),(60,'BF',NULL,'Burkina Faso',1),(61,'BI',NULL,'Burundi',1),(62,'KH',NULL,'Cambodge',1),(63,'CV',NULL,'Cap-Vert',1),(64,'KY',NULL,'Iles Cayman',1),(65,'CF',NULL,'République centrafricaine',1),(66,'TD',NULL,'Tchad',1),(67,'CL',NULL,'Chili',1),(68,'CX',NULL,'Ile Christmas',1),(69,'CC',NULL,'Iles des Cocos (Keeling)',1),(70,'CO',NULL,'Colombie',1),(71,'KM',NULL,'Comores',1),(72,'CG',NULL,'Congo',1),(73,'CD',NULL,'République démocratique du Congo',1),(74,'CK',NULL,'Iles Cook',1),(75,'CR',NULL,'Costa Rica',1),(76,'HR',NULL,'Croatie',1),(77,'CU',NULL,'Cuba',1),(78,'CY',NULL,'Chypre',1),(79,'CZ',NULL,'République Tchèque',1),(80,'DK',NULL,'Danemark',1),(81,'DJ',NULL,'Djibouti',1),(82,'DM',NULL,'Dominique',1),(83,'DO',NULL,'République Dominicaine',1),(84,'EC',NULL,'Equateur',1),(85,'EG',NULL,'Egypte',1),(86,'SV',NULL,'Salvador',1),(87,'GQ',NULL,'Guinée Equatoriale',1),(88,'ER',NULL,'Erythrée',1),(89,'EE',NULL,'Estonie',1),(90,'ET',NULL,'Ethiopie',1),(91,'FK',NULL,'Iles Falkland',1),(92,'FO',NULL,'Iles Féroé',1),(93,'FJ',NULL,'Iles Fidji',1),(94,'FI',NULL,'Finlande',1),(95,'GF',NULL,'Guyane française',1),(96,'PF',NULL,'Polynésie française',1),(97,'TF',NULL,'Terres australes françaises',1),(98,'GM',NULL,'Gambie',1),(99,'GE',NULL,'Géorgie',1),(100,'GH',NULL,'Ghana',1),(101,'GI',NULL,'Gibraltar',1),(102,'GR',NULL,'Grèce',1),(103,'GL',NULL,'Groenland',1),(104,'GD',NULL,'Grenade',1),(106,'GU',NULL,'Guam',1),(107,'GT',NULL,'Guatemala',1),(108,'GN',NULL,'Guinée',1),(109,'GW',NULL,'Guinée-Bissao',1),(111,'HT',NULL,'Haiti',1),(112,'HM',NULL,'Iles Heard et McDonald',1),(113,'VA',NULL,'Saint-Siège (Vatican)',1),(114,'HN',NULL,'Honduras',1),(115,'HK',NULL,'Hong Kong',1),(116,'IS',NULL,'Islande',1),(117,'IN',NULL,'India',1),(118,'ID',NULL,'Indonésie',1),(119,'IR',NULL,'Iran',1),(120,'IQ',NULL,'Iraq',1),(121,'IL',NULL,'Israel',1),(122,'JM',NULL,'Jamaïque',1),(123,'JP',NULL,'Japon',1),(124,'JO',NULL,'Jordanie',1),(125,'KZ',NULL,'Kazakhstan',1),(126,'KE',NULL,'Kenya',1),(127,'KI',NULL,'Kiribati',1),(128,'KP',NULL,'Corée du Nord',1),(129,'KR',NULL,'Corée du Sud',1),(130,'KW',NULL,'Koweït',1),(131,'KG',NULL,'Kirghizistan',1),(132,'LA',NULL,'Laos',1),(133,'LV',NULL,'Lettonie',1),(134,'LB',NULL,'Liban',1),(135,'LS',NULL,'Lesotho',1),(136,'LR',NULL,'Liberia',1),(137,'LY',NULL,'Libye',1),(138,'LI',NULL,'Liechtenstein',1),(139,'LT',NULL,'Lituanie',1),(140,'LU',NULL,'Luxembourg',1),(141,'MO',NULL,'Macao',1),(142,'MK',NULL,'ex-République yougoslave de Macédoine',1),(143,'MG',NULL,'Madagascar',1),(144,'MW',NULL,'Malawi',1),(145,'MY',NULL,'Malaisie',1),(146,'MV',NULL,'Maldives',1),(147,'ML',NULL,'Mali',1),(148,'MT',NULL,'Malte',1),(149,'MH',NULL,'Iles Marshall',1),(151,'MR',NULL,'Mauritanie',1),(152,'MU',NULL,'Maurice',1),(153,'YT',NULL,'Mayotte',1),(154,'MX',NULL,'Mexique',1),(155,'FM',NULL,'Micronésie',1),(156,'MD',NULL,'Moldavie',1),(157,'MN',NULL,'Mongolie',1),(158,'MS',NULL,'Monserrat',1),(159,'MZ',NULL,'Mozambique',1),(160,'MM',NULL,'Birmanie (Myanmar)',1),(161,'NA',NULL,'Namibie',1),(162,'NR',NULL,'Nauru',1),(163,'NP',NULL,'Népal',1),(164,'AN',NULL,'Antilles néerlandaises',1),(165,'NC',NULL,'Nouvelle-Calédonie',1),(166,'NZ',NULL,'Nouvelle-Zélande',1),(167,'NI',NULL,'Nicaragua',1),(168,'NE',NULL,'Niger',1),(169,'NG',NULL,'Nigeria',1),(170,'NU',NULL,'Nioué',1),(171,'NF',NULL,'Ile Norfolk',1),(172,'MP',NULL,'Mariannes du Nord',1),(173,'NO',NULL,'Norvège',1),(174,'OM',NULL,'Oman',1),(175,'PK',NULL,'Pakistan',1),(176,'PW',NULL,'Palaos',1),(177,'PS',NULL,'Territoire Palestinien Occupé',1),(178,'PA',NULL,'Panama',1),(179,'PG',NULL,'Papouasie-Nouvelle-Guinée',1),(180,'PY',NULL,'Paraguay',1),(181,'PE',NULL,'Pérou',1),(182,'PH',NULL,'Philippines',1),(183,'PN',NULL,'Iles Pitcairn',1),(184,'PL',NULL,'Pologne',1),(185,'PR',NULL,'Porto Rico',1),(186,'QA',NULL,'Qatar',1),(188,'RO',NULL,'Roumanie',1),(189,'RW',NULL,'Rwanda',1),(190,'SH',NULL,'Sainte-Hélène',1),(191,'KN',NULL,'Saint-Christophe-et-Niévès',1),(192,'LC',NULL,'Sainte-Lucie',1),(193,'PM',NULL,'Saint-Pierre-et-Miquelon',1),(194,'VC',NULL,'Saint-Vincent-et-les-Grenadines',1),(195,'WS',NULL,'Samoa',1),(196,'SM',NULL,'Saint-Marin',1),(197,'ST',NULL,'Sao Tomé-et-Principe',1),(198,'RS',NULL,'Serbie',1),(199,'SC',NULL,'Seychelles',1),(200,'SL',NULL,'Sierra Leone',1),(201,'SK',NULL,'Slovaquie',1),(202,'SI',NULL,'Slovénie',1),(203,'SB',NULL,'Iles Salomon',1),(204,'SO',NULL,'Somalie',1),(205,'ZA',NULL,'Afrique du Sud',1),(206,'GS',NULL,'Iles Géorgie du Sud et Sandwich du Sud',1),(207,'LK',NULL,'Sri Lanka',1),(208,'SD',NULL,'Soudan',1),(209,'SR',NULL,'Suriname',1),(210,'SJ',NULL,'Iles Svalbard et Jan Mayen',1),(211,'SZ',NULL,'Swaziland',1),(212,'SY',NULL,'Syrie',1),(213,'TW',NULL,'Taïwan',1),(214,'TJ',NULL,'Tadjikistan',1),(215,'TZ',NULL,'Tanzanie',1),(216,'TH',NULL,'Thaïlande',1),(217,'TL',NULL,'Timor Oriental',1),(218,'TK',NULL,'Tokélaou',1),(219,'TO',NULL,'Tonga',1),(220,'TT',NULL,'Trinité-et-Tobago',1),(221,'TR',NULL,'Turquie',1),(222,'TM',NULL,'Turkménistan',1),(223,'TC',NULL,'Iles Turks-et-Caicos',1),(224,'TV',NULL,'Tuvalu',1),(225,'UG',NULL,'Ouganda',1),(226,'UA',NULL,'Ukraine',1),(227,'AE',NULL,'Émirats arabes unis',1),(228,'UM',NULL,'Iles mineures éloignées des États-Unis',1),(229,'UY',NULL,'Uruguay',1),(230,'UZ',NULL,'Ouzbékistan',1),(231,'VU',NULL,'Vanuatu',1),(232,'VE',NULL,'Vénézuela',1),(233,'VN',NULL,'Viêt Nam',1),(234,'VG',NULL,'Iles Vierges britanniques',1),(235,'VI',NULL,'Iles Vierges américaines',1),(236,'WF',NULL,'Wallis-et-Futuna',1),(237,'EH',NULL,'Sahara occidental',1),(238,'YE',NULL,'Yémen',1),(239,'ZM',NULL,'Zambie',1),(240,'ZW',NULL,'Zimbabwe',1),(241,'GG',NULL,'Guernesey',1),(242,'IM',NULL,'Ile de Man',1),(243,'JE',NULL,'Jersey',1),(244,'ME',NULL,'Monténégro',1),(245,'BL',NULL,'Saint-Barthélemy',1),(246,'MF',NULL,'Saint-Martin',1);
  3.1122 +/*!40000 ALTER TABLE `llx_c_pays` ENABLE KEYS */;
  3.1123 +UNLOCK TABLES;
  3.1124 +
  3.1125 +--
  3.1126 +-- Table structure for table `llx_c_propalst`
  3.1127 +--
  3.1128 +
  3.1129 +DROP TABLE IF EXISTS `llx_c_propalst`;
  3.1130 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1131 +/*!40101 SET character_set_client = utf8 */;
  3.1132 +CREATE TABLE `llx_c_propalst` (
  3.1133 +  `id` smallint(6) NOT NULL,
  3.1134 +  `code` varchar(12) NOT NULL,
  3.1135 +  `label` varchar(30) DEFAULT NULL,
  3.1136 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1137 +  PRIMARY KEY (`id`),
  3.1138 +  UNIQUE KEY `code` (`code`)
  3.1139 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1140 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1141 +
  3.1142 +--
  3.1143 +-- Dumping data for table `llx_c_propalst`
  3.1144 +--
  3.1145 +
  3.1146 +LOCK TABLES `llx_c_propalst` WRITE;
  3.1147 +/*!40000 ALTER TABLE `llx_c_propalst` DISABLE KEYS */;
  3.1148 +INSERT INTO `llx_c_propalst` 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);
  3.1149 +/*!40000 ALTER TABLE `llx_c_propalst` ENABLE KEYS */;
  3.1150 +UNLOCK TABLES;
  3.1151 +
  3.1152 +--
  3.1153 +-- Table structure for table `llx_c_prospectlevel`
  3.1154 +--
  3.1155 +
  3.1156 +DROP TABLE IF EXISTS `llx_c_prospectlevel`;
  3.1157 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1158 +/*!40101 SET character_set_client = utf8 */;
  3.1159 +CREATE TABLE `llx_c_prospectlevel` (
  3.1160 +  `code` varchar(12) NOT NULL,
  3.1161 +  `label` varchar(30) DEFAULT NULL,
  3.1162 +  `sortorder` smallint(6) DEFAULT NULL,
  3.1163 +  `active` smallint(6) NOT NULL DEFAULT '1',
  3.1164 +  `module` varchar(32) DEFAULT NULL,
  3.1165 +  PRIMARY KEY (`code`)
  3.1166 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1167 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1168 +
  3.1169 +--
  3.1170 +-- Dumping data for table `llx_c_prospectlevel`
  3.1171 +--
  3.1172 +
  3.1173 +LOCK TABLES `llx_c_prospectlevel` WRITE;
  3.1174 +/*!40000 ALTER TABLE `llx_c_prospectlevel` DISABLE KEYS */;
  3.1175 +INSERT INTO `llx_c_prospectlevel` VALUES ('PL_NONE','None',1,1,NULL),('PL_LOW','Low',2,1,NULL),('PL_MEDIUM','Medium',3,1,NULL),('PL_HIGH','High',4,1,NULL);
  3.1176 +/*!40000 ALTER TABLE `llx_c_prospectlevel` ENABLE KEYS */;
  3.1177 +UNLOCK TABLES;
  3.1178 +
  3.1179 +--
  3.1180 +-- Table structure for table `llx_c_regions`
  3.1181 +--
  3.1182 +
  3.1183 +DROP TABLE IF EXISTS `llx_c_regions`;
  3.1184 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1185 +/*!40101 SET character_set_client = utf8 */;
  3.1186 +CREATE TABLE `llx_c_regions` (
  3.1187 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1188 +  `code_region` int(11) NOT NULL,
  3.1189 +  `fk_pays` int(11) NOT NULL,
  3.1190 +  `cheflieu` varchar(50) DEFAULT NULL,
  3.1191 +  `tncc` int(11) DEFAULT NULL,
  3.1192 +  `nom` varchar(50) DEFAULT NULL,
  3.1193 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1194 +  PRIMARY KEY (`rowid`),
  3.1195 +  UNIQUE KEY `code_region` (`code_region`),
  3.1196 +  KEY `idx_c_regions_fk_pays` (`fk_pays`)
  3.1197 +) ENGINE=MyISAM AUTO_INCREMENT=15402 DEFAULT CHARSET=utf8;
  3.1198 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1199 +
  3.1200 +--
  3.1201 +-- Dumping data for table `llx_c_regions`
  3.1202 +--
  3.1203 +
  3.1204 +LOCK TABLES `llx_c_regions` WRITE;
  3.1205 +/*!40000 ALTER TABLE `llx_c_regions` DISABLE KEYS */;
  3.1206 +INSERT INTO `llx_c_regions` VALUES (1,0,0,'0',0,'-',1),(101,1,1,'97105',3,'Guadeloupe',1),(102,2,1,'97209',3,'Martinique',1),(103,3,1,'97302',3,'Guyane',1),(104,4,1,'97411',3,'Réunion',1),(105,11,1,'75056',1,'Île-de-France',1),(106,21,1,'51108',0,'Champagne-Ardenne',1),(107,22,1,'80021',0,'Picardie',1),(108,23,1,'76540',0,'Haute-Normandie',1),(109,24,1,'45234',2,'Centre',1),(110,25,1,'14118',0,'Basse-Normandie',1),(111,26,1,'21231',0,'Bourgogne',1),(112,31,1,'59350',2,'Nord-Pas-de-Calais',1),(113,41,1,'57463',0,'Lorraine',1),(114,42,1,'67482',1,'Alsace',1),(115,43,1,'25056',0,'Franche-Comté',1),(116,52,1,'44109',4,'Pays de la Loire',1),(117,53,1,'35238',0,'Bretagne',1),(118,54,1,'86194',2,'Poitou-Charentes',1),(119,72,1,'33063',1,'Aquitaine',1),(120,73,1,'31555',0,'Midi-Pyrénées',1),(121,74,1,'87085',2,'Limousin',1),(122,82,1,'69123',2,'Rhône-Alpes',1),(123,83,1,'63113',1,'Auvergne',1),(124,91,1,'34172',2,'Languedoc-Roussillon',1),(125,93,1,'13055',0,'Provence-Alpes-Côte d\'Azur',1),(126,94,1,'2A004',0,'Corse',1),(201,201,2,'',1,'Flandre',1),(202,202,2,'',2,'Wallonie',1),(203,203,2,'',3,'Bruxelles-Capitale',1),(301,301,3,NULL,1,'Abruzzo',1),(302,302,3,NULL,1,'Basilicata',1),(303,303,3,NULL,1,'Calabria',1),(304,304,3,NULL,1,'Campania',1),(305,305,3,NULL,1,'Emilia-Romagna',1),(306,306,3,NULL,1,'Friuli-Venezia Giulia',1),(307,307,3,NULL,1,'Lazio',1),(308,308,3,NULL,1,'Liguria',1),(309,309,3,NULL,1,'Lombardia',1),(310,310,3,NULL,1,'Marche',1),(311,311,3,NULL,1,'Molise',1),(312,312,3,NULL,1,'Piemonte',1),(313,313,3,NULL,1,'Puglia',1),(314,314,3,NULL,1,'Sardegna',1),(315,315,3,NULL,1,'Sicilia',1),(316,316,3,NULL,1,'Toscana',1),(317,317,3,NULL,1,'Trentino-Alto Adige',1),(318,318,3,NULL,1,'Umbria',1),(319,319,3,NULL,1,'Valle d Aosta',1),(320,320,3,NULL,1,'Veneto',1),(401,401,4,'',0,'Andalucia',1),(402,402,4,'',0,'Aragón',1),(403,403,4,'',0,'Castilla y León',1),(404,404,4,'',0,'Castilla la Mancha',1),(405,405,4,'',0,'Canarias',1),(406,406,4,'',0,'Cataluña',1),(407,407,4,'',0,'Comunidad de Ceuta',1),(408,408,4,'',0,'Comunidad Foral de Navarra',1),(409,409,4,'',0,'Comunidad de Melilla',1),(410,410,4,'',0,'Cantabria',1),(411,411,4,'',0,'Comunidad Valenciana',1),(412,412,4,'',0,'Extemadura',1),(413,413,4,'',0,'Galicia',1),(414,414,4,'',0,'Islas Baleares',1),(415,415,4,'',0,'La Rioja',1),(416,416,4,'',0,'Comunidad de Madrid',1),(417,417,4,'',0,'Región de Murcia',1),(418,418,4,'',0,'Principado de Asturias',1),(419,419,4,'',0,'Pais Vasco',1),(420,420,4,'',0,'Otros',1),(601,601,6,'',1,'Cantons',1),(1001,1001,10,'',0,'Ariana',1),(1002,1002,10,'',0,'Béja',1),(1003,1003,10,'',0,'Ben Arous',1),(1004,1004,10,'',0,'Bizerte',1),(1005,1005,10,'',0,'Gabès',1),(1006,1006,10,'',0,'Gafsa',1),(1007,1007,10,'',0,'Jendouba',1),(1008,1008,10,'',0,'Kairouan',1),(1009,1009,10,'',0,'Kasserine',1),(1010,1010,10,'',0,'Kébili',1),(1011,1011,10,'',0,'La Manouba',1),(1012,1012,10,'',0,'Le Kef',1),(1013,1013,10,'',0,'Mahdia',1),(1014,1014,10,'',0,'Médenine',1),(1015,1015,10,'',0,'Monastir',1),(1016,1016,10,'',0,'Nabeul',1),(1017,1017,10,'',0,'Sfax',1),(1018,1018,10,'',0,'Sidi Bouzid',1),(1019,1019,10,'',0,'Siliana',1),(1020,1020,10,'',0,'Sousse',1),(1021,1021,10,'',0,'Tataouine',1),(1022,1022,10,'',0,'Tozeur',1),(1023,1023,10,'',0,'Tunis',1),(1024,1024,10,'',0,'Zaghouan',1),(1101,1101,11,'',0,'United-States',1),(2301,2301,23,'',0,'Norte',1),(2302,2302,23,'',0,'Litoral',1),(2303,2303,23,'',0,'Cuyana',1),(2304,2304,23,'',0,'Central',1),(2305,2305,23,'',0,'Patagonia',1),(2801,2801,28,'',0,'Australia',1),(8601,8601,86,NULL,NULL,'Central',1),(8602,8602,86,NULL,NULL,'Oriental',1),(8603,8603,86,NULL,NULL,'Occidental',1),(11701,11701,117,'',0,'India',1),(15201,15201,152,'',0,'Rivière Noire',1),(15202,15202,152,'',0,'Flacq',1),(15203,15203,152,'',0,'Grand Port',1),(15204,15204,152,'',0,'Moka',1),(15205,15205,152,'',0,'Pamplemousses',1),(15206,15206,152,'',0,'Plaines Wilhems',1),(15207,15207,152,'',0,'Port-Louis',1),(15208,15208,152,'',0,'Rivière du Rempart',1),(15209,15209,152,'',0,'Savanne',1),(15210,15210,152,'',0,'Rodrigues',1),(15211,15211,152,'',0,'Les îles Agaléga',1),(15212,15212,152,'',0,'Les écueils des Cargados Carajos',1),(6701,6701,67,NULL,NULL,'Tarapacá',1),(6702,6702,67,NULL,NULL,'Antofagasta',1),(6703,6703,67,NULL,NULL,'Atacama',1),(6704,6704,67,NULL,NULL,'Coquimbo',1),(6705,6705,67,NULL,NULL,'Valparaíso',1),(6706,6706,67,NULL,NULL,'General Bernardo O Higgins',1),(6707,6707,67,NULL,NULL,'Maule',1),(6708,6708,67,NULL,NULL,'Biobío',1),(6709,6709,67,NULL,NULL,'Raucanía',1),(6710,6710,67,NULL,NULL,'Los Lagos',1),(6711,6711,67,NULL,NULL,'Aysén General Carlos Ibáñez del Campo',1),(6712,6712,67,NULL,NULL,'Magallanes y Antártica Chilena',1),(6713,6713,67,NULL,NULL,'Santiago',1),(6714,6714,67,NULL,NULL,'Los Ríos',1),(6715,6715,67,NULL,NULL,'Arica y Parinacota',1),(15401,15401,154,'',0,'Mexique',1),(7001,7001,70,'',0,'Colombie',1),(11401,11401,114,'',0,'Honduras',1),(4601,4601,46,'Bridgetown',0,'Barbados',1);
  3.1207 +/*!40000 ALTER TABLE `llx_c_regions` ENABLE KEYS */;
  3.1208 +UNLOCK TABLES;
  3.1209 +
  3.1210 +--
  3.1211 +-- Table structure for table `llx_c_shipment_mode`
  3.1212 +--
  3.1213 +
  3.1214 +DROP TABLE IF EXISTS `llx_c_shipment_mode`;
  3.1215 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1216 +/*!40101 SET character_set_client = utf8 */;
  3.1217 +CREATE TABLE `llx_c_shipment_mode` (
  3.1218 +  `rowid` int(11) NOT NULL,
  3.1219 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1220 +  `code` varchar(30) NOT NULL,
  3.1221 +  `libelle` varchar(50) NOT NULL,
  3.1222 +  `description` text,
  3.1223 +  `active` tinyint(4) DEFAULT '0',
  3.1224 +  `module` varchar(32) DEFAULT NULL,
  3.1225 +  PRIMARY KEY (`rowid`)
  3.1226 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1227 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1228 +
  3.1229 +--
  3.1230 +-- Dumping data for table `llx_c_shipment_mode`
  3.1231 +--
  3.1232 +
  3.1233 +LOCK TABLES `llx_c_shipment_mode` WRITE;
  3.1234 +/*!40000 ALTER TABLE `llx_c_shipment_mode` DISABLE KEYS */;
  3.1235 +INSERT INTO `llx_c_shipment_mode` VALUES (1,'2011-07-03 17:32:38','CATCH','Catch','Catch by client',1,NULL),(2,'2011-07-03 17:32:38','TRANS','Transporter','Generic transporter',1,NULL),(3,'2011-07-03 17:32:38','COLSUI','Colissimo Suivi','Colissimo Suivi',0,NULL),(4,'2012-02-25 07:44:57','LETTREMAX','Lettre Max','Courrier Suivi et Lettre Max',0,NULL);
  3.1236 +/*!40000 ALTER TABLE `llx_c_shipment_mode` ENABLE KEYS */;
  3.1237 +UNLOCK TABLES;
  3.1238 +
  3.1239 +--
  3.1240 +-- Table structure for table `llx_c_stcomm`
  3.1241 +--
  3.1242 +
  3.1243 +DROP TABLE IF EXISTS `llx_c_stcomm`;
  3.1244 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1245 +/*!40101 SET character_set_client = utf8 */;
  3.1246 +CREATE TABLE `llx_c_stcomm` (
  3.1247 +  `id` int(11) NOT NULL,
  3.1248 +  `code` varchar(12) NOT NULL,
  3.1249 +  `libelle` varchar(30) DEFAULT NULL,
  3.1250 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1251 +  PRIMARY KEY (`id`),
  3.1252 +  UNIQUE KEY `code` (`code`)
  3.1253 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1254 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1255 +
  3.1256 +--
  3.1257 +-- Dumping data for table `llx_c_stcomm`
  3.1258 +--
  3.1259 +
  3.1260 +LOCK TABLES `llx_c_stcomm` WRITE;
  3.1261 +/*!40000 ALTER TABLE `llx_c_stcomm` DISABLE KEYS */;
  3.1262 +INSERT INTO `llx_c_stcomm` VALUES (-1,'ST_NO','Ne pas contacter',1),(0,'ST_NEVER','Jamais contacté',1),(1,'ST_TODO','A contacter',1),(2,'ST_PEND','Contact en cours',1),(3,'ST_DONE','Contactée',1);
  3.1263 +/*!40000 ALTER TABLE `llx_c_stcomm` ENABLE KEYS */;
  3.1264 +UNLOCK TABLES;
  3.1265 +
  3.1266 +--
  3.1267 +-- Table structure for table `llx_c_tva`
  3.1268 +--
  3.1269 +
  3.1270 +DROP TABLE IF EXISTS `llx_c_tva`;
  3.1271 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1272 +/*!40101 SET character_set_client = utf8 */;
  3.1273 +CREATE TABLE `llx_c_tva` (
  3.1274 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1275 +  `fk_pays` int(11) NOT NULL,
  3.1276 +  `taux` double NOT NULL,
  3.1277 +  `localtax1` double NOT NULL DEFAULT '0',
  3.1278 +  `localtax2` double NOT NULL DEFAULT '0',
  3.1279 +  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  3.1280 +  `note` varchar(128) DEFAULT NULL,
  3.1281 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1282 +  `accountancy_code` varchar(15) DEFAULT NULL,
  3.1283 +  PRIMARY KEY (`rowid`)
  3.1284 +) ENGINE=MyISAM AUTO_INCREMENT=2462 DEFAULT CHARSET=utf8;
  3.1285 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1286 +
  3.1287 +--
  3.1288 +-- Dumping data for table `llx_c_tva`
  3.1289 +--
  3.1290 +
  3.1291 +LOCK TABLES `llx_c_tva` WRITE;
  3.1292 +/*!40000 ALTER TABLE `llx_c_tva` DISABLE KEYS */;
  3.1293 +INSERT INTO `llx_c_tva` VALUES (231,23,21,0,0,0,'IVA standard rate',1,NULL),(232,23,10.5,0,0,0,'IVA reduced rate',1,NULL),(233,23,0,0,0,0,'IVA Rate 0',1,NULL),(281,28,10,0,0,0,'VAT standard rate',1,NULL),(282,28,0,0,0,0,'VAT Rate 0',1,NULL),(411,41,20,0,0,0,'VAT standard rate',1,NULL),(412,41,10,0,0,0,'VAT reduced rate',1,NULL),(413,41,0,0,0,0,'VAT Rate 0',1,NULL),(591,59,20,0,0,0,'VAT standard rate',1,NULL),(592,59,7,0,0,0,'VAT reduced rate',1,NULL),(593,59,0,0,0,0,'VAT Rate 0',1,NULL),(21,2,21,0,0,0,'VAT standard rate',1,NULL),(22,2,6,0,0,0,'VAT reduced rate',1,NULL),(23,2,0,0,0,0,'VAT Rate 0 ou non applicable',1,NULL),(24,2,12,0,0,0,'VAT reduced rate',1,NULL),(141,14,7,0,0,0,'VAT standard rate',1,NULL),(142,14,0,0,0,0,'VAT Rate 0',1,NULL),(671,67,19,0,0,0,'VAT standard rate',1,NULL),(672,67,0,0,0,0,'VAT Rate 0',1,NULL),(91,9,17,0,0,0,'VAT standard rate',1,NULL),(92,9,13,0,0,0,'VAT reduced rate 0',1,NULL),(93,9,3,0,0,0,'VAT super reduced rate 0',1,NULL),(94,9,0,0,0,0,'VAT Rate 0',1,NULL),(801,80,25,0,0,0,'VAT standard rate',1,NULL),(802,80,0,0,0,0,'VAT Rate 0',1,NULL),(11,1,19.6,0,0,0,'VAT standard rate (France hors DOM-TOM)',1,NULL),(12,1,8.5,0,0,0,'VAT standard rate (DOM sauf Guyane et Saint-Martin)',0,NULL),(13,1,8.5,0,0,1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL),(14,1,5.5,0,0,0,'VAT reduced rate (France hors DOM-TOM)',1,NULL),(15,1,0,0,0,0,'VAT Rate 0 ou non applicable',1,NULL),(16,1,2.1,0,0,0,'VAT super-reduced rate',1,NULL),(51,5,19,0,0,0,'VAT standard rate',1,NULL),(52,5,7,0,0,0,'VAT reduced rate',1,NULL),(53,5,0,0,0,0,'VAT Rate 0',1,NULL),(1161,116,25.5,0,0,0,'VAT standard rate',1,NULL),(1162,116,7,0,0,0,'VAT reduced rate',1,NULL),(1163,116,0,0,0,0,'VAT rate 0',1,NULL),(31,3,20,0,0,0,'VAT standard rate',1,NULL),(32,3,10,0,0,0,'VAT reduced rate',1,NULL),(33,3,4,0,0,0,'VAT super-reduced rate',1,NULL),(34,3,0,0,0,0,'VAT Rate 0',1,NULL),(1171,117,12.5,0,0,0,'VAT standard rate',1,NULL),(1172,117,4,0,0,0,'VAT reduced rate',1,NULL),(1173,117,1,0,0,0,'VAT super-reduced rate',1,NULL),(1174,117,0,0,0,0,'VAT Rate 0',1,NULL),(1231,123,0,0,0,0,'VAT Rate 0',1,NULL),(1232,123,5,0,0,0,'VAT Rate 5',1,NULL),(1401,140,15,0,0,0,'VAT standard rate',1,NULL),(1402,140,12,0,0,0,'VAT reduced rate',1,NULL),(1403,140,6,0,0,0,'VAT reduced rate',1,NULL),(1404,140,3,0,0,0,'VAT super-reduced rate',1,NULL),(1405,140,0,0,0,0,'VAT Rate 0',1,NULL),(121,12,20,0,0,0,'VAT standard rate',1,NULL),(122,12,14,0,0,0,'VAT reduced rate',1,NULL),(123,12,10,0,0,0,'VAT reduced rate',1,NULL),(124,12,7,0,0,0,'VAT super-reduced rate',1,NULL),(125,12,0,0,0,0,'VAT Rate 0',1,NULL),(171,17,19,0,0,0,'VAT standard rate',1,NULL),(172,17,6,0,0,0,'VAT reduced rate',1,NULL),(173,17,0,0,0,0,'VAT Rate 0',1,NULL),(1662,166,15,0,0,0,'VAT standard rate',1,NULL),(1663,166,0,0,0,0,'VAT Rate 0',1,NULL),(1841,184,20,0,0,0,'VAT standard rate',1,NULL),(1842,184,7,0,0,0,'VAT reduced rate',1,NULL),(1843,184,3,0,0,0,'VAT reduced rate',1,NULL),(1844,184,0,0,0,0,'VAT Rate 0',1,NULL),(251,25,20,0,0,0,'VAT standard rate',1,NULL),(252,25,12,0,0,0,'VAT reduced rate',1,NULL),(253,25,0,0,0,0,'VAT Rate 0',1,NULL),(254,25,5,0,0,0,'VAT reduced rate',1,NULL),(1881,188,24,0,0,0,'VAT standard rate',1,NULL),(1882,188,9,0,0,0,'VAT reduced rate',1,NULL),(1884,188,5,0,0,0,'VAT reduced rate',1,NULL),(1883,188,0,0,0,0,'VAT Rate 0',1,NULL),(861,86,13,0,0,0,'IVA 13',1,NULL),(862,86,0,0,0,0,'SIN IVA',1,NULL),(2011,201,19,0,0,0,'VAT standard rate',1,NULL),(2012,201,10,0,0,0,'VAT reduced rate',1,NULL),(2013,201,0,0,0,0,'VAT Rate 0',1,NULL),(2021,202,20,0,0,0,'VAT standard rate',1,NULL),(2022,202,8.5,0,0,0,'VAT reduced rate',1,NULL),(2023,202,0,0,0,0,'VAT Rate 0',1,NULL),(41,4,18,4,0,0,'VAT standard rate',1,NULL),(42,4,8,1,0,0,'VAT reduced rate',1,NULL),(43,4,4,0.5,0,0,'VAT super-reduced rate',1,NULL),(44,4,0,0,0,0,'VAT Rate 0',1,NULL),(201,20,25,0,0,0,'VAT standard rate',1,NULL),(202,20,12,0,0,0,'VAT reduced rate',1,NULL),(203,20,6,0,0,0,'VAT super-reduced rate',1,NULL),(204,20,0,0,0,0,'VAT Rate 0',1,NULL),(61,6,7.6,0,0,0,'VAT standard rate',1,NULL),(62,6,3.6,0,0,0,'VAT reduced rate',1,NULL),(63,6,2.4,0,0,0,'VAT super-reduced rate',1,NULL),(64,6,0,0,0,0,'VAT Rate 0',1,NULL),(101,10,6,0,0,0,'VAT 6%',1,NULL),(102,10,12,0,0,0,'VAT 12%',1,NULL),(103,10,18,0,0,0,'VAT 18%',1,NULL),(104,10,7.5,0,0,0,'VAT 6% Majoré à 25% (7.5%)',1,NULL),(105,10,15,0,0,0,'VAT 12% Majoré à 25% (15%)',1,NULL),(106,10,22.5,0,0,0,'VAT 18% Majoré à 25% (22.5%)',1,NULL),(107,10,0,0,0,0,'VAT Rate 0',1,NULL),(71,7,20,0,0,0,'VAT standard rate',1,NULL),(72,7,17.5,0,0,0,'VAT standard rate before 2011',1,NULL),(73,7,5,0,0,0,'VAT reduced rate',1,NULL),(74,7,0,0,0,0,'VAT Rate 0',1,NULL),(111,11,0,0,0,0,'No Sales Tax',1,NULL),(112,11,4,0,0,0,'Sales Tax 4%',1,NULL),(113,11,6,0,0,0,'Sales Tax 6%',1,NULL),(1931,193,0,0,0,0,'No VAT in SPM',1,NULL),(2461,246,0,0,0,0,'VAT Rate 0',1,NULL),(1521,152,0,0,0,0,'VAT Rate 0',1,NULL),(1522,152,15,0,0,0,'VAT Rate 15',1,NULL),(1141,114,0,0,0,0,'No ISV',1,NULL),(1142,114,12,0,0,0,'ISV 12%',1,NULL),(1541,154,0,0,0,0,'No VAT',1,NULL),(1542,154,16,0,0,0,'VAT 16%',1,NULL),(1543,154,10,0,0,0,'VAT Frontero',1,NULL),(461,46,0,0,0,0,'No VAT',1,NULL),(462,46,15,0,0,0,'VAT 15%',1,NULL),(463,46,7.5,0,0,0,'VAT 7.5%',1,NULL);
  3.1294 +/*!40000 ALTER TABLE `llx_c_tva` ENABLE KEYS */;
  3.1295 +UNLOCK TABLES;
  3.1296 +
  3.1297 +--
  3.1298 +-- Table structure for table `llx_c_type_contact`
  3.1299 +--
  3.1300 +
  3.1301 +DROP TABLE IF EXISTS `llx_c_type_contact`;
  3.1302 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1303 +/*!40101 SET character_set_client = utf8 */;
  3.1304 +CREATE TABLE `llx_c_type_contact` (
  3.1305 +  `rowid` int(11) NOT NULL,
  3.1306 +  `element` varchar(30) NOT NULL,
  3.1307 +  `source` varchar(8) NOT NULL DEFAULT 'external',
  3.1308 +  `code` varchar(16) NOT NULL,
  3.1309 +  `libelle` varchar(64) NOT NULL,
  3.1310 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1311 +  `module` varchar(32) DEFAULT NULL,
  3.1312 +  PRIMARY KEY (`rowid`),
  3.1313 +  UNIQUE KEY `idx_c_type_contact_uk` (`element`,`source`,`code`)
  3.1314 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1315 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1316 +
  3.1317 +--
  3.1318 +-- Dumping data for table `llx_c_type_contact`
  3.1319 +--
  3.1320 +
  3.1321 +LOCK TABLES `llx_c_type_contact` WRITE;
  3.1322 +/*!40000 ALTER TABLE `llx_c_type_contact` DISABLE KEYS */;
  3.1323 +INSERT INTO `llx_c_type_contact` VALUES (10,'contrat','internal','SALESREPSIGN','Commercial signataire du contrat',1,NULL),(11,'contrat','internal','SALESREPFOLL','Commercial suivi du contrat',1,NULL),(20,'contrat','external','BILLING','Contact client facturation contrat',1,NULL),(21,'contrat','external','CUSTOMER','Contact client suivi contrat',1,NULL),(22,'contrat','external','SALESREPSIGN','Contact client signataire contrat',1,NULL),(31,'propal','internal','SALESREPFOLL','Commercial à l\'origine de la propale',1,NULL),(40,'propal','external','BILLING','Contact client facturation propale',1,NULL),(41,'propal','external','CUSTOMER','Contact client suivi propale',1,NULL),(50,'facture','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL),(60,'facture','external','BILLING','Contact client facturation',1,NULL),(61,'facture','external','SHIPPING','Contact client livraison',1,NULL),(62,'facture','external','SERVICE','Contact client prestation',1,NULL),(70,'invoice_supplier','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL),(71,'invoice_supplier','external','BILLING','Contact fournisseur facturation',1,NULL),(72,'invoice_supplier','external','SHIPPING','Contact fournisseur livraison',1,NULL),(73,'invoice_supplier','external','SERVICE','Contact fournisseur prestation',1,NULL),(91,'commande','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL),(100,'commande','external','BILLING','Contact client facturation commande',1,NULL),(101,'commande','external','CUSTOMER','Contact client suivi commande',1,NULL),(102,'commande','external','SHIPPING','Contact client livraison commande',1,NULL),(120,'fichinter','internal','INTERREPFOLL','Responsable suivi de l\'intervention',1,NULL),(121,'fichinter','internal','INTERVENING','Intervenant',1,NULL),(130,'fichinter','external','BILLING','Contact client facturation intervention',1,NULL),(131,'fichinter','external','CUSTOMER','Contact client suivi de l\'intervention',1,NULL),(140,'order_supplier','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL),(141,'order_supplier','internal','SHIPPING','Responsable réception de la commande',1,NULL),(142,'order_supplier','external','BILLING','Contact fournisseur facturation commande',1,NULL),(143,'order_supplier','external','CUSTOMER','Contact fournisseur suivi commande',1,NULL),(145,'order_supplier','external','SHIPPING','Contact fournisseur livraison commande',1,NULL),(160,'project','internal','PROJECTLEADER','Chef de Projet',1,NULL),(161,'project','internal','CONTRIBUTOR','Intervenant',1,NULL),(170,'project','external','PROJECTLEADER','Chef de Projet',1,NULL),(171,'project','external','CONTRIBUTOR','Intervenant',1,NULL),(180,'project_task','internal','TASKEXECUTIVE','Responsable',1,NULL),(181,'project_task','internal','CONTRIBUTOR','Intervenant',1,NULL),(190,'project_task','external','TASKEXECUTIVE','Responsable',1,NULL),(191,'project_task','external','CONTRIBUTOR','Intervenant',1,NULL);
  3.1324 +/*!40000 ALTER TABLE `llx_c_type_contact` ENABLE KEYS */;
  3.1325 +UNLOCK TABLES;
  3.1326 +
  3.1327 +--
  3.1328 +-- Table structure for table `llx_c_type_fees`
  3.1329 +--
  3.1330 +
  3.1331 +DROP TABLE IF EXISTS `llx_c_type_fees`;
  3.1332 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1333 +/*!40101 SET character_set_client = utf8 */;
  3.1334 +CREATE TABLE `llx_c_type_fees` (
  3.1335 +  `id` int(11) NOT NULL AUTO_INCREMENT,
  3.1336 +  `code` varchar(12) NOT NULL,
  3.1337 +  `libelle` varchar(30) DEFAULT NULL,
  3.1338 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1339 +  `module` varchar(32) DEFAULT NULL,
  3.1340 +  PRIMARY KEY (`id`),
  3.1341 +  UNIQUE KEY `code` (`code`)
  3.1342 +) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
  3.1343 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1344 +
  3.1345 +--
  3.1346 +-- Dumping data for table `llx_c_type_fees`
  3.1347 +--
  3.1348 +
  3.1349 +LOCK TABLES `llx_c_type_fees` WRITE;
  3.1350 +/*!40000 ALTER TABLE `llx_c_type_fees` DISABLE KEYS */;
  3.1351 +INSERT INTO `llx_c_type_fees` VALUES (1,'TF_OTHER','Other',1,NULL),(2,'TF_TRIP','Trip',1,NULL),(3,'TF_LUNCH','Lunch',1,NULL);
  3.1352 +/*!40000 ALTER TABLE `llx_c_type_fees` ENABLE KEYS */;
  3.1353 +UNLOCK TABLES;
  3.1354 +
  3.1355 +--
  3.1356 +-- Table structure for table `llx_c_typent`
  3.1357 +--
  3.1358 +
  3.1359 +DROP TABLE IF EXISTS `llx_c_typent`;
  3.1360 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1361 +/*!40101 SET character_set_client = utf8 */;
  3.1362 +CREATE TABLE `llx_c_typent` (
  3.1363 +  `id` int(11) NOT NULL,
  3.1364 +  `code` varchar(12) NOT NULL,
  3.1365 +  `libelle` varchar(30) DEFAULT NULL,
  3.1366 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1367 +  `module` varchar(32) DEFAULT NULL,
  3.1368 +  PRIMARY KEY (`id`),
  3.1369 +  UNIQUE KEY `code` (`code`)
  3.1370 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1371 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1372 +
  3.1373 +--
  3.1374 +-- Dumping data for table `llx_c_typent`
  3.1375 +--
  3.1376 +
  3.1377 +LOCK TABLES `llx_c_typent` WRITE;
  3.1378 +/*!40000 ALTER TABLE `llx_c_typent` DISABLE KEYS */;
  3.1379 +INSERT INTO `llx_c_typent` VALUES (0,'TE_UNKNOWN','-',1,NULL),(1,'TE_STARTUP','Start-up',0,NULL),(2,'TE_GROUP','Grand groupe',1,NULL),(3,'TE_MEDIUM','PME/PMI',1,NULL),(4,'TE_SMALL','TPE',1,NULL),(5,'TE_ADMIN','Administration',1,NULL),(6,'TE_WHOLE','Grossiste',0,NULL),(7,'TE_RETAIL','Revendeur',0,NULL),(8,'TE_PRIVATE','Particulier',1,NULL),(100,'TE_OTHER','Autres',1,NULL);
  3.1380 +/*!40000 ALTER TABLE `llx_c_typent` ENABLE KEYS */;
  3.1381 +UNLOCK TABLES;
  3.1382 +
  3.1383 +--
  3.1384 +-- Table structure for table `llx_c_ziptown`
  3.1385 +--
  3.1386 +
  3.1387 +DROP TABLE IF EXISTS `llx_c_ziptown`;
  3.1388 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1389 +/*!40101 SET character_set_client = utf8 */;
  3.1390 +CREATE TABLE `llx_c_ziptown` (
  3.1391 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1392 +  `code` varchar(5) DEFAULT NULL,
  3.1393 +  `fk_county` int(11) DEFAULT NULL,
  3.1394 +  `fk_pays` int(11) NOT NULL DEFAULT '0',
  3.1395 +  `zip` varchar(10) NOT NULL,
  3.1396 +  `town` varchar(255) NOT NULL,
  3.1397 +  `active` tinyint(4) NOT NULL DEFAULT '1',
  3.1398 +  PRIMARY KEY (`rowid`),
  3.1399 +  KEY `idx_c_ziptown_fk_county` (`fk_county`)
  3.1400 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1401 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1402 +
  3.1403 +--
  3.1404 +-- Dumping data for table `llx_c_ziptown`
  3.1405 +--
  3.1406 +
  3.1407 +LOCK TABLES `llx_c_ziptown` WRITE;
  3.1408 +/*!40000 ALTER TABLE `llx_c_ziptown` DISABLE KEYS */;
  3.1409 +/*!40000 ALTER TABLE `llx_c_ziptown` ENABLE KEYS */;
  3.1410 +UNLOCK TABLES;
  3.1411 +
  3.1412 +--
  3.1413 +-- Table structure for table `llx_categorie`
  3.1414 +--
  3.1415 +
  3.1416 +DROP TABLE IF EXISTS `llx_categorie`;
  3.1417 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1418 +/*!40101 SET character_set_client = utf8 */;
  3.1419 +CREATE TABLE `llx_categorie` (
  3.1420 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1421 +  `label` varchar(255) DEFAULT NULL,
  3.1422 +  `type` tinyint(4) NOT NULL DEFAULT '1',
  3.1423 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1424 +  `description` text,
  3.1425 +  `fk_soc` int(11) DEFAULT NULL,
  3.1426 +  `visible` tinyint(4) NOT NULL DEFAULT '1',
  3.1427 +  `import_key` varchar(14) DEFAULT NULL,
  3.1428 +  PRIMARY KEY (`rowid`),
  3.1429 +  UNIQUE KEY `uk_categorie_ref` (`label`,`type`,`entity`),
  3.1430 +  KEY `idx_categorie_type` (`type`)
  3.1431 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1432 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1433 +
  3.1434 +--
  3.1435 +-- Dumping data for table `llx_categorie`
  3.1436 +--
  3.1437 +
  3.1438 +LOCK TABLES `llx_categorie` WRITE;
  3.1439 +/*!40000 ALTER TABLE `llx_categorie` DISABLE KEYS */;
  3.1440 +/*!40000 ALTER TABLE `llx_categorie` ENABLE KEYS */;
  3.1441 +UNLOCK TABLES;
  3.1442 +
  3.1443 +--
  3.1444 +-- Table structure for table `llx_categorie_association`
  3.1445 +--
  3.1446 +
  3.1447 +DROP TABLE IF EXISTS `llx_categorie_association`;
  3.1448 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1449 +/*!40101 SET character_set_client = utf8 */;
  3.1450 +CREATE TABLE `llx_categorie_association` (
  3.1451 +  `fk_categorie_mere` int(11) NOT NULL,
  3.1452 +  `fk_categorie_fille` int(11) NOT NULL,
  3.1453 +  UNIQUE KEY `uk_categorie_association` (`fk_categorie_mere`,`fk_categorie_fille`),
  3.1454 +  UNIQUE KEY `uk_categorie_association_fk_categorie_fille` (`fk_categorie_fille`)
  3.1455 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1456 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1457 +
  3.1458 +--
  3.1459 +-- Dumping data for table `llx_categorie_association`
  3.1460 +--
  3.1461 +
  3.1462 +LOCK TABLES `llx_categorie_association` WRITE;
  3.1463 +/*!40000 ALTER TABLE `llx_categorie_association` DISABLE KEYS */;
  3.1464 +/*!40000 ALTER TABLE `llx_categorie_association` ENABLE KEYS */;
  3.1465 +UNLOCK TABLES;
  3.1466 +
  3.1467 +--
  3.1468 +-- Table structure for table `llx_categorie_fournisseur`
  3.1469 +--
  3.1470 +
  3.1471 +DROP TABLE IF EXISTS `llx_categorie_fournisseur`;
  3.1472 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1473 +/*!40101 SET character_set_client = utf8 */;
  3.1474 +CREATE TABLE `llx_categorie_fournisseur` (
  3.1475 +  `fk_categorie` int(11) NOT NULL,
  3.1476 +  `fk_societe` int(11) NOT NULL,
  3.1477 +  UNIQUE KEY `fk_categorie` (`fk_categorie`,`fk_societe`)
  3.1478 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1479 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1480 +
  3.1481 +--
  3.1482 +-- Dumping data for table `llx_categorie_fournisseur`
  3.1483 +--
  3.1484 +
  3.1485 +LOCK TABLES `llx_categorie_fournisseur` WRITE;
  3.1486 +/*!40000 ALTER TABLE `llx_categorie_fournisseur` DISABLE KEYS */;
  3.1487 +/*!40000 ALTER TABLE `llx_categorie_fournisseur` ENABLE KEYS */;
  3.1488 +UNLOCK TABLES;
  3.1489 +
  3.1490 +--
  3.1491 +-- Table structure for table `llx_categorie_member`
  3.1492 +--
  3.1493 +
  3.1494 +DROP TABLE IF EXISTS `llx_categorie_member`;
  3.1495 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1496 +/*!40101 SET character_set_client = utf8 */;
  3.1497 +CREATE TABLE `llx_categorie_member` (
  3.1498 +  `fk_categorie` int(11) NOT NULL,
  3.1499 +  `fk_member` int(11) NOT NULL,
  3.1500 +  PRIMARY KEY (`fk_categorie`,`fk_member`),
  3.1501 +  KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
  3.1502 +  KEY `idx_categorie_member_fk_member` (`fk_member`)
  3.1503 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1504 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1505 +
  3.1506 +--
  3.1507 +-- Dumping data for table `llx_categorie_member`
  3.1508 +--
  3.1509 +
  3.1510 +LOCK TABLES `llx_categorie_member` WRITE;
  3.1511 +/*!40000 ALTER TABLE `llx_categorie_member` DISABLE KEYS */;
  3.1512 +/*!40000 ALTER TABLE `llx_categorie_member` ENABLE KEYS */;
  3.1513 +UNLOCK TABLES;
  3.1514 +
  3.1515 +--
  3.1516 +-- Table structure for table `llx_categorie_product`
  3.1517 +--
  3.1518 +
  3.1519 +DROP TABLE IF EXISTS `llx_categorie_product`;
  3.1520 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1521 +/*!40101 SET character_set_client = utf8 */;
  3.1522 +CREATE TABLE `llx_categorie_product` (
  3.1523 +  `fk_categorie` int(11) NOT NULL,
  3.1524 +  `fk_product` int(11) NOT NULL,
  3.1525 +  PRIMARY KEY (`fk_categorie`,`fk_product`),
  3.1526 +  KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
  3.1527 +  KEY `idx_categorie_product_fk_product` (`fk_product`)
  3.1528 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1529 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1530 +
  3.1531 +--
  3.1532 +-- Dumping data for table `llx_categorie_product`
  3.1533 +--
  3.1534 +
  3.1535 +LOCK TABLES `llx_categorie_product` WRITE;
  3.1536 +/*!40000 ALTER TABLE `llx_categorie_product` DISABLE KEYS */;
  3.1537 +/*!40000 ALTER TABLE `llx_categorie_product` ENABLE KEYS */;
  3.1538 +UNLOCK TABLES;
  3.1539 +
  3.1540 +--
  3.1541 +-- Table structure for table `llx_categorie_societe`
  3.1542 +--
  3.1543 +
  3.1544 +DROP TABLE IF EXISTS `llx_categorie_societe`;
  3.1545 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1546 +/*!40101 SET character_set_client = utf8 */;
  3.1547 +CREATE TABLE `llx_categorie_societe` (
  3.1548 +  `fk_categorie` int(11) NOT NULL,
  3.1549 +  `fk_societe` int(11) NOT NULL,
  3.1550 +  PRIMARY KEY (`fk_categorie`,`fk_societe`),
  3.1551 +  KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
  3.1552 +  KEY `idx_categorie_societe_fk_societe` (`fk_societe`)
  3.1553 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1554 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1555 +
  3.1556 +--
  3.1557 +-- Dumping data for table `llx_categorie_societe`
  3.1558 +--
  3.1559 +
  3.1560 +LOCK TABLES `llx_categorie_societe` WRITE;
  3.1561 +/*!40000 ALTER TABLE `llx_categorie_societe` DISABLE KEYS */;
  3.1562 +/*!40000 ALTER TABLE `llx_categorie_societe` ENABLE KEYS */;
  3.1563 +UNLOCK TABLES;
  3.1564 +
  3.1565 +--
  3.1566 +-- Table structure for table `llx_chargesociales`
  3.1567 +--
  3.1568 +
  3.1569 +DROP TABLE IF EXISTS `llx_chargesociales`;
  3.1570 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1571 +/*!40101 SET character_set_client = utf8 */;
  3.1572 +CREATE TABLE `llx_chargesociales` (
  3.1573 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1574 +  `date_ech` datetime NOT NULL,
  3.1575 +  `libelle` varchar(80) NOT NULL,
  3.1576 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1577 +  `fk_type` int(11) NOT NULL,
  3.1578 +  `amount` double NOT NULL DEFAULT '0',
  3.1579 +  `paye` smallint(6) NOT NULL DEFAULT '0',
  3.1580 +  `periode` date DEFAULT NULL,
  3.1581 +  PRIMARY KEY (`rowid`)
  3.1582 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1583 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1584 +
  3.1585 +--
  3.1586 +-- Dumping data for table `llx_chargesociales`
  3.1587 +--
  3.1588 +
  3.1589 +LOCK TABLES `llx_chargesociales` WRITE;
  3.1590 +/*!40000 ALTER TABLE `llx_chargesociales` DISABLE KEYS */;
  3.1591 +/*!40000 ALTER TABLE `llx_chargesociales` ENABLE KEYS */;
  3.1592 +UNLOCK TABLES;
  3.1593 +
  3.1594 +--
  3.1595 +-- Table structure for table `llx_commande`
  3.1596 +--
  3.1597 +
  3.1598 +DROP TABLE IF EXISTS `llx_commande`;
  3.1599 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1600 +/*!40101 SET character_set_client = utf8 */;
  3.1601 +CREATE TABLE `llx_commande` (
  3.1602 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1603 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1604 +  `fk_soc` int(11) NOT NULL,
  3.1605 +  `fk_projet` int(11) DEFAULT '0',
  3.1606 +  `ref` varchar(30) NOT NULL,
  3.1607 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1608 +  `ref_ext` varchar(50) DEFAULT NULL,
  3.1609 +  `ref_int` varchar(50) DEFAULT NULL,
  3.1610 +  `ref_client` varchar(50) DEFAULT NULL,
  3.1611 +  `date_creation` datetime DEFAULT NULL,
  3.1612 +  `date_valid` datetime DEFAULT NULL,
  3.1613 +  `date_cloture` datetime DEFAULT NULL,
  3.1614 +  `date_commande` date DEFAULT NULL,
  3.1615 +  `fk_user_author` int(11) DEFAULT NULL,
  3.1616 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.1617 +  `fk_user_cloture` int(11) DEFAULT NULL,
  3.1618 +  `source` smallint(6) DEFAULT NULL,
  3.1619 +  `fk_statut` smallint(6) DEFAULT '0',
  3.1620 +  `amount_ht` double DEFAULT '0',
  3.1621 +  `remise_percent` double DEFAULT '0',
  3.1622 +  `remise_absolue` double DEFAULT '0',
  3.1623 +  `remise` double DEFAULT '0',
  3.1624 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.1625 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.1626 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.1627 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.1628 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.1629 +  `note` text,
  3.1630 +  `note_public` text,
  3.1631 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.1632 +  `facture` tinyint(4) DEFAULT '0',
  3.1633 +  `fk_cond_reglement` int(11) DEFAULT NULL,
  3.1634 +  `fk_mode_reglement` int(11) DEFAULT NULL,
  3.1635 +  `date_livraison` date DEFAULT NULL,
  3.1636 +  `fk_availability` int(11) DEFAULT NULL,
  3.1637 +  `fk_demand_reason` int(11) DEFAULT NULL,
  3.1638 +  `fk_adresse_livraison` int(11) DEFAULT NULL,
  3.1639 +  `import_key` varchar(14) DEFAULT NULL,
  3.1640 +  PRIMARY KEY (`rowid`),
  3.1641 +  UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
  3.1642 +  KEY `idx_commande_fk_soc` (`fk_soc`)
  3.1643 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1644 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1645 +
  3.1646 +--
  3.1647 +-- Dumping data for table `llx_commande`
  3.1648 +--
  3.1649 +
  3.1650 +LOCK TABLES `llx_commande` WRITE;
  3.1651 +/*!40000 ALTER TABLE `llx_commande` DISABLE KEYS */;
  3.1652 +/*!40000 ALTER TABLE `llx_commande` ENABLE KEYS */;
  3.1653 +UNLOCK TABLES;
  3.1654 +
  3.1655 +--
  3.1656 +-- Table structure for table `llx_commande_fournisseur`
  3.1657 +--
  3.1658 +
  3.1659 +DROP TABLE IF EXISTS `llx_commande_fournisseur`;
  3.1660 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1661 +/*!40101 SET character_set_client = utf8 */;
  3.1662 +CREATE TABLE `llx_commande_fournisseur` (
  3.1663 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1664 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1665 +  `fk_soc` int(11) NOT NULL,
  3.1666 +  `ref` varchar(30) NOT NULL,
  3.1667 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1668 +  `ref_ext` varchar(30) DEFAULT NULL,
  3.1669 +  `ref_supplier` varchar(30) DEFAULT NULL,
  3.1670 +  `fk_projet` int(11) DEFAULT '0',
  3.1671 +  `date_creation` datetime DEFAULT NULL,
  3.1672 +  `date_valid` datetime DEFAULT NULL,
  3.1673 +  `date_cloture` datetime DEFAULT NULL,
  3.1674 +  `date_commande` date DEFAULT NULL,
  3.1675 +  `fk_user_author` int(11) DEFAULT NULL,
  3.1676 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.1677 +  `fk_user_cloture` int(11) DEFAULT NULL,
  3.1678 +  `source` smallint(6) NOT NULL,
  3.1679 +  `fk_statut` smallint(6) DEFAULT '0',
  3.1680 +  `amount_ht` double DEFAULT '0',
  3.1681 +  `remise_percent` double DEFAULT '0',
  3.1682 +  `remise` double DEFAULT '0',
  3.1683 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.1684 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.1685 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.1686 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.1687 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.1688 +  `note` text,
  3.1689 +  `note_public` text,
  3.1690 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.1691 +  `fk_cond_reglement` int(11) DEFAULT '0',
  3.1692 +  `fk_mode_reglement` int(11) DEFAULT '0',
  3.1693 +  `fk_methode_commande` int(11) DEFAULT '0',
  3.1694 +  `import_key` varchar(14) DEFAULT NULL,
  3.1695 +  PRIMARY KEY (`rowid`),
  3.1696 +  UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`),
  3.1697 +  KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`)
  3.1698 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1699 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1700 +
  3.1701 +--
  3.1702 +-- Dumping data for table `llx_commande_fournisseur`
  3.1703 +--
  3.1704 +
  3.1705 +LOCK TABLES `llx_commande_fournisseur` WRITE;
  3.1706 +/*!40000 ALTER TABLE `llx_commande_fournisseur` DISABLE KEYS */;
  3.1707 +/*!40000 ALTER TABLE `llx_commande_fournisseur` ENABLE KEYS */;
  3.1708 +UNLOCK TABLES;
  3.1709 +
  3.1710 +--
  3.1711 +-- Table structure for table `llx_commande_fournisseur_dispatch`
  3.1712 +--
  3.1713 +
  3.1714 +DROP TABLE IF EXISTS `llx_commande_fournisseur_dispatch`;
  3.1715 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1716 +/*!40101 SET character_set_client = utf8 */;
  3.1717 +CREATE TABLE `llx_commande_fournisseur_dispatch` (
  3.1718 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1719 +  `fk_commande` int(11) DEFAULT NULL,
  3.1720 +  `fk_product` int(11) DEFAULT NULL,
  3.1721 +  `qty` float DEFAULT NULL,
  3.1722 +  `fk_entrepot` int(11) DEFAULT NULL,
  3.1723 +  `fk_user` int(11) DEFAULT NULL,
  3.1724 +  `datec` datetime DEFAULT NULL,
  3.1725 +  PRIMARY KEY (`rowid`),
  3.1726 +  KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`)
  3.1727 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1728 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1729 +
  3.1730 +--
  3.1731 +-- Dumping data for table `llx_commande_fournisseur_dispatch`
  3.1732 +--
  3.1733 +
  3.1734 +LOCK TABLES `llx_commande_fournisseur_dispatch` WRITE;
  3.1735 +/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` DISABLE KEYS */;
  3.1736 +/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` ENABLE KEYS */;
  3.1737 +UNLOCK TABLES;
  3.1738 +
  3.1739 +--
  3.1740 +-- Table structure for table `llx_commande_fournisseur_log`
  3.1741 +--
  3.1742 +
  3.1743 +DROP TABLE IF EXISTS `llx_commande_fournisseur_log`;
  3.1744 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1745 +/*!40101 SET character_set_client = utf8 */;
  3.1746 +CREATE TABLE `llx_commande_fournisseur_log` (
  3.1747 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1748 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1749 +  `datelog` datetime NOT NULL,
  3.1750 +  `fk_commande` int(11) NOT NULL,
  3.1751 +  `fk_statut` smallint(6) NOT NULL,
  3.1752 +  `fk_user` int(11) NOT NULL,
  3.1753 +  `comment` varchar(255) DEFAULT NULL,
  3.1754 +  PRIMARY KEY (`rowid`)
  3.1755 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1756 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1757 +
  3.1758 +--
  3.1759 +-- Dumping data for table `llx_commande_fournisseur_log`
  3.1760 +--
  3.1761 +
  3.1762 +LOCK TABLES `llx_commande_fournisseur_log` WRITE;
  3.1763 +/*!40000 ALTER TABLE `llx_commande_fournisseur_log` DISABLE KEYS */;
  3.1764 +/*!40000 ALTER TABLE `llx_commande_fournisseur_log` ENABLE KEYS */;
  3.1765 +UNLOCK TABLES;
  3.1766 +
  3.1767 +--
  3.1768 +-- Table structure for table `llx_commande_fournisseurdet`
  3.1769 +--
  3.1770 +
  3.1771 +DROP TABLE IF EXISTS `llx_commande_fournisseurdet`;
  3.1772 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1773 +/*!40101 SET character_set_client = utf8 */;
  3.1774 +CREATE TABLE `llx_commande_fournisseurdet` (
  3.1775 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1776 +  `fk_commande` int(11) NOT NULL,
  3.1777 +  `fk_product` int(11) DEFAULT NULL,
  3.1778 +  `ref` varchar(50) DEFAULT NULL,
  3.1779 +  `label` varchar(255) DEFAULT NULL,
  3.1780 +  `description` text,
  3.1781 +  `tva_tx` double(6,3) DEFAULT '0.000',
  3.1782 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.1783 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.1784 +  `qty` double DEFAULT NULL,
  3.1785 +  `remise_percent` double DEFAULT '0',
  3.1786 +  `remise` double DEFAULT '0',
  3.1787 +  `subprice` double(24,8) DEFAULT '0.00000000',
  3.1788 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.1789 +  `total_tva` double(24,8) DEFAULT '0.00000000',
  3.1790 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.1791 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.1792 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.1793 +  `product_type` int(11) DEFAULT '0',
  3.1794 +  `date_start` datetime DEFAULT NULL,
  3.1795 +  `date_end` datetime DEFAULT NULL,
  3.1796 +  `info_bits` int(11) DEFAULT '0',
  3.1797 +  PRIMARY KEY (`rowid`)
  3.1798 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1799 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1800 +
  3.1801 +--
  3.1802 +-- Dumping data for table `llx_commande_fournisseurdet`
  3.1803 +--
  3.1804 +
  3.1805 +LOCK TABLES `llx_commande_fournisseurdet` WRITE;
  3.1806 +/*!40000 ALTER TABLE `llx_commande_fournisseurdet` DISABLE KEYS */;
  3.1807 +/*!40000 ALTER TABLE `llx_commande_fournisseurdet` ENABLE KEYS */;
  3.1808 +UNLOCK TABLES;
  3.1809 +
  3.1810 +--
  3.1811 +-- Table structure for table `llx_commandedet`
  3.1812 +--
  3.1813 +
  3.1814 +DROP TABLE IF EXISTS `llx_commandedet`;
  3.1815 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1816 +/*!40101 SET character_set_client = utf8 */;
  3.1817 +CREATE TABLE `llx_commandedet` (
  3.1818 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1819 +  `fk_commande` int(11) NOT NULL,
  3.1820 +  `fk_parent_line` int(11) DEFAULT NULL,
  3.1821 +  `fk_product` int(11) DEFAULT NULL,
  3.1822 +  `description` text,
  3.1823 +  `tva_tx` double(6,3) DEFAULT NULL,
  3.1824 +  `localtax1_tx` double(6,3) DEFAULT NULL,
  3.1825 +  `localtax2_tx` double(6,3) DEFAULT NULL,
  3.1826 +  `qty` double DEFAULT NULL,
  3.1827 +  `remise_percent` double DEFAULT '0',
  3.1828 +  `remise` double DEFAULT '0',
  3.1829 +  `fk_remise_except` int(11) DEFAULT NULL,
  3.1830 +  `price` double DEFAULT NULL,
  3.1831 +  `subprice` double(24,8) DEFAULT '0.00000000',
  3.1832 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.1833 +  `total_tva` double(24,8) DEFAULT '0.00000000',
  3.1834 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.1835 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.1836 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.1837 +  `product_type` int(11) DEFAULT '0',
  3.1838 +  `date_start` datetime DEFAULT NULL,
  3.1839 +  `date_end` datetime DEFAULT NULL,
  3.1840 +  `info_bits` int(11) DEFAULT '0',
  3.1841 +  `marge_tx` double(6,3) DEFAULT '0.000',
  3.1842 +  `marque_tx` double(6,3) DEFAULT '0.000',
  3.1843 +  `special_code` int(10) unsigned DEFAULT '0',
  3.1844 +  `rang` int(11) DEFAULT '0',
  3.1845 +  `import_key` varchar(14) DEFAULT NULL,
  3.1846 +  PRIMARY KEY (`rowid`),
  3.1847 +  KEY `idx_commandedet_fk_commande` (`fk_commande`),
  3.1848 +  KEY `idx_commandedet_fk_product` (`fk_product`)
  3.1849 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1850 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1851 +
  3.1852 +--
  3.1853 +-- Dumping data for table `llx_commandedet`
  3.1854 +--
  3.1855 +
  3.1856 +LOCK TABLES `llx_commandedet` WRITE;
  3.1857 +/*!40000 ALTER TABLE `llx_commandedet` DISABLE KEYS */;
  3.1858 +/*!40000 ALTER TABLE `llx_commandedet` ENABLE KEYS */;
  3.1859 +UNLOCK TABLES;
  3.1860 +
  3.1861 +--
  3.1862 +-- Table structure for table `llx_compta`
  3.1863 +--
  3.1864 +
  3.1865 +DROP TABLE IF EXISTS `llx_compta`;
  3.1866 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1867 +/*!40101 SET character_set_client = utf8 */;
  3.1868 +CREATE TABLE `llx_compta` (
  3.1869 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1870 +  `datec` datetime DEFAULT NULL,
  3.1871 +  `datev` date DEFAULT NULL,
  3.1872 +  `amount` double NOT NULL DEFAULT '0',
  3.1873 +  `label` varchar(255) DEFAULT NULL,
  3.1874 +  `fk_compta_account` int(11) DEFAULT NULL,
  3.1875 +  `fk_user_author` int(11) DEFAULT NULL,
  3.1876 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.1877 +  `valid` tinyint(4) DEFAULT '0',
  3.1878 +  `note` text,
  3.1879 +  PRIMARY KEY (`rowid`)
  3.1880 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1881 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1882 +
  3.1883 +--
  3.1884 +-- Dumping data for table `llx_compta`
  3.1885 +--
  3.1886 +
  3.1887 +LOCK TABLES `llx_compta` WRITE;
  3.1888 +/*!40000 ALTER TABLE `llx_compta` DISABLE KEYS */;
  3.1889 +/*!40000 ALTER TABLE `llx_compta` ENABLE KEYS */;
  3.1890 +UNLOCK TABLES;
  3.1891 +
  3.1892 +--
  3.1893 +-- Table structure for table `llx_compta_account`
  3.1894 +--
  3.1895 +
  3.1896 +DROP TABLE IF EXISTS `llx_compta_account`;
  3.1897 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1898 +/*!40101 SET character_set_client = utf8 */;
  3.1899 +CREATE TABLE `llx_compta_account` (
  3.1900 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1901 +  `datec` datetime DEFAULT NULL,
  3.1902 +  `number` varchar(12) DEFAULT NULL,
  3.1903 +  `label` varchar(255) DEFAULT NULL,
  3.1904 +  `fk_user_author` int(11) DEFAULT NULL,
  3.1905 +  `note` text,
  3.1906 +  PRIMARY KEY (`rowid`)
  3.1907 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1908 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1909 +
  3.1910 +--
  3.1911 +-- Dumping data for table `llx_compta_account`
  3.1912 +--
  3.1913 +
  3.1914 +LOCK TABLES `llx_compta_account` WRITE;
  3.1915 +/*!40000 ALTER TABLE `llx_compta_account` DISABLE KEYS */;
  3.1916 +/*!40000 ALTER TABLE `llx_compta_account` ENABLE KEYS */;
  3.1917 +UNLOCK TABLES;
  3.1918 +
  3.1919 +--
  3.1920 +-- Table structure for table `llx_compta_compte_generaux`
  3.1921 +--
  3.1922 +
  3.1923 +DROP TABLE IF EXISTS `llx_compta_compte_generaux`;
  3.1924 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1925 +/*!40101 SET character_set_client = utf8 */;
  3.1926 +CREATE TABLE `llx_compta_compte_generaux` (
  3.1927 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1928 +  `date_creation` datetime DEFAULT NULL,
  3.1929 +  `numero` varchar(50) DEFAULT NULL,
  3.1930 +  `intitule` varchar(255) DEFAULT NULL,
  3.1931 +  `fk_user_author` int(11) DEFAULT NULL,
  3.1932 +  `note` text,
  3.1933 +  PRIMARY KEY (`rowid`),
  3.1934 +  UNIQUE KEY `numero` (`numero`)
  3.1935 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.1936 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1937 +
  3.1938 +--
  3.1939 +-- Dumping data for table `llx_compta_compte_generaux`
  3.1940 +--
  3.1941 +
  3.1942 +LOCK TABLES `llx_compta_compte_generaux` WRITE;
  3.1943 +/*!40000 ALTER TABLE `llx_compta_compte_generaux` DISABLE KEYS */;
  3.1944 +/*!40000 ALTER TABLE `llx_compta_compte_generaux` ENABLE KEYS */;
  3.1945 +UNLOCK TABLES;
  3.1946 +
  3.1947 +--
  3.1948 +-- Table structure for table `llx_const`
  3.1949 +--
  3.1950 +
  3.1951 +DROP TABLE IF EXISTS `llx_const`;
  3.1952 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1953 +/*!40101 SET character_set_client = utf8 */;
  3.1954 +CREATE TABLE `llx_const` (
  3.1955 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1956 +  `name` varchar(255) NOT NULL,
  3.1957 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1958 +  `value` text NOT NULL,
  3.1959 +  `type` varchar(6) DEFAULT NULL,
  3.1960 +  `visible` tinyint(4) NOT NULL DEFAULT '1',
  3.1961 +  `note` text,
  3.1962 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1963 +  PRIMARY KEY (`rowid`),
  3.1964 +  UNIQUE KEY `uk_const` (`name`,`entity`)
  3.1965 +) ENGINE=MyISAM AUTO_INCREMENT=76 DEFAULT CHARSET=utf8;
  3.1966 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.1967 +
  3.1968 +--
  3.1969 +-- Dumping data for table `llx_const`
  3.1970 +--
  3.1971 +
  3.1972 +LOCK TABLES `llx_const` WRITE;
  3.1973 +/*!40000 ALTER TABLE `llx_const` DISABLE KEYS */;
  3.1974 +INSERT INTO `llx_const` VALUES (73,'MAIN_LANG_DEFAULT',1,'auto','chaine',0,'Default language','2011-07-03 17:33:30'),(2,'MAIN_FEATURES_LEVEL',0,'0','chaine',1,'Level of features to show (0=stable only, 1=stable+experimental, 2=stable+experimental+development','2011-07-03 17:32:38'),(4,'SYSLOG_FILE',0,'DOL_DATA_ROOT/dolibarr.log','chaine',0,'Directory where to write log file','2011-07-03 17:32:38'),(5,'SYSLOG_LEVEL',0,'7','chaine',0,'Level of debug info to show','2011-07-03 17:32:38'),(6,'MAIN_MAIL_SMTP_SERVER',0,'','chaine',0,'Host or ip address for SMTP server','2011-07-03 17:32:38'),(7,'MAIN_MAIL_SMTP_PORT',0,'','chaine',0,'Port for SMTP server','2011-07-03 17:32:38'),(8,'MAIN_UPLOAD_DOC',0,'2048','chaine',0,'Max size for file upload (0 means no upload allowed)','2011-07-03 17:32:38'),(9,'MAIN_SEARCHFORM_SOCIETE',0,'1','yesno',0,'Show form for quick company search','2011-07-03 17:32:38'),(10,'MAIN_SEARCHFORM_CONTACT',0,'1','yesno',0,'Show form for quick contact search','2011-07-03 17:32:38'),(11,'MAIN_SEARCHFORM_PRODUITSERVICE',0,'1','yesno',0,'Show form for quick product search','2011-07-03 17:32:38'),(12,'MAIN_SEARCHFORM_ADHERENT',0,'1','yesno',0,'Show form for quick member search','2011-07-03 17:32:38'),(75,'MAIN_VERSION_LAST_UPGRADE',0,'3.1.0','chaine',0,'Dolibarr version for last upgrade','2012-02-25 07:45:19'),(14,'MAIN_MONNAIE',1,'EUR','chaine',0,'Monnaie','2011-07-03 17:32:38'),(15,'MAIN_MAIL_EMAIL_FROM',1,'dolibarr-robot@domain.com','chaine',0,'EMail emetteur pour les emails automatiques Dolibarr','2011-07-03 17:32:38'),(16,'MAIN_SIZE_LISTE_LIMIT',0,'25','chaine',0,'Longueur maximum des listes','2011-07-03 17:32:38'),(17,'MAIN_SHOW_WORKBOARD',0,'1','yesno',0,'Affichage tableau de bord de travail Dolibarr','2011-07-03 17:32:38'),(20,'MAIN_MENU_SMARTPHONE',1,'iphone_backoffice.php','chaine',0,'Module de gestion de la barre de menu smartphone pour utilisateurs internes','2011-07-03 17:32:38'),(21,'MAIN_MENUFRONT_SMARTPHONE',1,'iphone_frontoffice.php','chaine',0,'Module de gestion de la barre de menu smartphone pour utilisateurs externes','2011-07-03 17:32:38'),(22,'MAIN_THEME',1,'eldy','chaine',0,'Default theme','2011-07-03 17:32:38'),(23,'MAIN_DELAY_ACTIONS_TODO',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées','2011-07-03 17:32:38'),(24,'MAIN_DELAY_ORDERS_TO_PROCESS',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées','2011-07-03 17:32:38'),(25,'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées','2011-07-03 17:32:38'),(26,'MAIN_DELAY_PROPALS_TO_CLOSE',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales à cloturer','2011-07-03 17:32:38'),(27,'MAIN_DELAY_PROPALS_TO_BILL',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales non facturées','2011-07-03 17:32:38'),(28,'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures client impayées','2011-07-03 17:32:38'),(29,'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées','2011-07-03 17:32:38'),(30,'MAIN_DELAY_NOT_ACTIVATED_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services à activer','2011-07-03 17:32:38'),(31,'MAIN_DELAY_RUNNING_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services expirés','2011-07-03 17:32:38'),(32,'MAIN_DELAY_MEMBERS',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard','2011-07-03 17:32:38'),(33,'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE',1,'62','chaine',0,'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire','2011-07-03 17:32:38'),(34,'SOCIETE_NOLIST_COURRIER',0,'1','yesno',0,'Liste les fichiers du repertoire courrier','2011-07-03 17:32:38'),(35,'SOCIETE_CODECLIENT_ADDON',1,'mod_codeclient_leopard','yesno',0,'Module to control third parties codes','2011-07-03 17:32:38'),(36,'SOCIETE_CODECOMPTA_ADDON',1,'mod_codecompta_panicum','yesno',0,'Module to control third parties codes','2011-07-03 17:32:38'),(37,'MAILING_EMAIL_FROM',1,'dolibarr@domain.com','chaine',0,'EMail emmetteur pour les envois d emailings','2011-07-03 17:32:38'),(38,'FCKEDITOR_ENABLE_USER',1,'1','yesno',0,'Activation fckeditor sur notes utilisateurs','2011-07-03 17:32:38'),(39,'FCKEDITOR_ENABLE_SOCIETE',1,'1','yesno',0,'Activation fckeditor sur notes societe','2011-07-03 17:32:38'),(40,'FCKEDITOR_ENABLE_PRODUCTDESC',1,'1','yesno',0,'Activation fckeditor sur notes produits','2011-07-03 17:32:38'),(41,'FCKEDITOR_ENABLE_MEMBER',1,'1','yesno',0,'Activation fckeditor sur notes adherent','2011-07-03 17:32:38'),(42,'FCKEDITOR_ENABLE_MAILING',1,'1','yesno',0,'Activation fckeditor sur emailing','2011-07-03 17:32:38'),(43,'OSC_DB_HOST',1,'localhost','chaine',0,'Host for OSC database for OSCommerce module 1','2011-07-03 17:32:38'),(44,'DON_ADDON_MODEL',1,'html_cerfafr','chaine',0,'','2011-07-03 17:32:38'),(45,'PROPALE_ADDON',1,'mod_propale_marbre','chaine',0,'','2011-07-03 17:32:38'),(46,'PROPALE_ADDON_PDF',1,'azur','chaine',0,'','2011-07-03 17:32:38'),(47,'COMMANDE_ADDON',1,'mod_commande_marbre','chaine',0,'','2011-07-03 17:32:38'),(48,'COMMANDE_ADDON_PDF',1,'einstein','chaine',0,'','2011-07-03 17:32:38'),(49,'COMMANDE_SUPPLIER_ADDON',1,'mod_commande_fournisseur_muguet','chaine',0,'','2011-07-03 17:32:38'),(50,'COMMANDE_SUPPLIER_ADDON_PDF',1,'muscadet','chaine',0,'','2011-07-03 17:32:38'),(51,'INVOICE_SUPPLIER_ADDON_PDF',1,'canelle','chaine',0,'','2011-07-03 17:32:38'),(52,'EXPEDITION_ADDON',1,'enlevement','chaine',0,'','2011-07-03 17:32:38'),(53,'EXPEDITION_ADDON_PDF',1,'rouget','chaine',0,'','2011-07-03 17:32:38'),(54,'FICHEINTER_ADDON',1,'pacific','chaine',0,'','2011-07-03 17:32:38'),(55,'FICHEINTER_ADDON_PDF',1,'soleil','chaine',0,'','2011-07-03 17:32:38'),(56,'FACTURE_ADDON',1,'terre','chaine',0,'','2011-07-03 17:32:38'),(57,'FACTURE_ADDON_PDF',1,'crabe','chaine',0,'','2011-07-03 17:32:38'),(58,'PROPALE_VALIDITY_DURATION',1,'15','chaine',0,'Durée de validitée des propales','2011-07-03 17:32:38'),(59,'MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(60,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(61,'MAIN_AGENDA_ACTIONAUTO_PROPAL_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(62,'MAIN_AGENDA_ACTIONAUTO_PROPAL_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(63,'MAIN_AGENDA_ACTIONAUTO_ORDER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(64,'MAIN_AGENDA_ACTIONAUTO_ORDER_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(65,'MAIN_AGENDA_ACTIONAUTO_BILL_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(66,'MAIN_AGENDA_ACTIONAUTO_BILL_PAYED',1,'1','chaine',0,'','2011-07-03 17:32:38'),(67,'MAIN_AGENDA_ACTIONAUTO_BILL_CANCEL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(68,'MAIN_AGENDA_ACTIONAUTO_BILL_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(69,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(70,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(74,'MAIN_MODULE_USER',0,'1',NULL,0,NULL,'2012-02-25 07:45:15'),(72,'MAIN_VERSION_LAST_INSTALL',0,'3.0.0','chaine',0,'Dolibarr version when install','2011-07-03 17:33:30');
  3.1975 +/*!40000 ALTER TABLE `llx_const` ENABLE KEYS */;
  3.1976 +UNLOCK TABLES;
  3.1977 +
  3.1978 +--
  3.1979 +-- Table structure for table `llx_contrat`
  3.1980 +--
  3.1981 +
  3.1982 +DROP TABLE IF EXISTS `llx_contrat`;
  3.1983 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.1984 +/*!40101 SET character_set_client = utf8 */;
  3.1985 +CREATE TABLE `llx_contrat` (
  3.1986 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.1987 +  `ref` varchar(30) DEFAULT NULL,
  3.1988 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.1989 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.1990 +  `datec` datetime DEFAULT NULL,
  3.1991 +  `date_contrat` datetime DEFAULT NULL,
  3.1992 +  `statut` smallint(6) DEFAULT '0',
  3.1993 +  `mise_en_service` datetime DEFAULT NULL,
  3.1994 +  `fin_validite` datetime DEFAULT NULL,
  3.1995 +  `date_cloture` datetime DEFAULT NULL,
  3.1996 +  `fk_soc` int(11) NOT NULL,
  3.1997 +  `fk_projet` int(11) DEFAULT NULL,
  3.1998 +  `fk_commercial_signature` int(11) NOT NULL,
  3.1999 +  `fk_commercial_suivi` int(11) NOT NULL,
  3.2000 +  `fk_user_author` int(11) NOT NULL DEFAULT '0',
  3.2001 +  `fk_user_mise_en_service` int(11) DEFAULT NULL,
  3.2002 +  `fk_user_cloture` int(11) DEFAULT NULL,
  3.2003 +  `note` text,
  3.2004 +  `note_public` text,
  3.2005 +  PRIMARY KEY (`rowid`),
  3.2006 +  UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
  3.2007 +  KEY `idx_contrat_fk_soc` (`fk_soc`),
  3.2008 +  KEY `idx_contrat_fk_user_author` (`fk_user_author`)
  3.2009 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2010 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2011 +
  3.2012 +--
  3.2013 +-- Dumping data for table `llx_contrat`
  3.2014 +--
  3.2015 +
  3.2016 +LOCK TABLES `llx_contrat` WRITE;
  3.2017 +/*!40000 ALTER TABLE `llx_contrat` DISABLE KEYS */;
  3.2018 +/*!40000 ALTER TABLE `llx_contrat` ENABLE KEYS */;
  3.2019 +UNLOCK TABLES;
  3.2020 +
  3.2021 +--
  3.2022 +-- Table structure for table `llx_contratdet`
  3.2023 +--
  3.2024 +
  3.2025 +DROP TABLE IF EXISTS `llx_contratdet`;
  3.2026 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2027 +/*!40101 SET character_set_client = utf8 */;
  3.2028 +CREATE TABLE `llx_contratdet` (
  3.2029 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2030 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2031 +  `fk_contrat` int(11) NOT NULL,
  3.2032 +  `fk_product` int(11) DEFAULT NULL,
  3.2033 +  `statut` smallint(6) DEFAULT '0',
  3.2034 +  `label` text,
  3.2035 +  `description` text,
  3.2036 +  `fk_remise_except` int(11) DEFAULT NULL,
  3.2037 +  `date_commande` datetime DEFAULT NULL,
  3.2038 +  `date_ouverture_prevue` datetime DEFAULT NULL,
  3.2039 +  `date_ouverture` datetime DEFAULT NULL,
  3.2040 +  `date_fin_validite` datetime DEFAULT NULL,
  3.2041 +  `date_cloture` datetime DEFAULT NULL,
  3.2042 +  `tva_tx` double(6,3) DEFAULT '0.000',
  3.2043 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.2044 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.2045 +  `qty` double NOT NULL,
  3.2046 +  `remise_percent` double DEFAULT '0',
  3.2047 +  `subprice` double(24,8) DEFAULT '0.00000000',
  3.2048 +  `price_ht` double DEFAULT NULL,
  3.2049 +  `remise` double DEFAULT '0',
  3.2050 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.2051 +  `total_tva` double(24,8) DEFAULT '0.00000000',
  3.2052 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.2053 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.2054 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.2055 +  `info_bits` int(11) DEFAULT '0',
  3.2056 +  `fk_user_author` int(11) NOT NULL DEFAULT '0',
  3.2057 +  `fk_user_ouverture` int(11) DEFAULT NULL,
  3.2058 +  `fk_user_cloture` int(11) DEFAULT NULL,
  3.2059 +  `commentaire` text,
  3.2060 +  PRIMARY KEY (`rowid`),
  3.2061 +  KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
  3.2062 +  KEY `idx_contratdet_fk_product` (`fk_product`),
  3.2063 +  KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
  3.2064 +  KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
  3.2065 +  KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`)
  3.2066 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2067 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2068 +
  3.2069 +--
  3.2070 +-- Dumping data for table `llx_contratdet`
  3.2071 +--
  3.2072 +
  3.2073 +LOCK TABLES `llx_contratdet` WRITE;
  3.2074 +/*!40000 ALTER TABLE `llx_contratdet` DISABLE KEYS */;
  3.2075 +/*!40000 ALTER TABLE `llx_contratdet` ENABLE KEYS */;
  3.2076 +UNLOCK TABLES;
  3.2077 +
  3.2078 +--
  3.2079 +-- Table structure for table `llx_contratdet_log`
  3.2080 +--
  3.2081 +
  3.2082 +DROP TABLE IF EXISTS `llx_contratdet_log`;
  3.2083 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2084 +/*!40101 SET character_set_client = utf8 */;
  3.2085 +CREATE TABLE `llx_contratdet_log` (
  3.2086 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2087 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2088 +  `fk_contratdet` int(11) NOT NULL,
  3.2089 +  `date` datetime NOT NULL,
  3.2090 +  `statut` smallint(6) NOT NULL,
  3.2091 +  `fk_user_author` int(11) NOT NULL,
  3.2092 +  `commentaire` text,
  3.2093 +  PRIMARY KEY (`rowid`),
  3.2094 +  KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
  3.2095 +  KEY `idx_contratdet_log_date` (`date`)
  3.2096 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2097 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2098 +
  3.2099 +--
  3.2100 +-- Dumping data for table `llx_contratdet_log`
  3.2101 +--
  3.2102 +
  3.2103 +LOCK TABLES `llx_contratdet_log` WRITE;
  3.2104 +/*!40000 ALTER TABLE `llx_contratdet_log` DISABLE KEYS */;
  3.2105 +/*!40000 ALTER TABLE `llx_contratdet_log` ENABLE KEYS */;
  3.2106 +UNLOCK TABLES;
  3.2107 +
  3.2108 +--
  3.2109 +-- Table structure for table `llx_cotisation`
  3.2110 +--
  3.2111 +
  3.2112 +DROP TABLE IF EXISTS `llx_cotisation`;
  3.2113 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2114 +/*!40101 SET character_set_client = utf8 */;
  3.2115 +CREATE TABLE `llx_cotisation` (
  3.2116 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2117 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2118 +  `datec` datetime DEFAULT NULL,
  3.2119 +  `fk_adherent` int(11) DEFAULT NULL,
  3.2120 +  `dateadh` datetime DEFAULT NULL,
  3.2121 +  `datef` date DEFAULT NULL,
  3.2122 +  `cotisation` double DEFAULT NULL,
  3.2123 +  `fk_bank` int(11) DEFAULT NULL,
  3.2124 +  `note` text,
  3.2125 +  PRIMARY KEY (`rowid`),
  3.2126 +  UNIQUE KEY `uk_cotisation` (`fk_adherent`,`dateadh`)
  3.2127 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2128 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2129 +
  3.2130 +--
  3.2131 +-- Dumping data for table `llx_cotisation`
  3.2132 +--
  3.2133 +
  3.2134 +LOCK TABLES `llx_cotisation` WRITE;
  3.2135 +/*!40000 ALTER TABLE `llx_cotisation` DISABLE KEYS */;
  3.2136 +/*!40000 ALTER TABLE `llx_cotisation` ENABLE KEYS */;
  3.2137 +UNLOCK TABLES;
  3.2138 +
  3.2139 +--
  3.2140 +-- Table structure for table `llx_deplacement`
  3.2141 +--
  3.2142 +
  3.2143 +DROP TABLE IF EXISTS `llx_deplacement`;
  3.2144 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2145 +/*!40101 SET character_set_client = utf8 */;
  3.2146 +CREATE TABLE `llx_deplacement` (
  3.2147 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2148 +  `ref` varchar(30) DEFAULT NULL,
  3.2149 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2150 +  `datec` datetime NOT NULL,
  3.2151 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2152 +  `dated` datetime DEFAULT NULL,
  3.2153 +  `fk_user` int(11) NOT NULL,
  3.2154 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2155 +  `type` varchar(12) NOT NULL,
  3.2156 +  `fk_statut` int(11) NOT NULL DEFAULT '1',
  3.2157 +  `km` double DEFAULT NULL,
  3.2158 +  `fk_soc` int(11) DEFAULT NULL,
  3.2159 +  `fk_projet` int(11) DEFAULT '0',
  3.2160 +  `note` text,
  3.2161 +  `note_public` text,
  3.2162 +  PRIMARY KEY (`rowid`)
  3.2163 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2164 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2165 +
  3.2166 +--
  3.2167 +-- Dumping data for table `llx_deplacement`
  3.2168 +--
  3.2169 +
  3.2170 +LOCK TABLES `llx_deplacement` WRITE;
  3.2171 +/*!40000 ALTER TABLE `llx_deplacement` DISABLE KEYS */;
  3.2172 +/*!40000 ALTER TABLE `llx_deplacement` ENABLE KEYS */;
  3.2173 +UNLOCK TABLES;
  3.2174 +
  3.2175 +--
  3.2176 +-- Table structure for table `llx_document`
  3.2177 +--
  3.2178 +
  3.2179 +DROP TABLE IF EXISTS `llx_document`;
  3.2180 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2181 +/*!40101 SET character_set_client = utf8 */;
  3.2182 +CREATE TABLE `llx_document` (
  3.2183 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2184 +  `name` varchar(255) NOT NULL,
  3.2185 +  `file_name` varchar(255) NOT NULL,
  3.2186 +  `file_extension` varchar(5) NOT NULL,
  3.2187 +  `date_generation` datetime DEFAULT NULL,
  3.2188 +  `fk_owner` int(11) DEFAULT NULL,
  3.2189 +  `fk_group` int(11) DEFAULT NULL,
  3.2190 +  `permissions` char(9) DEFAULT 'rw-rw-rw',
  3.2191 +  PRIMARY KEY (`rowid`)
  3.2192 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2193 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2194 +
  3.2195 +--
  3.2196 +-- Dumping data for table `llx_document`
  3.2197 +--
  3.2198 +
  3.2199 +LOCK TABLES `llx_document` WRITE;
  3.2200 +/*!40000 ALTER TABLE `llx_document` DISABLE KEYS */;
  3.2201 +/*!40000 ALTER TABLE `llx_document` ENABLE KEYS */;
  3.2202 +UNLOCK TABLES;
  3.2203 +
  3.2204 +--
  3.2205 +-- Table structure for table `llx_document_generator`
  3.2206 +--
  3.2207 +
  3.2208 +DROP TABLE IF EXISTS `llx_document_generator`;
  3.2209 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2210 +/*!40101 SET character_set_client = utf8 */;
  3.2211 +CREATE TABLE `llx_document_generator` (
  3.2212 +  `rowid` int(10) unsigned NOT NULL,
  3.2213 +  `name` varchar(255) NOT NULL,
  3.2214 +  `classfile` varchar(255) NOT NULL,
  3.2215 +  `class` varchar(255) NOT NULL,
  3.2216 +  PRIMARY KEY (`rowid`)
  3.2217 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2218 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2219 +
  3.2220 +--
  3.2221 +-- Dumping data for table `llx_document_generator`
  3.2222 +--
  3.2223 +
  3.2224 +LOCK TABLES `llx_document_generator` WRITE;
  3.2225 +/*!40000 ALTER TABLE `llx_document_generator` DISABLE KEYS */;
  3.2226 +/*!40000 ALTER TABLE `llx_document_generator` ENABLE KEYS */;
  3.2227 +UNLOCK TABLES;
  3.2228 +
  3.2229 +--
  3.2230 +-- Table structure for table `llx_document_model`
  3.2231 +--
  3.2232 +
  3.2233 +DROP TABLE IF EXISTS `llx_document_model`;
  3.2234 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2235 +/*!40101 SET character_set_client = utf8 */;
  3.2236 +CREATE TABLE `llx_document_model` (
  3.2237 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2238 +  `nom` varchar(50) DEFAULT NULL,
  3.2239 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2240 +  `type` varchar(20) NOT NULL,
  3.2241 +  `libelle` varchar(255) DEFAULT NULL,
  3.2242 +  `description` text,
  3.2243 +  PRIMARY KEY (`rowid`),
  3.2244 +  UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
  3.2245 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2246 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2247 +
  3.2248 +--
  3.2249 +-- Dumping data for table `llx_document_model`
  3.2250 +--
  3.2251 +
  3.2252 +LOCK TABLES `llx_document_model` WRITE;
  3.2253 +/*!40000 ALTER TABLE `llx_document_model` DISABLE KEYS */;
  3.2254 +/*!40000 ALTER TABLE `llx_document_model` ENABLE KEYS */;
  3.2255 +UNLOCK TABLES;
  3.2256 +
  3.2257 +--
  3.2258 +-- Table structure for table `llx_dolibarr_modules`
  3.2259 +--
  3.2260 +
  3.2261 +DROP TABLE IF EXISTS `llx_dolibarr_modules`;
  3.2262 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2263 +/*!40101 SET character_set_client = utf8 */;
  3.2264 +CREATE TABLE `llx_dolibarr_modules` (
  3.2265 +  `numero` int(11) NOT NULL DEFAULT '0',
  3.2266 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2267 +  `active` tinyint(4) NOT NULL DEFAULT '0',
  3.2268 +  `active_date` datetime NOT NULL,
  3.2269 +  `active_version` varchar(25) NOT NULL,
  3.2270 +  PRIMARY KEY (`numero`,`entity`)
  3.2271 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2272 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2273 +
  3.2274 +--
  3.2275 +-- Dumping data for table `llx_dolibarr_modules`
  3.2276 +--
  3.2277 +
  3.2278 +LOCK TABLES `llx_dolibarr_modules` WRITE;
  3.2279 +/*!40000 ALTER TABLE `llx_dolibarr_modules` DISABLE KEYS */;
  3.2280 +INSERT INTO `llx_dolibarr_modules` VALUES (0,1,1,'2012-02-25 08:45:15','dolibarr');
  3.2281 +/*!40000 ALTER TABLE `llx_dolibarr_modules` ENABLE KEYS */;
  3.2282 +UNLOCK TABLES;
  3.2283 +
  3.2284 +--
  3.2285 +-- Table structure for table `llx_domain`
  3.2286 +--
  3.2287 +
  3.2288 +DROP TABLE IF EXISTS `llx_domain`;
  3.2289 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2290 +/*!40101 SET character_set_client = utf8 */;
  3.2291 +CREATE TABLE `llx_domain` (
  3.2292 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2293 +  `datec` datetime DEFAULT NULL,
  3.2294 +  `label` varchar(255) DEFAULT NULL,
  3.2295 +  `note` text,
  3.2296 +  PRIMARY KEY (`rowid`)
  3.2297 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2298 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2299 +
  3.2300 +--
  3.2301 +-- Dumping data for table `llx_domain`
  3.2302 +--
  3.2303 +
  3.2304 +LOCK TABLES `llx_domain` WRITE;
  3.2305 +/*!40000 ALTER TABLE `llx_domain` DISABLE KEYS */;
  3.2306 +/*!40000 ALTER TABLE `llx_domain` ENABLE KEYS */;
  3.2307 +UNLOCK TABLES;
  3.2308 +
  3.2309 +--
  3.2310 +-- Table structure for table `llx_don`
  3.2311 +--
  3.2312 +
  3.2313 +DROP TABLE IF EXISTS `llx_don`;
  3.2314 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2315 +/*!40101 SET character_set_client = utf8 */;
  3.2316 +CREATE TABLE `llx_don` (
  3.2317 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2318 +  `ref` varchar(30) DEFAULT NULL,
  3.2319 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2320 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2321 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.2322 +  `datec` datetime DEFAULT NULL,
  3.2323 +  `datedon` datetime DEFAULT NULL,
  3.2324 +  `amount` double DEFAULT '0',
  3.2325 +  `fk_paiement` int(11) DEFAULT NULL,
  3.2326 +  `prenom` varchar(50) DEFAULT NULL,
  3.2327 +  `nom` varchar(50) DEFAULT NULL,
  3.2328 +  `societe` varchar(50) DEFAULT NULL,
  3.2329 +  `adresse` text,
  3.2330 +  `cp` varchar(30) DEFAULT NULL,
  3.2331 +  `ville` varchar(50) DEFAULT NULL,
  3.2332 +  `pays` varchar(50) DEFAULT NULL,
  3.2333 +  `email` varchar(255) DEFAULT NULL,
  3.2334 +  `phone` varchar(24) DEFAULT NULL,
  3.2335 +  `phone_mobile` varchar(24) DEFAULT NULL,
  3.2336 +  `public` smallint(6) NOT NULL DEFAULT '1',
  3.2337 +  `fk_don_projet` int(11) DEFAULT NULL,
  3.2338 +  `fk_user_author` int(11) NOT NULL,
  3.2339 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.2340 +  `note` text,
  3.2341 +  `note_public` text,
  3.2342 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.2343 +  `import_key` varchar(14) DEFAULT NULL,
  3.2344 +  PRIMARY KEY (`rowid`)
  3.2345 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2346 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2347 +
  3.2348 +--
  3.2349 +-- Dumping data for table `llx_don`
  3.2350 +--
  3.2351 +
  3.2352 +LOCK TABLES `llx_don` WRITE;
  3.2353 +/*!40000 ALTER TABLE `llx_don` DISABLE KEYS */;
  3.2354 +/*!40000 ALTER TABLE `llx_don` ENABLE KEYS */;
  3.2355 +UNLOCK TABLES;
  3.2356 +
  3.2357 +--
  3.2358 +-- Table structure for table `llx_ecm_directories`
  3.2359 +--
  3.2360 +
  3.2361 +DROP TABLE IF EXISTS `llx_ecm_directories`;
  3.2362 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2363 +/*!40101 SET character_set_client = utf8 */;
  3.2364 +CREATE TABLE `llx_ecm_directories` (
  3.2365 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2366 +  `label` varchar(32) NOT NULL,
  3.2367 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2368 +  `fk_parent` int(11) DEFAULT NULL,
  3.2369 +  `description` varchar(255) NOT NULL,
  3.2370 +  `cachenbofdoc` int(11) NOT NULL DEFAULT '0',
  3.2371 +  `date_c` datetime DEFAULT NULL,
  3.2372 +  `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2373 +  `fk_user_c` int(11) DEFAULT NULL,
  3.2374 +  `fk_user_m` int(11) DEFAULT NULL,
  3.2375 +  PRIMARY KEY (`rowid`),
  3.2376 +  UNIQUE KEY `idx_ecm_directories` (`label`,`fk_parent`,`entity`)
  3.2377 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2378 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2379 +
  3.2380 +--
  3.2381 +-- Dumping data for table `llx_ecm_directories`
  3.2382 +--
  3.2383 +
  3.2384 +LOCK TABLES `llx_ecm_directories` WRITE;
  3.2385 +/*!40000 ALTER TABLE `llx_ecm_directories` DISABLE KEYS */;
  3.2386 +/*!40000 ALTER TABLE `llx_ecm_directories` ENABLE KEYS */;
  3.2387 +UNLOCK TABLES;
  3.2388 +
  3.2389 +--
  3.2390 +-- Table structure for table `llx_ecm_documents`
  3.2391 +--
  3.2392 +
  3.2393 +DROP TABLE IF EXISTS `llx_ecm_documents`;
  3.2394 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2395 +/*!40101 SET character_set_client = utf8 */;
  3.2396 +CREATE TABLE `llx_ecm_documents` (
  3.2397 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2398 +  `ref` varchar(16) NOT NULL,
  3.2399 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2400 +  `filename` varchar(255) NOT NULL,
  3.2401 +  `filesize` int(11) NOT NULL,
  3.2402 +  `filemime` varchar(32) NOT NULL,
  3.2403 +  `fullpath_dol` varchar(255) NOT NULL,
  3.2404 +  `fullpath_orig` varchar(255) NOT NULL,
  3.2405 +  `description` text,
  3.2406 +  `manualkeyword` text,
  3.2407 +  `fk_create` int(11) NOT NULL,
  3.2408 +  `fk_update` int(11) DEFAULT NULL,
  3.2409 +  `date_c` datetime NOT NULL,
  3.2410 +  `date_u` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2411 +  `fk_directory` int(11) DEFAULT NULL,
  3.2412 +  `fk_status` smallint(6) DEFAULT '0',
  3.2413 +  `private` smallint(6) DEFAULT '0',
  3.2414 +  `crc` varchar(32) NOT NULL DEFAULT '',
  3.2415 +  `cryptkey` varchar(50) NOT NULL DEFAULT '',
  3.2416 +  `cipher` varchar(50) NOT NULL DEFAULT 'twofish',
  3.2417 +  PRIMARY KEY (`rowid`),
  3.2418 +  UNIQUE KEY `idx_ecm_documents` (`fullpath_dol`)
  3.2419 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2420 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2421 +
  3.2422 +--
  3.2423 +-- Dumping data for table `llx_ecm_documents`
  3.2424 +--
  3.2425 +
  3.2426 +LOCK TABLES `llx_ecm_documents` WRITE;
  3.2427 +/*!40000 ALTER TABLE `llx_ecm_documents` DISABLE KEYS */;
  3.2428 +/*!40000 ALTER TABLE `llx_ecm_documents` ENABLE KEYS */;
  3.2429 +UNLOCK TABLES;
  3.2430 +
  3.2431 +--
  3.2432 +-- Table structure for table `llx_element_contact`
  3.2433 +--
  3.2434 +
  3.2435 +DROP TABLE IF EXISTS `llx_element_contact`;
  3.2436 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2437 +/*!40101 SET character_set_client = utf8 */;
  3.2438 +CREATE TABLE `llx_element_contact` (
  3.2439 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2440 +  `datecreate` datetime DEFAULT NULL,
  3.2441 +  `statut` smallint(6) DEFAULT '5',
  3.2442 +  `element_id` int(11) NOT NULL,
  3.2443 +  `fk_c_type_contact` int(11) NOT NULL,
  3.2444 +  `fk_socpeople` int(11) NOT NULL,
  3.2445 +  PRIMARY KEY (`rowid`),
  3.2446 +  UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
  3.2447 +  KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
  3.2448 +  KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`)
  3.2449 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2450 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2451 +
  3.2452 +--
  3.2453 +-- Dumping data for table `llx_element_contact`
  3.2454 +--
  3.2455 +
  3.2456 +LOCK TABLES `llx_element_contact` WRITE;
  3.2457 +/*!40000 ALTER TABLE `llx_element_contact` DISABLE KEYS */;
  3.2458 +/*!40000 ALTER TABLE `llx_element_contact` ENABLE KEYS */;
  3.2459 +UNLOCK TABLES;
  3.2460 +
  3.2461 +--
  3.2462 +-- Table structure for table `llx_element_element`
  3.2463 +--
  3.2464 +
  3.2465 +DROP TABLE IF EXISTS `llx_element_element`;
  3.2466 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2467 +/*!40101 SET character_set_client = utf8 */;
  3.2468 +CREATE TABLE `llx_element_element` (
  3.2469 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2470 +  `fk_source` int(11) NOT NULL,
  3.2471 +  `sourcetype` varchar(32) NOT NULL,
  3.2472 +  `fk_target` int(11) NOT NULL,
  3.2473 +  `targettype` varchar(32) NOT NULL,
  3.2474 +  PRIMARY KEY (`rowid`),
  3.2475 +  UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
  3.2476 +  KEY `idx_element_element_fk_target` (`fk_target`)
  3.2477 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2478 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2479 +
  3.2480 +--
  3.2481 +-- Dumping data for table `llx_element_element`
  3.2482 +--
  3.2483 +
  3.2484 +LOCK TABLES `llx_element_element` WRITE;
  3.2485 +/*!40000 ALTER TABLE `llx_element_element` DISABLE KEYS */;
  3.2486 +/*!40000 ALTER TABLE `llx_element_element` ENABLE KEYS */;
  3.2487 +UNLOCK TABLES;
  3.2488 +
  3.2489 +--
  3.2490 +-- Table structure for table `llx_element_rang`
  3.2491 +--
  3.2492 +
  3.2493 +DROP TABLE IF EXISTS `llx_element_rang`;
  3.2494 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2495 +/*!40101 SET character_set_client = utf8 */;
  3.2496 +CREATE TABLE `llx_element_rang` (
  3.2497 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2498 +  `fk_parent` int(11) NOT NULL,
  3.2499 +  `parenttype` varchar(16) NOT NULL,
  3.2500 +  `fk_child` int(11) NOT NULL,
  3.2501 +  `childtype` varchar(16) NOT NULL,
  3.2502 +  `rang` int(11) DEFAULT '0',
  3.2503 +  PRIMARY KEY (`rowid`),
  3.2504 +  UNIQUE KEY `idx_element_rang_idx1` (`fk_parent`,`parenttype`,`fk_child`,`childtype`),
  3.2505 +  KEY `idx_element_rang_fk_parent` (`fk_parent`)
  3.2506 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2507 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2508 +
  3.2509 +--
  3.2510 +-- Dumping data for table `llx_element_rang`
  3.2511 +--
  3.2512 +
  3.2513 +LOCK TABLES `llx_element_rang` WRITE;
  3.2514 +/*!40000 ALTER TABLE `llx_element_rang` DISABLE KEYS */;
  3.2515 +/*!40000 ALTER TABLE `llx_element_rang` ENABLE KEYS */;
  3.2516 +UNLOCK TABLES;
  3.2517 +
  3.2518 +--
  3.2519 +-- Table structure for table `llx_entrepot`
  3.2520 +--
  3.2521 +
  3.2522 +DROP TABLE IF EXISTS `llx_entrepot`;
  3.2523 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2524 +/*!40101 SET character_set_client = utf8 */;
  3.2525 +CREATE TABLE `llx_entrepot` (
  3.2526 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2527 +  `datec` datetime DEFAULT NULL,
  3.2528 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2529 +  `label` varchar(255) NOT NULL,
  3.2530 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2531 +  `description` text,
  3.2532 +  `lieu` varchar(64) DEFAULT NULL,
  3.2533 +  `address` varchar(255) DEFAULT NULL,
  3.2534 +  `cp` varchar(10) DEFAULT NULL,
  3.2535 +  `ville` varchar(50) DEFAULT NULL,
  3.2536 +  `fk_departement` int(11) DEFAULT NULL,
  3.2537 +  `fk_pays` int(11) DEFAULT '0',
  3.2538 +  `statut` tinyint(4) DEFAULT '1',
  3.2539 +  `valo_pmp` float(12,4) DEFAULT NULL,
  3.2540 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2541 +  PRIMARY KEY (`rowid`),
  3.2542 +  UNIQUE KEY `uk_entrepot_label` (`label`,`entity`)
  3.2543 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2544 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2545 +
  3.2546 +--
  3.2547 +-- Dumping data for table `llx_entrepot`
  3.2548 +--
  3.2549 +
  3.2550 +LOCK TABLES `llx_entrepot` WRITE;
  3.2551 +/*!40000 ALTER TABLE `llx_entrepot` DISABLE KEYS */;
  3.2552 +/*!40000 ALTER TABLE `llx_entrepot` ENABLE KEYS */;
  3.2553 +UNLOCK TABLES;
  3.2554 +
  3.2555 +--
  3.2556 +-- Table structure for table `llx_events`
  3.2557 +--
  3.2558 +
  3.2559 +DROP TABLE IF EXISTS `llx_events`;
  3.2560 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2561 +/*!40101 SET character_set_client = utf8 */;
  3.2562 +CREATE TABLE `llx_events` (
  3.2563 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2564 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2565 +  `type` varchar(32) NOT NULL,
  3.2566 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2567 +  `dateevent` datetime DEFAULT NULL,
  3.2568 +  `fk_user` int(11) DEFAULT NULL,
  3.2569 +  `description` varchar(250) NOT NULL,
  3.2570 +  `ip` varchar(32) NOT NULL,
  3.2571 +  `user_agent` varchar(255) DEFAULT NULL,
  3.2572 +  `fk_object` int(11) DEFAULT NULL,
  3.2573 +  PRIMARY KEY (`rowid`),
  3.2574 +  KEY `idx_events_dateevent` (`dateevent`)
  3.2575 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2576 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2577 +
  3.2578 +--
  3.2579 +-- Dumping data for table `llx_events`
  3.2580 +--
  3.2581 +
  3.2582 +LOCK TABLES `llx_events` WRITE;
  3.2583 +/*!40000 ALTER TABLE `llx_events` DISABLE KEYS */;
  3.2584 +/*!40000 ALTER TABLE `llx_events` ENABLE KEYS */;
  3.2585 +UNLOCK TABLES;
  3.2586 +
  3.2587 +--
  3.2588 +-- Table structure for table `llx_expedition`
  3.2589 +--
  3.2590 +
  3.2591 +DROP TABLE IF EXISTS `llx_expedition`;
  3.2592 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2593 +/*!40101 SET character_set_client = utf8 */;
  3.2594 +CREATE TABLE `llx_expedition` (
  3.2595 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2596 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2597 +  `ref` varchar(30) NOT NULL,
  3.2598 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2599 +  `ref_customer` varchar(30) DEFAULT NULL,
  3.2600 +  `fk_soc` int(11) NOT NULL,
  3.2601 +  `ref_ext` varchar(30) DEFAULT NULL,
  3.2602 +  `ref_int` varchar(30) DEFAULT NULL,
  3.2603 +  `date_creation` datetime DEFAULT NULL,
  3.2604 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2605 +  `date_valid` datetime DEFAULT NULL,
  3.2606 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.2607 +  `date_expedition` datetime DEFAULT NULL,
  3.2608 +  `date_delivery` datetime DEFAULT NULL,
  3.2609 +  `fk_address` int(11) DEFAULT NULL,
  3.2610 +  `fk_expedition_methode` int(11) DEFAULT NULL,
  3.2611 +  `tracking_number` varchar(50) DEFAULT NULL,
  3.2612 +  `fk_statut` smallint(6) DEFAULT '0',
  3.2613 +  `height` int(11) DEFAULT NULL,
  3.2614 +  `width` int(11) DEFAULT NULL,
  3.2615 +  `size_units` int(11) DEFAULT NULL,
  3.2616 +  `size` int(11) DEFAULT NULL,
  3.2617 +  `weight_units` int(11) DEFAULT NULL,
  3.2618 +  `weight` int(11) DEFAULT NULL,
  3.2619 +  `note` text,
  3.2620 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.2621 +  PRIMARY KEY (`rowid`),
  3.2622 +  UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
  3.2623 +  KEY `idx_expedition_fk_soc` (`fk_soc`),
  3.2624 +  KEY `idx_expedition_fk_user_author` (`fk_user_author`),
  3.2625 +  KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
  3.2626 +  KEY `idx_expedition_fk_expedition_methode` (`fk_expedition_methode`)
  3.2627 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2628 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2629 +
  3.2630 +--
  3.2631 +-- Dumping data for table `llx_expedition`
  3.2632 +--
  3.2633 +
  3.2634 +LOCK TABLES `llx_expedition` WRITE;
  3.2635 +/*!40000 ALTER TABLE `llx_expedition` DISABLE KEYS */;
  3.2636 +/*!40000 ALTER TABLE `llx_expedition` ENABLE KEYS */;
  3.2637 +UNLOCK TABLES;
  3.2638 +
  3.2639 +--
  3.2640 +-- Table structure for table `llx_expeditiondet`
  3.2641 +--
  3.2642 +
  3.2643 +DROP TABLE IF EXISTS `llx_expeditiondet`;
  3.2644 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2645 +/*!40101 SET character_set_client = utf8 */;
  3.2646 +CREATE TABLE `llx_expeditiondet` (
  3.2647 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2648 +  `fk_expedition` int(11) NOT NULL,
  3.2649 +  `fk_origin_line` int(11) DEFAULT NULL,
  3.2650 +  `fk_entrepot` int(11) DEFAULT NULL,
  3.2651 +  `qty` double DEFAULT NULL,
  3.2652 +  `rang` int(11) DEFAULT '0',
  3.2653 +  PRIMARY KEY (`rowid`),
  3.2654 +  KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`)
  3.2655 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2656 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2657 +
  3.2658 +--
  3.2659 +-- Dumping data for table `llx_expeditiondet`
  3.2660 +--
  3.2661 +
  3.2662 +LOCK TABLES `llx_expeditiondet` WRITE;
  3.2663 +/*!40000 ALTER TABLE `llx_expeditiondet` DISABLE KEYS */;
  3.2664 +/*!40000 ALTER TABLE `llx_expeditiondet` ENABLE KEYS */;
  3.2665 +UNLOCK TABLES;
  3.2666 +
  3.2667 +--
  3.2668 +-- Table structure for table `llx_export_compta`
  3.2669 +--
  3.2670 +
  3.2671 +DROP TABLE IF EXISTS `llx_export_compta`;
  3.2672 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2673 +/*!40101 SET character_set_client = utf8 */;
  3.2674 +CREATE TABLE `llx_export_compta` (
  3.2675 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2676 +  `ref` varchar(12) NOT NULL,
  3.2677 +  `date_export` datetime NOT NULL,
  3.2678 +  `fk_user` int(11) NOT NULL,
  3.2679 +  `note` text,
  3.2680 +  PRIMARY KEY (`rowid`)
  3.2681 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2682 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2683 +
  3.2684 +--
  3.2685 +-- Dumping data for table `llx_export_compta`
  3.2686 +--
  3.2687 +
  3.2688 +LOCK TABLES `llx_export_compta` WRITE;
  3.2689 +/*!40000 ALTER TABLE `llx_export_compta` DISABLE KEYS */;
  3.2690 +/*!40000 ALTER TABLE `llx_export_compta` ENABLE KEYS */;
  3.2691 +UNLOCK TABLES;
  3.2692 +
  3.2693 +--
  3.2694 +-- Table structure for table `llx_export_model`
  3.2695 +--
  3.2696 +
  3.2697 +DROP TABLE IF EXISTS `llx_export_model`;
  3.2698 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2699 +/*!40101 SET character_set_client = utf8 */;
  3.2700 +CREATE TABLE `llx_export_model` (
  3.2701 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2702 +  `fk_user` int(11) NOT NULL DEFAULT '0',
  3.2703 +  `label` varchar(50) NOT NULL,
  3.2704 +  `type` varchar(20) NOT NULL,
  3.2705 +  `field` text NOT NULL,
  3.2706 +  PRIMARY KEY (`rowid`),
  3.2707 +  UNIQUE KEY `uk_export_model` (`label`,`type`)
  3.2708 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2709 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2710 +
  3.2711 +--
  3.2712 +-- Dumping data for table `llx_export_model`
  3.2713 +--
  3.2714 +
  3.2715 +LOCK TABLES `llx_export_model` WRITE;
  3.2716 +/*!40000 ALTER TABLE `llx_export_model` DISABLE KEYS */;
  3.2717 +/*!40000 ALTER TABLE `llx_export_model` ENABLE KEYS */;
  3.2718 +UNLOCK TABLES;
  3.2719 +
  3.2720 +--
  3.2721 +-- Table structure for table `llx_extrafields`
  3.2722 +--
  3.2723 +
  3.2724 +DROP TABLE IF EXISTS `llx_extrafields`;
  3.2725 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2726 +/*!40101 SET character_set_client = utf8 */;
  3.2727 +CREATE TABLE `llx_extrafields` (
  3.2728 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2729 +  `name` varchar(64) NOT NULL,
  3.2730 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2731 +  `elementtype` varchar(64) NOT NULL DEFAULT 'member',
  3.2732 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2733 +  `label` varchar(255) NOT NULL,
  3.2734 +  `type` varchar(8) DEFAULT NULL,
  3.2735 +  `size` int(11) DEFAULT '0',
  3.2736 +  `pos` int(11) DEFAULT '0',
  3.2737 +  PRIMARY KEY (`rowid`),
  3.2738 +  UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
  3.2739 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2740 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2741 +
  3.2742 +--
  3.2743 +-- Dumping data for table `llx_extrafields`
  3.2744 +--
  3.2745 +
  3.2746 +LOCK TABLES `llx_extrafields` WRITE;
  3.2747 +/*!40000 ALTER TABLE `llx_extrafields` DISABLE KEYS */;
  3.2748 +/*!40000 ALTER TABLE `llx_extrafields` ENABLE KEYS */;
  3.2749 +UNLOCK TABLES;
  3.2750 +
  3.2751 +--
  3.2752 +-- Table structure for table `llx_facture`
  3.2753 +--
  3.2754 +
  3.2755 +DROP TABLE IF EXISTS `llx_facture`;
  3.2756 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2757 +/*!40101 SET character_set_client = utf8 */;
  3.2758 +CREATE TABLE `llx_facture` (
  3.2759 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2760 +  `facnumber` varchar(30) NOT NULL,
  3.2761 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2762 +  `ref_ext` varchar(50) DEFAULT NULL,
  3.2763 +  `ref_int` varchar(50) DEFAULT NULL,
  3.2764 +  `ref_client` varchar(50) DEFAULT NULL,
  3.2765 +  `type` smallint(6) NOT NULL DEFAULT '0',
  3.2766 +  `increment` varchar(10) DEFAULT NULL,
  3.2767 +  `fk_soc` int(11) NOT NULL,
  3.2768 +  `datec` datetime DEFAULT NULL,
  3.2769 +  `datef` date DEFAULT NULL,
  3.2770 +  `date_valid` date DEFAULT NULL,
  3.2771 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2772 +  `paye` smallint(6) NOT NULL DEFAULT '0',
  3.2773 +  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.2774 +  `remise_percent` double DEFAULT '0',
  3.2775 +  `remise_absolue` double DEFAULT '0',
  3.2776 +  `remise` double DEFAULT '0',
  3.2777 +  `close_code` varchar(16) DEFAULT NULL,
  3.2778 +  `close_note` varchar(128) DEFAULT NULL,
  3.2779 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.2780 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.2781 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.2782 +  `total` double(24,8) DEFAULT '0.00000000',
  3.2783 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.2784 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.2785 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2786 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.2787 +  `fk_facture_source` int(11) DEFAULT NULL,
  3.2788 +  `fk_projet` int(11) DEFAULT NULL,
  3.2789 +  `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
  3.2790 +  `fk_mode_reglement` int(11) DEFAULT NULL,
  3.2791 +  `date_lim_reglement` date DEFAULT NULL,
  3.2792 +  `note` text,
  3.2793 +  `note_public` text,
  3.2794 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.2795 +  `import_key` varchar(14) DEFAULT NULL,
  3.2796 +  PRIMARY KEY (`rowid`),
  3.2797 +  UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`),
  3.2798 +  KEY `idx_facture_fk_soc` (`fk_soc`),
  3.2799 +  KEY `idx_facture_fk_user_author` (`fk_user_author`),
  3.2800 +  KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
  3.2801 +  KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
  3.2802 +  KEY `idx_facture_fk_projet` (`fk_projet`)
  3.2803 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2804 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2805 +
  3.2806 +--
  3.2807 +-- Dumping data for table `llx_facture`
  3.2808 +--
  3.2809 +
  3.2810 +LOCK TABLES `llx_facture` WRITE;
  3.2811 +/*!40000 ALTER TABLE `llx_facture` DISABLE KEYS */;
  3.2812 +/*!40000 ALTER TABLE `llx_facture` ENABLE KEYS */;
  3.2813 +UNLOCK TABLES;
  3.2814 +
  3.2815 +--
  3.2816 +-- Table structure for table `llx_facture_fourn`
  3.2817 +--
  3.2818 +
  3.2819 +DROP TABLE IF EXISTS `llx_facture_fourn`;
  3.2820 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2821 +/*!40101 SET character_set_client = utf8 */;
  3.2822 +CREATE TABLE `llx_facture_fourn` (
  3.2823 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2824 +  `facnumber` varchar(50) NOT NULL,
  3.2825 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2826 +  `ref_ext` varchar(30) DEFAULT NULL,
  3.2827 +  `type` smallint(6) NOT NULL DEFAULT '0',
  3.2828 +  `fk_soc` int(11) NOT NULL,
  3.2829 +  `datec` datetime DEFAULT NULL,
  3.2830 +  `datef` date DEFAULT NULL,
  3.2831 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.2832 +  `libelle` varchar(255) DEFAULT NULL,
  3.2833 +  `paye` smallint(6) NOT NULL DEFAULT '0',
  3.2834 +  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.2835 +  `remise` double(24,8) DEFAULT '0.00000000',
  3.2836 +  `close_code` varchar(16) DEFAULT NULL,
  3.2837 +  `close_note` varchar(128) DEFAULT NULL,
  3.2838 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.2839 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.2840 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.2841 +  `total` double(24,8) DEFAULT '0.00000000',
  3.2842 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.2843 +  `total_tva` double(24,8) DEFAULT '0.00000000',
  3.2844 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.2845 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.2846 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2847 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.2848 +  `fk_facture_source` int(11) DEFAULT NULL,
  3.2849 +  `fk_projet` int(11) DEFAULT NULL,
  3.2850 +  `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
  3.2851 +  `date_lim_reglement` date DEFAULT NULL,
  3.2852 +  `note` text,
  3.2853 +  `note_public` text,
  3.2854 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.2855 +  `import_key` varchar(14) DEFAULT NULL,
  3.2856 +  PRIMARY KEY (`rowid`),
  3.2857 +  UNIQUE KEY `uk_facture_fourn_ref` (`facnumber`,`fk_soc`,`entity`),
  3.2858 +  KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
  3.2859 +  KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
  3.2860 +  KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
  3.2861 +  KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
  3.2862 +  KEY `idx_facture_fourn_fk_projet` (`fk_projet`)
  3.2863 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2864 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2865 +
  3.2866 +--
  3.2867 +-- Dumping data for table `llx_facture_fourn`
  3.2868 +--
  3.2869 +
  3.2870 +LOCK TABLES `llx_facture_fourn` WRITE;
  3.2871 +/*!40000 ALTER TABLE `llx_facture_fourn` DISABLE KEYS */;
  3.2872 +/*!40000 ALTER TABLE `llx_facture_fourn` ENABLE KEYS */;
  3.2873 +UNLOCK TABLES;
  3.2874 +
  3.2875 +--
  3.2876 +-- Table structure for table `llx_facture_fourn_det`
  3.2877 +--
  3.2878 +
  3.2879 +DROP TABLE IF EXISTS `llx_facture_fourn_det`;
  3.2880 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2881 +/*!40101 SET character_set_client = utf8 */;
  3.2882 +CREATE TABLE `llx_facture_fourn_det` (
  3.2883 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2884 +  `fk_facture_fourn` int(11) NOT NULL,
  3.2885 +  `fk_product` int(11) DEFAULT NULL,
  3.2886 +  `ref` varchar(50) DEFAULT NULL,
  3.2887 +  `label` varchar(255) DEFAULT NULL,
  3.2888 +  `description` text,
  3.2889 +  `pu_ht` double(24,8) DEFAULT NULL,
  3.2890 +  `pu_ttc` double(24,8) DEFAULT NULL,
  3.2891 +  `qty` double DEFAULT NULL,
  3.2892 +  `tva_tx` double(6,3) DEFAULT NULL,
  3.2893 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.2894 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.2895 +  `total_ht` double(24,8) DEFAULT NULL,
  3.2896 +  `tva` double(24,8) DEFAULT NULL,
  3.2897 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.2898 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.2899 +  `total_ttc` double(24,8) DEFAULT NULL,
  3.2900 +  `product_type` int(11) DEFAULT '0',
  3.2901 +  `date_start` datetime DEFAULT NULL,
  3.2902 +  `date_end` datetime DEFAULT NULL,
  3.2903 +  `import_key` varchar(14) DEFAULT NULL,
  3.2904 +  PRIMARY KEY (`rowid`),
  3.2905 +  KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`)
  3.2906 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2907 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2908 +
  3.2909 +--
  3.2910 +-- Dumping data for table `llx_facture_fourn_det`
  3.2911 +--
  3.2912 +
  3.2913 +LOCK TABLES `llx_facture_fourn_det` WRITE;
  3.2914 +/*!40000 ALTER TABLE `llx_facture_fourn_det` DISABLE KEYS */;
  3.2915 +/*!40000 ALTER TABLE `llx_facture_fourn_det` ENABLE KEYS */;
  3.2916 +UNLOCK TABLES;
  3.2917 +
  3.2918 +--
  3.2919 +-- Table structure for table `llx_facture_rec`
  3.2920 +--
  3.2921 +
  3.2922 +DROP TABLE IF EXISTS `llx_facture_rec`;
  3.2923 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2924 +/*!40101 SET character_set_client = utf8 */;
  3.2925 +CREATE TABLE `llx_facture_rec` (
  3.2926 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2927 +  `titre` varchar(50) NOT NULL,
  3.2928 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.2929 +  `fk_soc` int(11) NOT NULL,
  3.2930 +  `datec` datetime DEFAULT NULL,
  3.2931 +  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.2932 +  `remise` double DEFAULT '0',
  3.2933 +  `remise_percent` double DEFAULT '0',
  3.2934 +  `remise_absolue` double DEFAULT '0',
  3.2935 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.2936 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.2937 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.2938 +  `total` double(24,8) DEFAULT '0.00000000',
  3.2939 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.2940 +  `fk_user_author` int(11) DEFAULT NULL,
  3.2941 +  `fk_projet` int(11) DEFAULT NULL,
  3.2942 +  `fk_cond_reglement` int(11) DEFAULT '0',
  3.2943 +  `fk_mode_reglement` int(11) DEFAULT '0',
  3.2944 +  `date_lim_reglement` date DEFAULT NULL,
  3.2945 +  `note` text,
  3.2946 +  `note_public` text,
  3.2947 +  `frequency` int(11) DEFAULT NULL,
  3.2948 +  `unit_frequency` varchar(2) DEFAULT 'd',
  3.2949 +  `date_when` datetime DEFAULT NULL,
  3.2950 +  `date_last_gen` datetime DEFAULT NULL,
  3.2951 +  `nb_gen_done` int(11) DEFAULT NULL,
  3.2952 +  `nb_gen_max` int(11) DEFAULT NULL,
  3.2953 +  PRIMARY KEY (`rowid`),
  3.2954 +  UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
  3.2955 +  KEY `idx_facture_rec_fk_soc` (`fk_soc`),
  3.2956 +  KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
  3.2957 +  KEY `idx_facture_rec_fk_projet` (`fk_projet`)
  3.2958 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.2959 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.2960 +
  3.2961 +--
  3.2962 +-- Dumping data for table `llx_facture_rec`
  3.2963 +--
  3.2964 +
  3.2965 +LOCK TABLES `llx_facture_rec` WRITE;
  3.2966 +/*!40000 ALTER TABLE `llx_facture_rec` DISABLE KEYS */;
  3.2967 +/*!40000 ALTER TABLE `llx_facture_rec` ENABLE KEYS */;
  3.2968 +UNLOCK TABLES;
  3.2969 +
  3.2970 +--
  3.2971 +-- Table structure for table `llx_facturedet`
  3.2972 +--
  3.2973 +
  3.2974 +DROP TABLE IF EXISTS `llx_facturedet`;
  3.2975 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.2976 +/*!40101 SET character_set_client = utf8 */;
  3.2977 +CREATE TABLE `llx_facturedet` (
  3.2978 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.2979 +  `fk_facture` int(11) NOT NULL,
  3.2980 +  `fk_parent_line` int(11) DEFAULT NULL,
  3.2981 +  `fk_product` int(11) DEFAULT NULL,
  3.2982 +  `description` text,
  3.2983 +  `tva_tx` double(6,3) DEFAULT NULL,
  3.2984 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.2985 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.2986 +  `qty` double DEFAULT NULL,
  3.2987 +  `remise_percent` double DEFAULT '0',
  3.2988 +  `remise` double DEFAULT '0',
  3.2989 +  `fk_remise_except` int(11) DEFAULT NULL,
  3.2990 +  `subprice` double(24,8) DEFAULT NULL,
  3.2991 +  `price` double(24,8) DEFAULT NULL,
  3.2992 +  `total_ht` double(24,8) DEFAULT NULL,
  3.2993 +  `total_tva` double(24,8) DEFAULT NULL,
  3.2994 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.2995 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.2996 +  `total_ttc` double(24,8) DEFAULT NULL,
  3.2997 +  `product_type` int(11) DEFAULT '0',
  3.2998 +  `date_start` datetime DEFAULT NULL,
  3.2999 +  `date_end` datetime DEFAULT NULL,
  3.3000 +  `info_bits` int(11) DEFAULT '0',
  3.3001 +  `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
  3.3002 +  `fk_export_compta` int(11) NOT NULL DEFAULT '0',
  3.3003 +  `special_code` int(10) unsigned DEFAULT '0',
  3.3004 +  `rang` int(11) DEFAULT '0',
  3.3005 +  `import_key` varchar(14) DEFAULT NULL,
  3.3006 +  PRIMARY KEY (`rowid`),
  3.3007 +  UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
  3.3008 +  KEY `idx_facturedet_fk_facture` (`fk_facture`),
  3.3009 +  KEY `idx_facturedet_fk_product` (`fk_product`)
  3.3010 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3011 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3012 +
  3.3013 +--
  3.3014 +-- Dumping data for table `llx_facturedet`
  3.3015 +--
  3.3016 +
  3.3017 +LOCK TABLES `llx_facturedet` WRITE;
  3.3018 +/*!40000 ALTER TABLE `llx_facturedet` DISABLE KEYS */;
  3.3019 +/*!40000 ALTER TABLE `llx_facturedet` ENABLE KEYS */;
  3.3020 +UNLOCK TABLES;
  3.3021 +
  3.3022 +--
  3.3023 +-- Table structure for table `llx_facturedet_rec`
  3.3024 +--
  3.3025 +
  3.3026 +DROP TABLE IF EXISTS `llx_facturedet_rec`;
  3.3027 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3028 +/*!40101 SET character_set_client = utf8 */;
  3.3029 +CREATE TABLE `llx_facturedet_rec` (
  3.3030 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3031 +  `fk_facture` int(11) NOT NULL,
  3.3032 +  `fk_parent_line` int(11) DEFAULT NULL,
  3.3033 +  `fk_product` int(11) DEFAULT NULL,
  3.3034 +  `product_type` int(11) DEFAULT '0',
  3.3035 +  `description` text,
  3.3036 +  `tva_tx` double(6,3) DEFAULT '19.600',
  3.3037 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.3038 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.3039 +  `qty` double DEFAULT NULL,
  3.3040 +  `remise_percent` double DEFAULT '0',
  3.3041 +  `remise` double DEFAULT '0',
  3.3042 +  `subprice` double(24,8) DEFAULT NULL,
  3.3043 +  `price` double(24,8) DEFAULT NULL,
  3.3044 +  `total_ht` double(24,8) DEFAULT NULL,
  3.3045 +  `total_tva` double(24,8) DEFAULT NULL,
  3.3046 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.3047 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.3048 +  `total_ttc` double(24,8) DEFAULT NULL,
  3.3049 +  `special_code` int(10) unsigned DEFAULT '0',
  3.3050 +  `rang` int(11) DEFAULT '0',
  3.3051 +  PRIMARY KEY (`rowid`)
  3.3052 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3053 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3054 +
  3.3055 +--
  3.3056 +-- Dumping data for table `llx_facturedet_rec`
  3.3057 +--
  3.3058 +
  3.3059 +LOCK TABLES `llx_facturedet_rec` WRITE;
  3.3060 +/*!40000 ALTER TABLE `llx_facturedet_rec` DISABLE KEYS */;
  3.3061 +/*!40000 ALTER TABLE `llx_facturedet_rec` ENABLE KEYS */;
  3.3062 +UNLOCK TABLES;
  3.3063 +
  3.3064 +--
  3.3065 +-- Table structure for table `llx_fichinter`
  3.3066 +--
  3.3067 +
  3.3068 +DROP TABLE IF EXISTS `llx_fichinter`;
  3.3069 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3070 +/*!40101 SET character_set_client = utf8 */;
  3.3071 +CREATE TABLE `llx_fichinter` (
  3.3072 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3073 +  `fk_soc` int(11) NOT NULL,
  3.3074 +  `fk_projet` int(11) DEFAULT '0',
  3.3075 +  `fk_contrat` int(11) DEFAULT '0',
  3.3076 +  `ref` varchar(30) NOT NULL,
  3.3077 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3078 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3079 +  `datec` datetime DEFAULT NULL,
  3.3080 +  `date_valid` datetime DEFAULT NULL,
  3.3081 +  `datei` date DEFAULT NULL,
  3.3082 +  `fk_user_author` int(11) DEFAULT NULL,
  3.3083 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.3084 +  `fk_statut` smallint(6) DEFAULT '0',
  3.3085 +  `duree` double DEFAULT NULL,
  3.3086 +  `description` text,
  3.3087 +  `note_private` text,
  3.3088 +  `note_public` text,
  3.3089 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.3090 +  PRIMARY KEY (`rowid`),
  3.3091 +  UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`),
  3.3092 +  KEY `idx_fichinter_fk_soc` (`fk_soc`)
  3.3093 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3094 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3095 +
  3.3096 +--
  3.3097 +-- Dumping data for table `llx_fichinter`
  3.3098 +--
  3.3099 +
  3.3100 +LOCK TABLES `llx_fichinter` WRITE;
  3.3101 +/*!40000 ALTER TABLE `llx_fichinter` DISABLE KEYS */;
  3.3102 +/*!40000 ALTER TABLE `llx_fichinter` ENABLE KEYS */;
  3.3103 +UNLOCK TABLES;
  3.3104 +
  3.3105 +--
  3.3106 +-- Table structure for table `llx_fichinterdet`
  3.3107 +--
  3.3108 +
  3.3109 +DROP TABLE IF EXISTS `llx_fichinterdet`;
  3.3110 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3111 +/*!40101 SET character_set_client = utf8 */;
  3.3112 +CREATE TABLE `llx_fichinterdet` (
  3.3113 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3114 +  `fk_fichinter` int(11) DEFAULT NULL,
  3.3115 +  `date` datetime DEFAULT NULL,
  3.3116 +  `description` text,
  3.3117 +  `duree` int(11) DEFAULT NULL,
  3.3118 +  `rang` int(11) DEFAULT '0',
  3.3119 +  PRIMARY KEY (`rowid`),
  3.3120 +  KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`)
  3.3121 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3122 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3123 +
  3.3124 +--
  3.3125 +-- Dumping data for table `llx_fichinterdet`
  3.3126 +--
  3.3127 +
  3.3128 +LOCK TABLES `llx_fichinterdet` WRITE;
  3.3129 +/*!40000 ALTER TABLE `llx_fichinterdet` DISABLE KEYS */;
  3.3130 +/*!40000 ALTER TABLE `llx_fichinterdet` ENABLE KEYS */;
  3.3131 +UNLOCK TABLES;
  3.3132 +
  3.3133 +--
  3.3134 +-- Table structure for table `llx_import_model`
  3.3135 +--
  3.3136 +
  3.3137 +DROP TABLE IF EXISTS `llx_import_model`;
  3.3138 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3139 +/*!40101 SET character_set_client = utf8 */;
  3.3140 +CREATE TABLE `llx_import_model` (
  3.3141 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3142 +  `fk_user` int(11) NOT NULL DEFAULT '0',
  3.3143 +  `label` varchar(50) NOT NULL,
  3.3144 +  `type` varchar(20) NOT NULL,
  3.3145 +  `field` text NOT NULL,
  3.3146 +  PRIMARY KEY (`rowid`),
  3.3147 +  UNIQUE KEY `uk_import_model` (`label`,`type`)
  3.3148 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3149 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3150 +
  3.3151 +--
  3.3152 +-- Dumping data for table `llx_import_model`
  3.3153 +--
  3.3154 +
  3.3155 +LOCK TABLES `llx_import_model` WRITE;
  3.3156 +/*!40000 ALTER TABLE `llx_import_model` DISABLE KEYS */;
  3.3157 +/*!40000 ALTER TABLE `llx_import_model` ENABLE KEYS */;
  3.3158 +UNLOCK TABLES;
  3.3159 +
  3.3160 +--
  3.3161 +-- Table structure for table `llx_livraison`
  3.3162 +--
  3.3163 +
  3.3164 +DROP TABLE IF EXISTS `llx_livraison`;
  3.3165 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3166 +/*!40101 SET character_set_client = utf8 */;
  3.3167 +CREATE TABLE `llx_livraison` (
  3.3168 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3169 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3170 +  `ref` varchar(30) NOT NULL,
  3.3171 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3172 +  `ref_customer` varchar(30) DEFAULT NULL,
  3.3173 +  `fk_soc` int(11) NOT NULL,
  3.3174 +  `ref_ext` varchar(30) DEFAULT NULL,
  3.3175 +  `ref_int` varchar(30) DEFAULT NULL,
  3.3176 +  `date_creation` datetime DEFAULT NULL,
  3.3177 +  `fk_user_author` int(11) DEFAULT NULL,
  3.3178 +  `date_valid` datetime DEFAULT NULL,
  3.3179 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.3180 +  `date_delivery` date DEFAULT NULL,
  3.3181 +  `fk_address` int(11) DEFAULT NULL,
  3.3182 +  `fk_statut` smallint(6) DEFAULT '0',
  3.3183 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.3184 +  `note` text,
  3.3185 +  `note_public` text,
  3.3186 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.3187 +  PRIMARY KEY (`rowid`),
  3.3188 +  UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`),
  3.3189 +  KEY `idx_livraison_fk_soc` (`fk_soc`),
  3.3190 +  KEY `idx_livraison_fk_user_author` (`fk_user_author`),
  3.3191 +  KEY `idx_livraison_fk_user_valid` (`fk_user_valid`)
  3.3192 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3193 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3194 +
  3.3195 +--
  3.3196 +-- Dumping data for table `llx_livraison`
  3.3197 +--
  3.3198 +
  3.3199 +LOCK TABLES `llx_livraison` WRITE;
  3.3200 +/*!40000 ALTER TABLE `llx_livraison` DISABLE KEYS */;
  3.3201 +/*!40000 ALTER TABLE `llx_livraison` ENABLE KEYS */;
  3.3202 +UNLOCK TABLES;
  3.3203 +
  3.3204 +--
  3.3205 +-- Table structure for table `llx_livraisondet`
  3.3206 +--
  3.3207 +
  3.3208 +DROP TABLE IF EXISTS `llx_livraisondet`;
  3.3209 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3210 +/*!40101 SET character_set_client = utf8 */;
  3.3211 +CREATE TABLE `llx_livraisondet` (
  3.3212 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3213 +  `fk_livraison` int(11) DEFAULT NULL,
  3.3214 +  `fk_origin_line` int(11) DEFAULT NULL,
  3.3215 +  `fk_product` int(11) DEFAULT NULL,
  3.3216 +  `description` text,
  3.3217 +  `qty` double DEFAULT NULL,
  3.3218 +  `subprice` double(24,8) DEFAULT '0.00000000',
  3.3219 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.3220 +  `rang` int(11) DEFAULT '0',
  3.3221 +  PRIMARY KEY (`rowid`),
  3.3222 +  KEY `idx_livraisondet_fk_expedition` (`fk_livraison`)
  3.3223 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3224 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3225 +
  3.3226 +--
  3.3227 +-- Dumping data for table `llx_livraisondet`
  3.3228 +--
  3.3229 +
  3.3230 +LOCK TABLES `llx_livraisondet` WRITE;
  3.3231 +/*!40000 ALTER TABLE `llx_livraisondet` DISABLE KEYS */;
  3.3232 +/*!40000 ALTER TABLE `llx_livraisondet` ENABLE KEYS */;
  3.3233 +UNLOCK TABLES;
  3.3234 +
  3.3235 +--
  3.3236 +-- Table structure for table `llx_mailing`
  3.3237 +--
  3.3238 +
  3.3239 +DROP TABLE IF EXISTS `llx_mailing`;
  3.3240 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3241 +/*!40101 SET character_set_client = utf8 */;
  3.3242 +CREATE TABLE `llx_mailing` (
  3.3243 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3244 +  `statut` smallint(6) DEFAULT '0',
  3.3245 +  `titre` varchar(60) DEFAULT NULL,
  3.3246 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3247 +  `sujet` varchar(60) DEFAULT NULL,
  3.3248 +  `body` text,
  3.3249 +  `bgcolor` varchar(8) DEFAULT NULL,
  3.3250 +  `bgimage` varchar(255) DEFAULT NULL,
  3.3251 +  `cible` varchar(60) DEFAULT NULL,
  3.3252 +  `nbemail` int(11) DEFAULT NULL,
  3.3253 +  `email_from` varchar(160) DEFAULT NULL,
  3.3254 +  `email_replyto` varchar(160) DEFAULT NULL,
  3.3255 +  `email_errorsto` varchar(160) DEFAULT NULL,
  3.3256 +  `tag` varchar(128) DEFAULT NULL,
  3.3257 +  `date_creat` datetime DEFAULT NULL,
  3.3258 +  `date_valid` datetime DEFAULT NULL,
  3.3259 +  `date_appro` datetime DEFAULT NULL,
  3.3260 +  `date_envoi` datetime DEFAULT NULL,
  3.3261 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.3262 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.3263 +  `fk_user_appro` int(11) DEFAULT NULL,
  3.3264 +  `joined_file1` varchar(255) DEFAULT NULL,
  3.3265 +  `joined_file2` varchar(255) DEFAULT NULL,
  3.3266 +  `joined_file3` varchar(255) DEFAULT NULL,
  3.3267 +  `joined_file4` varchar(255) DEFAULT NULL,
  3.3268 +  PRIMARY KEY (`rowid`)
  3.3269 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3270 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3271 +
  3.3272 +--
  3.3273 +-- Dumping data for table `llx_mailing`
  3.3274 +--
  3.3275 +
  3.3276 +LOCK TABLES `llx_mailing` WRITE;
  3.3277 +/*!40000 ALTER TABLE `llx_mailing` DISABLE KEYS */;
  3.3278 +/*!40000 ALTER TABLE `llx_mailing` ENABLE KEYS */;
  3.3279 +UNLOCK TABLES;
  3.3280 +
  3.3281 +--
  3.3282 +-- Table structure for table `llx_mailing_cibles`
  3.3283 +--
  3.3284 +
  3.3285 +DROP TABLE IF EXISTS `llx_mailing_cibles`;
  3.3286 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3287 +/*!40101 SET character_set_client = utf8 */;
  3.3288 +CREATE TABLE `llx_mailing_cibles` (
  3.3289 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3290 +  `fk_mailing` int(11) NOT NULL,
  3.3291 +  `fk_contact` int(11) NOT NULL,
  3.3292 +  `nom` varchar(160) DEFAULT NULL,
  3.3293 +  `prenom` varchar(160) DEFAULT NULL,
  3.3294 +  `email` varchar(160) NOT NULL,
  3.3295 +  `other` varchar(255) DEFAULT NULL,
  3.3296 +  `tag` varchar(128) DEFAULT NULL,
  3.3297 +  `statut` smallint(6) NOT NULL DEFAULT '0',
  3.3298 +  `source_url` varchar(160) DEFAULT NULL,
  3.3299 +  `source_id` int(11) DEFAULT NULL,
  3.3300 +  `source_type` varchar(16) DEFAULT NULL,
  3.3301 +  `date_envoi` datetime DEFAULT NULL,
  3.3302 +  PRIMARY KEY (`rowid`),
  3.3303 +  UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`),
  3.3304 +  KEY `idx_mailing_cibles_email` (`email`)
  3.3305 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3306 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3307 +
  3.3308 +--
  3.3309 +-- Dumping data for table `llx_mailing_cibles`
  3.3310 +--
  3.3311 +
  3.3312 +LOCK TABLES `llx_mailing_cibles` WRITE;
  3.3313 +/*!40000 ALTER TABLE `llx_mailing_cibles` DISABLE KEYS */;
  3.3314 +/*!40000 ALTER TABLE `llx_mailing_cibles` ENABLE KEYS */;
  3.3315 +UNLOCK TABLES;
  3.3316 +
  3.3317 +--
  3.3318 +-- Table structure for table `llx_menu`
  3.3319 +--
  3.3320 +
  3.3321 +DROP TABLE IF EXISTS `llx_menu`;
  3.3322 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3323 +/*!40101 SET character_set_client = utf8 */;
  3.3324 +CREATE TABLE `llx_menu` (
  3.3325 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3326 +  `menu_handler` varchar(16) NOT NULL,
  3.3327 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3328 +  `module` varchar(64) DEFAULT NULL,
  3.3329 +  `type` varchar(4) NOT NULL,
  3.3330 +  `mainmenu` varchar(100) NOT NULL,
  3.3331 +  `fk_menu` int(11) NOT NULL,
  3.3332 +  `fk_leftmenu` varchar(16) DEFAULT NULL,
  3.3333 +  `fk_mainmenu` varchar(16) DEFAULT NULL,
  3.3334 +  `position` int(11) NOT NULL,
  3.3335 +  `url` varchar(255) NOT NULL,
  3.3336 +  `target` varchar(100) DEFAULT NULL,
  3.3337 +  `titre` varchar(255) NOT NULL,
  3.3338 +  `langs` varchar(100) DEFAULT NULL,
  3.3339 +  `level` smallint(6) DEFAULT NULL,
  3.3340 +  `leftmenu` varchar(100) DEFAULT NULL,
  3.3341 +  `perms` varchar(255) DEFAULT NULL,
  3.3342 +  `enabled` varchar(255) DEFAULT '1',
  3.3343 +  `usertype` int(11) NOT NULL DEFAULT '0',
  3.3344 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3345 +  PRIMARY KEY (`rowid`),
  3.3346 +  UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`),
  3.3347 +  KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`)
  3.3348 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3349 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3350 +
  3.3351 +--
  3.3352 +-- Dumping data for table `llx_menu`
  3.3353 +--
  3.3354 +
  3.3355 +LOCK TABLES `llx_menu` WRITE;
  3.3356 +/*!40000 ALTER TABLE `llx_menu` DISABLE KEYS */;
  3.3357 +/*!40000 ALTER TABLE `llx_menu` ENABLE KEYS */;
  3.3358 +UNLOCK TABLES;
  3.3359 +
  3.3360 +--
  3.3361 +-- Table structure for table `llx_notify`
  3.3362 +--
  3.3363 +
  3.3364 +DROP TABLE IF EXISTS `llx_notify`;
  3.3365 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3366 +/*!40101 SET character_set_client = utf8 */;
  3.3367 +CREATE TABLE `llx_notify` (
  3.3368 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3369 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3370 +  `daten` datetime DEFAULT NULL,
  3.3371 +  `fk_action` int(11) NOT NULL,
  3.3372 +  `fk_contact` int(11) DEFAULT NULL,
  3.3373 +  `fk_user` int(11) DEFAULT NULL,
  3.3374 +  `objet_type` varchar(24) NOT NULL,
  3.3375 +  `objet_id` int(11) NOT NULL,
  3.3376 +  `email` varchar(255) DEFAULT NULL,
  3.3377 +  PRIMARY KEY (`rowid`)
  3.3378 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3379 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3380 +
  3.3381 +--
  3.3382 +-- Dumping data for table `llx_notify`
  3.3383 +--
  3.3384 +
  3.3385 +LOCK TABLES `llx_notify` WRITE;
  3.3386 +/*!40000 ALTER TABLE `llx_notify` DISABLE KEYS */;
  3.3387 +/*!40000 ALTER TABLE `llx_notify` ENABLE KEYS */;
  3.3388 +UNLOCK TABLES;
  3.3389 +
  3.3390 +--
  3.3391 +-- Table structure for table `llx_notify_def`
  3.3392 +--
  3.3393 +
  3.3394 +DROP TABLE IF EXISTS `llx_notify_def`;
  3.3395 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3396 +/*!40101 SET character_set_client = utf8 */;
  3.3397 +CREATE TABLE `llx_notify_def` (
  3.3398 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3399 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3400 +  `datec` date DEFAULT NULL,
  3.3401 +  `fk_action` int(11) NOT NULL,
  3.3402 +  `fk_soc` int(11) NOT NULL,
  3.3403 +  `fk_contact` int(11) DEFAULT NULL,
  3.3404 +  `fk_user` int(11) DEFAULT NULL,
  3.3405 +  `type` varchar(16) DEFAULT 'email',
  3.3406 +  PRIMARY KEY (`rowid`)
  3.3407 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3408 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3409 +
  3.3410 +--
  3.3411 +-- Dumping data for table `llx_notify_def`
  3.3412 +--
  3.3413 +
  3.3414 +LOCK TABLES `llx_notify_def` WRITE;
  3.3415 +/*!40000 ALTER TABLE `llx_notify_def` DISABLE KEYS */;
  3.3416 +/*!40000 ALTER TABLE `llx_notify_def` ENABLE KEYS */;
  3.3417 +UNLOCK TABLES;
  3.3418 +
  3.3419 +--
  3.3420 +-- Table structure for table `llx_paiement`
  3.3421 +--
  3.3422 +
  3.3423 +DROP TABLE IF EXISTS `llx_paiement`;
  3.3424 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3425 +/*!40101 SET character_set_client = utf8 */;
  3.3426 +CREATE TABLE `llx_paiement` (
  3.3427 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3428 +  `datec` datetime DEFAULT NULL,
  3.3429 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3430 +  `datep` datetime DEFAULT NULL,
  3.3431 +  `amount` double(24,8) DEFAULT '0.00000000',
  3.3432 +  `fk_paiement` int(11) NOT NULL,
  3.3433 +  `num_paiement` varchar(50) DEFAULT NULL,
  3.3434 +  `note` text,
  3.3435 +  `fk_bank` int(11) NOT NULL DEFAULT '0',
  3.3436 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.3437 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.3438 +  `statut` smallint(6) NOT NULL DEFAULT '0',
  3.3439 +  `fk_export_compta` int(11) NOT NULL DEFAULT '0',
  3.3440 +  PRIMARY KEY (`rowid`)
  3.3441 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3442 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3443 +
  3.3444 +--
  3.3445 +-- Dumping data for table `llx_paiement`
  3.3446 +--
  3.3447 +
  3.3448 +LOCK TABLES `llx_paiement` WRITE;
  3.3449 +/*!40000 ALTER TABLE `llx_paiement` DISABLE KEYS */;
  3.3450 +/*!40000 ALTER TABLE `llx_paiement` ENABLE KEYS */;
  3.3451 +UNLOCK TABLES;
  3.3452 +
  3.3453 +--
  3.3454 +-- Table structure for table `llx_paiement_facture`
  3.3455 +--
  3.3456 +
  3.3457 +DROP TABLE IF EXISTS `llx_paiement_facture`;
  3.3458 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3459 +/*!40101 SET character_set_client = utf8 */;
  3.3460 +CREATE TABLE `llx_paiement_facture` (
  3.3461 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3462 +  `fk_paiement` int(11) DEFAULT NULL,
  3.3463 +  `fk_facture` int(11) DEFAULT NULL,
  3.3464 +  `amount` double DEFAULT '0',
  3.3465 +  PRIMARY KEY (`rowid`),
  3.3466 +  UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
  3.3467 +  KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
  3.3468 +  KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`)
  3.3469 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3470 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3471 +
  3.3472 +--
  3.3473 +-- Dumping data for table `llx_paiement_facture`
  3.3474 +--
  3.3475 +
  3.3476 +LOCK TABLES `llx_paiement_facture` WRITE;
  3.3477 +/*!40000 ALTER TABLE `llx_paiement_facture` DISABLE KEYS */;
  3.3478 +/*!40000 ALTER TABLE `llx_paiement_facture` ENABLE KEYS */;
  3.3479 +UNLOCK TABLES;
  3.3480 +
  3.3481 +--
  3.3482 +-- Table structure for table `llx_paiementcharge`
  3.3483 +--
  3.3484 +
  3.3485 +DROP TABLE IF EXISTS `llx_paiementcharge`;
  3.3486 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3487 +/*!40101 SET character_set_client = utf8 */;
  3.3488 +CREATE TABLE `llx_paiementcharge` (
  3.3489 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3490 +  `fk_charge` int(11) DEFAULT NULL,
  3.3491 +  `datec` datetime DEFAULT NULL,
  3.3492 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3493 +  `datep` datetime DEFAULT NULL,
  3.3494 +  `amount` double DEFAULT '0',
  3.3495 +  `fk_typepaiement` int(11) NOT NULL,
  3.3496 +  `num_paiement` varchar(50) DEFAULT NULL,
  3.3497 +  `note` text,
  3.3498 +  `fk_bank` int(11) NOT NULL,
  3.3499 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.3500 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.3501 +  PRIMARY KEY (`rowid`)
  3.3502 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3503 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3504 +
  3.3505 +--
  3.3506 +-- Dumping data for table `llx_paiementcharge`
  3.3507 +--
  3.3508 +
  3.3509 +LOCK TABLES `llx_paiementcharge` WRITE;
  3.3510 +/*!40000 ALTER TABLE `llx_paiementcharge` DISABLE KEYS */;
  3.3511 +/*!40000 ALTER TABLE `llx_paiementcharge` ENABLE KEYS */;
  3.3512 +UNLOCK TABLES;
  3.3513 +
  3.3514 +--
  3.3515 +-- Table structure for table `llx_paiementfourn`
  3.3516 +--
  3.3517 +
  3.3518 +DROP TABLE IF EXISTS `llx_paiementfourn`;
  3.3519 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3520 +/*!40101 SET character_set_client = utf8 */;
  3.3521 +CREATE TABLE `llx_paiementfourn` (
  3.3522 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3523 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3524 +  `datec` datetime DEFAULT NULL,
  3.3525 +  `datep` datetime DEFAULT NULL,
  3.3526 +  `amount` double(24,8) DEFAULT '0.00000000',
  3.3527 +  `fk_user_author` int(11) DEFAULT NULL,
  3.3528 +  `fk_paiement` int(11) NOT NULL,
  3.3529 +  `num_paiement` varchar(50) DEFAULT NULL,
  3.3530 +  `note` text,
  3.3531 +  `fk_bank` int(11) NOT NULL,
  3.3532 +  `statut` smallint(6) NOT NULL DEFAULT '0',
  3.3533 +  PRIMARY KEY (`rowid`)
  3.3534 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3535 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3536 +
  3.3537 +--
  3.3538 +-- Dumping data for table `llx_paiementfourn`
  3.3539 +--
  3.3540 +
  3.3541 +LOCK TABLES `llx_paiementfourn` WRITE;
  3.3542 +/*!40000 ALTER TABLE `llx_paiementfourn` DISABLE KEYS */;
  3.3543 +/*!40000 ALTER TABLE `llx_paiementfourn` ENABLE KEYS */;
  3.3544 +UNLOCK TABLES;
  3.3545 +
  3.3546 +--
  3.3547 +-- Table structure for table `llx_paiementfourn_facturefourn`
  3.3548 +--
  3.3549 +
  3.3550 +DROP TABLE IF EXISTS `llx_paiementfourn_facturefourn`;
  3.3551 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3552 +/*!40101 SET character_set_client = utf8 */;
  3.3553 +CREATE TABLE `llx_paiementfourn_facturefourn` (
  3.3554 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3555 +  `fk_paiementfourn` int(11) DEFAULT NULL,
  3.3556 +  `fk_facturefourn` int(11) DEFAULT NULL,
  3.3557 +  `amount` double DEFAULT '0',
  3.3558 +  PRIMARY KEY (`rowid`),
  3.3559 +  UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
  3.3560 +  KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
  3.3561 +  KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`)
  3.3562 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3563 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3564 +
  3.3565 +--
  3.3566 +-- Dumping data for table `llx_paiementfourn_facturefourn`
  3.3567 +--
  3.3568 +
  3.3569 +LOCK TABLES `llx_paiementfourn_facturefourn` WRITE;
  3.3570 +/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` DISABLE KEYS */;
  3.3571 +/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` ENABLE KEYS */;
  3.3572 +UNLOCK TABLES;
  3.3573 +
  3.3574 +--
  3.3575 +-- Table structure for table `llx_prelevement_bons`
  3.3576 +--
  3.3577 +
  3.3578 +DROP TABLE IF EXISTS `llx_prelevement_bons`;
  3.3579 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3580 +/*!40101 SET character_set_client = utf8 */;
  3.3581 +CREATE TABLE `llx_prelevement_bons` (
  3.3582 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3583 +  `ref` varchar(12) DEFAULT NULL,
  3.3584 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3585 +  `datec` datetime DEFAULT NULL,
  3.3586 +  `amount` double DEFAULT '0',
  3.3587 +  `statut` smallint(6) DEFAULT '0',
  3.3588 +  `credite` smallint(6) DEFAULT '0',
  3.3589 +  `note` text,
  3.3590 +  `date_trans` datetime DEFAULT NULL,
  3.3591 +  `method_trans` smallint(6) DEFAULT NULL,
  3.3592 +  `fk_user_trans` int(11) DEFAULT NULL,
  3.3593 +  `date_credit` datetime DEFAULT NULL,
  3.3594 +  `fk_user_credit` int(11) DEFAULT NULL,
  3.3595 +  PRIMARY KEY (`rowid`),
  3.3596 +  UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`)
  3.3597 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3598 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3599 +
  3.3600 +--
  3.3601 +-- Dumping data for table `llx_prelevement_bons`
  3.3602 +--
  3.3603 +
  3.3604 +LOCK TABLES `llx_prelevement_bons` WRITE;
  3.3605 +/*!40000 ALTER TABLE `llx_prelevement_bons` DISABLE KEYS */;
  3.3606 +/*!40000 ALTER TABLE `llx_prelevement_bons` ENABLE KEYS */;
  3.3607 +UNLOCK TABLES;
  3.3608 +
  3.3609 +--
  3.3610 +-- Table structure for table `llx_prelevement_facture`
  3.3611 +--
  3.3612 +
  3.3613 +DROP TABLE IF EXISTS `llx_prelevement_facture`;
  3.3614 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3615 +/*!40101 SET character_set_client = utf8 */;
  3.3616 +CREATE TABLE `llx_prelevement_facture` (
  3.3617 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3618 +  `fk_facture` int(11) NOT NULL,
  3.3619 +  `fk_prelevement_lignes` int(11) NOT NULL,
  3.3620 +  PRIMARY KEY (`rowid`),
  3.3621 +  KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`)
  3.3622 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3623 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3624 +
  3.3625 +--
  3.3626 +-- Dumping data for table `llx_prelevement_facture`
  3.3627 +--
  3.3628 +
  3.3629 +LOCK TABLES `llx_prelevement_facture` WRITE;
  3.3630 +/*!40000 ALTER TABLE `llx_prelevement_facture` DISABLE KEYS */;
  3.3631 +/*!40000 ALTER TABLE `llx_prelevement_facture` ENABLE KEYS */;
  3.3632 +UNLOCK TABLES;
  3.3633 +
  3.3634 +--
  3.3635 +-- Table structure for table `llx_prelevement_facture_demande`
  3.3636 +--
  3.3637 +
  3.3638 +DROP TABLE IF EXISTS `llx_prelevement_facture_demande`;
  3.3639 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3640 +/*!40101 SET character_set_client = utf8 */;
  3.3641 +CREATE TABLE `llx_prelevement_facture_demande` (
  3.3642 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3643 +  `fk_facture` int(11) NOT NULL,
  3.3644 +  `amount` double NOT NULL,
  3.3645 +  `date_demande` datetime NOT NULL,
  3.3646 +  `traite` smallint(6) DEFAULT '0',
  3.3647 +  `date_traite` datetime DEFAULT NULL,
  3.3648 +  `fk_prelevement_bons` int(11) DEFAULT NULL,
  3.3649 +  `fk_user_demande` int(11) NOT NULL,
  3.3650 +  `code_banque` varchar(7) DEFAULT NULL,
  3.3651 +  `code_guichet` varchar(6) DEFAULT NULL,
  3.3652 +  `number` varchar(255) DEFAULT NULL,
  3.3653 +  `cle_rib` varchar(5) DEFAULT NULL,
  3.3654 +  PRIMARY KEY (`rowid`)
  3.3655 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3656 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3657 +
  3.3658 +--
  3.3659 +-- Dumping data for table `llx_prelevement_facture_demande`
  3.3660 +--
  3.3661 +
  3.3662 +LOCK TABLES `llx_prelevement_facture_demande` WRITE;
  3.3663 +/*!40000 ALTER TABLE `llx_prelevement_facture_demande` DISABLE KEYS */;
  3.3664 +/*!40000 ALTER TABLE `llx_prelevement_facture_demande` ENABLE KEYS */;
  3.3665 +UNLOCK TABLES;
  3.3666 +
  3.3667 +--
  3.3668 +-- Table structure for table `llx_prelevement_lignes`
  3.3669 +--
  3.3670 +
  3.3671 +DROP TABLE IF EXISTS `llx_prelevement_lignes`;
  3.3672 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3673 +/*!40101 SET character_set_client = utf8 */;
  3.3674 +CREATE TABLE `llx_prelevement_lignes` (
  3.3675 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3676 +  `fk_prelevement_bons` int(11) DEFAULT NULL,
  3.3677 +  `fk_soc` int(11) NOT NULL,
  3.3678 +  `statut` smallint(6) DEFAULT '0',
  3.3679 +  `client_nom` varchar(255) DEFAULT NULL,
  3.3680 +  `amount` double DEFAULT '0',
  3.3681 +  `code_banque` varchar(7) DEFAULT NULL,
  3.3682 +  `code_guichet` varchar(6) DEFAULT NULL,
  3.3683 +  `number` varchar(255) DEFAULT NULL,
  3.3684 +  `cle_rib` varchar(5) DEFAULT NULL,
  3.3685 +  `note` text,
  3.3686 +  PRIMARY KEY (`rowid`),
  3.3687 +  KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`)
  3.3688 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3689 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3690 +
  3.3691 +--
  3.3692 +-- Dumping data for table `llx_prelevement_lignes`
  3.3693 +--
  3.3694 +
  3.3695 +LOCK TABLES `llx_prelevement_lignes` WRITE;
  3.3696 +/*!40000 ALTER TABLE `llx_prelevement_lignes` DISABLE KEYS */;
  3.3697 +/*!40000 ALTER TABLE `llx_prelevement_lignes` ENABLE KEYS */;
  3.3698 +UNLOCK TABLES;
  3.3699 +
  3.3700 +--
  3.3701 +-- Table structure for table `llx_prelevement_rejet`
  3.3702 +--
  3.3703 +
  3.3704 +DROP TABLE IF EXISTS `llx_prelevement_rejet`;
  3.3705 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3706 +/*!40101 SET character_set_client = utf8 */;
  3.3707 +CREATE TABLE `llx_prelevement_rejet` (
  3.3708 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3709 +  `fk_prelevement_lignes` int(11) DEFAULT NULL,
  3.3710 +  `date_rejet` datetime DEFAULT NULL,
  3.3711 +  `motif` int(11) DEFAULT NULL,
  3.3712 +  `date_creation` datetime DEFAULT NULL,
  3.3713 +  `fk_user_creation` int(11) DEFAULT NULL,
  3.3714 +  `note` text,
  3.3715 +  `afacturer` tinyint(4) DEFAULT '0',
  3.3716 +  `fk_facture` int(11) DEFAULT NULL,
  3.3717 +  PRIMARY KEY (`rowid`)
  3.3718 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3719 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3720 +
  3.3721 +--
  3.3722 +-- Dumping data for table `llx_prelevement_rejet`
  3.3723 +--
  3.3724 +
  3.3725 +LOCK TABLES `llx_prelevement_rejet` WRITE;
  3.3726 +/*!40000 ALTER TABLE `llx_prelevement_rejet` DISABLE KEYS */;
  3.3727 +/*!40000 ALTER TABLE `llx_prelevement_rejet` ENABLE KEYS */;
  3.3728 +UNLOCK TABLES;
  3.3729 +
  3.3730 +--
  3.3731 +-- Table structure for table `llx_product`
  3.3732 +--
  3.3733 +
  3.3734 +DROP TABLE IF EXISTS `llx_product`;
  3.3735 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3736 +/*!40101 SET character_set_client = utf8 */;
  3.3737 +CREATE TABLE `llx_product` (
  3.3738 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3739 +  `datec` datetime DEFAULT NULL,
  3.3740 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3741 +  `virtual` tinyint(4) NOT NULL DEFAULT '0',
  3.3742 +  `fk_parent` int(11) DEFAULT '0',
  3.3743 +  `ref` varchar(32) NOT NULL,
  3.3744 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3745 +  `ref_ext` varchar(32) DEFAULT NULL,
  3.3746 +  `label` varchar(255) NOT NULL,
  3.3747 +  `description` text,
  3.3748 +  `note` text,
  3.3749 +  `customcode` varchar(32) DEFAULT NULL,
  3.3750 +  `fk_country` int(11) DEFAULT NULL,
  3.3751 +  `price` double(24,8) DEFAULT '0.00000000',
  3.3752 +  `price_ttc` double(24,8) DEFAULT '0.00000000',
  3.3753 +  `price_min` double(24,8) DEFAULT '0.00000000',
  3.3754 +  `price_min_ttc` double(24,8) DEFAULT '0.00000000',
  3.3755 +  `price_base_type` varchar(3) DEFAULT 'HT',
  3.3756 +  `tva_tx` double(6,3) DEFAULT NULL,
  3.3757 +  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  3.3758 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.3759 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.3760 +  `fk_user_author` int(11) DEFAULT NULL,
  3.3761 +  `tosell` tinyint(4) DEFAULT '1',
  3.3762 +  `tobuy` tinyint(4) DEFAULT '1',
  3.3763 +  `fk_product_type` int(11) DEFAULT '0',
  3.3764 +  `duration` varchar(6) DEFAULT NULL,
  3.3765 +  `seuil_stock_alerte` int(11) DEFAULT '0',
  3.3766 +  `barcode` varchar(255) DEFAULT NULL,
  3.3767 +  `fk_barcode_type` int(11) DEFAULT '0',
  3.3768 +  `accountancy_code_sell` varchar(15) DEFAULT NULL,
  3.3769 +  `accountancy_code_buy` varchar(15) DEFAULT NULL,
  3.3770 +  `partnumber` varchar(32) DEFAULT NULL,
  3.3771 +  `weight` float DEFAULT NULL,
  3.3772 +  `weight_units` tinyint(4) DEFAULT NULL,
  3.3773 +  `length` float DEFAULT NULL,
  3.3774 +  `length_units` tinyint(4) DEFAULT NULL,
  3.3775 +  `surface` float DEFAULT NULL,
  3.3776 +  `surface_units` tinyint(4) DEFAULT NULL,
  3.3777 +  `volume` float DEFAULT NULL,
  3.3778 +  `volume_units` tinyint(4) DEFAULT NULL,
  3.3779 +  `stock` int(11) DEFAULT NULL,
  3.3780 +  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.3781 +  `canvas` varchar(32) DEFAULT 'default@product',
  3.3782 +  `finished` tinyint(4) DEFAULT NULL,
  3.3783 +  `hidden` tinyint(4) DEFAULT '0',
  3.3784 +  `import_key` varchar(14) DEFAULT NULL,
  3.3785 +  PRIMARY KEY (`rowid`),
  3.3786 +  UNIQUE KEY `uk_product_ref` (`ref`,`entity`),
  3.3787 +  KEY `idx_product_label` (`label`),
  3.3788 +  KEY `idx_product_barcode` (`barcode`),
  3.3789 +  KEY `idx_product_import_key` (`import_key`)
  3.3790 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3791 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3792 +
  3.3793 +--
  3.3794 +-- Dumping data for table `llx_product`
  3.3795 +--
  3.3796 +
  3.3797 +LOCK TABLES `llx_product` WRITE;
  3.3798 +/*!40000 ALTER TABLE `llx_product` DISABLE KEYS */;
  3.3799 +/*!40000 ALTER TABLE `llx_product` ENABLE KEYS */;
  3.3800 +UNLOCK TABLES;
  3.3801 +
  3.3802 +--
  3.3803 +-- Table structure for table `llx_product_association`
  3.3804 +--
  3.3805 +
  3.3806 +DROP TABLE IF EXISTS `llx_product_association`;
  3.3807 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3808 +/*!40101 SET character_set_client = utf8 */;
  3.3809 +CREATE TABLE `llx_product_association` (
  3.3810 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3811 +  `fk_product_pere` int(11) NOT NULL DEFAULT '0',
  3.3812 +  `fk_product_fils` int(11) NOT NULL DEFAULT '0',
  3.3813 +  `qty` double DEFAULT NULL,
  3.3814 +  PRIMARY KEY (`rowid`),
  3.3815 +  UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
  3.3816 +  KEY `idx_product_association_fils` (`fk_product_fils`)
  3.3817 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3818 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3819 +
  3.3820 +--
  3.3821 +-- Dumping data for table `llx_product_association`
  3.3822 +--
  3.3823 +
  3.3824 +LOCK TABLES `llx_product_association` WRITE;
  3.3825 +/*!40000 ALTER TABLE `llx_product_association` DISABLE KEYS */;
  3.3826 +/*!40000 ALTER TABLE `llx_product_association` ENABLE KEYS */;
  3.3827 +UNLOCK TABLES;
  3.3828 +
  3.3829 +--
  3.3830 +-- Table structure for table `llx_product_ca`
  3.3831 +--
  3.3832 +
  3.3833 +DROP TABLE IF EXISTS `llx_product_ca`;
  3.3834 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3835 +/*!40101 SET character_set_client = utf8 */;
  3.3836 +CREATE TABLE `llx_product_ca` (
  3.3837 +  `fk_product` int(11) DEFAULT NULL,
  3.3838 +  `date_calcul` datetime DEFAULT NULL,
  3.3839 +  `year` smallint(5) unsigned DEFAULT NULL,
  3.3840 +  `ca_genere` float DEFAULT NULL,
  3.3841 +  UNIQUE KEY `fk_product` (`fk_product`,`year`)
  3.3842 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3843 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3844 +
  3.3845 +--
  3.3846 +-- Dumping data for table `llx_product_ca`
  3.3847 +--
  3.3848 +
  3.3849 +LOCK TABLES `llx_product_ca` WRITE;
  3.3850 +/*!40000 ALTER TABLE `llx_product_ca` DISABLE KEYS */;
  3.3851 +/*!40000 ALTER TABLE `llx_product_ca` ENABLE KEYS */;
  3.3852 +UNLOCK TABLES;
  3.3853 +
  3.3854 +--
  3.3855 +-- Table structure for table `llx_product_extrafields`
  3.3856 +--
  3.3857 +
  3.3858 +DROP TABLE IF EXISTS `llx_product_extrafields`;
  3.3859 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3860 +/*!40101 SET character_set_client = utf8 */;
  3.3861 +CREATE TABLE `llx_product_extrafields` (
  3.3862 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3863 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3864 +  `fk_object` int(11) NOT NULL,
  3.3865 +  PRIMARY KEY (`rowid`),
  3.3866 +  KEY `idx_product_extrafields` (`fk_object`)
  3.3867 +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  3.3868 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3869 +
  3.3870 +--
  3.3871 +-- Dumping data for table `llx_product_extrafields`
  3.3872 +--
  3.3873 +
  3.3874 +LOCK TABLES `llx_product_extrafields` WRITE;
  3.3875 +/*!40000 ALTER TABLE `llx_product_extrafields` DISABLE KEYS */;
  3.3876 +/*!40000 ALTER TABLE `llx_product_extrafields` ENABLE KEYS */;
  3.3877 +UNLOCK TABLES;
  3.3878 +
  3.3879 +--
  3.3880 +-- Table structure for table `llx_product_fournisseur`
  3.3881 +--
  3.3882 +
  3.3883 +DROP TABLE IF EXISTS `llx_product_fournisseur`;
  3.3884 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3885 +/*!40101 SET character_set_client = utf8 */;
  3.3886 +CREATE TABLE `llx_product_fournisseur` (
  3.3887 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3888 +  `datec` datetime DEFAULT NULL,
  3.3889 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3890 +  `fk_product` int(11) DEFAULT NULL,
  3.3891 +  `fk_soc` int(11) DEFAULT NULL,
  3.3892 +  `ref_fourn` varchar(30) DEFAULT NULL,
  3.3893 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.3894 +  `fk_user_author` int(11) DEFAULT NULL,
  3.3895 +  PRIMARY KEY (`rowid`),
  3.3896 +  UNIQUE KEY `uk_product_fournisseur_ref` (`ref_fourn`,`fk_soc`,`entity`),
  3.3897 +  KEY `idx_product_fourn_fk_product` (`fk_product`,`entity`),
  3.3898 +  KEY `idx_product_fourn_fk_soc` (`fk_soc`,`entity`)
  3.3899 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3900 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3901 +
  3.3902 +--
  3.3903 +-- Dumping data for table `llx_product_fournisseur`
  3.3904 +--
  3.3905 +
  3.3906 +LOCK TABLES `llx_product_fournisseur` WRITE;
  3.3907 +/*!40000 ALTER TABLE `llx_product_fournisseur` DISABLE KEYS */;
  3.3908 +/*!40000 ALTER TABLE `llx_product_fournisseur` ENABLE KEYS */;
  3.3909 +UNLOCK TABLES;
  3.3910 +
  3.3911 +--
  3.3912 +-- Table structure for table `llx_product_fournisseur_price`
  3.3913 +--
  3.3914 +
  3.3915 +DROP TABLE IF EXISTS `llx_product_fournisseur_price`;
  3.3916 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3917 +/*!40101 SET character_set_client = utf8 */;
  3.3918 +CREATE TABLE `llx_product_fournisseur_price` (
  3.3919 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3920 +  `datec` datetime DEFAULT NULL,
  3.3921 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.3922 +  `fk_product_fournisseur` int(11) NOT NULL,
  3.3923 +  `price` double(24,8) DEFAULT '0.00000000',
  3.3924 +  `quantity` double DEFAULT NULL,
  3.3925 +  `unitprice` double(24,8) DEFAULT '0.00000000',
  3.3926 +  `fk_user` int(11) DEFAULT NULL,
  3.3927 +  PRIMARY KEY (`rowid`),
  3.3928 +  KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
  3.3929 +  KEY `idx_product_fournisseur_price_fk_product_fournisseur` (`fk_product_fournisseur`)
  3.3930 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3931 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3932 +
  3.3933 +--
  3.3934 +-- Dumping data for table `llx_product_fournisseur_price`
  3.3935 +--
  3.3936 +
  3.3937 +LOCK TABLES `llx_product_fournisseur_price` WRITE;
  3.3938 +/*!40000 ALTER TABLE `llx_product_fournisseur_price` DISABLE KEYS */;
  3.3939 +/*!40000 ALTER TABLE `llx_product_fournisseur_price` ENABLE KEYS */;
  3.3940 +UNLOCK TABLES;
  3.3941 +
  3.3942 +--
  3.3943 +-- Table structure for table `llx_product_fournisseur_price_log`
  3.3944 +--
  3.3945 +
  3.3946 +DROP TABLE IF EXISTS `llx_product_fournisseur_price_log`;
  3.3947 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3948 +/*!40101 SET character_set_client = utf8 */;
  3.3949 +CREATE TABLE `llx_product_fournisseur_price_log` (
  3.3950 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3951 +  `datec` datetime DEFAULT NULL,
  3.3952 +  `fk_product_fournisseur` int(11) NOT NULL,
  3.3953 +  `price` double(24,8) DEFAULT '0.00000000',
  3.3954 +  `quantity` double DEFAULT NULL,
  3.3955 +  `fk_user` int(11) DEFAULT NULL,
  3.3956 +  PRIMARY KEY (`rowid`)
  3.3957 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3958 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3959 +
  3.3960 +--
  3.3961 +-- Dumping data for table `llx_product_fournisseur_price_log`
  3.3962 +--
  3.3963 +
  3.3964 +LOCK TABLES `llx_product_fournisseur_price_log` WRITE;
  3.3965 +/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` DISABLE KEYS */;
  3.3966 +/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` ENABLE KEYS */;
  3.3967 +UNLOCK TABLES;
  3.3968 +
  3.3969 +--
  3.3970 +-- Table structure for table `llx_product_lang`
  3.3971 +--
  3.3972 +
  3.3973 +DROP TABLE IF EXISTS `llx_product_lang`;
  3.3974 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.3975 +/*!40101 SET character_set_client = utf8 */;
  3.3976 +CREATE TABLE `llx_product_lang` (
  3.3977 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.3978 +  `fk_product` int(11) NOT NULL DEFAULT '0',
  3.3979 +  `lang` varchar(5) NOT NULL DEFAULT '0',
  3.3980 +  `label` varchar(255) NOT NULL,
  3.3981 +  `description` text,
  3.3982 +  `note` text,
  3.3983 +  PRIMARY KEY (`rowid`),
  3.3984 +  UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`)
  3.3985 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.3986 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.3987 +
  3.3988 +--
  3.3989 +-- Dumping data for table `llx_product_lang`
  3.3990 +--
  3.3991 +
  3.3992 +LOCK TABLES `llx_product_lang` WRITE;
  3.3993 +/*!40000 ALTER TABLE `llx_product_lang` DISABLE KEYS */;
  3.3994 +/*!40000 ALTER TABLE `llx_product_lang` ENABLE KEYS */;
  3.3995 +UNLOCK TABLES;
  3.3996 +
  3.3997 +--
  3.3998 +-- Table structure for table `llx_product_price`
  3.3999 +--
  3.4000 +
  3.4001 +DROP TABLE IF EXISTS `llx_product_price`;
  3.4002 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4003 +/*!40101 SET character_set_client = utf8 */;
  3.4004 +CREATE TABLE `llx_product_price` (
  3.4005 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4006 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4007 +  `fk_product` int(11) NOT NULL,
  3.4008 +  `date_price` datetime NOT NULL,
  3.4009 +  `price_level` smallint(6) DEFAULT '1',
  3.4010 +  `price` double(24,8) DEFAULT NULL,
  3.4011 +  `price_ttc` double(24,8) DEFAULT NULL,
  3.4012 +  `price_min` double(24,8) DEFAULT NULL,
  3.4013 +  `price_min_ttc` double(24,8) DEFAULT NULL,
  3.4014 +  `price_base_type` varchar(3) DEFAULT 'HT',
  3.4015 +  `tva_tx` double(6,3) NOT NULL,
  3.4016 +  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  3.4017 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.4018 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.4019 +  `fk_user_author` int(11) DEFAULT NULL,
  3.4020 +  `tosell` tinyint(4) DEFAULT '1',
  3.4021 +  PRIMARY KEY (`rowid`)
  3.4022 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4023 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4024 +
  3.4025 +--
  3.4026 +-- Dumping data for table `llx_product_price`
  3.4027 +--
  3.4028 +
  3.4029 +LOCK TABLES `llx_product_price` WRITE;
  3.4030 +/*!40000 ALTER TABLE `llx_product_price` DISABLE KEYS */;
  3.4031 +/*!40000 ALTER TABLE `llx_product_price` ENABLE KEYS */;
  3.4032 +UNLOCK TABLES;
  3.4033 +
  3.4034 +--
  3.4035 +-- Table structure for table `llx_product_stock`
  3.4036 +--
  3.4037 +
  3.4038 +DROP TABLE IF EXISTS `llx_product_stock`;
  3.4039 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4040 +/*!40101 SET character_set_client = utf8 */;
  3.4041 +CREATE TABLE `llx_product_stock` (
  3.4042 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4043 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4044 +  `fk_product` int(11) NOT NULL,
  3.4045 +  `fk_entrepot` int(11) NOT NULL,
  3.4046 +  `reel` double DEFAULT NULL,
  3.4047 +  `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.4048 +  PRIMARY KEY (`rowid`),
  3.4049 +  UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`),
  3.4050 +  KEY `idx_product_stock_fk_product` (`fk_product`),
  3.4051 +  KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`)
  3.4052 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4053 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4054 +
  3.4055 +--
  3.4056 +-- Dumping data for table `llx_product_stock`
  3.4057 +--
  3.4058 +
  3.4059 +LOCK TABLES `llx_product_stock` WRITE;
  3.4060 +/*!40000 ALTER TABLE `llx_product_stock` DISABLE KEYS */;
  3.4061 +/*!40000 ALTER TABLE `llx_product_stock` ENABLE KEYS */;
  3.4062 +UNLOCK TABLES;
  3.4063 +
  3.4064 +--
  3.4065 +-- Table structure for table `llx_projet`
  3.4066 +--
  3.4067 +
  3.4068 +DROP TABLE IF EXISTS `llx_projet`;
  3.4069 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4070 +/*!40101 SET character_set_client = utf8 */;
  3.4071 +CREATE TABLE `llx_projet` (
  3.4072 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4073 +  `fk_soc` int(11) DEFAULT NULL,
  3.4074 +  `datec` date DEFAULT NULL,
  3.4075 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4076 +  `dateo` date DEFAULT NULL,
  3.4077 +  `datee` date DEFAULT NULL,
  3.4078 +  `ref` varchar(50) DEFAULT NULL,
  3.4079 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4080 +  `title` varchar(255) NOT NULL,
  3.4081 +  `description` text,
  3.4082 +  `fk_user_creat` int(11) NOT NULL,
  3.4083 +  `public` int(11) DEFAULT NULL,
  3.4084 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.4085 +  `note_private` text,
  3.4086 +  `note_public` text,
  3.4087 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.4088 +  PRIMARY KEY (`rowid`),
  3.4089 +  UNIQUE KEY `uk_projet_ref` (`ref`,`entity`),
  3.4090 +  KEY `idx_projet_fk_soc` (`fk_soc`)
  3.4091 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4092 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4093 +
  3.4094 +--
  3.4095 +-- Dumping data for table `llx_projet`
  3.4096 +--
  3.4097 +
  3.4098 +LOCK TABLES `llx_projet` WRITE;
  3.4099 +/*!40000 ALTER TABLE `llx_projet` DISABLE KEYS */;
  3.4100 +/*!40000 ALTER TABLE `llx_projet` ENABLE KEYS */;
  3.4101 +UNLOCK TABLES;
  3.4102 +
  3.4103 +--
  3.4104 +-- Table structure for table `llx_projet_task`
  3.4105 +--
  3.4106 +
  3.4107 +DROP TABLE IF EXISTS `llx_projet_task`;
  3.4108 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4109 +/*!40101 SET character_set_client = utf8 */;
  3.4110 +CREATE TABLE `llx_projet_task` (
  3.4111 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4112 +  `fk_projet` int(11) NOT NULL,
  3.4113 +  `fk_task_parent` int(11) NOT NULL DEFAULT '0',
  3.4114 +  `datec` datetime DEFAULT NULL,
  3.4115 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4116 +  `dateo` datetime DEFAULT NULL,
  3.4117 +  `datee` datetime DEFAULT NULL,
  3.4118 +  `datev` datetime DEFAULT NULL,
  3.4119 +  `label` varchar(255) NOT NULL,
  3.4120 +  `description` text,
  3.4121 +  `duration_effective` double NOT NULL DEFAULT '0',
  3.4122 +  `progress` int(11) DEFAULT '0',
  3.4123 +  `priority` int(11) DEFAULT '0',
  3.4124 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.4125 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.4126 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.4127 +  `note_private` text,
  3.4128 +  `note_public` text,
  3.4129 +  `rang` int(11) DEFAULT '0',
  3.4130 +  PRIMARY KEY (`rowid`),
  3.4131 +  KEY `idx_projet_task_fk_projet` (`fk_projet`),
  3.4132 +  KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`),
  3.4133 +  KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`)
  3.4134 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4135 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4136 +
  3.4137 +--
  3.4138 +-- Dumping data for table `llx_projet_task`
  3.4139 +--
  3.4140 +
  3.4141 +LOCK TABLES `llx_projet_task` WRITE;
  3.4142 +/*!40000 ALTER TABLE `llx_projet_task` DISABLE KEYS */;
  3.4143 +/*!40000 ALTER TABLE `llx_projet_task` ENABLE KEYS */;
  3.4144 +UNLOCK TABLES;
  3.4145 +
  3.4146 +--
  3.4147 +-- Table structure for table `llx_projet_task_time`
  3.4148 +--
  3.4149 +
  3.4150 +DROP TABLE IF EXISTS `llx_projet_task_time`;
  3.4151 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4152 +/*!40101 SET character_set_client = utf8 */;
  3.4153 +CREATE TABLE `llx_projet_task_time` (
  3.4154 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4155 +  `fk_task` int(11) NOT NULL,
  3.4156 +  `task_date` date DEFAULT NULL,
  3.4157 +  `task_duration` double DEFAULT NULL,
  3.4158 +  `fk_user` int(11) DEFAULT NULL,
  3.4159 +  `note` text,
  3.4160 +  PRIMARY KEY (`rowid`)
  3.4161 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4162 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4163 +
  3.4164 +--
  3.4165 +-- Dumping data for table `llx_projet_task_time`
  3.4166 +--
  3.4167 +
  3.4168 +LOCK TABLES `llx_projet_task_time` WRITE;
  3.4169 +/*!40000 ALTER TABLE `llx_projet_task_time` DISABLE KEYS */;
  3.4170 +/*!40000 ALTER TABLE `llx_projet_task_time` ENABLE KEYS */;
  3.4171 +UNLOCK TABLES;
  3.4172 +
  3.4173 +--
  3.4174 +-- Table structure for table `llx_propal`
  3.4175 +--
  3.4176 +
  3.4177 +DROP TABLE IF EXISTS `llx_propal`;
  3.4178 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4179 +/*!40101 SET character_set_client = utf8 */;
  3.4180 +CREATE TABLE `llx_propal` (
  3.4181 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4182 +  `fk_soc` int(11) DEFAULT NULL,
  3.4183 +  `fk_projet` int(11) DEFAULT '0',
  3.4184 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4185 +  `ref` varchar(30) NOT NULL,
  3.4186 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4187 +  `ref_ext` varchar(50) DEFAULT NULL,
  3.4188 +  `ref_int` varchar(50) DEFAULT NULL,
  3.4189 +  `ref_client` varchar(50) DEFAULT NULL,
  3.4190 +  `datec` datetime DEFAULT NULL,
  3.4191 +  `datep` date DEFAULT NULL,
  3.4192 +  `fin_validite` datetime DEFAULT NULL,
  3.4193 +  `date_valid` datetime DEFAULT NULL,
  3.4194 +  `date_cloture` datetime DEFAULT NULL,
  3.4195 +  `fk_user_author` int(11) DEFAULT NULL,
  3.4196 +  `fk_user_valid` int(11) DEFAULT NULL,
  3.4197 +  `fk_user_cloture` int(11) DEFAULT NULL,
  3.4198 +  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  3.4199 +  `price` double DEFAULT '0',
  3.4200 +  `remise_percent` double DEFAULT '0',
  3.4201 +  `remise_absolue` double DEFAULT '0',
  3.4202 +  `remise` double DEFAULT '0',
  3.4203 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.4204 +  `tva` double(24,8) DEFAULT '0.00000000',
  3.4205 +  `localtax1` double(24,8) DEFAULT '0.00000000',
  3.4206 +  `localtax2` double(24,8) DEFAULT '0.00000000',
  3.4207 +  `total` double(24,8) DEFAULT '0.00000000',
  3.4208 +  `fk_cond_reglement` int(11) DEFAULT NULL,
  3.4209 +  `fk_mode_reglement` int(11) DEFAULT NULL,
  3.4210 +  `note` text,
  3.4211 +  `note_public` text,
  3.4212 +  `model_pdf` varchar(255) DEFAULT NULL,
  3.4213 +  `date_livraison` date DEFAULT NULL,
  3.4214 +  `fk_availability` int(11) DEFAULT NULL,
  3.4215 +  `fk_adresse_livraison` int(11) DEFAULT NULL,
  3.4216 +  `fk_demand_reason` int(11) DEFAULT '0',
  3.4217 +  PRIMARY KEY (`rowid`),
  3.4218 +  UNIQUE KEY `uk_propal_ref` (`ref`,`entity`),
  3.4219 +  KEY `idx_propal_fk_soc` (`fk_soc`)
  3.4220 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4221 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4222 +
  3.4223 +--
  3.4224 +-- Dumping data for table `llx_propal`
  3.4225 +--
  3.4226 +
  3.4227 +LOCK TABLES `llx_propal` WRITE;
  3.4228 +/*!40000 ALTER TABLE `llx_propal` DISABLE KEYS */;
  3.4229 +/*!40000 ALTER TABLE `llx_propal` ENABLE KEYS */;
  3.4230 +UNLOCK TABLES;
  3.4231 +
  3.4232 +--
  3.4233 +-- Table structure for table `llx_propaldet`
  3.4234 +--
  3.4235 +
  3.4236 +DROP TABLE IF EXISTS `llx_propaldet`;
  3.4237 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4238 +/*!40101 SET character_set_client = utf8 */;
  3.4239 +CREATE TABLE `llx_propaldet` (
  3.4240 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4241 +  `fk_propal` int(11) NOT NULL,
  3.4242 +  `fk_parent_line` int(11) DEFAULT NULL,
  3.4243 +  `fk_product` int(11) DEFAULT NULL,
  3.4244 +  `description` text,
  3.4245 +  `fk_remise_except` int(11) DEFAULT NULL,
  3.4246 +  `tva_tx` double(6,3) DEFAULT '0.000',
  3.4247 +  `localtax1_tx` double(6,3) DEFAULT '0.000',
  3.4248 +  `localtax2_tx` double(6,3) DEFAULT '0.000',
  3.4249 +  `qty` double DEFAULT NULL,
  3.4250 +  `remise_percent` double DEFAULT '0',
  3.4251 +  `remise` double DEFAULT '0',
  3.4252 +  `price` double DEFAULT NULL,
  3.4253 +  `subprice` double(24,8) DEFAULT '0.00000000',
  3.4254 +  `total_ht` double(24,8) DEFAULT '0.00000000',
  3.4255 +  `total_tva` double(24,8) DEFAULT '0.00000000',
  3.4256 +  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  3.4257 +  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  3.4258 +  `total_ttc` double(24,8) DEFAULT '0.00000000',
  3.4259 +  `product_type` int(11) DEFAULT '0',
  3.4260 +  `date_start` datetime DEFAULT NULL,
  3.4261 +  `date_end` datetime DEFAULT NULL,
  3.4262 +  `info_bits` int(11) DEFAULT '0',
  3.4263 +  `pa_ht` double(24,8) DEFAULT '0.00000000',
  3.4264 +  `marge_tx` double(6,3) DEFAULT '0.000',
  3.4265 +  `marque_tx` double(6,3) DEFAULT '0.000',
  3.4266 +  `special_code` int(10) unsigned DEFAULT '0',
  3.4267 +  `rang` int(11) DEFAULT '0',
  3.4268 +  PRIMARY KEY (`rowid`),
  3.4269 +  KEY `idx_propaldet_fk_propal` (`fk_propal`),
  3.4270 +  KEY `idx_propaldet_fk_product` (`fk_product`)
  3.4271 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4272 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4273 +
  3.4274 +--
  3.4275 +-- Dumping data for table `llx_propaldet`
  3.4276 +--
  3.4277 +
  3.4278 +LOCK TABLES `llx_propaldet` WRITE;
  3.4279 +/*!40000 ALTER TABLE `llx_propaldet` DISABLE KEYS */;
  3.4280 +/*!40000 ALTER TABLE `llx_propaldet` ENABLE KEYS */;
  3.4281 +UNLOCK TABLES;
  3.4282 +
  3.4283 +--
  3.4284 +-- Table structure for table `llx_rights_def`
  3.4285 +--
  3.4286 +
  3.4287 +DROP TABLE IF EXISTS `llx_rights_def`;
  3.4288 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4289 +/*!40101 SET character_set_client = utf8 */;
  3.4290 +CREATE TABLE `llx_rights_def` (
  3.4291 +  `id` int(11) NOT NULL DEFAULT '0',
  3.4292 +  `libelle` varchar(255) DEFAULT NULL,
  3.4293 +  `module` varchar(64) DEFAULT NULL,
  3.4294 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4295 +  `perms` varchar(50) DEFAULT NULL,
  3.4296 +  `subperms` varchar(50) DEFAULT NULL,
  3.4297 +  `type` varchar(1) DEFAULT NULL,
  3.4298 +  `bydefault` tinyint(4) DEFAULT '0',
  3.4299 +  PRIMARY KEY (`id`,`entity`)
  3.4300 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4301 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4302 +
  3.4303 +--
  3.4304 +-- Dumping data for table `llx_rights_def`
  3.4305 +--
  3.4306 +
  3.4307 +LOCK TABLES `llx_rights_def` WRITE;
  3.4308 +/*!40000 ALTER TABLE `llx_rights_def` DISABLE KEYS */;
  3.4309 +INSERT INTO `llx_rights_def` VALUES (352,'Consulter les permissions des groupes','user',1,'group_advance','readperms','r',0),(351,'Consulter les groupes','user',1,'group_advance','read','r',0),(344,'Modifier ses propres permissions','user',1,'self_advance','writeperms','w',1),(343,'Modifier son propre mot de passe','user',1,'self','password','w',1),(342,'Creer/modifier ses propres infos utilisateur','user',1,'self','creer','w',1),(341,'Consulter ses propres permissions','user',1,'self_advance','readperms','r',1),(256,'Supprimer ou desactiver les autres utilisateurs','user',1,'user','supprimer','d',0),(255,'Modifier le mot de passe des autres utilisateurs','user',1,'user','password','w',0),(254,'Creer/modifier utilisateurs externes seulement','user',1,'user_advance','write','w',0),(253,'Creer/modifier utilisateurs internes et externes','user',1,'user','creer','w',0),(252,'Consulter les permissions des autres utilisateurs','user',1,'user_advance','readperms','r',0),(251,'Consulter les autres utilisateurs','user',1,'user','lire','r',0),(353,'Creer/modifier les groupes et leurs permissions','user',1,'group_advance','write','w',0),(354,'Supprimer ou desactiver les groupes','user',1,'group_advance','delete','d',0),(358,'Exporter les utilisateurs','user',1,'user','export','r',0);
  3.4310 +/*!40000 ALTER TABLE `llx_rights_def` ENABLE KEYS */;
  3.4311 +UNLOCK TABLES;
  3.4312 +
  3.4313 +--
  3.4314 +-- Table structure for table `llx_societe`
  3.4315 +--
  3.4316 +
  3.4317 +DROP TABLE IF EXISTS `llx_societe`;
  3.4318 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4319 +/*!40101 SET character_set_client = utf8 */;
  3.4320 +CREATE TABLE `llx_societe` (
  3.4321 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4322 +  `statut` tinyint(4) DEFAULT '0',
  3.4323 +  `parent` int(11) DEFAULT NULL,
  3.4324 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4325 +  `datec` datetime DEFAULT NULL,
  3.4326 +  `datea` datetime DEFAULT NULL,
  3.4327 +  `nom` varchar(60) DEFAULT NULL,
  3.4328 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4329 +  `ref_ext` varchar(60) DEFAULT NULL,
  3.4330 +  `ref_int` varchar(60) DEFAULT NULL,
  3.4331 +  `code_client` varchar(15) DEFAULT NULL,
  3.4332 +  `code_fournisseur` varchar(15) DEFAULT NULL,
  3.4333 +  `code_compta` varchar(15) DEFAULT NULL,
  3.4334 +  `code_compta_fournisseur` varchar(15) DEFAULT NULL,
  3.4335 +  `address` varchar(255) DEFAULT NULL,
  3.4336 +  `cp` varchar(10) DEFAULT NULL,
  3.4337 +  `ville` varchar(50) DEFAULT NULL,
  3.4338 +  `fk_departement` int(11) DEFAULT '0',
  3.4339 +  `fk_pays` int(11) DEFAULT '0',
  3.4340 +  `tel` varchar(20) DEFAULT NULL,
  3.4341 +  `fax` varchar(20) DEFAULT NULL,
  3.4342 +  `url` varchar(255) DEFAULT NULL,
  3.4343 +  `email` varchar(128) DEFAULT NULL,
  3.4344 +  `fk_secteur` int(11) DEFAULT '0',
  3.4345 +  `fk_effectif` int(11) DEFAULT '0',
  3.4346 +  `fk_typent` int(11) DEFAULT '0',
  3.4347 +  `fk_forme_juridique` int(11) DEFAULT '0',
  3.4348 +  `fk_currency` int(11) DEFAULT '0',
  3.4349 +  `siren` varchar(32) DEFAULT NULL,
  3.4350 +  `siret` varchar(32) DEFAULT NULL,
  3.4351 +  `ape` varchar(32) DEFAULT NULL,
  3.4352 +  `idprof4` varchar(32) DEFAULT NULL,
  3.4353 +  `tva_intra` varchar(20) DEFAULT NULL,
  3.4354 +  `capital` double DEFAULT NULL,
  3.4355 +  `description` text,
  3.4356 +  `fk_stcomm` smallint(6) DEFAULT '0',
  3.4357 +  `note` text,
  3.4358 +  `services` tinyint(4) DEFAULT '0',
  3.4359 +  `prefix_comm` varchar(5) DEFAULT NULL,
  3.4360 +  `client` tinyint(4) DEFAULT '0',
  3.4361 +  `fournisseur` tinyint(4) DEFAULT '0',
  3.4362 +  `supplier_account` varchar(32) DEFAULT NULL,
  3.4363 +  `fk_prospectlevel` varchar(12) DEFAULT NULL,
  3.4364 +  `customer_bad` tinyint(4) DEFAULT '0',
  3.4365 +  `customer_rate` double DEFAULT '0',
  3.4366 +  `supplier_rate` double DEFAULT '0',
  3.4367 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.4368 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.4369 +  `remise_client` double DEFAULT '0',
  3.4370 +  `mode_reglement` tinyint(4) DEFAULT NULL,
  3.4371 +  `cond_reglement` tinyint(4) DEFAULT NULL,
  3.4372 +  `tva_assuj` tinyint(4) DEFAULT '1',
  3.4373 +  `localtax1_assuj` tinyint(4) DEFAULT '0',
  3.4374 +  `localtax2_assuj` tinyint(4) DEFAULT '0',
  3.4375 +  `gencod` varchar(255) DEFAULT NULL,
  3.4376 +  `price_level` int(11) DEFAULT NULL,
  3.4377 +  `default_lang` varchar(6) DEFAULT NULL,
  3.4378 +  `canvas` varchar(32) DEFAULT NULL,
  3.4379 +  `import_key` varchar(14) DEFAULT NULL,
  3.4380 +  `status` tinyint(4) DEFAULT '1',
  3.4381 +  `logo` varchar(255) DEFAULT NULL,
  3.4382 +  PRIMARY KEY (`rowid`),
  3.4383 +  UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`),
  3.4384 +  UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`),
  3.4385 +  KEY `idx_societe_user_creat` (`fk_user_creat`),
  3.4386 +  KEY `idx_societe_user_modif` (`fk_user_modif`)
  3.4387 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4388 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4389 +
  3.4390 +--
  3.4391 +-- Dumping data for table `llx_societe`
  3.4392 +--
  3.4393 +
  3.4394 +LOCK TABLES `llx_societe` WRITE;
  3.4395 +/*!40000 ALTER TABLE `llx_societe` DISABLE KEYS */;
  3.4396 +/*!40000 ALTER TABLE `llx_societe` ENABLE KEYS */;
  3.4397 +UNLOCK TABLES;
  3.4398 +
  3.4399 +--
  3.4400 +-- Table structure for table `llx_societe_address`
  3.4401 +--
  3.4402 +
  3.4403 +DROP TABLE IF EXISTS `llx_societe_address`;
  3.4404 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4405 +/*!40101 SET character_set_client = utf8 */;
  3.4406 +CREATE TABLE `llx_societe_address` (
  3.4407 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4408 +  `datec` datetime DEFAULT NULL,
  3.4409 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4410 +  `label` varchar(30) DEFAULT NULL,
  3.4411 +  `fk_soc` int(11) DEFAULT '0',
  3.4412 +  `name` varchar(60) DEFAULT NULL,
  3.4413 +  `address` varchar(255) DEFAULT NULL,
  3.4414 +  `cp` varchar(10) DEFAULT NULL,
  3.4415 +  `ville` varchar(50) DEFAULT NULL,
  3.4416 +  `fk_pays` int(11) DEFAULT '0',
  3.4417 +  `tel` varchar(20) DEFAULT NULL,
  3.4418 +  `fax` varchar(20) DEFAULT NULL,
  3.4419 +  `note` text,
  3.4420 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.4421 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.4422 +  PRIMARY KEY (`rowid`)
  3.4423 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4424 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4425 +
  3.4426 +--
  3.4427 +-- Dumping data for table `llx_societe_address`
  3.4428 +--
  3.4429 +
  3.4430 +LOCK TABLES `llx_societe_address` WRITE;
  3.4431 +/*!40000 ALTER TABLE `llx_societe_address` DISABLE KEYS */;
  3.4432 +/*!40000 ALTER TABLE `llx_societe_address` ENABLE KEYS */;
  3.4433 +UNLOCK TABLES;
  3.4434 +
  3.4435 +--
  3.4436 +-- Table structure for table `llx_societe_commerciaux`
  3.4437 +--
  3.4438 +
  3.4439 +DROP TABLE IF EXISTS `llx_societe_commerciaux`;
  3.4440 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4441 +/*!40101 SET character_set_client = utf8 */;
  3.4442 +CREATE TABLE `llx_societe_commerciaux` (
  3.4443 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4444 +  `fk_soc` int(11) DEFAULT NULL,
  3.4445 +  `fk_user` int(11) DEFAULT NULL,
  3.4446 +  PRIMARY KEY (`rowid`),
  3.4447 +  UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`)
  3.4448 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4449 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4450 +
  3.4451 +--
  3.4452 +-- Dumping data for table `llx_societe_commerciaux`
  3.4453 +--
  3.4454 +
  3.4455 +LOCK TABLES `llx_societe_commerciaux` WRITE;
  3.4456 +/*!40000 ALTER TABLE `llx_societe_commerciaux` DISABLE KEYS */;
  3.4457 +/*!40000 ALTER TABLE `llx_societe_commerciaux` ENABLE KEYS */;
  3.4458 +UNLOCK TABLES;
  3.4459 +
  3.4460 +--
  3.4461 +-- Table structure for table `llx_societe_extrafields`
  3.4462 +--
  3.4463 +
  3.4464 +DROP TABLE IF EXISTS `llx_societe_extrafields`;
  3.4465 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4466 +/*!40101 SET character_set_client = utf8 */;
  3.4467 +CREATE TABLE `llx_societe_extrafields` (
  3.4468 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4469 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4470 +  `fk_object` int(11) NOT NULL,
  3.4471 +  PRIMARY KEY (`rowid`),
  3.4472 +  KEY `idx_societe_extrafields` (`fk_object`)
  3.4473 +) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  3.4474 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4475 +
  3.4476 +--
  3.4477 +-- Dumping data for table `llx_societe_extrafields`
  3.4478 +--
  3.4479 +
  3.4480 +LOCK TABLES `llx_societe_extrafields` WRITE;
  3.4481 +/*!40000 ALTER TABLE `llx_societe_extrafields` DISABLE KEYS */;
  3.4482 +/*!40000 ALTER TABLE `llx_societe_extrafields` ENABLE KEYS */;
  3.4483 +UNLOCK TABLES;
  3.4484 +
  3.4485 +--
  3.4486 +-- Table structure for table `llx_societe_log`
  3.4487 +--
  3.4488 +
  3.4489 +DROP TABLE IF EXISTS `llx_societe_log`;
  3.4490 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4491 +/*!40101 SET character_set_client = utf8 */;
  3.4492 +CREATE TABLE `llx_societe_log` (
  3.4493 +  `id` int(11) NOT NULL AUTO_INCREMENT,
  3.4494 +  `datel` datetime DEFAULT NULL,
  3.4495 +  `fk_soc` int(11) DEFAULT NULL,
  3.4496 +  `fk_statut` int(11) DEFAULT NULL,
  3.4497 +  `fk_user` int(11) DEFAULT NULL,
  3.4498 +  `author` varchar(30) DEFAULT NULL,
  3.4499 +  `label` varchar(128) DEFAULT NULL,
  3.4500 +  PRIMARY KEY (`id`)
  3.4501 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4502 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4503 +
  3.4504 +--
  3.4505 +-- Dumping data for table `llx_societe_log`
  3.4506 +--
  3.4507 +
  3.4508 +LOCK TABLES `llx_societe_log` WRITE;
  3.4509 +/*!40000 ALTER TABLE `llx_societe_log` DISABLE KEYS */;
  3.4510 +/*!40000 ALTER TABLE `llx_societe_log` ENABLE KEYS */;
  3.4511 +UNLOCK TABLES;
  3.4512 +
  3.4513 +--
  3.4514 +-- Table structure for table `llx_societe_prices`
  3.4515 +--
  3.4516 +
  3.4517 +DROP TABLE IF EXISTS `llx_societe_prices`;
  3.4518 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4519 +/*!40101 SET character_set_client = utf8 */;
  3.4520 +CREATE TABLE `llx_societe_prices` (
  3.4521 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4522 +  `fk_soc` int(11) DEFAULT '0',
  3.4523 +  `tms` timestamp NULL DEFAULT NULL,
  3.4524 +  `datec` datetime DEFAULT NULL,
  3.4525 +  `fk_user_author` int(11) DEFAULT NULL,
  3.4526 +  `price_level` tinyint(4) DEFAULT '1',
  3.4527 +  PRIMARY KEY (`rowid`)
  3.4528 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4529 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4530 +
  3.4531 +--
  3.4532 +-- Dumping data for table `llx_societe_prices`
  3.4533 +--
  3.4534 +
  3.4535 +LOCK TABLES `llx_societe_prices` WRITE;
  3.4536 +/*!40000 ALTER TABLE `llx_societe_prices` DISABLE KEYS */;
  3.4537 +/*!40000 ALTER TABLE `llx_societe_prices` ENABLE KEYS */;
  3.4538 +UNLOCK TABLES;
  3.4539 +
  3.4540 +--
  3.4541 +-- Table structure for table `llx_societe_remise`
  3.4542 +--
  3.4543 +
  3.4544 +DROP TABLE IF EXISTS `llx_societe_remise`;
  3.4545 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4546 +/*!40101 SET character_set_client = utf8 */;
  3.4547 +CREATE TABLE `llx_societe_remise` (
  3.4548 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4549 +  `fk_soc` int(11) NOT NULL,
  3.4550 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4551 +  `datec` datetime DEFAULT NULL,
  3.4552 +  `fk_user_author` int(11) DEFAULT NULL,
  3.4553 +  `remise_client` double(6,3) NOT NULL DEFAULT '0.000',
  3.4554 +  `note` text,
  3.4555 +  PRIMARY KEY (`rowid`)
  3.4556 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4557 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4558 +
  3.4559 +--
  3.4560 +-- Dumping data for table `llx_societe_remise`
  3.4561 +--
  3.4562 +
  3.4563 +LOCK TABLES `llx_societe_remise` WRITE;
  3.4564 +/*!40000 ALTER TABLE `llx_societe_remise` DISABLE KEYS */;
  3.4565 +/*!40000 ALTER TABLE `llx_societe_remise` ENABLE KEYS */;
  3.4566 +UNLOCK TABLES;
  3.4567 +
  3.4568 +--
  3.4569 +-- Table structure for table `llx_societe_remise_except`
  3.4570 +--
  3.4571 +
  3.4572 +DROP TABLE IF EXISTS `llx_societe_remise_except`;
  3.4573 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4574 +/*!40101 SET character_set_client = utf8 */;
  3.4575 +CREATE TABLE `llx_societe_remise_except` (
  3.4576 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4577 +  `fk_soc` int(11) NOT NULL,
  3.4578 +  `datec` datetime DEFAULT NULL,
  3.4579 +  `amount_ht` double(24,8) NOT NULL,
  3.4580 +  `amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.4581 +  `amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  3.4582 +  `tva_tx` double(6,3) NOT NULL DEFAULT '0.000',
  3.4583 +  `fk_user` int(11) NOT NULL,
  3.4584 +  `fk_facture_line` int(11) DEFAULT NULL,
  3.4585 +  `fk_facture` int(11) DEFAULT NULL,
  3.4586 +  `fk_facture_source` int(11) DEFAULT NULL,
  3.4587 +  `description` varchar(255) NOT NULL,
  3.4588 +  PRIMARY KEY (`rowid`),
  3.4589 +  KEY `idx_societe_remise_except_fk_user` (`fk_user`),
  3.4590 +  KEY `idx_societe_remise_except_fk_soc` (`fk_soc`),
  3.4591 +  KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`),
  3.4592 +  KEY `idx_societe_remise_except_fk_facture` (`fk_facture`),
  3.4593 +  KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`)
  3.4594 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4595 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4596 +
  3.4597 +--
  3.4598 +-- Dumping data for table `llx_societe_remise_except`
  3.4599 +--
  3.4600 +
  3.4601 +LOCK TABLES `llx_societe_remise_except` WRITE;
  3.4602 +/*!40000 ALTER TABLE `llx_societe_remise_except` DISABLE KEYS */;
  3.4603 +/*!40000 ALTER TABLE `llx_societe_remise_except` ENABLE KEYS */;
  3.4604 +UNLOCK TABLES;
  3.4605 +
  3.4606 +--
  3.4607 +-- Table structure for table `llx_societe_rib`
  3.4608 +--
  3.4609 +
  3.4610 +DROP TABLE IF EXISTS `llx_societe_rib`;
  3.4611 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4612 +/*!40101 SET character_set_client = utf8 */;
  3.4613 +CREATE TABLE `llx_societe_rib` (
  3.4614 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4615 +  `fk_soc` int(11) NOT NULL,
  3.4616 +  `datec` datetime DEFAULT NULL,
  3.4617 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4618 +  `label` varchar(30) DEFAULT NULL,
  3.4619 +  `bank` varchar(255) DEFAULT NULL,
  3.4620 +  `code_banque` varchar(7) DEFAULT NULL,
  3.4621 +  `code_guichet` varchar(6) DEFAULT NULL,
  3.4622 +  `number` varchar(255) DEFAULT NULL,
  3.4623 +  `cle_rib` varchar(5) DEFAULT NULL,
  3.4624 +  `bic` varchar(10) DEFAULT NULL,
  3.4625 +  `iban_prefix` varchar(34) DEFAULT NULL,
  3.4626 +  `domiciliation` varchar(255) DEFAULT NULL,
  3.4627 +  `proprio` varchar(60) DEFAULT NULL,
  3.4628 +  `adresse_proprio` varchar(255) DEFAULT NULL,
  3.4629 +  PRIMARY KEY (`rowid`)
  3.4630 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4631 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4632 +
  3.4633 +--
  3.4634 +-- Dumping data for table `llx_societe_rib`
  3.4635 +--
  3.4636 +
  3.4637 +LOCK TABLES `llx_societe_rib` WRITE;
  3.4638 +/*!40000 ALTER TABLE `llx_societe_rib` DISABLE KEYS */;
  3.4639 +/*!40000 ALTER TABLE `llx_societe_rib` ENABLE KEYS */;
  3.4640 +UNLOCK TABLES;
  3.4641 +
  3.4642 +--
  3.4643 +-- Table structure for table `llx_socpeople`
  3.4644 +--
  3.4645 +
  3.4646 +DROP TABLE IF EXISTS `llx_socpeople`;
  3.4647 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4648 +/*!40101 SET character_set_client = utf8 */;
  3.4649 +CREATE TABLE `llx_socpeople` (
  3.4650 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4651 +  `datec` datetime DEFAULT NULL,
  3.4652 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4653 +  `fk_soc` int(11) DEFAULT NULL,
  3.4654 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4655 +  `civilite` varchar(6) DEFAULT NULL,
  3.4656 +  `name` varchar(50) DEFAULT NULL,
  3.4657 +  `firstname` varchar(50) DEFAULT NULL,
  3.4658 +  `address` varchar(255) DEFAULT NULL,
  3.4659 +  `cp` varchar(25) DEFAULT NULL,
  3.4660 +  `ville` varchar(255) DEFAULT NULL,
  3.4661 +  `fk_departement` int(11) DEFAULT NULL,
  3.4662 +  `fk_pays` int(11) DEFAULT '0',
  3.4663 +  `birthday` date DEFAULT NULL,
  3.4664 +  `poste` varchar(80) DEFAULT NULL,
  3.4665 +  `phone` varchar(30) DEFAULT NULL,
  3.4666 +  `phone_perso` varchar(30) DEFAULT NULL,
  3.4667 +  `phone_mobile` varchar(30) DEFAULT NULL,
  3.4668 +  `fax` varchar(30) DEFAULT NULL,
  3.4669 +  `email` varchar(255) DEFAULT NULL,
  3.4670 +  `jabberid` varchar(255) DEFAULT NULL,
  3.4671 +  `priv` smallint(6) NOT NULL DEFAULT '0',
  3.4672 +  `fk_user_creat` int(11) DEFAULT '0',
  3.4673 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.4674 +  `note` text,
  3.4675 +  `default_lang` varchar(6) DEFAULT NULL,
  3.4676 +  `canvas` varchar(32) DEFAULT NULL,
  3.4677 +  `import_key` varchar(14) DEFAULT NULL,
  3.4678 +  PRIMARY KEY (`rowid`),
  3.4679 +  KEY `idx_socpeople_fk_soc` (`fk_soc`),
  3.4680 +  KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`)
  3.4681 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4682 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4683 +
  3.4684 +--
  3.4685 +-- Dumping data for table `llx_socpeople`
  3.4686 +--
  3.4687 +
  3.4688 +LOCK TABLES `llx_socpeople` WRITE;
  3.4689 +/*!40000 ALTER TABLE `llx_socpeople` DISABLE KEYS */;
  3.4690 +/*!40000 ALTER TABLE `llx_socpeople` ENABLE KEYS */;
  3.4691 +UNLOCK TABLES;
  3.4692 +
  3.4693 +--
  3.4694 +-- Table structure for table `llx_stock_mouvement`
  3.4695 +--
  3.4696 +
  3.4697 +DROP TABLE IF EXISTS `llx_stock_mouvement`;
  3.4698 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4699 +/*!40101 SET character_set_client = utf8 */;
  3.4700 +CREATE TABLE `llx_stock_mouvement` (
  3.4701 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4702 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4703 +  `datem` datetime DEFAULT NULL,
  3.4704 +  `fk_product` int(11) NOT NULL,
  3.4705 +  `fk_entrepot` int(11) NOT NULL,
  3.4706 +  `value` int(11) DEFAULT NULL,
  3.4707 +  `price` float(13,4) DEFAULT '0.0000',
  3.4708 +  `type_mouvement` smallint(6) DEFAULT NULL,
  3.4709 +  `fk_user_author` int(11) DEFAULT NULL,
  3.4710 +  `label` varchar(128) DEFAULT NULL,
  3.4711 +  PRIMARY KEY (`rowid`),
  3.4712 +  KEY `idx_stock_mouvement_fk_product` (`fk_product`),
  3.4713 +  KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`)
  3.4714 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4715 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4716 +
  3.4717 +--
  3.4718 +-- Dumping data for table `llx_stock_mouvement`
  3.4719 +--
  3.4720 +
  3.4721 +LOCK TABLES `llx_stock_mouvement` WRITE;
  3.4722 +/*!40000 ALTER TABLE `llx_stock_mouvement` DISABLE KEYS */;
  3.4723 +/*!40000 ALTER TABLE `llx_stock_mouvement` ENABLE KEYS */;
  3.4724 +UNLOCK TABLES;
  3.4725 +
  3.4726 +--
  3.4727 +-- Table structure for table `llx_texts`
  3.4728 +--
  3.4729 +
  3.4730 +DROP TABLE IF EXISTS `llx_texts`;
  3.4731 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4732 +/*!40101 SET character_set_client = utf8 */;
  3.4733 +CREATE TABLE `llx_texts` (
  3.4734 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4735 +  `module` varchar(32) DEFAULT NULL,
  3.4736 +  `typemodele` varchar(32) DEFAULT NULL,
  3.4737 +  `sortorder` smallint(6) DEFAULT NULL,
  3.4738 +  `private` smallint(6) NOT NULL DEFAULT '0',
  3.4739 +  `fk_user` int(11) DEFAULT NULL,
  3.4740 +  `title` varchar(128) DEFAULT NULL,
  3.4741 +  `filename` varchar(128) DEFAULT NULL,
  3.4742 +  `content` text,
  3.4743 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4744 +  PRIMARY KEY (`rowid`)
  3.4745 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4746 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4747 +
  3.4748 +--
  3.4749 +-- Dumping data for table `llx_texts`
  3.4750 +--
  3.4751 +
  3.4752 +LOCK TABLES `llx_texts` WRITE;
  3.4753 +/*!40000 ALTER TABLE `llx_texts` DISABLE KEYS */;
  3.4754 +/*!40000 ALTER TABLE `llx_texts` ENABLE KEYS */;
  3.4755 +UNLOCK TABLES;
  3.4756 +
  3.4757 +--
  3.4758 +-- Table structure for table `llx_tva`
  3.4759 +--
  3.4760 +
  3.4761 +DROP TABLE IF EXISTS `llx_tva`;
  3.4762 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4763 +/*!40101 SET character_set_client = utf8 */;
  3.4764 +CREATE TABLE `llx_tva` (
  3.4765 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4766 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4767 +  `datep` date DEFAULT NULL,
  3.4768 +  `datev` date DEFAULT NULL,
  3.4769 +  `amount` double NOT NULL DEFAULT '0',
  3.4770 +  `label` varchar(255) DEFAULT NULL,
  3.4771 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4772 +  `note` text,
  3.4773 +  `fk_bank` int(11) DEFAULT NULL,
  3.4774 +  `fk_user_creat` int(11) DEFAULT NULL,
  3.4775 +  `fk_user_modif` int(11) DEFAULT NULL,
  3.4776 +  PRIMARY KEY (`rowid`)
  3.4777 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4778 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4779 +
  3.4780 +--
  3.4781 +-- Dumping data for table `llx_tva`
  3.4782 +--
  3.4783 +
  3.4784 +LOCK TABLES `llx_tva` WRITE;
  3.4785 +/*!40000 ALTER TABLE `llx_tva` DISABLE KEYS */;
  3.4786 +/*!40000 ALTER TABLE `llx_tva` ENABLE KEYS */;
  3.4787 +UNLOCK TABLES;
  3.4788 +
  3.4789 +--
  3.4790 +-- Table structure for table `llx_user`
  3.4791 +--
  3.4792 +
  3.4793 +DROP TABLE IF EXISTS `llx_user`;
  3.4794 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4795 +/*!40101 SET character_set_client = utf8 */;
  3.4796 +CREATE TABLE `llx_user` (
  3.4797 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4798 +  `datec` datetime DEFAULT NULL,
  3.4799 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4800 +  `login` varchar(24) NOT NULL,
  3.4801 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4802 +  `ref_ext` varchar(30) DEFAULT NULL,
  3.4803 +  `pass` varchar(32) DEFAULT NULL,
  3.4804 +  `pass_crypted` varchar(128) DEFAULT NULL,
  3.4805 +  `pass_temp` varchar(32) DEFAULT NULL,
  3.4806 +  `civilite` varchar(6) DEFAULT NULL,
  3.4807 +  `name` varchar(50) DEFAULT NULL,
  3.4808 +  `firstname` varchar(50) DEFAULT NULL,
  3.4809 +  `office_phone` varchar(20) DEFAULT NULL,
  3.4810 +  `office_fax` varchar(20) DEFAULT NULL,
  3.4811 +  `user_mobile` varchar(20) DEFAULT NULL,
  3.4812 +  `email` varchar(255) DEFAULT NULL,
  3.4813 +  `signature` text,
  3.4814 +  `admin` smallint(6) DEFAULT '0',
  3.4815 +  `webcal_login` varchar(25) DEFAULT NULL,
  3.4816 +  `phenix_login` varchar(25) DEFAULT NULL,
  3.4817 +  `phenix_pass` varchar(128) DEFAULT NULL,
  3.4818 +  `module_comm` smallint(6) DEFAULT '1',
  3.4819 +  `module_compta` smallint(6) DEFAULT '1',
  3.4820 +  `fk_societe` int(11) DEFAULT NULL,
  3.4821 +  `fk_socpeople` int(11) DEFAULT NULL,
  3.4822 +  `fk_member` int(11) DEFAULT NULL,
  3.4823 +  `note` text,
  3.4824 +  `datelastlogin` datetime DEFAULT NULL,
  3.4825 +  `datepreviouslogin` datetime DEFAULT NULL,
  3.4826 +  `egroupware_id` int(11) DEFAULT NULL,
  3.4827 +  `ldap_sid` varchar(255) DEFAULT NULL,
  3.4828 +  `openid` varchar(255) DEFAULT NULL,
  3.4829 +  `statut` tinyint(4) DEFAULT '1',
  3.4830 +  `photo` varchar(255) DEFAULT NULL,
  3.4831 +  `lang` varchar(6) DEFAULT NULL,
  3.4832 +  PRIMARY KEY (`rowid`),
  3.4833 +  UNIQUE KEY `uk_user_login` (`login`,`entity`),
  3.4834 +  UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`),
  3.4835 +  UNIQUE KEY `uk_user_fk_member` (`fk_member`),
  3.4836 +  KEY `uk_user_fk_societe` (`fk_societe`)
  3.4837 +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  3.4838 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4839 +
  3.4840 +--
  3.4841 +-- Dumping data for table `llx_user`
  3.4842 +--
  3.4843 +
  3.4844 +LOCK TABLES `llx_user` WRITE;
  3.4845 +/*!40000 ALTER TABLE `llx_user` DISABLE KEYS */;
  3.4846 +INSERT INTO `llx_user` VALUES (1,'2011-07-03 17:33:30','2011-07-03 17:33:30','manager',0,NULL,'dolibarr','1de2f00382e35238c18f9e57a3866f23',NULL,NULL,'SuperAdmin','','','','','',NULL,1,'','','',1,1,NULL,NULL,NULL,'','2012-02-25 08:45:39',NULL,NULL,'',NULL,1,NULL,NULL);
  3.4847 +/*!40000 ALTER TABLE `llx_user` ENABLE KEYS */;
  3.4848 +UNLOCK TABLES;
  3.4849 +
  3.4850 +--
  3.4851 +-- Table structure for table `llx_user_alert`
  3.4852 +--
  3.4853 +
  3.4854 +DROP TABLE IF EXISTS `llx_user_alert`;
  3.4855 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4856 +/*!40101 SET character_set_client = utf8 */;
  3.4857 +CREATE TABLE `llx_user_alert` (
  3.4858 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4859 +  `type` int(11) DEFAULT NULL,
  3.4860 +  `fk_contact` int(11) DEFAULT NULL,
  3.4861 +  `fk_user` int(11) DEFAULT NULL,
  3.4862 +  PRIMARY KEY (`rowid`)
  3.4863 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4864 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4865 +
  3.4866 +--
  3.4867 +-- Dumping data for table `llx_user_alert`
  3.4868 +--
  3.4869 +
  3.4870 +LOCK TABLES `llx_user_alert` WRITE;
  3.4871 +/*!40000 ALTER TABLE `llx_user_alert` DISABLE KEYS */;
  3.4872 +/*!40000 ALTER TABLE `llx_user_alert` ENABLE KEYS */;
  3.4873 +UNLOCK TABLES;
  3.4874 +
  3.4875 +--
  3.4876 +-- Table structure for table `llx_user_clicktodial`
  3.4877 +--
  3.4878 +
  3.4879 +DROP TABLE IF EXISTS `llx_user_clicktodial`;
  3.4880 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4881 +/*!40101 SET character_set_client = utf8 */;
  3.4882 +CREATE TABLE `llx_user_clicktodial` (
  3.4883 +  `fk_user` int(11) NOT NULL,
  3.4884 +  `login` varchar(32) DEFAULT NULL,
  3.4885 +  `pass` varchar(64) DEFAULT NULL,
  3.4886 +  `poste` varchar(20) DEFAULT NULL,
  3.4887 +  PRIMARY KEY (`fk_user`)
  3.4888 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4889 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4890 +
  3.4891 +--
  3.4892 +-- Dumping data for table `llx_user_clicktodial`
  3.4893 +--
  3.4894 +
  3.4895 +LOCK TABLES `llx_user_clicktodial` WRITE;
  3.4896 +/*!40000 ALTER TABLE `llx_user_clicktodial` DISABLE KEYS */;
  3.4897 +/*!40000 ALTER TABLE `llx_user_clicktodial` ENABLE KEYS */;
  3.4898 +UNLOCK TABLES;
  3.4899 +
  3.4900 +--
  3.4901 +-- Table structure for table `llx_user_param`
  3.4902 +--
  3.4903 +
  3.4904 +DROP TABLE IF EXISTS `llx_user_param`;
  3.4905 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4906 +/*!40101 SET character_set_client = utf8 */;
  3.4907 +CREATE TABLE `llx_user_param` (
  3.4908 +  `fk_user` int(11) NOT NULL,
  3.4909 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4910 +  `param` varchar(64) NOT NULL,
  3.4911 +  `value` varchar(255) NOT NULL,
  3.4912 +  UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`)
  3.4913 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4914 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4915 +
  3.4916 +--
  3.4917 +-- Dumping data for table `llx_user_param`
  3.4918 +--
  3.4919 +
  3.4920 +LOCK TABLES `llx_user_param` WRITE;
  3.4921 +/*!40000 ALTER TABLE `llx_user_param` DISABLE KEYS */;
  3.4922 +/*!40000 ALTER TABLE `llx_user_param` ENABLE KEYS */;
  3.4923 +UNLOCK TABLES;
  3.4924 +
  3.4925 +--
  3.4926 +-- Table structure for table `llx_user_rights`
  3.4927 +--
  3.4928 +
  3.4929 +DROP TABLE IF EXISTS `llx_user_rights`;
  3.4930 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4931 +/*!40101 SET character_set_client = utf8 */;
  3.4932 +CREATE TABLE `llx_user_rights` (
  3.4933 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4934 +  `fk_user` int(11) NOT NULL,
  3.4935 +  `fk_id` int(11) NOT NULL,
  3.4936 +  PRIMARY KEY (`rowid`),
  3.4937 +  UNIQUE KEY `uk_user_rights` (`fk_user`,`fk_id`)
  3.4938 +) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
  3.4939 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4940 +
  3.4941 +--
  3.4942 +-- Dumping data for table `llx_user_rights`
  3.4943 +--
  3.4944 +
  3.4945 +LOCK TABLES `llx_user_rights` WRITE;
  3.4946 +/*!40000 ALTER TABLE `llx_user_rights` DISABLE KEYS */;
  3.4947 +INSERT INTO `llx_user_rights` VALUES (14,1,341),(15,1,342),(16,1,343),(17,1,344),(25,1,251),(6,1,252),(7,1,253),(9,1,254),(10,1,255),(12,1,256),(23,1,351),(19,1,352),(22,1,353),(24,1,354),(26,1,358);
  3.4948 +/*!40000 ALTER TABLE `llx_user_rights` ENABLE KEYS */;
  3.4949 +UNLOCK TABLES;
  3.4950 +
  3.4951 +--
  3.4952 +-- Table structure for table `llx_usergroup`
  3.4953 +--
  3.4954 +
  3.4955 +DROP TABLE IF EXISTS `llx_usergroup`;
  3.4956 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4957 +/*!40101 SET character_set_client = utf8 */;
  3.4958 +CREATE TABLE `llx_usergroup` (
  3.4959 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4960 +  `nom` varchar(255) NOT NULL,
  3.4961 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.4962 +  `datec` datetime DEFAULT NULL,
  3.4963 +  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  3.4964 +  `note` text,
  3.4965 +  PRIMARY KEY (`rowid`),
  3.4966 +  UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`)
  3.4967 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4968 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4969 +
  3.4970 +--
  3.4971 +-- Dumping data for table `llx_usergroup`
  3.4972 +--
  3.4973 +
  3.4974 +LOCK TABLES `llx_usergroup` WRITE;
  3.4975 +/*!40000 ALTER TABLE `llx_usergroup` DISABLE KEYS */;
  3.4976 +/*!40000 ALTER TABLE `llx_usergroup` ENABLE KEYS */;
  3.4977 +UNLOCK TABLES;
  3.4978 +
  3.4979 +--
  3.4980 +-- Table structure for table `llx_usergroup_rights`
  3.4981 +--
  3.4982 +
  3.4983 +DROP TABLE IF EXISTS `llx_usergroup_rights`;
  3.4984 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.4985 +/*!40101 SET character_set_client = utf8 */;
  3.4986 +CREATE TABLE `llx_usergroup_rights` (
  3.4987 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.4988 +  `fk_usergroup` int(11) NOT NULL,
  3.4989 +  `fk_id` int(11) NOT NULL,
  3.4990 +  PRIMARY KEY (`rowid`),
  3.4991 +  UNIQUE KEY `fk_usergroup` (`fk_usergroup`,`fk_id`)
  3.4992 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.4993 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.4994 +
  3.4995 +--
  3.4996 +-- Dumping data for table `llx_usergroup_rights`
  3.4997 +--
  3.4998 +
  3.4999 +LOCK TABLES `llx_usergroup_rights` WRITE;
  3.5000 +/*!40000 ALTER TABLE `llx_usergroup_rights` DISABLE KEYS */;
  3.5001 +/*!40000 ALTER TABLE `llx_usergroup_rights` ENABLE KEYS */;
  3.5002 +UNLOCK TABLES;
  3.5003 +
  3.5004 +--
  3.5005 +-- Table structure for table `llx_usergroup_user`
  3.5006 +--
  3.5007 +
  3.5008 +DROP TABLE IF EXISTS `llx_usergroup_user`;
  3.5009 +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  3.5010 +/*!40101 SET character_set_client = utf8 */;
  3.5011 +CREATE TABLE `llx_usergroup_user` (
  3.5012 +  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  3.5013 +  `entity` int(11) NOT NULL DEFAULT '1',
  3.5014 +  `fk_user` int(11) NOT NULL,
  3.5015 +  `fk_usergroup` int(11) NOT NULL,
  3.5016 +  PRIMARY KEY (`rowid`),
  3.5017 +  UNIQUE KEY `uk_usergroup_user` (`entity`,`fk_user`,`fk_usergroup`),
  3.5018 +  KEY `fk_usergroup_user_fk_user` (`fk_user`),
  3.5019 +  KEY `fk_usergroup_user_fk_usergroup` (`fk_usergroup`)
  3.5020 +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  3.5021 +/*!40101 SET character_set_client = @saved_cs_client */;
  3.5022 +
  3.5023 +--
  3.5024 +-- Dumping data for table `llx_usergroup_user`
  3.5025 +--
  3.5026 +
  3.5027 +LOCK TABLES `llx_usergroup_user` WRITE;
  3.5028 +/*!40000 ALTER TABLE `llx_usergroup_user` DISABLE KEYS */;
  3.5029 +/*!40000 ALTER TABLE `llx_usergroup_user` ENABLE KEYS */;
  3.5030 +UNLOCK TABLES;
  3.5031 +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  3.5032 +
  3.5033 +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  3.5034 +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  3.5035 +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  3.5036 +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  3.5037 +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  3.5038 +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  3.5039 +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  3.5040 +
  3.5041 +-- Dump completed on 2012-02-26  9:27:31