wok-6.x rev 11794
Add: dolibarr
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 25 00:38:05 2012 +0100 (2012-02-25) |
parents | a62108f3b0c3 |
children | cb0d692a7f54 |
files | dolibarr/receipt dolibarr/stuff/applications/dolibarr.desktop dolibarr/stuff/conf.php dolibarr/stuff/dolibarr-3.1.0-mysql.sql dolibarr/stuff/pixmaps/dolibarr.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dolibarr/receipt Sat Feb 25 00:38:05 2012 +0100 1.3 @@ -0,0 +1,118 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dolibarr" 1.7 +VERSION="3.1.0" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="ERP/CRM" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +WEB_SITE="http://www.dolibarr.fr/" 1.12 +TARBALL="$PACKAGE-$VERSION.tgz" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="apache php-apache " 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + 1.23 + # Fix attributs and perms 1.24 + chown -R root.root * 1.25 + chmod -x C* I* R* 1.26 + find . \( -name "*.php" \ 1.27 + -o -name "*.png" \ 1.28 + -o -name "*.jpg" \ 1.29 + -o -name "*.gif" \ 1.30 + -o -name "*.txt" \ 1.31 + -o -name "*.ico" \ 1.32 + -o -name "*.html" \) -exec chmod -x {} \; 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + 1.39 + mkdir -p $fs/etc/dolibarr \ 1.40 + $fs/usr/share/dolibarr \ 1.41 + $fs/var/lib/dolibarr/documents \ 1.42 + $fs/usr/share/doc/$PACKAGE/schemas \ 1.43 + $fs/usr/share/applications 1.44 + 1.45 + 1.46 + cp -a $src/htdocs $fs/usr/share/dolibarr 1.47 + cp -a $src/scripts $fs/usr/share/dolibarr 1.48 + 1.49 + # Remove install directory 1.50 + rm -rf $fs/usr/share/dolibarr/htdocs/install 1.51 + 1.52 + # Populate documents directory 1.53 + for dir in facture users propale mycompany ficheinter produit rapport 1.54 + do 1.55 + mkdir $fs/var/lib/dolibarr/documents/$dir 1.56 + done 1.57 + 1.58 + # Fix perms 1.59 + chown -R root.www $fs/var/lib/dolibarr/documents 1.60 + chmod -R 770 $fs/var/lib/dolibarr/documents 1.61 + 1.62 + cp $stuff/conf.php $fs/etc/dolibarr 1.63 + cp $stuff/$PACKAGE-$VERSION-mysql.sql $fs/usr/share/doc/$PACKAGE/schemas 1.64 + cp -a $stuff/pixmaps $fs/usr/share/ 1.65 + 1.66 + ln -s /etc/dolibarr/conf.php $fs/usr/share/dolibarr/htdocs/conf 1.67 + 1.68 +} 1.69 + 1.70 +post_install(){ 1.71 + 1.72 + db_name=dolibarr 1.73 + db_user=dolibarr 1.74 + db_password=dolibarr 1.75 + 1.76 + # Configure apache server 1.77 + if [ -f $1/etc/apache/httpd.conf ]; then 1.78 + if [ ! -f $1/etc/apache/conf.d/dolibarr.conf ]; then 1.79 + cat > $1/etc/apache/conf.d/dolibarr.conf <<EOT 1.80 +<IfModule mod_alias.c> 1.81 + Alias /dolibarr /usr/share/dolibarr/htdocs 1.82 +</IfModule> 1.83 +<Directory "/usr/share/dolibarr/htdocs"> 1.84 + Options Indexes FollowSymLinks 1.85 + AllowOverride None 1.86 + Order deny,allow 1.87 + Allow from all 1.88 +</Directory> 1.89 + 1.90 +EOT 1.91 + if [ -z "$1" ]; then 1.92 + # Start Web server. 1.93 + test -f /var/run/apache/httpd.pid && \ 1.94 + ( kill -0 $(cat /var/run/apache/httpd.pid) && /etc/init.d/apache restart ) 1.95 + fi 1.96 + fi 1.97 + fi 1.98 + 1.99 + # Configure every thing. 1.100 + if [ -z $1 ]; then 1.101 + if ( ! mysqladmin -s ping > /dev/null ); then 1.102 + echo "Starting MySQL server" 1.103 + ( /etc/init.d/mysql start ; status ) || exit 1.104 + sleep 4 #let the mysql daemon start 1.105 + fi 1.106 + if ( ! mysql -u root -Be 'show databases' | grep -q $db_name ); then 1.107 + echo -n "Create $db_name database" 1.108 + mysql -Be "create database $db_name" ; status 1.109 + # We suppose that databse user does not exist. 1.110 + # It may be false. 1.111 + echo -n "Create user $db_user with password $db_password" 1.112 + mysql -Be "grant all privileges on ${db_name}.* to '$db_user'@'localhost' 1.113 + identified by '$db_password'" ; status 1.114 + # At last populate the database. 1.115 + echo -n "Create $db_name database schema." 1.116 + mysql -u $db_user -p${db_password} -D $db_name < /usr/share/doc/dolibarr/schemas/$PACKAGE-$VERSION-mysql.sql ; status 1.117 + 1.118 + fi 1.119 + 1.120 + fi 1.121 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/dolibarr/stuff/applications/dolibarr.desktop Sat Feb 25 00:38:05 2012 +0100 2.3 @@ -0,0 +1,8 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=Dolibarr ERP/CRM 2.7 +Name[fr]=Dolibarr PGI/GRC 2.8 +Icon=dolibarr.png 2.9 +Exec=browser http://localhost/dolibarr/ 2.10 +Type=Application 2.11 +Categories=Office;
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/dolibarr/stuff/conf.php Sat Feb 25 00:38:05 2012 +0100 3.3 @@ -0,0 +1,27 @@ 3.4 +<?php 3.5 +# 3.6 +# File generated by Dolibarr installer 3.0.0 on 2011-07-03 17:32:29 3.7 +# 3.8 +# Take a look at conf.php.example file for an example of conf.php file 3.9 +# and explanations for all possibles parameters. 3.10 +# 3.11 +$dolibarr_main_url_root='http://localhost/dolibarr'; 3.12 +$dolibarr_main_document_root='/usr/share/dolibarr/htdocs'; 3.13 +$dolibarr_main_data_root='/var/lib/dolibarr/documents'; 3.14 +$dolibarr_main_db_host='localhost'; 3.15 +$dolibarr_main_db_port=''; 3.16 +$dolibarr_main_db_name='dolibarr'; 3.17 +$dolibarr_main_db_user='dolibarr'; 3.18 +$dolibarr_main_db_pass='dolibarr'; 3.19 +$dolibarr_main_db_type='mysql'; 3.20 +$dolibarr_main_db_character_set='utf8'; 3.21 +$dolibarr_main_db_collation='utf8_general_ci'; 3.22 +$dolibarr_main_authentication='dolibarr'; 3.23 + 3.24 +# Specific settings 3.25 +$dolibarr_main_prod='0'; 3.26 +$dolibarr_nocsrfcheck='0'; 3.27 +$dolibarr_main_force_https='0'; 3.28 +$dolibarr_main_cookie_cryptkey='3d0b47c788fd906624931e35dc9bf072'; 3.29 +$dolibarr_mailing_limit_sendbyweb='0'; 3.30 +?>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/dolibarr/stuff/dolibarr-3.1.0-mysql.sql Sat Feb 25 00:38:05 2012 +0100 4.3 @@ -0,0 +1,4997 @@ 4.4 +-- MySQL dump 10.13 Distrib 5.1.38, for pc-linux-gnu (i486) 4.5 +-- 4.6 +-- Host: localhost Database: doli_default 4.7 +-- ------------------------------------------------------ 4.8 +-- Server version 5.1.38-log 4.9 + 4.10 +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 4.11 +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 4.12 +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 4.13 +/*!40101 SET NAMES utf8 */; 4.14 +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; 4.15 +/*!40103 SET TIME_ZONE='+00:00' */; 4.16 +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; 4.17 +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; 4.18 +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; 4.19 +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; 4.20 + 4.21 +-- 4.22 +-- Table structure for table `llx_accountingaccount` 4.23 +-- 4.24 + 4.25 +DROP TABLE IF EXISTS `llx_accountingaccount`; 4.26 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.27 +/*!40101 SET character_set_client = utf8 */; 4.28 +CREATE TABLE `llx_accountingaccount` ( 4.29 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.30 + `fk_pcg_version` varchar(12) NOT NULL, 4.31 + `pcg_type` varchar(20) NOT NULL, 4.32 + `pcg_subtype` varchar(20) NOT NULL, 4.33 + `account_number` varchar(20) NOT NULL, 4.34 + `account_parent` varchar(20) DEFAULT NULL, 4.35 + `label` varchar(128) NOT NULL, 4.36 + PRIMARY KEY (`rowid`), 4.37 + KEY `idx_accountingaccount_fk_pcg_version` (`fk_pcg_version`) 4.38 +) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8; 4.39 +/*!40101 SET character_set_client = @saved_cs_client */; 4.40 + 4.41 +-- 4.42 +-- Dumping data for table `llx_accountingaccount` 4.43 +-- 4.44 + 4.45 +LOCK TABLES `llx_accountingaccount` WRITE; 4.46 +/*!40000 ALTER TABLE `llx_accountingaccount` DISABLE KEYS */; 4.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'); 4.48 +/*!40000 ALTER TABLE `llx_accountingaccount` ENABLE KEYS */; 4.49 +UNLOCK TABLES; 4.50 + 4.51 +-- 4.52 +-- Table structure for table `llx_accountingdebcred` 4.53 +-- 4.54 + 4.55 +DROP TABLE IF EXISTS `llx_accountingdebcred`; 4.56 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.57 +/*!40101 SET character_set_client = utf8 */; 4.58 +CREATE TABLE `llx_accountingdebcred` ( 4.59 + `fk_transaction` int(11) NOT NULL, 4.60 + `account_number` varchar(20) NOT NULL, 4.61 + `amount` double NOT NULL, 4.62 + `direction` varchar(1) NOT NULL 4.63 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.64 +/*!40101 SET character_set_client = @saved_cs_client */; 4.65 + 4.66 +-- 4.67 +-- Dumping data for table `llx_accountingdebcred` 4.68 +-- 4.69 + 4.70 +LOCK TABLES `llx_accountingdebcred` WRITE; 4.71 +/*!40000 ALTER TABLE `llx_accountingdebcred` DISABLE KEYS */; 4.72 +/*!40000 ALTER TABLE `llx_accountingdebcred` ENABLE KEYS */; 4.73 +UNLOCK TABLES; 4.74 + 4.75 +-- 4.76 +-- Table structure for table `llx_accountingsystem` 4.77 +-- 4.78 + 4.79 +DROP TABLE IF EXISTS `llx_accountingsystem`; 4.80 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.81 +/*!40101 SET character_set_client = utf8 */; 4.82 +CREATE TABLE `llx_accountingsystem` ( 4.83 + `pcg_version` varchar(12) NOT NULL, 4.84 + `fk_pays` int(11) NOT NULL, 4.85 + `label` varchar(128) NOT NULL, 4.86 + `datec` varchar(12) NOT NULL, 4.87 + `fk_author` varchar(20) DEFAULT NULL, 4.88 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.89 + `active` smallint(6) DEFAULT '0', 4.90 + PRIMARY KEY (`pcg_version`) 4.91 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.92 +/*!40101 SET character_set_client = @saved_cs_client */; 4.93 + 4.94 +-- 4.95 +-- Dumping data for table `llx_accountingsystem` 4.96 +-- 4.97 + 4.98 +LOCK TABLES `llx_accountingsystem` WRITE; 4.99 +/*!40000 ALTER TABLE `llx_accountingsystem` DISABLE KEYS */; 4.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); 4.101 +/*!40000 ALTER TABLE `llx_accountingsystem` ENABLE KEYS */; 4.102 +UNLOCK TABLES; 4.103 + 4.104 +-- 4.105 +-- Table structure for table `llx_accountingtransaction` 4.106 +-- 4.107 + 4.108 +DROP TABLE IF EXISTS `llx_accountingtransaction`; 4.109 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.110 +/*!40101 SET character_set_client = utf8 */; 4.111 +CREATE TABLE `llx_accountingtransaction` ( 4.112 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.113 + `label` varchar(128) NOT NULL, 4.114 + `datec` date NOT NULL, 4.115 + `fk_author` varchar(20) NOT NULL, 4.116 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.117 + `fk_source` int(11) NOT NULL, 4.118 + `sourcetype` varchar(16) NOT NULL, 4.119 + `url` varchar(255) DEFAULT NULL, 4.120 + PRIMARY KEY (`rowid`) 4.121 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.122 +/*!40101 SET character_set_client = @saved_cs_client */; 4.123 + 4.124 +-- 4.125 +-- Dumping data for table `llx_accountingtransaction` 4.126 +-- 4.127 + 4.128 +LOCK TABLES `llx_accountingtransaction` WRITE; 4.129 +/*!40000 ALTER TABLE `llx_accountingtransaction` DISABLE KEYS */; 4.130 +/*!40000 ALTER TABLE `llx_accountingtransaction` ENABLE KEYS */; 4.131 +UNLOCK TABLES; 4.132 + 4.133 +-- 4.134 +-- Table structure for table `llx_action_def` 4.135 +-- 4.136 + 4.137 +DROP TABLE IF EXISTS `llx_action_def`; 4.138 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.139 +/*!40101 SET character_set_client = utf8 */; 4.140 +CREATE TABLE `llx_action_def` ( 4.141 + `rowid` int(11) NOT NULL, 4.142 + `code` varchar(32) NOT NULL, 4.143 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.144 + `titre` varchar(255) NOT NULL, 4.145 + `description` text, 4.146 + `objet_type` varchar(16) NOT NULL, 4.147 + PRIMARY KEY (`rowid`), 4.148 + UNIQUE KEY `code` (`code`) 4.149 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.150 +/*!40101 SET character_set_client = @saved_cs_client */; 4.151 + 4.152 +-- 4.153 +-- Dumping data for table `llx_action_def` 4.154 +-- 4.155 + 4.156 +LOCK TABLES `llx_action_def` WRITE; 4.157 +/*!40000 ALTER TABLE `llx_action_def` DISABLE KEYS */; 4.158 +INSERT INTO `llx_action_def` VALUES (1,'NOTIFY_VAL_FICHINTER','2011-07-03 17:32:38','Validation fiche intervention','Executed when a intervention is validated','ficheinter'),(2,'NOTIFY_VAL_FAC','2011-07-03 17:32:38','Validation facture client','Executed when a customer invoice is approved','facture'),(3,'NOTIFY_APP_ORDER_SUPPLIER','2011-07-03 17:32:38','Approbation commande fournisseur','Executed when a supplier order is approved','order_supplier'),(4,'NOTIFY_REF_ORDER_SUPPLIER','2011-07-03 17:32:38','Refus commande fournisseur','Executed when a supplier order is refused','order_supplier'),(5,'NOTIFY_VAL_ORDER','2011-07-03 17:32:38','Validation commande client','Executed when a customer order is validated','order'),(6,'NOTIFY_VAL_PROPAL','2011-07-03 17:32:38','Validation proposition client','Executed when a commercial proposal is validated','propal'),(7,'NOTIFY_TRN_WITHDRAW','2011-07-03 17:32:38','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw'),(8,'NOTIFY_CRD_WITHDRAW','2011-07-03 17:32:38','Créditer prélèvement','Executed when a withdrawal is credited','withdraw'),(9,'NOTIFY_EMT_WITHDRAW','2011-07-03 17:32:38','Emission prélèvement','Executed when a withdrawal is emited','withdraw'); 4.159 +/*!40000 ALTER TABLE `llx_action_def` ENABLE KEYS */; 4.160 +UNLOCK TABLES; 4.161 + 4.162 +-- 4.163 +-- Table structure for table `llx_actioncomm` 4.164 +-- 4.165 + 4.166 +DROP TABLE IF EXISTS `llx_actioncomm`; 4.167 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.168 +/*!40101 SET character_set_client = utf8 */; 4.169 +CREATE TABLE `llx_actioncomm` ( 4.170 + `id` int(11) NOT NULL AUTO_INCREMENT, 4.171 + `datep` datetime DEFAULT NULL, 4.172 + `datep2` datetime DEFAULT NULL, 4.173 + `datea` datetime DEFAULT NULL, 4.174 + `datea2` datetime DEFAULT NULL, 4.175 + `fk_action` int(11) DEFAULT NULL, 4.176 + `label` varchar(128) NOT NULL, 4.177 + `datec` datetime DEFAULT NULL, 4.178 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.179 + `fk_user_author` int(11) DEFAULT NULL, 4.180 + `fk_user_mod` int(11) DEFAULT NULL, 4.181 + `fk_project` int(11) DEFAULT NULL, 4.182 + `fk_soc` int(11) DEFAULT NULL, 4.183 + `fk_contact` int(11) DEFAULT NULL, 4.184 + `fk_parent` int(11) NOT NULL DEFAULT '0', 4.185 + `fk_user_action` int(11) DEFAULT NULL, 4.186 + `fk_user_done` int(11) DEFAULT NULL, 4.187 + `priority` smallint(6) DEFAULT NULL, 4.188 + `fulldayevent` smallint(6) NOT NULL DEFAULT '0', 4.189 + `punctual` smallint(6) NOT NULL DEFAULT '1', 4.190 + `percent` smallint(6) NOT NULL DEFAULT '0', 4.191 + `location` varchar(128) DEFAULT NULL, 4.192 + `durationp` double DEFAULT NULL, 4.193 + `durationa` double DEFAULT NULL, 4.194 + `note` text, 4.195 + `propalrowid` int(11) DEFAULT NULL, 4.196 + `fk_commande` int(11) DEFAULT NULL, 4.197 + `fk_facture` int(11) DEFAULT NULL, 4.198 + `fk_contract` int(11) DEFAULT NULL, 4.199 + `fk_supplier_order` int(11) DEFAULT NULL, 4.200 + `fk_supplier_invoice` int(11) DEFAULT NULL, 4.201 + PRIMARY KEY (`id`), 4.202 + KEY `idx_actioncomm_datea` (`datea`), 4.203 + KEY `idx_actioncomm_fk_soc` (`fk_soc`), 4.204 + KEY `idx_actioncomm_fk_contact` (`fk_contact`), 4.205 + KEY `idx_actioncomm_fk_facture` (`fk_facture`), 4.206 + KEY `idx_actioncomm_fk_supplier_order` (`fk_supplier_order`), 4.207 + KEY `idx_actioncomm_fk_supplier_invoice` (`fk_supplier_invoice`) 4.208 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.209 +/*!40101 SET character_set_client = @saved_cs_client */; 4.210 + 4.211 +-- 4.212 +-- Dumping data for table `llx_actioncomm` 4.213 +-- 4.214 + 4.215 +LOCK TABLES `llx_actioncomm` WRITE; 4.216 +/*!40000 ALTER TABLE `llx_actioncomm` DISABLE KEYS */; 4.217 +/*!40000 ALTER TABLE `llx_actioncomm` ENABLE KEYS */; 4.218 +UNLOCK TABLES; 4.219 + 4.220 +-- 4.221 +-- Table structure for table `llx_adherent` 4.222 +-- 4.223 + 4.224 +DROP TABLE IF EXISTS `llx_adherent`; 4.225 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.226 +/*!40101 SET character_set_client = utf8 */; 4.227 +CREATE TABLE `llx_adherent` ( 4.228 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.229 + `entity` int(11) NOT NULL DEFAULT '1', 4.230 + `civilite` varchar(6) DEFAULT NULL, 4.231 + `nom` varchar(50) DEFAULT NULL, 4.232 + `prenom` varchar(50) DEFAULT NULL, 4.233 + `login` varchar(50) NOT NULL, 4.234 + `pass` varchar(50) DEFAULT NULL, 4.235 + `fk_adherent_type` int(11) NOT NULL, 4.236 + `morphy` varchar(3) NOT NULL, 4.237 + `societe` varchar(50) DEFAULT NULL, 4.238 + `fk_soc` int(11) DEFAULT NULL, 4.239 + `adresse` text, 4.240 + `cp` varchar(30) DEFAULT NULL, 4.241 + `ville` varchar(50) DEFAULT NULL, 4.242 + `fk_departement` int(11) DEFAULT NULL, 4.243 + `pays` int(11) DEFAULT NULL, 4.244 + `email` varchar(255) DEFAULT NULL, 4.245 + `phone` varchar(30) DEFAULT NULL, 4.246 + `phone_perso` varchar(30) DEFAULT NULL, 4.247 + `phone_mobile` varchar(30) DEFAULT NULL, 4.248 + `naiss` date DEFAULT NULL, 4.249 + `photo` varchar(255) DEFAULT NULL, 4.250 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.251 + `public` smallint(6) NOT NULL DEFAULT '0', 4.252 + `datefin` datetime DEFAULT NULL, 4.253 + `note` text, 4.254 + `datevalid` datetime DEFAULT NULL, 4.255 + `datec` datetime DEFAULT NULL, 4.256 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.257 + `fk_user_author` int(11) DEFAULT NULL, 4.258 + `fk_user_mod` int(11) DEFAULT NULL, 4.259 + `fk_user_valid` int(11) DEFAULT NULL, 4.260 + `import_key` varchar(14) DEFAULT NULL, 4.261 + PRIMARY KEY (`rowid`), 4.262 + UNIQUE KEY `uk_adherent_login` (`login`,`entity`), 4.263 + UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`), 4.264 + KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`) 4.265 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.266 +/*!40101 SET character_set_client = @saved_cs_client */; 4.267 + 4.268 +-- 4.269 +-- Dumping data for table `llx_adherent` 4.270 +-- 4.271 + 4.272 +LOCK TABLES `llx_adherent` WRITE; 4.273 +/*!40000 ALTER TABLE `llx_adherent` DISABLE KEYS */; 4.274 +/*!40000 ALTER TABLE `llx_adherent` ENABLE KEYS */; 4.275 +UNLOCK TABLES; 4.276 + 4.277 +-- 4.278 +-- Table structure for table `llx_adherent_options` 4.279 +-- 4.280 + 4.281 +DROP TABLE IF EXISTS `llx_adherent_options`; 4.282 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.283 +/*!40101 SET character_set_client = utf8 */; 4.284 +CREATE TABLE `llx_adherent_options` ( 4.285 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.286 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.287 + `fk_member` int(11) NOT NULL, 4.288 + PRIMARY KEY (`rowid`), 4.289 + KEY `idx_adherent_options` (`fk_member`) 4.290 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.291 +/*!40101 SET character_set_client = @saved_cs_client */; 4.292 + 4.293 +-- 4.294 +-- Dumping data for table `llx_adherent_options` 4.295 +-- 4.296 + 4.297 +LOCK TABLES `llx_adherent_options` WRITE; 4.298 +/*!40000 ALTER TABLE `llx_adherent_options` DISABLE KEYS */; 4.299 +/*!40000 ALTER TABLE `llx_adherent_options` ENABLE KEYS */; 4.300 +UNLOCK TABLES; 4.301 + 4.302 +-- 4.303 +-- Table structure for table `llx_adherent_options_label` 4.304 +-- 4.305 + 4.306 +DROP TABLE IF EXISTS `llx_adherent_options_label`; 4.307 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.308 +/*!40101 SET character_set_client = utf8 */; 4.309 +CREATE TABLE `llx_adherent_options_label` ( 4.310 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.311 + `name` varchar(64) NOT NULL, 4.312 + `entity` int(11) NOT NULL DEFAULT '1', 4.313 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.314 + `label` varchar(255) NOT NULL, 4.315 + `type` varchar(8) DEFAULT NULL, 4.316 + `size` int(11) DEFAULT '0', 4.317 + `pos` int(11) DEFAULT '0', 4.318 + PRIMARY KEY (`rowid`), 4.319 + UNIQUE KEY `uk_adherent_options_label_name` (`name`,`entity`) 4.320 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.321 +/*!40101 SET character_set_client = @saved_cs_client */; 4.322 + 4.323 +-- 4.324 +-- Dumping data for table `llx_adherent_options_label` 4.325 +-- 4.326 + 4.327 +LOCK TABLES `llx_adherent_options_label` WRITE; 4.328 +/*!40000 ALTER TABLE `llx_adherent_options_label` DISABLE KEYS */; 4.329 +/*!40000 ALTER TABLE `llx_adherent_options_label` ENABLE KEYS */; 4.330 +UNLOCK TABLES; 4.331 + 4.332 +-- 4.333 +-- Table structure for table `llx_adherent_type` 4.334 +-- 4.335 + 4.336 +DROP TABLE IF EXISTS `llx_adherent_type`; 4.337 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.338 +/*!40101 SET character_set_client = utf8 */; 4.339 +CREATE TABLE `llx_adherent_type` ( 4.340 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.341 + `entity` int(11) NOT NULL DEFAULT '1', 4.342 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.343 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.344 + `libelle` varchar(50) NOT NULL, 4.345 + `cotisation` varchar(3) NOT NULL DEFAULT 'yes', 4.346 + `vote` varchar(3) NOT NULL DEFAULT 'yes', 4.347 + `note` text, 4.348 + `mail_valid` text, 4.349 + PRIMARY KEY (`rowid`), 4.350 + UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`) 4.351 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.352 +/*!40101 SET character_set_client = @saved_cs_client */; 4.353 + 4.354 +-- 4.355 +-- Dumping data for table `llx_adherent_type` 4.356 +-- 4.357 + 4.358 +LOCK TABLES `llx_adherent_type` WRITE; 4.359 +/*!40000 ALTER TABLE `llx_adherent_type` DISABLE KEYS */; 4.360 +/*!40000 ALTER TABLE `llx_adherent_type` ENABLE KEYS */; 4.361 +UNLOCK TABLES; 4.362 + 4.363 +-- 4.364 +-- Table structure for table `llx_bank` 4.365 +-- 4.366 + 4.367 +DROP TABLE IF EXISTS `llx_bank`; 4.368 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.369 +/*!40101 SET character_set_client = utf8 */; 4.370 +CREATE TABLE `llx_bank` ( 4.371 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.372 + `datec` datetime DEFAULT NULL, 4.373 + `datev` date DEFAULT NULL, 4.374 + `dateo` date DEFAULT NULL, 4.375 + `amount` double(24,8) NOT NULL DEFAULT '0.00000000', 4.376 + `label` varchar(255) DEFAULT NULL, 4.377 + `fk_account` int(11) DEFAULT NULL, 4.378 + `fk_user_author` int(11) DEFAULT NULL, 4.379 + `fk_user_rappro` int(11) DEFAULT NULL, 4.380 + `fk_type` varchar(6) DEFAULT NULL, 4.381 + `num_releve` varchar(50) DEFAULT NULL, 4.382 + `num_chq` varchar(50) DEFAULT NULL, 4.383 + `rappro` tinyint(4) DEFAULT '0', 4.384 + `note` text, 4.385 + `fk_bordereau` int(11) DEFAULT '0', 4.386 + `banque` varchar(255) DEFAULT NULL, 4.387 + `emetteur` varchar(255) DEFAULT NULL, 4.388 + `author` varchar(40) DEFAULT NULL, 4.389 + PRIMARY KEY (`rowid`), 4.390 + KEY `idx_bank_datev` (`datev`), 4.391 + KEY `idx_bank_dateo` (`dateo`), 4.392 + KEY `idx_bank_fk_account` (`fk_account`), 4.393 + KEY `idx_bank_rappro` (`rappro`) 4.394 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.395 +/*!40101 SET character_set_client = @saved_cs_client */; 4.396 + 4.397 +-- 4.398 +-- Dumping data for table `llx_bank` 4.399 +-- 4.400 + 4.401 +LOCK TABLES `llx_bank` WRITE; 4.402 +/*!40000 ALTER TABLE `llx_bank` DISABLE KEYS */; 4.403 +/*!40000 ALTER TABLE `llx_bank` ENABLE KEYS */; 4.404 +UNLOCK TABLES; 4.405 + 4.406 +-- 4.407 +-- Table structure for table `llx_bank_account` 4.408 +-- 4.409 + 4.410 +DROP TABLE IF EXISTS `llx_bank_account`; 4.411 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.412 +/*!40101 SET character_set_client = utf8 */; 4.413 +CREATE TABLE `llx_bank_account` ( 4.414 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.415 + `datec` datetime DEFAULT NULL, 4.416 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.417 + `ref` varchar(12) NOT NULL, 4.418 + `label` varchar(30) NOT NULL, 4.419 + `entity` int(11) NOT NULL DEFAULT '1', 4.420 + `bank` varchar(60) DEFAULT NULL, 4.421 + `code_banque` varchar(7) DEFAULT NULL, 4.422 + `code_guichet` varchar(6) DEFAULT NULL, 4.423 + `number` varchar(255) DEFAULT NULL, 4.424 + `cle_rib` varchar(5) DEFAULT NULL, 4.425 + `bic` varchar(11) DEFAULT NULL, 4.426 + `iban_prefix` varchar(34) DEFAULT NULL, 4.427 + `country_iban` varchar(2) DEFAULT NULL, 4.428 + `cle_iban` varchar(2) DEFAULT NULL, 4.429 + `domiciliation` varchar(255) DEFAULT NULL, 4.430 + `fk_departement` int(11) DEFAULT NULL, 4.431 + `fk_pays` int(11) NOT NULL, 4.432 + `proprio` varchar(60) DEFAULT NULL, 4.433 + `adresse_proprio` varchar(255) DEFAULT NULL, 4.434 + `courant` smallint(6) NOT NULL DEFAULT '0', 4.435 + `clos` smallint(6) NOT NULL DEFAULT '0', 4.436 + `rappro` smallint(6) DEFAULT '1', 4.437 + `url` varchar(128) DEFAULT NULL, 4.438 + `account_number` varchar(8) DEFAULT NULL, 4.439 + `currency_code` varchar(3) NOT NULL, 4.440 + `min_allowed` int(11) DEFAULT '0', 4.441 + `min_desired` int(11) DEFAULT '0', 4.442 + `comment` text, 4.443 + PRIMARY KEY (`rowid`), 4.444 + UNIQUE KEY `uk_bank_account_label` (`label`,`entity`) 4.445 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.446 +/*!40101 SET character_set_client = @saved_cs_client */; 4.447 + 4.448 +-- 4.449 +-- Dumping data for table `llx_bank_account` 4.450 +-- 4.451 + 4.452 +LOCK TABLES `llx_bank_account` WRITE; 4.453 +/*!40000 ALTER TABLE `llx_bank_account` DISABLE KEYS */; 4.454 +/*!40000 ALTER TABLE `llx_bank_account` ENABLE KEYS */; 4.455 +UNLOCK TABLES; 4.456 + 4.457 +-- 4.458 +-- Table structure for table `llx_bank_categ` 4.459 +-- 4.460 + 4.461 +DROP TABLE IF EXISTS `llx_bank_categ`; 4.462 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.463 +/*!40101 SET character_set_client = utf8 */; 4.464 +CREATE TABLE `llx_bank_categ` ( 4.465 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.466 + `label` varchar(255) DEFAULT NULL, 4.467 + `entity` int(11) NOT NULL DEFAULT '1', 4.468 + PRIMARY KEY (`rowid`) 4.469 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.470 +/*!40101 SET character_set_client = @saved_cs_client */; 4.471 + 4.472 +-- 4.473 +-- Dumping data for table `llx_bank_categ` 4.474 +-- 4.475 + 4.476 +LOCK TABLES `llx_bank_categ` WRITE; 4.477 +/*!40000 ALTER TABLE `llx_bank_categ` DISABLE KEYS */; 4.478 +/*!40000 ALTER TABLE `llx_bank_categ` ENABLE KEYS */; 4.479 +UNLOCK TABLES; 4.480 + 4.481 +-- 4.482 +-- Table structure for table `llx_bank_class` 4.483 +-- 4.484 + 4.485 +DROP TABLE IF EXISTS `llx_bank_class`; 4.486 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.487 +/*!40101 SET character_set_client = utf8 */; 4.488 +CREATE TABLE `llx_bank_class` ( 4.489 + `lineid` int(11) NOT NULL, 4.490 + `fk_categ` int(11) NOT NULL, 4.491 + UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`) 4.492 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.493 +/*!40101 SET character_set_client = @saved_cs_client */; 4.494 + 4.495 +-- 4.496 +-- Dumping data for table `llx_bank_class` 4.497 +-- 4.498 + 4.499 +LOCK TABLES `llx_bank_class` WRITE; 4.500 +/*!40000 ALTER TABLE `llx_bank_class` DISABLE KEYS */; 4.501 +/*!40000 ALTER TABLE `llx_bank_class` ENABLE KEYS */; 4.502 +UNLOCK TABLES; 4.503 + 4.504 +-- 4.505 +-- Table structure for table `llx_bank_url` 4.506 +-- 4.507 + 4.508 +DROP TABLE IF EXISTS `llx_bank_url`; 4.509 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.510 +/*!40101 SET character_set_client = utf8 */; 4.511 +CREATE TABLE `llx_bank_url` ( 4.512 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.513 + `fk_bank` int(11) DEFAULT NULL, 4.514 + `url_id` int(11) DEFAULT NULL, 4.515 + `url` varchar(255) DEFAULT NULL, 4.516 + `label` varchar(255) DEFAULT NULL, 4.517 + `type` varchar(20) NOT NULL, 4.518 + PRIMARY KEY (`rowid`), 4.519 + UNIQUE KEY `uk_bank_url` (`fk_bank`,`type`) 4.520 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.521 +/*!40101 SET character_set_client = @saved_cs_client */; 4.522 + 4.523 +-- 4.524 +-- Dumping data for table `llx_bank_url` 4.525 +-- 4.526 + 4.527 +LOCK TABLES `llx_bank_url` WRITE; 4.528 +/*!40000 ALTER TABLE `llx_bank_url` DISABLE KEYS */; 4.529 +/*!40000 ALTER TABLE `llx_bank_url` ENABLE KEYS */; 4.530 +UNLOCK TABLES; 4.531 + 4.532 +-- 4.533 +-- Table structure for table `llx_bookmark` 4.534 +-- 4.535 + 4.536 +DROP TABLE IF EXISTS `llx_bookmark`; 4.537 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.538 +/*!40101 SET character_set_client = utf8 */; 4.539 +CREATE TABLE `llx_bookmark` ( 4.540 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.541 + `fk_soc` int(11) DEFAULT NULL, 4.542 + `fk_user` int(11) NOT NULL, 4.543 + `dateb` datetime DEFAULT NULL, 4.544 + `url` varchar(128) NOT NULL, 4.545 + `target` varchar(16) DEFAULT NULL, 4.546 + `title` varchar(64) DEFAULT NULL, 4.547 + `favicon` varchar(24) DEFAULT NULL, 4.548 + `position` int(11) DEFAULT '0', 4.549 + PRIMARY KEY (`rowid`), 4.550 + UNIQUE KEY `uk_bookmark_url` (`fk_user`,`url`), 4.551 + UNIQUE KEY `uk_bookmark_title` (`fk_user`,`title`) 4.552 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.553 +/*!40101 SET character_set_client = @saved_cs_client */; 4.554 + 4.555 +-- 4.556 +-- Dumping data for table `llx_bookmark` 4.557 +-- 4.558 + 4.559 +LOCK TABLES `llx_bookmark` WRITE; 4.560 +/*!40000 ALTER TABLE `llx_bookmark` DISABLE KEYS */; 4.561 +/*!40000 ALTER TABLE `llx_bookmark` ENABLE KEYS */; 4.562 +UNLOCK TABLES; 4.563 + 4.564 +-- 4.565 +-- Table structure for table `llx_bordereau_cheque` 4.566 +-- 4.567 + 4.568 +DROP TABLE IF EXISTS `llx_bordereau_cheque`; 4.569 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.570 +/*!40101 SET character_set_client = utf8 */; 4.571 +CREATE TABLE `llx_bordereau_cheque` ( 4.572 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.573 + `datec` datetime NOT NULL, 4.574 + `date_bordereau` date DEFAULT NULL, 4.575 + `number` varchar(16) NOT NULL, 4.576 + `entity` int(11) NOT NULL DEFAULT '1', 4.577 + `amount` double(24,8) NOT NULL, 4.578 + `nbcheque` smallint(6) NOT NULL, 4.579 + `fk_bank_account` int(11) DEFAULT NULL, 4.580 + `fk_user_author` int(11) DEFAULT NULL, 4.581 + `note` text, 4.582 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.583 + PRIMARY KEY (`rowid`), 4.584 + UNIQUE KEY `uk_bordereau_cheque` (`number`,`entity`) 4.585 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.586 +/*!40101 SET character_set_client = @saved_cs_client */; 4.587 + 4.588 +-- 4.589 +-- Dumping data for table `llx_bordereau_cheque` 4.590 +-- 4.591 + 4.592 +LOCK TABLES `llx_bordereau_cheque` WRITE; 4.593 +/*!40000 ALTER TABLE `llx_bordereau_cheque` DISABLE KEYS */; 4.594 +/*!40000 ALTER TABLE `llx_bordereau_cheque` ENABLE KEYS */; 4.595 +UNLOCK TABLES; 4.596 + 4.597 +-- 4.598 +-- Table structure for table `llx_boxes` 4.599 +-- 4.600 + 4.601 +DROP TABLE IF EXISTS `llx_boxes`; 4.602 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.603 +/*!40101 SET character_set_client = utf8 */; 4.604 +CREATE TABLE `llx_boxes` ( 4.605 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.606 + `box_id` int(11) NOT NULL, 4.607 + `position` smallint(6) NOT NULL, 4.608 + `box_order` varchar(3) NOT NULL, 4.609 + `fk_user` int(11) NOT NULL DEFAULT '0', 4.610 + PRIMARY KEY (`rowid`), 4.611 + UNIQUE KEY `uk_boxes` (`box_id`,`position`,`fk_user`), 4.612 + KEY `idx_boxes_boxid` (`box_id`), 4.613 + KEY `idx_boxes_fk_user` (`fk_user`) 4.614 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.615 +/*!40101 SET character_set_client = @saved_cs_client */; 4.616 + 4.617 +-- 4.618 +-- Dumping data for table `llx_boxes` 4.619 +-- 4.620 + 4.621 +LOCK TABLES `llx_boxes` WRITE; 4.622 +/*!40000 ALTER TABLE `llx_boxes` DISABLE KEYS */; 4.623 +/*!40000 ALTER TABLE `llx_boxes` ENABLE KEYS */; 4.624 +UNLOCK TABLES; 4.625 + 4.626 +-- 4.627 +-- Table structure for table `llx_boxes_def` 4.628 +-- 4.629 + 4.630 +DROP TABLE IF EXISTS `llx_boxes_def`; 4.631 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.632 +/*!40101 SET character_set_client = utf8 */; 4.633 +CREATE TABLE `llx_boxes_def` ( 4.634 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.635 + `file` varchar(200) NOT NULL, 4.636 + `entity` int(11) NOT NULL DEFAULT '1', 4.637 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.638 + `note` varchar(130) DEFAULT NULL, 4.639 + PRIMARY KEY (`rowid`), 4.640 + UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`) 4.641 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.642 +/*!40101 SET character_set_client = @saved_cs_client */; 4.643 + 4.644 +-- 4.645 +-- Dumping data for table `llx_boxes_def` 4.646 +-- 4.647 + 4.648 +LOCK TABLES `llx_boxes_def` WRITE; 4.649 +/*!40000 ALTER TABLE `llx_boxes_def` DISABLE KEYS */; 4.650 +/*!40000 ALTER TABLE `llx_boxes_def` ENABLE KEYS */; 4.651 +UNLOCK TABLES; 4.652 + 4.653 +-- 4.654 +-- Table structure for table `llx_c_actioncomm` 4.655 +-- 4.656 + 4.657 +DROP TABLE IF EXISTS `llx_c_actioncomm`; 4.658 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.659 +/*!40101 SET character_set_client = utf8 */; 4.660 +CREATE TABLE `llx_c_actioncomm` ( 4.661 + `id` int(11) NOT NULL, 4.662 + `code` varchar(12) NOT NULL, 4.663 + `type` varchar(10) NOT NULL DEFAULT 'system', 4.664 + `libelle` varchar(48) NOT NULL, 4.665 + `module` varchar(16) DEFAULT NULL, 4.666 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.667 + `todo` tinyint(4) DEFAULT NULL, 4.668 + PRIMARY KEY (`id`), 4.669 + UNIQUE KEY `code` (`code`) 4.670 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.671 +/*!40101 SET character_set_client = @saved_cs_client */; 4.672 + 4.673 +-- 4.674 +-- Dumping data for table `llx_c_actioncomm` 4.675 +-- 4.676 + 4.677 +LOCK TABLES `llx_c_actioncomm` WRITE; 4.678 +/*!40000 ALTER TABLE `llx_c_actioncomm` DISABLE KEYS */; 4.679 +INSERT INTO `llx_c_actioncomm` VALUES (1,'AC_TEL','system','Phone call',NULL,1,NULL),(2,'AC_FAX','system','Fax send',NULL,1,NULL),(3,'AC_PROP','system','Send commercial proposal by email','propal',1,NULL),(4,'AC_EMAIL','system','Send Email',NULL,1,NULL),(5,'AC_RDV','system','Rendez-vous',NULL,1,NULL),(8,'AC_COM','system','Send customer order by email','order',1,NULL),(9,'AC_FAC','system','Send customer invoice by email','invoice',1,NULL),(30,'AC_SUP_ORD','system','Send supplier order by email','order_supplier',1,NULL),(31,'AC_SUP_INV','system','Send supplier invoice by email','invoice_supplier',1,NULL),(50,'AC_OTH','system','Other',NULL,1,NULL); 4.680 +/*!40000 ALTER TABLE `llx_c_actioncomm` ENABLE KEYS */; 4.681 +UNLOCK TABLES; 4.682 + 4.683 +-- 4.684 +-- Table structure for table `llx_c_barcode_type` 4.685 +-- 4.686 + 4.687 +DROP TABLE IF EXISTS `llx_c_barcode_type`; 4.688 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.689 +/*!40101 SET character_set_client = utf8 */; 4.690 +CREATE TABLE `llx_c_barcode_type` ( 4.691 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.692 + `code` varchar(16) NOT NULL, 4.693 + `entity` int(11) NOT NULL DEFAULT '1', 4.694 + `libelle` varchar(50) NOT NULL, 4.695 + `coder` varchar(16) NOT NULL, 4.696 + `example` varchar(16) NOT NULL, 4.697 + PRIMARY KEY (`rowid`) 4.698 +) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8; 4.699 +/*!40101 SET character_set_client = @saved_cs_client */; 4.700 + 4.701 +-- 4.702 +-- Dumping data for table `llx_c_barcode_type` 4.703 +-- 4.704 + 4.705 +LOCK TABLES `llx_c_barcode_type` WRITE; 4.706 +/*!40000 ALTER TABLE `llx_c_barcode_type` DISABLE KEYS */; 4.707 +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'); 4.708 +/*!40000 ALTER TABLE `llx_c_barcode_type` ENABLE KEYS */; 4.709 +UNLOCK TABLES; 4.710 + 4.711 +-- 4.712 +-- Table structure for table `llx_c_chargesociales` 4.713 +-- 4.714 + 4.715 +DROP TABLE IF EXISTS `llx_c_chargesociales`; 4.716 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.717 +/*!40101 SET character_set_client = utf8 */; 4.718 +CREATE TABLE `llx_c_chargesociales` ( 4.719 + `id` int(11) NOT NULL AUTO_INCREMENT, 4.720 + `libelle` varchar(80) DEFAULT NULL, 4.721 + `deductible` smallint(6) NOT NULL DEFAULT '0', 4.722 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.723 + `code` varchar(12) NOT NULL, 4.724 + `fk_pays` int(11) NOT NULL DEFAULT '1', 4.725 + PRIMARY KEY (`id`) 4.726 +) ENGINE=MyISAM AUTO_INCREMENT=231 DEFAULT CHARSET=utf8; 4.727 +/*!40101 SET character_set_client = @saved_cs_client */; 4.728 + 4.729 +-- 4.730 +-- Dumping data for table `llx_c_chargesociales` 4.731 +-- 4.732 + 4.733 +LOCK TABLES `llx_c_chargesociales` WRITE; 4.734 +/*!40000 ALTER TABLE `llx_c_chargesociales` DISABLE KEYS */; 4.735 +INSERT INTO `llx_c_chargesociales` VALUES (1,'Allocations familiales',1,1,'TAXFAM',1),(2,'CSG Deductible',1,1,'TAXCSGD',1),(3,'CSG/CRDS NON Deductible',0,1,'TAXCSGND',1),(10,'Taxe apprentissage',0,1,'TAXAPP',1),(11,'Taxe professionnelle',0,1,'TAXPRO',1),(20,'Impots locaux/fonciers',0,1,'TAXFON',1),(25,'Impots revenus',0,1,'TAXREV',1),(30,'Assurance Sante',0,1,'TAXSECU',1),(40,'Mutuelle',0,1,'TAXMUT',1),(50,'Assurance vieillesse',0,1,'TAXRET',1),(60,'Assurance Chomage',0,1,'TAXCHOM',1),(201,'ONSS',1,1,'TAXBEONSS',2),(210,'Precompte professionnel',1,1,'TAXBEPREPRO',2),(220,'Prime d\'existence',1,1,'TAXBEPRIEXI',2),(230,'Precompte immobilier',1,1,'TAXBEPREIMMO',2); 4.736 +/*!40000 ALTER TABLE `llx_c_chargesociales` ENABLE KEYS */; 4.737 +UNLOCK TABLES; 4.738 + 4.739 +-- 4.740 +-- Table structure for table `llx_c_civilite` 4.741 +-- 4.742 + 4.743 +DROP TABLE IF EXISTS `llx_c_civilite`; 4.744 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.745 +/*!40101 SET character_set_client = utf8 */; 4.746 +CREATE TABLE `llx_c_civilite` ( 4.747 + `rowid` int(11) NOT NULL, 4.748 + `code` varchar(6) NOT NULL, 4.749 + `civilite` varchar(50) DEFAULT NULL, 4.750 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.751 + PRIMARY KEY (`rowid`), 4.752 + UNIQUE KEY `code` (`code`) 4.753 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.754 +/*!40101 SET character_set_client = @saved_cs_client */; 4.755 + 4.756 +-- 4.757 +-- Dumping data for table `llx_c_civilite` 4.758 +-- 4.759 + 4.760 +LOCK TABLES `llx_c_civilite` WRITE; 4.761 +/*!40000 ALTER TABLE `llx_c_civilite` DISABLE KEYS */; 4.762 +INSERT INTO `llx_c_civilite` VALUES (1,'MME','Madame',1),(3,'MR','Monsieur',1),(5,'MLE','Mademoiselle',1),(7,'MTRE','Maître',1); 4.763 +/*!40000 ALTER TABLE `llx_c_civilite` ENABLE KEYS */; 4.764 +UNLOCK TABLES; 4.765 + 4.766 +-- 4.767 +-- Table structure for table `llx_c_currencies` 4.768 +-- 4.769 + 4.770 +DROP TABLE IF EXISTS `llx_c_currencies`; 4.771 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.772 +/*!40101 SET character_set_client = utf8 */; 4.773 +CREATE TABLE `llx_c_currencies` ( 4.774 + `code` varchar(2) NOT NULL, 4.775 + `code_iso` varchar(3) NOT NULL, 4.776 + `label` varchar(64) DEFAULT NULL, 4.777 + `labelsing` varchar(64) DEFAULT NULL, 4.778 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.779 + PRIMARY KEY (`code`), 4.780 + UNIQUE KEY `uk_c_currencies_code_iso` (`code_iso`) 4.781 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.782 +/*!40101 SET character_set_client = @saved_cs_client */; 4.783 + 4.784 +-- 4.785 +-- Dumping data for table `llx_c_currencies` 4.786 +-- 4.787 + 4.788 +LOCK TABLES `llx_c_currencies` WRITE; 4.789 +/*!40000 ALTER TABLE `llx_c_currencies` DISABLE KEYS */; 4.790 +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); 4.791 +/*!40000 ALTER TABLE `llx_c_currencies` ENABLE KEYS */; 4.792 +UNLOCK TABLES; 4.793 + 4.794 +-- 4.795 +-- Table structure for table `llx_c_departements` 4.796 +-- 4.797 + 4.798 +DROP TABLE IF EXISTS `llx_c_departements`; 4.799 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.800 +/*!40101 SET character_set_client = utf8 */; 4.801 +CREATE TABLE `llx_c_departements` ( 4.802 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.803 + `code_departement` varchar(6) NOT NULL, 4.804 + `fk_region` int(11) DEFAULT NULL, 4.805 + `cheflieu` varchar(7) DEFAULT NULL, 4.806 + `tncc` int(11) DEFAULT NULL, 4.807 + `ncc` varchar(50) DEFAULT NULL, 4.808 + `nom` varchar(50) DEFAULT NULL, 4.809 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.810 + PRIMARY KEY (`rowid`), 4.811 + UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`), 4.812 + KEY `idx_departements_fk_region` (`fk_region`) 4.813 +) ENGINE=MyISAM AUTO_INCREMENT=434 DEFAULT CHARSET=utf8; 4.814 +/*!40101 SET character_set_client = @saved_cs_client */; 4.815 + 4.816 +-- 4.817 +-- Dumping data for table `llx_c_departements` 4.818 +-- 4.819 + 4.820 +LOCK TABLES `llx_c_departements` WRITE; 4.821 +/*!40000 ALTER TABLE `llx_c_departements` DISABLE KEYS */; 4.822 +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); 4.823 +/*!40000 ALTER TABLE `llx_c_departements` ENABLE KEYS */; 4.824 +UNLOCK TABLES; 4.825 + 4.826 +-- 4.827 +-- Table structure for table `llx_c_ecotaxe` 4.828 +-- 4.829 + 4.830 +DROP TABLE IF EXISTS `llx_c_ecotaxe`; 4.831 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.832 +/*!40101 SET character_set_client = utf8 */; 4.833 +CREATE TABLE `llx_c_ecotaxe` ( 4.834 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.835 + `code` varchar(64) NOT NULL, 4.836 + `libelle` varchar(255) DEFAULT NULL, 4.837 + `price` double(24,8) DEFAULT NULL, 4.838 + `organization` varchar(255) DEFAULT NULL, 4.839 + `fk_pays` int(11) NOT NULL, 4.840 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.841 + PRIMARY KEY (`rowid`), 4.842 + UNIQUE KEY `uk_c_ecotaxe` (`code`) 4.843 +) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8; 4.844 +/*!40101 SET character_set_client = @saved_cs_client */; 4.845 + 4.846 +-- 4.847 +-- Dumping data for table `llx_c_ecotaxe` 4.848 +-- 4.849 + 4.850 +LOCK TABLES `llx_c_ecotaxe` WRITE; 4.851 +/*!40000 ALTER TABLE `llx_c_ecotaxe` DISABLE KEYS */; 4.852 +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); 4.853 +/*!40000 ALTER TABLE `llx_c_ecotaxe` ENABLE KEYS */; 4.854 +UNLOCK TABLES; 4.855 + 4.856 +-- 4.857 +-- Table structure for table `llx_c_effectif` 4.858 +-- 4.859 + 4.860 +DROP TABLE IF EXISTS `llx_c_effectif`; 4.861 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.862 +/*!40101 SET character_set_client = utf8 */; 4.863 +CREATE TABLE `llx_c_effectif` ( 4.864 + `id` int(11) NOT NULL, 4.865 + `code` varchar(12) NOT NULL, 4.866 + `libelle` varchar(30) DEFAULT NULL, 4.867 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.868 + PRIMARY KEY (`id`), 4.869 + UNIQUE KEY `code` (`code`) 4.870 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.871 +/*!40101 SET character_set_client = @saved_cs_client */; 4.872 + 4.873 +-- 4.874 +-- Dumping data for table `llx_c_effectif` 4.875 +-- 4.876 + 4.877 +LOCK TABLES `llx_c_effectif` WRITE; 4.878 +/*!40000 ALTER TABLE `llx_c_effectif` DISABLE KEYS */; 4.879 +INSERT INTO `llx_c_effectif` VALUES (0,'EF0','-',1),(1,'EF1-5','1 - 5',1),(2,'EF6-10','6 - 10',1),(3,'EF11-50','11 - 50',1),(4,'EF51-100','51 - 100',1),(5,'EF100-500','100 - 500',1),(6,'EF500-','> 500',1); 4.880 +/*!40000 ALTER TABLE `llx_c_effectif` ENABLE KEYS */; 4.881 +UNLOCK TABLES; 4.882 + 4.883 +-- 4.884 +-- Table structure for table `llx_c_field_list` 4.885 +-- 4.886 + 4.887 +DROP TABLE IF EXISTS `llx_c_field_list`; 4.888 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.889 +/*!40101 SET character_set_client = utf8 */; 4.890 +CREATE TABLE `llx_c_field_list` ( 4.891 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.892 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.893 + `element` varchar(64) NOT NULL, 4.894 + `entity` int(11) NOT NULL DEFAULT '1', 4.895 + `name` varchar(32) NOT NULL, 4.896 + `alias` varchar(32) NOT NULL, 4.897 + `title` varchar(32) NOT NULL, 4.898 + `align` varchar(6) DEFAULT 'left', 4.899 + `sort` tinyint(4) NOT NULL DEFAULT '1', 4.900 + `search` tinyint(4) NOT NULL DEFAULT '0', 4.901 + `enabled` varchar(255) DEFAULT '1', 4.902 + `rang` int(11) DEFAULT '0', 4.903 + PRIMARY KEY (`rowid`) 4.904 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.905 +/*!40101 SET character_set_client = @saved_cs_client */; 4.906 + 4.907 +-- 4.908 +-- Dumping data for table `llx_c_field_list` 4.909 +-- 4.910 + 4.911 +LOCK TABLES `llx_c_field_list` WRITE; 4.912 +/*!40000 ALTER TABLE `llx_c_field_list` DISABLE KEYS */; 4.913 +/*!40000 ALTER TABLE `llx_c_field_list` ENABLE KEYS */; 4.914 +UNLOCK TABLES; 4.915 + 4.916 +-- 4.917 +-- Table structure for table `llx_c_forme_juridique` 4.918 +-- 4.919 + 4.920 +DROP TABLE IF EXISTS `llx_c_forme_juridique`; 4.921 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.922 +/*!40101 SET character_set_client = utf8 */; 4.923 +CREATE TABLE `llx_c_forme_juridique` ( 4.924 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.925 + `code` int(11) NOT NULL, 4.926 + `fk_pays` int(11) NOT NULL, 4.927 + `libelle` varchar(255) DEFAULT NULL, 4.928 + `isvatexempted` tinyint(4) NOT NULL DEFAULT '0', 4.929 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.930 + PRIMARY KEY (`rowid`), 4.931 + UNIQUE KEY `uk_c_forme_juridique` (`code`) 4.932 +) ENGINE=MyISAM AUTO_INCREMENT=125 DEFAULT CHARSET=utf8; 4.933 +/*!40101 SET character_set_client = @saved_cs_client */; 4.934 + 4.935 +-- 4.936 +-- Dumping data for table `llx_c_forme_juridique` 4.937 +-- 4.938 + 4.939 +LOCK TABLES `llx_c_forme_juridique` WRITE; 4.940 +/*!40000 ALTER TABLE `llx_c_forme_juridique` DISABLE KEYS */; 4.941 +INSERT INTO `llx_c_forme_juridique` VALUES (1,0,0,'-',0,1),(2,11,1,'Artisan Commerçant (EI)',0,1),(3,12,1,'Commerçant (EI)',0,1),(4,13,1,'Artisan (EI)',0,1),(5,14,1,'Officier public ou ministériel',0,1),(6,15,1,'Profession libérale (EI)',0,1),(7,16,1,'Exploitant agricole',0,1),(8,17,1,'Agent commercial',0,1),(9,18,1,'Associé Gérant de société',0,1),(10,19,1,'Personne physique',0,1),(11,21,1,'Indivision',0,1),(12,22,1,'Société créée de fait',0,1),(13,23,1,'Société en participation',0,1),(14,27,1,'Paroisse hors zone concordataire',0,1),(15,29,1,'Groupement de droit privé non doté de la personnalité morale',0,1),(16,31,1,'Personne morale de droit étranger, immatriculée au RCS',0,1),(17,32,1,'Personne morale de droit étranger, non immatriculée au RCS',0,1),(18,35,1,'Régime auto-entrepreneur',0,1),(19,41,1,'Établissement public ou régie à caractère industriel ou commercial',0,1),(20,51,1,'Société coopérative commerciale particulière',0,1),(21,52,1,'Société en nom collectif',0,1),(22,53,1,'Société en commandite',0,1),(23,54,1,'Société à responsabilité limitée (SARL)',0,1),(24,55,1,'Société anonyme à conseil d administration',0,1),(25,56,1,'Société anonyme à directoire',0,1),(26,57,1,'Société par actions simplifiée',0,1),(27,58,1,'Entreprise Unipersonnelle à Responsabilité Limitée (EURL)',0,1),(28,61,1,'Caisse d\'épargne et de prévoyance',0,1),(29,62,1,'Groupement d\'intérêt économique (GIE)',0,1),(30,63,1,'Société coopérative agricole',0,1),(31,64,1,'Société non commerciale d assurances',0,1),(32,65,1,'Société civile',0,1),(33,69,1,'Personnes de droit privé inscrites au RCS',0,1),(34,71,1,'Administration de l état',0,1),(35,72,1,'Collectivité territoriale',0,1),(36,73,1,'Établissement public administratif',0,1),(37,74,1,'Personne morale de droit public administratif',0,1),(38,81,1,'Organisme gérant régime de protection social à adhésion obligatoire',0,1),(39,82,1,'Organisme mutualiste',0,1),(40,83,1,'Comité d entreprise',0,1),(41,84,1,'Organisme professionnel',0,1),(42,85,1,'Organisme de retraite à adhésion non obligatoire',0,1),(43,91,1,'Syndicat de propriétaires',0,1),(44,92,1,'Association loi 1901 ou assimilé',0,1),(45,93,1,'Fondation',0,1),(46,99,1,'Personne morale de droit privé',0,1),(47,200,2,'Indépendant',0,1),(48,201,2,'SPRL - Société à responsabilité limitée',0,1),(49,202,2,'SA - Société Anonyme',0,1),(50,203,2,'SCRL - Société coopérative à responsabilité limitée',0,1),(51,204,2,'ASBL - Association sans but Lucratif',0,1),(52,205,2,'SCRI - Société coopérative à responsabilité illimitée',0,1),(53,206,2,'SCS - Société en commandite simple',0,1),(54,207,2,'SCA - Société en commandite par action',0,1),(55,208,2,'SNC - Société en nom collectif',0,1),(56,209,2,'GIE - Groupement d intérêt économique',0,1),(57,210,2,'GEIE - Groupement européen d intérêt économique',0,1),(58,500,5,'Limited liability corporation (GmbH)',0,1),(59,501,5,'Stock corporation (AG)',0,1),(60,502,5,'Partnerships general or limited (GmbH & CO. KG)',0,1),(61,503,5,'Sole proprietor / Private business',0,1),(62,600,6,'Raison Individuelle',0,1),(63,601,6,'Société Simple',0,1),(64,602,6,'Société en nom collectif',0,1),(65,603,6,'Société en commandite',0,1),(66,604,6,'Société anonyme (SA)',0,1),(67,605,6,'Société en commandite par actions',0,1),(68,606,6,'Société à responsabilité limitée (SARL)',0,1),(69,607,6,'Société coopérative',0,1),(70,608,6,'Association',0,1),(71,609,6,'Fondation',0,1),(72,700,7,'Sole Trader',0,1),(73,701,7,'Partnership',0,1),(74,702,7,'Private Limited Company by shares (LTD)',0,1),(75,703,7,'Public Limited Company',0,1),(76,704,7,'Workers Cooperative',0,1),(77,705,7,'Limited Liability Partnership',0,1),(78,706,7,'Franchise',0,1),(79,1000,10,'Société à responsabilité limitée (SARL)',0,1),(80,1001,10,'Société en Nom Collectif (SNC)',0,1),(81,1002,10,'Société en Commandite Simple (SCS)',0,1),(82,1003,10,'société en participation',0,1),(83,1004,10,'Société Anonyme (SA)',0,1),(84,1005,10,'Société Unipersonnelle à Responsabilité Limitée (SUARL)',0,1),(85,1006,10,'Groupement d\'intérêt économique (GEI)',0,1),(86,1007,10,'Groupe de sociétés',0,1),(87,401,4,'Empresario Individual',0,1),(88,402,4,'Comunidad de Bienes',0,1),(89,403,4,'Sociedad Civil',0,1),(90,404,4,'Sociedad Colectiva',0,1),(91,405,4,'Sociedad Limitada',0,1),(92,406,4,'Sociedad Anónima',0,1),(93,407,4,'Sociedad Comandataria por Acciones',0,1),(94,408,4,'Sociedad Comandataria Simple',0,1),(95,409,4,'Sociedad Laboral',0,1),(96,410,4,'Sociedad Cooperativa',0,1),(97,411,4,'Sociedad de Garantía Recíproca',0,1),(98,412,4,'Entidad de Capital-Riesgo',0,1),(99,413,4,'Agrupación de Interés Económico',0,1),(100,414,4,'Sociedad de Inversión Mobiliaria',0,1),(101,415,4,'Agrupación sin Ánimo de Lucro',0,1),(102,15201,152,'Mauritius Private Company Limited By Shares',0,1),(103,15202,152,'Mauritius Company Limited By Guarantee',0,1),(104,15203,152,'Mauritius Public Company Limited By Shares',0,1),(105,15204,152,'Mauritius Foreign Company',0,1),(106,15205,152,'Mauritius GBC1 (Offshore Company)',0,1),(107,15206,152,'Mauritius GBC2 (International Company)',0,1),(108,15207,152,'Mauritius General Partnership',0,1),(109,15208,152,'Mauritius Limited Partnership',0,1),(110,15209,152,'Mauritius Sole Proprietorship',0,1),(111,15210,152,'Mauritius Trusts',0,1),(112,2301,23,'Monotributista',0,1),(113,2302,23,'Sociedad Civil',0,1),(114,2303,23,'Sociedades Comerciales',0,1),(115,2304,23,'Sociedades de Hecho',0,1),(116,2305,23,'Sociedades Irregulares',0,1),(117,2306,23,'Sociedad Colectiva',0,1),(118,2307,23,'Sociedad en Comandita Simple',0,1),(119,2308,23,'Sociedad de Capital e Industria',0,1),(120,2309,23,'Sociedad Accidental o en participación',0,1),(121,2310,23,'Sociedad de Responsabilidad Limitada',0,1),(122,2311,23,'Sociedad Anónima',0,1),(123,2312,23,'Sociedad Anónima con Participación Estatal Mayoritaria',0,1),(124,2313,23,'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)',0,1); 4.942 +/*!40000 ALTER TABLE `llx_c_forme_juridique` ENABLE KEYS */; 4.943 +UNLOCK TABLES; 4.944 + 4.945 +-- 4.946 +-- Table structure for table `llx_c_methode_commande_fournisseur` 4.947 +-- 4.948 + 4.949 +DROP TABLE IF EXISTS `llx_c_methode_commande_fournisseur`; 4.950 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.951 +/*!40101 SET character_set_client = utf8 */; 4.952 +CREATE TABLE `llx_c_methode_commande_fournisseur` ( 4.953 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.954 + `code` varchar(30) DEFAULT NULL, 4.955 + `libelle` varchar(60) DEFAULT NULL, 4.956 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.957 + PRIMARY KEY (`rowid`), 4.958 + UNIQUE KEY `uk_c_methode_commande_fournisseur` (`code`) 4.959 +) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; 4.960 +/*!40101 SET character_set_client = @saved_cs_client */; 4.961 + 4.962 +-- 4.963 +-- Dumping data for table `llx_c_methode_commande_fournisseur` 4.964 +-- 4.965 + 4.966 +LOCK TABLES `llx_c_methode_commande_fournisseur` WRITE; 4.967 +/*!40000 ALTER TABLE `llx_c_methode_commande_fournisseur` DISABLE KEYS */; 4.968 +INSERT INTO `llx_c_methode_commande_fournisseur` VALUES (1,'OrderByMail','Courrier',1),(2,'OrderByFax','Fax',1),(3,'OrderByEMail','EMail',1),(4,'OrderByPhone','Téléphone',1),(5,'OrderByWWW','En ligne',1); 4.969 +/*!40000 ALTER TABLE `llx_c_methode_commande_fournisseur` ENABLE KEYS */; 4.970 +UNLOCK TABLES; 4.971 + 4.972 +-- 4.973 +-- Table structure for table `llx_c_paiement` 4.974 +-- 4.975 + 4.976 +DROP TABLE IF EXISTS `llx_c_paiement`; 4.977 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.978 +/*!40101 SET character_set_client = utf8 */; 4.979 +CREATE TABLE `llx_c_paiement` ( 4.980 + `id` int(11) NOT NULL, 4.981 + `code` varchar(6) NOT NULL, 4.982 + `libelle` varchar(30) DEFAULT NULL, 4.983 + `type` smallint(6) DEFAULT NULL, 4.984 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.985 + PRIMARY KEY (`id`), 4.986 + UNIQUE KEY `code` (`code`) 4.987 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.988 +/*!40101 SET character_set_client = @saved_cs_client */; 4.989 + 4.990 +-- 4.991 +-- Dumping data for table `llx_c_paiement` 4.992 +-- 4.993 + 4.994 +LOCK TABLES `llx_c_paiement` WRITE; 4.995 +/*!40000 ALTER TABLE `llx_c_paiement` DISABLE KEYS */; 4.996 +INSERT INTO `llx_c_paiement` VALUES (0,'','-',3,1),(1,'TIP','TIP',2,1),(2,'VIR','Virement',2,1),(3,'PRE','Prélèvement',2,1),(4,'LIQ','Espèces',2,1),(5,'VAD','Paiement en ligne',2,0),(6,'CB','Carte Bancaire',2,1),(7,'CHQ','Chèque',2,1),(8,'TRA','Traite',2,0),(9,'LCR','LCR',2,0),(10,'FAC','Factor',2,0),(11,'PRO','Proforma',2,0); 4.997 +/*!40000 ALTER TABLE `llx_c_paiement` ENABLE KEYS */; 4.998 +UNLOCK TABLES; 4.999 + 4.1000 +-- 4.1001 +-- Table structure for table `llx_c_paper_format` 4.1002 +-- 4.1003 + 4.1004 +DROP TABLE IF EXISTS `llx_c_paper_format`; 4.1005 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1006 +/*!40101 SET character_set_client = utf8 */; 4.1007 +CREATE TABLE `llx_c_paper_format` ( 4.1008 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1009 + `code` varchar(16) NOT NULL, 4.1010 + `label` varchar(50) NOT NULL, 4.1011 + `width` float(6,2) DEFAULT '0.00', 4.1012 + `height` float(6,2) DEFAULT '0.00', 4.1013 + `unit` varchar(5) NOT NULL, 4.1014 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1015 + PRIMARY KEY (`rowid`) 4.1016 +) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=utf8; 4.1017 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1018 + 4.1019 +-- 4.1020 +-- Dumping data for table `llx_c_paper_format` 4.1021 +-- 4.1022 + 4.1023 +LOCK TABLES `llx_c_paper_format` WRITE; 4.1024 +/*!40000 ALTER TABLE `llx_c_paper_format` DISABLE KEYS */; 4.1025 +INSERT INTO `llx_c_paper_format` VALUES (1,'4A0','Format 4A0',1682.00,2378.00,'mm',1),(2,'2A0','Format 2A0',1189.00,1682.00,'mm',1),(3,'A0','Format A0',840.00,1189.00,'mm',1),(4,'A1','Format A1',594.00,840.00,'mm',1),(5,'A2','Format A2',420.00,594.00,'mm',1),(6,'A3','Format A3',297.00,420.00,'mm',1),(7,'A4','Format A4',210.00,297.00,'mm',1),(8,'A5','Format A5',148.00,210.00,'mm',1),(9,'A6','Format A6',105.00,148.00,'mm',1),(100,'USLetter','Format Letter (A)',216.00,279.00,'mm',0),(105,'USLegal','Format Legal',216.00,356.00,'mm',0),(110,'USExecutive','Format Executive',190.00,254.00,'mm',0),(115,'USLedger','Format Ledger/Tabloid (B)',279.00,432.00,'mm',0),(200,'Canadian P1','Format Canadian P1',560.00,860.00,'mm',0),(205,'Canadian P2','Format Canadian P2',430.00,560.00,'mm',0),(210,'Canadian P3','Format Canadian P3',280.00,430.00,'mm',0),(215,'Canadian P4','Format Canadian P4',215.00,280.00,'mm',0),(220,'Canadian P5','Format Canadian P5',140.00,215.00,'mm',0),(225,'Canadian P6','Format Canadian P6',107.00,140.00,'mm',0); 4.1026 +/*!40000 ALTER TABLE `llx_c_paper_format` ENABLE KEYS */; 4.1027 +UNLOCK TABLES; 4.1028 + 4.1029 +-- 4.1030 +-- Table structure for table `llx_c_payment_term` 4.1031 +-- 4.1032 + 4.1033 +DROP TABLE IF EXISTS `llx_c_payment_term`; 4.1034 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1035 +/*!40101 SET character_set_client = utf8 */; 4.1036 +CREATE TABLE `llx_c_payment_term` ( 4.1037 + `rowid` int(11) NOT NULL, 4.1038 + `code` varchar(16) DEFAULT NULL, 4.1039 + `sortorder` smallint(6) DEFAULT NULL, 4.1040 + `active` tinyint(4) DEFAULT '1', 4.1041 + `libelle` varchar(255) DEFAULT NULL, 4.1042 + `libelle_facture` text, 4.1043 + `fdm` tinyint(4) DEFAULT NULL, 4.1044 + `nbjour` smallint(6) DEFAULT NULL, 4.1045 + `decalage` smallint(6) DEFAULT NULL, 4.1046 + PRIMARY KEY (`rowid`) 4.1047 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1048 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1049 + 4.1050 +-- 4.1051 +-- Dumping data for table `llx_c_payment_term` 4.1052 +-- 4.1053 + 4.1054 +LOCK TABLES `llx_c_payment_term` WRITE; 4.1055 +/*!40000 ALTER TABLE `llx_c_payment_term` DISABLE KEYS */; 4.1056 +INSERT INTO `llx_c_payment_term` VALUES (1,'RECEP',1,1,'A réception','Réception de facture',0,0,NULL),(2,'30D',2,1,'30 jours','Réglement à 30 jours',0,30,NULL),(3,'30DENDMONTH',3,1,'30 jours fin de mois','Réglement à 30 jours fin de mois',1,30,NULL),(4,'60D',4,1,'60 jours','Réglement à 60 jours',0,60,NULL),(5,'60DENDMONTH',5,1,'60 jours fin de mois','Réglement à 60 jours fin de mois',1,60,NULL); 4.1057 +/*!40000 ALTER TABLE `llx_c_payment_term` ENABLE KEYS */; 4.1058 +UNLOCK TABLES; 4.1059 + 4.1060 +-- 4.1061 +-- Table structure for table `llx_c_pays` 4.1062 +-- 4.1063 + 4.1064 +DROP TABLE IF EXISTS `llx_c_pays`; 4.1065 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1066 +/*!40101 SET character_set_client = utf8 */; 4.1067 +CREATE TABLE `llx_c_pays` ( 4.1068 + `rowid` int(11) NOT NULL, 4.1069 + `code` varchar(2) NOT NULL, 4.1070 + `code_iso` varchar(3) DEFAULT NULL, 4.1071 + `libelle` varchar(50) NOT NULL, 4.1072 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1073 + PRIMARY KEY (`rowid`), 4.1074 + UNIQUE KEY `idx_c_pays_code` (`code`), 4.1075 + UNIQUE KEY `idx_c_pays_libelle` (`libelle`), 4.1076 + UNIQUE KEY `idx_c_pays_code_iso` (`code_iso`) 4.1077 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1078 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1079 + 4.1080 +-- 4.1081 +-- Dumping data for table `llx_c_pays` 4.1082 +-- 4.1083 + 4.1084 +LOCK TABLES `llx_c_pays` WRITE; 4.1085 +/*!40000 ALTER TABLE `llx_c_pays` DISABLE KEYS */; 4.1086 +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); 4.1087 +/*!40000 ALTER TABLE `llx_c_pays` ENABLE KEYS */; 4.1088 +UNLOCK TABLES; 4.1089 + 4.1090 +-- 4.1091 +-- Table structure for table `llx_c_propalst` 4.1092 +-- 4.1093 + 4.1094 +DROP TABLE IF EXISTS `llx_c_propalst`; 4.1095 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1096 +/*!40101 SET character_set_client = utf8 */; 4.1097 +CREATE TABLE `llx_c_propalst` ( 4.1098 + `id` smallint(6) NOT NULL, 4.1099 + `code` varchar(12) NOT NULL, 4.1100 + `label` varchar(30) DEFAULT NULL, 4.1101 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1102 + PRIMARY KEY (`id`), 4.1103 + UNIQUE KEY `code` (`code`) 4.1104 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1105 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1106 + 4.1107 +-- 4.1108 +-- Dumping data for table `llx_c_propalst` 4.1109 +-- 4.1110 + 4.1111 +LOCK TABLES `llx_c_propalst` WRITE; 4.1112 +/*!40000 ALTER TABLE `llx_c_propalst` DISABLE KEYS */; 4.1113 +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); 4.1114 +/*!40000 ALTER TABLE `llx_c_propalst` ENABLE KEYS */; 4.1115 +UNLOCK TABLES; 4.1116 + 4.1117 +-- 4.1118 +-- Table structure for table `llx_c_prospectlevel` 4.1119 +-- 4.1120 + 4.1121 +DROP TABLE IF EXISTS `llx_c_prospectlevel`; 4.1122 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1123 +/*!40101 SET character_set_client = utf8 */; 4.1124 +CREATE TABLE `llx_c_prospectlevel` ( 4.1125 + `code` varchar(12) NOT NULL, 4.1126 + `label` varchar(30) DEFAULT NULL, 4.1127 + `sortorder` smallint(6) DEFAULT NULL, 4.1128 + `active` smallint(6) NOT NULL DEFAULT '1', 4.1129 + PRIMARY KEY (`code`) 4.1130 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1131 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1132 + 4.1133 +-- 4.1134 +-- Dumping data for table `llx_c_prospectlevel` 4.1135 +-- 4.1136 + 4.1137 +LOCK TABLES `llx_c_prospectlevel` WRITE; 4.1138 +/*!40000 ALTER TABLE `llx_c_prospectlevel` DISABLE KEYS */; 4.1139 +INSERT INTO `llx_c_prospectlevel` VALUES ('PL_NONE','None',1,1),('PL_LOW','Low',2,1),('PL_MEDIUM','Medium',3,1),('PL_HIGH','High',4,1); 4.1140 +/*!40000 ALTER TABLE `llx_c_prospectlevel` ENABLE KEYS */; 4.1141 +UNLOCK TABLES; 4.1142 + 4.1143 +-- 4.1144 +-- Table structure for table `llx_c_regions` 4.1145 +-- 4.1146 + 4.1147 +DROP TABLE IF EXISTS `llx_c_regions`; 4.1148 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1149 +/*!40101 SET character_set_client = utf8 */; 4.1150 +CREATE TABLE `llx_c_regions` ( 4.1151 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1152 + `code_region` int(11) NOT NULL, 4.1153 + `fk_pays` int(11) NOT NULL, 4.1154 + `cheflieu` varchar(7) DEFAULT NULL, 4.1155 + `tncc` int(11) DEFAULT NULL, 4.1156 + `nom` varchar(50) DEFAULT NULL, 4.1157 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1158 + PRIMARY KEY (`rowid`), 4.1159 + UNIQUE KEY `code_region` (`code_region`), 4.1160 + KEY `idx_c_regions_fk_pays` (`fk_pays`) 4.1161 +) ENGINE=MyISAM AUTO_INCREMENT=15213 DEFAULT CHARSET=utf8; 4.1162 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1163 + 4.1164 +-- 4.1165 +-- Dumping data for table `llx_c_regions` 4.1166 +-- 4.1167 + 4.1168 +LOCK TABLES `llx_c_regions` WRITE; 4.1169 +/*!40000 ALTER TABLE `llx_c_regions` DISABLE KEYS */; 4.1170 +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); 4.1171 +/*!40000 ALTER TABLE `llx_c_regions` ENABLE KEYS */; 4.1172 +UNLOCK TABLES; 4.1173 + 4.1174 +-- 4.1175 +-- Table structure for table `llx_c_shipment_mode` 4.1176 +-- 4.1177 + 4.1178 +DROP TABLE IF EXISTS `llx_c_shipment_mode`; 4.1179 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1180 +/*!40101 SET character_set_client = utf8 */; 4.1181 +CREATE TABLE `llx_c_shipment_mode` ( 4.1182 + `rowid` int(11) NOT NULL, 4.1183 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1184 + `code` varchar(30) NOT NULL, 4.1185 + `libelle` varchar(50) NOT NULL, 4.1186 + `description` text, 4.1187 + `active` tinyint(4) DEFAULT '0', 4.1188 + PRIMARY KEY (`rowid`) 4.1189 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1190 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1191 + 4.1192 +-- 4.1193 +-- Dumping data for table `llx_c_shipment_mode` 4.1194 +-- 4.1195 + 4.1196 +LOCK TABLES `llx_c_shipment_mode` WRITE; 4.1197 +/*!40000 ALTER TABLE `llx_c_shipment_mode` DISABLE KEYS */; 4.1198 +INSERT INTO `llx_c_shipment_mode` VALUES (1,'2011-07-03 17:32:38','CATCH','Catch','Catch by client',1),(2,'2011-07-03 17:32:38','TRANS','Transporter','Generic transporter',1),(3,'2011-07-03 17:32:38','COLSUI','Colissimo Suivi','Colissimo Suivi',0); 4.1199 +/*!40000 ALTER TABLE `llx_c_shipment_mode` ENABLE KEYS */; 4.1200 +UNLOCK TABLES; 4.1201 + 4.1202 +-- 4.1203 +-- Table structure for table `llx_c_stcomm` 4.1204 +-- 4.1205 + 4.1206 +DROP TABLE IF EXISTS `llx_c_stcomm`; 4.1207 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1208 +/*!40101 SET character_set_client = utf8 */; 4.1209 +CREATE TABLE `llx_c_stcomm` ( 4.1210 + `id` int(11) NOT NULL, 4.1211 + `code` varchar(12) NOT NULL, 4.1212 + `libelle` varchar(30) DEFAULT NULL, 4.1213 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1214 + PRIMARY KEY (`id`), 4.1215 + UNIQUE KEY `code` (`code`) 4.1216 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1217 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1218 + 4.1219 +-- 4.1220 +-- Dumping data for table `llx_c_stcomm` 4.1221 +-- 4.1222 + 4.1223 +LOCK TABLES `llx_c_stcomm` WRITE; 4.1224 +/*!40000 ALTER TABLE `llx_c_stcomm` DISABLE KEYS */; 4.1225 +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); 4.1226 +/*!40000 ALTER TABLE `llx_c_stcomm` ENABLE KEYS */; 4.1227 +UNLOCK TABLES; 4.1228 + 4.1229 +-- 4.1230 +-- Table structure for table `llx_c_tva` 4.1231 +-- 4.1232 + 4.1233 +DROP TABLE IF EXISTS `llx_c_tva`; 4.1234 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1235 +/*!40101 SET character_set_client = utf8 */; 4.1236 +CREATE TABLE `llx_c_tva` ( 4.1237 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1238 + `fk_pays` int(11) NOT NULL, 4.1239 + `taux` double NOT NULL, 4.1240 + `localtax1` double NOT NULL DEFAULT '0', 4.1241 + `localtax2` double NOT NULL DEFAULT '0', 4.1242 + `recuperableonly` int(11) NOT NULL DEFAULT '0', 4.1243 + `note` varchar(128) DEFAULT NULL, 4.1244 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1245 + `accountancy_code` varchar(15) DEFAULT NULL, 4.1246 + PRIMARY KEY (`rowid`) 4.1247 +) ENGINE=MyISAM AUTO_INCREMENT=2462 DEFAULT CHARSET=utf8; 4.1248 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1249 + 4.1250 +-- 4.1251 +-- Dumping data for table `llx_c_tva` 4.1252 +-- 4.1253 + 4.1254 +LOCK TABLES `llx_c_tva` WRITE; 4.1255 +/*!40000 ALTER TABLE `llx_c_tva` DISABLE KEYS */; 4.1256 +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); 4.1257 +/*!40000 ALTER TABLE `llx_c_tva` ENABLE KEYS */; 4.1258 +UNLOCK TABLES; 4.1259 + 4.1260 +-- 4.1261 +-- Table structure for table `llx_c_type_contact` 4.1262 +-- 4.1263 + 4.1264 +DROP TABLE IF EXISTS `llx_c_type_contact`; 4.1265 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1266 +/*!40101 SET character_set_client = utf8 */; 4.1267 +CREATE TABLE `llx_c_type_contact` ( 4.1268 + `rowid` int(11) NOT NULL, 4.1269 + `element` varchar(30) NOT NULL, 4.1270 + `source` varchar(8) NOT NULL DEFAULT 'external', 4.1271 + `code` varchar(16) NOT NULL, 4.1272 + `libelle` varchar(64) NOT NULL, 4.1273 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1274 + PRIMARY KEY (`rowid`), 4.1275 + UNIQUE KEY `idx_c_type_contact_uk` (`element`,`source`,`code`) 4.1276 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1277 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1278 + 4.1279 +-- 4.1280 +-- Dumping data for table `llx_c_type_contact` 4.1281 +-- 4.1282 + 4.1283 +LOCK TABLES `llx_c_type_contact` WRITE; 4.1284 +/*!40000 ALTER TABLE `llx_c_type_contact` DISABLE KEYS */; 4.1285 +INSERT INTO `llx_c_type_contact` VALUES (10,'contrat','internal','SALESREPSIGN','Commercial signataire du contrat',1),(11,'contrat','internal','SALESREPFOLL','Commercial suivi du contrat',1),(20,'contrat','external','BILLING','Contact client facturation contrat',1),(21,'contrat','external','CUSTOMER','Contact client suivi contrat',1),(22,'contrat','external','SALESREPSIGN','Contact client signataire contrat',1),(31,'propal','internal','SALESREPFOLL','Commercial à l\'origine de la propale',1),(40,'propal','external','BILLING','Contact client facturation propale',1),(41,'propal','external','CUSTOMER','Contact client suivi propale',1),(50,'facture','internal','SALESREPFOLL','Responsable suivi du paiement',1),(60,'facture','external','BILLING','Contact client facturation',1),(61,'facture','external','SHIPPING','Contact client livraison',1),(62,'facture','external','SERVICE','Contact client prestation',1),(70,'invoice_supplier','internal','SALESREPFOLL','Responsable suivi du paiement',1),(71,'invoice_supplier','external','BILLING','Contact fournisseur facturation',1),(72,'invoice_supplier','external','SHIPPING','Contact fournisseur livraison',1),(73,'invoice_supplier','external','SERVICE','Contact fournisseur prestation',1),(91,'commande','internal','SALESREPFOLL','Responsable suivi de la commande',1),(100,'commande','external','BILLING','Contact client facturation commande',1),(101,'commande','external','CUSTOMER','Contact client suivi commande',1),(102,'commande','external','SHIPPING','Contact client livraison commande',1),(120,'fichinter','internal','INTERREPFOLL','Responsable suivi de l\'intervention',1),(121,'fichinter','internal','INTERVENING','Intervenant',1),(130,'fichinter','external','BILLING','Contact client facturation intervention',1),(131,'fichinter','external','CUSTOMER','Contact client suivi de l\'intervention',1),(140,'order_supplier','internal','SALESREPFOLL','Responsable suivi de la commande',1),(141,'order_supplier','internal','SHIPPING','Responsable réception de la commande',1),(142,'order_supplier','external','BILLING','Contact fournisseur facturation commande',1),(143,'order_supplier','external','CUSTOMER','Contact fournisseur suivi commande',1),(145,'order_supplier','external','SHIPPING','Contact fournisseur livraison commande',1),(160,'project','internal','PROJECTLEADER','Chef de Projet',1),(161,'project','internal','CONTRIBUTOR','Intervenant',1),(170,'project','external','PROJECTLEADER','Chef de Projet',1),(171,'project','external','CONTRIBUTOR','Intervenant',1),(180,'project_task','internal','TASKEXECUTIVE','Responsable',1),(181,'project_task','internal','CONTRIBUTOR','Intervenant',1),(190,'project_task','external','TASKEXECUTIVE','Responsable',1),(191,'project_task','external','CONTRIBUTOR','Intervenant',1); 4.1286 +/*!40000 ALTER TABLE `llx_c_type_contact` ENABLE KEYS */; 4.1287 +UNLOCK TABLES; 4.1288 + 4.1289 +-- 4.1290 +-- Table structure for table `llx_c_type_fees` 4.1291 +-- 4.1292 + 4.1293 +DROP TABLE IF EXISTS `llx_c_type_fees`; 4.1294 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1295 +/*!40101 SET character_set_client = utf8 */; 4.1296 +CREATE TABLE `llx_c_type_fees` ( 4.1297 + `id` int(11) NOT NULL AUTO_INCREMENT, 4.1298 + `code` varchar(12) NOT NULL, 4.1299 + `libelle` varchar(30) DEFAULT NULL, 4.1300 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1301 + PRIMARY KEY (`id`), 4.1302 + UNIQUE KEY `code` (`code`) 4.1303 +) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; 4.1304 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1305 + 4.1306 +-- 4.1307 +-- Dumping data for table `llx_c_type_fees` 4.1308 +-- 4.1309 + 4.1310 +LOCK TABLES `llx_c_type_fees` WRITE; 4.1311 +/*!40000 ALTER TABLE `llx_c_type_fees` DISABLE KEYS */; 4.1312 +INSERT INTO `llx_c_type_fees` VALUES (1,'TF_OTHER','Other',1),(2,'TF_TRIP','Trip',1),(3,'TF_LUNCH','Lunch',1); 4.1313 +/*!40000 ALTER TABLE `llx_c_type_fees` ENABLE KEYS */; 4.1314 +UNLOCK TABLES; 4.1315 + 4.1316 +-- 4.1317 +-- Table structure for table `llx_c_typent` 4.1318 +-- 4.1319 + 4.1320 +DROP TABLE IF EXISTS `llx_c_typent`; 4.1321 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1322 +/*!40101 SET character_set_client = utf8 */; 4.1323 +CREATE TABLE `llx_c_typent` ( 4.1324 + `id` int(11) NOT NULL, 4.1325 + `code` varchar(12) NOT NULL, 4.1326 + `libelle` varchar(30) DEFAULT NULL, 4.1327 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1328 + PRIMARY KEY (`id`), 4.1329 + UNIQUE KEY `code` (`code`) 4.1330 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1331 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1332 + 4.1333 +-- 4.1334 +-- Dumping data for table `llx_c_typent` 4.1335 +-- 4.1336 + 4.1337 +LOCK TABLES `llx_c_typent` WRITE; 4.1338 +/*!40000 ALTER TABLE `llx_c_typent` DISABLE KEYS */; 4.1339 +INSERT INTO `llx_c_typent` VALUES (0,'TE_UNKNOWN','-',1),(1,'TE_STARTUP','Start-up',0),(2,'TE_GROUP','Grand groupe',1),(3,'TE_MEDIUM','PME/PMI',1),(4,'TE_SMALL','TPE',1),(5,'TE_ADMIN','Administration',1),(6,'TE_WHOLE','Grossiste',0),(7,'TE_RETAIL','Revendeur',0),(8,'TE_PRIVATE','Particulier',1),(100,'TE_OTHER','Autres',1); 4.1340 +/*!40000 ALTER TABLE `llx_c_typent` ENABLE KEYS */; 4.1341 +UNLOCK TABLES; 4.1342 + 4.1343 +-- 4.1344 +-- Table structure for table `llx_c_ziptown` 4.1345 +-- 4.1346 + 4.1347 +DROP TABLE IF EXISTS `llx_c_ziptown`; 4.1348 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1349 +/*!40101 SET character_set_client = utf8 */; 4.1350 +CREATE TABLE `llx_c_ziptown` ( 4.1351 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1352 + `code` varchar(5) DEFAULT NULL, 4.1353 + `fk_county` int(11) NOT NULL, 4.1354 + `zip` varchar(10) NOT NULL, 4.1355 + `town` varchar(255) NOT NULL, 4.1356 + `active` tinyint(4) NOT NULL DEFAULT '1', 4.1357 + PRIMARY KEY (`rowid`), 4.1358 + KEY `idx_c_ziptown_fk_county` (`fk_county`) 4.1359 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1360 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1361 + 4.1362 +-- 4.1363 +-- Dumping data for table `llx_c_ziptown` 4.1364 +-- 4.1365 + 4.1366 +LOCK TABLES `llx_c_ziptown` WRITE; 4.1367 +/*!40000 ALTER TABLE `llx_c_ziptown` DISABLE KEYS */; 4.1368 +/*!40000 ALTER TABLE `llx_c_ziptown` ENABLE KEYS */; 4.1369 +UNLOCK TABLES; 4.1370 + 4.1371 +-- 4.1372 +-- Table structure for table `llx_categorie` 4.1373 +-- 4.1374 + 4.1375 +DROP TABLE IF EXISTS `llx_categorie`; 4.1376 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1377 +/*!40101 SET character_set_client = utf8 */; 4.1378 +CREATE TABLE `llx_categorie` ( 4.1379 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1380 + `label` varchar(255) DEFAULT NULL, 4.1381 + `type` tinyint(4) NOT NULL DEFAULT '1', 4.1382 + `entity` int(11) NOT NULL DEFAULT '1', 4.1383 + `description` text, 4.1384 + `fk_soc` int(11) DEFAULT NULL, 4.1385 + `visible` tinyint(4) NOT NULL DEFAULT '1', 4.1386 + `import_key` varchar(14) DEFAULT NULL, 4.1387 + PRIMARY KEY (`rowid`), 4.1388 + UNIQUE KEY `uk_categorie_ref` (`label`,`type`,`entity`), 4.1389 + KEY `idx_categorie_type` (`type`) 4.1390 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1391 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1392 + 4.1393 +-- 4.1394 +-- Dumping data for table `llx_categorie` 4.1395 +-- 4.1396 + 4.1397 +LOCK TABLES `llx_categorie` WRITE; 4.1398 +/*!40000 ALTER TABLE `llx_categorie` DISABLE KEYS */; 4.1399 +/*!40000 ALTER TABLE `llx_categorie` ENABLE KEYS */; 4.1400 +UNLOCK TABLES; 4.1401 + 4.1402 +-- 4.1403 +-- Table structure for table `llx_categorie_association` 4.1404 +-- 4.1405 + 4.1406 +DROP TABLE IF EXISTS `llx_categorie_association`; 4.1407 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1408 +/*!40101 SET character_set_client = utf8 */; 4.1409 +CREATE TABLE `llx_categorie_association` ( 4.1410 + `fk_categorie_mere` int(11) NOT NULL, 4.1411 + `fk_categorie_fille` int(11) NOT NULL, 4.1412 + UNIQUE KEY `uk_categorie_association` (`fk_categorie_mere`,`fk_categorie_fille`), 4.1413 + UNIQUE KEY `uk_categorie_association_fk_categorie_fille` (`fk_categorie_fille`) 4.1414 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1415 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1416 + 4.1417 +-- 4.1418 +-- Dumping data for table `llx_categorie_association` 4.1419 +-- 4.1420 + 4.1421 +LOCK TABLES `llx_categorie_association` WRITE; 4.1422 +/*!40000 ALTER TABLE `llx_categorie_association` DISABLE KEYS */; 4.1423 +/*!40000 ALTER TABLE `llx_categorie_association` ENABLE KEYS */; 4.1424 +UNLOCK TABLES; 4.1425 + 4.1426 +-- 4.1427 +-- Table structure for table `llx_categorie_fournisseur` 4.1428 +-- 4.1429 + 4.1430 +DROP TABLE IF EXISTS `llx_categorie_fournisseur`; 4.1431 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1432 +/*!40101 SET character_set_client = utf8 */; 4.1433 +CREATE TABLE `llx_categorie_fournisseur` ( 4.1434 + `fk_categorie` int(11) NOT NULL, 4.1435 + `fk_societe` int(11) NOT NULL, 4.1436 + UNIQUE KEY `fk_categorie` (`fk_categorie`,`fk_societe`) 4.1437 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1438 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1439 + 4.1440 +-- 4.1441 +-- Dumping data for table `llx_categorie_fournisseur` 4.1442 +-- 4.1443 + 4.1444 +LOCK TABLES `llx_categorie_fournisseur` WRITE; 4.1445 +/*!40000 ALTER TABLE `llx_categorie_fournisseur` DISABLE KEYS */; 4.1446 +/*!40000 ALTER TABLE `llx_categorie_fournisseur` ENABLE KEYS */; 4.1447 +UNLOCK TABLES; 4.1448 + 4.1449 +-- 4.1450 +-- Table structure for table `llx_categorie_member` 4.1451 +-- 4.1452 + 4.1453 +DROP TABLE IF EXISTS `llx_categorie_member`; 4.1454 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1455 +/*!40101 SET character_set_client = utf8 */; 4.1456 +CREATE TABLE `llx_categorie_member` ( 4.1457 + `fk_categorie` int(11) NOT NULL, 4.1458 + `fk_member` int(11) NOT NULL, 4.1459 + PRIMARY KEY (`fk_categorie`,`fk_member`), 4.1460 + KEY `idx_categorie_member_fk_categorie` (`fk_categorie`), 4.1461 + KEY `idx_categorie_member_fk_member` (`fk_member`) 4.1462 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1463 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1464 + 4.1465 +-- 4.1466 +-- Dumping data for table `llx_categorie_member` 4.1467 +-- 4.1468 + 4.1469 +LOCK TABLES `llx_categorie_member` WRITE; 4.1470 +/*!40000 ALTER TABLE `llx_categorie_member` DISABLE KEYS */; 4.1471 +/*!40000 ALTER TABLE `llx_categorie_member` ENABLE KEYS */; 4.1472 +UNLOCK TABLES; 4.1473 + 4.1474 +-- 4.1475 +-- Table structure for table `llx_categorie_product` 4.1476 +-- 4.1477 + 4.1478 +DROP TABLE IF EXISTS `llx_categorie_product`; 4.1479 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1480 +/*!40101 SET character_set_client = utf8 */; 4.1481 +CREATE TABLE `llx_categorie_product` ( 4.1482 + `fk_categorie` int(11) NOT NULL, 4.1483 + `fk_product` int(11) NOT NULL, 4.1484 + PRIMARY KEY (`fk_categorie`,`fk_product`), 4.1485 + KEY `idx_categorie_product_fk_categorie` (`fk_categorie`), 4.1486 + KEY `idx_categorie_product_fk_product` (`fk_product`) 4.1487 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1488 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1489 + 4.1490 +-- 4.1491 +-- Dumping data for table `llx_categorie_product` 4.1492 +-- 4.1493 + 4.1494 +LOCK TABLES `llx_categorie_product` WRITE; 4.1495 +/*!40000 ALTER TABLE `llx_categorie_product` DISABLE KEYS */; 4.1496 +/*!40000 ALTER TABLE `llx_categorie_product` ENABLE KEYS */; 4.1497 +UNLOCK TABLES; 4.1498 + 4.1499 +-- 4.1500 +-- Table structure for table `llx_categorie_societe` 4.1501 +-- 4.1502 + 4.1503 +DROP TABLE IF EXISTS `llx_categorie_societe`; 4.1504 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1505 +/*!40101 SET character_set_client = utf8 */; 4.1506 +CREATE TABLE `llx_categorie_societe` ( 4.1507 + `fk_categorie` int(11) NOT NULL, 4.1508 + `fk_societe` int(11) NOT NULL, 4.1509 + PRIMARY KEY (`fk_categorie`,`fk_societe`), 4.1510 + KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`), 4.1511 + KEY `idx_categorie_societe_fk_societe` (`fk_societe`) 4.1512 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1513 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1514 + 4.1515 +-- 4.1516 +-- Dumping data for table `llx_categorie_societe` 4.1517 +-- 4.1518 + 4.1519 +LOCK TABLES `llx_categorie_societe` WRITE; 4.1520 +/*!40000 ALTER TABLE `llx_categorie_societe` DISABLE KEYS */; 4.1521 +/*!40000 ALTER TABLE `llx_categorie_societe` ENABLE KEYS */; 4.1522 +UNLOCK TABLES; 4.1523 + 4.1524 +-- 4.1525 +-- Table structure for table `llx_chargesociales` 4.1526 +-- 4.1527 + 4.1528 +DROP TABLE IF EXISTS `llx_chargesociales`; 4.1529 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1530 +/*!40101 SET character_set_client = utf8 */; 4.1531 +CREATE TABLE `llx_chargesociales` ( 4.1532 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1533 + `date_ech` datetime NOT NULL, 4.1534 + `libelle` varchar(80) NOT NULL, 4.1535 + `entity` int(11) NOT NULL DEFAULT '1', 4.1536 + `fk_type` int(11) NOT NULL, 4.1537 + `amount` double NOT NULL DEFAULT '0', 4.1538 + `paye` smallint(6) NOT NULL DEFAULT '0', 4.1539 + `periode` date DEFAULT NULL, 4.1540 + PRIMARY KEY (`rowid`) 4.1541 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1542 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1543 + 4.1544 +-- 4.1545 +-- Dumping data for table `llx_chargesociales` 4.1546 +-- 4.1547 + 4.1548 +LOCK TABLES `llx_chargesociales` WRITE; 4.1549 +/*!40000 ALTER TABLE `llx_chargesociales` DISABLE KEYS */; 4.1550 +/*!40000 ALTER TABLE `llx_chargesociales` ENABLE KEYS */; 4.1551 +UNLOCK TABLES; 4.1552 + 4.1553 +-- 4.1554 +-- Table structure for table `llx_commande` 4.1555 +-- 4.1556 + 4.1557 +DROP TABLE IF EXISTS `llx_commande`; 4.1558 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1559 +/*!40101 SET character_set_client = utf8 */; 4.1560 +CREATE TABLE `llx_commande` ( 4.1561 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1562 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1563 + `fk_soc` int(11) NOT NULL, 4.1564 + `fk_projet` int(11) DEFAULT '0', 4.1565 + `ref` varchar(30) NOT NULL, 4.1566 + `entity` int(11) NOT NULL DEFAULT '1', 4.1567 + `ref_ext` varchar(30) DEFAULT NULL, 4.1568 + `ref_client` varchar(30) DEFAULT NULL, 4.1569 + `date_creation` datetime DEFAULT NULL, 4.1570 + `date_valid` datetime DEFAULT NULL, 4.1571 + `date_cloture` datetime DEFAULT NULL, 4.1572 + `date_commande` date DEFAULT NULL, 4.1573 + `fk_user_author` int(11) DEFAULT NULL, 4.1574 + `fk_user_valid` int(11) DEFAULT NULL, 4.1575 + `fk_user_cloture` int(11) DEFAULT NULL, 4.1576 + `source` smallint(6) DEFAULT NULL, 4.1577 + `fk_statut` smallint(6) DEFAULT '0', 4.1578 + `amount_ht` double DEFAULT '0', 4.1579 + `remise_percent` double DEFAULT '0', 4.1580 + `remise_absolue` double DEFAULT '0', 4.1581 + `remise` double DEFAULT '0', 4.1582 + `tva` double(24,8) DEFAULT '0.00000000', 4.1583 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.1584 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.1585 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.1586 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.1587 + `note` text, 4.1588 + `note_public` text, 4.1589 + `model_pdf` varchar(50) DEFAULT NULL, 4.1590 + `facture` tinyint(4) DEFAULT '0', 4.1591 + `fk_cond_reglement` int(11) DEFAULT NULL, 4.1592 + `fk_mode_reglement` int(11) DEFAULT NULL, 4.1593 + `date_livraison` date DEFAULT NULL, 4.1594 + `fk_adresse_livraison` int(11) DEFAULT NULL, 4.1595 + `import_key` varchar(14) DEFAULT NULL, 4.1596 + PRIMARY KEY (`rowid`), 4.1597 + UNIQUE KEY `uk_commande_ref` (`ref`,`entity`), 4.1598 + KEY `idx_commande_fk_soc` (`fk_soc`) 4.1599 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1600 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1601 + 4.1602 +-- 4.1603 +-- Dumping data for table `llx_commande` 4.1604 +-- 4.1605 + 4.1606 +LOCK TABLES `llx_commande` WRITE; 4.1607 +/*!40000 ALTER TABLE `llx_commande` DISABLE KEYS */; 4.1608 +/*!40000 ALTER TABLE `llx_commande` ENABLE KEYS */; 4.1609 +UNLOCK TABLES; 4.1610 + 4.1611 +-- 4.1612 +-- Table structure for table `llx_commande_fournisseur` 4.1613 +-- 4.1614 + 4.1615 +DROP TABLE IF EXISTS `llx_commande_fournisseur`; 4.1616 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1617 +/*!40101 SET character_set_client = utf8 */; 4.1618 +CREATE TABLE `llx_commande_fournisseur` ( 4.1619 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1620 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1621 + `fk_soc` int(11) NOT NULL, 4.1622 + `ref` varchar(30) NOT NULL, 4.1623 + `entity` int(11) NOT NULL DEFAULT '1', 4.1624 + `ref_supplier` varchar(30) DEFAULT NULL, 4.1625 + `fk_projet` int(11) DEFAULT '0', 4.1626 + `date_creation` datetime DEFAULT NULL, 4.1627 + `date_valid` datetime DEFAULT NULL, 4.1628 + `date_cloture` datetime DEFAULT NULL, 4.1629 + `date_commande` date DEFAULT NULL, 4.1630 + `fk_user_author` int(11) DEFAULT NULL, 4.1631 + `fk_user_valid` int(11) DEFAULT NULL, 4.1632 + `fk_user_cloture` int(11) DEFAULT NULL, 4.1633 + `source` smallint(6) NOT NULL, 4.1634 + `fk_statut` smallint(6) DEFAULT '0', 4.1635 + `amount_ht` double DEFAULT '0', 4.1636 + `remise_percent` double DEFAULT '0', 4.1637 + `remise` double DEFAULT '0', 4.1638 + `tva` double(24,8) DEFAULT '0.00000000', 4.1639 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.1640 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.1641 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.1642 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.1643 + `note` text, 4.1644 + `note_public` text, 4.1645 + `model_pdf` varchar(50) DEFAULT NULL, 4.1646 + `fk_methode_commande` int(11) DEFAULT '0', 4.1647 + PRIMARY KEY (`rowid`), 4.1648 + UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`), 4.1649 + KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`) 4.1650 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1651 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1652 + 4.1653 +-- 4.1654 +-- Dumping data for table `llx_commande_fournisseur` 4.1655 +-- 4.1656 + 4.1657 +LOCK TABLES `llx_commande_fournisseur` WRITE; 4.1658 +/*!40000 ALTER TABLE `llx_commande_fournisseur` DISABLE KEYS */; 4.1659 +/*!40000 ALTER TABLE `llx_commande_fournisseur` ENABLE KEYS */; 4.1660 +UNLOCK TABLES; 4.1661 + 4.1662 +-- 4.1663 +-- Table structure for table `llx_commande_fournisseur_dispatch` 4.1664 +-- 4.1665 + 4.1666 +DROP TABLE IF EXISTS `llx_commande_fournisseur_dispatch`; 4.1667 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1668 +/*!40101 SET character_set_client = utf8 */; 4.1669 +CREATE TABLE `llx_commande_fournisseur_dispatch` ( 4.1670 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1671 + `fk_commande` int(11) DEFAULT NULL, 4.1672 + `fk_product` int(11) DEFAULT NULL, 4.1673 + `qty` float DEFAULT NULL, 4.1674 + `fk_entrepot` int(11) DEFAULT NULL, 4.1675 + `fk_user` int(11) DEFAULT NULL, 4.1676 + `datec` datetime DEFAULT NULL, 4.1677 + PRIMARY KEY (`rowid`), 4.1678 + KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`) 4.1679 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1680 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1681 + 4.1682 +-- 4.1683 +-- Dumping data for table `llx_commande_fournisseur_dispatch` 4.1684 +-- 4.1685 + 4.1686 +LOCK TABLES `llx_commande_fournisseur_dispatch` WRITE; 4.1687 +/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` DISABLE KEYS */; 4.1688 +/*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` ENABLE KEYS */; 4.1689 +UNLOCK TABLES; 4.1690 + 4.1691 +-- 4.1692 +-- Table structure for table `llx_commande_fournisseur_log` 4.1693 +-- 4.1694 + 4.1695 +DROP TABLE IF EXISTS `llx_commande_fournisseur_log`; 4.1696 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1697 +/*!40101 SET character_set_client = utf8 */; 4.1698 +CREATE TABLE `llx_commande_fournisseur_log` ( 4.1699 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1700 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1701 + `datelog` datetime NOT NULL, 4.1702 + `fk_commande` int(11) NOT NULL, 4.1703 + `fk_statut` smallint(6) NOT NULL, 4.1704 + `fk_user` int(11) NOT NULL, 4.1705 + `comment` varchar(255) DEFAULT NULL, 4.1706 + PRIMARY KEY (`rowid`) 4.1707 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1708 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1709 + 4.1710 +-- 4.1711 +-- Dumping data for table `llx_commande_fournisseur_log` 4.1712 +-- 4.1713 + 4.1714 +LOCK TABLES `llx_commande_fournisseur_log` WRITE; 4.1715 +/*!40000 ALTER TABLE `llx_commande_fournisseur_log` DISABLE KEYS */; 4.1716 +/*!40000 ALTER TABLE `llx_commande_fournisseur_log` ENABLE KEYS */; 4.1717 +UNLOCK TABLES; 4.1718 + 4.1719 +-- 4.1720 +-- Table structure for table `llx_commande_fournisseurdet` 4.1721 +-- 4.1722 + 4.1723 +DROP TABLE IF EXISTS `llx_commande_fournisseurdet`; 4.1724 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1725 +/*!40101 SET character_set_client = utf8 */; 4.1726 +CREATE TABLE `llx_commande_fournisseurdet` ( 4.1727 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1728 + `fk_commande` int(11) NOT NULL, 4.1729 + `fk_product` int(11) DEFAULT NULL, 4.1730 + `ref` varchar(50) DEFAULT NULL, 4.1731 + `label` varchar(255) DEFAULT NULL, 4.1732 + `description` text, 4.1733 + `tva_tx` double(6,3) DEFAULT '0.000', 4.1734 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.1735 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.1736 + `qty` double DEFAULT NULL, 4.1737 + `remise_percent` double DEFAULT '0', 4.1738 + `remise` double DEFAULT '0', 4.1739 + `subprice` double(24,8) DEFAULT '0.00000000', 4.1740 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.1741 + `total_tva` double(24,8) DEFAULT '0.00000000', 4.1742 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.1743 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.1744 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.1745 + `product_type` int(11) DEFAULT '0', 4.1746 + `date_start` datetime DEFAULT NULL, 4.1747 + `date_end` datetime DEFAULT NULL, 4.1748 + `info_bits` int(11) DEFAULT '0', 4.1749 + PRIMARY KEY (`rowid`) 4.1750 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1751 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1752 + 4.1753 +-- 4.1754 +-- Dumping data for table `llx_commande_fournisseurdet` 4.1755 +-- 4.1756 + 4.1757 +LOCK TABLES `llx_commande_fournisseurdet` WRITE; 4.1758 +/*!40000 ALTER TABLE `llx_commande_fournisseurdet` DISABLE KEYS */; 4.1759 +/*!40000 ALTER TABLE `llx_commande_fournisseurdet` ENABLE KEYS */; 4.1760 +UNLOCK TABLES; 4.1761 + 4.1762 +-- 4.1763 +-- Table structure for table `llx_commandedet` 4.1764 +-- 4.1765 + 4.1766 +DROP TABLE IF EXISTS `llx_commandedet`; 4.1767 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1768 +/*!40101 SET character_set_client = utf8 */; 4.1769 +CREATE TABLE `llx_commandedet` ( 4.1770 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1771 + `fk_commande` int(11) NOT NULL, 4.1772 + `fk_parent_line` int(11) DEFAULT NULL, 4.1773 + `fk_product` int(11) DEFAULT NULL, 4.1774 + `description` text, 4.1775 + `tva_tx` double(6,3) DEFAULT NULL, 4.1776 + `localtax1_tx` double(6,3) DEFAULT NULL, 4.1777 + `localtax2_tx` double(6,3) DEFAULT NULL, 4.1778 + `qty` double DEFAULT NULL, 4.1779 + `remise_percent` double DEFAULT '0', 4.1780 + `remise` double DEFAULT '0', 4.1781 + `fk_remise_except` int(11) DEFAULT NULL, 4.1782 + `price` double DEFAULT NULL, 4.1783 + `subprice` double(24,8) DEFAULT '0.00000000', 4.1784 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.1785 + `total_tva` double(24,8) DEFAULT '0.00000000', 4.1786 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.1787 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.1788 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.1789 + `product_type` int(11) DEFAULT '0', 4.1790 + `date_start` datetime DEFAULT NULL, 4.1791 + `date_end` datetime DEFAULT NULL, 4.1792 + `info_bits` int(11) DEFAULT '0', 4.1793 + `marge_tx` double(6,3) DEFAULT '0.000', 4.1794 + `marque_tx` double(6,3) DEFAULT '0.000', 4.1795 + `special_code` int(10) unsigned DEFAULT '0', 4.1796 + `rang` int(11) DEFAULT '0', 4.1797 + `import_key` varchar(14) DEFAULT NULL, 4.1798 + PRIMARY KEY (`rowid`), 4.1799 + KEY `idx_commandedet_fk_commande` (`fk_commande`) 4.1800 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1801 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1802 + 4.1803 +-- 4.1804 +-- Dumping data for table `llx_commandedet` 4.1805 +-- 4.1806 + 4.1807 +LOCK TABLES `llx_commandedet` WRITE; 4.1808 +/*!40000 ALTER TABLE `llx_commandedet` DISABLE KEYS */; 4.1809 +/*!40000 ALTER TABLE `llx_commandedet` ENABLE KEYS */; 4.1810 +UNLOCK TABLES; 4.1811 + 4.1812 +-- 4.1813 +-- Table structure for table `llx_compta` 4.1814 +-- 4.1815 + 4.1816 +DROP TABLE IF EXISTS `llx_compta`; 4.1817 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1818 +/*!40101 SET character_set_client = utf8 */; 4.1819 +CREATE TABLE `llx_compta` ( 4.1820 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1821 + `datec` datetime DEFAULT NULL, 4.1822 + `datev` date DEFAULT NULL, 4.1823 + `amount` double NOT NULL DEFAULT '0', 4.1824 + `label` varchar(255) DEFAULT NULL, 4.1825 + `fk_compta_account` int(11) DEFAULT NULL, 4.1826 + `fk_user_author` int(11) DEFAULT NULL, 4.1827 + `fk_user_valid` int(11) DEFAULT NULL, 4.1828 + `valid` tinyint(4) DEFAULT '0', 4.1829 + `note` text, 4.1830 + PRIMARY KEY (`rowid`) 4.1831 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1832 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1833 + 4.1834 +-- 4.1835 +-- Dumping data for table `llx_compta` 4.1836 +-- 4.1837 + 4.1838 +LOCK TABLES `llx_compta` WRITE; 4.1839 +/*!40000 ALTER TABLE `llx_compta` DISABLE KEYS */; 4.1840 +/*!40000 ALTER TABLE `llx_compta` ENABLE KEYS */; 4.1841 +UNLOCK TABLES; 4.1842 + 4.1843 +-- 4.1844 +-- Table structure for table `llx_compta_account` 4.1845 +-- 4.1846 + 4.1847 +DROP TABLE IF EXISTS `llx_compta_account`; 4.1848 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1849 +/*!40101 SET character_set_client = utf8 */; 4.1850 +CREATE TABLE `llx_compta_account` ( 4.1851 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1852 + `datec` datetime DEFAULT NULL, 4.1853 + `number` varchar(12) DEFAULT NULL, 4.1854 + `label` varchar(255) DEFAULT NULL, 4.1855 + `fk_user_author` int(11) DEFAULT NULL, 4.1856 + `note` text, 4.1857 + PRIMARY KEY (`rowid`) 4.1858 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1859 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1860 + 4.1861 +-- 4.1862 +-- Dumping data for table `llx_compta_account` 4.1863 +-- 4.1864 + 4.1865 +LOCK TABLES `llx_compta_account` WRITE; 4.1866 +/*!40000 ALTER TABLE `llx_compta_account` DISABLE KEYS */; 4.1867 +/*!40000 ALTER TABLE `llx_compta_account` ENABLE KEYS */; 4.1868 +UNLOCK TABLES; 4.1869 + 4.1870 +-- 4.1871 +-- Table structure for table `llx_compta_compte_generaux` 4.1872 +-- 4.1873 + 4.1874 +DROP TABLE IF EXISTS `llx_compta_compte_generaux`; 4.1875 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1876 +/*!40101 SET character_set_client = utf8 */; 4.1877 +CREATE TABLE `llx_compta_compte_generaux` ( 4.1878 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1879 + `date_creation` datetime DEFAULT NULL, 4.1880 + `numero` varchar(50) DEFAULT NULL, 4.1881 + `intitule` varchar(255) DEFAULT NULL, 4.1882 + `fk_user_author` int(11) DEFAULT NULL, 4.1883 + `note` text, 4.1884 + PRIMARY KEY (`rowid`), 4.1885 + UNIQUE KEY `numero` (`numero`) 4.1886 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1887 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1888 + 4.1889 +-- 4.1890 +-- Dumping data for table `llx_compta_compte_generaux` 4.1891 +-- 4.1892 + 4.1893 +LOCK TABLES `llx_compta_compte_generaux` WRITE; 4.1894 +/*!40000 ALTER TABLE `llx_compta_compte_generaux` DISABLE KEYS */; 4.1895 +/*!40000 ALTER TABLE `llx_compta_compte_generaux` ENABLE KEYS */; 4.1896 +UNLOCK TABLES; 4.1897 + 4.1898 +-- 4.1899 +-- Table structure for table `llx_const` 4.1900 +-- 4.1901 + 4.1902 +DROP TABLE IF EXISTS `llx_const`; 4.1903 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1904 +/*!40101 SET character_set_client = utf8 */; 4.1905 +CREATE TABLE `llx_const` ( 4.1906 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1907 + `name` varchar(255) NOT NULL, 4.1908 + `entity` int(11) NOT NULL DEFAULT '1', 4.1909 + `value` text NOT NULL, 4.1910 + `type` varchar(6) DEFAULT NULL, 4.1911 + `visible` tinyint(4) NOT NULL DEFAULT '1', 4.1912 + `note` text, 4.1913 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1914 + PRIMARY KEY (`rowid`), 4.1915 + UNIQUE KEY `uk_const` (`name`,`entity`) 4.1916 +) ENGINE=MyISAM AUTO_INCREMENT=74 DEFAULT CHARSET=utf8; 4.1917 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1918 + 4.1919 +-- 4.1920 +-- Dumping data for table `llx_const` 4.1921 +-- 4.1922 + 4.1923 +LOCK TABLES `llx_const` WRITE; 4.1924 +/*!40000 ALTER TABLE `llx_const` DISABLE KEYS */; 4.1925 +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'),(3,'MAIN_POPUP_CALENDAR',0,'eldy','chaine',0,'Popup calendar module','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'),(13,'MAIN_CONFIRM_AJAX',0,'1','chaine',0,'Use Ajax popup to make confirmations','2011-07-03 17:32:38'),(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'),(18,'MAIN_MENU_BARRETOP',1,'eldy_backoffice.php','chaine',0,'Module de gestion de la barre de menu pour utilisateurs internes','2011-07-03 17:32:38'),(19,'MAIN_MENUFRONT_BARRETOP',1,'eldy_frontoffice.php','chaine',0,'Module de gestion de la barre de menu pour utilisateurs externes','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'),(71,'MAIN_MODULE_USER',0,'1',NULL,0,NULL,'2011-07-03 17:33:30'),(72,'MAIN_VERSION_LAST_INSTALL',0,'3.0.0','chaine',0,'Dolibarr version when install','2011-07-03 17:33:30'); 4.1926 +/*!40000 ALTER TABLE `llx_const` ENABLE KEYS */; 4.1927 +UNLOCK TABLES; 4.1928 + 4.1929 +-- 4.1930 +-- Table structure for table `llx_contrat` 4.1931 +-- 4.1932 + 4.1933 +DROP TABLE IF EXISTS `llx_contrat`; 4.1934 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1935 +/*!40101 SET character_set_client = utf8 */; 4.1936 +CREATE TABLE `llx_contrat` ( 4.1937 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1938 + `ref` varchar(30) DEFAULT NULL, 4.1939 + `entity` int(11) NOT NULL DEFAULT '1', 4.1940 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1941 + `datec` datetime DEFAULT NULL, 4.1942 + `date_contrat` datetime DEFAULT NULL, 4.1943 + `statut` smallint(6) DEFAULT '0', 4.1944 + `mise_en_service` datetime DEFAULT NULL, 4.1945 + `fin_validite` datetime DEFAULT NULL, 4.1946 + `date_cloture` datetime DEFAULT NULL, 4.1947 + `fk_soc` int(11) NOT NULL, 4.1948 + `fk_projet` int(11) DEFAULT NULL, 4.1949 + `fk_commercial_signature` int(11) NOT NULL, 4.1950 + `fk_commercial_suivi` int(11) NOT NULL, 4.1951 + `fk_user_author` int(11) NOT NULL DEFAULT '0', 4.1952 + `fk_user_mise_en_service` int(11) DEFAULT NULL, 4.1953 + `fk_user_cloture` int(11) DEFAULT NULL, 4.1954 + `note` text, 4.1955 + `note_public` text, 4.1956 + PRIMARY KEY (`rowid`), 4.1957 + UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`), 4.1958 + KEY `idx_contrat_fk_soc` (`fk_soc`), 4.1959 + KEY `idx_contrat_fk_user_author` (`fk_user_author`) 4.1960 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.1961 +/*!40101 SET character_set_client = @saved_cs_client */; 4.1962 + 4.1963 +-- 4.1964 +-- Dumping data for table `llx_contrat` 4.1965 +-- 4.1966 + 4.1967 +LOCK TABLES `llx_contrat` WRITE; 4.1968 +/*!40000 ALTER TABLE `llx_contrat` DISABLE KEYS */; 4.1969 +/*!40000 ALTER TABLE `llx_contrat` ENABLE KEYS */; 4.1970 +UNLOCK TABLES; 4.1971 + 4.1972 +-- 4.1973 +-- Table structure for table `llx_contratdet` 4.1974 +-- 4.1975 + 4.1976 +DROP TABLE IF EXISTS `llx_contratdet`; 4.1977 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.1978 +/*!40101 SET character_set_client = utf8 */; 4.1979 +CREATE TABLE `llx_contratdet` ( 4.1980 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.1981 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.1982 + `fk_contrat` int(11) NOT NULL, 4.1983 + `fk_product` int(11) DEFAULT NULL, 4.1984 + `statut` smallint(6) DEFAULT '0', 4.1985 + `label` text, 4.1986 + `description` text, 4.1987 + `fk_remise_except` int(11) DEFAULT NULL, 4.1988 + `date_commande` datetime DEFAULT NULL, 4.1989 + `date_ouverture_prevue` datetime DEFAULT NULL, 4.1990 + `date_ouverture` datetime DEFAULT NULL, 4.1991 + `date_fin_validite` datetime DEFAULT NULL, 4.1992 + `date_cloture` datetime DEFAULT NULL, 4.1993 + `tva_tx` double(6,3) DEFAULT '0.000', 4.1994 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.1995 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.1996 + `qty` double NOT NULL, 4.1997 + `remise_percent` double DEFAULT '0', 4.1998 + `subprice` double(24,8) DEFAULT '0.00000000', 4.1999 + `price_ht` double DEFAULT NULL, 4.2000 + `remise` double DEFAULT '0', 4.2001 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.2002 + `total_tva` double(24,8) DEFAULT '0.00000000', 4.2003 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.2004 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.2005 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.2006 + `info_bits` int(11) DEFAULT '0', 4.2007 + `fk_user_author` int(11) NOT NULL DEFAULT '0', 4.2008 + `fk_user_ouverture` int(11) DEFAULT NULL, 4.2009 + `fk_user_cloture` int(11) DEFAULT NULL, 4.2010 + `commentaire` text, 4.2011 + PRIMARY KEY (`rowid`), 4.2012 + KEY `idx_contratdet_fk_contrat` (`fk_contrat`), 4.2013 + KEY `idx_contratdet_fk_product` (`fk_product`), 4.2014 + KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`), 4.2015 + KEY `idx_contratdet_date_ouverture` (`date_ouverture`), 4.2016 + KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`) 4.2017 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2018 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2019 + 4.2020 +-- 4.2021 +-- Dumping data for table `llx_contratdet` 4.2022 +-- 4.2023 + 4.2024 +LOCK TABLES `llx_contratdet` WRITE; 4.2025 +/*!40000 ALTER TABLE `llx_contratdet` DISABLE KEYS */; 4.2026 +/*!40000 ALTER TABLE `llx_contratdet` ENABLE KEYS */; 4.2027 +UNLOCK TABLES; 4.2028 + 4.2029 +-- 4.2030 +-- Table structure for table `llx_contratdet_log` 4.2031 +-- 4.2032 + 4.2033 +DROP TABLE IF EXISTS `llx_contratdet_log`; 4.2034 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2035 +/*!40101 SET character_set_client = utf8 */; 4.2036 +CREATE TABLE `llx_contratdet_log` ( 4.2037 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2038 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2039 + `fk_contratdet` int(11) NOT NULL, 4.2040 + `date` datetime NOT NULL, 4.2041 + `statut` smallint(6) NOT NULL, 4.2042 + `fk_user_author` int(11) NOT NULL, 4.2043 + `commentaire` text, 4.2044 + PRIMARY KEY (`rowid`), 4.2045 + KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`), 4.2046 + KEY `idx_contratdet_log_date` (`date`) 4.2047 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2048 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2049 + 4.2050 +-- 4.2051 +-- Dumping data for table `llx_contratdet_log` 4.2052 +-- 4.2053 + 4.2054 +LOCK TABLES `llx_contratdet_log` WRITE; 4.2055 +/*!40000 ALTER TABLE `llx_contratdet_log` DISABLE KEYS */; 4.2056 +/*!40000 ALTER TABLE `llx_contratdet_log` ENABLE KEYS */; 4.2057 +UNLOCK TABLES; 4.2058 + 4.2059 +-- 4.2060 +-- Table structure for table `llx_cotisation` 4.2061 +-- 4.2062 + 4.2063 +DROP TABLE IF EXISTS `llx_cotisation`; 4.2064 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2065 +/*!40101 SET character_set_client = utf8 */; 4.2066 +CREATE TABLE `llx_cotisation` ( 4.2067 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2068 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2069 + `datec` datetime DEFAULT NULL, 4.2070 + `fk_adherent` int(11) DEFAULT NULL, 4.2071 + `dateadh` datetime DEFAULT NULL, 4.2072 + `datef` date DEFAULT NULL, 4.2073 + `cotisation` double DEFAULT NULL, 4.2074 + `fk_bank` int(11) DEFAULT NULL, 4.2075 + `note` text, 4.2076 + PRIMARY KEY (`rowid`), 4.2077 + UNIQUE KEY `uk_cotisation` (`fk_adherent`,`dateadh`) 4.2078 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2079 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2080 + 4.2081 +-- 4.2082 +-- Dumping data for table `llx_cotisation` 4.2083 +-- 4.2084 + 4.2085 +LOCK TABLES `llx_cotisation` WRITE; 4.2086 +/*!40000 ALTER TABLE `llx_cotisation` DISABLE KEYS */; 4.2087 +/*!40000 ALTER TABLE `llx_cotisation` ENABLE KEYS */; 4.2088 +UNLOCK TABLES; 4.2089 + 4.2090 +-- 4.2091 +-- Table structure for table `llx_deplacement` 4.2092 +-- 4.2093 + 4.2094 +DROP TABLE IF EXISTS `llx_deplacement`; 4.2095 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2096 +/*!40101 SET character_set_client = utf8 */; 4.2097 +CREATE TABLE `llx_deplacement` ( 4.2098 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2099 + `ref` varchar(30) DEFAULT NULL, 4.2100 + `entity` int(11) NOT NULL DEFAULT '1', 4.2101 + `datec` datetime NOT NULL, 4.2102 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2103 + `dated` datetime DEFAULT NULL, 4.2104 + `fk_user` int(11) NOT NULL, 4.2105 + `fk_user_author` int(11) DEFAULT NULL, 4.2106 + `type` varchar(12) NOT NULL, 4.2107 + `fk_statut` int(11) NOT NULL DEFAULT '1', 4.2108 + `km` double DEFAULT NULL, 4.2109 + `fk_soc` int(11) DEFAULT NULL, 4.2110 + `fk_projet` int(11) DEFAULT '0', 4.2111 + `note` text, 4.2112 + `note_public` text, 4.2113 + PRIMARY KEY (`rowid`) 4.2114 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2115 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2116 + 4.2117 +-- 4.2118 +-- Dumping data for table `llx_deplacement` 4.2119 +-- 4.2120 + 4.2121 +LOCK TABLES `llx_deplacement` WRITE; 4.2122 +/*!40000 ALTER TABLE `llx_deplacement` DISABLE KEYS */; 4.2123 +/*!40000 ALTER TABLE `llx_deplacement` ENABLE KEYS */; 4.2124 +UNLOCK TABLES; 4.2125 + 4.2126 +-- 4.2127 +-- Table structure for table `llx_document` 4.2128 +-- 4.2129 + 4.2130 +DROP TABLE IF EXISTS `llx_document`; 4.2131 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2132 +/*!40101 SET character_set_client = utf8 */; 4.2133 +CREATE TABLE `llx_document` ( 4.2134 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2135 + `name` varchar(255) NOT NULL, 4.2136 + `file_name` varchar(255) NOT NULL, 4.2137 + `file_extension` varchar(5) NOT NULL, 4.2138 + `date_generation` datetime DEFAULT NULL, 4.2139 + `fk_owner` int(11) DEFAULT NULL, 4.2140 + `fk_group` int(11) DEFAULT NULL, 4.2141 + `permissions` char(9) DEFAULT 'rw-rw-rw', 4.2142 + PRIMARY KEY (`rowid`) 4.2143 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2144 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2145 + 4.2146 +-- 4.2147 +-- Dumping data for table `llx_document` 4.2148 +-- 4.2149 + 4.2150 +LOCK TABLES `llx_document` WRITE; 4.2151 +/*!40000 ALTER TABLE `llx_document` DISABLE KEYS */; 4.2152 +/*!40000 ALTER TABLE `llx_document` ENABLE KEYS */; 4.2153 +UNLOCK TABLES; 4.2154 + 4.2155 +-- 4.2156 +-- Table structure for table `llx_document_generator` 4.2157 +-- 4.2158 + 4.2159 +DROP TABLE IF EXISTS `llx_document_generator`; 4.2160 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2161 +/*!40101 SET character_set_client = utf8 */; 4.2162 +CREATE TABLE `llx_document_generator` ( 4.2163 + `rowid` int(10) unsigned NOT NULL, 4.2164 + `name` varchar(255) NOT NULL, 4.2165 + `classfile` varchar(255) NOT NULL, 4.2166 + `class` varchar(255) NOT NULL, 4.2167 + PRIMARY KEY (`rowid`) 4.2168 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2169 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2170 + 4.2171 +-- 4.2172 +-- Dumping data for table `llx_document_generator` 4.2173 +-- 4.2174 + 4.2175 +LOCK TABLES `llx_document_generator` WRITE; 4.2176 +/*!40000 ALTER TABLE `llx_document_generator` DISABLE KEYS */; 4.2177 +/*!40000 ALTER TABLE `llx_document_generator` ENABLE KEYS */; 4.2178 +UNLOCK TABLES; 4.2179 + 4.2180 +-- 4.2181 +-- Table structure for table `llx_document_model` 4.2182 +-- 4.2183 + 4.2184 +DROP TABLE IF EXISTS `llx_document_model`; 4.2185 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2186 +/*!40101 SET character_set_client = utf8 */; 4.2187 +CREATE TABLE `llx_document_model` ( 4.2188 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2189 + `nom` varchar(50) DEFAULT NULL, 4.2190 + `entity` int(11) NOT NULL DEFAULT '1', 4.2191 + `type` varchar(20) NOT NULL, 4.2192 + `libelle` varchar(255) DEFAULT NULL, 4.2193 + `description` text, 4.2194 + PRIMARY KEY (`rowid`), 4.2195 + UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`) 4.2196 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2197 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2198 + 4.2199 +-- 4.2200 +-- Dumping data for table `llx_document_model` 4.2201 +-- 4.2202 + 4.2203 +LOCK TABLES `llx_document_model` WRITE; 4.2204 +/*!40000 ALTER TABLE `llx_document_model` DISABLE KEYS */; 4.2205 +/*!40000 ALTER TABLE `llx_document_model` ENABLE KEYS */; 4.2206 +UNLOCK TABLES; 4.2207 + 4.2208 +-- 4.2209 +-- Table structure for table `llx_dolibarr_modules` 4.2210 +-- 4.2211 + 4.2212 +DROP TABLE IF EXISTS `llx_dolibarr_modules`; 4.2213 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2214 +/*!40101 SET character_set_client = utf8 */; 4.2215 +CREATE TABLE `llx_dolibarr_modules` ( 4.2216 + `numero` int(11) NOT NULL DEFAULT '0', 4.2217 + `entity` int(11) NOT NULL DEFAULT '1', 4.2218 + `active` tinyint(4) NOT NULL DEFAULT '0', 4.2219 + `active_date` datetime NOT NULL, 4.2220 + `active_version` varchar(25) NOT NULL, 4.2221 + PRIMARY KEY (`numero`,`entity`) 4.2222 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2223 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2224 + 4.2225 +-- 4.2226 +-- Dumping data for table `llx_dolibarr_modules` 4.2227 +-- 4.2228 + 4.2229 +LOCK TABLES `llx_dolibarr_modules` WRITE; 4.2230 +/*!40000 ALTER TABLE `llx_dolibarr_modules` DISABLE KEYS */; 4.2231 +INSERT INTO `llx_dolibarr_modules` VALUES (0,1,1,'2011-07-03 17:33:30','dolibarr'); 4.2232 +/*!40000 ALTER TABLE `llx_dolibarr_modules` ENABLE KEYS */; 4.2233 +UNLOCK TABLES; 4.2234 + 4.2235 +-- 4.2236 +-- Table structure for table `llx_domain` 4.2237 +-- 4.2238 + 4.2239 +DROP TABLE IF EXISTS `llx_domain`; 4.2240 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2241 +/*!40101 SET character_set_client = utf8 */; 4.2242 +CREATE TABLE `llx_domain` ( 4.2243 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2244 + `datec` datetime DEFAULT NULL, 4.2245 + `label` varchar(255) DEFAULT NULL, 4.2246 + `note` text, 4.2247 + PRIMARY KEY (`rowid`) 4.2248 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2249 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2250 + 4.2251 +-- 4.2252 +-- Dumping data for table `llx_domain` 4.2253 +-- 4.2254 + 4.2255 +LOCK TABLES `llx_domain` WRITE; 4.2256 +/*!40000 ALTER TABLE `llx_domain` DISABLE KEYS */; 4.2257 +/*!40000 ALTER TABLE `llx_domain` ENABLE KEYS */; 4.2258 +UNLOCK TABLES; 4.2259 + 4.2260 +-- 4.2261 +-- Table structure for table `llx_don` 4.2262 +-- 4.2263 + 4.2264 +DROP TABLE IF EXISTS `llx_don`; 4.2265 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2266 +/*!40101 SET character_set_client = utf8 */; 4.2267 +CREATE TABLE `llx_don` ( 4.2268 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2269 + `ref` varchar(30) DEFAULT NULL, 4.2270 + `entity` int(11) NOT NULL DEFAULT '1', 4.2271 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2272 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.2273 + `datec` datetime DEFAULT NULL, 4.2274 + `datedon` datetime DEFAULT NULL, 4.2275 + `amount` double DEFAULT '0', 4.2276 + `fk_paiement` int(11) DEFAULT NULL, 4.2277 + `prenom` varchar(50) DEFAULT NULL, 4.2278 + `nom` varchar(50) DEFAULT NULL, 4.2279 + `societe` varchar(50) DEFAULT NULL, 4.2280 + `adresse` text, 4.2281 + `cp` varchar(30) DEFAULT NULL, 4.2282 + `ville` varchar(50) DEFAULT NULL, 4.2283 + `pays` varchar(50) DEFAULT NULL, 4.2284 + `email` varchar(255) DEFAULT NULL, 4.2285 + `public` smallint(6) NOT NULL DEFAULT '1', 4.2286 + `fk_don_projet` int(11) DEFAULT NULL, 4.2287 + `fk_user_author` int(11) NOT NULL, 4.2288 + `fk_user_valid` int(11) DEFAULT NULL, 4.2289 + `note` text, 4.2290 + `note_public` text, 4.2291 + `model_pdf` varchar(50) DEFAULT NULL, 4.2292 + `import_key` varchar(14) DEFAULT NULL, 4.2293 + PRIMARY KEY (`rowid`) 4.2294 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2295 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2296 + 4.2297 +-- 4.2298 +-- Dumping data for table `llx_don` 4.2299 +-- 4.2300 + 4.2301 +LOCK TABLES `llx_don` WRITE; 4.2302 +/*!40000 ALTER TABLE `llx_don` DISABLE KEYS */; 4.2303 +/*!40000 ALTER TABLE `llx_don` ENABLE KEYS */; 4.2304 +UNLOCK TABLES; 4.2305 + 4.2306 +-- 4.2307 +-- Table structure for table `llx_ecm_directories` 4.2308 +-- 4.2309 + 4.2310 +DROP TABLE IF EXISTS `llx_ecm_directories`; 4.2311 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2312 +/*!40101 SET character_set_client = utf8 */; 4.2313 +CREATE TABLE `llx_ecm_directories` ( 4.2314 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2315 + `label` varchar(32) NOT NULL, 4.2316 + `entity` int(11) NOT NULL DEFAULT '1', 4.2317 + `fk_parent` int(11) DEFAULT NULL, 4.2318 + `description` varchar(255) NOT NULL, 4.2319 + `cachenbofdoc` int(11) NOT NULL DEFAULT '0', 4.2320 + `date_c` datetime DEFAULT NULL, 4.2321 + `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2322 + `fk_user_c` int(11) DEFAULT NULL, 4.2323 + `fk_user_m` int(11) DEFAULT NULL, 4.2324 + PRIMARY KEY (`rowid`), 4.2325 + UNIQUE KEY `idx_ecm_directories` (`label`,`fk_parent`,`entity`) 4.2326 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2327 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2328 + 4.2329 +-- 4.2330 +-- Dumping data for table `llx_ecm_directories` 4.2331 +-- 4.2332 + 4.2333 +LOCK TABLES `llx_ecm_directories` WRITE; 4.2334 +/*!40000 ALTER TABLE `llx_ecm_directories` DISABLE KEYS */; 4.2335 +/*!40000 ALTER TABLE `llx_ecm_directories` ENABLE KEYS */; 4.2336 +UNLOCK TABLES; 4.2337 + 4.2338 +-- 4.2339 +-- Table structure for table `llx_ecm_documents` 4.2340 +-- 4.2341 + 4.2342 +DROP TABLE IF EXISTS `llx_ecm_documents`; 4.2343 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2344 +/*!40101 SET character_set_client = utf8 */; 4.2345 +CREATE TABLE `llx_ecm_documents` ( 4.2346 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2347 + `ref` varchar(16) NOT NULL, 4.2348 + `entity` int(11) NOT NULL DEFAULT '1', 4.2349 + `filename` varchar(255) NOT NULL, 4.2350 + `filesize` int(11) NOT NULL, 4.2351 + `filemime` varchar(32) NOT NULL, 4.2352 + `fullpath_dol` varchar(255) NOT NULL, 4.2353 + `fullpath_orig` varchar(255) NOT NULL, 4.2354 + `description` text, 4.2355 + `manualkeyword` text, 4.2356 + `fk_create` int(11) NOT NULL, 4.2357 + `fk_update` int(11) DEFAULT NULL, 4.2358 + `date_c` datetime NOT NULL, 4.2359 + `date_u` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2360 + `fk_directory` int(11) DEFAULT NULL, 4.2361 + `fk_status` smallint(6) DEFAULT '0', 4.2362 + `private` smallint(6) DEFAULT '0', 4.2363 + `crc` varchar(32) NOT NULL DEFAULT '', 4.2364 + `cryptkey` varchar(50) NOT NULL DEFAULT '', 4.2365 + `cipher` varchar(50) NOT NULL DEFAULT 'twofish', 4.2366 + PRIMARY KEY (`rowid`), 4.2367 + UNIQUE KEY `idx_ecm_documents` (`fullpath_dol`) 4.2368 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2369 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2370 + 4.2371 +-- 4.2372 +-- Dumping data for table `llx_ecm_documents` 4.2373 +-- 4.2374 + 4.2375 +LOCK TABLES `llx_ecm_documents` WRITE; 4.2376 +/*!40000 ALTER TABLE `llx_ecm_documents` DISABLE KEYS */; 4.2377 +/*!40000 ALTER TABLE `llx_ecm_documents` ENABLE KEYS */; 4.2378 +UNLOCK TABLES; 4.2379 + 4.2380 +-- 4.2381 +-- Table structure for table `llx_element_contact` 4.2382 +-- 4.2383 + 4.2384 +DROP TABLE IF EXISTS `llx_element_contact`; 4.2385 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2386 +/*!40101 SET character_set_client = utf8 */; 4.2387 +CREATE TABLE `llx_element_contact` ( 4.2388 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2389 + `datecreate` datetime DEFAULT NULL, 4.2390 + `statut` smallint(6) DEFAULT '5', 4.2391 + `element_id` int(11) NOT NULL, 4.2392 + `fk_c_type_contact` int(11) NOT NULL, 4.2393 + `fk_socpeople` int(11) NOT NULL, 4.2394 + PRIMARY KEY (`rowid`), 4.2395 + UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`), 4.2396 + KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`), 4.2397 + KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`) 4.2398 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2399 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2400 + 4.2401 +-- 4.2402 +-- Dumping data for table `llx_element_contact` 4.2403 +-- 4.2404 + 4.2405 +LOCK TABLES `llx_element_contact` WRITE; 4.2406 +/*!40000 ALTER TABLE `llx_element_contact` DISABLE KEYS */; 4.2407 +/*!40000 ALTER TABLE `llx_element_contact` ENABLE KEYS */; 4.2408 +UNLOCK TABLES; 4.2409 + 4.2410 +-- 4.2411 +-- Table structure for table `llx_element_element` 4.2412 +-- 4.2413 + 4.2414 +DROP TABLE IF EXISTS `llx_element_element`; 4.2415 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2416 +/*!40101 SET character_set_client = utf8 */; 4.2417 +CREATE TABLE `llx_element_element` ( 4.2418 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2419 + `fk_source` int(11) NOT NULL, 4.2420 + `sourcetype` varchar(16) NOT NULL, 4.2421 + `fk_target` int(11) NOT NULL, 4.2422 + `targettype` varchar(16) NOT NULL, 4.2423 + PRIMARY KEY (`rowid`), 4.2424 + UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`), 4.2425 + KEY `idx_element_element_fk_target` (`fk_target`) 4.2426 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2427 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2428 + 4.2429 +-- 4.2430 +-- Dumping data for table `llx_element_element` 4.2431 +-- 4.2432 + 4.2433 +LOCK TABLES `llx_element_element` WRITE; 4.2434 +/*!40000 ALTER TABLE `llx_element_element` DISABLE KEYS */; 4.2435 +/*!40000 ALTER TABLE `llx_element_element` ENABLE KEYS */; 4.2436 +UNLOCK TABLES; 4.2437 + 4.2438 +-- 4.2439 +-- Table structure for table `llx_element_rang` 4.2440 +-- 4.2441 + 4.2442 +DROP TABLE IF EXISTS `llx_element_rang`; 4.2443 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2444 +/*!40101 SET character_set_client = utf8 */; 4.2445 +CREATE TABLE `llx_element_rang` ( 4.2446 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2447 + `fk_parent` int(11) NOT NULL, 4.2448 + `parenttype` varchar(16) NOT NULL, 4.2449 + `fk_child` int(11) NOT NULL, 4.2450 + `childtype` varchar(16) NOT NULL, 4.2451 + `rang` int(11) DEFAULT '0', 4.2452 + PRIMARY KEY (`rowid`), 4.2453 + UNIQUE KEY `idx_element_rang_idx1` (`fk_parent`,`parenttype`,`fk_child`,`childtype`), 4.2454 + KEY `idx_element_rang_fk_parent` (`fk_parent`) 4.2455 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2456 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2457 + 4.2458 +-- 4.2459 +-- Dumping data for table `llx_element_rang` 4.2460 +-- 4.2461 + 4.2462 +LOCK TABLES `llx_element_rang` WRITE; 4.2463 +/*!40000 ALTER TABLE `llx_element_rang` DISABLE KEYS */; 4.2464 +/*!40000 ALTER TABLE `llx_element_rang` ENABLE KEYS */; 4.2465 +UNLOCK TABLES; 4.2466 + 4.2467 +-- 4.2468 +-- Table structure for table `llx_entrepot` 4.2469 +-- 4.2470 + 4.2471 +DROP TABLE IF EXISTS `llx_entrepot`; 4.2472 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2473 +/*!40101 SET character_set_client = utf8 */; 4.2474 +CREATE TABLE `llx_entrepot` ( 4.2475 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2476 + `datec` datetime DEFAULT NULL, 4.2477 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2478 + `label` varchar(255) NOT NULL, 4.2479 + `entity` int(11) NOT NULL DEFAULT '1', 4.2480 + `description` text, 4.2481 + `lieu` varchar(64) DEFAULT NULL, 4.2482 + `address` varchar(255) DEFAULT NULL, 4.2483 + `cp` varchar(10) DEFAULT NULL, 4.2484 + `ville` varchar(50) DEFAULT NULL, 4.2485 + `fk_departement` int(11) DEFAULT NULL, 4.2486 + `fk_pays` int(11) DEFAULT '0', 4.2487 + `statut` tinyint(4) DEFAULT '1', 4.2488 + `valo_pmp` float(12,4) DEFAULT NULL, 4.2489 + `fk_user_author` int(11) DEFAULT NULL, 4.2490 + PRIMARY KEY (`rowid`), 4.2491 + UNIQUE KEY `uk_entrepot_label` (`label`,`entity`) 4.2492 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2493 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2494 + 4.2495 +-- 4.2496 +-- Dumping data for table `llx_entrepot` 4.2497 +-- 4.2498 + 4.2499 +LOCK TABLES `llx_entrepot` WRITE; 4.2500 +/*!40000 ALTER TABLE `llx_entrepot` DISABLE KEYS */; 4.2501 +/*!40000 ALTER TABLE `llx_entrepot` ENABLE KEYS */; 4.2502 +UNLOCK TABLES; 4.2503 + 4.2504 +-- 4.2505 +-- Table structure for table `llx_events` 4.2506 +-- 4.2507 + 4.2508 +DROP TABLE IF EXISTS `llx_events`; 4.2509 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2510 +/*!40101 SET character_set_client = utf8 */; 4.2511 +CREATE TABLE `llx_events` ( 4.2512 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2513 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2514 + `type` varchar(32) NOT NULL, 4.2515 + `entity` int(11) NOT NULL DEFAULT '1', 4.2516 + `dateevent` datetime DEFAULT NULL, 4.2517 + `fk_user` int(11) DEFAULT NULL, 4.2518 + `description` varchar(250) NOT NULL, 4.2519 + `ip` varchar(32) NOT NULL, 4.2520 + `user_agent` varchar(255) DEFAULT NULL, 4.2521 + `fk_object` int(11) DEFAULT NULL, 4.2522 + PRIMARY KEY (`rowid`), 4.2523 + KEY `idx_events_dateevent` (`dateevent`) 4.2524 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2525 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2526 + 4.2527 +-- 4.2528 +-- Dumping data for table `llx_events` 4.2529 +-- 4.2530 + 4.2531 +LOCK TABLES `llx_events` WRITE; 4.2532 +/*!40000 ALTER TABLE `llx_events` DISABLE KEYS */; 4.2533 +/*!40000 ALTER TABLE `llx_events` ENABLE KEYS */; 4.2534 +UNLOCK TABLES; 4.2535 + 4.2536 +-- 4.2537 +-- Table structure for table `llx_expedition` 4.2538 +-- 4.2539 + 4.2540 +DROP TABLE IF EXISTS `llx_expedition`; 4.2541 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2542 +/*!40101 SET character_set_client = utf8 */; 4.2543 +CREATE TABLE `llx_expedition` ( 4.2544 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2545 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2546 + `ref` varchar(30) NOT NULL, 4.2547 + `entity` int(11) NOT NULL DEFAULT '1', 4.2548 + `ref_customer` varchar(30) DEFAULT NULL, 4.2549 + `fk_soc` int(11) NOT NULL, 4.2550 + `date_creation` datetime DEFAULT NULL, 4.2551 + `fk_user_author` int(11) DEFAULT NULL, 4.2552 + `date_valid` datetime DEFAULT NULL, 4.2553 + `fk_user_valid` int(11) DEFAULT NULL, 4.2554 + `date_expedition` datetime DEFAULT NULL, 4.2555 + `date_delivery` datetime DEFAULT NULL, 4.2556 + `fk_address` int(11) DEFAULT NULL, 4.2557 + `fk_expedition_methode` int(11) DEFAULT NULL, 4.2558 + `tracking_number` varchar(50) DEFAULT NULL, 4.2559 + `fk_statut` smallint(6) DEFAULT '0', 4.2560 + `height` int(11) DEFAULT NULL, 4.2561 + `width` int(11) DEFAULT NULL, 4.2562 + `size_units` int(11) DEFAULT NULL, 4.2563 + `size` int(11) DEFAULT NULL, 4.2564 + `weight_units` int(11) DEFAULT NULL, 4.2565 + `weight` int(11) DEFAULT NULL, 4.2566 + `note` text, 4.2567 + `model_pdf` varchar(50) DEFAULT NULL, 4.2568 + PRIMARY KEY (`rowid`), 4.2569 + UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`), 4.2570 + KEY `idx_expedition_fk_soc` (`fk_soc`), 4.2571 + KEY `idx_expedition_fk_user_author` (`fk_user_author`), 4.2572 + KEY `idx_expedition_fk_user_valid` (`fk_user_valid`), 4.2573 + KEY `idx_expedition_fk_expedition_methode` (`fk_expedition_methode`) 4.2574 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2575 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2576 + 4.2577 +-- 4.2578 +-- Dumping data for table `llx_expedition` 4.2579 +-- 4.2580 + 4.2581 +LOCK TABLES `llx_expedition` WRITE; 4.2582 +/*!40000 ALTER TABLE `llx_expedition` DISABLE KEYS */; 4.2583 +/*!40000 ALTER TABLE `llx_expedition` ENABLE KEYS */; 4.2584 +UNLOCK TABLES; 4.2585 + 4.2586 +-- 4.2587 +-- Table structure for table `llx_expeditiondet` 4.2588 +-- 4.2589 + 4.2590 +DROP TABLE IF EXISTS `llx_expeditiondet`; 4.2591 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2592 +/*!40101 SET character_set_client = utf8 */; 4.2593 +CREATE TABLE `llx_expeditiondet` ( 4.2594 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2595 + `fk_expedition` int(11) NOT NULL, 4.2596 + `fk_origin_line` int(11) DEFAULT NULL, 4.2597 + `fk_entrepot` int(11) DEFAULT NULL, 4.2598 + `qty` double DEFAULT NULL, 4.2599 + `rang` int(11) DEFAULT '0', 4.2600 + PRIMARY KEY (`rowid`), 4.2601 + KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`) 4.2602 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2603 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2604 + 4.2605 +-- 4.2606 +-- Dumping data for table `llx_expeditiondet` 4.2607 +-- 4.2608 + 4.2609 +LOCK TABLES `llx_expeditiondet` WRITE; 4.2610 +/*!40000 ALTER TABLE `llx_expeditiondet` DISABLE KEYS */; 4.2611 +/*!40000 ALTER TABLE `llx_expeditiondet` ENABLE KEYS */; 4.2612 +UNLOCK TABLES; 4.2613 + 4.2614 +-- 4.2615 +-- Table structure for table `llx_export_compta` 4.2616 +-- 4.2617 + 4.2618 +DROP TABLE IF EXISTS `llx_export_compta`; 4.2619 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2620 +/*!40101 SET character_set_client = utf8 */; 4.2621 +CREATE TABLE `llx_export_compta` ( 4.2622 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2623 + `ref` varchar(12) NOT NULL, 4.2624 + `date_export` datetime NOT NULL, 4.2625 + `fk_user` int(11) NOT NULL, 4.2626 + `note` text, 4.2627 + PRIMARY KEY (`rowid`) 4.2628 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2629 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2630 + 4.2631 +-- 4.2632 +-- Dumping data for table `llx_export_compta` 4.2633 +-- 4.2634 + 4.2635 +LOCK TABLES `llx_export_compta` WRITE; 4.2636 +/*!40000 ALTER TABLE `llx_export_compta` DISABLE KEYS */; 4.2637 +/*!40000 ALTER TABLE `llx_export_compta` ENABLE KEYS */; 4.2638 +UNLOCK TABLES; 4.2639 + 4.2640 +-- 4.2641 +-- Table structure for table `llx_export_model` 4.2642 +-- 4.2643 + 4.2644 +DROP TABLE IF EXISTS `llx_export_model`; 4.2645 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2646 +/*!40101 SET character_set_client = utf8 */; 4.2647 +CREATE TABLE `llx_export_model` ( 4.2648 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2649 + `fk_user` int(11) NOT NULL DEFAULT '0', 4.2650 + `label` varchar(50) NOT NULL, 4.2651 + `type` varchar(20) NOT NULL, 4.2652 + `field` text NOT NULL, 4.2653 + PRIMARY KEY (`rowid`), 4.2654 + UNIQUE KEY `uk_export_model` (`label`,`type`) 4.2655 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2656 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2657 + 4.2658 +-- 4.2659 +-- Dumping data for table `llx_export_model` 4.2660 +-- 4.2661 + 4.2662 +LOCK TABLES `llx_export_model` WRITE; 4.2663 +/*!40000 ALTER TABLE `llx_export_model` DISABLE KEYS */; 4.2664 +/*!40000 ALTER TABLE `llx_export_model` ENABLE KEYS */; 4.2665 +UNLOCK TABLES; 4.2666 + 4.2667 +-- 4.2668 +-- Table structure for table `llx_extra_fields` 4.2669 +-- 4.2670 + 4.2671 +DROP TABLE IF EXISTS `llx_extra_fields`; 4.2672 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2673 +/*!40101 SET character_set_client = utf8 */; 4.2674 +CREATE TABLE `llx_extra_fields` ( 4.2675 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2676 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2677 + `entity` int(11) NOT NULL DEFAULT '1', 4.2678 + `object` varchar(64) NOT NULL, 4.2679 + `name` varchar(64) NOT NULL, 4.2680 + `label` varchar(64) NOT NULL, 4.2681 + `format` varchar(8) NOT NULL, 4.2682 + `fieldsize` int(11) DEFAULT NULL, 4.2683 + `maxlength` int(11) DEFAULT NULL, 4.2684 + `options` varchar(255) DEFAULT NULL, 4.2685 + `rank` int(11) DEFAULT NULL, 4.2686 + `assign` int(11) DEFAULT NULL, 4.2687 + PRIMARY KEY (`rowid`), 4.2688 + UNIQUE KEY `idx_extra_fields_name` (`object`,`entity`,`name`) 4.2689 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2690 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2691 + 4.2692 +-- 4.2693 +-- Dumping data for table `llx_extra_fields` 4.2694 +-- 4.2695 + 4.2696 +LOCK TABLES `llx_extra_fields` WRITE; 4.2697 +/*!40000 ALTER TABLE `llx_extra_fields` DISABLE KEYS */; 4.2698 +/*!40000 ALTER TABLE `llx_extra_fields` ENABLE KEYS */; 4.2699 +UNLOCK TABLES; 4.2700 + 4.2701 +-- 4.2702 +-- Table structure for table `llx_extra_fields_options` 4.2703 +-- 4.2704 + 4.2705 +DROP TABLE IF EXISTS `llx_extra_fields_options`; 4.2706 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2707 +/*!40101 SET character_set_client = utf8 */; 4.2708 +CREATE TABLE `llx_extra_fields_options` ( 4.2709 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2710 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2711 + `fk_extra_fields` int(11) NOT NULL, 4.2712 + `value` varchar(255) NOT NULL, 4.2713 + `rank` int(11) DEFAULT NULL, 4.2714 + PRIMARY KEY (`rowid`), 4.2715 + KEY `idx_extra_fields_options_fk_extra_fields` (`fk_extra_fields`) 4.2716 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2717 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2718 + 4.2719 +-- 4.2720 +-- Dumping data for table `llx_extra_fields_options` 4.2721 +-- 4.2722 + 4.2723 +LOCK TABLES `llx_extra_fields_options` WRITE; 4.2724 +/*!40000 ALTER TABLE `llx_extra_fields_options` DISABLE KEYS */; 4.2725 +/*!40000 ALTER TABLE `llx_extra_fields_options` ENABLE KEYS */; 4.2726 +UNLOCK TABLES; 4.2727 + 4.2728 +-- 4.2729 +-- Table structure for table `llx_extra_fields_values` 4.2730 +-- 4.2731 + 4.2732 +DROP TABLE IF EXISTS `llx_extra_fields_values`; 4.2733 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2734 +/*!40101 SET character_set_client = utf8 */; 4.2735 +CREATE TABLE `llx_extra_fields_values` ( 4.2736 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2737 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2738 + `entity` int(11) NOT NULL DEFAULT '1', 4.2739 + `datec` datetime DEFAULT NULL, 4.2740 + `datem` datetime DEFAULT NULL, 4.2741 + `fk_object` int(11) NOT NULL, 4.2742 + `fk_extra_fields` int(11) NOT NULL, 4.2743 + `value` varchar(255) DEFAULT NULL, 4.2744 + `fk_user_create` int(11) DEFAULT NULL, 4.2745 + `fk_user_modif` int(11) DEFAULT NULL, 4.2746 + PRIMARY KEY (`rowid`), 4.2747 + KEY `idx_extra_fields_values_fk_extra_fields` (`fk_extra_fields`,`entity`) 4.2748 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2749 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2750 + 4.2751 +-- 4.2752 +-- Dumping data for table `llx_extra_fields_values` 4.2753 +-- 4.2754 + 4.2755 +LOCK TABLES `llx_extra_fields_values` WRITE; 4.2756 +/*!40000 ALTER TABLE `llx_extra_fields_values` DISABLE KEYS */; 4.2757 +/*!40000 ALTER TABLE `llx_extra_fields_values` ENABLE KEYS */; 4.2758 +UNLOCK TABLES; 4.2759 + 4.2760 +-- 4.2761 +-- Table structure for table `llx_facture` 4.2762 +-- 4.2763 + 4.2764 +DROP TABLE IF EXISTS `llx_facture`; 4.2765 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2766 +/*!40101 SET character_set_client = utf8 */; 4.2767 +CREATE TABLE `llx_facture` ( 4.2768 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2769 + `facnumber` varchar(30) NOT NULL, 4.2770 + `entity` int(11) NOT NULL DEFAULT '1', 4.2771 + `ref_ext` varchar(30) DEFAULT NULL, 4.2772 + `ref_client` varchar(30) DEFAULT NULL, 4.2773 + `type` smallint(6) NOT NULL DEFAULT '0', 4.2774 + `increment` varchar(10) DEFAULT NULL, 4.2775 + `fk_soc` int(11) NOT NULL, 4.2776 + `datec` datetime DEFAULT NULL, 4.2777 + `datef` date DEFAULT NULL, 4.2778 + `date_valid` date DEFAULT NULL, 4.2779 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2780 + `paye` smallint(6) NOT NULL DEFAULT '0', 4.2781 + `amount` double(24,8) NOT NULL DEFAULT '0.00000000', 4.2782 + `remise_percent` double DEFAULT '0', 4.2783 + `remise_absolue` double DEFAULT '0', 4.2784 + `remise` double DEFAULT '0', 4.2785 + `close_code` varchar(16) DEFAULT NULL, 4.2786 + `close_note` varchar(128) DEFAULT NULL, 4.2787 + `tva` double(24,8) DEFAULT '0.00000000', 4.2788 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.2789 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.2790 + `total` double(24,8) DEFAULT '0.00000000', 4.2791 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.2792 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.2793 + `fk_user_author` int(11) DEFAULT NULL, 4.2794 + `fk_user_valid` int(11) DEFAULT NULL, 4.2795 + `fk_facture_source` int(11) DEFAULT NULL, 4.2796 + `fk_projet` int(11) DEFAULT NULL, 4.2797 + `fk_cond_reglement` int(11) NOT NULL DEFAULT '1', 4.2798 + `fk_mode_reglement` int(11) DEFAULT NULL, 4.2799 + `date_lim_reglement` date DEFAULT NULL, 4.2800 + `note` text, 4.2801 + `note_public` text, 4.2802 + `model_pdf` varchar(50) DEFAULT NULL, 4.2803 + `import_key` varchar(14) DEFAULT NULL, 4.2804 + PRIMARY KEY (`rowid`), 4.2805 + UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`), 4.2806 + KEY `idx_facture_fk_soc` (`fk_soc`), 4.2807 + KEY `idx_facture_fk_user_author` (`fk_user_author`), 4.2808 + KEY `idx_facture_fk_user_valid` (`fk_user_valid`), 4.2809 + KEY `idx_facture_fk_facture_source` (`fk_facture_source`), 4.2810 + KEY `idx_facture_fk_projet` (`fk_projet`) 4.2811 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2812 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2813 + 4.2814 +-- 4.2815 +-- Dumping data for table `llx_facture` 4.2816 +-- 4.2817 + 4.2818 +LOCK TABLES `llx_facture` WRITE; 4.2819 +/*!40000 ALTER TABLE `llx_facture` DISABLE KEYS */; 4.2820 +/*!40000 ALTER TABLE `llx_facture` ENABLE KEYS */; 4.2821 +UNLOCK TABLES; 4.2822 + 4.2823 +-- 4.2824 +-- Table structure for table `llx_facture_fourn` 4.2825 +-- 4.2826 + 4.2827 +DROP TABLE IF EXISTS `llx_facture_fourn`; 4.2828 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2829 +/*!40101 SET character_set_client = utf8 */; 4.2830 +CREATE TABLE `llx_facture_fourn` ( 4.2831 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2832 + `facnumber` varchar(50) NOT NULL, 4.2833 + `entity` int(11) NOT NULL DEFAULT '1', 4.2834 + `type` smallint(6) NOT NULL DEFAULT '0', 4.2835 + `fk_soc` int(11) NOT NULL, 4.2836 + `datec` datetime DEFAULT NULL, 4.2837 + `datef` date DEFAULT NULL, 4.2838 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.2839 + `libelle` varchar(255) DEFAULT NULL, 4.2840 + `paye` smallint(6) NOT NULL DEFAULT '0', 4.2841 + `amount` double(24,8) NOT NULL DEFAULT '0.00000000', 4.2842 + `remise` double(24,8) DEFAULT '0.00000000', 4.2843 + `close_code` varchar(16) DEFAULT NULL, 4.2844 + `close_note` varchar(128) DEFAULT NULL, 4.2845 + `tva` double(24,8) DEFAULT '0.00000000', 4.2846 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.2847 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.2848 + `total` double(24,8) DEFAULT '0.00000000', 4.2849 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.2850 + `total_tva` double(24,8) DEFAULT '0.00000000', 4.2851 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.2852 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.2853 + `fk_user_author` int(11) DEFAULT NULL, 4.2854 + `fk_user_valid` int(11) DEFAULT NULL, 4.2855 + `fk_facture_source` int(11) DEFAULT NULL, 4.2856 + `fk_projet` int(11) DEFAULT NULL, 4.2857 + `fk_cond_reglement` int(11) NOT NULL DEFAULT '1', 4.2858 + `date_lim_reglement` date DEFAULT NULL, 4.2859 + `note` text, 4.2860 + `note_public` text, 4.2861 + `model_pdf` varchar(50) DEFAULT NULL, 4.2862 + `import_key` varchar(14) DEFAULT NULL, 4.2863 + PRIMARY KEY (`rowid`), 4.2864 + UNIQUE KEY `uk_facture_fourn_ref` (`facnumber`,`fk_soc`,`entity`), 4.2865 + KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`), 4.2866 + KEY `idx_facture_fourn_fk_soc` (`fk_soc`), 4.2867 + KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`), 4.2868 + KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`), 4.2869 + KEY `idx_facture_fourn_fk_projet` (`fk_projet`) 4.2870 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2871 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2872 + 4.2873 +-- 4.2874 +-- Dumping data for table `llx_facture_fourn` 4.2875 +-- 4.2876 + 4.2877 +LOCK TABLES `llx_facture_fourn` WRITE; 4.2878 +/*!40000 ALTER TABLE `llx_facture_fourn` DISABLE KEYS */; 4.2879 +/*!40000 ALTER TABLE `llx_facture_fourn` ENABLE KEYS */; 4.2880 +UNLOCK TABLES; 4.2881 + 4.2882 +-- 4.2883 +-- Table structure for table `llx_facture_fourn_det` 4.2884 +-- 4.2885 + 4.2886 +DROP TABLE IF EXISTS `llx_facture_fourn_det`; 4.2887 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2888 +/*!40101 SET character_set_client = utf8 */; 4.2889 +CREATE TABLE `llx_facture_fourn_det` ( 4.2890 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2891 + `fk_facture_fourn` int(11) NOT NULL, 4.2892 + `fk_product` int(11) DEFAULT NULL, 4.2893 + `ref` varchar(50) DEFAULT NULL, 4.2894 + `label` varchar(255) DEFAULT NULL, 4.2895 + `description` text, 4.2896 + `pu_ht` double(24,8) DEFAULT NULL, 4.2897 + `pu_ttc` double(24,8) DEFAULT NULL, 4.2898 + `qty` double DEFAULT NULL, 4.2899 + `tva_tx` double(6,3) DEFAULT NULL, 4.2900 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.2901 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.2902 + `total_ht` double(24,8) DEFAULT NULL, 4.2903 + `tva` double(24,8) DEFAULT NULL, 4.2904 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.2905 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.2906 + `total_ttc` double(24,8) DEFAULT NULL, 4.2907 + `product_type` int(11) DEFAULT '0', 4.2908 + `date_start` datetime DEFAULT NULL, 4.2909 + `date_end` datetime DEFAULT NULL, 4.2910 + `import_key` varchar(14) DEFAULT NULL, 4.2911 + PRIMARY KEY (`rowid`), 4.2912 + KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`) 4.2913 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2914 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2915 + 4.2916 +-- 4.2917 +-- Dumping data for table `llx_facture_fourn_det` 4.2918 +-- 4.2919 + 4.2920 +LOCK TABLES `llx_facture_fourn_det` WRITE; 4.2921 +/*!40000 ALTER TABLE `llx_facture_fourn_det` DISABLE KEYS */; 4.2922 +/*!40000 ALTER TABLE `llx_facture_fourn_det` ENABLE KEYS */; 4.2923 +UNLOCK TABLES; 4.2924 + 4.2925 +-- 4.2926 +-- Table structure for table `llx_facture_rec` 4.2927 +-- 4.2928 + 4.2929 +DROP TABLE IF EXISTS `llx_facture_rec`; 4.2930 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2931 +/*!40101 SET character_set_client = utf8 */; 4.2932 +CREATE TABLE `llx_facture_rec` ( 4.2933 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2934 + `titre` varchar(50) NOT NULL, 4.2935 + `entity` int(11) NOT NULL DEFAULT '1', 4.2936 + `fk_soc` int(11) NOT NULL, 4.2937 + `datec` datetime DEFAULT NULL, 4.2938 + `amount` double(24,8) NOT NULL DEFAULT '0.00000000', 4.2939 + `remise` double DEFAULT '0', 4.2940 + `remise_percent` double DEFAULT '0', 4.2941 + `remise_absolue` double DEFAULT '0', 4.2942 + `tva` double(24,8) DEFAULT '0.00000000', 4.2943 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.2944 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.2945 + `total` double(24,8) DEFAULT '0.00000000', 4.2946 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.2947 + `fk_user_author` int(11) DEFAULT NULL, 4.2948 + `fk_projet` int(11) DEFAULT NULL, 4.2949 + `fk_cond_reglement` int(11) DEFAULT '0', 4.2950 + `fk_mode_reglement` int(11) DEFAULT '0', 4.2951 + `date_lim_reglement` date DEFAULT NULL, 4.2952 + `note` text, 4.2953 + `note_public` text, 4.2954 + `frequency` int(11) DEFAULT NULL, 4.2955 + `unit_frequency` varchar(2) DEFAULT 'd', 4.2956 + `date_when` datetime DEFAULT NULL, 4.2957 + `date_last_gen` datetime DEFAULT NULL, 4.2958 + `nb_gen_done` int(11) DEFAULT NULL, 4.2959 + `nb_gen_max` int(11) DEFAULT NULL, 4.2960 + PRIMARY KEY (`rowid`), 4.2961 + UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`), 4.2962 + KEY `idx_facture_rec_fk_soc` (`fk_soc`), 4.2963 + KEY `idx_facture_rec_fk_user_author` (`fk_user_author`), 4.2964 + KEY `idx_facture_rec_fk_projet` (`fk_projet`) 4.2965 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.2966 +/*!40101 SET character_set_client = @saved_cs_client */; 4.2967 + 4.2968 +-- 4.2969 +-- Dumping data for table `llx_facture_rec` 4.2970 +-- 4.2971 + 4.2972 +LOCK TABLES `llx_facture_rec` WRITE; 4.2973 +/*!40000 ALTER TABLE `llx_facture_rec` DISABLE KEYS */; 4.2974 +/*!40000 ALTER TABLE `llx_facture_rec` ENABLE KEYS */; 4.2975 +UNLOCK TABLES; 4.2976 + 4.2977 +-- 4.2978 +-- Table structure for table `llx_facturedet` 4.2979 +-- 4.2980 + 4.2981 +DROP TABLE IF EXISTS `llx_facturedet`; 4.2982 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.2983 +/*!40101 SET character_set_client = utf8 */; 4.2984 +CREATE TABLE `llx_facturedet` ( 4.2985 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.2986 + `fk_facture` int(11) NOT NULL, 4.2987 + `fk_parent_line` int(11) DEFAULT NULL, 4.2988 + `fk_product` int(11) DEFAULT NULL, 4.2989 + `description` text, 4.2990 + `tva_tx` double(6,3) DEFAULT NULL, 4.2991 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.2992 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.2993 + `qty` double DEFAULT NULL, 4.2994 + `remise_percent` double DEFAULT '0', 4.2995 + `remise` double DEFAULT '0', 4.2996 + `fk_remise_except` int(11) DEFAULT NULL, 4.2997 + `subprice` double(24,8) DEFAULT NULL, 4.2998 + `price` double(24,8) DEFAULT NULL, 4.2999 + `total_ht` double(24,8) DEFAULT NULL, 4.3000 + `total_tva` double(24,8) DEFAULT NULL, 4.3001 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.3002 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.3003 + `total_ttc` double(24,8) DEFAULT NULL, 4.3004 + `product_type` int(11) DEFAULT '0', 4.3005 + `date_start` datetime DEFAULT NULL, 4.3006 + `date_end` datetime DEFAULT NULL, 4.3007 + `info_bits` int(11) DEFAULT '0', 4.3008 + `fk_code_ventilation` int(11) NOT NULL DEFAULT '0', 4.3009 + `fk_export_compta` int(11) NOT NULL DEFAULT '0', 4.3010 + `special_code` int(10) unsigned DEFAULT '0', 4.3011 + `rang` int(11) DEFAULT '0', 4.3012 + `import_key` varchar(14) DEFAULT NULL, 4.3013 + PRIMARY KEY (`rowid`), 4.3014 + UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`), 4.3015 + KEY `idx_facturedet_fk_facture` (`fk_facture`) 4.3016 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3017 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3018 + 4.3019 +-- 4.3020 +-- Dumping data for table `llx_facturedet` 4.3021 +-- 4.3022 + 4.3023 +LOCK TABLES `llx_facturedet` WRITE; 4.3024 +/*!40000 ALTER TABLE `llx_facturedet` DISABLE KEYS */; 4.3025 +/*!40000 ALTER TABLE `llx_facturedet` ENABLE KEYS */; 4.3026 +UNLOCK TABLES; 4.3027 + 4.3028 +-- 4.3029 +-- Table structure for table `llx_facturedet_rec` 4.3030 +-- 4.3031 + 4.3032 +DROP TABLE IF EXISTS `llx_facturedet_rec`; 4.3033 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3034 +/*!40101 SET character_set_client = utf8 */; 4.3035 +CREATE TABLE `llx_facturedet_rec` ( 4.3036 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3037 + `fk_facture` int(11) NOT NULL, 4.3038 + `fk_parent_line` int(11) DEFAULT NULL, 4.3039 + `fk_product` int(11) DEFAULT NULL, 4.3040 + `product_type` int(11) DEFAULT '0', 4.3041 + `description` text, 4.3042 + `tva_tx` double(6,3) DEFAULT '19.600', 4.3043 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.3044 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.3045 + `qty` double DEFAULT NULL, 4.3046 + `remise_percent` double DEFAULT '0', 4.3047 + `remise` double DEFAULT '0', 4.3048 + `subprice` double(24,8) DEFAULT NULL, 4.3049 + `price` double(24,8) DEFAULT NULL, 4.3050 + `total_ht` double(24,8) DEFAULT NULL, 4.3051 + `total_tva` double(24,8) DEFAULT NULL, 4.3052 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.3053 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.3054 + `total_ttc` double(24,8) DEFAULT NULL, 4.3055 + `special_code` int(10) unsigned DEFAULT '0', 4.3056 + `rang` int(11) DEFAULT '0', 4.3057 + PRIMARY KEY (`rowid`) 4.3058 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3059 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3060 + 4.3061 +-- 4.3062 +-- Dumping data for table `llx_facturedet_rec` 4.3063 +-- 4.3064 + 4.3065 +LOCK TABLES `llx_facturedet_rec` WRITE; 4.3066 +/*!40000 ALTER TABLE `llx_facturedet_rec` DISABLE KEYS */; 4.3067 +/*!40000 ALTER TABLE `llx_facturedet_rec` ENABLE KEYS */; 4.3068 +UNLOCK TABLES; 4.3069 + 4.3070 +-- 4.3071 +-- Table structure for table `llx_fichinter` 4.3072 +-- 4.3073 + 4.3074 +DROP TABLE IF EXISTS `llx_fichinter`; 4.3075 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3076 +/*!40101 SET character_set_client = utf8 */; 4.3077 +CREATE TABLE `llx_fichinter` ( 4.3078 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3079 + `fk_soc` int(11) NOT NULL, 4.3080 + `fk_projet` int(11) DEFAULT '0', 4.3081 + `fk_contrat` int(11) DEFAULT '0', 4.3082 + `ref` varchar(30) NOT NULL, 4.3083 + `entity` int(11) NOT NULL DEFAULT '1', 4.3084 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3085 + `datec` datetime DEFAULT NULL, 4.3086 + `date_valid` datetime DEFAULT NULL, 4.3087 + `datei` date DEFAULT NULL, 4.3088 + `fk_user_author` int(11) DEFAULT NULL, 4.3089 + `fk_user_valid` int(11) DEFAULT NULL, 4.3090 + `fk_statut` smallint(6) DEFAULT '0', 4.3091 + `duree` double DEFAULT NULL, 4.3092 + `description` text, 4.3093 + `note_private` text, 4.3094 + `note_public` text, 4.3095 + `model_pdf` varchar(50) DEFAULT NULL, 4.3096 + PRIMARY KEY (`rowid`), 4.3097 + UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`), 4.3098 + KEY `idx_fichinter_fk_soc` (`fk_soc`) 4.3099 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3100 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3101 + 4.3102 +-- 4.3103 +-- Dumping data for table `llx_fichinter` 4.3104 +-- 4.3105 + 4.3106 +LOCK TABLES `llx_fichinter` WRITE; 4.3107 +/*!40000 ALTER TABLE `llx_fichinter` DISABLE KEYS */; 4.3108 +/*!40000 ALTER TABLE `llx_fichinter` ENABLE KEYS */; 4.3109 +UNLOCK TABLES; 4.3110 + 4.3111 +-- 4.3112 +-- Table structure for table `llx_fichinterdet` 4.3113 +-- 4.3114 + 4.3115 +DROP TABLE IF EXISTS `llx_fichinterdet`; 4.3116 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3117 +/*!40101 SET character_set_client = utf8 */; 4.3118 +CREATE TABLE `llx_fichinterdet` ( 4.3119 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3120 + `fk_fichinter` int(11) DEFAULT NULL, 4.3121 + `date` datetime DEFAULT NULL, 4.3122 + `description` text, 4.3123 + `duree` int(11) DEFAULT NULL, 4.3124 + `rang` int(11) DEFAULT '0', 4.3125 + PRIMARY KEY (`rowid`), 4.3126 + KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`) 4.3127 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3128 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3129 + 4.3130 +-- 4.3131 +-- Dumping data for table `llx_fichinterdet` 4.3132 +-- 4.3133 + 4.3134 +LOCK TABLES `llx_fichinterdet` WRITE; 4.3135 +/*!40000 ALTER TABLE `llx_fichinterdet` DISABLE KEYS */; 4.3136 +/*!40000 ALTER TABLE `llx_fichinterdet` ENABLE KEYS */; 4.3137 +UNLOCK TABLES; 4.3138 + 4.3139 +-- 4.3140 +-- Table structure for table `llx_import_model` 4.3141 +-- 4.3142 + 4.3143 +DROP TABLE IF EXISTS `llx_import_model`; 4.3144 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3145 +/*!40101 SET character_set_client = utf8 */; 4.3146 +CREATE TABLE `llx_import_model` ( 4.3147 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3148 + `fk_user` int(11) NOT NULL DEFAULT '0', 4.3149 + `label` varchar(50) NOT NULL, 4.3150 + `type` varchar(20) NOT NULL, 4.3151 + `field` text NOT NULL, 4.3152 + PRIMARY KEY (`rowid`), 4.3153 + UNIQUE KEY `uk_import_model` (`label`,`type`) 4.3154 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3155 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3156 + 4.3157 +-- 4.3158 +-- Dumping data for table `llx_import_model` 4.3159 +-- 4.3160 + 4.3161 +LOCK TABLES `llx_import_model` WRITE; 4.3162 +/*!40000 ALTER TABLE `llx_import_model` DISABLE KEYS */; 4.3163 +/*!40000 ALTER TABLE `llx_import_model` ENABLE KEYS */; 4.3164 +UNLOCK TABLES; 4.3165 + 4.3166 +-- 4.3167 +-- Table structure for table `llx_livraison` 4.3168 +-- 4.3169 + 4.3170 +DROP TABLE IF EXISTS `llx_livraison`; 4.3171 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3172 +/*!40101 SET character_set_client = utf8 */; 4.3173 +CREATE TABLE `llx_livraison` ( 4.3174 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3175 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3176 + `ref` varchar(30) NOT NULL, 4.3177 + `entity` int(11) NOT NULL DEFAULT '1', 4.3178 + `ref_customer` varchar(30) DEFAULT NULL, 4.3179 + `fk_soc` int(11) NOT NULL, 4.3180 + `date_creation` datetime DEFAULT NULL, 4.3181 + `fk_user_author` int(11) DEFAULT NULL, 4.3182 + `date_valid` datetime DEFAULT NULL, 4.3183 + `fk_user_valid` int(11) DEFAULT NULL, 4.3184 + `date_delivery` date DEFAULT NULL, 4.3185 + `fk_address` int(11) DEFAULT NULL, 4.3186 + `fk_statut` smallint(6) DEFAULT '0', 4.3187 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.3188 + `note` text, 4.3189 + `note_public` text, 4.3190 + `model_pdf` varchar(50) DEFAULT NULL, 4.3191 + PRIMARY KEY (`rowid`), 4.3192 + UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`), 4.3193 + KEY `idx_livraison_fk_soc` (`fk_soc`), 4.3194 + KEY `idx_livraison_fk_user_author` (`fk_user_author`), 4.3195 + KEY `idx_livraison_fk_user_valid` (`fk_user_valid`) 4.3196 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3197 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3198 + 4.3199 +-- 4.3200 +-- Dumping data for table `llx_livraison` 4.3201 +-- 4.3202 + 4.3203 +LOCK TABLES `llx_livraison` WRITE; 4.3204 +/*!40000 ALTER TABLE `llx_livraison` DISABLE KEYS */; 4.3205 +/*!40000 ALTER TABLE `llx_livraison` ENABLE KEYS */; 4.3206 +UNLOCK TABLES; 4.3207 + 4.3208 +-- 4.3209 +-- Table structure for table `llx_livraisondet` 4.3210 +-- 4.3211 + 4.3212 +DROP TABLE IF EXISTS `llx_livraisondet`; 4.3213 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3214 +/*!40101 SET character_set_client = utf8 */; 4.3215 +CREATE TABLE `llx_livraisondet` ( 4.3216 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3217 + `fk_livraison` int(11) DEFAULT NULL, 4.3218 + `fk_origin_line` int(11) DEFAULT NULL, 4.3219 + `fk_product` int(11) DEFAULT NULL, 4.3220 + `description` text, 4.3221 + `qty` double DEFAULT NULL, 4.3222 + `subprice` double(24,8) DEFAULT '0.00000000', 4.3223 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.3224 + `rang` int(11) DEFAULT '0', 4.3225 + PRIMARY KEY (`rowid`), 4.3226 + KEY `idx_livraisondet_fk_expedition` (`fk_livraison`) 4.3227 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3228 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3229 + 4.3230 +-- 4.3231 +-- Dumping data for table `llx_livraisondet` 4.3232 +-- 4.3233 + 4.3234 +LOCK TABLES `llx_livraisondet` WRITE; 4.3235 +/*!40000 ALTER TABLE `llx_livraisondet` DISABLE KEYS */; 4.3236 +/*!40000 ALTER TABLE `llx_livraisondet` ENABLE KEYS */; 4.3237 +UNLOCK TABLES; 4.3238 + 4.3239 +-- 4.3240 +-- Table structure for table `llx_mailing` 4.3241 +-- 4.3242 + 4.3243 +DROP TABLE IF EXISTS `llx_mailing`; 4.3244 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3245 +/*!40101 SET character_set_client = utf8 */; 4.3246 +CREATE TABLE `llx_mailing` ( 4.3247 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3248 + `statut` smallint(6) DEFAULT '0', 4.3249 + `titre` varchar(60) DEFAULT NULL, 4.3250 + `entity` int(11) NOT NULL DEFAULT '1', 4.3251 + `sujet` varchar(60) DEFAULT NULL, 4.3252 + `body` text, 4.3253 + `bgcolor` varchar(8) DEFAULT NULL, 4.3254 + `bgimage` varchar(255) DEFAULT NULL, 4.3255 + `cible` varchar(60) DEFAULT NULL, 4.3256 + `nbemail` int(11) DEFAULT NULL, 4.3257 + `email_from` varchar(160) DEFAULT NULL, 4.3258 + `email_replyto` varchar(160) DEFAULT NULL, 4.3259 + `email_errorsto` varchar(160) DEFAULT NULL, 4.3260 + `date_creat` datetime DEFAULT NULL, 4.3261 + `date_valid` datetime DEFAULT NULL, 4.3262 + `date_appro` datetime DEFAULT NULL, 4.3263 + `date_envoi` datetime DEFAULT NULL, 4.3264 + `fk_user_creat` int(11) DEFAULT NULL, 4.3265 + `fk_user_valid` int(11) DEFAULT NULL, 4.3266 + `fk_user_appro` int(11) DEFAULT NULL, 4.3267 + `joined_file1` varchar(255) DEFAULT NULL, 4.3268 + `joined_file2` varchar(255) DEFAULT NULL, 4.3269 + `joined_file3` varchar(255) DEFAULT NULL, 4.3270 + `joined_file4` varchar(255) DEFAULT NULL, 4.3271 + PRIMARY KEY (`rowid`) 4.3272 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3273 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3274 + 4.3275 +-- 4.3276 +-- Dumping data for table `llx_mailing` 4.3277 +-- 4.3278 + 4.3279 +LOCK TABLES `llx_mailing` WRITE; 4.3280 +/*!40000 ALTER TABLE `llx_mailing` DISABLE KEYS */; 4.3281 +/*!40000 ALTER TABLE `llx_mailing` ENABLE KEYS */; 4.3282 +UNLOCK TABLES; 4.3283 + 4.3284 +-- 4.3285 +-- Table structure for table `llx_mailing_cibles` 4.3286 +-- 4.3287 + 4.3288 +DROP TABLE IF EXISTS `llx_mailing_cibles`; 4.3289 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3290 +/*!40101 SET character_set_client = utf8 */; 4.3291 +CREATE TABLE `llx_mailing_cibles` ( 4.3292 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3293 + `fk_mailing` int(11) NOT NULL, 4.3294 + `fk_contact` int(11) NOT NULL, 4.3295 + `nom` varchar(160) DEFAULT NULL, 4.3296 + `prenom` varchar(160) DEFAULT NULL, 4.3297 + `email` varchar(160) NOT NULL, 4.3298 + `other` varchar(255) DEFAULT NULL, 4.3299 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.3300 + `source_url` varchar(160) DEFAULT NULL, 4.3301 + `source_id` int(11) DEFAULT NULL, 4.3302 + `source_type` varchar(16) DEFAULT NULL, 4.3303 + `date_envoi` datetime DEFAULT NULL, 4.3304 + PRIMARY KEY (`rowid`), 4.3305 + UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`), 4.3306 + KEY `idx_mailing_cibles_email` (`email`) 4.3307 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3308 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3309 + 4.3310 +-- 4.3311 +-- Dumping data for table `llx_mailing_cibles` 4.3312 +-- 4.3313 + 4.3314 +LOCK TABLES `llx_mailing_cibles` WRITE; 4.3315 +/*!40000 ALTER TABLE `llx_mailing_cibles` DISABLE KEYS */; 4.3316 +/*!40000 ALTER TABLE `llx_mailing_cibles` ENABLE KEYS */; 4.3317 +UNLOCK TABLES; 4.3318 + 4.3319 +-- 4.3320 +-- Table structure for table `llx_menu` 4.3321 +-- 4.3322 + 4.3323 +DROP TABLE IF EXISTS `llx_menu`; 4.3324 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3325 +/*!40101 SET character_set_client = utf8 */; 4.3326 +CREATE TABLE `llx_menu` ( 4.3327 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3328 + `menu_handler` varchar(16) NOT NULL, 4.3329 + `entity` int(11) NOT NULL DEFAULT '1', 4.3330 + `module` varchar(64) DEFAULT NULL, 4.3331 + `type` varchar(4) NOT NULL, 4.3332 + `mainmenu` varchar(100) NOT NULL, 4.3333 + `fk_menu` int(11) NOT NULL, 4.3334 + `position` int(11) NOT NULL, 4.3335 + `url` varchar(255) NOT NULL, 4.3336 + `target` varchar(100) DEFAULT NULL, 4.3337 + `titre` varchar(255) NOT NULL, 4.3338 + `langs` varchar(100) DEFAULT NULL, 4.3339 + `level` smallint(6) DEFAULT NULL, 4.3340 + `leftmenu` varchar(1) DEFAULT '1', 4.3341 + `perms` varchar(255) DEFAULT NULL, 4.3342 + `enabled` varchar(255) DEFAULT '1', 4.3343 + `usertype` int(11) NOT NULL DEFAULT '0', 4.3344 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3345 + PRIMARY KEY (`rowid`), 4.3346 + UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`), 4.3347 + KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`) 4.3348 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3349 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3350 + 4.3351 +-- 4.3352 +-- Dumping data for table `llx_menu` 4.3353 +-- 4.3354 + 4.3355 +LOCK TABLES `llx_menu` WRITE; 4.3356 +/*!40000 ALTER TABLE `llx_menu` DISABLE KEYS */; 4.3357 +/*!40000 ALTER TABLE `llx_menu` ENABLE KEYS */; 4.3358 +UNLOCK TABLES; 4.3359 + 4.3360 +-- 4.3361 +-- Table structure for table `llx_notify` 4.3362 +-- 4.3363 + 4.3364 +DROP TABLE IF EXISTS `llx_notify`; 4.3365 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3366 +/*!40101 SET character_set_client = utf8 */; 4.3367 +CREATE TABLE `llx_notify` ( 4.3368 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3369 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3370 + `daten` datetime DEFAULT NULL, 4.3371 + `fk_action` int(11) NOT NULL, 4.3372 + `fk_contact` int(11) DEFAULT NULL, 4.3373 + `fk_user` int(11) DEFAULT NULL, 4.3374 + `objet_type` varchar(24) NOT NULL, 4.3375 + `objet_id` int(11) NOT NULL, 4.3376 + `email` varchar(255) DEFAULT NULL, 4.3377 + PRIMARY KEY (`rowid`) 4.3378 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3379 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3380 + 4.3381 +-- 4.3382 +-- Dumping data for table `llx_notify` 4.3383 +-- 4.3384 + 4.3385 +LOCK TABLES `llx_notify` WRITE; 4.3386 +/*!40000 ALTER TABLE `llx_notify` DISABLE KEYS */; 4.3387 +/*!40000 ALTER TABLE `llx_notify` ENABLE KEYS */; 4.3388 +UNLOCK TABLES; 4.3389 + 4.3390 +-- 4.3391 +-- Table structure for table `llx_notify_def` 4.3392 +-- 4.3393 + 4.3394 +DROP TABLE IF EXISTS `llx_notify_def`; 4.3395 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3396 +/*!40101 SET character_set_client = utf8 */; 4.3397 +CREATE TABLE `llx_notify_def` ( 4.3398 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3399 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3400 + `datec` date DEFAULT NULL, 4.3401 + `fk_action` int(11) NOT NULL, 4.3402 + `fk_soc` int(11) NOT NULL, 4.3403 + `fk_contact` int(11) DEFAULT NULL, 4.3404 + `fk_user` int(11) DEFAULT NULL, 4.3405 + `type` varchar(16) DEFAULT 'email', 4.3406 + PRIMARY KEY (`rowid`) 4.3407 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3408 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3409 + 4.3410 +-- 4.3411 +-- Dumping data for table `llx_notify_def` 4.3412 +-- 4.3413 + 4.3414 +LOCK TABLES `llx_notify_def` WRITE; 4.3415 +/*!40000 ALTER TABLE `llx_notify_def` DISABLE KEYS */; 4.3416 +/*!40000 ALTER TABLE `llx_notify_def` ENABLE KEYS */; 4.3417 +UNLOCK TABLES; 4.3418 + 4.3419 +-- 4.3420 +-- Table structure for table `llx_paiement` 4.3421 +-- 4.3422 + 4.3423 +DROP TABLE IF EXISTS `llx_paiement`; 4.3424 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3425 +/*!40101 SET character_set_client = utf8 */; 4.3426 +CREATE TABLE `llx_paiement` ( 4.3427 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3428 + `datec` datetime DEFAULT NULL, 4.3429 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3430 + `datep` datetime DEFAULT NULL, 4.3431 + `amount` double(24,8) DEFAULT '0.00000000', 4.3432 + `fk_paiement` int(11) NOT NULL, 4.3433 + `num_paiement` varchar(50) DEFAULT NULL, 4.3434 + `note` text, 4.3435 + `fk_bank` int(11) NOT NULL DEFAULT '0', 4.3436 + `fk_user_creat` int(11) DEFAULT NULL, 4.3437 + `fk_user_modif` int(11) DEFAULT NULL, 4.3438 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.3439 + `fk_export_compta` int(11) NOT NULL DEFAULT '0', 4.3440 + PRIMARY KEY (`rowid`) 4.3441 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3442 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3443 + 4.3444 +-- 4.3445 +-- Dumping data for table `llx_paiement` 4.3446 +-- 4.3447 + 4.3448 +LOCK TABLES `llx_paiement` WRITE; 4.3449 +/*!40000 ALTER TABLE `llx_paiement` DISABLE KEYS */; 4.3450 +/*!40000 ALTER TABLE `llx_paiement` ENABLE KEYS */; 4.3451 +UNLOCK TABLES; 4.3452 + 4.3453 +-- 4.3454 +-- Table structure for table `llx_paiement_facture` 4.3455 +-- 4.3456 + 4.3457 +DROP TABLE IF EXISTS `llx_paiement_facture`; 4.3458 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3459 +/*!40101 SET character_set_client = utf8 */; 4.3460 +CREATE TABLE `llx_paiement_facture` ( 4.3461 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3462 + `fk_paiement` int(11) DEFAULT NULL, 4.3463 + `fk_facture` int(11) DEFAULT NULL, 4.3464 + `amount` double DEFAULT '0', 4.3465 + PRIMARY KEY (`rowid`), 4.3466 + UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`), 4.3467 + KEY `idx_paiement_facture_fk_facture` (`fk_facture`), 4.3468 + KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`) 4.3469 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3470 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3471 + 4.3472 +-- 4.3473 +-- Dumping data for table `llx_paiement_facture` 4.3474 +-- 4.3475 + 4.3476 +LOCK TABLES `llx_paiement_facture` WRITE; 4.3477 +/*!40000 ALTER TABLE `llx_paiement_facture` DISABLE KEYS */; 4.3478 +/*!40000 ALTER TABLE `llx_paiement_facture` ENABLE KEYS */; 4.3479 +UNLOCK TABLES; 4.3480 + 4.3481 +-- 4.3482 +-- Table structure for table `llx_paiementcharge` 4.3483 +-- 4.3484 + 4.3485 +DROP TABLE IF EXISTS `llx_paiementcharge`; 4.3486 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3487 +/*!40101 SET character_set_client = utf8 */; 4.3488 +CREATE TABLE `llx_paiementcharge` ( 4.3489 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3490 + `fk_charge` int(11) DEFAULT NULL, 4.3491 + `datec` datetime DEFAULT NULL, 4.3492 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3493 + `datep` datetime DEFAULT NULL, 4.3494 + `amount` double DEFAULT '0', 4.3495 + `fk_typepaiement` int(11) NOT NULL, 4.3496 + `num_paiement` varchar(50) DEFAULT NULL, 4.3497 + `note` text, 4.3498 + `fk_bank` int(11) NOT NULL, 4.3499 + `fk_user_creat` int(11) DEFAULT NULL, 4.3500 + `fk_user_modif` int(11) DEFAULT NULL, 4.3501 + PRIMARY KEY (`rowid`) 4.3502 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3503 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3504 + 4.3505 +-- 4.3506 +-- Dumping data for table `llx_paiementcharge` 4.3507 +-- 4.3508 + 4.3509 +LOCK TABLES `llx_paiementcharge` WRITE; 4.3510 +/*!40000 ALTER TABLE `llx_paiementcharge` DISABLE KEYS */; 4.3511 +/*!40000 ALTER TABLE `llx_paiementcharge` ENABLE KEYS */; 4.3512 +UNLOCK TABLES; 4.3513 + 4.3514 +-- 4.3515 +-- Table structure for table `llx_paiementfourn` 4.3516 +-- 4.3517 + 4.3518 +DROP TABLE IF EXISTS `llx_paiementfourn`; 4.3519 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3520 +/*!40101 SET character_set_client = utf8 */; 4.3521 +CREATE TABLE `llx_paiementfourn` ( 4.3522 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3523 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3524 + `datec` datetime DEFAULT NULL, 4.3525 + `datep` datetime DEFAULT NULL, 4.3526 + `amount` double(24,8) DEFAULT '0.00000000', 4.3527 + `fk_user_author` int(11) DEFAULT NULL, 4.3528 + `fk_paiement` int(11) NOT NULL, 4.3529 + `num_paiement` varchar(50) DEFAULT NULL, 4.3530 + `note` text, 4.3531 + `fk_bank` int(11) NOT NULL, 4.3532 + `statut` smallint(6) NOT NULL DEFAULT '0', 4.3533 + PRIMARY KEY (`rowid`) 4.3534 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3535 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3536 + 4.3537 +-- 4.3538 +-- Dumping data for table `llx_paiementfourn` 4.3539 +-- 4.3540 + 4.3541 +LOCK TABLES `llx_paiementfourn` WRITE; 4.3542 +/*!40000 ALTER TABLE `llx_paiementfourn` DISABLE KEYS */; 4.3543 +/*!40000 ALTER TABLE `llx_paiementfourn` ENABLE KEYS */; 4.3544 +UNLOCK TABLES; 4.3545 + 4.3546 +-- 4.3547 +-- Table structure for table `llx_paiementfourn_facturefourn` 4.3548 +-- 4.3549 + 4.3550 +DROP TABLE IF EXISTS `llx_paiementfourn_facturefourn`; 4.3551 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3552 +/*!40101 SET character_set_client = utf8 */; 4.3553 +CREATE TABLE `llx_paiementfourn_facturefourn` ( 4.3554 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3555 + `fk_paiementfourn` int(11) DEFAULT NULL, 4.3556 + `fk_facturefourn` int(11) DEFAULT NULL, 4.3557 + `amount` double DEFAULT '0', 4.3558 + PRIMARY KEY (`rowid`), 4.3559 + UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`), 4.3560 + KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`), 4.3561 + KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`) 4.3562 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3563 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3564 + 4.3565 +-- 4.3566 +-- Dumping data for table `llx_paiementfourn_facturefourn` 4.3567 +-- 4.3568 + 4.3569 +LOCK TABLES `llx_paiementfourn_facturefourn` WRITE; 4.3570 +/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` DISABLE KEYS */; 4.3571 +/*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` ENABLE KEYS */; 4.3572 +UNLOCK TABLES; 4.3573 + 4.3574 +-- 4.3575 +-- Table structure for table `llx_prelevement_bons` 4.3576 +-- 4.3577 + 4.3578 +DROP TABLE IF EXISTS `llx_prelevement_bons`; 4.3579 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3580 +/*!40101 SET character_set_client = utf8 */; 4.3581 +CREATE TABLE `llx_prelevement_bons` ( 4.3582 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3583 + `ref` varchar(12) DEFAULT NULL, 4.3584 + `entity` int(11) NOT NULL DEFAULT '1', 4.3585 + `datec` datetime DEFAULT NULL, 4.3586 + `amount` double DEFAULT '0', 4.3587 + `statut` smallint(6) DEFAULT '0', 4.3588 + `credite` smallint(6) DEFAULT '0', 4.3589 + `note` text, 4.3590 + `date_trans` datetime DEFAULT NULL, 4.3591 + `method_trans` smallint(6) DEFAULT NULL, 4.3592 + `fk_user_trans` int(11) DEFAULT NULL, 4.3593 + `date_credit` datetime DEFAULT NULL, 4.3594 + `fk_user_credit` int(11) DEFAULT NULL, 4.3595 + PRIMARY KEY (`rowid`), 4.3596 + UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`) 4.3597 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3598 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3599 + 4.3600 +-- 4.3601 +-- Dumping data for table `llx_prelevement_bons` 4.3602 +-- 4.3603 + 4.3604 +LOCK TABLES `llx_prelevement_bons` WRITE; 4.3605 +/*!40000 ALTER TABLE `llx_prelevement_bons` DISABLE KEYS */; 4.3606 +/*!40000 ALTER TABLE `llx_prelevement_bons` ENABLE KEYS */; 4.3607 +UNLOCK TABLES; 4.3608 + 4.3609 +-- 4.3610 +-- Table structure for table `llx_prelevement_facture` 4.3611 +-- 4.3612 + 4.3613 +DROP TABLE IF EXISTS `llx_prelevement_facture`; 4.3614 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3615 +/*!40101 SET character_set_client = utf8 */; 4.3616 +CREATE TABLE `llx_prelevement_facture` ( 4.3617 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3618 + `fk_facture` int(11) NOT NULL, 4.3619 + `fk_prelevement_lignes` int(11) NOT NULL, 4.3620 + PRIMARY KEY (`rowid`), 4.3621 + KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`) 4.3622 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3623 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3624 + 4.3625 +-- 4.3626 +-- Dumping data for table `llx_prelevement_facture` 4.3627 +-- 4.3628 + 4.3629 +LOCK TABLES `llx_prelevement_facture` WRITE; 4.3630 +/*!40000 ALTER TABLE `llx_prelevement_facture` DISABLE KEYS */; 4.3631 +/*!40000 ALTER TABLE `llx_prelevement_facture` ENABLE KEYS */; 4.3632 +UNLOCK TABLES; 4.3633 + 4.3634 +-- 4.3635 +-- Table structure for table `llx_prelevement_facture_demande` 4.3636 +-- 4.3637 + 4.3638 +DROP TABLE IF EXISTS `llx_prelevement_facture_demande`; 4.3639 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3640 +/*!40101 SET character_set_client = utf8 */; 4.3641 +CREATE TABLE `llx_prelevement_facture_demande` ( 4.3642 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3643 + `fk_facture` int(11) NOT NULL, 4.3644 + `amount` double NOT NULL, 4.3645 + `date_demande` datetime NOT NULL, 4.3646 + `traite` smallint(6) DEFAULT '0', 4.3647 + `date_traite` datetime DEFAULT NULL, 4.3648 + `fk_prelevement_bons` int(11) DEFAULT NULL, 4.3649 + `fk_user_demande` int(11) NOT NULL, 4.3650 + `code_banque` varchar(7) DEFAULT NULL, 4.3651 + `code_guichet` varchar(6) DEFAULT NULL, 4.3652 + `number` varchar(255) DEFAULT NULL, 4.3653 + `cle_rib` varchar(5) DEFAULT NULL, 4.3654 + PRIMARY KEY (`rowid`) 4.3655 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3656 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3657 + 4.3658 +-- 4.3659 +-- Dumping data for table `llx_prelevement_facture_demande` 4.3660 +-- 4.3661 + 4.3662 +LOCK TABLES `llx_prelevement_facture_demande` WRITE; 4.3663 +/*!40000 ALTER TABLE `llx_prelevement_facture_demande` DISABLE KEYS */; 4.3664 +/*!40000 ALTER TABLE `llx_prelevement_facture_demande` ENABLE KEYS */; 4.3665 +UNLOCK TABLES; 4.3666 + 4.3667 +-- 4.3668 +-- Table structure for table `llx_prelevement_lignes` 4.3669 +-- 4.3670 + 4.3671 +DROP TABLE IF EXISTS `llx_prelevement_lignes`; 4.3672 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3673 +/*!40101 SET character_set_client = utf8 */; 4.3674 +CREATE TABLE `llx_prelevement_lignes` ( 4.3675 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3676 + `fk_prelevement_bons` int(11) DEFAULT NULL, 4.3677 + `fk_soc` int(11) NOT NULL, 4.3678 + `statut` smallint(6) DEFAULT '0', 4.3679 + `client_nom` varchar(255) DEFAULT NULL, 4.3680 + `amount` double DEFAULT '0', 4.3681 + `code_banque` varchar(7) DEFAULT NULL, 4.3682 + `code_guichet` varchar(6) DEFAULT NULL, 4.3683 + `number` varchar(255) DEFAULT NULL, 4.3684 + `cle_rib` varchar(5) DEFAULT NULL, 4.3685 + `note` text, 4.3686 + PRIMARY KEY (`rowid`), 4.3687 + KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`) 4.3688 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3689 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3690 + 4.3691 +-- 4.3692 +-- Dumping data for table `llx_prelevement_lignes` 4.3693 +-- 4.3694 + 4.3695 +LOCK TABLES `llx_prelevement_lignes` WRITE; 4.3696 +/*!40000 ALTER TABLE `llx_prelevement_lignes` DISABLE KEYS */; 4.3697 +/*!40000 ALTER TABLE `llx_prelevement_lignes` ENABLE KEYS */; 4.3698 +UNLOCK TABLES; 4.3699 + 4.3700 +-- 4.3701 +-- Table structure for table `llx_prelevement_notifications` 4.3702 +-- 4.3703 + 4.3704 +DROP TABLE IF EXISTS `llx_prelevement_notifications`; 4.3705 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3706 +/*!40101 SET character_set_client = utf8 */; 4.3707 +CREATE TABLE `llx_prelevement_notifications` ( 4.3708 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3709 + `fk_user` int(11) NOT NULL, 4.3710 + `action` varchar(32) DEFAULT NULL, 4.3711 + PRIMARY KEY (`rowid`) 4.3712 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3713 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3714 + 4.3715 +-- 4.3716 +-- Dumping data for table `llx_prelevement_notifications` 4.3717 +-- 4.3718 + 4.3719 +LOCK TABLES `llx_prelevement_notifications` WRITE; 4.3720 +/*!40000 ALTER TABLE `llx_prelevement_notifications` DISABLE KEYS */; 4.3721 +/*!40000 ALTER TABLE `llx_prelevement_notifications` ENABLE KEYS */; 4.3722 +UNLOCK TABLES; 4.3723 + 4.3724 +-- 4.3725 +-- Table structure for table `llx_prelevement_rejet` 4.3726 +-- 4.3727 + 4.3728 +DROP TABLE IF EXISTS `llx_prelevement_rejet`; 4.3729 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3730 +/*!40101 SET character_set_client = utf8 */; 4.3731 +CREATE TABLE `llx_prelevement_rejet` ( 4.3732 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3733 + `fk_prelevement_lignes` int(11) DEFAULT NULL, 4.3734 + `date_rejet` datetime DEFAULT NULL, 4.3735 + `motif` int(11) DEFAULT NULL, 4.3736 + `date_creation` datetime DEFAULT NULL, 4.3737 + `fk_user_creation` int(11) DEFAULT NULL, 4.3738 + `note` text, 4.3739 + `afacturer` tinyint(4) DEFAULT '0', 4.3740 + `fk_facture` int(11) DEFAULT NULL, 4.3741 + PRIMARY KEY (`rowid`) 4.3742 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3743 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3744 + 4.3745 +-- 4.3746 +-- Dumping data for table `llx_prelevement_rejet` 4.3747 +-- 4.3748 + 4.3749 +LOCK TABLES `llx_prelevement_rejet` WRITE; 4.3750 +/*!40000 ALTER TABLE `llx_prelevement_rejet` DISABLE KEYS */; 4.3751 +/*!40000 ALTER TABLE `llx_prelevement_rejet` ENABLE KEYS */; 4.3752 +UNLOCK TABLES; 4.3753 + 4.3754 +-- 4.3755 +-- Table structure for table `llx_product` 4.3756 +-- 4.3757 + 4.3758 +DROP TABLE IF EXISTS `llx_product`; 4.3759 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3760 +/*!40101 SET character_set_client = utf8 */; 4.3761 +CREATE TABLE `llx_product` ( 4.3762 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3763 + `datec` datetime DEFAULT NULL, 4.3764 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3765 + `virtual` tinyint(4) NOT NULL DEFAULT '0', 4.3766 + `fk_parent` int(11) DEFAULT '0', 4.3767 + `ref` varchar(32) NOT NULL, 4.3768 + `entity` int(11) NOT NULL DEFAULT '1', 4.3769 + `ref_ext` varchar(32) DEFAULT NULL, 4.3770 + `label` varchar(255) NOT NULL, 4.3771 + `description` text, 4.3772 + `note` text, 4.3773 + `customcode` varchar(32) DEFAULT NULL, 4.3774 + `fk_country` int(11) DEFAULT NULL, 4.3775 + `price` double(24,8) DEFAULT '0.00000000', 4.3776 + `price_ttc` double(24,8) DEFAULT '0.00000000', 4.3777 + `price_min` double(24,8) DEFAULT '0.00000000', 4.3778 + `price_min_ttc` double(24,8) DEFAULT '0.00000000', 4.3779 + `price_base_type` varchar(3) DEFAULT 'HT', 4.3780 + `tva_tx` double(6,3) DEFAULT NULL, 4.3781 + `recuperableonly` int(11) NOT NULL DEFAULT '0', 4.3782 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.3783 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.3784 + `fk_user_author` int(11) DEFAULT NULL, 4.3785 + `tosell` tinyint(4) DEFAULT '1', 4.3786 + `tobuy` tinyint(4) DEFAULT '1', 4.3787 + `fk_product_type` int(11) DEFAULT '0', 4.3788 + `duration` varchar(6) DEFAULT NULL, 4.3789 + `seuil_stock_alerte` int(11) DEFAULT '0', 4.3790 + `barcode` varchar(255) DEFAULT NULL, 4.3791 + `fk_barcode_type` int(11) DEFAULT '0', 4.3792 + `accountancy_code_sell` varchar(15) DEFAULT NULL, 4.3793 + `accountancy_code_buy` varchar(15) DEFAULT NULL, 4.3794 + `partnumber` varchar(32) DEFAULT NULL, 4.3795 + `weight` float DEFAULT NULL, 4.3796 + `weight_units` tinyint(4) DEFAULT NULL, 4.3797 + `length` float DEFAULT NULL, 4.3798 + `length_units` tinyint(4) DEFAULT NULL, 4.3799 + `surface` float DEFAULT NULL, 4.3800 + `surface_units` tinyint(4) DEFAULT NULL, 4.3801 + `volume` float DEFAULT NULL, 4.3802 + `volume_units` tinyint(4) DEFAULT NULL, 4.3803 + `stock` int(11) DEFAULT NULL, 4.3804 + `pmp` double(24,8) NOT NULL DEFAULT '0.00000000', 4.3805 + `canvas` varchar(32) DEFAULT 'default@product', 4.3806 + `finished` tinyint(4) DEFAULT NULL, 4.3807 + `hidden` tinyint(4) DEFAULT '0', 4.3808 + `import_key` varchar(14) DEFAULT NULL, 4.3809 + PRIMARY KEY (`rowid`), 4.3810 + UNIQUE KEY `uk_product_ref` (`ref`,`entity`), 4.3811 + KEY `idx_product_label` (`label`), 4.3812 + KEY `idx_product_barcode` (`barcode`), 4.3813 + KEY `idx_product_import_key` (`import_key`) 4.3814 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3815 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3816 + 4.3817 +-- 4.3818 +-- Dumping data for table `llx_product` 4.3819 +-- 4.3820 + 4.3821 +LOCK TABLES `llx_product` WRITE; 4.3822 +/*!40000 ALTER TABLE `llx_product` DISABLE KEYS */; 4.3823 +/*!40000 ALTER TABLE `llx_product` ENABLE KEYS */; 4.3824 +UNLOCK TABLES; 4.3825 + 4.3826 +-- 4.3827 +-- Table structure for table `llx_product_association` 4.3828 +-- 4.3829 + 4.3830 +DROP TABLE IF EXISTS `llx_product_association`; 4.3831 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3832 +/*!40101 SET character_set_client = utf8 */; 4.3833 +CREATE TABLE `llx_product_association` ( 4.3834 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3835 + `fk_product_pere` int(11) NOT NULL DEFAULT '0', 4.3836 + `fk_product_fils` int(11) NOT NULL DEFAULT '0', 4.3837 + `qty` double DEFAULT NULL, 4.3838 + PRIMARY KEY (`rowid`), 4.3839 + UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`), 4.3840 + KEY `idx_product_association_fils` (`fk_product_fils`) 4.3841 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3842 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3843 + 4.3844 +-- 4.3845 +-- Dumping data for table `llx_product_association` 4.3846 +-- 4.3847 + 4.3848 +LOCK TABLES `llx_product_association` WRITE; 4.3849 +/*!40000 ALTER TABLE `llx_product_association` DISABLE KEYS */; 4.3850 +/*!40000 ALTER TABLE `llx_product_association` ENABLE KEYS */; 4.3851 +UNLOCK TABLES; 4.3852 + 4.3853 +-- 4.3854 +-- Table structure for table `llx_product_ca` 4.3855 +-- 4.3856 + 4.3857 +DROP TABLE IF EXISTS `llx_product_ca`; 4.3858 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3859 +/*!40101 SET character_set_client = utf8 */; 4.3860 +CREATE TABLE `llx_product_ca` ( 4.3861 + `fk_product` int(11) DEFAULT NULL, 4.3862 + `date_calcul` datetime DEFAULT NULL, 4.3863 + `year` smallint(5) unsigned DEFAULT NULL, 4.3864 + `ca_genere` float DEFAULT NULL, 4.3865 + UNIQUE KEY `fk_product` (`fk_product`,`year`) 4.3866 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3867 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3868 + 4.3869 +-- 4.3870 +-- Dumping data for table `llx_product_ca` 4.3871 +-- 4.3872 + 4.3873 +LOCK TABLES `llx_product_ca` WRITE; 4.3874 +/*!40000 ALTER TABLE `llx_product_ca` DISABLE KEYS */; 4.3875 +/*!40000 ALTER TABLE `llx_product_ca` ENABLE KEYS */; 4.3876 +UNLOCK TABLES; 4.3877 + 4.3878 +-- 4.3879 +-- Table structure for table `llx_product_fournisseur` 4.3880 +-- 4.3881 + 4.3882 +DROP TABLE IF EXISTS `llx_product_fournisseur`; 4.3883 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3884 +/*!40101 SET character_set_client = utf8 */; 4.3885 +CREATE TABLE `llx_product_fournisseur` ( 4.3886 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3887 + `datec` datetime DEFAULT NULL, 4.3888 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3889 + `fk_product` int(11) DEFAULT NULL, 4.3890 + `fk_soc` int(11) DEFAULT NULL, 4.3891 + `ref_fourn` varchar(30) DEFAULT NULL, 4.3892 + `entity` int(11) NOT NULL DEFAULT '1', 4.3893 + `fk_user_author` int(11) DEFAULT NULL, 4.3894 + PRIMARY KEY (`rowid`), 4.3895 + UNIQUE KEY `uk_product_fournisseur_ref` (`ref_fourn`,`fk_soc`,`entity`), 4.3896 + KEY `idx_product_fourn_fk_product` (`fk_product`,`entity`), 4.3897 + KEY `idx_product_fourn_fk_soc` (`fk_soc`,`entity`) 4.3898 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3899 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3900 + 4.3901 +-- 4.3902 +-- Dumping data for table `llx_product_fournisseur` 4.3903 +-- 4.3904 + 4.3905 +LOCK TABLES `llx_product_fournisseur` WRITE; 4.3906 +/*!40000 ALTER TABLE `llx_product_fournisseur` DISABLE KEYS */; 4.3907 +/*!40000 ALTER TABLE `llx_product_fournisseur` ENABLE KEYS */; 4.3908 +UNLOCK TABLES; 4.3909 + 4.3910 +-- 4.3911 +-- Table structure for table `llx_product_fournisseur_price` 4.3912 +-- 4.3913 + 4.3914 +DROP TABLE IF EXISTS `llx_product_fournisseur_price`; 4.3915 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3916 +/*!40101 SET character_set_client = utf8 */; 4.3917 +CREATE TABLE `llx_product_fournisseur_price` ( 4.3918 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3919 + `datec` datetime DEFAULT NULL, 4.3920 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.3921 + `fk_product_fournisseur` int(11) NOT NULL, 4.3922 + `price` double(24,8) DEFAULT '0.00000000', 4.3923 + `quantity` double DEFAULT NULL, 4.3924 + `unitprice` double(24,8) DEFAULT '0.00000000', 4.3925 + `fk_user` int(11) DEFAULT NULL, 4.3926 + PRIMARY KEY (`rowid`), 4.3927 + KEY `idx_product_fournisseur_price_fk_user` (`fk_user`), 4.3928 + KEY `idx_product_fournisseur_price_fk_product_fournisseur` (`fk_product_fournisseur`) 4.3929 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3930 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3931 + 4.3932 +-- 4.3933 +-- Dumping data for table `llx_product_fournisseur_price` 4.3934 +-- 4.3935 + 4.3936 +LOCK TABLES `llx_product_fournisseur_price` WRITE; 4.3937 +/*!40000 ALTER TABLE `llx_product_fournisseur_price` DISABLE KEYS */; 4.3938 +/*!40000 ALTER TABLE `llx_product_fournisseur_price` ENABLE KEYS */; 4.3939 +UNLOCK TABLES; 4.3940 + 4.3941 +-- 4.3942 +-- Table structure for table `llx_product_fournisseur_price_log` 4.3943 +-- 4.3944 + 4.3945 +DROP TABLE IF EXISTS `llx_product_fournisseur_price_log`; 4.3946 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3947 +/*!40101 SET character_set_client = utf8 */; 4.3948 +CREATE TABLE `llx_product_fournisseur_price_log` ( 4.3949 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3950 + `datec` datetime DEFAULT NULL, 4.3951 + `fk_product_fournisseur` int(11) NOT NULL, 4.3952 + `price` double(24,8) DEFAULT '0.00000000', 4.3953 + `quantity` double DEFAULT NULL, 4.3954 + `fk_user` int(11) DEFAULT NULL, 4.3955 + PRIMARY KEY (`rowid`) 4.3956 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3957 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3958 + 4.3959 +-- 4.3960 +-- Dumping data for table `llx_product_fournisseur_price_log` 4.3961 +-- 4.3962 + 4.3963 +LOCK TABLES `llx_product_fournisseur_price_log` WRITE; 4.3964 +/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` DISABLE KEYS */; 4.3965 +/*!40000 ALTER TABLE `llx_product_fournisseur_price_log` ENABLE KEYS */; 4.3966 +UNLOCK TABLES; 4.3967 + 4.3968 +-- 4.3969 +-- Table structure for table `llx_product_lang` 4.3970 +-- 4.3971 + 4.3972 +DROP TABLE IF EXISTS `llx_product_lang`; 4.3973 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.3974 +/*!40101 SET character_set_client = utf8 */; 4.3975 +CREATE TABLE `llx_product_lang` ( 4.3976 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.3977 + `fk_product` int(11) NOT NULL DEFAULT '0', 4.3978 + `lang` varchar(5) NOT NULL DEFAULT '0', 4.3979 + `label` varchar(255) NOT NULL, 4.3980 + `description` text, 4.3981 + `note` text, 4.3982 + PRIMARY KEY (`rowid`), 4.3983 + UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`) 4.3984 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.3985 +/*!40101 SET character_set_client = @saved_cs_client */; 4.3986 + 4.3987 +-- 4.3988 +-- Dumping data for table `llx_product_lang` 4.3989 +-- 4.3990 + 4.3991 +LOCK TABLES `llx_product_lang` WRITE; 4.3992 +/*!40000 ALTER TABLE `llx_product_lang` DISABLE KEYS */; 4.3993 +/*!40000 ALTER TABLE `llx_product_lang` ENABLE KEYS */; 4.3994 +UNLOCK TABLES; 4.3995 + 4.3996 +-- 4.3997 +-- Table structure for table `llx_product_price` 4.3998 +-- 4.3999 + 4.4000 +DROP TABLE IF EXISTS `llx_product_price`; 4.4001 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4002 +/*!40101 SET character_set_client = utf8 */; 4.4003 +CREATE TABLE `llx_product_price` ( 4.4004 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4005 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4006 + `fk_product` int(11) NOT NULL, 4.4007 + `date_price` datetime NOT NULL, 4.4008 + `price_level` smallint(6) DEFAULT '1', 4.4009 + `price` double(24,8) DEFAULT NULL, 4.4010 + `price_ttc` double(24,8) DEFAULT NULL, 4.4011 + `price_min` double(24,8) DEFAULT NULL, 4.4012 + `price_min_ttc` double(24,8) DEFAULT NULL, 4.4013 + `price_base_type` varchar(3) DEFAULT 'HT', 4.4014 + `tva_tx` double(6,3) NOT NULL, 4.4015 + `recuperableonly` int(11) NOT NULL DEFAULT '0', 4.4016 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.4017 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.4018 + `fk_user_author` int(11) DEFAULT NULL, 4.4019 + `tosell` tinyint(4) DEFAULT '1', 4.4020 + PRIMARY KEY (`rowid`) 4.4021 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4022 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4023 + 4.4024 +-- 4.4025 +-- Dumping data for table `llx_product_price` 4.4026 +-- 4.4027 + 4.4028 +LOCK TABLES `llx_product_price` WRITE; 4.4029 +/*!40000 ALTER TABLE `llx_product_price` DISABLE KEYS */; 4.4030 +/*!40000 ALTER TABLE `llx_product_price` ENABLE KEYS */; 4.4031 +UNLOCK TABLES; 4.4032 + 4.4033 +-- 4.4034 +-- Table structure for table `llx_product_stock` 4.4035 +-- 4.4036 + 4.4037 +DROP TABLE IF EXISTS `llx_product_stock`; 4.4038 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4039 +/*!40101 SET character_set_client = utf8 */; 4.4040 +CREATE TABLE `llx_product_stock` ( 4.4041 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4042 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4043 + `fk_product` int(11) NOT NULL, 4.4044 + `fk_entrepot` int(11) NOT NULL, 4.4045 + `reel` double DEFAULT NULL, 4.4046 + `pmp` double(24,8) NOT NULL DEFAULT '0.00000000', 4.4047 + PRIMARY KEY (`rowid`), 4.4048 + UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`), 4.4049 + KEY `idx_product_stock_fk_product` (`fk_product`), 4.4050 + KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`) 4.4051 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4052 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4053 + 4.4054 +-- 4.4055 +-- Dumping data for table `llx_product_stock` 4.4056 +-- 4.4057 + 4.4058 +LOCK TABLES `llx_product_stock` WRITE; 4.4059 +/*!40000 ALTER TABLE `llx_product_stock` DISABLE KEYS */; 4.4060 +/*!40000 ALTER TABLE `llx_product_stock` ENABLE KEYS */; 4.4061 +UNLOCK TABLES; 4.4062 + 4.4063 +-- 4.4064 +-- Table structure for table `llx_projet` 4.4065 +-- 4.4066 + 4.4067 +DROP TABLE IF EXISTS `llx_projet`; 4.4068 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4069 +/*!40101 SET character_set_client = utf8 */; 4.4070 +CREATE TABLE `llx_projet` ( 4.4071 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4072 + `fk_soc` int(11) DEFAULT NULL, 4.4073 + `datec` date DEFAULT NULL, 4.4074 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4075 + `dateo` date DEFAULT NULL, 4.4076 + `datee` date DEFAULT NULL, 4.4077 + `ref` varchar(50) DEFAULT NULL, 4.4078 + `entity` int(11) NOT NULL DEFAULT '1', 4.4079 + `title` varchar(255) NOT NULL, 4.4080 + `description` text, 4.4081 + `fk_user_creat` int(11) NOT NULL, 4.4082 + `public` int(11) DEFAULT NULL, 4.4083 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.4084 + `note_private` text, 4.4085 + `note_public` text, 4.4086 + `model_pdf` varchar(50) DEFAULT NULL, 4.4087 + PRIMARY KEY (`rowid`), 4.4088 + UNIQUE KEY `uk_projet_ref` (`ref`,`entity`), 4.4089 + KEY `idx_projet_fk_soc` (`fk_soc`) 4.4090 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4091 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4092 + 4.4093 +-- 4.4094 +-- Dumping data for table `llx_projet` 4.4095 +-- 4.4096 + 4.4097 +LOCK TABLES `llx_projet` WRITE; 4.4098 +/*!40000 ALTER TABLE `llx_projet` DISABLE KEYS */; 4.4099 +/*!40000 ALTER TABLE `llx_projet` ENABLE KEYS */; 4.4100 +UNLOCK TABLES; 4.4101 + 4.4102 +-- 4.4103 +-- Table structure for table `llx_projet_task` 4.4104 +-- 4.4105 + 4.4106 +DROP TABLE IF EXISTS `llx_projet_task`; 4.4107 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4108 +/*!40101 SET character_set_client = utf8 */; 4.4109 +CREATE TABLE `llx_projet_task` ( 4.4110 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4111 + `fk_projet` int(11) NOT NULL, 4.4112 + `fk_task_parent` int(11) NOT NULL DEFAULT '0', 4.4113 + `datec` datetime DEFAULT NULL, 4.4114 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4115 + `dateo` datetime DEFAULT NULL, 4.4116 + `datee` datetime DEFAULT NULL, 4.4117 + `datev` datetime DEFAULT NULL, 4.4118 + `label` varchar(255) NOT NULL, 4.4119 + `description` text, 4.4120 + `duration_effective` double NOT NULL DEFAULT '0', 4.4121 + `progress` int(11) DEFAULT '0', 4.4122 + `priority` int(11) DEFAULT '0', 4.4123 + `fk_user_creat` int(11) DEFAULT NULL, 4.4124 + `fk_user_valid` int(11) DEFAULT NULL, 4.4125 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.4126 + `note_private` text, 4.4127 + `note_public` text, 4.4128 + `rang` int(11) DEFAULT '0', 4.4129 + PRIMARY KEY (`rowid`), 4.4130 + KEY `idx_projet_task_fk_projet` (`fk_projet`), 4.4131 + KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`), 4.4132 + KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`) 4.4133 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4134 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4135 + 4.4136 +-- 4.4137 +-- Dumping data for table `llx_projet_task` 4.4138 +-- 4.4139 + 4.4140 +LOCK TABLES `llx_projet_task` WRITE; 4.4141 +/*!40000 ALTER TABLE `llx_projet_task` DISABLE KEYS */; 4.4142 +/*!40000 ALTER TABLE `llx_projet_task` ENABLE KEYS */; 4.4143 +UNLOCK TABLES; 4.4144 + 4.4145 +-- 4.4146 +-- Table structure for table `llx_projet_task_time` 4.4147 +-- 4.4148 + 4.4149 +DROP TABLE IF EXISTS `llx_projet_task_time`; 4.4150 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4151 +/*!40101 SET character_set_client = utf8 */; 4.4152 +CREATE TABLE `llx_projet_task_time` ( 4.4153 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4154 + `fk_task` int(11) NOT NULL, 4.4155 + `task_date` date DEFAULT NULL, 4.4156 + `task_duration` double DEFAULT NULL, 4.4157 + `fk_user` int(11) DEFAULT NULL, 4.4158 + `note` text, 4.4159 + PRIMARY KEY (`rowid`) 4.4160 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4161 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4162 + 4.4163 +-- 4.4164 +-- Dumping data for table `llx_projet_task_time` 4.4165 +-- 4.4166 + 4.4167 +LOCK TABLES `llx_projet_task_time` WRITE; 4.4168 +/*!40000 ALTER TABLE `llx_projet_task_time` DISABLE KEYS */; 4.4169 +/*!40000 ALTER TABLE `llx_projet_task_time` ENABLE KEYS */; 4.4170 +UNLOCK TABLES; 4.4171 + 4.4172 +-- 4.4173 +-- Table structure for table `llx_propal` 4.4174 +-- 4.4175 + 4.4176 +DROP TABLE IF EXISTS `llx_propal`; 4.4177 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4178 +/*!40101 SET character_set_client = utf8 */; 4.4179 +CREATE TABLE `llx_propal` ( 4.4180 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4181 + `fk_soc` int(11) DEFAULT NULL, 4.4182 + `fk_projet` int(11) DEFAULT '0', 4.4183 + `ref` varchar(30) NOT NULL, 4.4184 + `entity` int(11) NOT NULL DEFAULT '1', 4.4185 + `ref_ext` varchar(30) DEFAULT NULL, 4.4186 + `ref_client` varchar(30) DEFAULT NULL, 4.4187 + `datec` datetime DEFAULT NULL, 4.4188 + `datep` date DEFAULT NULL, 4.4189 + `fin_validite` datetime DEFAULT NULL, 4.4190 + `date_valid` datetime DEFAULT NULL, 4.4191 + `date_cloture` datetime DEFAULT NULL, 4.4192 + `fk_user_author` int(11) DEFAULT NULL, 4.4193 + `fk_user_valid` int(11) DEFAULT NULL, 4.4194 + `fk_user_cloture` int(11) DEFAULT NULL, 4.4195 + `fk_statut` smallint(6) NOT NULL DEFAULT '0', 4.4196 + `price` double DEFAULT '0', 4.4197 + `remise_percent` double DEFAULT '0', 4.4198 + `remise_absolue` double DEFAULT '0', 4.4199 + `remise` double DEFAULT '0', 4.4200 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.4201 + `tva` double(24,8) DEFAULT '0.00000000', 4.4202 + `localtax1` double(24,8) DEFAULT '0.00000000', 4.4203 + `localtax2` double(24,8) DEFAULT '0.00000000', 4.4204 + `total` double(24,8) DEFAULT '0.00000000', 4.4205 + `fk_cond_reglement` int(11) DEFAULT NULL, 4.4206 + `fk_mode_reglement` int(11) DEFAULT NULL, 4.4207 + `note` text, 4.4208 + `note_public` text, 4.4209 + `model_pdf` varchar(50) DEFAULT NULL, 4.4210 + `date_livraison` date DEFAULT NULL, 4.4211 + `fk_adresse_livraison` int(11) DEFAULT NULL, 4.4212 + PRIMARY KEY (`rowid`), 4.4213 + UNIQUE KEY `uk_propal_ref` (`ref`,`entity`), 4.4214 + KEY `idx_propal_fk_soc` (`fk_soc`) 4.4215 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4216 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4217 + 4.4218 +-- 4.4219 +-- Dumping data for table `llx_propal` 4.4220 +-- 4.4221 + 4.4222 +LOCK TABLES `llx_propal` WRITE; 4.4223 +/*!40000 ALTER TABLE `llx_propal` DISABLE KEYS */; 4.4224 +/*!40000 ALTER TABLE `llx_propal` ENABLE KEYS */; 4.4225 +UNLOCK TABLES; 4.4226 + 4.4227 +-- 4.4228 +-- Table structure for table `llx_propaldet` 4.4229 +-- 4.4230 + 4.4231 +DROP TABLE IF EXISTS `llx_propaldet`; 4.4232 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4233 +/*!40101 SET character_set_client = utf8 */; 4.4234 +CREATE TABLE `llx_propaldet` ( 4.4235 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4236 + `fk_propal` int(11) NOT NULL, 4.4237 + `fk_parent_line` int(11) DEFAULT NULL, 4.4238 + `fk_product` int(11) DEFAULT NULL, 4.4239 + `description` text, 4.4240 + `fk_remise_except` int(11) DEFAULT NULL, 4.4241 + `tva_tx` double(6,3) DEFAULT '0.000', 4.4242 + `localtax1_tx` double(6,3) DEFAULT '0.000', 4.4243 + `localtax2_tx` double(6,3) DEFAULT '0.000', 4.4244 + `qty` double DEFAULT NULL, 4.4245 + `remise_percent` double DEFAULT '0', 4.4246 + `remise` double DEFAULT '0', 4.4247 + `price` double DEFAULT NULL, 4.4248 + `subprice` double(24,8) DEFAULT '0.00000000', 4.4249 + `total_ht` double(24,8) DEFAULT '0.00000000', 4.4250 + `total_tva` double(24,8) DEFAULT '0.00000000', 4.4251 + `total_localtax1` double(24,8) DEFAULT '0.00000000', 4.4252 + `total_localtax2` double(24,8) DEFAULT '0.00000000', 4.4253 + `total_ttc` double(24,8) DEFAULT '0.00000000', 4.4254 + `product_type` int(11) DEFAULT '0', 4.4255 + `date_start` datetime DEFAULT NULL, 4.4256 + `date_end` datetime DEFAULT NULL, 4.4257 + `info_bits` int(11) DEFAULT '0', 4.4258 + `pa_ht` double(24,8) DEFAULT '0.00000000', 4.4259 + `marge_tx` double(6,3) DEFAULT '0.000', 4.4260 + `marque_tx` double(6,3) DEFAULT '0.000', 4.4261 + `special_code` int(10) unsigned DEFAULT '0', 4.4262 + `rang` int(11) DEFAULT '0', 4.4263 + PRIMARY KEY (`rowid`), 4.4264 + KEY `idx_propaldet_fk_propal` (`fk_propal`) 4.4265 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4266 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4267 + 4.4268 +-- 4.4269 +-- Dumping data for table `llx_propaldet` 4.4270 +-- 4.4271 + 4.4272 +LOCK TABLES `llx_propaldet` WRITE; 4.4273 +/*!40000 ALTER TABLE `llx_propaldet` DISABLE KEYS */; 4.4274 +/*!40000 ALTER TABLE `llx_propaldet` ENABLE KEYS */; 4.4275 +UNLOCK TABLES; 4.4276 + 4.4277 +-- 4.4278 +-- Table structure for table `llx_rights_def` 4.4279 +-- 4.4280 + 4.4281 +DROP TABLE IF EXISTS `llx_rights_def`; 4.4282 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4283 +/*!40101 SET character_set_client = utf8 */; 4.4284 +CREATE TABLE `llx_rights_def` ( 4.4285 + `id` int(11) NOT NULL DEFAULT '0', 4.4286 + `libelle` varchar(255) DEFAULT NULL, 4.4287 + `module` varchar(64) DEFAULT NULL, 4.4288 + `entity` int(11) NOT NULL DEFAULT '1', 4.4289 + `perms` varchar(50) DEFAULT NULL, 4.4290 + `subperms` varchar(50) DEFAULT NULL, 4.4291 + `type` varchar(1) DEFAULT NULL, 4.4292 + `bydefault` tinyint(4) DEFAULT '0', 4.4293 + PRIMARY KEY (`id`,`entity`) 4.4294 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4295 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4296 + 4.4297 +-- 4.4298 +-- Dumping data for table `llx_rights_def` 4.4299 +-- 4.4300 + 4.4301 +LOCK TABLES `llx_rights_def` WRITE; 4.4302 +/*!40000 ALTER TABLE `llx_rights_def` DISABLE KEYS */; 4.4303 +INSERT INTO `llx_rights_def` VALUES (251,'Consulter les autres utilisateurs','user',1,'user','lire','r',0),(252,'Consulter les permissions des autres utilisateurs','user',1,'user_advance','readperms','r',0),(253,'Creer/modifier utilisateurs internes et externes','user',1,'user','creer','w',0),(254,'Creer/modifier utilisateurs externes seulement','user',1,'user_advance','write','w',0),(255,'Modifier le mot de passe des autres utilisateurs','user',1,'user','password','w',0),(256,'Supprimer ou desactiver les autres utilisateurs','user',1,'user','supprimer','d',0),(341,'Consulter ses propres permissions','user',1,'self_advance','readperms','r',1),(342,'Creer/modifier ses propres infos utilisateur','user',1,'self','creer','w',1),(343,'Modifier son propre mot de passe','user',1,'self','password','w',1),(344,'Modifier ses propres permissions','user',1,'self_advance','writeperms','w',1),(351,'Consulter les groupes','user',1,'group_advance','read','r',0),(352,'Consulter les permissions des groupes','user',1,'group_advance','readperms','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); 4.4304 +/*!40000 ALTER TABLE `llx_rights_def` ENABLE KEYS */; 4.4305 +UNLOCK TABLES; 4.4306 + 4.4307 +-- 4.4308 +-- Table structure for table `llx_societe` 4.4309 +-- 4.4310 + 4.4311 +DROP TABLE IF EXISTS `llx_societe`; 4.4312 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4313 +/*!40101 SET character_set_client = utf8 */; 4.4314 +CREATE TABLE `llx_societe` ( 4.4315 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4316 + `statut` tinyint(4) DEFAULT '0', 4.4317 + `parent` int(11) DEFAULT NULL, 4.4318 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4319 + `datec` datetime DEFAULT NULL, 4.4320 + `datea` datetime DEFAULT NULL, 4.4321 + `nom` varchar(60) DEFAULT NULL, 4.4322 + `entity` int(11) NOT NULL DEFAULT '1', 4.4323 + `ref_ext` varchar(60) DEFAULT NULL, 4.4324 + `code_client` varchar(15) DEFAULT NULL, 4.4325 + `code_fournisseur` varchar(15) DEFAULT NULL, 4.4326 + `code_compta` varchar(15) DEFAULT NULL, 4.4327 + `code_compta_fournisseur` varchar(15) DEFAULT NULL, 4.4328 + `address` varchar(255) DEFAULT NULL, 4.4329 + `cp` varchar(10) DEFAULT NULL, 4.4330 + `ville` varchar(50) DEFAULT NULL, 4.4331 + `fk_departement` int(11) DEFAULT '0', 4.4332 + `fk_pays` int(11) DEFAULT '0', 4.4333 + `tel` varchar(20) DEFAULT NULL, 4.4334 + `fax` varchar(20) DEFAULT NULL, 4.4335 + `url` varchar(255) DEFAULT NULL, 4.4336 + `email` varchar(128) DEFAULT NULL, 4.4337 + `fk_secteur` int(11) DEFAULT '0', 4.4338 + `fk_effectif` int(11) DEFAULT '0', 4.4339 + `fk_typent` int(11) DEFAULT '0', 4.4340 + `fk_forme_juridique` int(11) DEFAULT '0', 4.4341 + `siren` varchar(16) DEFAULT NULL, 4.4342 + `siret` varchar(16) DEFAULT NULL, 4.4343 + `ape` varchar(16) DEFAULT NULL, 4.4344 + `idprof4` varchar(16) DEFAULT NULL, 4.4345 + `tva_intra` varchar(20) DEFAULT NULL, 4.4346 + `capital` double DEFAULT NULL, 4.4347 + `description` text, 4.4348 + `fk_stcomm` smallint(6) DEFAULT '0', 4.4349 + `note` text, 4.4350 + `services` tinyint(4) DEFAULT '0', 4.4351 + `prefix_comm` varchar(5) DEFAULT NULL, 4.4352 + `client` tinyint(4) DEFAULT '0', 4.4353 + `fournisseur` tinyint(4) DEFAULT '0', 4.4354 + `supplier_account` varchar(32) DEFAULT NULL, 4.4355 + `fk_prospectlevel` varchar(12) DEFAULT NULL, 4.4356 + `customer_bad` tinyint(4) DEFAULT '0', 4.4357 + `customer_rate` double DEFAULT '0', 4.4358 + `supplier_rate` double DEFAULT '0', 4.4359 + `fk_user_creat` int(11) DEFAULT NULL, 4.4360 + `fk_user_modif` int(11) DEFAULT NULL, 4.4361 + `remise_client` double DEFAULT '0', 4.4362 + `mode_reglement` tinyint(4) DEFAULT NULL, 4.4363 + `cond_reglement` tinyint(4) DEFAULT NULL, 4.4364 + `tva_assuj` tinyint(4) DEFAULT '1', 4.4365 + `localtax1_assuj` tinyint(4) DEFAULT '0', 4.4366 + `localtax2_assuj` tinyint(4) DEFAULT '0', 4.4367 + `gencod` varchar(255) DEFAULT NULL, 4.4368 + `price_level` int(11) DEFAULT NULL, 4.4369 + `default_lang` varchar(6) DEFAULT NULL, 4.4370 + `canvas` varchar(32) DEFAULT NULL, 4.4371 + `import_key` varchar(14) DEFAULT NULL, 4.4372 + PRIMARY KEY (`rowid`), 4.4373 + UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`), 4.4374 + UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`), 4.4375 + KEY `idx_societe_user_creat` (`fk_user_creat`), 4.4376 + KEY `idx_societe_user_modif` (`fk_user_modif`) 4.4377 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4378 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4379 + 4.4380 +-- 4.4381 +-- Dumping data for table `llx_societe` 4.4382 +-- 4.4383 + 4.4384 +LOCK TABLES `llx_societe` WRITE; 4.4385 +/*!40000 ALTER TABLE `llx_societe` DISABLE KEYS */; 4.4386 +/*!40000 ALTER TABLE `llx_societe` ENABLE KEYS */; 4.4387 +UNLOCK TABLES; 4.4388 + 4.4389 +-- 4.4390 +-- Table structure for table `llx_societe_address` 4.4391 +-- 4.4392 + 4.4393 +DROP TABLE IF EXISTS `llx_societe_address`; 4.4394 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4395 +/*!40101 SET character_set_client = utf8 */; 4.4396 +CREATE TABLE `llx_societe_address` ( 4.4397 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4398 + `datec` datetime DEFAULT NULL, 4.4399 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4400 + `label` varchar(30) DEFAULT NULL, 4.4401 + `fk_soc` int(11) DEFAULT '0', 4.4402 + `name` varchar(60) DEFAULT NULL, 4.4403 + `address` varchar(255) DEFAULT NULL, 4.4404 + `cp` varchar(10) DEFAULT NULL, 4.4405 + `ville` varchar(50) DEFAULT NULL, 4.4406 + `fk_pays` int(11) DEFAULT '0', 4.4407 + `tel` varchar(20) DEFAULT NULL, 4.4408 + `fax` varchar(20) DEFAULT NULL, 4.4409 + `note` text, 4.4410 + `fk_user_creat` int(11) DEFAULT NULL, 4.4411 + `fk_user_modif` int(11) DEFAULT NULL, 4.4412 + PRIMARY KEY (`rowid`) 4.4413 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4414 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4415 + 4.4416 +-- 4.4417 +-- Dumping data for table `llx_societe_address` 4.4418 +-- 4.4419 + 4.4420 +LOCK TABLES `llx_societe_address` WRITE; 4.4421 +/*!40000 ALTER TABLE `llx_societe_address` DISABLE KEYS */; 4.4422 +/*!40000 ALTER TABLE `llx_societe_address` ENABLE KEYS */; 4.4423 +UNLOCK TABLES; 4.4424 + 4.4425 +-- 4.4426 +-- Table structure for table `llx_societe_commerciaux` 4.4427 +-- 4.4428 + 4.4429 +DROP TABLE IF EXISTS `llx_societe_commerciaux`; 4.4430 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4431 +/*!40101 SET character_set_client = utf8 */; 4.4432 +CREATE TABLE `llx_societe_commerciaux` ( 4.4433 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4434 + `fk_soc` int(11) DEFAULT NULL, 4.4435 + `fk_user` int(11) DEFAULT NULL, 4.4436 + PRIMARY KEY (`rowid`), 4.4437 + UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`) 4.4438 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4439 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4440 + 4.4441 +-- 4.4442 +-- Dumping data for table `llx_societe_commerciaux` 4.4443 +-- 4.4444 + 4.4445 +LOCK TABLES `llx_societe_commerciaux` WRITE; 4.4446 +/*!40000 ALTER TABLE `llx_societe_commerciaux` DISABLE KEYS */; 4.4447 +/*!40000 ALTER TABLE `llx_societe_commerciaux` ENABLE KEYS */; 4.4448 +UNLOCK TABLES; 4.4449 + 4.4450 +-- 4.4451 +-- Table structure for table `llx_societe_log` 4.4452 +-- 4.4453 + 4.4454 +DROP TABLE IF EXISTS `llx_societe_log`; 4.4455 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4456 +/*!40101 SET character_set_client = utf8 */; 4.4457 +CREATE TABLE `llx_societe_log` ( 4.4458 + `id` int(11) NOT NULL AUTO_INCREMENT, 4.4459 + `datel` datetime DEFAULT NULL, 4.4460 + `fk_soc` int(11) DEFAULT NULL, 4.4461 + `fk_statut` int(11) DEFAULT NULL, 4.4462 + `fk_user` int(11) DEFAULT NULL, 4.4463 + `author` varchar(30) DEFAULT NULL, 4.4464 + `label` varchar(128) DEFAULT NULL, 4.4465 + PRIMARY KEY (`id`) 4.4466 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4467 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4468 + 4.4469 +-- 4.4470 +-- Dumping data for table `llx_societe_log` 4.4471 +-- 4.4472 + 4.4473 +LOCK TABLES `llx_societe_log` WRITE; 4.4474 +/*!40000 ALTER TABLE `llx_societe_log` DISABLE KEYS */; 4.4475 +/*!40000 ALTER TABLE `llx_societe_log` ENABLE KEYS */; 4.4476 +UNLOCK TABLES; 4.4477 + 4.4478 +-- 4.4479 +-- Table structure for table `llx_societe_prices` 4.4480 +-- 4.4481 + 4.4482 +DROP TABLE IF EXISTS `llx_societe_prices`; 4.4483 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4484 +/*!40101 SET character_set_client = utf8 */; 4.4485 +CREATE TABLE `llx_societe_prices` ( 4.4486 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4487 + `fk_soc` int(11) DEFAULT '0', 4.4488 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4489 + `datec` datetime DEFAULT NULL, 4.4490 + `fk_user_author` int(11) DEFAULT NULL, 4.4491 + `price_level` tinyint(4) DEFAULT '1', 4.4492 + PRIMARY KEY (`rowid`) 4.4493 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4494 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4495 + 4.4496 +-- 4.4497 +-- Dumping data for table `llx_societe_prices` 4.4498 +-- 4.4499 + 4.4500 +LOCK TABLES `llx_societe_prices` WRITE; 4.4501 +/*!40000 ALTER TABLE `llx_societe_prices` DISABLE KEYS */; 4.4502 +/*!40000 ALTER TABLE `llx_societe_prices` ENABLE KEYS */; 4.4503 +UNLOCK TABLES; 4.4504 + 4.4505 +-- 4.4506 +-- Table structure for table `llx_societe_remise` 4.4507 +-- 4.4508 + 4.4509 +DROP TABLE IF EXISTS `llx_societe_remise`; 4.4510 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4511 +/*!40101 SET character_set_client = utf8 */; 4.4512 +CREATE TABLE `llx_societe_remise` ( 4.4513 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4514 + `fk_soc` int(11) NOT NULL, 4.4515 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4516 + `datec` datetime DEFAULT NULL, 4.4517 + `fk_user_author` int(11) DEFAULT NULL, 4.4518 + `remise_client` double(6,3) NOT NULL DEFAULT '0.000', 4.4519 + `note` text, 4.4520 + PRIMARY KEY (`rowid`) 4.4521 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4522 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4523 + 4.4524 +-- 4.4525 +-- Dumping data for table `llx_societe_remise` 4.4526 +-- 4.4527 + 4.4528 +LOCK TABLES `llx_societe_remise` WRITE; 4.4529 +/*!40000 ALTER TABLE `llx_societe_remise` DISABLE KEYS */; 4.4530 +/*!40000 ALTER TABLE `llx_societe_remise` ENABLE KEYS */; 4.4531 +UNLOCK TABLES; 4.4532 + 4.4533 +-- 4.4534 +-- Table structure for table `llx_societe_remise_except` 4.4535 +-- 4.4536 + 4.4537 +DROP TABLE IF EXISTS `llx_societe_remise_except`; 4.4538 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4539 +/*!40101 SET character_set_client = utf8 */; 4.4540 +CREATE TABLE `llx_societe_remise_except` ( 4.4541 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4542 + `fk_soc` int(11) NOT NULL, 4.4543 + `datec` datetime DEFAULT NULL, 4.4544 + `amount_ht` double(24,8) NOT NULL, 4.4545 + `amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000', 4.4546 + `amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000', 4.4547 + `tva_tx` double(6,3) NOT NULL DEFAULT '0.000', 4.4548 + `fk_user` int(11) NOT NULL, 4.4549 + `fk_facture_line` int(11) DEFAULT NULL, 4.4550 + `fk_facture` int(11) DEFAULT NULL, 4.4551 + `fk_facture_source` int(11) DEFAULT NULL, 4.4552 + `description` varchar(255) NOT NULL, 4.4553 + PRIMARY KEY (`rowid`), 4.4554 + KEY `idx_societe_remise_except_fk_user` (`fk_user`), 4.4555 + KEY `idx_societe_remise_except_fk_soc` (`fk_soc`), 4.4556 + KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`), 4.4557 + KEY `idx_societe_remise_except_fk_facture` (`fk_facture`), 4.4558 + KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`) 4.4559 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4560 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4561 + 4.4562 +-- 4.4563 +-- Dumping data for table `llx_societe_remise_except` 4.4564 +-- 4.4565 + 4.4566 +LOCK TABLES `llx_societe_remise_except` WRITE; 4.4567 +/*!40000 ALTER TABLE `llx_societe_remise_except` DISABLE KEYS */; 4.4568 +/*!40000 ALTER TABLE `llx_societe_remise_except` ENABLE KEYS */; 4.4569 +UNLOCK TABLES; 4.4570 + 4.4571 +-- 4.4572 +-- Table structure for table `llx_societe_rib` 4.4573 +-- 4.4574 + 4.4575 +DROP TABLE IF EXISTS `llx_societe_rib`; 4.4576 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4577 +/*!40101 SET character_set_client = utf8 */; 4.4578 +CREATE TABLE `llx_societe_rib` ( 4.4579 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4580 + `fk_soc` int(11) NOT NULL, 4.4581 + `datec` datetime DEFAULT NULL, 4.4582 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4583 + `label` varchar(30) DEFAULT NULL, 4.4584 + `bank` varchar(255) DEFAULT NULL, 4.4585 + `code_banque` varchar(7) DEFAULT NULL, 4.4586 + `code_guichet` varchar(6) DEFAULT NULL, 4.4587 + `number` varchar(255) DEFAULT NULL, 4.4588 + `cle_rib` varchar(5) DEFAULT NULL, 4.4589 + `bic` varchar(10) DEFAULT NULL, 4.4590 + `iban_prefix` varchar(34) DEFAULT NULL, 4.4591 + `domiciliation` varchar(255) DEFAULT NULL, 4.4592 + `proprio` varchar(60) DEFAULT NULL, 4.4593 + `adresse_proprio` varchar(255) DEFAULT NULL, 4.4594 + PRIMARY KEY (`rowid`) 4.4595 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4596 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4597 + 4.4598 +-- 4.4599 +-- Dumping data for table `llx_societe_rib` 4.4600 +-- 4.4601 + 4.4602 +LOCK TABLES `llx_societe_rib` WRITE; 4.4603 +/*!40000 ALTER TABLE `llx_societe_rib` DISABLE KEYS */; 4.4604 +/*!40000 ALTER TABLE `llx_societe_rib` ENABLE KEYS */; 4.4605 +UNLOCK TABLES; 4.4606 + 4.4607 +-- 4.4608 +-- Table structure for table `llx_socpeople` 4.4609 +-- 4.4610 + 4.4611 +DROP TABLE IF EXISTS `llx_socpeople`; 4.4612 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4613 +/*!40101 SET character_set_client = utf8 */; 4.4614 +CREATE TABLE `llx_socpeople` ( 4.4615 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4616 + `datec` datetime DEFAULT NULL, 4.4617 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4618 + `fk_soc` int(11) DEFAULT NULL, 4.4619 + `entity` int(11) NOT NULL DEFAULT '1', 4.4620 + `civilite` varchar(6) DEFAULT NULL, 4.4621 + `name` varchar(50) DEFAULT NULL, 4.4622 + `firstname` varchar(50) DEFAULT NULL, 4.4623 + `address` varchar(255) DEFAULT NULL, 4.4624 + `cp` varchar(25) DEFAULT NULL, 4.4625 + `ville` varchar(255) DEFAULT NULL, 4.4626 + `fk_departement` int(11) DEFAULT NULL, 4.4627 + `fk_pays` int(11) DEFAULT '0', 4.4628 + `birthday` date DEFAULT NULL, 4.4629 + `poste` varchar(80) DEFAULT NULL, 4.4630 + `phone` varchar(30) DEFAULT NULL, 4.4631 + `phone_perso` varchar(30) DEFAULT NULL, 4.4632 + `phone_mobile` varchar(30) DEFAULT NULL, 4.4633 + `fax` varchar(30) DEFAULT NULL, 4.4634 + `email` varchar(255) DEFAULT NULL, 4.4635 + `jabberid` varchar(255) DEFAULT NULL, 4.4636 + `priv` smallint(6) NOT NULL DEFAULT '0', 4.4637 + `fk_user_creat` int(11) DEFAULT '0', 4.4638 + `fk_user_modif` int(11) DEFAULT NULL, 4.4639 + `note` text, 4.4640 + `default_lang` varchar(6) DEFAULT NULL, 4.4641 + `canvas` varchar(32) DEFAULT NULL, 4.4642 + `import_key` varchar(14) DEFAULT NULL, 4.4643 + PRIMARY KEY (`rowid`), 4.4644 + KEY `idx_socpeople_fk_soc` (`fk_soc`), 4.4645 + KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`) 4.4646 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4647 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4648 + 4.4649 +-- 4.4650 +-- Dumping data for table `llx_socpeople` 4.4651 +-- 4.4652 + 4.4653 +LOCK TABLES `llx_socpeople` WRITE; 4.4654 +/*!40000 ALTER TABLE `llx_socpeople` DISABLE KEYS */; 4.4655 +/*!40000 ALTER TABLE `llx_socpeople` ENABLE KEYS */; 4.4656 +UNLOCK TABLES; 4.4657 + 4.4658 +-- 4.4659 +-- Table structure for table `llx_stock_mouvement` 4.4660 +-- 4.4661 + 4.4662 +DROP TABLE IF EXISTS `llx_stock_mouvement`; 4.4663 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4664 +/*!40101 SET character_set_client = utf8 */; 4.4665 +CREATE TABLE `llx_stock_mouvement` ( 4.4666 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4667 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4668 + `datem` datetime DEFAULT NULL, 4.4669 + `fk_product` int(11) NOT NULL, 4.4670 + `fk_entrepot` int(11) NOT NULL, 4.4671 + `value` int(11) DEFAULT NULL, 4.4672 + `price` float(13,4) DEFAULT '0.0000', 4.4673 + `type_mouvement` smallint(6) DEFAULT NULL, 4.4674 + `fk_user_author` int(11) DEFAULT NULL, 4.4675 + `label` varchar(128) DEFAULT NULL, 4.4676 + PRIMARY KEY (`rowid`), 4.4677 + KEY `idx_stock_mouvement_fk_product` (`fk_product`), 4.4678 + KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`) 4.4679 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4680 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4681 + 4.4682 +-- 4.4683 +-- Dumping data for table `llx_stock_mouvement` 4.4684 +-- 4.4685 + 4.4686 +LOCK TABLES `llx_stock_mouvement` WRITE; 4.4687 +/*!40000 ALTER TABLE `llx_stock_mouvement` DISABLE KEYS */; 4.4688 +/*!40000 ALTER TABLE `llx_stock_mouvement` ENABLE KEYS */; 4.4689 +UNLOCK TABLES; 4.4690 + 4.4691 +-- 4.4692 +-- Table structure for table `llx_texts` 4.4693 +-- 4.4694 + 4.4695 +DROP TABLE IF EXISTS `llx_texts`; 4.4696 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4697 +/*!40101 SET character_set_client = utf8 */; 4.4698 +CREATE TABLE `llx_texts` ( 4.4699 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4700 + `module` varchar(32) DEFAULT NULL, 4.4701 + `typemodele` varchar(32) DEFAULT NULL, 4.4702 + `sortorder` smallint(6) DEFAULT NULL, 4.4703 + `private` smallint(6) NOT NULL DEFAULT '0', 4.4704 + `fk_user` int(11) DEFAULT NULL, 4.4705 + `title` varchar(128) DEFAULT NULL, 4.4706 + `filename` varchar(128) DEFAULT NULL, 4.4707 + `content` text, 4.4708 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4709 + PRIMARY KEY (`rowid`) 4.4710 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4711 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4712 + 4.4713 +-- 4.4714 +-- Dumping data for table `llx_texts` 4.4715 +-- 4.4716 + 4.4717 +LOCK TABLES `llx_texts` WRITE; 4.4718 +/*!40000 ALTER TABLE `llx_texts` DISABLE KEYS */; 4.4719 +/*!40000 ALTER TABLE `llx_texts` ENABLE KEYS */; 4.4720 +UNLOCK TABLES; 4.4721 + 4.4722 +-- 4.4723 +-- Table structure for table `llx_tva` 4.4724 +-- 4.4725 + 4.4726 +DROP TABLE IF EXISTS `llx_tva`; 4.4727 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4728 +/*!40101 SET character_set_client = utf8 */; 4.4729 +CREATE TABLE `llx_tva` ( 4.4730 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4731 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4732 + `datep` date DEFAULT NULL, 4.4733 + `datev` date DEFAULT NULL, 4.4734 + `amount` double NOT NULL DEFAULT '0', 4.4735 + `label` varchar(255) DEFAULT NULL, 4.4736 + `entity` int(11) NOT NULL DEFAULT '1', 4.4737 + `note` text, 4.4738 + `fk_bank` int(11) DEFAULT NULL, 4.4739 + `fk_user_creat` int(11) DEFAULT NULL, 4.4740 + `fk_user_modif` int(11) DEFAULT NULL, 4.4741 + PRIMARY KEY (`rowid`) 4.4742 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4743 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4744 + 4.4745 +-- 4.4746 +-- Dumping data for table `llx_tva` 4.4747 +-- 4.4748 + 4.4749 +LOCK TABLES `llx_tva` WRITE; 4.4750 +/*!40000 ALTER TABLE `llx_tva` DISABLE KEYS */; 4.4751 +/*!40000 ALTER TABLE `llx_tva` ENABLE KEYS */; 4.4752 +UNLOCK TABLES; 4.4753 + 4.4754 +-- 4.4755 +-- Table structure for table `llx_user` 4.4756 +-- 4.4757 + 4.4758 +DROP TABLE IF EXISTS `llx_user`; 4.4759 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4760 +/*!40101 SET character_set_client = utf8 */; 4.4761 +CREATE TABLE `llx_user` ( 4.4762 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4763 + `datec` datetime DEFAULT NULL, 4.4764 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4765 + `login` varchar(24) NOT NULL, 4.4766 + `entity` int(11) NOT NULL DEFAULT '1', 4.4767 + `pass` varchar(32) DEFAULT NULL, 4.4768 + `pass_crypted` varchar(128) DEFAULT NULL, 4.4769 + `pass_temp` varchar(32) DEFAULT NULL, 4.4770 + `name` varchar(50) DEFAULT NULL, 4.4771 + `firstname` varchar(50) DEFAULT NULL, 4.4772 + `office_phone` varchar(20) DEFAULT NULL, 4.4773 + `office_fax` varchar(20) DEFAULT NULL, 4.4774 + `user_mobile` varchar(20) DEFAULT NULL, 4.4775 + `email` varchar(255) DEFAULT NULL, 4.4776 + `admin` smallint(6) DEFAULT '0', 4.4777 + `webcal_login` varchar(25) DEFAULT NULL, 4.4778 + `phenix_login` varchar(25) DEFAULT NULL, 4.4779 + `phenix_pass` varchar(128) DEFAULT NULL, 4.4780 + `module_comm` smallint(6) DEFAULT '1', 4.4781 + `module_compta` smallint(6) DEFAULT '1', 4.4782 + `fk_societe` int(11) DEFAULT NULL, 4.4783 + `fk_socpeople` int(11) DEFAULT NULL, 4.4784 + `fk_member` int(11) DEFAULT NULL, 4.4785 + `note` text, 4.4786 + `datelastlogin` datetime DEFAULT NULL, 4.4787 + `datepreviouslogin` datetime DEFAULT NULL, 4.4788 + `egroupware_id` int(11) DEFAULT NULL, 4.4789 + `ldap_sid` varchar(255) DEFAULT NULL, 4.4790 + `openid` varchar(255) DEFAULT NULL, 4.4791 + `statut` tinyint(4) DEFAULT '1', 4.4792 + `photo` varchar(255) DEFAULT NULL, 4.4793 + `lang` varchar(6) DEFAULT NULL, 4.4794 + PRIMARY KEY (`rowid`), 4.4795 + UNIQUE KEY `uk_user_login` (`login`,`entity`), 4.4796 + UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`), 4.4797 + UNIQUE KEY `uk_user_fk_member` (`fk_member`), 4.4798 + KEY `uk_user_fk_societe` (`fk_societe`) 4.4799 +) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; 4.4800 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4801 + 4.4802 +-- 4.4803 +-- Dumping data for table `llx_user` 4.4804 +-- 4.4805 + 4.4806 +LOCK TABLES `llx_user` WRITE; 4.4807 +/*!40000 ALTER TABLE `llx_user` DISABLE KEYS */; 4.4808 +INSERT INTO `llx_user` VALUES (1,'2011-07-03 17:33:30','2011-07-03 17:33:30','manager',0,'dolibarr','1de2f00382e35238c18f9e57a3866f23',NULL,'SuperAdmin','','','','','',1,'','','',1,1,NULL,NULL,NULL,'',NULL,NULL,NULL,'',NULL,1,NULL,NULL); 4.4809 +/*!40000 ALTER TABLE `llx_user` ENABLE KEYS */; 4.4810 +UNLOCK TABLES; 4.4811 + 4.4812 +-- 4.4813 +-- Table structure for table `llx_user_alert` 4.4814 +-- 4.4815 + 4.4816 +DROP TABLE IF EXISTS `llx_user_alert`; 4.4817 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4818 +/*!40101 SET character_set_client = utf8 */; 4.4819 +CREATE TABLE `llx_user_alert` ( 4.4820 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4821 + `type` int(11) DEFAULT NULL, 4.4822 + `fk_contact` int(11) DEFAULT NULL, 4.4823 + `fk_user` int(11) DEFAULT NULL, 4.4824 + PRIMARY KEY (`rowid`) 4.4825 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4826 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4827 + 4.4828 +-- 4.4829 +-- Dumping data for table `llx_user_alert` 4.4830 +-- 4.4831 + 4.4832 +LOCK TABLES `llx_user_alert` WRITE; 4.4833 +/*!40000 ALTER TABLE `llx_user_alert` DISABLE KEYS */; 4.4834 +/*!40000 ALTER TABLE `llx_user_alert` ENABLE KEYS */; 4.4835 +UNLOCK TABLES; 4.4836 + 4.4837 +-- 4.4838 +-- Table structure for table `llx_user_clicktodial` 4.4839 +-- 4.4840 + 4.4841 +DROP TABLE IF EXISTS `llx_user_clicktodial`; 4.4842 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4843 +/*!40101 SET character_set_client = utf8 */; 4.4844 +CREATE TABLE `llx_user_clicktodial` ( 4.4845 + `fk_user` int(11) NOT NULL, 4.4846 + `login` varchar(32) DEFAULT NULL, 4.4847 + `pass` varchar(64) DEFAULT NULL, 4.4848 + `poste` varchar(20) DEFAULT NULL, 4.4849 + PRIMARY KEY (`fk_user`) 4.4850 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4851 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4852 + 4.4853 +-- 4.4854 +-- Dumping data for table `llx_user_clicktodial` 4.4855 +-- 4.4856 + 4.4857 +LOCK TABLES `llx_user_clicktodial` WRITE; 4.4858 +/*!40000 ALTER TABLE `llx_user_clicktodial` DISABLE KEYS */; 4.4859 +/*!40000 ALTER TABLE `llx_user_clicktodial` ENABLE KEYS */; 4.4860 +UNLOCK TABLES; 4.4861 + 4.4862 +-- 4.4863 +-- Table structure for table `llx_user_param` 4.4864 +-- 4.4865 + 4.4866 +DROP TABLE IF EXISTS `llx_user_param`; 4.4867 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4868 +/*!40101 SET character_set_client = utf8 */; 4.4869 +CREATE TABLE `llx_user_param` ( 4.4870 + `fk_user` int(11) NOT NULL, 4.4871 + `entity` int(11) NOT NULL DEFAULT '1', 4.4872 + `param` varchar(64) NOT NULL, 4.4873 + `value` varchar(255) NOT NULL, 4.4874 + UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`) 4.4875 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4876 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4877 + 4.4878 +-- 4.4879 +-- Dumping data for table `llx_user_param` 4.4880 +-- 4.4881 + 4.4882 +LOCK TABLES `llx_user_param` WRITE; 4.4883 +/*!40000 ALTER TABLE `llx_user_param` DISABLE KEYS */; 4.4884 +/*!40000 ALTER TABLE `llx_user_param` ENABLE KEYS */; 4.4885 +UNLOCK TABLES; 4.4886 + 4.4887 +-- 4.4888 +-- Table structure for table `llx_user_rights` 4.4889 +-- 4.4890 + 4.4891 +DROP TABLE IF EXISTS `llx_user_rights`; 4.4892 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4893 +/*!40101 SET character_set_client = utf8 */; 4.4894 +CREATE TABLE `llx_user_rights` ( 4.4895 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4896 + `fk_user` int(11) NOT NULL, 4.4897 + `fk_id` int(11) NOT NULL, 4.4898 + PRIMARY KEY (`rowid`), 4.4899 + UNIQUE KEY `uk_user_rights` (`fk_user`,`fk_id`) 4.4900 +) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; 4.4901 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4902 + 4.4903 +-- 4.4904 +-- Dumping data for table `llx_user_rights` 4.4905 +-- 4.4906 + 4.4907 +LOCK TABLES `llx_user_rights` WRITE; 4.4908 +/*!40000 ALTER TABLE `llx_user_rights` DISABLE KEYS */; 4.4909 +INSERT INTO `llx_user_rights` VALUES (1,1,341),(2,1,342),(3,1,343),(4,1,344); 4.4910 +/*!40000 ALTER TABLE `llx_user_rights` ENABLE KEYS */; 4.4911 +UNLOCK TABLES; 4.4912 + 4.4913 +-- 4.4914 +-- Table structure for table `llx_usergroup` 4.4915 +-- 4.4916 + 4.4917 +DROP TABLE IF EXISTS `llx_usergroup`; 4.4918 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4919 +/*!40101 SET character_set_client = utf8 */; 4.4920 +CREATE TABLE `llx_usergroup` ( 4.4921 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4922 + `nom` varchar(255) NOT NULL, 4.4923 + `entity` int(11) NOT NULL DEFAULT '1', 4.4924 + `datec` datetime DEFAULT NULL, 4.4925 + `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 4.4926 + `note` text, 4.4927 + PRIMARY KEY (`rowid`), 4.4928 + UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`) 4.4929 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4930 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4931 + 4.4932 +-- 4.4933 +-- Dumping data for table `llx_usergroup` 4.4934 +-- 4.4935 + 4.4936 +LOCK TABLES `llx_usergroup` WRITE; 4.4937 +/*!40000 ALTER TABLE `llx_usergroup` DISABLE KEYS */; 4.4938 +/*!40000 ALTER TABLE `llx_usergroup` ENABLE KEYS */; 4.4939 +UNLOCK TABLES; 4.4940 + 4.4941 +-- 4.4942 +-- Table structure for table `llx_usergroup_rights` 4.4943 +-- 4.4944 + 4.4945 +DROP TABLE IF EXISTS `llx_usergroup_rights`; 4.4946 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4947 +/*!40101 SET character_set_client = utf8 */; 4.4948 +CREATE TABLE `llx_usergroup_rights` ( 4.4949 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4950 + `fk_usergroup` int(11) NOT NULL, 4.4951 + `fk_id` int(11) NOT NULL, 4.4952 + PRIMARY KEY (`rowid`), 4.4953 + UNIQUE KEY `fk_usergroup` (`fk_usergroup`,`fk_id`) 4.4954 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4955 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4956 + 4.4957 +-- 4.4958 +-- Dumping data for table `llx_usergroup_rights` 4.4959 +-- 4.4960 + 4.4961 +LOCK TABLES `llx_usergroup_rights` WRITE; 4.4962 +/*!40000 ALTER TABLE `llx_usergroup_rights` DISABLE KEYS */; 4.4963 +/*!40000 ALTER TABLE `llx_usergroup_rights` ENABLE KEYS */; 4.4964 +UNLOCK TABLES; 4.4965 + 4.4966 +-- 4.4967 +-- Table structure for table `llx_usergroup_user` 4.4968 +-- 4.4969 + 4.4970 +DROP TABLE IF EXISTS `llx_usergroup_user`; 4.4971 +/*!40101 SET @saved_cs_client = @@character_set_client */; 4.4972 +/*!40101 SET character_set_client = utf8 */; 4.4973 +CREATE TABLE `llx_usergroup_user` ( 4.4974 + `rowid` int(11) NOT NULL AUTO_INCREMENT, 4.4975 + `fk_user` int(11) NOT NULL, 4.4976 + `fk_usergroup` int(11) NOT NULL, 4.4977 + PRIMARY KEY (`rowid`), 4.4978 + UNIQUE KEY `fk_user` (`fk_user`,`fk_usergroup`) 4.4979 +) ENGINE=MyISAM DEFAULT CHARSET=utf8; 4.4980 +/*!40101 SET character_set_client = @saved_cs_client */; 4.4981 + 4.4982 +-- 4.4983 +-- Dumping data for table `llx_usergroup_user` 4.4984 +-- 4.4985 + 4.4986 +LOCK TABLES `llx_usergroup_user` WRITE; 4.4987 +/*!40000 ALTER TABLE `llx_usergroup_user` DISABLE KEYS */; 4.4988 +/*!40000 ALTER TABLE `llx_usergroup_user` ENABLE KEYS */; 4.4989 +UNLOCK TABLES; 4.4990 +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; 4.4991 + 4.4992 +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 4.4993 +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 4.4994 +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 4.4995 +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 4.4996 +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 4.4997 +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 4.4998 +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; 4.4999 + 4.5000 +-- Dump completed on 2011-07-03 19:34:32
5.1 Binary file dolibarr/stuff/pixmaps/dolibarr.png has changed