wok-6.x annotate dolibarr/stuff/dolibarr-3.1.0-mysql.sql @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents 47d5f52ef21a
children
rev   line source
erjo@11827 1 -- MySQL dump 10.13 Distrib 5.1.54, for slitaz-linux-gnu (i486)
erjo@11827 2 --
erjo@11827 3 -- Host: localhost Database: dolibarr
erjo@11794 4 -- ------------------------------------------------------
erjo@11827 5 -- Server version 5.1.54-log
erjo@11794 6
erjo@11794 7 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
erjo@11794 8 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
erjo@11794 9 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
erjo@11794 10 /*!40101 SET NAMES utf8 */;
erjo@11794 11 /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
erjo@11794 12 /*!40103 SET TIME_ZONE='+00:00' */;
erjo@11794 13 /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
erjo@11794 14 /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
erjo@11794 15 /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
erjo@11794 16 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
erjo@11794 17
erjo@11794 18 --
erjo@11794 19 -- Table structure for table `llx_accountingaccount`
erjo@11794 20 --
erjo@11794 21
erjo@11794 22 DROP TABLE IF EXISTS `llx_accountingaccount`;
erjo@11794 23 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 24 /*!40101 SET character_set_client = utf8 */;
erjo@11794 25 CREATE TABLE `llx_accountingaccount` (
erjo@11794 26 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 27 `fk_pcg_version` varchar(12) NOT NULL,
erjo@11794 28 `pcg_type` varchar(20) NOT NULL,
erjo@11794 29 `pcg_subtype` varchar(20) NOT NULL,
erjo@11794 30 `account_number` varchar(20) NOT NULL,
erjo@11794 31 `account_parent` varchar(20) DEFAULT NULL,
erjo@11794 32 `label` varchar(128) NOT NULL,
erjo@11794 33 PRIMARY KEY (`rowid`),
erjo@11794 34 KEY `idx_accountingaccount_fk_pcg_version` (`fk_pcg_version`)
erjo@11794 35 ) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8;
erjo@11794 36 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 37
erjo@11794 38 --
erjo@11794 39 -- Dumping data for table `llx_accountingaccount`
erjo@11794 40 --
erjo@11794 41
erjo@11794 42 LOCK TABLES `llx_accountingaccount` WRITE;
erjo@11794 43 /*!40000 ALTER TABLE `llx_accountingaccount` DISABLE KEYS */;
erjo@11794 44 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');
erjo@11794 45 /*!40000 ALTER TABLE `llx_accountingaccount` ENABLE KEYS */;
erjo@11794 46 UNLOCK TABLES;
erjo@11794 47
erjo@11794 48 --
erjo@11794 49 -- Table structure for table `llx_accountingdebcred`
erjo@11794 50 --
erjo@11794 51
erjo@11794 52 DROP TABLE IF EXISTS `llx_accountingdebcred`;
erjo@11794 53 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 54 /*!40101 SET character_set_client = utf8 */;
erjo@11794 55 CREATE TABLE `llx_accountingdebcred` (
erjo@11794 56 `fk_transaction` int(11) NOT NULL,
erjo@11794 57 `account_number` varchar(20) NOT NULL,
erjo@11794 58 `amount` double NOT NULL,
erjo@11794 59 `direction` varchar(1) NOT NULL
erjo@11794 60 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 61 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 62
erjo@11794 63 --
erjo@11794 64 -- Dumping data for table `llx_accountingdebcred`
erjo@11794 65 --
erjo@11794 66
erjo@11794 67 LOCK TABLES `llx_accountingdebcred` WRITE;
erjo@11794 68 /*!40000 ALTER TABLE `llx_accountingdebcred` DISABLE KEYS */;
erjo@11794 69 /*!40000 ALTER TABLE `llx_accountingdebcred` ENABLE KEYS */;
erjo@11794 70 UNLOCK TABLES;
erjo@11794 71
erjo@11794 72 --
erjo@11794 73 -- Table structure for table `llx_accountingsystem`
erjo@11794 74 --
erjo@11794 75
erjo@11794 76 DROP TABLE IF EXISTS `llx_accountingsystem`;
erjo@11794 77 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 78 /*!40101 SET character_set_client = utf8 */;
erjo@11794 79 CREATE TABLE `llx_accountingsystem` (
erjo@11794 80 `pcg_version` varchar(12) NOT NULL,
erjo@11794 81 `fk_pays` int(11) NOT NULL,
erjo@11794 82 `label` varchar(128) NOT NULL,
erjo@11794 83 `datec` varchar(12) NOT NULL,
erjo@11794 84 `fk_author` varchar(20) DEFAULT NULL,
erjo@11794 85 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 86 `active` smallint(6) DEFAULT '0',
erjo@11794 87 PRIMARY KEY (`pcg_version`)
erjo@11794 88 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 89 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 90
erjo@11794 91 --
erjo@11794 92 -- Dumping data for table `llx_accountingsystem`
erjo@11794 93 --
erjo@11794 94
erjo@11794 95 LOCK TABLES `llx_accountingsystem` WRITE;
erjo@11794 96 /*!40000 ALTER TABLE `llx_accountingsystem` DISABLE KEYS */;
erjo@11794 97 INSERT INTO `llx_accountingsystem` VALUES ('PCG99-ABREGE',1,'The simple accountancy french plan','2011-07-03',NULL,'2011-07-03 17:32:38',0);
erjo@11794 98 /*!40000 ALTER TABLE `llx_accountingsystem` ENABLE KEYS */;
erjo@11794 99 UNLOCK TABLES;
erjo@11794 100
erjo@11794 101 --
erjo@11794 102 -- Table structure for table `llx_accountingtransaction`
erjo@11794 103 --
erjo@11794 104
erjo@11794 105 DROP TABLE IF EXISTS `llx_accountingtransaction`;
erjo@11794 106 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 107 /*!40101 SET character_set_client = utf8 */;
erjo@11794 108 CREATE TABLE `llx_accountingtransaction` (
erjo@11794 109 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 110 `label` varchar(128) NOT NULL,
erjo@11794 111 `datec` date NOT NULL,
erjo@11794 112 `fk_author` varchar(20) NOT NULL,
erjo@11794 113 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 114 `fk_source` int(11) NOT NULL,
erjo@11794 115 `sourcetype` varchar(16) NOT NULL,
erjo@11794 116 `url` varchar(255) DEFAULT NULL,
erjo@11794 117 PRIMARY KEY (`rowid`)
erjo@11794 118 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 119 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 120
erjo@11794 121 --
erjo@11794 122 -- Dumping data for table `llx_accountingtransaction`
erjo@11794 123 --
erjo@11794 124
erjo@11794 125 LOCK TABLES `llx_accountingtransaction` WRITE;
erjo@11794 126 /*!40000 ALTER TABLE `llx_accountingtransaction` DISABLE KEYS */;
erjo@11794 127 /*!40000 ALTER TABLE `llx_accountingtransaction` ENABLE KEYS */;
erjo@11794 128 UNLOCK TABLES;
erjo@11794 129
erjo@11794 130 --
erjo@11794 131 -- Table structure for table `llx_actioncomm`
erjo@11794 132 --
erjo@11794 133
erjo@11794 134 DROP TABLE IF EXISTS `llx_actioncomm`;
erjo@11794 135 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 136 /*!40101 SET character_set_client = utf8 */;
erjo@11794 137 CREATE TABLE `llx_actioncomm` (
erjo@11794 138 `id` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 139 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 140 `datep` datetime DEFAULT NULL,
erjo@11794 141 `datep2` datetime DEFAULT NULL,
erjo@11794 142 `datea` datetime DEFAULT NULL,
erjo@11794 143 `datea2` datetime DEFAULT NULL,
erjo@11794 144 `fk_action` int(11) DEFAULT NULL,
erjo@11794 145 `label` varchar(128) NOT NULL,
erjo@11794 146 `datec` datetime DEFAULT NULL,
erjo@11794 147 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 148 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 149 `fk_user_mod` int(11) DEFAULT NULL,
erjo@11794 150 `fk_project` int(11) DEFAULT NULL,
erjo@11794 151 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 152 `fk_contact` int(11) DEFAULT NULL,
erjo@11794 153 `fk_parent` int(11) NOT NULL DEFAULT '0',
erjo@11794 154 `fk_user_action` int(11) DEFAULT NULL,
erjo@11794 155 `fk_user_done` int(11) DEFAULT NULL,
erjo@11794 156 `priority` smallint(6) DEFAULT NULL,
erjo@11794 157 `fulldayevent` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 158 `punctual` smallint(6) NOT NULL DEFAULT '1',
erjo@11794 159 `percent` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 160 `location` varchar(128) DEFAULT NULL,
erjo@11794 161 `durationp` double DEFAULT NULL,
erjo@11794 162 `durationa` double DEFAULT NULL,
erjo@11794 163 `note` text,
erjo@11827 164 `fk_element` int(11) DEFAULT NULL,
erjo@11827 165 `elementtype` varchar(16) DEFAULT NULL,
erjo@11794 166 `propalrowid` int(11) DEFAULT NULL,
erjo@11794 167 `fk_commande` int(11) DEFAULT NULL,
erjo@11794 168 `fk_facture` int(11) DEFAULT NULL,
erjo@11794 169 `fk_contract` int(11) DEFAULT NULL,
erjo@11794 170 `fk_supplier_order` int(11) DEFAULT NULL,
erjo@11794 171 `fk_supplier_invoice` int(11) DEFAULT NULL,
erjo@11794 172 PRIMARY KEY (`id`),
erjo@11794 173 KEY `idx_actioncomm_datea` (`datea`),
erjo@11794 174 KEY `idx_actioncomm_fk_soc` (`fk_soc`),
erjo@11827 175 KEY `idx_actioncomm_fk_contact` (`fk_contact`)
erjo@11794 176 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 177 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 178
erjo@11794 179 --
erjo@11794 180 -- Dumping data for table `llx_actioncomm`
erjo@11794 181 --
erjo@11794 182
erjo@11794 183 LOCK TABLES `llx_actioncomm` WRITE;
erjo@11794 184 /*!40000 ALTER TABLE `llx_actioncomm` DISABLE KEYS */;
erjo@11794 185 /*!40000 ALTER TABLE `llx_actioncomm` ENABLE KEYS */;
erjo@11794 186 UNLOCK TABLES;
erjo@11794 187
erjo@11794 188 --
erjo@11794 189 -- Table structure for table `llx_adherent`
erjo@11794 190 --
erjo@11794 191
erjo@11794 192 DROP TABLE IF EXISTS `llx_adherent`;
erjo@11794 193 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 194 /*!40101 SET character_set_client = utf8 */;
erjo@11794 195 CREATE TABLE `llx_adherent` (
erjo@11794 196 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 197 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 198 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11794 199 `civilite` varchar(6) DEFAULT NULL,
erjo@11794 200 `nom` varchar(50) DEFAULT NULL,
erjo@11794 201 `prenom` varchar(50) DEFAULT NULL,
erjo@11827 202 `login` varchar(50) DEFAULT NULL,
erjo@11794 203 `pass` varchar(50) DEFAULT NULL,
erjo@11794 204 `fk_adherent_type` int(11) NOT NULL,
erjo@11794 205 `morphy` varchar(3) NOT NULL,
erjo@11794 206 `societe` varchar(50) DEFAULT NULL,
erjo@11794 207 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 208 `adresse` text,
erjo@11794 209 `cp` varchar(30) DEFAULT NULL,
erjo@11794 210 `ville` varchar(50) DEFAULT NULL,
erjo@11794 211 `fk_departement` int(11) DEFAULT NULL,
erjo@11794 212 `pays` int(11) DEFAULT NULL,
erjo@11794 213 `email` varchar(255) DEFAULT NULL,
erjo@11794 214 `phone` varchar(30) DEFAULT NULL,
erjo@11794 215 `phone_perso` varchar(30) DEFAULT NULL,
erjo@11794 216 `phone_mobile` varchar(30) DEFAULT NULL,
erjo@11794 217 `naiss` date DEFAULT NULL,
erjo@11794 218 `photo` varchar(255) DEFAULT NULL,
erjo@11794 219 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 220 `public` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 221 `datefin` datetime DEFAULT NULL,
erjo@11794 222 `note` text,
erjo@11794 223 `datevalid` datetime DEFAULT NULL,
erjo@11794 224 `datec` datetime DEFAULT NULL,
erjo@11794 225 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 226 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 227 `fk_user_mod` int(11) DEFAULT NULL,
erjo@11794 228 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 229 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 230 PRIMARY KEY (`rowid`),
erjo@11794 231 UNIQUE KEY `uk_adherent_login` (`login`,`entity`),
erjo@11794 232 UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`),
erjo@11794 233 KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`)
erjo@11794 234 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 235 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 236
erjo@11794 237 --
erjo@11794 238 -- Dumping data for table `llx_adherent`
erjo@11794 239 --
erjo@11794 240
erjo@11794 241 LOCK TABLES `llx_adherent` WRITE;
erjo@11794 242 /*!40000 ALTER TABLE `llx_adherent` DISABLE KEYS */;
erjo@11794 243 /*!40000 ALTER TABLE `llx_adherent` ENABLE KEYS */;
erjo@11794 244 UNLOCK TABLES;
erjo@11794 245
erjo@11794 246 --
erjo@11827 247 -- Table structure for table `llx_adherent_extrafields`
erjo@11827 248 --
erjo@11827 249
erjo@11827 250 DROP TABLE IF EXISTS `llx_adherent_extrafields`;
erjo@11794 251 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 252 /*!40101 SET character_set_client = utf8 */;
erjo@11827 253 CREATE TABLE `llx_adherent_extrafields` (
erjo@11794 254 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 255 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11827 256 `fk_object` int(11) NOT NULL,
erjo@11794 257 PRIMARY KEY (`rowid`),
erjo@11827 258 KEY `idx_adherent_options` (`fk_object`)
erjo@11794 259 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 260 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 261
erjo@11794 262 --
erjo@11827 263 -- Dumping data for table `llx_adherent_extrafields`
erjo@11827 264 --
erjo@11827 265
erjo@11827 266 LOCK TABLES `llx_adherent_extrafields` WRITE;
erjo@11827 267 /*!40000 ALTER TABLE `llx_adherent_extrafields` DISABLE KEYS */;
erjo@11827 268 /*!40000 ALTER TABLE `llx_adherent_extrafields` ENABLE KEYS */;
erjo@11794 269 UNLOCK TABLES;
erjo@11794 270
erjo@11794 271 --
erjo@11794 272 -- Table structure for table `llx_adherent_type`
erjo@11794 273 --
erjo@11794 274
erjo@11794 275 DROP TABLE IF EXISTS `llx_adherent_type`;
erjo@11794 276 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 277 /*!40101 SET character_set_client = utf8 */;
erjo@11794 278 CREATE TABLE `llx_adherent_type` (
erjo@11794 279 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 280 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 281 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 282 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 283 `libelle` varchar(50) NOT NULL,
erjo@11794 284 `cotisation` varchar(3) NOT NULL DEFAULT 'yes',
erjo@11794 285 `vote` varchar(3) NOT NULL DEFAULT 'yes',
erjo@11794 286 `note` text,
erjo@11794 287 `mail_valid` text,
erjo@11794 288 PRIMARY KEY (`rowid`),
erjo@11794 289 UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`)
erjo@11794 290 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 291 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 292
erjo@11794 293 --
erjo@11794 294 -- Dumping data for table `llx_adherent_type`
erjo@11794 295 --
erjo@11794 296
erjo@11794 297 LOCK TABLES `llx_adherent_type` WRITE;
erjo@11794 298 /*!40000 ALTER TABLE `llx_adherent_type` DISABLE KEYS */;
erjo@11794 299 /*!40000 ALTER TABLE `llx_adherent_type` ENABLE KEYS */;
erjo@11794 300 UNLOCK TABLES;
erjo@11794 301
erjo@11794 302 --
erjo@11794 303 -- Table structure for table `llx_bank`
erjo@11794 304 --
erjo@11794 305
erjo@11794 306 DROP TABLE IF EXISTS `llx_bank`;
erjo@11794 307 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 308 /*!40101 SET character_set_client = utf8 */;
erjo@11794 309 CREATE TABLE `llx_bank` (
erjo@11794 310 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 311 `datec` datetime DEFAULT NULL,
erjo@11794 312 `datev` date DEFAULT NULL,
erjo@11794 313 `dateo` date DEFAULT NULL,
erjo@11794 314 `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 315 `label` varchar(255) DEFAULT NULL,
erjo@11794 316 `fk_account` int(11) DEFAULT NULL,
erjo@11794 317 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 318 `fk_user_rappro` int(11) DEFAULT NULL,
erjo@11794 319 `fk_type` varchar(6) DEFAULT NULL,
erjo@11794 320 `num_releve` varchar(50) DEFAULT NULL,
erjo@11794 321 `num_chq` varchar(50) DEFAULT NULL,
erjo@11794 322 `rappro` tinyint(4) DEFAULT '0',
erjo@11794 323 `note` text,
erjo@11794 324 `fk_bordereau` int(11) DEFAULT '0',
erjo@11794 325 `banque` varchar(255) DEFAULT NULL,
erjo@11794 326 `emetteur` varchar(255) DEFAULT NULL,
erjo@11794 327 `author` varchar(40) DEFAULT NULL,
erjo@11794 328 PRIMARY KEY (`rowid`),
erjo@11794 329 KEY `idx_bank_datev` (`datev`),
erjo@11794 330 KEY `idx_bank_dateo` (`dateo`),
erjo@11794 331 KEY `idx_bank_fk_account` (`fk_account`),
erjo@11794 332 KEY `idx_bank_rappro` (`rappro`)
erjo@11794 333 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 334 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 335
erjo@11794 336 --
erjo@11794 337 -- Dumping data for table `llx_bank`
erjo@11794 338 --
erjo@11794 339
erjo@11794 340 LOCK TABLES `llx_bank` WRITE;
erjo@11794 341 /*!40000 ALTER TABLE `llx_bank` DISABLE KEYS */;
erjo@11794 342 /*!40000 ALTER TABLE `llx_bank` ENABLE KEYS */;
erjo@11794 343 UNLOCK TABLES;
erjo@11794 344
erjo@11794 345 --
erjo@11794 346 -- Table structure for table `llx_bank_account`
erjo@11794 347 --
erjo@11794 348
erjo@11794 349 DROP TABLE IF EXISTS `llx_bank_account`;
erjo@11794 350 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 351 /*!40101 SET character_set_client = utf8 */;
erjo@11794 352 CREATE TABLE `llx_bank_account` (
erjo@11794 353 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 354 `datec` datetime DEFAULT NULL,
erjo@11794 355 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 356 `ref` varchar(12) NOT NULL,
erjo@11794 357 `label` varchar(30) NOT NULL,
erjo@11794 358 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 359 `bank` varchar(60) DEFAULT NULL,
erjo@11794 360 `code_banque` varchar(7) DEFAULT NULL,
erjo@11794 361 `code_guichet` varchar(6) DEFAULT NULL,
erjo@11794 362 `number` varchar(255) DEFAULT NULL,
erjo@11794 363 `cle_rib` varchar(5) DEFAULT NULL,
erjo@11794 364 `bic` varchar(11) DEFAULT NULL,
erjo@11794 365 `iban_prefix` varchar(34) DEFAULT NULL,
erjo@11794 366 `country_iban` varchar(2) DEFAULT NULL,
erjo@11794 367 `cle_iban` varchar(2) DEFAULT NULL,
erjo@11794 368 `domiciliation` varchar(255) DEFAULT NULL,
erjo@11794 369 `fk_departement` int(11) DEFAULT NULL,
erjo@11794 370 `fk_pays` int(11) NOT NULL,
erjo@11794 371 `proprio` varchar(60) DEFAULT NULL,
erjo@11794 372 `adresse_proprio` varchar(255) DEFAULT NULL,
erjo@11794 373 `courant` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 374 `clos` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 375 `rappro` smallint(6) DEFAULT '1',
erjo@11794 376 `url` varchar(128) DEFAULT NULL,
erjo@11794 377 `account_number` varchar(8) DEFAULT NULL,
erjo@11794 378 `currency_code` varchar(3) NOT NULL,
erjo@11794 379 `min_allowed` int(11) DEFAULT '0',
erjo@11794 380 `min_desired` int(11) DEFAULT '0',
erjo@11794 381 `comment` text,
erjo@11794 382 PRIMARY KEY (`rowid`),
erjo@11794 383 UNIQUE KEY `uk_bank_account_label` (`label`,`entity`)
erjo@11794 384 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 385 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 386
erjo@11794 387 --
erjo@11794 388 -- Dumping data for table `llx_bank_account`
erjo@11794 389 --
erjo@11794 390
erjo@11794 391 LOCK TABLES `llx_bank_account` WRITE;
erjo@11794 392 /*!40000 ALTER TABLE `llx_bank_account` DISABLE KEYS */;
erjo@11794 393 /*!40000 ALTER TABLE `llx_bank_account` ENABLE KEYS */;
erjo@11794 394 UNLOCK TABLES;
erjo@11794 395
erjo@11794 396 --
erjo@11794 397 -- Table structure for table `llx_bank_categ`
erjo@11794 398 --
erjo@11794 399
erjo@11794 400 DROP TABLE IF EXISTS `llx_bank_categ`;
erjo@11794 401 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 402 /*!40101 SET character_set_client = utf8 */;
erjo@11794 403 CREATE TABLE `llx_bank_categ` (
erjo@11794 404 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 405 `label` varchar(255) DEFAULT NULL,
erjo@11794 406 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 407 PRIMARY KEY (`rowid`)
erjo@11794 408 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 409 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 410
erjo@11794 411 --
erjo@11794 412 -- Dumping data for table `llx_bank_categ`
erjo@11794 413 --
erjo@11794 414
erjo@11794 415 LOCK TABLES `llx_bank_categ` WRITE;
erjo@11794 416 /*!40000 ALTER TABLE `llx_bank_categ` DISABLE KEYS */;
erjo@11794 417 /*!40000 ALTER TABLE `llx_bank_categ` ENABLE KEYS */;
erjo@11794 418 UNLOCK TABLES;
erjo@11794 419
erjo@11794 420 --
erjo@11794 421 -- Table structure for table `llx_bank_class`
erjo@11794 422 --
erjo@11794 423
erjo@11794 424 DROP TABLE IF EXISTS `llx_bank_class`;
erjo@11794 425 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 426 /*!40101 SET character_set_client = utf8 */;
erjo@11794 427 CREATE TABLE `llx_bank_class` (
erjo@11794 428 `lineid` int(11) NOT NULL,
erjo@11794 429 `fk_categ` int(11) NOT NULL,
erjo@11794 430 UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`)
erjo@11794 431 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 432 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 433
erjo@11794 434 --
erjo@11794 435 -- Dumping data for table `llx_bank_class`
erjo@11794 436 --
erjo@11794 437
erjo@11794 438 LOCK TABLES `llx_bank_class` WRITE;
erjo@11794 439 /*!40000 ALTER TABLE `llx_bank_class` DISABLE KEYS */;
erjo@11794 440 /*!40000 ALTER TABLE `llx_bank_class` ENABLE KEYS */;
erjo@11794 441 UNLOCK TABLES;
erjo@11794 442
erjo@11794 443 --
erjo@11794 444 -- Table structure for table `llx_bank_url`
erjo@11794 445 --
erjo@11794 446
erjo@11794 447 DROP TABLE IF EXISTS `llx_bank_url`;
erjo@11794 448 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 449 /*!40101 SET character_set_client = utf8 */;
erjo@11794 450 CREATE TABLE `llx_bank_url` (
erjo@11794 451 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 452 `fk_bank` int(11) DEFAULT NULL,
erjo@11794 453 `url_id` int(11) DEFAULT NULL,
erjo@11794 454 `url` varchar(255) DEFAULT NULL,
erjo@11794 455 `label` varchar(255) DEFAULT NULL,
erjo@11794 456 `type` varchar(20) NOT NULL,
erjo@11794 457 PRIMARY KEY (`rowid`),
erjo@11794 458 UNIQUE KEY `uk_bank_url` (`fk_bank`,`type`)
erjo@11794 459 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 460 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 461
erjo@11794 462 --
erjo@11794 463 -- Dumping data for table `llx_bank_url`
erjo@11794 464 --
erjo@11794 465
erjo@11794 466 LOCK TABLES `llx_bank_url` WRITE;
erjo@11794 467 /*!40000 ALTER TABLE `llx_bank_url` DISABLE KEYS */;
erjo@11794 468 /*!40000 ALTER TABLE `llx_bank_url` ENABLE KEYS */;
erjo@11794 469 UNLOCK TABLES;
erjo@11794 470
erjo@11794 471 --
erjo@11794 472 -- Table structure for table `llx_bookmark`
erjo@11794 473 --
erjo@11794 474
erjo@11794 475 DROP TABLE IF EXISTS `llx_bookmark`;
erjo@11794 476 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 477 /*!40101 SET character_set_client = utf8 */;
erjo@11794 478 CREATE TABLE `llx_bookmark` (
erjo@11794 479 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 480 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 481 `fk_user` int(11) NOT NULL,
erjo@11794 482 `dateb` datetime DEFAULT NULL,
erjo@11794 483 `url` varchar(128) NOT NULL,
erjo@11794 484 `target` varchar(16) DEFAULT NULL,
erjo@11794 485 `title` varchar(64) DEFAULT NULL,
erjo@11794 486 `favicon` varchar(24) DEFAULT NULL,
erjo@11794 487 `position` int(11) DEFAULT '0',
erjo@11794 488 PRIMARY KEY (`rowid`),
erjo@11794 489 UNIQUE KEY `uk_bookmark_url` (`fk_user`,`url`),
erjo@11794 490 UNIQUE KEY `uk_bookmark_title` (`fk_user`,`title`)
erjo@11794 491 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 492 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 493
erjo@11794 494 --
erjo@11794 495 -- Dumping data for table `llx_bookmark`
erjo@11794 496 --
erjo@11794 497
erjo@11794 498 LOCK TABLES `llx_bookmark` WRITE;
erjo@11794 499 /*!40000 ALTER TABLE `llx_bookmark` DISABLE KEYS */;
erjo@11794 500 /*!40000 ALTER TABLE `llx_bookmark` ENABLE KEYS */;
erjo@11794 501 UNLOCK TABLES;
erjo@11794 502
erjo@11794 503 --
erjo@11794 504 -- Table structure for table `llx_bordereau_cheque`
erjo@11794 505 --
erjo@11794 506
erjo@11794 507 DROP TABLE IF EXISTS `llx_bordereau_cheque`;
erjo@11794 508 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 509 /*!40101 SET character_set_client = utf8 */;
erjo@11794 510 CREATE TABLE `llx_bordereau_cheque` (
erjo@11794 511 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 512 `datec` datetime NOT NULL,
erjo@11794 513 `date_bordereau` date DEFAULT NULL,
erjo@11794 514 `number` varchar(16) NOT NULL,
erjo@11794 515 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 516 `amount` double(24,8) NOT NULL,
erjo@11794 517 `nbcheque` smallint(6) NOT NULL,
erjo@11794 518 `fk_bank_account` int(11) DEFAULT NULL,
erjo@11794 519 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 520 `note` text,
erjo@11794 521 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 522 PRIMARY KEY (`rowid`),
erjo@11794 523 UNIQUE KEY `uk_bordereau_cheque` (`number`,`entity`)
erjo@11794 524 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 525 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 526
erjo@11794 527 --
erjo@11794 528 -- Dumping data for table `llx_bordereau_cheque`
erjo@11794 529 --
erjo@11794 530
erjo@11794 531 LOCK TABLES `llx_bordereau_cheque` WRITE;
erjo@11794 532 /*!40000 ALTER TABLE `llx_bordereau_cheque` DISABLE KEYS */;
erjo@11794 533 /*!40000 ALTER TABLE `llx_bordereau_cheque` ENABLE KEYS */;
erjo@11794 534 UNLOCK TABLES;
erjo@11794 535
erjo@11794 536 --
erjo@11794 537 -- Table structure for table `llx_boxes`
erjo@11794 538 --
erjo@11794 539
erjo@11794 540 DROP TABLE IF EXISTS `llx_boxes`;
erjo@11794 541 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 542 /*!40101 SET character_set_client = utf8 */;
erjo@11794 543 CREATE TABLE `llx_boxes` (
erjo@11794 544 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 545 `box_id` int(11) NOT NULL,
erjo@11794 546 `position` smallint(6) NOT NULL,
erjo@11794 547 `box_order` varchar(3) NOT NULL,
erjo@11794 548 `fk_user` int(11) NOT NULL DEFAULT '0',
erjo@11794 549 PRIMARY KEY (`rowid`),
erjo@11794 550 UNIQUE KEY `uk_boxes` (`box_id`,`position`,`fk_user`),
erjo@11794 551 KEY `idx_boxes_boxid` (`box_id`),
erjo@11794 552 KEY `idx_boxes_fk_user` (`fk_user`)
erjo@11794 553 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 554 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 555
erjo@11794 556 --
erjo@11794 557 -- Dumping data for table `llx_boxes`
erjo@11794 558 --
erjo@11794 559
erjo@11794 560 LOCK TABLES `llx_boxes` WRITE;
erjo@11794 561 /*!40000 ALTER TABLE `llx_boxes` DISABLE KEYS */;
erjo@11794 562 /*!40000 ALTER TABLE `llx_boxes` ENABLE KEYS */;
erjo@11794 563 UNLOCK TABLES;
erjo@11794 564
erjo@11794 565 --
erjo@11794 566 -- Table structure for table `llx_boxes_def`
erjo@11794 567 --
erjo@11794 568
erjo@11794 569 DROP TABLE IF EXISTS `llx_boxes_def`;
erjo@11794 570 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 571 /*!40101 SET character_set_client = utf8 */;
erjo@11794 572 CREATE TABLE `llx_boxes_def` (
erjo@11794 573 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 574 `file` varchar(200) NOT NULL,
erjo@11794 575 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 576 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 577 `note` varchar(130) DEFAULT NULL,
erjo@11794 578 PRIMARY KEY (`rowid`),
erjo@11794 579 UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`)
erjo@11794 580 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 581 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 582
erjo@11794 583 --
erjo@11794 584 -- Dumping data for table `llx_boxes_def`
erjo@11794 585 --
erjo@11794 586
erjo@11794 587 LOCK TABLES `llx_boxes_def` WRITE;
erjo@11794 588 /*!40000 ALTER TABLE `llx_boxes_def` DISABLE KEYS */;
erjo@11794 589 /*!40000 ALTER TABLE `llx_boxes_def` ENABLE KEYS */;
erjo@11794 590 UNLOCK TABLES;
erjo@11794 591
erjo@11794 592 --
erjo@11827 593 -- Table structure for table `llx_c_action_trigger`
erjo@11827 594 --
erjo@11827 595
erjo@11827 596 DROP TABLE IF EXISTS `llx_c_action_trigger`;
erjo@11827 597 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11827 598 /*!40101 SET character_set_client = utf8 */;
erjo@11827 599 CREATE TABLE `llx_c_action_trigger` (
erjo@11827 600 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 601 `code` varchar(32) NOT NULL,
erjo@11827 602 `label` varchar(128) NOT NULL,
erjo@11827 603 `description` varchar(255) DEFAULT NULL,
erjo@11827 604 `elementtype` varchar(16) NOT NULL,
erjo@11827 605 `rang` int(11) DEFAULT '0',
erjo@11827 606 PRIMARY KEY (`rowid`),
erjo@11827 607 UNIQUE KEY `uk_action_trigger_code` (`code`)
erjo@11827 608 ) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;
erjo@11827 609 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11827 610
erjo@11827 611 --
erjo@11827 612 -- Dumping data for table `llx_c_action_trigger`
erjo@11827 613 --
erjo@11827 614
erjo@11827 615 LOCK TABLES `llx_c_action_trigger` WRITE;
erjo@11827 616 /*!40000 ALTER TABLE `llx_c_action_trigger` DISABLE KEYS */;
erjo@11827 617 INSERT INTO `llx_c_action_trigger` VALUES (1,'FICHEINTER_VALIDATE','Validation fiche intervention','Executed when a intervention is validated','ficheinter',18),(2,'BILL_VALIDATE','Validation facture client','Executed when a customer invoice is approved','facture',6),(3,'ORDER_SUPPLIER_APPROVE','Approbation commande fournisseur','Executed when a supplier order is approved','order_supplier',11),(4,'ORDER_SUPPLIER_REFUSE','Refus commande fournisseur','Executed when a supplier order is refused','order_supplier',12),(5,'ORDER_VALIDATE','Validation commande client','Executed when a customer order is validated','commande',4),(6,'PROPAL_VALIDATE','Validation proposition client','Executed when a commercial proposal is validated','propal',2),(7,'WITHDRAW_TRANSMIT','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw',25),(8,'WITHDRAW_CREDIT','Créditer prélèvement','Executed when a withdrawal is credited','withdraw',26),(9,'WITHDRAW_EMIT','Emission prélèvement','Executed when a withdrawal is emited','withdraw',27),(10,'COMPANY_CREATE','Third party created','Executed when a third party is created','societe',1),(11,'CONTRACT_VALIDATE','Contract validated','Executed when a contract is validated','contrat',17),(12,'PROPAL_SENTBYMAIL','Commercial proposal sent by mail','Executed when a commercial proposal is sent by mail','propal',3),(13,'ORDER_SENTBYMAIL','Customer order sent by mail','Executed when a customer order is sent by mail ','commande',5),(14,'BILL_PAYED','Customer invoice payed','Executed when a customer invoice is payed','facture',7),(15,'BILL_CANCEL','Customer invoice canceled','Executed when a customer invoice is conceled','facture',8),(16,'BILL_SENTBYMAIL','Customer invoice sent by mail','Executed when a customer invoice is sent by mail','facture',9),(17,'ORDER_SUPPLIER_VALIDATE','Supplier order validated','Executed when a supplier order is validated','order_supplier',10),(18,'ORDER_SUPPLIER_SENTBYMAIL','Supplier order sent by mail','Executed when a supplier order is sent by mail','order_supplier',13),(19,'BILL_SUPPLIER_VALIDATE','Supplier invoice validated','Executed when a supplier invoice is validated','invoice_supplier',14),(20,'BILL_SUPPLIER_PAYED','Supplier invoice payed','Executed when a supplier invoice is payed','invoice_supplier',15),(21,'BILL_SUPPLIER_SENTBYMAIL','Supplier invoice sent by mail','Executed when a supplier invoice is sent by mail','invoice_supplier',16),(22,'SHIPPING_VALIDATE','Shipping validated','Executed when a shipping is validated','shipping',19),(23,'SHIPPING_SENTBYMAIL','Shipping sent by mail','Executed when a shipping is sent by mail','shipping',20),(24,'MEMBER_VALIDATE','Member validated','Executed when a member is validated','member',21),(25,'MEMBER_SUBSCRIPTION','Member subscribed','Executed when a member is subscribed','member',22),(26,'MEMBER_RESILIATE','Member resiliated','Executed when a member is resiliated','member',23),(27,'MEMBER_DELETE','Member deleted','Executed when a member is deleted','member',24);
erjo@11827 618 /*!40000 ALTER TABLE `llx_c_action_trigger` ENABLE KEYS */;
erjo@11827 619 UNLOCK TABLES;
erjo@11827 620
erjo@11827 621 --
erjo@11794 622 -- Table structure for table `llx_c_actioncomm`
erjo@11794 623 --
erjo@11794 624
erjo@11794 625 DROP TABLE IF EXISTS `llx_c_actioncomm`;
erjo@11794 626 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 627 /*!40101 SET character_set_client = utf8 */;
erjo@11794 628 CREATE TABLE `llx_c_actioncomm` (
erjo@11794 629 `id` int(11) NOT NULL,
erjo@11794 630 `code` varchar(12) NOT NULL,
erjo@11794 631 `type` varchar(10) NOT NULL DEFAULT 'system',
erjo@11794 632 `libelle` varchar(48) NOT NULL,
erjo@11794 633 `module` varchar(16) DEFAULT NULL,
erjo@11794 634 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 635 `todo` tinyint(4) DEFAULT NULL,
erjo@11827 636 `position` int(11) NOT NULL DEFAULT '0',
erjo@11794 637 PRIMARY KEY (`id`),
erjo@11794 638 UNIQUE KEY `code` (`code`)
erjo@11794 639 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 640 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 641
erjo@11794 642 --
erjo@11794 643 -- Dumping data for table `llx_c_actioncomm`
erjo@11794 644 --
erjo@11794 645
erjo@11794 646 LOCK TABLES `llx_c_actioncomm` WRITE;
erjo@11794 647 /*!40000 ALTER TABLE `llx_c_actioncomm` DISABLE KEYS */;
erjo@11827 648 INSERT INTO `llx_c_actioncomm` VALUES (1,'AC_TEL','system','Phone call',NULL,1,NULL,0),(2,'AC_FAX','system','Fax send',NULL,1,NULL,0),(3,'AC_PROP','system','Send commercial proposal by email','propal',1,NULL,0),(4,'AC_EMAIL','system','Send Email',NULL,1,NULL,0),(5,'AC_RDV','system','Rendez-vous',NULL,1,NULL,0),(8,'AC_COM','system','Send customer order by email','order',1,NULL,0),(9,'AC_FAC','system','Send customer invoice by email','invoice',1,NULL,0),(30,'AC_SUP_ORD','system','Send supplier order by email','order_supplier',1,NULL,0),(31,'AC_SUP_INV','system','Send supplier invoice by email','invoice_supplier',1,NULL,0),(50,'AC_OTH','system','Other',NULL,1,NULL,0),(10,'AC_SHIP','system','Send shipping by email','shipping',1,NULL,11);
erjo@11794 649 /*!40000 ALTER TABLE `llx_c_actioncomm` ENABLE KEYS */;
erjo@11794 650 UNLOCK TABLES;
erjo@11794 651
erjo@11794 652 --
erjo@11827 653 -- Table structure for table `llx_c_availability`
erjo@11827 654 --
erjo@11827 655
erjo@11827 656 DROP TABLE IF EXISTS `llx_c_availability`;
erjo@11827 657 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11827 658 /*!40101 SET character_set_client = utf8 */;
erjo@11827 659 CREATE TABLE `llx_c_availability` (
erjo@11827 660 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 661 `code` varchar(30) NOT NULL,
erjo@11827 662 `label` varchar(60) NOT NULL,
erjo@11827 663 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 664 PRIMARY KEY (`rowid`),
erjo@11827 665 UNIQUE KEY `uk_c_availability` (`code`)
erjo@11827 666 ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
erjo@11827 667 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11827 668
erjo@11827 669 --
erjo@11827 670 -- Dumping data for table `llx_c_availability`
erjo@11827 671 --
erjo@11827 672
erjo@11827 673 LOCK TABLES `llx_c_availability` WRITE;
erjo@11827 674 /*!40000 ALTER TABLE `llx_c_availability` DISABLE KEYS */;
erjo@11827 675 INSERT INTO `llx_c_availability` VALUES (1,'AV_NOW','Immediate',1),(2,'AV_1W','1 week',1),(3,'AV_2W','2 weeks',1),(4,'AV_3W','3 weeks',1);
erjo@11827 676 /*!40000 ALTER TABLE `llx_c_availability` ENABLE KEYS */;
erjo@11827 677 UNLOCK TABLES;
erjo@11827 678
erjo@11827 679 --
erjo@11794 680 -- Table structure for table `llx_c_barcode_type`
erjo@11794 681 --
erjo@11794 682
erjo@11794 683 DROP TABLE IF EXISTS `llx_c_barcode_type`;
erjo@11794 684 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 685 /*!40101 SET character_set_client = utf8 */;
erjo@11794 686 CREATE TABLE `llx_c_barcode_type` (
erjo@11794 687 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 688 `code` varchar(16) NOT NULL,
erjo@11794 689 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 690 `libelle` varchar(50) NOT NULL,
erjo@11794 691 `coder` varchar(16) NOT NULL,
erjo@11794 692 `example` varchar(16) NOT NULL,
erjo@11794 693 PRIMARY KEY (`rowid`)
erjo@11794 694 ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
erjo@11794 695 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 696
erjo@11794 697 --
erjo@11794 698 -- Dumping data for table `llx_c_barcode_type`
erjo@11794 699 --
erjo@11794 700
erjo@11794 701 LOCK TABLES `llx_c_barcode_type` WRITE;
erjo@11794 702 /*!40000 ALTER TABLE `llx_c_barcode_type` DISABLE KEYS */;
erjo@11794 703 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');
erjo@11794 704 /*!40000 ALTER TABLE `llx_c_barcode_type` ENABLE KEYS */;
erjo@11794 705 UNLOCK TABLES;
erjo@11794 706
erjo@11794 707 --
erjo@11794 708 -- Table structure for table `llx_c_chargesociales`
erjo@11794 709 --
erjo@11794 710
erjo@11794 711 DROP TABLE IF EXISTS `llx_c_chargesociales`;
erjo@11794 712 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 713 /*!40101 SET character_set_client = utf8 */;
erjo@11794 714 CREATE TABLE `llx_c_chargesociales` (
erjo@11794 715 `id` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 716 `libelle` varchar(80) DEFAULT NULL,
erjo@11794 717 `deductible` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 718 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 719 `code` varchar(12) NOT NULL,
erjo@11794 720 `fk_pays` int(11) NOT NULL DEFAULT '1',
erjo@11827 721 `module` varchar(32) DEFAULT NULL,
erjo@11794 722 PRIMARY KEY (`id`)
erjo@11794 723 ) ENGINE=MyISAM AUTO_INCREMENT=231 DEFAULT CHARSET=utf8;
erjo@11794 724 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 725
erjo@11794 726 --
erjo@11794 727 -- Dumping data for table `llx_c_chargesociales`
erjo@11794 728 --
erjo@11794 729
erjo@11794 730 LOCK TABLES `llx_c_chargesociales` WRITE;
erjo@11794 731 /*!40000 ALTER TABLE `llx_c_chargesociales` DISABLE KEYS */;
erjo@11827 732 INSERT INTO `llx_c_chargesociales` VALUES (1,'Allocations familiales',1,1,'TAXFAM',1,NULL),(2,'CSG Deductible',1,1,'TAXCSGD',1,NULL),(3,'CSG/CRDS NON Deductible',0,1,'TAXCSGND',1,NULL),(10,'Taxe apprentissage',0,1,'TAXAPP',1,NULL),(11,'Taxe professionnelle',0,1,'TAXPRO',1,NULL),(20,'Impots locaux/fonciers',0,1,'TAXFON',1,NULL),(25,'Impots revenus',0,1,'TAXREV',1,NULL),(30,'Assurance Sante',0,1,'TAXSECU',1,NULL),(40,'Mutuelle',0,1,'TAXMUT',1,NULL),(50,'Assurance vieillesse',0,1,'TAXRET',1,NULL),(60,'Assurance Chomage',0,1,'TAXCHOM',1,NULL),(201,'ONSS',1,1,'TAXBEONSS',2,NULL),(210,'Precompte professionnel',1,1,'TAXBEPREPRO',2,NULL),(220,'Prime d\'existence',1,1,'TAXBEPRIEXI',2,NULL),(230,'Precompte immobilier',1,1,'TAXBEPREIMMO',2,NULL);
erjo@11794 733 /*!40000 ALTER TABLE `llx_c_chargesociales` ENABLE KEYS */;
erjo@11794 734 UNLOCK TABLES;
erjo@11794 735
erjo@11794 736 --
erjo@11794 737 -- Table structure for table `llx_c_civilite`
erjo@11794 738 --
erjo@11794 739
erjo@11794 740 DROP TABLE IF EXISTS `llx_c_civilite`;
erjo@11794 741 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 742 /*!40101 SET character_set_client = utf8 */;
erjo@11794 743 CREATE TABLE `llx_c_civilite` (
erjo@11794 744 `rowid` int(11) NOT NULL,
erjo@11794 745 `code` varchar(6) NOT NULL,
erjo@11794 746 `civilite` varchar(50) DEFAULT NULL,
erjo@11794 747 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 748 `module` varchar(32) DEFAULT NULL,
erjo@11794 749 PRIMARY KEY (`rowid`),
erjo@11794 750 UNIQUE KEY `code` (`code`)
erjo@11794 751 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 752 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 753
erjo@11794 754 --
erjo@11794 755 -- Dumping data for table `llx_c_civilite`
erjo@11794 756 --
erjo@11794 757
erjo@11794 758 LOCK TABLES `llx_c_civilite` WRITE;
erjo@11794 759 /*!40000 ALTER TABLE `llx_c_civilite` DISABLE KEYS */;
erjo@11827 760 INSERT INTO `llx_c_civilite` VALUES (1,'MME','Madame',1,NULL),(3,'MR','Monsieur',1,NULL),(5,'MLE','Mademoiselle',1,NULL),(7,'MTRE','Maître',1,NULL);
erjo@11794 761 /*!40000 ALTER TABLE `llx_c_civilite` ENABLE KEYS */;
erjo@11794 762 UNLOCK TABLES;
erjo@11794 763
erjo@11794 764 --
erjo@11794 765 -- Table structure for table `llx_c_currencies`
erjo@11794 766 --
erjo@11794 767
erjo@11794 768 DROP TABLE IF EXISTS `llx_c_currencies`;
erjo@11794 769 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 770 /*!40101 SET character_set_client = utf8 */;
erjo@11794 771 CREATE TABLE `llx_c_currencies` (
erjo@11794 772 `code` varchar(2) NOT NULL,
erjo@11794 773 `code_iso` varchar(3) NOT NULL,
erjo@11794 774 `label` varchar(64) DEFAULT NULL,
erjo@11794 775 `labelsing` varchar(64) DEFAULT NULL,
erjo@11794 776 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 777 PRIMARY KEY (`code`),
erjo@11794 778 UNIQUE KEY `uk_c_currencies_code_iso` (`code_iso`)
erjo@11794 779 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 780 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 781
erjo@11794 782 --
erjo@11794 783 -- Dumping data for table `llx_c_currencies`
erjo@11794 784 --
erjo@11794 785
erjo@11794 786 LOCK TABLES `llx_c_currencies` WRITE;
erjo@11794 787 /*!40000 ALTER TABLE `llx_c_currencies` DISABLE KEYS */;
erjo@11827 788 INSERT INTO `llx_c_currencies` VALUES ('BT','THB','Bath thailandais',NULL,1),('CD','DKK','Couronnes dannoises',NULL,1),('CN','NOK','Couronnes norvegiennes',NULL,1),('CS','SEK','Couronnes suedoises',NULL,1),('CZ','CZK','Couronnes tcheques',NULL,1),('TD','TND','Dinar tunisien',NULL,1),('DA','DZD','Dinar algérien',NULL,1),('DH','MAD','Dirham',NULL,1),('AD','AUD','Dollars australiens',NULL,1),('DC','CAD','Dollars canadiens',NULL,1),('HK','HKD','Dollars hong kong',NULL,1),('DS','SGD','Dollars singapour',NULL,1),('DU','USD','Dollars us',NULL,1),('EC','XEU','Ecus',NULL,1),('ES','PTE','Escudos',NULL,0),('FB','BEF','Francs belges',NULL,0),('FF','FRF','Francs francais',NULL,0),('FL','LUF','Francs luxembourgeois',NULL,0),('FO','NLG','Florins',NULL,1),('FS','CHF','Francs suisses',NULL,1),('LI','IEP','Livres irlandaises',NULL,1),('LR','ITL','Lires',NULL,0),('LS','GBP','Livres sterling',NULL,1),('MA','DEM','Deutsch mark',NULL,0),('MF','FIM','Mark finlandais',NULL,1),('MR','MRO','Ouguiya Mauritanien',NULL,1),('PA','ARP','Pesos argentins',NULL,1),('PC','CLP','Pesos chilien',NULL,1),('PE','ESP','Pesete',NULL,1),('PL','PLN','Zlotys polonais',NULL,1),('SA','ATS','Shiliing autrichiens',NULL,1),('TW','TWD','Dollar taiwanais',NULL,1),('YE','JPY','Yens',NULL,1),('ZA','ZAR','Rand africa',NULL,1),('DR','GRD','Drachme (grece)',NULL,1),('EU','EUR','Euros',NULL,1),('RB','BRL','Real bresilien',NULL,1),('SK','SKK','Couronnes slovaques',NULL,1),('YC','CNY','Yuang chinois',NULL,1),('AE','AED','Arabes emirats dirham',NULL,1),('CF','XAF','Francs cfa beac',NULL,1),('EG','EGP','Livre egyptienne',NULL,1),('KR','KRW','Won coree du sud',NULL,1),('NZ','NZD','Dollar neo-zelandais',NULL,1),('TR','TRL','Livre turque',NULL,1),('ID','IDR','Rupiahs d\'indonesie',NULL,1),('IN','INR','Roupie indienne',NULL,1),('LT','LTL','Litas',NULL,1),('RU','SUR','Rouble',NULL,1),('FH','HUF','Forint hongrois',NULL,1),('LK','LKR','Roupies sri lanka',NULL,1),('MU','MUR','Roupies mauritiennes',NULL,1),('SR','SAR','Saudi riyal',NULL,1),('LH','HNL','Lempiras',NULL,1),('MX','MXP','Pesos Mexicanos',NULL,1),('BD','BBD','Barbadian or Bajan Dollar',NULL,1);
erjo@11794 789 /*!40000 ALTER TABLE `llx_c_currencies` ENABLE KEYS */;
erjo@11794 790 UNLOCK TABLES;
erjo@11794 791
erjo@11794 792 --
erjo@11794 793 -- Table structure for table `llx_c_departements`
erjo@11794 794 --
erjo@11794 795
erjo@11794 796 DROP TABLE IF EXISTS `llx_c_departements`;
erjo@11794 797 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 798 /*!40101 SET character_set_client = utf8 */;
erjo@11794 799 CREATE TABLE `llx_c_departements` (
erjo@11794 800 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 801 `code_departement` varchar(6) NOT NULL,
erjo@11794 802 `fk_region` int(11) DEFAULT NULL,
erjo@11827 803 `cheflieu` varchar(50) DEFAULT NULL,
erjo@11794 804 `tncc` int(11) DEFAULT NULL,
erjo@11794 805 `ncc` varchar(50) DEFAULT NULL,
erjo@11794 806 `nom` varchar(50) DEFAULT NULL,
erjo@11794 807 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 808 PRIMARY KEY (`rowid`),
erjo@11794 809 UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`),
erjo@11794 810 KEY `idx_departements_fk_region` (`fk_region`)
erjo@11827 811 ) ENGINE=MyISAM AUTO_INCREMENT=583 DEFAULT CHARSET=utf8;
erjo@11794 812 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 813
erjo@11794 814 --
erjo@11794 815 -- Dumping data for table `llx_c_departements`
erjo@11794 816 --
erjo@11794 817
erjo@11794 818 LOCK TABLES `llx_c_departements` WRITE;
erjo@11794 819 /*!40000 ALTER TABLE `llx_c_departements` DISABLE KEYS */;
erjo@11827 820 INSERT INTO `llx_c_departements` VALUES (1,'0',0,'0',0,'-','-',1),(2,'01',82,'01053',5,'AIN','Ain',1),(3,'02',22,'02408',5,'AISNE','Aisne',1),(4,'03',83,'03190',5,'ALLIER','Allier',1),(5,'04',93,'04070',4,'ALPES-DE-HAUTE-PROVENCE','Alpes-de-Haute-Provence',1),(6,'05',93,'05061',4,'HAUTES-ALPES','Hautes-Alpes',1),(7,'06',93,'06088',4,'ALPES-MARITIMES','Alpes-Maritimes',1),(8,'07',82,'07186',5,'ARDECHE','Ardèche',1),(9,'08',21,'08105',4,'ARDENNES','Ardennes',1),(10,'09',73,'09122',5,'ARIEGE','Ariège',1),(11,'10',21,'10387',5,'AUBE','Aube',1),(12,'11',91,'11069',5,'AUDE','Aude',1),(13,'12',73,'12202',5,'AVEYRON','Aveyron',1),(14,'13',93,'13055',4,'BOUCHES-DU-RHONE','Bouches-du-Rhône',1),(15,'14',25,'14118',2,'CALVADOS','Calvados',1),(16,'15',83,'15014',2,'CANTAL','Cantal',1),(17,'16',54,'16015',3,'CHARENTE','Charente',1),(18,'17',54,'17300',3,'CHARENTE-MARITIME','Charente-Maritime',1),(19,'18',24,'18033',2,'CHER','Cher',1),(20,'19',74,'19272',3,'CORREZE','Corrèze',1),(21,'2A',94,'2A004',3,'CORSE-DU-SUD','Corse-du-Sud',1),(22,'2B',94,'2B033',3,'HAUTE-CORSE','Haute-Corse',1),(23,'21',26,'21231',3,'COTE-D\'OR','Côte-d\'Or',1),(24,'22',53,'22278',4,'COTES-D\'ARMOR','Côtes-d\'Armor',1),(25,'23',74,'23096',3,'CREUSE','Creuse',1),(26,'24',72,'24322',3,'DORDOGNE','Dordogne',1),(27,'25',43,'25056',2,'DOUBS','Doubs',1),(28,'26',82,'26362',3,'DROME','Drôme',1),(29,'27',23,'27229',5,'EURE','Eure',1),(30,'28',24,'28085',1,'EURE-ET-LOIR','Eure-et-Loir',1),(31,'29',53,'29232',2,'FINISTERE','Finistère',1),(32,'30',91,'30189',2,'GARD','Gard',1),(33,'31',73,'31555',3,'HAUTE-GARONNE','Haute-Garonne',1),(34,'32',73,'32013',2,'GERS','Gers',1),(35,'33',72,'33063',3,'GIRONDE','Gironde',1),(36,'34',91,'34172',5,'HERAULT','Hérault',1),(37,'35',53,'35238',1,'ILLE-ET-VILAINE','Ille-et-Vilaine',1),(38,'36',24,'36044',5,'INDRE','Indre',1),(39,'37',24,'37261',1,'INDRE-ET-LOIRE','Indre-et-Loire',1),(40,'38',82,'38185',5,'ISERE','Isère',1),(41,'39',43,'39300',2,'JURA','Jura',1),(42,'40',72,'40192',4,'LANDES','Landes',1),(43,'41',24,'41018',0,'LOIR-ET-CHER','Loir-et-Cher',1),(44,'42',82,'42218',3,'LOIRE','Loire',1),(45,'43',83,'43157',3,'HAUTE-LOIRE','Haute-Loire',1),(46,'44',52,'44109',3,'LOIRE-ATLANTIQUE','Loire-Atlantique',1),(47,'45',24,'45234',2,'LOIRET','Loiret',1),(48,'46',73,'46042',2,'LOT','Lot',1),(49,'47',72,'47001',0,'LOT-ET-GARONNE','Lot-et-Garonne',1),(50,'48',91,'48095',3,'LOZERE','Lozère',1),(51,'49',52,'49007',0,'MAINE-ET-LOIRE','Maine-et-Loire',1),(52,'50',25,'50502',3,'MANCHE','Manche',1),(53,'51',21,'51108',3,'MARNE','Marne',1),(54,'52',21,'52121',3,'HAUTE-MARNE','Haute-Marne',1),(55,'53',52,'53130',3,'MAYENNE','Mayenne',1),(56,'54',41,'54395',0,'MEURTHE-ET-MOSELLE','Meurthe-et-Moselle',1),(57,'55',41,'55029',3,'MEUSE','Meuse',1),(58,'56',53,'56260',2,'MORBIHAN','Morbihan',1),(59,'57',41,'57463',3,'MOSELLE','Moselle',1),(60,'58',26,'58194',3,'NIEVRE','Nièvre',1),(61,'59',31,'59350',2,'NORD','Nord',1),(62,'60',22,'60057',5,'OISE','Oise',1),(63,'61',25,'61001',5,'ORNE','Orne',1),(64,'62',31,'62041',2,'PAS-DE-CALAIS','Pas-de-Calais',1),(65,'63',83,'63113',2,'PUY-DE-DOME','Puy-de-Dôme',1),(66,'64',72,'64445',4,'PYRENEES-ATLANTIQUES','Pyrénées-Atlantiques',1),(67,'65',73,'65440',4,'HAUTES-PYRENEES','Hautes-Pyrénées',1),(68,'66',91,'66136',4,'PYRENEES-ORIENTALES','Pyrénées-Orientales',1),(69,'67',42,'67482',2,'BAS-RHIN','Bas-Rhin',1),(70,'68',42,'68066',2,'HAUT-RHIN','Haut-Rhin',1),(71,'69',82,'69123',2,'RHONE','Rhône',1),(72,'70',43,'70550',3,'HAUTE-SAONE','Haute-Saône',1),(73,'71',26,'71270',0,'SAONE-ET-LOIRE','Saône-et-Loire',1),(74,'72',52,'72181',3,'SARTHE','Sarthe',1),(75,'73',82,'73065',3,'SAVOIE','Savoie',1),(76,'74',82,'74010',3,'HAUTE-SAVOIE','Haute-Savoie',1),(77,'75',11,'75056',0,'PARIS','Paris',1),(78,'76',23,'76540',3,'SEINE-MARITIME','Seine-Maritime',1),(79,'77',11,'77288',0,'SEINE-ET-MARNE','Seine-et-Marne',1),(80,'78',11,'78646',4,'YVELINES','Yvelines',1),(81,'79',54,'79191',4,'DEUX-SEVRES','Deux-Sèvres',1),(82,'80',22,'80021',3,'SOMME','Somme',1),(83,'81',73,'81004',2,'TARN','Tarn',1),(84,'82',73,'82121',0,'TARN-ET-GARONNE','Tarn-et-Garonne',1),(85,'83',93,'83137',2,'VAR','Var',1),(86,'84',93,'84007',0,'VAUCLUSE','Vaucluse',1),(87,'85',52,'85191',3,'VENDEE','Vendée',1),(88,'86',54,'86194',3,'VIENNE','Vienne',1),(89,'87',74,'87085',3,'HAUTE-VIENNE','Haute-Vienne',1),(90,'88',41,'88160',4,'VOSGES','Vosges',1),(91,'89',26,'89024',5,'YONNE','Yonne',1),(92,'90',43,'90010',0,'TERRITOIRE DE BELFORT','Territoire de Belfort',1),(93,'91',11,'91228',5,'ESSONNE','Essonne',1),(94,'92',11,'92050',4,'HAUTS-DE-SEINE','Hauts-de-Seine',1),(95,'93',11,'93008',3,'SEINE-SAINT-DENIS','Seine-Saint-Denis',1),(96,'94',11,'94028',2,'VAL-DE-MARNE','Val-de-Marne',1),(97,'95',11,'95500',2,'VAL-D\'OISE','Val-d\'Oise',1),(98,'971',1,'97105',3,'GUADELOUPE','Guadeloupe',1),(99,'972',2,'97209',3,'MARTINIQUE','Martinique',1),(100,'973',3,'97302',3,'GUYANE','Guyane',1),(101,'974',4,'97411',3,'REUNION','Réunion',1),(102,'01',201,'',1,'ANVERS','Anvers',1),(103,'02',203,'',3,'BRUXELLES-CAPITALE','Bruxelles-Capitale',1),(104,'03',202,'',2,'BRABANT-WALLON','Brabant-Wallon',1),(105,'04',201,'',1,'BRABANT-FLAMAND','Brabant-Flamand',1),(106,'05',201,'',1,'FLANDRE-OCCIDENTALE','Flandre-Occidentale',1),(107,'06',201,'',1,'FLANDRE-ORIENTALE','Flandre-Orientale',1),(108,'07',202,'',2,'HAINAUT','Hainaut',1),(109,'08',201,'',2,'LIEGE','Liège',1),(110,'09',202,'',1,'LIMBOURG','Limbourg',1),(111,'10',202,'',2,'LUXEMBOURG','Luxembourg',1),(112,'11',201,'',2,'NAMUR','Namur',1),(113,'AG',315,NULL,NULL,NULL,'AGRIGENTO',1),(114,'AL',312,NULL,NULL,NULL,'ALESSANDRIA',1),(115,'AN',310,NULL,NULL,NULL,'ANCONA',1),(116,'AO',319,NULL,NULL,NULL,'AOSTA',1),(117,'AR',316,NULL,NULL,NULL,'AREZZO',1),(118,'AP',310,NULL,NULL,NULL,'ASCOLI PICENO',1),(119,'AT',312,NULL,NULL,NULL,'ASTI',1),(120,'AV',304,NULL,NULL,NULL,'AVELLINO',1),(121,'BA',313,NULL,NULL,NULL,'BARI',1),(122,'BT',313,NULL,NULL,NULL,'BARLETTA-ANDRIA-TRANI',1),(123,'BL',320,NULL,NULL,NULL,'BELLUNO',1),(124,'BN',304,NULL,NULL,NULL,'BENEVENTO',1),(125,'BG',309,NULL,NULL,NULL,'BERGAMO',1),(126,'BI',312,NULL,NULL,NULL,'BIELLA',1),(127,'BO',305,NULL,NULL,NULL,'BOLOGNA',1),(128,'BZ',317,NULL,NULL,NULL,'BOLZANO',1),(129,'BS',309,NULL,NULL,NULL,'BRESCIA',1),(130,'BR',313,NULL,NULL,NULL,'BRINDISI',1),(131,'CA',314,NULL,NULL,NULL,'CAGLIARI',1),(132,'CL',315,NULL,NULL,NULL,'CALTANISSETTA',1),(133,'CB',311,NULL,NULL,NULL,'CAMPOBASSO',1),(134,'CI',314,NULL,NULL,NULL,'CARBONIA-IGLESIAS',1),(135,'CE',304,NULL,NULL,NULL,'CASERTA',1),(136,'CT',315,NULL,NULL,NULL,'CATANIA',1),(137,'CZ',303,NULL,NULL,NULL,'CATANZARO',1),(138,'CH',301,NULL,NULL,NULL,'CHIETI',1),(139,'CO',309,NULL,NULL,NULL,'COMO',1),(140,'CS',303,NULL,NULL,NULL,'COSENZA',1),(141,'CR',309,NULL,NULL,NULL,'CREMONA',1),(142,'KR',303,NULL,NULL,NULL,'CROTONE',1),(143,'CN',312,NULL,NULL,NULL,'CUNEO',1),(144,'EN',315,NULL,NULL,NULL,'ENNA',1),(145,'FM',310,NULL,NULL,NULL,'FERMO',1),(146,'FE',305,NULL,NULL,NULL,'FERRARA',1),(147,'FI',316,NULL,NULL,NULL,'FIRENZE',1),(148,'FG',313,NULL,NULL,NULL,'FOGGIA',1),(149,'FC',305,NULL,NULL,NULL,'FORLI-CESENA',1),(150,'FR',307,NULL,NULL,NULL,'FROSINONE',1),(151,'GE',308,NULL,NULL,NULL,'GENOVA',1),(152,'GO',306,NULL,NULL,NULL,'GORIZIA',1),(153,'GR',316,NULL,NULL,NULL,'GROSSETO',1),(154,'IM',308,NULL,NULL,NULL,'IMPERIA',1),(155,'IS',311,NULL,NULL,NULL,'ISERNIA',1),(156,'SP',308,NULL,NULL,NULL,'LA SPEZIA',1),(157,'AQ',301,NULL,NULL,NULL,'L AQUILA',1),(158,'LT',307,NULL,NULL,NULL,'LATINA',1),(159,'LE',313,NULL,NULL,NULL,'LECCE',1),(160,'LC',309,NULL,NULL,NULL,'LECCO',1),(161,'LI',314,NULL,NULL,NULL,'LIVORNO',1),(162,'LO',309,NULL,NULL,NULL,'LODI',1),(163,'LU',316,NULL,NULL,NULL,'LUCCA',1),(164,'MC',310,NULL,NULL,NULL,'MACERATA',1),(165,'MN',309,NULL,NULL,NULL,'MANTOVA',1),(166,'MS',316,NULL,NULL,NULL,'MASSA-CARRARA',1),(167,'MT',302,NULL,NULL,NULL,'MATERA',1),(168,'VS',314,NULL,NULL,NULL,'MEDIO CAMPIDANO',1),(169,'ME',315,NULL,NULL,NULL,'MESSINA',1),(170,'MI',309,NULL,NULL,NULL,'MILANO',1),(171,'MB',309,NULL,NULL,NULL,'MONZA e BRIANZA',1),(172,'MO',305,NULL,NULL,NULL,'MODENA',1),(173,'NA',304,NULL,NULL,NULL,'NAPOLI',1),(174,'NO',312,NULL,NULL,NULL,'NOVARA',1),(175,'NU',314,NULL,NULL,NULL,'NUORO',1),(176,'OG',314,NULL,NULL,NULL,'OGLIASTRA',1),(177,'OT',314,NULL,NULL,NULL,'OLBIA-TEMPIO',1),(178,'OR',314,NULL,NULL,NULL,'ORISTANO',1),(179,'PD',320,NULL,NULL,NULL,'PADOVA',1),(180,'PA',315,NULL,NULL,NULL,'PALERMO',1),(181,'PR',305,NULL,NULL,NULL,'PARMA',1),(182,'PV',309,NULL,NULL,NULL,'PAVIA',1),(183,'PG',318,NULL,NULL,NULL,'PERUGIA',1),(184,'PU',310,NULL,NULL,NULL,'PESARO e URBINO',1),(185,'PE',301,NULL,NULL,NULL,'PESCARA',1),(186,'PC',305,NULL,NULL,NULL,'PIACENZA',1),(187,'PI',316,NULL,NULL,NULL,'PISA',1),(188,'PT',316,NULL,NULL,NULL,'PISTOIA',1),(189,'PN',306,NULL,NULL,NULL,'PORDENONE',1),(190,'PZ',302,NULL,NULL,NULL,'POTENZA',1),(191,'PO',316,NULL,NULL,NULL,'PRATO',1),(192,'RG',315,NULL,NULL,NULL,'RAGUSA',1),(193,'RA',305,NULL,NULL,NULL,'RAVENNA',1),(194,'RC',303,NULL,NULL,NULL,'REGGIO CALABRIA',1),(195,'RE',305,NULL,NULL,NULL,'REGGIO NELL EMILIA',1),(196,'RI',307,NULL,NULL,NULL,'RIETI',1),(197,'RN',305,NULL,NULL,NULL,'RIMINI',1),(198,'RM',307,NULL,NULL,NULL,'ROMA',1),(199,'RO',320,NULL,NULL,NULL,'ROVIGO',1),(200,'SA',304,NULL,NULL,NULL,'SALERNO',1),(201,'SS',314,NULL,NULL,NULL,'SASSARI',1),(202,'SV',308,NULL,NULL,NULL,'SAVONA',1),(203,'SI',316,NULL,NULL,NULL,'SIENA',1),(204,'SR',315,NULL,NULL,NULL,'SIRACUSA',1),(205,'SO',309,NULL,NULL,NULL,'SONDRIO',1),(206,'TA',313,NULL,NULL,NULL,'TARANTO',1),(207,'TE',301,NULL,NULL,NULL,'TERAMO',1),(208,'TR',318,NULL,NULL,NULL,'TERNI',1),(209,'TO',312,NULL,NULL,NULL,'TORINO',1),(210,'TP',315,NULL,NULL,NULL,'TRAPANI',1),(211,'TN',317,NULL,NULL,NULL,'TRENTO',1),(212,'TV',320,NULL,NULL,NULL,'TREVISO',1),(213,'TS',306,NULL,NULL,NULL,'TRIESTE',1),(214,'UD',306,NULL,NULL,NULL,'UDINE',1),(215,'VA',309,NULL,NULL,NULL,'VARESE',1),(216,'VE',320,NULL,NULL,NULL,'VENEZIA',1),(217,'VB',312,NULL,NULL,NULL,'VERBANO-CUSIO-OSSOLA',1),(218,'VC',312,NULL,NULL,NULL,'VERCELLI',1),(219,'VR',320,NULL,NULL,NULL,'VERONA',1),(220,'VV',303,NULL,NULL,NULL,'VIBO VALENTIA',1),(221,'VI',320,NULL,NULL,NULL,'VICENZA',1),(222,'VT',307,NULL,NULL,NULL,'VITERBO',1),(223,'NSW',2801,'',1,'','New South Wales',1),(224,'VIC',2801,'',1,'','Victoria',1),(225,'QLD',2801,'',1,'','Queensland',1),(226,'SA',2801,'',1,'','South Australia',1),(227,'ACT',2801,'',1,'','Australia Capital Territory',1),(228,'TAS',2801,'',1,'','Tasmania',1),(229,'WA',2801,'',1,'','Western Australia',1),(230,'NT',2801,'',1,'','Northern Territory',1),(231,'01',419,'',19,'PAIS VASCO','País Vasco',1),(232,'02',404,'',4,'ALBACETE','Albacete',1),(233,'03',411,'',11,'ALICANTE','Alicante',1),(234,'04',401,'',1,'ALMERIA','Almería',1),(235,'05',403,'',3,'AVILA','Avila',1),(236,'06',412,'',12,'BADAJOZ','Badajoz',1),(237,'07',414,'',14,'ISLAS BALEARES','Islas Baleares',1),(238,'08',406,'',6,'BARCELONA','Barcelona',1),(239,'09',403,'',8,'BURGOS','Burgos',1),(240,'10',412,'',12,'CACERES','Cáceres',1),(241,'11',401,'',1,'CADIz','Cádiz',1),(242,'12',411,'',11,'CASTELLON','Castellón',1),(243,'13',404,'',4,'CIUDAD REAL','Ciudad Real',1),(244,'14',401,'',1,'CORDOBA','Córdoba',1),(245,'15',413,'',13,'LA CORUÑA','La Coruña',1),(246,'16',404,'',4,'CUENCA','Cuenca',1),(247,'17',406,'',6,'GERONA','Gerona',1),(248,'18',401,'',1,'GRANADA','Granada',1),(249,'19',404,'',4,'GUADALAJARA','Guadalajara',1),(250,'20',419,'',19,'GUIPUZCOA','Guipúzcoa',1),(251,'21',401,'',1,'HUELVA','Huelva',1),(252,'22',402,'',2,'HUESCA','Huesca',1),(253,'23',401,'',1,'JAEN','Jaén',1),(254,'24',403,'',3,'LEON','León',1),(255,'25',406,'',6,'LERIDA','Lérida',1),(256,'26',415,'',15,'LA RIOJA','La Rioja',1),(257,'27',413,'',13,'LUGO','Lugo',1),(258,'28',416,'',16,'MADRID','Madrid',1),(259,'29',401,'',1,'MALAGA','Málaga',1),(260,'30',417,'',17,'MURCIA','Murcia',1),(261,'31',408,'',8,'NAVARRA','Navarra',1),(262,'32',413,'',13,'ORENSE','Orense',1),(263,'33',418,'',18,'ASTURIAS','Asturias',1),(264,'34',403,'',3,'PALENCIA','Palencia',1),(265,'35',405,'',5,'LAS PALMAS','Las Palmas',1),(266,'36',413,'',13,'PONTEVEDRA','Pontevedra',1),(267,'37',403,'',3,'SALAMANCA','Salamanca',1),(268,'38',405,'',5,'STA. CRUZ DE TENERIFE','Sta. Cruz de Tenerife',1),(269,'39',410,'',10,'CANTABRIA','Cantabria',1),(270,'40',403,'',3,'SEGOVIA','Segovia',1),(271,'41',401,'',1,'SEVILLA','Sevilla',1),(272,'42',403,'',3,'SORIA','Soria',1),(273,'43',406,'',6,'TARRAGONA','Tarragona',1),(274,'44',402,'',2,'TERUEL','Teruel',1),(275,'45',404,'',5,'TOLEDO','Toledo',1),(276,'46',411,'',11,'VALENCIA','Valencia',1),(277,'47',403,'',3,'VALLADOLID','Valladolid',1),(278,'48',419,'',19,'VIZCAYA','Vizcaya',1),(279,'49',403,'',3,'ZAMORA','Zamora',1),(280,'50',402,'',1,'ZARAGOZA','Zaragoza',1),(281,'51',407,'',7,'CEUTA','Ceuta',1),(282,'52',409,'',9,'MELILLA','Melilla',1),(283,'53',420,'',20,'OTROS','Otros',1),(284,'AG',601,NULL,NULL,'ARGOVIE','Argovie',1),(285,'AI',601,NULL,NULL,'APPENZELL RHODES INTERIEURES','Appenzell Rhodes intérieures',1),(286,'AR',601,NULL,NULL,'APPENZELL RHODES EXTERIEURES','Appenzell Rhodes extérieures',1),(287,'BE',601,NULL,NULL,'BERNE','Berne',1),(288,'BL',601,NULL,NULL,'BALE CAMPAGNE','Bâle Campagne',1),(289,'BS',601,NULL,NULL,'BALE VILLE','Bâle Ville',1),(290,'FR',601,NULL,NULL,'FRIBOURG','Fribourg',1),(291,'GE',601,NULL,NULL,'GENEVE','Genève',1),(292,'GL',601,NULL,NULL,'GLARIS','Glaris',1),(293,'GR',601,NULL,NULL,'GRISONS','Grisons',1),(294,'JU',601,NULL,NULL,'JURA','Jura',1),(295,'LU',601,NULL,NULL,'LUCERNE','Lucerne',1),(296,'NE',601,NULL,NULL,'NEUCHATEL','Neuchâtel',1),(297,'NW',601,NULL,NULL,'NIDWALD','Nidwald',1),(298,'OW',601,NULL,NULL,'OBWALD','Obwald',1),(299,'SG',601,NULL,NULL,'SAINT-GALL','Saint-Gall',1),(300,'SH',601,NULL,NULL,'SCHAFFHOUSE','Schaffhouse',1),(301,'SO',601,NULL,NULL,'SOLEURE','Soleure',1),(302,'SZ',601,NULL,NULL,'SCHWYZ','Schwyz',1),(303,'TG',601,NULL,NULL,'THURGOVIE','Thurgovie',1),(304,'TI',601,NULL,NULL,'TESSIN','Tessin',1),(305,'UR',601,NULL,NULL,'URI','Uri',1),(306,'VD',601,NULL,NULL,'VAUD','Vaud',1),(307,'VS',601,NULL,NULL,'VALAIS','Valais',1),(308,'ZG',601,NULL,NULL,'ZUG','Zug',1),(309,'ZH',601,NULL,NULL,'ZURICH','Zürich',1),(310,'AL',1101,'',0,'ALABAMA','Alabama',1),(311,'AK',1101,'',0,'ALASKA','Alaska',1),(312,'AZ',1101,'',0,'ARIZONA','Arizona',1),(313,'AR',1101,'',0,'ARKANSAS','Arkansas',1),(314,'CA',1101,'',0,'CALIFORNIA','California',1),(315,'CO',1101,'',0,'COLORADO','Colorado',1),(316,'CT',1101,'',0,'CONNECTICUT','Connecticut',1),(317,'DE',1101,'',0,'DELAWARE','Delaware',1),(318,'FL',1101,'',0,'FLORIDA','Florida',1),(319,'GA',1101,'',0,'GEORGIA','Georgia',1),(320,'HI',1101,'',0,'HAWAII','Hawaii',1),(321,'ID',1101,'',0,'IDAHO','Idaho',1),(322,'IL',1101,'',0,'ILLINOIS','Illinois',1),(323,'IN',1101,'',0,'INDIANA','Indiana',1),(324,'IA',1101,'',0,'IOWA','Iowa',1),(325,'KS',1101,'',0,'KANSAS','Kansas',1),(326,'KY',1101,'',0,'KENTUCKY','Kentucky',1),(327,'LA',1101,'',0,'LOUISIANA','Louisiana',1),(328,'ME',1101,'',0,'MAINE','Maine',1),(329,'MD',1101,'',0,'MARYLAND','Maryland',1),(330,'MA',1101,'',0,'MASSACHUSSETTS','Massachusetts',1),(331,'MI',1101,'',0,'MICHIGAN','Michigan',1),(332,'MN',1101,'',0,'MINNESOTA','Minnesota',1),(333,'MS',1101,'',0,'MISSISSIPPI','Mississippi',1),(334,'MO',1101,'',0,'MISSOURI','Missouri',1),(335,'MT',1101,'',0,'MONTANA','Montana',1),(336,'NE',1101,'',0,'NEBRASKA','Nebraska',1),(337,'NV',1101,'',0,'NEVADA','Nevada',1),(338,'NH',1101,'',0,'NEW HAMPSHIRE','New Hampshire',1),(339,'NJ',1101,'',0,'NEW JERSEY','New Jersey',1),(340,'NM',1101,'',0,'NEW MEXICO','New Mexico',1),(341,'NY',1101,'',0,'NEW YORK','New York',1),(342,'NC',1101,'',0,'NORTH CAROLINA','North Carolina',1),(343,'ND',1101,'',0,'NORTH DAKOTA','North Dakota',1),(344,'OH',1101,'',0,'OHIO','Ohio',1),(345,'OK',1101,'',0,'OKLAHOMA','Oklahoma',1),(346,'OR',1101,'',0,'OREGON','Oregon',1),(347,'PA',1101,'',0,'PENNSYLVANIA','Pennsylvania',1),(348,'RI',1101,'',0,'RHODE ISLAND','Rhode Island',1),(349,'SC',1101,'',0,'SOUTH CAROLINA','South Carolina',1),(350,'SD',1101,'',0,'SOUTH DAKOTA','South Dakota',1),(351,'TN',1101,'',0,'TENNESSEE','Tennessee',1),(352,'TX',1101,'',0,'TEXAS','Texas',1),(353,'UT',1101,'',0,'UTAH','Utah',1),(354,'VT',1101,'',0,'VERMONT','Vermont',1),(355,'VA',1101,'',0,'VIRGINIA','Virginia',1),(356,'WA',1101,'',0,'WASHINGTON','Washington',1),(357,'WV',1101,'',0,'WEST VIRGINIA','West Virginia',1),(358,'WI',1101,'',0,'WISCONSIN','Wisconsin',1),(359,'WY',1101,'',0,'WYOMING','Wyoming',1),(360,'SS',8601,NULL,NULL,NULL,'San Salvador',1),(361,'SA',8603,NULL,NULL,NULL,'Santa Ana',1),(362,'AH',8603,NULL,NULL,NULL,'Ahuachapan',1),(363,'SO',8603,NULL,NULL,NULL,'Sonsonate',1),(364,'US',8602,NULL,NULL,NULL,'Usulutan',1),(365,'SM',8602,NULL,NULL,NULL,'San Miguel',1),(366,'MO',8602,NULL,NULL,NULL,'Morazan',1),(367,'LU',8602,NULL,NULL,NULL,'La Union',1),(368,'LL',8601,NULL,NULL,NULL,'La Libertad',1),(369,'CH',8601,NULL,NULL,NULL,'Chalatenango',1),(370,'CA',8601,NULL,NULL,NULL,'Cabañas',1),(371,'LP',8601,NULL,NULL,NULL,'La Paz',1),(372,'SV',8601,NULL,NULL,NULL,'San Vicente',1),(373,'CU',8601,NULL,NULL,NULL,'Cuscatlan',1),(374,'2301',2301,'',0,'CATAMARCA','Catamarca',1),(375,'2302',2301,'',0,'YUJUY','Yujuy',1),(376,'2303',2301,'',0,'TUCAMAN','Tucamán',1),(377,'2304',2301,'',0,'SANTIAGO DEL ESTERO','Santiago del Estero',1),(378,'2305',2301,'',0,'SALTA','Salta',1),(379,'2306',2302,'',0,'CHACO','Chaco',1),(380,'2307',2302,'',0,'CORRIENTES','Corrientes',1),(381,'2308',2302,'',0,'ENTRE RIOS','Entre Ríos',1),(382,'2309',2302,'',0,'FORMOSA MISIONES','Formosa Misiones',1),(383,'2310',2302,'',0,'SANTA FE','Santa Fe',1),(384,'2311',2303,'',0,'LA RIOJA','La Rioja',1),(385,'2312',2303,'',0,'MENDOZA','Mendoza',1),(386,'2313',2303,'',0,'SAN JUAN','San Juan',1),(387,'2314',2303,'',0,'SAN LUIS','San Luis',1),(388,'2315',2304,'',0,'CORDOBA','Córdoba',1),(389,'2316',2304,'',0,'BUENOS AIRES','Buenos Aires',1),(390,'2317',2304,'',0,'CABA','Caba',1),(391,'2318',2305,'',0,'LA PAMPA','La Pampa',1),(392,'2319',2305,'',0,'NEUQUEN','Neuquén',1),(393,'2320',2305,'',0,'RIO NEGRO','Río Negro',1),(394,'2321',2305,'',0,'CHUBUT','Chubut',1),(395,'2322',2305,'',0,'SANTA CRUZ','Santa Cruz',1),(396,'2323',2305,'',0,'TIERRA DEL FUEGO','Tierra del Fuego',1),(397,'2324',2305,'',0,'ISLAS MALVINAS','Islas Malvinas',1),(398,'2325',2305,'',0,'ANTARTIDA','Antártida',1),(399,'AN',11701,NULL,0,'AN','Andaman & Nicobar',1),(400,'AP',11701,NULL,0,'AP','Andhra Pradesh',1),(401,'AR',11701,NULL,0,'AR','Arunachal Pradesh',1),(402,'AS',11701,NULL,0,'AS','Assam',1),(403,'BR',11701,NULL,0,'BR','Bihar',1),(404,'CG',11701,NULL,0,'CG','Chattisgarh',1),(405,'CH',11701,NULL,0,'CH','Chandigarh',1),(406,'DD',11701,NULL,0,'DD','Daman & Diu',1),(407,'DL',11701,NULL,0,'DL','Delhi',1),(408,'DN',11701,NULL,0,'DN','Dadra and Nagar Haveli',1),(409,'GA',11701,NULL,0,'GA','Goa',1),(410,'GJ',11701,NULL,0,'GJ','Gujarat',1),(411,'HP',11701,NULL,0,'HP','Himachal Pradesh',1),(412,'HR',11701,NULL,0,'HR','Haryana',1),(413,'JH',11701,NULL,0,'JH','Jharkhand',1),(414,'JK',11701,NULL,0,'JK','Jammu & Kashmir',1),(415,'KA',11701,NULL,0,'KA','Karnataka',1),(416,'KL',11701,NULL,0,'KL','Kerala',1),(417,'LD',11701,NULL,0,'LD','Lakshadweep',1),(418,'MH',11701,NULL,0,'MH','Maharashtra',1),(419,'ML',11701,NULL,0,'ML','Meghalaya',1),(420,'MN',11701,NULL,0,'MN','Manipur',1),(421,'MP',11701,NULL,0,'MP','Madhya Pradesh',1),(422,'MZ',11701,NULL,0,'MZ','Mizoram',1),(423,'NL',11701,NULL,0,'NL','Nagaland',1),(424,'OR',11701,NULL,0,'OR','Orissa',1),(425,'PB',11701,NULL,0,'PB','Punjab',1),(426,'PY',11701,NULL,0,'PY','Puducherry',1),(427,'RJ',11701,NULL,0,'RJ','Rajasthan',1),(428,'SK',11701,NULL,0,'SK','Sikkim',1),(429,'TN',11701,NULL,0,'TN','Tamil Nadu',1),(430,'TR',11701,NULL,0,'TR','Tripura',1),(431,'UL',11701,NULL,0,'UL','Uttarakhand',1),(432,'UP',11701,NULL,0,'UP','Uttar Pradesh',1),(433,'WB',11701,NULL,0,'WB','West Bengal',1),(434,'151',6715,'',0,'151','Arica',1),(435,'152',6715,'',0,'152','Parinacota',1),(436,'011',6701,'',0,'011','Iquique',1),(437,'014',6701,'',0,'014','Tamarugal',1),(438,'021',6702,'',0,'021','Antofagasa',1),(439,'022',6702,'',0,'022','El Loa',1),(440,'023',6702,'',0,'023','Tocopilla',1),(441,'031',6703,'',0,'031','Copiapó',1),(442,'032',6703,'',0,'032','Chañaral',1),(443,'033',6703,'',0,'033','Huasco',1),(444,'041',6704,'',0,'041','Elqui',1),(445,'042',6704,'',0,'042','Choapa',1),(446,'043',6704,'',0,'043','Limarí',1),(447,'051',6705,'',0,'051','Valparaíso',1),(448,'052',6705,'',0,'052','Isla de Pascua',1),(449,'053',6705,'',0,'053','Los Andes',1),(450,'054',6705,'',0,'054','Petorca',1),(451,'055',6705,'',0,'055','Quillota',1),(452,'056',6705,'',0,'056','San Antonio',1),(453,'057',6705,'',0,'057','San Felipe de Aconcagua',1),(454,'058',6705,'',0,'058','Marga Marga',1),(455,'061',6706,'',0,'061','Cachapoal',1),(456,'062',6706,'',0,'062','Cardenal Caro',1),(457,'063',6706,'',0,'063','Colchagua',1),(458,'071',6707,'',0,'071','Talca',1),(459,'072',6707,'',0,'072','Cauquenes',1),(460,'073',6707,'',0,'073','Curicó',1),(461,'074',6707,'',0,'074','Linares',1),(462,'081',6708,'',0,'081','Concepción',1),(463,'082',6708,'',0,'082','Arauco',1),(464,'083',6708,'',0,'083','Biobío',1),(465,'084',6708,'',0,'084','Ñuble',1),(466,'091',6709,'',0,'091','Cautín',1),(467,'092',6709,'',0,'092','Malleco',1),(468,'141',6714,'',0,'141','Valdivia',1),(469,'142',6714,'',0,'142','Ranco',1),(470,'101',6710,'',0,'101','Llanquihue',1),(471,'102',6710,'',0,'102','Chiloé',1),(472,'103',6710,'',0,'103','Osorno',1),(473,'104',6710,'',0,'104','Palena',1),(474,'111',6711,'',0,'111','Coihaique',1),(475,'112',6711,'',0,'112','Aisén',1),(476,'113',6711,'',0,'113','Capitán Prat',1),(477,'114',6711,'',0,'114','General Carrera',1),(478,'121',6712,'',0,'121','Magallanes',1),(479,'122',6712,'',0,'122','Antártica Chilena',1),(480,'123',6712,'',0,'123','Tierra del Fuego',1),(481,'124',6712,'',0,'124','Última Esperanza',1),(482,'131',6713,'',0,'131','Santiago',1),(483,'132',6713,'',0,'132','Cordillera',1),(484,'133',6713,'',0,'133','Chacabuco',1),(485,'134',6713,'',0,'134','Maipo',1),(486,'135',6713,'',0,'135','Melipilla',1),(487,'136',6713,'',0,'136','Talagante',1),(488,'DIF',15401,'',0,'DIF','Distrito Federal',1),(489,'AGS',15401,'',0,'AGS','Aguascalientes',1),(490,'BCN',15401,'',0,'BCN','Baja California Norte',1),(491,'BCS',15401,'',0,'BCS','Baja California Sur',1),(492,'CAM',15401,'',0,'CAM','Campeche',1),(493,'CHP',15401,'',0,'CHP','Chiapas',1),(494,'CHI',15401,'',0,'CHI','Chihuahua',1),(495,'COA',15401,'',0,'COA','Coahuila',1),(496,'COL',15401,'',0,'COL','Colima',1),(497,'DUR',15401,'',0,'DUR','Durango',1),(498,'GTO',15401,'',0,'GTO','Guanajuato',1),(499,'GRO',15401,'',0,'GRO','Guerrero',1),(500,'HGO',15401,'',0,'HGO','Hidalgo',1),(501,'JAL',15401,'',0,'JAL','Jalisco',1),(502,'MEX',15401,'',0,'MEX','México',1),(503,'MIC',15401,'',0,'MIC','Michoacán de Ocampo',1),(504,'MOR',15401,'',0,'MOR','Morelos',1),(505,'NAY',15401,'',0,'NAY','Nayarit',1),(506,'NLE',15401,'',0,'NLE','Nuevo León',1),(507,'OAX',15401,'',0,'OAX','Oaxaca',1),(508,'PUE',15401,'',0,'PUE','Puebla',1),(509,'QRO',15401,'',0,'QRO','Querétaro',1),(510,'ROO',15401,'',0,'ROO','Quintana Roo',1),(511,'SLP',15401,'',0,'SLP','San Luis Potosí',1),(512,'SIN',15401,'',0,'SIN','Sinaloa',1),(513,'SON',15401,'',0,'SON','Sonora',1),(514,'TAB',15401,'',0,'TAB','Tabasco',1),(515,'TAM',15401,'',0,'TAM','Tamaulipas',1),(516,'TLX',15401,'',0,'TLX','Tlaxcala',1),(517,'VER',15401,'',0,'VER','Veracruz',1),(518,'YUC',15401,'',0,'YUC','Yucatán',1),(519,'ZAC',15401,'',0,'ZAC','Zacatecas',1),(520,'ANT',7001,'',0,'ANT','Antioquia',1),(521,'BOL',7001,'',0,'BOL','Bolívar',1),(522,'BOY',7001,'',0,'BOY','Boyacá',1),(523,'CAL',7001,'',0,'CAL','Caldas',1),(524,'CAU',7001,'',0,'CAU','Cauca',1),(525,'CUN',7001,'',0,'CUN','Cundinamarca',1),(526,'HUI',7001,'',0,'HUI','Huila',1),(527,'LAG',7001,'',0,'LAG','La Guajira',1),(528,'MET',7001,'',0,'MET','Meta',1),(529,'NAR',7001,'',0,'NAR','Nariño',1),(530,'NDS',7001,'',0,'NDS','Norte de Santander',1),(531,'SAN',7001,'',0,'SAN','Santander',1),(532,'SUC',7001,'',0,'SUC','Sucre',1),(533,'TOL',7001,'',0,'TOL','Tolima',1),(534,'VAC',7001,'',0,'VAC','Valle del Cauca',1),(535,'RIS',7001,'',0,'RIS','Risalda',1),(536,'ATL',7001,'',0,'ATL','Atlántico',1),(537,'COR',7001,'',0,'COR','Córdoba',1),(538,'SAP',7001,'',0,'SAP','San Andrés, Providencia y Santa Catalina',1),(539,'ARA',7001,'',0,'ARA','Arauca',1),(540,'CAS',7001,'',0,'CAS','Casanare',1),(541,'AMA',7001,'',0,'AMA','Amazonas',1),(542,'CAQ',7001,'',0,'CAQ','Caquetá',1),(543,'CHO',7001,'',0,'CHO','Chocó',1),(544,'GUA',7001,'',0,'GUA','Guainía',1),(545,'GUV',7001,'',0,'GUV','Guaviare',1),(546,'PUT',7001,'',0,'PUT','Putumayo',1),(547,'QUI',7001,'',0,'QUI','Quindío',1),(548,'VAU',7001,'',0,'VAU','Vaupés',1),(549,'BOG',7001,'',0,'BOG','Bogotá',1),(550,'VID',7001,'',0,'VID','Vichada',1),(551,'CES',7001,'',0,'CES','Cesar',1),(552,'MAG',7001,'',0,'MAG','Magdalena',1),(553,'AT',11401,'',0,'AT','Atlántida',1),(554,'CH',11401,'',0,'CH','Choluteca',1),(555,'CL',11401,'',0,'CL','Colón',1),(556,'CM',11401,'',0,'CM','Comayagua',1),(557,'CO',11401,'',0,'CO','Copán',1),(558,'CR',11401,'',0,'CR','Cortés',1),(559,'EP',11401,'',0,'EP','El Paraíso',1),(560,'FM',11401,'',0,'FM','Francisco Morazán',1),(561,'GD',11401,'',0,'GD','Gracias a Dios',1),(562,'IN',11401,'',0,'IN','Intibucá',1),(563,'IB',11401,'',0,'IB','Islas de la Bahía',1),(564,'LP',11401,'',0,'LP','La Paz',1),(565,'LM',11401,'',0,'LM','Lempira',1),(566,'OC',11401,'',0,'OC','Ocotepeque',1),(567,'OL',11401,'',0,'OL','Olancho',1),(568,'SB',11401,'',0,'SB','Santa Bárbara',1),(569,'VL',11401,'',0,'VL','Valle',1),(570,'YO',11401,'',0,'YO','Yoro',1),(571,'DC',11401,'',0,'DC','Distrito Central',1),(572,'CC',4601,'Oistins',0,'CC','Christ Church',1),(573,'SA',4601,'Greenland',0,'SA','Saint Andrew',1),(574,'SG',4601,'Bulkeley',0,'SG','Saint George',1),(575,'JA',4601,'Holetown',0,'JA','Saint James',1),(576,'SJ',4601,'Four Roads',0,'SJ','Saint John',1),(577,'SB',4601,'Bathsheba',0,'SB','Saint Joseph',1),(578,'SL',4601,'Crab Hill',0,'SL','Saint Lucy',1),(579,'SM',4601,'Bridgetown',0,'SM','Saint Michael',1),(580,'SP',4601,'Speightstown',0,'SP','Saint Peter',1),(581,'SC',4601,'Crane',0,'SC','Saint Philip',1),(582,'ST',4601,'Hillaby',0,'ST','Saint Thomas',1);
erjo@11794 821 /*!40000 ALTER TABLE `llx_c_departements` ENABLE KEYS */;
erjo@11794 822 UNLOCK TABLES;
erjo@11794 823
erjo@11794 824 --
erjo@11794 825 -- Table structure for table `llx_c_ecotaxe`
erjo@11794 826 --
erjo@11794 827
erjo@11794 828 DROP TABLE IF EXISTS `llx_c_ecotaxe`;
erjo@11794 829 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 830 /*!40101 SET character_set_client = utf8 */;
erjo@11794 831 CREATE TABLE `llx_c_ecotaxe` (
erjo@11794 832 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 833 `code` varchar(64) NOT NULL,
erjo@11794 834 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 835 `price` double(24,8) DEFAULT NULL,
erjo@11794 836 `organization` varchar(255) DEFAULT NULL,
erjo@11794 837 `fk_pays` int(11) NOT NULL,
erjo@11794 838 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 839 PRIMARY KEY (`rowid`),
erjo@11794 840 UNIQUE KEY `uk_c_ecotaxe` (`code`)
erjo@11794 841 ) ENGINE=MyISAM AUTO_INCREMENT=39 DEFAULT CHARSET=utf8;
erjo@11794 842 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 843
erjo@11794 844 --
erjo@11794 845 -- Dumping data for table `llx_c_ecotaxe`
erjo@11794 846 --
erjo@11794 847
erjo@11794 848 LOCK TABLES `llx_c_ecotaxe` WRITE;
erjo@11794 849 /*!40000 ALTER TABLE `llx_c_ecotaxe` DISABLE KEYS */;
erjo@11794 850 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);
erjo@11794 851 /*!40000 ALTER TABLE `llx_c_ecotaxe` ENABLE KEYS */;
erjo@11794 852 UNLOCK TABLES;
erjo@11794 853
erjo@11794 854 --
erjo@11794 855 -- Table structure for table `llx_c_effectif`
erjo@11794 856 --
erjo@11794 857
erjo@11794 858 DROP TABLE IF EXISTS `llx_c_effectif`;
erjo@11794 859 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 860 /*!40101 SET character_set_client = utf8 */;
erjo@11794 861 CREATE TABLE `llx_c_effectif` (
erjo@11794 862 `id` int(11) NOT NULL,
erjo@11794 863 `code` varchar(12) NOT NULL,
erjo@11794 864 `libelle` varchar(30) DEFAULT NULL,
erjo@11794 865 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 866 `module` varchar(32) DEFAULT NULL,
erjo@11794 867 PRIMARY KEY (`id`),
erjo@11794 868 UNIQUE KEY `code` (`code`)
erjo@11794 869 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 870 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 871
erjo@11794 872 --
erjo@11794 873 -- Dumping data for table `llx_c_effectif`
erjo@11794 874 --
erjo@11794 875
erjo@11794 876 LOCK TABLES `llx_c_effectif` WRITE;
erjo@11794 877 /*!40000 ALTER TABLE `llx_c_effectif` DISABLE KEYS */;
erjo@11827 878 INSERT INTO `llx_c_effectif` VALUES (0,'EF0','-',1,NULL),(1,'EF1-5','1 - 5',1,NULL),(2,'EF6-10','6 - 10',1,NULL),(3,'EF11-50','11 - 50',1,NULL),(4,'EF51-100','51 - 100',1,NULL),(5,'EF100-500','100 - 500',1,NULL),(6,'EF500-','> 500',1,NULL);
erjo@11794 879 /*!40000 ALTER TABLE `llx_c_effectif` ENABLE KEYS */;
erjo@11794 880 UNLOCK TABLES;
erjo@11794 881
erjo@11794 882 --
erjo@11794 883 -- Table structure for table `llx_c_field_list`
erjo@11794 884 --
erjo@11794 885
erjo@11794 886 DROP TABLE IF EXISTS `llx_c_field_list`;
erjo@11794 887 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 888 /*!40101 SET character_set_client = utf8 */;
erjo@11794 889 CREATE TABLE `llx_c_field_list` (
erjo@11794 890 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 891 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 892 `element` varchar(64) NOT NULL,
erjo@11794 893 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 894 `name` varchar(32) NOT NULL,
erjo@11794 895 `alias` varchar(32) NOT NULL,
erjo@11794 896 `title` varchar(32) NOT NULL,
erjo@11794 897 `align` varchar(6) DEFAULT 'left',
erjo@11794 898 `sort` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 899 `search` tinyint(4) NOT NULL DEFAULT '0',
erjo@11794 900 `enabled` varchar(255) DEFAULT '1',
erjo@11794 901 `rang` int(11) DEFAULT '0',
erjo@11794 902 PRIMARY KEY (`rowid`)
erjo@11794 903 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 904 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 905
erjo@11794 906 --
erjo@11794 907 -- Dumping data for table `llx_c_field_list`
erjo@11794 908 --
erjo@11794 909
erjo@11794 910 LOCK TABLES `llx_c_field_list` WRITE;
erjo@11794 911 /*!40000 ALTER TABLE `llx_c_field_list` DISABLE KEYS */;
erjo@11794 912 /*!40000 ALTER TABLE `llx_c_field_list` ENABLE KEYS */;
erjo@11794 913 UNLOCK TABLES;
erjo@11794 914
erjo@11794 915 --
erjo@11794 916 -- Table structure for table `llx_c_forme_juridique`
erjo@11794 917 --
erjo@11794 918
erjo@11794 919 DROP TABLE IF EXISTS `llx_c_forme_juridique`;
erjo@11794 920 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 921 /*!40101 SET character_set_client = utf8 */;
erjo@11794 922 CREATE TABLE `llx_c_forme_juridique` (
erjo@11794 923 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 924 `code` int(11) NOT NULL,
erjo@11794 925 `fk_pays` int(11) NOT NULL,
erjo@11794 926 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 927 `isvatexempted` tinyint(4) NOT NULL DEFAULT '0',
erjo@11794 928 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 929 `module` varchar(32) DEFAULT NULL,
erjo@11794 930 PRIMARY KEY (`rowid`),
erjo@11794 931 UNIQUE KEY `uk_c_forme_juridique` (`code`)
erjo@11827 932 ) ENGINE=MyISAM AUTO_INCREMENT=131 DEFAULT CHARSET=utf8;
erjo@11794 933 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 934
erjo@11794 935 --
erjo@11794 936 -- Dumping data for table `llx_c_forme_juridique`
erjo@11794 937 --
erjo@11794 938
erjo@11794 939 LOCK TABLES `llx_c_forme_juridique` WRITE;
erjo@11794 940 /*!40000 ALTER TABLE `llx_c_forme_juridique` DISABLE KEYS */;
erjo@11827 941 INSERT INTO `llx_c_forme_juridique` VALUES (1,0,0,'-',0,1,NULL),(2,11,1,'Artisan Commerçant (EI)',0,1,NULL),(3,12,1,'Commerçant (EI)',0,1,NULL),(4,13,1,'Artisan (EI)',0,1,NULL),(5,14,1,'Officier public ou ministériel',0,1,NULL),(6,15,1,'Profession libérale (EI)',0,1,NULL),(7,16,1,'Exploitant agricole',0,1,NULL),(8,17,1,'Agent commercial',0,1,NULL),(9,18,1,'Associé Gérant de société',0,1,NULL),(10,19,1,'Personne physique',0,1,NULL),(11,21,1,'Indivision',0,1,NULL),(12,22,1,'Société créée de fait',0,1,NULL),(13,23,1,'Société en participation',0,1,NULL),(14,27,1,'Paroisse hors zone concordataire',0,1,NULL),(15,29,1,'Groupement de droit privé non doté de la personnalité morale',0,1,NULL),(16,31,1,'Personne morale de droit étranger, immatriculée au RCS',0,1,NULL),(17,32,1,'Personne morale de droit étranger, non immatriculée au RCS',0,1,NULL),(18,35,1,'Régime auto-entrepreneur',0,1,NULL),(19,41,1,'Établissement public ou régie à caractère industriel ou commercial',0,1,NULL),(20,51,1,'Société coopérative commerciale particulière',0,1,NULL),(21,52,1,'Société en nom collectif',0,1,NULL),(22,53,1,'Société en commandite',0,1,NULL),(23,54,1,'Société à responsabilité limitée (SARL)',0,1,NULL),(24,55,1,'Société anonyme à conseil d administration',0,1,NULL),(25,56,1,'Société anonyme à directoire',0,1,NULL),(26,57,1,'Société par actions simplifiée',0,1,NULL),(27,58,1,'Entreprise Unipersonnelle à Responsabilité Limitée (EURL)',0,1,NULL),(28,61,1,'Caisse d\'épargne et de prévoyance',0,1,NULL),(29,62,1,'Groupement d\'intérêt économique (GIE)',0,1,NULL),(30,63,1,'Société coopérative agricole',0,1,NULL),(31,64,1,'Société non commerciale d assurances',0,1,NULL),(32,65,1,'Société civile',0,1,NULL),(33,69,1,'Personnes de droit privé inscrites au RCS',0,1,NULL),(34,71,1,'Administration de l état',0,1,NULL),(35,72,1,'Collectivité territoriale',0,1,NULL),(36,73,1,'Établissement public administratif',0,1,NULL),(37,74,1,'Personne morale de droit public administratif',0,1,NULL),(38,81,1,'Organisme gérant régime de protection social à adhésion obligatoire',0,1,NULL),(39,82,1,'Organisme mutualiste',0,1,NULL),(40,83,1,'Comité d entreprise',0,1,NULL),(41,84,1,'Organisme professionnel',0,1,NULL),(42,85,1,'Organisme de retraite à adhésion non obligatoire',0,1,NULL),(43,91,1,'Syndicat de propriétaires',0,1,NULL),(44,92,1,'Association loi 1901 ou assimilé',0,1,NULL),(45,93,1,'Fondation',0,1,NULL),(46,99,1,'Personne morale de droit privé',0,1,NULL),(47,200,2,'Indépendant',0,1,NULL),(48,201,2,'SPRL - Société à responsabilité limitée',0,1,NULL),(49,202,2,'SA - Société Anonyme',0,1,NULL),(50,203,2,'SCRL - Société coopérative à responsabilité limitée',0,1,NULL),(51,204,2,'ASBL - Association sans but Lucratif',0,1,NULL),(52,205,2,'SCRI - Société coopérative à responsabilité illimitée',0,1,NULL),(53,206,2,'SCS - Société en commandite simple',0,1,NULL),(54,207,2,'SCA - Société en commandite par action',0,1,NULL),(55,208,2,'SNC - Société en nom collectif',0,1,NULL),(56,209,2,'GIE - Groupement d intérêt économique',0,1,NULL),(57,210,2,'GEIE - Groupement européen d intérêt économique',0,1,NULL),(58,500,5,'Limited liability corporation (GmbH)',0,1,NULL),(59,501,5,'Stock corporation (AG)',0,1,NULL),(60,502,5,'Partnerships general or limited (GmbH & CO. KG)',0,1,NULL),(61,503,5,'Sole proprietor / Private business',0,1,NULL),(62,600,6,'Raison Individuelle',0,1,NULL),(63,601,6,'Société Simple',0,1,NULL),(64,602,6,'Société en nom collectif',0,1,NULL),(65,603,6,'Société en commandite',0,1,NULL),(66,604,6,'Société anonyme (SA)',0,1,NULL),(67,605,6,'Société en commandite par actions',0,1,NULL),(68,606,6,'Société à responsabilité limitée (SARL)',0,1,NULL),(69,607,6,'Société coopérative',0,1,NULL),(70,608,6,'Association',0,1,NULL),(71,609,6,'Fondation',0,1,NULL),(72,700,7,'Sole Trader',0,1,NULL),(73,701,7,'Partnership',0,1,NULL),(74,702,7,'Private Limited Company by shares (LTD)',0,1,NULL),(75,703,7,'Public Limited Company',0,1,NULL),(76,704,7,'Workers Cooperative',0,1,NULL),(77,705,7,'Limited Liability Partnership',0,1,NULL),(78,706,7,'Franchise',0,1,NULL),(79,1000,10,'Société à responsabilité limitée (SARL)',0,1,NULL),(80,1001,10,'Société en Nom Collectif (SNC)',0,1,NULL),(81,1002,10,'Société en Commandite Simple (SCS)',0,1,NULL),(82,1003,10,'société en participation',0,1,NULL),(83,1004,10,'Société Anonyme (SA)',0,1,NULL),(84,1005,10,'Société Unipersonnelle à Responsabilité Limitée (SUARL)',0,1,NULL),(85,1006,10,'Groupement d\'intérêt économique (GEI)',0,1,NULL),(86,1007,10,'Groupe de sociétés',0,1,NULL),(87,401,4,'Empresario Individual',0,1,NULL),(88,402,4,'Comunidad de Bienes',0,1,NULL),(89,403,4,'Sociedad Civil',0,1,NULL),(90,404,4,'Sociedad Colectiva',0,1,NULL),(91,405,4,'Sociedad Limitada',0,1,NULL),(92,406,4,'Sociedad Anónima',0,1,NULL),(93,407,4,'Sociedad Comandataria por Acciones',0,1,NULL),(94,408,4,'Sociedad Comandataria Simple',0,1,NULL),(95,409,4,'Sociedad Laboral',0,1,NULL),(96,410,4,'Sociedad Cooperativa',0,1,NULL),(97,411,4,'Sociedad de Garantía Recíproca',0,1,NULL),(98,412,4,'Entidad de Capital-Riesgo',0,1,NULL),(99,413,4,'Agrupación de Interés Económico',0,1,NULL),(100,414,4,'Sociedad de Inversión Mobiliaria',0,1,NULL),(101,415,4,'Agrupación sin Ánimo de Lucro',0,1,NULL),(102,15201,152,'Mauritius Private Company Limited By Shares',0,1,NULL),(103,15202,152,'Mauritius Company Limited By Guarantee',0,1,NULL),(104,15203,152,'Mauritius Public Company Limited By Shares',0,1,NULL),(105,15204,152,'Mauritius Foreign Company',0,1,NULL),(106,15205,152,'Mauritius GBC1 (Offshore Company)',0,1,NULL),(107,15206,152,'Mauritius GBC2 (International Company)',0,1,NULL),(108,15207,152,'Mauritius General Partnership',0,1,NULL),(109,15208,152,'Mauritius Limited Partnership',0,1,NULL),(110,15209,152,'Mauritius Sole Proprietorship',0,1,NULL),(111,15210,152,'Mauritius Trusts',0,1,NULL),(112,2301,23,'Monotributista',0,1,NULL),(113,2302,23,'Sociedad Civil',0,1,NULL),(114,2303,23,'Sociedades Comerciales',0,1,NULL),(115,2304,23,'Sociedades de Hecho',0,1,NULL),(116,2305,23,'Sociedades Irregulares',0,1,NULL),(117,2306,23,'Sociedad Colectiva',0,1,NULL),(118,2307,23,'Sociedad en Comandita Simple',0,1,NULL),(119,2308,23,'Sociedad de Capital e Industria',0,1,NULL),(120,2309,23,'Sociedad Accidental o en participación',0,1,NULL),(121,2310,23,'Sociedad de Responsabilidad Limitada',0,1,NULL),(122,2311,23,'Sociedad Anónima',0,1,NULL),(123,2312,23,'Sociedad Anónima con Participación Estatal Mayoritaria',0,1,NULL),(124,2313,23,'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)',0,1,NULL),(125,15401,154,'Sociedad en nombre colectivo',0,1,NULL),(126,15402,154,'Sociedad en comandita simple',0,1,NULL),(127,15403,154,'Sociedad de responsabilidad limitada',0,1,NULL),(128,15404,154,'Sociedad anónima',0,1,NULL),(129,15405,154,'Sociedad en comandita por acciones',0,1,NULL),(130,15406,154,'Sociedad cooperativa',0,1,NULL);
erjo@11794 942 /*!40000 ALTER TABLE `llx_c_forme_juridique` ENABLE KEYS */;
erjo@11794 943 UNLOCK TABLES;
erjo@11794 944
erjo@11794 945 --
erjo@11827 946 -- Table structure for table `llx_c_input_method`
erjo@11827 947 --
erjo@11827 948
erjo@11827 949 DROP TABLE IF EXISTS `llx_c_input_method`;
erjo@11794 950 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 951 /*!40101 SET character_set_client = utf8 */;
erjo@11827 952 CREATE TABLE `llx_c_input_method` (
erjo@11794 953 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 954 `code` varchar(30) DEFAULT NULL,
erjo@11794 955 `libelle` varchar(60) DEFAULT NULL,
erjo@11794 956 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 957 `module` varchar(32) DEFAULT NULL,
erjo@11794 958 PRIMARY KEY (`rowid`),
erjo@11794 959 UNIQUE KEY `uk_c_methode_commande_fournisseur` (`code`)
erjo@11794 960 ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
erjo@11794 961 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 962
erjo@11794 963 --
erjo@11827 964 -- Dumping data for table `llx_c_input_method`
erjo@11827 965 --
erjo@11827 966
erjo@11827 967 LOCK TABLES `llx_c_input_method` WRITE;
erjo@11827 968 /*!40000 ALTER TABLE `llx_c_input_method` DISABLE KEYS */;
erjo@11827 969 INSERT INTO `llx_c_input_method` VALUES (1,'OrderByMail','Courrier',1,NULL),(2,'OrderByFax','Fax',1,NULL),(3,'OrderByEMail','EMail',1,NULL),(4,'OrderByPhone','Téléphone',1,NULL),(5,'OrderByWWW','En ligne',1,NULL);
erjo@11827 970 /*!40000 ALTER TABLE `llx_c_input_method` ENABLE KEYS */;
erjo@11827 971 UNLOCK TABLES;
erjo@11827 972
erjo@11827 973 --
erjo@11827 974 -- Table structure for table `llx_c_input_reason`
erjo@11827 975 --
erjo@11827 976
erjo@11827 977 DROP TABLE IF EXISTS `llx_c_input_reason`;
erjo@11827 978 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11827 979 /*!40101 SET character_set_client = utf8 */;
erjo@11827 980 CREATE TABLE `llx_c_input_reason` (
erjo@11827 981 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 982 `code` varchar(30) NOT NULL,
erjo@11827 983 `label` varchar(60) NOT NULL,
erjo@11827 984 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 985 `module` varchar(32) DEFAULT NULL,
erjo@11827 986 PRIMARY KEY (`rowid`),
erjo@11827 987 UNIQUE KEY `uk_c_input_reason` (`code`)
erjo@11827 988 ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
erjo@11827 989 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11827 990
erjo@11827 991 --
erjo@11827 992 -- Dumping data for table `llx_c_input_reason`
erjo@11827 993 --
erjo@11827 994
erjo@11827 995 LOCK TABLES `llx_c_input_reason` WRITE;
erjo@11827 996 /*!40000 ALTER TABLE `llx_c_input_reason` DISABLE KEYS */;
erjo@11827 997 INSERT INTO `llx_c_input_reason` VALUES (1,'SRC_INTE','Web site',1,NULL),(2,'SRC_CAMP_MAIL','Mailing campaign',1,NULL),(3,'SRC_CAMP_PHO','Phone campaign',1,NULL),(4,'SRC_CAMP_FAX','Fax campaign',1,NULL),(5,'SRC_COMM','Commercial contact',1,NULL),(6,'SRC_SHOP','Shop contact',1,NULL),(7,'SRC_CAMP_EMAIL','EMailing campaign',1,NULL);
erjo@11827 998 /*!40000 ALTER TABLE `llx_c_input_reason` ENABLE KEYS */;
erjo@11794 999 UNLOCK TABLES;
erjo@11794 1000
erjo@11794 1001 --
erjo@11794 1002 -- Table structure for table `llx_c_paiement`
erjo@11794 1003 --
erjo@11794 1004
erjo@11794 1005 DROP TABLE IF EXISTS `llx_c_paiement`;
erjo@11794 1006 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1007 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1008 CREATE TABLE `llx_c_paiement` (
erjo@11794 1009 `id` int(11) NOT NULL,
erjo@11794 1010 `code` varchar(6) NOT NULL,
erjo@11794 1011 `libelle` varchar(30) DEFAULT NULL,
erjo@11794 1012 `type` smallint(6) DEFAULT NULL,
erjo@11794 1013 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 1014 `module` varchar(32) DEFAULT NULL,
erjo@11794 1015 PRIMARY KEY (`id`),
erjo@11794 1016 UNIQUE KEY `code` (`code`)
erjo@11794 1017 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1018 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1019
erjo@11794 1020 --
erjo@11794 1021 -- Dumping data for table `llx_c_paiement`
erjo@11794 1022 --
erjo@11794 1023
erjo@11794 1024 LOCK TABLES `llx_c_paiement` WRITE;
erjo@11794 1025 /*!40000 ALTER TABLE `llx_c_paiement` DISABLE KEYS */;
erjo@11827 1026 INSERT INTO `llx_c_paiement` VALUES (0,'','-',3,1,NULL),(1,'TIP','TIP',2,1,NULL),(2,'VIR','Virement',2,1,NULL),(3,'PRE','Prélèvement',2,1,NULL),(4,'LIQ','Espèces',2,1,NULL),(5,'VAD','Paiement en ligne',2,0,NULL),(6,'CB','Carte Bancaire',2,1,NULL),(7,'CHQ','Chèque',2,1,NULL),(8,'TRA','Traite',2,0,NULL),(9,'LCR','LCR',2,0,NULL),(10,'FAC','Factor',2,0,NULL),(11,'PRO','Proforma',2,0,NULL);
erjo@11794 1027 /*!40000 ALTER TABLE `llx_c_paiement` ENABLE KEYS */;
erjo@11794 1028 UNLOCK TABLES;
erjo@11794 1029
erjo@11794 1030 --
erjo@11794 1031 -- Table structure for table `llx_c_paper_format`
erjo@11794 1032 --
erjo@11794 1033
erjo@11794 1034 DROP TABLE IF EXISTS `llx_c_paper_format`;
erjo@11794 1035 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1036 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1037 CREATE TABLE `llx_c_paper_format` (
erjo@11794 1038 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1039 `code` varchar(16) NOT NULL,
erjo@11794 1040 `label` varchar(50) NOT NULL,
erjo@11794 1041 `width` float(6,2) DEFAULT '0.00',
erjo@11794 1042 `height` float(6,2) DEFAULT '0.00',
erjo@11794 1043 `unit` varchar(5) NOT NULL,
erjo@11794 1044 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 1045 `module` varchar(32) DEFAULT NULL,
erjo@11794 1046 PRIMARY KEY (`rowid`)
erjo@11794 1047 ) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=utf8;
erjo@11794 1048 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1049
erjo@11794 1050 --
erjo@11794 1051 -- Dumping data for table `llx_c_paper_format`
erjo@11794 1052 --
erjo@11794 1053
erjo@11794 1054 LOCK TABLES `llx_c_paper_format` WRITE;
erjo@11794 1055 /*!40000 ALTER TABLE `llx_c_paper_format` DISABLE KEYS */;
erjo@11827 1056 INSERT INTO `llx_c_paper_format` VALUES (1,'4A0','Format 4A0',1682.00,2378.00,'mm',1,NULL),(2,'2A0','Format 2A0',1189.00,1682.00,'mm',1,NULL),(3,'A0','Format A0',840.00,1189.00,'mm',1,NULL),(4,'A1','Format A1',594.00,840.00,'mm',1,NULL),(5,'A2','Format A2',420.00,594.00,'mm',1,NULL),(6,'A3','Format A3',297.00,420.00,'mm',1,NULL),(7,'A4','Format A4',210.00,297.00,'mm',1,NULL),(8,'A5','Format A5',148.00,210.00,'mm',1,NULL),(9,'A6','Format A6',105.00,148.00,'mm',1,NULL),(100,'USLetter','Format Letter (A)',216.00,279.00,'mm',0,NULL),(105,'USLegal','Format Legal',216.00,356.00,'mm',0,NULL),(110,'USExecutive','Format Executive',190.00,254.00,'mm',0,NULL),(115,'USLedger','Format Ledger/Tabloid (B)',279.00,432.00,'mm',0,NULL),(200,'Canadian P1','Format Canadian P1',560.00,860.00,'mm',0,NULL),(205,'Canadian P2','Format Canadian P2',430.00,560.00,'mm',0,NULL),(210,'Canadian P3','Format Canadian P3',280.00,430.00,'mm',0,NULL),(215,'Canadian P4','Format Canadian P4',215.00,280.00,'mm',0,NULL),(220,'Canadian P5','Format Canadian P5',140.00,215.00,'mm',0,NULL),(225,'Canadian P6','Format Canadian P6',107.00,140.00,'mm',0,NULL);
erjo@11794 1057 /*!40000 ALTER TABLE `llx_c_paper_format` ENABLE KEYS */;
erjo@11794 1058 UNLOCK TABLES;
erjo@11794 1059
erjo@11794 1060 --
erjo@11794 1061 -- Table structure for table `llx_c_payment_term`
erjo@11794 1062 --
erjo@11794 1063
erjo@11794 1064 DROP TABLE IF EXISTS `llx_c_payment_term`;
erjo@11794 1065 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1066 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1067 CREATE TABLE `llx_c_payment_term` (
erjo@11794 1068 `rowid` int(11) NOT NULL,
erjo@11794 1069 `code` varchar(16) DEFAULT NULL,
erjo@11794 1070 `sortorder` smallint(6) DEFAULT NULL,
erjo@11794 1071 `active` tinyint(4) DEFAULT '1',
erjo@11794 1072 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 1073 `libelle_facture` text,
erjo@11794 1074 `fdm` tinyint(4) DEFAULT NULL,
erjo@11794 1075 `nbjour` smallint(6) DEFAULT NULL,
erjo@11794 1076 `decalage` smallint(6) DEFAULT NULL,
erjo@11827 1077 `module` varchar(32) DEFAULT NULL,
erjo@11794 1078 PRIMARY KEY (`rowid`)
erjo@11794 1079 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1080 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1081
erjo@11794 1082 --
erjo@11794 1083 -- Dumping data for table `llx_c_payment_term`
erjo@11794 1084 --
erjo@11794 1085
erjo@11794 1086 LOCK TABLES `llx_c_payment_term` WRITE;
erjo@11794 1087 /*!40000 ALTER TABLE `llx_c_payment_term` DISABLE KEYS */;
erjo@11827 1088 INSERT INTO `llx_c_payment_term` VALUES (1,'RECEP',1,1,'A réception','Réception de facture',0,0,NULL,NULL),(2,'30D',2,1,'30 jours','Réglement à 30 jours',0,30,NULL,NULL),(3,'30DENDMONTH',3,1,'30 jours fin de mois','Réglement à 30 jours fin de mois',1,30,NULL,NULL),(4,'60D',4,1,'60 jours','Réglement à 60 jours',0,60,NULL,NULL),(5,'60DENDMONTH',5,1,'60 jours fin de mois','Réglement à 60 jours fin de mois',1,60,NULL,NULL);
erjo@11794 1089 /*!40000 ALTER TABLE `llx_c_payment_term` ENABLE KEYS */;
erjo@11794 1090 UNLOCK TABLES;
erjo@11794 1091
erjo@11794 1092 --
erjo@11794 1093 -- Table structure for table `llx_c_pays`
erjo@11794 1094 --
erjo@11794 1095
erjo@11794 1096 DROP TABLE IF EXISTS `llx_c_pays`;
erjo@11794 1097 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1098 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1099 CREATE TABLE `llx_c_pays` (
erjo@11794 1100 `rowid` int(11) NOT NULL,
erjo@11794 1101 `code` varchar(2) NOT NULL,
erjo@11794 1102 `code_iso` varchar(3) DEFAULT NULL,
erjo@11794 1103 `libelle` varchar(50) NOT NULL,
erjo@11794 1104 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1105 PRIMARY KEY (`rowid`),
erjo@11794 1106 UNIQUE KEY `idx_c_pays_code` (`code`),
erjo@11794 1107 UNIQUE KEY `idx_c_pays_libelle` (`libelle`),
erjo@11794 1108 UNIQUE KEY `idx_c_pays_code_iso` (`code_iso`)
erjo@11794 1109 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1110 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1111
erjo@11794 1112 --
erjo@11794 1113 -- Dumping data for table `llx_c_pays`
erjo@11794 1114 --
erjo@11794 1115
erjo@11794 1116 LOCK TABLES `llx_c_pays` WRITE;
erjo@11794 1117 /*!40000 ALTER TABLE `llx_c_pays` DISABLE KEYS */;
erjo@11794 1118 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);
erjo@11794 1119 /*!40000 ALTER TABLE `llx_c_pays` ENABLE KEYS */;
erjo@11794 1120 UNLOCK TABLES;
erjo@11794 1121
erjo@11794 1122 --
erjo@11794 1123 -- Table structure for table `llx_c_propalst`
erjo@11794 1124 --
erjo@11794 1125
erjo@11794 1126 DROP TABLE IF EXISTS `llx_c_propalst`;
erjo@11794 1127 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1128 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1129 CREATE TABLE `llx_c_propalst` (
erjo@11794 1130 `id` smallint(6) NOT NULL,
erjo@11794 1131 `code` varchar(12) NOT NULL,
erjo@11794 1132 `label` varchar(30) DEFAULT NULL,
erjo@11794 1133 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1134 PRIMARY KEY (`id`),
erjo@11794 1135 UNIQUE KEY `code` (`code`)
erjo@11794 1136 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1137 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1138
erjo@11794 1139 --
erjo@11794 1140 -- Dumping data for table `llx_c_propalst`
erjo@11794 1141 --
erjo@11794 1142
erjo@11794 1143 LOCK TABLES `llx_c_propalst` WRITE;
erjo@11794 1144 /*!40000 ALTER TABLE `llx_c_propalst` DISABLE KEYS */;
erjo@11794 1145 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);
erjo@11794 1146 /*!40000 ALTER TABLE `llx_c_propalst` ENABLE KEYS */;
erjo@11794 1147 UNLOCK TABLES;
erjo@11794 1148
erjo@11794 1149 --
erjo@11794 1150 -- Table structure for table `llx_c_prospectlevel`
erjo@11794 1151 --
erjo@11794 1152
erjo@11794 1153 DROP TABLE IF EXISTS `llx_c_prospectlevel`;
erjo@11794 1154 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1155 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1156 CREATE TABLE `llx_c_prospectlevel` (
erjo@11794 1157 `code` varchar(12) NOT NULL,
erjo@11794 1158 `label` varchar(30) DEFAULT NULL,
erjo@11794 1159 `sortorder` smallint(6) DEFAULT NULL,
erjo@11794 1160 `active` smallint(6) NOT NULL DEFAULT '1',
erjo@11827 1161 `module` varchar(32) DEFAULT NULL,
erjo@11794 1162 PRIMARY KEY (`code`)
erjo@11794 1163 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1164 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1165
erjo@11794 1166 --
erjo@11794 1167 -- Dumping data for table `llx_c_prospectlevel`
erjo@11794 1168 --
erjo@11794 1169
erjo@11794 1170 LOCK TABLES `llx_c_prospectlevel` WRITE;
erjo@11794 1171 /*!40000 ALTER TABLE `llx_c_prospectlevel` DISABLE KEYS */;
erjo@11827 1172 INSERT INTO `llx_c_prospectlevel` VALUES ('PL_NONE','None',1,1,NULL),('PL_LOW','Low',2,1,NULL),('PL_MEDIUM','Medium',3,1,NULL),('PL_HIGH','High',4,1,NULL);
erjo@11794 1173 /*!40000 ALTER TABLE `llx_c_prospectlevel` ENABLE KEYS */;
erjo@11794 1174 UNLOCK TABLES;
erjo@11794 1175
erjo@11794 1176 --
erjo@11794 1177 -- Table structure for table `llx_c_regions`
erjo@11794 1178 --
erjo@11794 1179
erjo@11794 1180 DROP TABLE IF EXISTS `llx_c_regions`;
erjo@11794 1181 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1182 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1183 CREATE TABLE `llx_c_regions` (
erjo@11794 1184 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1185 `code_region` int(11) NOT NULL,
erjo@11794 1186 `fk_pays` int(11) NOT NULL,
erjo@11827 1187 `cheflieu` varchar(50) DEFAULT NULL,
erjo@11794 1188 `tncc` int(11) DEFAULT NULL,
erjo@11794 1189 `nom` varchar(50) DEFAULT NULL,
erjo@11794 1190 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1191 PRIMARY KEY (`rowid`),
erjo@11794 1192 UNIQUE KEY `code_region` (`code_region`),
erjo@11794 1193 KEY `idx_c_regions_fk_pays` (`fk_pays`)
erjo@11827 1194 ) ENGINE=MyISAM AUTO_INCREMENT=15402 DEFAULT CHARSET=utf8;
erjo@11794 1195 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1196
erjo@11794 1197 --
erjo@11794 1198 -- Dumping data for table `llx_c_regions`
erjo@11794 1199 --
erjo@11794 1200
erjo@11794 1201 LOCK TABLES `llx_c_regions` WRITE;
erjo@11794 1202 /*!40000 ALTER TABLE `llx_c_regions` DISABLE KEYS */;
erjo@11827 1203 INSERT INTO `llx_c_regions` VALUES (1,0,0,'0',0,'-',1),(101,1,1,'97105',3,'Guadeloupe',1),(102,2,1,'97209',3,'Martinique',1),(103,3,1,'97302',3,'Guyane',1),(104,4,1,'97411',3,'Réunion',1),(105,11,1,'75056',1,'Île-de-France',1),(106,21,1,'51108',0,'Champagne-Ardenne',1),(107,22,1,'80021',0,'Picardie',1),(108,23,1,'76540',0,'Haute-Normandie',1),(109,24,1,'45234',2,'Centre',1),(110,25,1,'14118',0,'Basse-Normandie',1),(111,26,1,'21231',0,'Bourgogne',1),(112,31,1,'59350',2,'Nord-Pas-de-Calais',1),(113,41,1,'57463',0,'Lorraine',1),(114,42,1,'67482',1,'Alsace',1),(115,43,1,'25056',0,'Franche-Comté',1),(116,52,1,'44109',4,'Pays de la Loire',1),(117,53,1,'35238',0,'Bretagne',1),(118,54,1,'86194',2,'Poitou-Charentes',1),(119,72,1,'33063',1,'Aquitaine',1),(120,73,1,'31555',0,'Midi-Pyrénées',1),(121,74,1,'87085',2,'Limousin',1),(122,82,1,'69123',2,'Rhône-Alpes',1),(123,83,1,'63113',1,'Auvergne',1),(124,91,1,'34172',2,'Languedoc-Roussillon',1),(125,93,1,'13055',0,'Provence-Alpes-Côte d\'Azur',1),(126,94,1,'2A004',0,'Corse',1),(201,201,2,'',1,'Flandre',1),(202,202,2,'',2,'Wallonie',1),(203,203,2,'',3,'Bruxelles-Capitale',1),(301,301,3,NULL,1,'Abruzzo',1),(302,302,3,NULL,1,'Basilicata',1),(303,303,3,NULL,1,'Calabria',1),(304,304,3,NULL,1,'Campania',1),(305,305,3,NULL,1,'Emilia-Romagna',1),(306,306,3,NULL,1,'Friuli-Venezia Giulia',1),(307,307,3,NULL,1,'Lazio',1),(308,308,3,NULL,1,'Liguria',1),(309,309,3,NULL,1,'Lombardia',1),(310,310,3,NULL,1,'Marche',1),(311,311,3,NULL,1,'Molise',1),(312,312,3,NULL,1,'Piemonte',1),(313,313,3,NULL,1,'Puglia',1),(314,314,3,NULL,1,'Sardegna',1),(315,315,3,NULL,1,'Sicilia',1),(316,316,3,NULL,1,'Toscana',1),(317,317,3,NULL,1,'Trentino-Alto Adige',1),(318,318,3,NULL,1,'Umbria',1),(319,319,3,NULL,1,'Valle d Aosta',1),(320,320,3,NULL,1,'Veneto',1),(401,401,4,'',0,'Andalucia',1),(402,402,4,'',0,'Aragón',1),(403,403,4,'',0,'Castilla y León',1),(404,404,4,'',0,'Castilla la Mancha',1),(405,405,4,'',0,'Canarias',1),(406,406,4,'',0,'Cataluña',1),(407,407,4,'',0,'Comunidad de Ceuta',1),(408,408,4,'',0,'Comunidad Foral de Navarra',1),(409,409,4,'',0,'Comunidad de Melilla',1),(410,410,4,'',0,'Cantabria',1),(411,411,4,'',0,'Comunidad Valenciana',1),(412,412,4,'',0,'Extemadura',1),(413,413,4,'',0,'Galicia',1),(414,414,4,'',0,'Islas Baleares',1),(415,415,4,'',0,'La Rioja',1),(416,416,4,'',0,'Comunidad de Madrid',1),(417,417,4,'',0,'Región de Murcia',1),(418,418,4,'',0,'Principado de Asturias',1),(419,419,4,'',0,'Pais Vasco',1),(420,420,4,'',0,'Otros',1),(601,601,6,'',1,'Cantons',1),(1001,1001,10,'',0,'Ariana',1),(1002,1002,10,'',0,'Béja',1),(1003,1003,10,'',0,'Ben Arous',1),(1004,1004,10,'',0,'Bizerte',1),(1005,1005,10,'',0,'Gabès',1),(1006,1006,10,'',0,'Gafsa',1),(1007,1007,10,'',0,'Jendouba',1),(1008,1008,10,'',0,'Kairouan',1),(1009,1009,10,'',0,'Kasserine',1),(1010,1010,10,'',0,'Kébili',1),(1011,1011,10,'',0,'La Manouba',1),(1012,1012,10,'',0,'Le Kef',1),(1013,1013,10,'',0,'Mahdia',1),(1014,1014,10,'',0,'Médenine',1),(1015,1015,10,'',0,'Monastir',1),(1016,1016,10,'',0,'Nabeul',1),(1017,1017,10,'',0,'Sfax',1),(1018,1018,10,'',0,'Sidi Bouzid',1),(1019,1019,10,'',0,'Siliana',1),(1020,1020,10,'',0,'Sousse',1),(1021,1021,10,'',0,'Tataouine',1),(1022,1022,10,'',0,'Tozeur',1),(1023,1023,10,'',0,'Tunis',1),(1024,1024,10,'',0,'Zaghouan',1),(1101,1101,11,'',0,'United-States',1),(2301,2301,23,'',0,'Norte',1),(2302,2302,23,'',0,'Litoral',1),(2303,2303,23,'',0,'Cuyana',1),(2304,2304,23,'',0,'Central',1),(2305,2305,23,'',0,'Patagonia',1),(2801,2801,28,'',0,'Australia',1),(8601,8601,86,NULL,NULL,'Central',1),(8602,8602,86,NULL,NULL,'Oriental',1),(8603,8603,86,NULL,NULL,'Occidental',1),(11701,11701,117,'',0,'India',1),(15201,15201,152,'',0,'Rivière Noire',1),(15202,15202,152,'',0,'Flacq',1),(15203,15203,152,'',0,'Grand Port',1),(15204,15204,152,'',0,'Moka',1),(15205,15205,152,'',0,'Pamplemousses',1),(15206,15206,152,'',0,'Plaines Wilhems',1),(15207,15207,152,'',0,'Port-Louis',1),(15208,15208,152,'',0,'Rivière du Rempart',1),(15209,15209,152,'',0,'Savanne',1),(15210,15210,152,'',0,'Rodrigues',1),(15211,15211,152,'',0,'Les îles Agaléga',1),(15212,15212,152,'',0,'Les écueils des Cargados Carajos',1),(6701,6701,67,NULL,NULL,'Tarapacá',1),(6702,6702,67,NULL,NULL,'Antofagasta',1),(6703,6703,67,NULL,NULL,'Atacama',1),(6704,6704,67,NULL,NULL,'Coquimbo',1),(6705,6705,67,NULL,NULL,'Valparaíso',1),(6706,6706,67,NULL,NULL,'General Bernardo O Higgins',1),(6707,6707,67,NULL,NULL,'Maule',1),(6708,6708,67,NULL,NULL,'Biobío',1),(6709,6709,67,NULL,NULL,'Raucanía',1),(6710,6710,67,NULL,NULL,'Los Lagos',1),(6711,6711,67,NULL,NULL,'Aysén General Carlos Ibáñez del Campo',1),(6712,6712,67,NULL,NULL,'Magallanes y Antártica Chilena',1),(6713,6713,67,NULL,NULL,'Santiago',1),(6714,6714,67,NULL,NULL,'Los Ríos',1),(6715,6715,67,NULL,NULL,'Arica y Parinacota',1),(15401,15401,154,'',0,'Mexique',1),(7001,7001,70,'',0,'Colombie',1),(11401,11401,114,'',0,'Honduras',1),(4601,4601,46,'Bridgetown',0,'Barbados',1);
erjo@11794 1204 /*!40000 ALTER TABLE `llx_c_regions` ENABLE KEYS */;
erjo@11794 1205 UNLOCK TABLES;
erjo@11794 1206
erjo@11794 1207 --
erjo@11794 1208 -- Table structure for table `llx_c_shipment_mode`
erjo@11794 1209 --
erjo@11794 1210
erjo@11794 1211 DROP TABLE IF EXISTS `llx_c_shipment_mode`;
erjo@11794 1212 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1213 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1214 CREATE TABLE `llx_c_shipment_mode` (
erjo@11794 1215 `rowid` int(11) NOT NULL,
erjo@11794 1216 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1217 `code` varchar(30) NOT NULL,
erjo@11794 1218 `libelle` varchar(50) NOT NULL,
erjo@11794 1219 `description` text,
erjo@11794 1220 `active` tinyint(4) DEFAULT '0',
erjo@11827 1221 `module` varchar(32) DEFAULT NULL,
erjo@11794 1222 PRIMARY KEY (`rowid`)
erjo@11794 1223 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1224 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1225
erjo@11794 1226 --
erjo@11794 1227 -- Dumping data for table `llx_c_shipment_mode`
erjo@11794 1228 --
erjo@11794 1229
erjo@11794 1230 LOCK TABLES `llx_c_shipment_mode` WRITE;
erjo@11794 1231 /*!40000 ALTER TABLE `llx_c_shipment_mode` DISABLE KEYS */;
erjo@11827 1232 INSERT INTO `llx_c_shipment_mode` VALUES (1,'2011-07-03 17:32:38','CATCH','Catch','Catch by client',1,NULL),(2,'2011-07-03 17:32:38','TRANS','Transporter','Generic transporter',1,NULL),(3,'2011-07-03 17:32:38','COLSUI','Colissimo Suivi','Colissimo Suivi',0,NULL),(4,'2012-02-25 07:44:57','LETTREMAX','Lettre Max','Courrier Suivi et Lettre Max',0,NULL);
erjo@11794 1233 /*!40000 ALTER TABLE `llx_c_shipment_mode` ENABLE KEYS */;
erjo@11794 1234 UNLOCK TABLES;
erjo@11794 1235
erjo@11794 1236 --
erjo@11794 1237 -- Table structure for table `llx_c_stcomm`
erjo@11794 1238 --
erjo@11794 1239
erjo@11794 1240 DROP TABLE IF EXISTS `llx_c_stcomm`;
erjo@11794 1241 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1242 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1243 CREATE TABLE `llx_c_stcomm` (
erjo@11794 1244 `id` int(11) NOT NULL,
erjo@11794 1245 `code` varchar(12) NOT NULL,
erjo@11794 1246 `libelle` varchar(30) DEFAULT NULL,
erjo@11794 1247 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1248 PRIMARY KEY (`id`),
erjo@11794 1249 UNIQUE KEY `code` (`code`)
erjo@11794 1250 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1251 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1252
erjo@11794 1253 --
erjo@11794 1254 -- Dumping data for table `llx_c_stcomm`
erjo@11794 1255 --
erjo@11794 1256
erjo@11794 1257 LOCK TABLES `llx_c_stcomm` WRITE;
erjo@11794 1258 /*!40000 ALTER TABLE `llx_c_stcomm` DISABLE KEYS */;
erjo@11794 1259 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);
erjo@11794 1260 /*!40000 ALTER TABLE `llx_c_stcomm` ENABLE KEYS */;
erjo@11794 1261 UNLOCK TABLES;
erjo@11794 1262
erjo@11794 1263 --
erjo@11794 1264 -- Table structure for table `llx_c_tva`
erjo@11794 1265 --
erjo@11794 1266
erjo@11794 1267 DROP TABLE IF EXISTS `llx_c_tva`;
erjo@11794 1268 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1269 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1270 CREATE TABLE `llx_c_tva` (
erjo@11794 1271 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1272 `fk_pays` int(11) NOT NULL,
erjo@11794 1273 `taux` double NOT NULL,
erjo@11794 1274 `localtax1` double NOT NULL DEFAULT '0',
erjo@11794 1275 `localtax2` double NOT NULL DEFAULT '0',
erjo@11794 1276 `recuperableonly` int(11) NOT NULL DEFAULT '0',
erjo@11794 1277 `note` varchar(128) DEFAULT NULL,
erjo@11794 1278 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1279 `accountancy_code` varchar(15) DEFAULT NULL,
erjo@11794 1280 PRIMARY KEY (`rowid`)
erjo@11794 1281 ) ENGINE=MyISAM AUTO_INCREMENT=2462 DEFAULT CHARSET=utf8;
erjo@11794 1282 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1283
erjo@11794 1284 --
erjo@11794 1285 -- Dumping data for table `llx_c_tva`
erjo@11794 1286 --
erjo@11794 1287
erjo@11794 1288 LOCK TABLES `llx_c_tva` WRITE;
erjo@11794 1289 /*!40000 ALTER TABLE `llx_c_tva` DISABLE KEYS */;
erjo@11827 1290 INSERT INTO `llx_c_tva` VALUES (231,23,21,0,0,0,'IVA standard rate',1,NULL),(232,23,10.5,0,0,0,'IVA reduced rate',1,NULL),(233,23,0,0,0,0,'IVA Rate 0',1,NULL),(281,28,10,0,0,0,'VAT standard rate',1,NULL),(282,28,0,0,0,0,'VAT Rate 0',1,NULL),(411,41,20,0,0,0,'VAT standard rate',1,NULL),(412,41,10,0,0,0,'VAT reduced rate',1,NULL),(413,41,0,0,0,0,'VAT Rate 0',1,NULL),(591,59,20,0,0,0,'VAT standard rate',1,NULL),(592,59,7,0,0,0,'VAT reduced rate',1,NULL),(593,59,0,0,0,0,'VAT Rate 0',1,NULL),(21,2,21,0,0,0,'VAT standard rate',1,NULL),(22,2,6,0,0,0,'VAT reduced rate',1,NULL),(23,2,0,0,0,0,'VAT Rate 0 ou non applicable',1,NULL),(24,2,12,0,0,0,'VAT reduced rate',1,NULL),(141,14,7,0,0,0,'VAT standard rate',1,NULL),(142,14,0,0,0,0,'VAT Rate 0',1,NULL),(671,67,19,0,0,0,'VAT standard rate',1,NULL),(672,67,0,0,0,0,'VAT Rate 0',1,NULL),(91,9,17,0,0,0,'VAT standard rate',1,NULL),(92,9,13,0,0,0,'VAT reduced rate 0',1,NULL),(93,9,3,0,0,0,'VAT super reduced rate 0',1,NULL),(94,9,0,0,0,0,'VAT Rate 0',1,NULL),(801,80,25,0,0,0,'VAT standard rate',1,NULL),(802,80,0,0,0,0,'VAT Rate 0',1,NULL),(11,1,19.6,0,0,0,'VAT standard rate (France hors DOM-TOM)',1,NULL),(12,1,8.5,0,0,0,'VAT standard rate (DOM sauf Guyane et Saint-Martin)',0,NULL),(13,1,8.5,0,0,1,'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur',0,NULL),(14,1,5.5,0,0,0,'VAT reduced rate (France hors DOM-TOM)',1,NULL),(15,1,0,0,0,0,'VAT Rate 0 ou non applicable',1,NULL),(16,1,2.1,0,0,0,'VAT super-reduced rate',1,NULL),(51,5,19,0,0,0,'VAT standard rate',1,NULL),(52,5,7,0,0,0,'VAT reduced rate',1,NULL),(53,5,0,0,0,0,'VAT Rate 0',1,NULL),(1161,116,25.5,0,0,0,'VAT standard rate',1,NULL),(1162,116,7,0,0,0,'VAT reduced rate',1,NULL),(1163,116,0,0,0,0,'VAT rate 0',1,NULL),(31,3,20,0,0,0,'VAT standard rate',1,NULL),(32,3,10,0,0,0,'VAT reduced rate',1,NULL),(33,3,4,0,0,0,'VAT super-reduced rate',1,NULL),(34,3,0,0,0,0,'VAT Rate 0',1,NULL),(1171,117,12.5,0,0,0,'VAT standard rate',1,NULL),(1172,117,4,0,0,0,'VAT reduced rate',1,NULL),(1173,117,1,0,0,0,'VAT super-reduced rate',1,NULL),(1174,117,0,0,0,0,'VAT Rate 0',1,NULL),(1231,123,0,0,0,0,'VAT Rate 0',1,NULL),(1232,123,5,0,0,0,'VAT Rate 5',1,NULL),(1401,140,15,0,0,0,'VAT standard rate',1,NULL),(1402,140,12,0,0,0,'VAT reduced rate',1,NULL),(1403,140,6,0,0,0,'VAT reduced rate',1,NULL),(1404,140,3,0,0,0,'VAT super-reduced rate',1,NULL),(1405,140,0,0,0,0,'VAT Rate 0',1,NULL),(121,12,20,0,0,0,'VAT standard rate',1,NULL),(122,12,14,0,0,0,'VAT reduced rate',1,NULL),(123,12,10,0,0,0,'VAT reduced rate',1,NULL),(124,12,7,0,0,0,'VAT super-reduced rate',1,NULL),(125,12,0,0,0,0,'VAT Rate 0',1,NULL),(171,17,19,0,0,0,'VAT standard rate',1,NULL),(172,17,6,0,0,0,'VAT reduced rate',1,NULL),(173,17,0,0,0,0,'VAT Rate 0',1,NULL),(1662,166,15,0,0,0,'VAT standard rate',1,NULL),(1663,166,0,0,0,0,'VAT Rate 0',1,NULL),(1841,184,20,0,0,0,'VAT standard rate',1,NULL),(1842,184,7,0,0,0,'VAT reduced rate',1,NULL),(1843,184,3,0,0,0,'VAT reduced rate',1,NULL),(1844,184,0,0,0,0,'VAT Rate 0',1,NULL),(251,25,20,0,0,0,'VAT standard rate',1,NULL),(252,25,12,0,0,0,'VAT reduced rate',1,NULL),(253,25,0,0,0,0,'VAT Rate 0',1,NULL),(254,25,5,0,0,0,'VAT reduced rate',1,NULL),(1881,188,24,0,0,0,'VAT standard rate',1,NULL),(1882,188,9,0,0,0,'VAT reduced rate',1,NULL),(1884,188,5,0,0,0,'VAT reduced rate',1,NULL),(1883,188,0,0,0,0,'VAT Rate 0',1,NULL),(861,86,13,0,0,0,'IVA 13',1,NULL),(862,86,0,0,0,0,'SIN IVA',1,NULL),(2011,201,19,0,0,0,'VAT standard rate',1,NULL),(2012,201,10,0,0,0,'VAT reduced rate',1,NULL),(2013,201,0,0,0,0,'VAT Rate 0',1,NULL),(2021,202,20,0,0,0,'VAT standard rate',1,NULL),(2022,202,8.5,0,0,0,'VAT reduced rate',1,NULL),(2023,202,0,0,0,0,'VAT Rate 0',1,NULL),(41,4,18,4,0,0,'VAT standard rate',1,NULL),(42,4,8,1,0,0,'VAT reduced rate',1,NULL),(43,4,4,0.5,0,0,'VAT super-reduced rate',1,NULL),(44,4,0,0,0,0,'VAT Rate 0',1,NULL),(201,20,25,0,0,0,'VAT standard rate',1,NULL),(202,20,12,0,0,0,'VAT reduced rate',1,NULL),(203,20,6,0,0,0,'VAT super-reduced rate',1,NULL),(204,20,0,0,0,0,'VAT Rate 0',1,NULL),(61,6,7.6,0,0,0,'VAT standard rate',1,NULL),(62,6,3.6,0,0,0,'VAT reduced rate',1,NULL),(63,6,2.4,0,0,0,'VAT super-reduced rate',1,NULL),(64,6,0,0,0,0,'VAT Rate 0',1,NULL),(101,10,6,0,0,0,'VAT 6%',1,NULL),(102,10,12,0,0,0,'VAT 12%',1,NULL),(103,10,18,0,0,0,'VAT 18%',1,NULL),(104,10,7.5,0,0,0,'VAT 6% Majoré à 25% (7.5%)',1,NULL),(105,10,15,0,0,0,'VAT 12% Majoré à 25% (15%)',1,NULL),(106,10,22.5,0,0,0,'VAT 18% Majoré à 25% (22.5%)',1,NULL),(107,10,0,0,0,0,'VAT Rate 0',1,NULL),(71,7,20,0,0,0,'VAT standard rate',1,NULL),(72,7,17.5,0,0,0,'VAT standard rate before 2011',1,NULL),(73,7,5,0,0,0,'VAT reduced rate',1,NULL),(74,7,0,0,0,0,'VAT Rate 0',1,NULL),(111,11,0,0,0,0,'No Sales Tax',1,NULL),(112,11,4,0,0,0,'Sales Tax 4%',1,NULL),(113,11,6,0,0,0,'Sales Tax 6%',1,NULL),(1931,193,0,0,0,0,'No VAT in SPM',1,NULL),(2461,246,0,0,0,0,'VAT Rate 0',1,NULL),(1521,152,0,0,0,0,'VAT Rate 0',1,NULL),(1522,152,15,0,0,0,'VAT Rate 15',1,NULL),(1141,114,0,0,0,0,'No ISV',1,NULL),(1142,114,12,0,0,0,'ISV 12%',1,NULL),(1541,154,0,0,0,0,'No VAT',1,NULL),(1542,154,16,0,0,0,'VAT 16%',1,NULL),(1543,154,10,0,0,0,'VAT Frontero',1,NULL),(461,46,0,0,0,0,'No VAT',1,NULL),(462,46,15,0,0,0,'VAT 15%',1,NULL),(463,46,7.5,0,0,0,'VAT 7.5%',1,NULL);
erjo@11794 1291 /*!40000 ALTER TABLE `llx_c_tva` ENABLE KEYS */;
erjo@11794 1292 UNLOCK TABLES;
erjo@11794 1293
erjo@11794 1294 --
erjo@11794 1295 -- Table structure for table `llx_c_type_contact`
erjo@11794 1296 --
erjo@11794 1297
erjo@11794 1298 DROP TABLE IF EXISTS `llx_c_type_contact`;
erjo@11794 1299 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1300 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1301 CREATE TABLE `llx_c_type_contact` (
erjo@11794 1302 `rowid` int(11) NOT NULL,
erjo@11794 1303 `element` varchar(30) NOT NULL,
erjo@11794 1304 `source` varchar(8) NOT NULL DEFAULT 'external',
erjo@11794 1305 `code` varchar(16) NOT NULL,
erjo@11794 1306 `libelle` varchar(64) NOT NULL,
erjo@11794 1307 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 1308 `module` varchar(32) DEFAULT NULL,
erjo@11794 1309 PRIMARY KEY (`rowid`),
erjo@11794 1310 UNIQUE KEY `idx_c_type_contact_uk` (`element`,`source`,`code`)
erjo@11794 1311 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1312 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1313
erjo@11794 1314 --
erjo@11794 1315 -- Dumping data for table `llx_c_type_contact`
erjo@11794 1316 --
erjo@11794 1317
erjo@11794 1318 LOCK TABLES `llx_c_type_contact` WRITE;
erjo@11794 1319 /*!40000 ALTER TABLE `llx_c_type_contact` DISABLE KEYS */;
erjo@11827 1320 INSERT INTO `llx_c_type_contact` VALUES (10,'contrat','internal','SALESREPSIGN','Commercial signataire du contrat',1,NULL),(11,'contrat','internal','SALESREPFOLL','Commercial suivi du contrat',1,NULL),(20,'contrat','external','BILLING','Contact client facturation contrat',1,NULL),(21,'contrat','external','CUSTOMER','Contact client suivi contrat',1,NULL),(22,'contrat','external','SALESREPSIGN','Contact client signataire contrat',1,NULL),(31,'propal','internal','SALESREPFOLL','Commercial à l\'origine de la propale',1,NULL),(40,'propal','external','BILLING','Contact client facturation propale',1,NULL),(41,'propal','external','CUSTOMER','Contact client suivi propale',1,NULL),(50,'facture','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL),(60,'facture','external','BILLING','Contact client facturation',1,NULL),(61,'facture','external','SHIPPING','Contact client livraison',1,NULL),(62,'facture','external','SERVICE','Contact client prestation',1,NULL),(70,'invoice_supplier','internal','SALESREPFOLL','Responsable suivi du paiement',1,NULL),(71,'invoice_supplier','external','BILLING','Contact fournisseur facturation',1,NULL),(72,'invoice_supplier','external','SHIPPING','Contact fournisseur livraison',1,NULL),(73,'invoice_supplier','external','SERVICE','Contact fournisseur prestation',1,NULL),(91,'commande','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL),(100,'commande','external','BILLING','Contact client facturation commande',1,NULL),(101,'commande','external','CUSTOMER','Contact client suivi commande',1,NULL),(102,'commande','external','SHIPPING','Contact client livraison commande',1,NULL),(120,'fichinter','internal','INTERREPFOLL','Responsable suivi de l\'intervention',1,NULL),(121,'fichinter','internal','INTERVENING','Intervenant',1,NULL),(130,'fichinter','external','BILLING','Contact client facturation intervention',1,NULL),(131,'fichinter','external','CUSTOMER','Contact client suivi de l\'intervention',1,NULL),(140,'order_supplier','internal','SALESREPFOLL','Responsable suivi de la commande',1,NULL),(141,'order_supplier','internal','SHIPPING','Responsable réception de la commande',1,NULL),(142,'order_supplier','external','BILLING','Contact fournisseur facturation commande',1,NULL),(143,'order_supplier','external','CUSTOMER','Contact fournisseur suivi commande',1,NULL),(145,'order_supplier','external','SHIPPING','Contact fournisseur livraison commande',1,NULL),(160,'project','internal','PROJECTLEADER','Chef de Projet',1,NULL),(161,'project','internal','CONTRIBUTOR','Intervenant',1,NULL),(170,'project','external','PROJECTLEADER','Chef de Projet',1,NULL),(171,'project','external','CONTRIBUTOR','Intervenant',1,NULL),(180,'project_task','internal','TASKEXECUTIVE','Responsable',1,NULL),(181,'project_task','internal','CONTRIBUTOR','Intervenant',1,NULL),(190,'project_task','external','TASKEXECUTIVE','Responsable',1,NULL),(191,'project_task','external','CONTRIBUTOR','Intervenant',1,NULL);
erjo@11794 1321 /*!40000 ALTER TABLE `llx_c_type_contact` ENABLE KEYS */;
erjo@11794 1322 UNLOCK TABLES;
erjo@11794 1323
erjo@11794 1324 --
erjo@11794 1325 -- Table structure for table `llx_c_type_fees`
erjo@11794 1326 --
erjo@11794 1327
erjo@11794 1328 DROP TABLE IF EXISTS `llx_c_type_fees`;
erjo@11794 1329 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1330 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1331 CREATE TABLE `llx_c_type_fees` (
erjo@11794 1332 `id` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1333 `code` varchar(12) NOT NULL,
erjo@11794 1334 `libelle` varchar(30) DEFAULT NULL,
erjo@11794 1335 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 1336 `module` varchar(32) DEFAULT NULL,
erjo@11794 1337 PRIMARY KEY (`id`),
erjo@11794 1338 UNIQUE KEY `code` (`code`)
erjo@11794 1339 ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
erjo@11794 1340 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1341
erjo@11794 1342 --
erjo@11794 1343 -- Dumping data for table `llx_c_type_fees`
erjo@11794 1344 --
erjo@11794 1345
erjo@11794 1346 LOCK TABLES `llx_c_type_fees` WRITE;
erjo@11794 1347 /*!40000 ALTER TABLE `llx_c_type_fees` DISABLE KEYS */;
erjo@11827 1348 INSERT INTO `llx_c_type_fees` VALUES (1,'TF_OTHER','Other',1,NULL),(2,'TF_TRIP','Trip',1,NULL),(3,'TF_LUNCH','Lunch',1,NULL);
erjo@11794 1349 /*!40000 ALTER TABLE `llx_c_type_fees` ENABLE KEYS */;
erjo@11794 1350 UNLOCK TABLES;
erjo@11794 1351
erjo@11794 1352 --
erjo@11794 1353 -- Table structure for table `llx_c_typent`
erjo@11794 1354 --
erjo@11794 1355
erjo@11794 1356 DROP TABLE IF EXISTS `llx_c_typent`;
erjo@11794 1357 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1358 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1359 CREATE TABLE `llx_c_typent` (
erjo@11794 1360 `id` int(11) NOT NULL,
erjo@11794 1361 `code` varchar(12) NOT NULL,
erjo@11794 1362 `libelle` varchar(30) DEFAULT NULL,
erjo@11794 1363 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11827 1364 `module` varchar(32) DEFAULT NULL,
erjo@11794 1365 PRIMARY KEY (`id`),
erjo@11794 1366 UNIQUE KEY `code` (`code`)
erjo@11794 1367 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1368 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1369
erjo@11794 1370 --
erjo@11794 1371 -- Dumping data for table `llx_c_typent`
erjo@11794 1372 --
erjo@11794 1373
erjo@11794 1374 LOCK TABLES `llx_c_typent` WRITE;
erjo@11794 1375 /*!40000 ALTER TABLE `llx_c_typent` DISABLE KEYS */;
erjo@11827 1376 INSERT INTO `llx_c_typent` VALUES (0,'TE_UNKNOWN','-',1,NULL),(1,'TE_STARTUP','Start-up',0,NULL),(2,'TE_GROUP','Grand groupe',1,NULL),(3,'TE_MEDIUM','PME/PMI',1,NULL),(4,'TE_SMALL','TPE',1,NULL),(5,'TE_ADMIN','Administration',1,NULL),(6,'TE_WHOLE','Grossiste',0,NULL),(7,'TE_RETAIL','Revendeur',0,NULL),(8,'TE_PRIVATE','Particulier',1,NULL),(100,'TE_OTHER','Autres',1,NULL);
erjo@11794 1377 /*!40000 ALTER TABLE `llx_c_typent` ENABLE KEYS */;
erjo@11794 1378 UNLOCK TABLES;
erjo@11794 1379
erjo@11794 1380 --
erjo@11794 1381 -- Table structure for table `llx_c_ziptown`
erjo@11794 1382 --
erjo@11794 1383
erjo@11794 1384 DROP TABLE IF EXISTS `llx_c_ziptown`;
erjo@11794 1385 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1386 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1387 CREATE TABLE `llx_c_ziptown` (
erjo@11794 1388 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1389 `code` varchar(5) DEFAULT NULL,
erjo@11827 1390 `fk_county` int(11) DEFAULT NULL,
erjo@11827 1391 `fk_pays` int(11) NOT NULL DEFAULT '0',
erjo@11794 1392 `zip` varchar(10) NOT NULL,
erjo@11794 1393 `town` varchar(255) NOT NULL,
erjo@11794 1394 `active` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1395 PRIMARY KEY (`rowid`),
erjo@11794 1396 KEY `idx_c_ziptown_fk_county` (`fk_county`)
erjo@11794 1397 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1398 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1399
erjo@11794 1400 --
erjo@11794 1401 -- Dumping data for table `llx_c_ziptown`
erjo@11794 1402 --
erjo@11794 1403
erjo@11794 1404 LOCK TABLES `llx_c_ziptown` WRITE;
erjo@11794 1405 /*!40000 ALTER TABLE `llx_c_ziptown` DISABLE KEYS */;
erjo@11794 1406 /*!40000 ALTER TABLE `llx_c_ziptown` ENABLE KEYS */;
erjo@11794 1407 UNLOCK TABLES;
erjo@11794 1408
erjo@11794 1409 --
erjo@11794 1410 -- Table structure for table `llx_categorie`
erjo@11794 1411 --
erjo@11794 1412
erjo@11794 1413 DROP TABLE IF EXISTS `llx_categorie`;
erjo@11794 1414 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1415 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1416 CREATE TABLE `llx_categorie` (
erjo@11794 1417 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1418 `label` varchar(255) DEFAULT NULL,
erjo@11794 1419 `type` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1420 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 1421 `description` text,
erjo@11794 1422 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 1423 `visible` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1424 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 1425 PRIMARY KEY (`rowid`),
erjo@11794 1426 UNIQUE KEY `uk_categorie_ref` (`label`,`type`,`entity`),
erjo@11794 1427 KEY `idx_categorie_type` (`type`)
erjo@11794 1428 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1429 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1430
erjo@11794 1431 --
erjo@11794 1432 -- Dumping data for table `llx_categorie`
erjo@11794 1433 --
erjo@11794 1434
erjo@11794 1435 LOCK TABLES `llx_categorie` WRITE;
erjo@11794 1436 /*!40000 ALTER TABLE `llx_categorie` DISABLE KEYS */;
erjo@11794 1437 /*!40000 ALTER TABLE `llx_categorie` ENABLE KEYS */;
erjo@11794 1438 UNLOCK TABLES;
erjo@11794 1439
erjo@11794 1440 --
erjo@11794 1441 -- Table structure for table `llx_categorie_association`
erjo@11794 1442 --
erjo@11794 1443
erjo@11794 1444 DROP TABLE IF EXISTS `llx_categorie_association`;
erjo@11794 1445 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1446 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1447 CREATE TABLE `llx_categorie_association` (
erjo@11794 1448 `fk_categorie_mere` int(11) NOT NULL,
erjo@11794 1449 `fk_categorie_fille` int(11) NOT NULL,
erjo@11794 1450 UNIQUE KEY `uk_categorie_association` (`fk_categorie_mere`,`fk_categorie_fille`),
erjo@11794 1451 UNIQUE KEY `uk_categorie_association_fk_categorie_fille` (`fk_categorie_fille`)
erjo@11794 1452 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1453 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1454
erjo@11794 1455 --
erjo@11794 1456 -- Dumping data for table `llx_categorie_association`
erjo@11794 1457 --
erjo@11794 1458
erjo@11794 1459 LOCK TABLES `llx_categorie_association` WRITE;
erjo@11794 1460 /*!40000 ALTER TABLE `llx_categorie_association` DISABLE KEYS */;
erjo@11794 1461 /*!40000 ALTER TABLE `llx_categorie_association` ENABLE KEYS */;
erjo@11794 1462 UNLOCK TABLES;
erjo@11794 1463
erjo@11794 1464 --
erjo@11794 1465 -- Table structure for table `llx_categorie_fournisseur`
erjo@11794 1466 --
erjo@11794 1467
erjo@11794 1468 DROP TABLE IF EXISTS `llx_categorie_fournisseur`;
erjo@11794 1469 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1470 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1471 CREATE TABLE `llx_categorie_fournisseur` (
erjo@11794 1472 `fk_categorie` int(11) NOT NULL,
erjo@11794 1473 `fk_societe` int(11) NOT NULL,
erjo@11794 1474 UNIQUE KEY `fk_categorie` (`fk_categorie`,`fk_societe`)
erjo@11794 1475 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1476 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1477
erjo@11794 1478 --
erjo@11794 1479 -- Dumping data for table `llx_categorie_fournisseur`
erjo@11794 1480 --
erjo@11794 1481
erjo@11794 1482 LOCK TABLES `llx_categorie_fournisseur` WRITE;
erjo@11794 1483 /*!40000 ALTER TABLE `llx_categorie_fournisseur` DISABLE KEYS */;
erjo@11794 1484 /*!40000 ALTER TABLE `llx_categorie_fournisseur` ENABLE KEYS */;
erjo@11794 1485 UNLOCK TABLES;
erjo@11794 1486
erjo@11794 1487 --
erjo@11794 1488 -- Table structure for table `llx_categorie_member`
erjo@11794 1489 --
erjo@11794 1490
erjo@11794 1491 DROP TABLE IF EXISTS `llx_categorie_member`;
erjo@11794 1492 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1493 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1494 CREATE TABLE `llx_categorie_member` (
erjo@11794 1495 `fk_categorie` int(11) NOT NULL,
erjo@11794 1496 `fk_member` int(11) NOT NULL,
erjo@11794 1497 PRIMARY KEY (`fk_categorie`,`fk_member`),
erjo@11794 1498 KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
erjo@11794 1499 KEY `idx_categorie_member_fk_member` (`fk_member`)
erjo@11794 1500 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1501 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1502
erjo@11794 1503 --
erjo@11794 1504 -- Dumping data for table `llx_categorie_member`
erjo@11794 1505 --
erjo@11794 1506
erjo@11794 1507 LOCK TABLES `llx_categorie_member` WRITE;
erjo@11794 1508 /*!40000 ALTER TABLE `llx_categorie_member` DISABLE KEYS */;
erjo@11794 1509 /*!40000 ALTER TABLE `llx_categorie_member` ENABLE KEYS */;
erjo@11794 1510 UNLOCK TABLES;
erjo@11794 1511
erjo@11794 1512 --
erjo@11794 1513 -- Table structure for table `llx_categorie_product`
erjo@11794 1514 --
erjo@11794 1515
erjo@11794 1516 DROP TABLE IF EXISTS `llx_categorie_product`;
erjo@11794 1517 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1518 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1519 CREATE TABLE `llx_categorie_product` (
erjo@11794 1520 `fk_categorie` int(11) NOT NULL,
erjo@11794 1521 `fk_product` int(11) NOT NULL,
erjo@11794 1522 PRIMARY KEY (`fk_categorie`,`fk_product`),
erjo@11794 1523 KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
erjo@11794 1524 KEY `idx_categorie_product_fk_product` (`fk_product`)
erjo@11794 1525 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1526 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1527
erjo@11794 1528 --
erjo@11794 1529 -- Dumping data for table `llx_categorie_product`
erjo@11794 1530 --
erjo@11794 1531
erjo@11794 1532 LOCK TABLES `llx_categorie_product` WRITE;
erjo@11794 1533 /*!40000 ALTER TABLE `llx_categorie_product` DISABLE KEYS */;
erjo@11794 1534 /*!40000 ALTER TABLE `llx_categorie_product` ENABLE KEYS */;
erjo@11794 1535 UNLOCK TABLES;
erjo@11794 1536
erjo@11794 1537 --
erjo@11794 1538 -- Table structure for table `llx_categorie_societe`
erjo@11794 1539 --
erjo@11794 1540
erjo@11794 1541 DROP TABLE IF EXISTS `llx_categorie_societe`;
erjo@11794 1542 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1543 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1544 CREATE TABLE `llx_categorie_societe` (
erjo@11794 1545 `fk_categorie` int(11) NOT NULL,
erjo@11794 1546 `fk_societe` int(11) NOT NULL,
erjo@11794 1547 PRIMARY KEY (`fk_categorie`,`fk_societe`),
erjo@11794 1548 KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
erjo@11794 1549 KEY `idx_categorie_societe_fk_societe` (`fk_societe`)
erjo@11794 1550 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1551 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1552
erjo@11794 1553 --
erjo@11794 1554 -- Dumping data for table `llx_categorie_societe`
erjo@11794 1555 --
erjo@11794 1556
erjo@11794 1557 LOCK TABLES `llx_categorie_societe` WRITE;
erjo@11794 1558 /*!40000 ALTER TABLE `llx_categorie_societe` DISABLE KEYS */;
erjo@11794 1559 /*!40000 ALTER TABLE `llx_categorie_societe` ENABLE KEYS */;
erjo@11794 1560 UNLOCK TABLES;
erjo@11794 1561
erjo@11794 1562 --
erjo@11794 1563 -- Table structure for table `llx_chargesociales`
erjo@11794 1564 --
erjo@11794 1565
erjo@11794 1566 DROP TABLE IF EXISTS `llx_chargesociales`;
erjo@11794 1567 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1568 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1569 CREATE TABLE `llx_chargesociales` (
erjo@11794 1570 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1571 `date_ech` datetime NOT NULL,
erjo@11794 1572 `libelle` varchar(80) NOT NULL,
erjo@11794 1573 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 1574 `fk_type` int(11) NOT NULL,
erjo@11794 1575 `amount` double NOT NULL DEFAULT '0',
erjo@11794 1576 `paye` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 1577 `periode` date DEFAULT NULL,
erjo@11794 1578 PRIMARY KEY (`rowid`)
erjo@11794 1579 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1580 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1581
erjo@11794 1582 --
erjo@11794 1583 -- Dumping data for table `llx_chargesociales`
erjo@11794 1584 --
erjo@11794 1585
erjo@11794 1586 LOCK TABLES `llx_chargesociales` WRITE;
erjo@11794 1587 /*!40000 ALTER TABLE `llx_chargesociales` DISABLE KEYS */;
erjo@11794 1588 /*!40000 ALTER TABLE `llx_chargesociales` ENABLE KEYS */;
erjo@11794 1589 UNLOCK TABLES;
erjo@11794 1590
erjo@11794 1591 --
erjo@11794 1592 -- Table structure for table `llx_commande`
erjo@11794 1593 --
erjo@11794 1594
erjo@11794 1595 DROP TABLE IF EXISTS `llx_commande`;
erjo@11794 1596 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1597 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1598 CREATE TABLE `llx_commande` (
erjo@11794 1599 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1600 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1601 `fk_soc` int(11) NOT NULL,
erjo@11794 1602 `fk_projet` int(11) DEFAULT '0',
erjo@11794 1603 `ref` varchar(30) NOT NULL,
erjo@11794 1604 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 1605 `ref_ext` varchar(50) DEFAULT NULL,
erjo@11827 1606 `ref_int` varchar(50) DEFAULT NULL,
erjo@11827 1607 `ref_client` varchar(50) DEFAULT NULL,
erjo@11794 1608 `date_creation` datetime DEFAULT NULL,
erjo@11794 1609 `date_valid` datetime DEFAULT NULL,
erjo@11794 1610 `date_cloture` datetime DEFAULT NULL,
erjo@11794 1611 `date_commande` date DEFAULT NULL,
erjo@11794 1612 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 1613 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 1614 `fk_user_cloture` int(11) DEFAULT NULL,
erjo@11794 1615 `source` smallint(6) DEFAULT NULL,
erjo@11794 1616 `fk_statut` smallint(6) DEFAULT '0',
erjo@11794 1617 `amount_ht` double DEFAULT '0',
erjo@11794 1618 `remise_percent` double DEFAULT '0',
erjo@11794 1619 `remise_absolue` double DEFAULT '0',
erjo@11794 1620 `remise` double DEFAULT '0',
erjo@11794 1621 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 1622 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 1623 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 1624 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 1625 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 1626 `note` text,
erjo@11794 1627 `note_public` text,
erjo@11827 1628 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 1629 `facture` tinyint(4) DEFAULT '0',
erjo@11794 1630 `fk_cond_reglement` int(11) DEFAULT NULL,
erjo@11794 1631 `fk_mode_reglement` int(11) DEFAULT NULL,
erjo@11794 1632 `date_livraison` date DEFAULT NULL,
erjo@11827 1633 `fk_availability` int(11) DEFAULT NULL,
erjo@11827 1634 `fk_demand_reason` int(11) DEFAULT NULL,
erjo@11794 1635 `fk_adresse_livraison` int(11) DEFAULT NULL,
erjo@11794 1636 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 1637 PRIMARY KEY (`rowid`),
erjo@11794 1638 UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
erjo@11794 1639 KEY `idx_commande_fk_soc` (`fk_soc`)
erjo@11794 1640 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1641 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1642
erjo@11794 1643 --
erjo@11794 1644 -- Dumping data for table `llx_commande`
erjo@11794 1645 --
erjo@11794 1646
erjo@11794 1647 LOCK TABLES `llx_commande` WRITE;
erjo@11794 1648 /*!40000 ALTER TABLE `llx_commande` DISABLE KEYS */;
erjo@11794 1649 /*!40000 ALTER TABLE `llx_commande` ENABLE KEYS */;
erjo@11794 1650 UNLOCK TABLES;
erjo@11794 1651
erjo@11794 1652 --
erjo@11794 1653 -- Table structure for table `llx_commande_fournisseur`
erjo@11794 1654 --
erjo@11794 1655
erjo@11794 1656 DROP TABLE IF EXISTS `llx_commande_fournisseur`;
erjo@11794 1657 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1658 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1659 CREATE TABLE `llx_commande_fournisseur` (
erjo@11794 1660 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1661 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1662 `fk_soc` int(11) NOT NULL,
erjo@11794 1663 `ref` varchar(30) NOT NULL,
erjo@11794 1664 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 1665 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11794 1666 `ref_supplier` varchar(30) DEFAULT NULL,
erjo@11794 1667 `fk_projet` int(11) DEFAULT '0',
erjo@11794 1668 `date_creation` datetime DEFAULT NULL,
erjo@11794 1669 `date_valid` datetime DEFAULT NULL,
erjo@11794 1670 `date_cloture` datetime DEFAULT NULL,
erjo@11794 1671 `date_commande` date DEFAULT NULL,
erjo@11794 1672 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 1673 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 1674 `fk_user_cloture` int(11) DEFAULT NULL,
erjo@11794 1675 `source` smallint(6) NOT NULL,
erjo@11794 1676 `fk_statut` smallint(6) DEFAULT '0',
erjo@11794 1677 `amount_ht` double DEFAULT '0',
erjo@11794 1678 `remise_percent` double DEFAULT '0',
erjo@11794 1679 `remise` double DEFAULT '0',
erjo@11794 1680 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 1681 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 1682 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 1683 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 1684 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 1685 `note` text,
erjo@11794 1686 `note_public` text,
erjo@11827 1687 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11827 1688 `fk_cond_reglement` int(11) DEFAULT '0',
erjo@11827 1689 `fk_mode_reglement` int(11) DEFAULT '0',
erjo@11794 1690 `fk_methode_commande` int(11) DEFAULT '0',
erjo@11827 1691 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 1692 PRIMARY KEY (`rowid`),
erjo@11794 1693 UNIQUE KEY `uk_commande_fournisseur_ref` (`ref`,`fk_soc`,`entity`),
erjo@11794 1694 KEY `idx_commande_fournisseur_fk_soc` (`fk_soc`)
erjo@11794 1695 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1696 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1697
erjo@11794 1698 --
erjo@11794 1699 -- Dumping data for table `llx_commande_fournisseur`
erjo@11794 1700 --
erjo@11794 1701
erjo@11794 1702 LOCK TABLES `llx_commande_fournisseur` WRITE;
erjo@11794 1703 /*!40000 ALTER TABLE `llx_commande_fournisseur` DISABLE KEYS */;
erjo@11794 1704 /*!40000 ALTER TABLE `llx_commande_fournisseur` ENABLE KEYS */;
erjo@11794 1705 UNLOCK TABLES;
erjo@11794 1706
erjo@11794 1707 --
erjo@11794 1708 -- Table structure for table `llx_commande_fournisseur_dispatch`
erjo@11794 1709 --
erjo@11794 1710
erjo@11794 1711 DROP TABLE IF EXISTS `llx_commande_fournisseur_dispatch`;
erjo@11794 1712 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1713 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1714 CREATE TABLE `llx_commande_fournisseur_dispatch` (
erjo@11794 1715 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1716 `fk_commande` int(11) DEFAULT NULL,
erjo@11794 1717 `fk_product` int(11) DEFAULT NULL,
erjo@11794 1718 `qty` float DEFAULT NULL,
erjo@11794 1719 `fk_entrepot` int(11) DEFAULT NULL,
erjo@11794 1720 `fk_user` int(11) DEFAULT NULL,
erjo@11794 1721 `datec` datetime DEFAULT NULL,
erjo@11794 1722 PRIMARY KEY (`rowid`),
erjo@11794 1723 KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`)
erjo@11794 1724 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1725 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1726
erjo@11794 1727 --
erjo@11794 1728 -- Dumping data for table `llx_commande_fournisseur_dispatch`
erjo@11794 1729 --
erjo@11794 1730
erjo@11794 1731 LOCK TABLES `llx_commande_fournisseur_dispatch` WRITE;
erjo@11794 1732 /*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` DISABLE KEYS */;
erjo@11794 1733 /*!40000 ALTER TABLE `llx_commande_fournisseur_dispatch` ENABLE KEYS */;
erjo@11794 1734 UNLOCK TABLES;
erjo@11794 1735
erjo@11794 1736 --
erjo@11794 1737 -- Table structure for table `llx_commande_fournisseur_log`
erjo@11794 1738 --
erjo@11794 1739
erjo@11794 1740 DROP TABLE IF EXISTS `llx_commande_fournisseur_log`;
erjo@11794 1741 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1742 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1743 CREATE TABLE `llx_commande_fournisseur_log` (
erjo@11794 1744 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1745 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1746 `datelog` datetime NOT NULL,
erjo@11794 1747 `fk_commande` int(11) NOT NULL,
erjo@11794 1748 `fk_statut` smallint(6) NOT NULL,
erjo@11794 1749 `fk_user` int(11) NOT NULL,
erjo@11794 1750 `comment` varchar(255) DEFAULT NULL,
erjo@11794 1751 PRIMARY KEY (`rowid`)
erjo@11794 1752 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1753 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1754
erjo@11794 1755 --
erjo@11794 1756 -- Dumping data for table `llx_commande_fournisseur_log`
erjo@11794 1757 --
erjo@11794 1758
erjo@11794 1759 LOCK TABLES `llx_commande_fournisseur_log` WRITE;
erjo@11794 1760 /*!40000 ALTER TABLE `llx_commande_fournisseur_log` DISABLE KEYS */;
erjo@11794 1761 /*!40000 ALTER TABLE `llx_commande_fournisseur_log` ENABLE KEYS */;
erjo@11794 1762 UNLOCK TABLES;
erjo@11794 1763
erjo@11794 1764 --
erjo@11794 1765 -- Table structure for table `llx_commande_fournisseurdet`
erjo@11794 1766 --
erjo@11794 1767
erjo@11794 1768 DROP TABLE IF EXISTS `llx_commande_fournisseurdet`;
erjo@11794 1769 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1770 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1771 CREATE TABLE `llx_commande_fournisseurdet` (
erjo@11794 1772 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1773 `fk_commande` int(11) NOT NULL,
erjo@11794 1774 `fk_product` int(11) DEFAULT NULL,
erjo@11794 1775 `ref` varchar(50) DEFAULT NULL,
erjo@11794 1776 `label` varchar(255) DEFAULT NULL,
erjo@11794 1777 `description` text,
erjo@11794 1778 `tva_tx` double(6,3) DEFAULT '0.000',
erjo@11794 1779 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 1780 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 1781 `qty` double DEFAULT NULL,
erjo@11794 1782 `remise_percent` double DEFAULT '0',
erjo@11794 1783 `remise` double DEFAULT '0',
erjo@11794 1784 `subprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 1785 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 1786 `total_tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 1787 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 1788 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 1789 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 1790 `product_type` int(11) DEFAULT '0',
erjo@11794 1791 `date_start` datetime DEFAULT NULL,
erjo@11794 1792 `date_end` datetime DEFAULT NULL,
erjo@11794 1793 `info_bits` int(11) DEFAULT '0',
erjo@11794 1794 PRIMARY KEY (`rowid`)
erjo@11794 1795 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1796 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1797
erjo@11794 1798 --
erjo@11794 1799 -- Dumping data for table `llx_commande_fournisseurdet`
erjo@11794 1800 --
erjo@11794 1801
erjo@11794 1802 LOCK TABLES `llx_commande_fournisseurdet` WRITE;
erjo@11794 1803 /*!40000 ALTER TABLE `llx_commande_fournisseurdet` DISABLE KEYS */;
erjo@11794 1804 /*!40000 ALTER TABLE `llx_commande_fournisseurdet` ENABLE KEYS */;
erjo@11794 1805 UNLOCK TABLES;
erjo@11794 1806
erjo@11794 1807 --
erjo@11794 1808 -- Table structure for table `llx_commandedet`
erjo@11794 1809 --
erjo@11794 1810
erjo@11794 1811 DROP TABLE IF EXISTS `llx_commandedet`;
erjo@11794 1812 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1813 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1814 CREATE TABLE `llx_commandedet` (
erjo@11794 1815 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1816 `fk_commande` int(11) NOT NULL,
erjo@11794 1817 `fk_parent_line` int(11) DEFAULT NULL,
erjo@11794 1818 `fk_product` int(11) DEFAULT NULL,
erjo@11794 1819 `description` text,
erjo@11794 1820 `tva_tx` double(6,3) DEFAULT NULL,
erjo@11794 1821 `localtax1_tx` double(6,3) DEFAULT NULL,
erjo@11794 1822 `localtax2_tx` double(6,3) DEFAULT NULL,
erjo@11794 1823 `qty` double DEFAULT NULL,
erjo@11794 1824 `remise_percent` double DEFAULT '0',
erjo@11794 1825 `remise` double DEFAULT '0',
erjo@11794 1826 `fk_remise_except` int(11) DEFAULT NULL,
erjo@11794 1827 `price` double DEFAULT NULL,
erjo@11794 1828 `subprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 1829 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 1830 `total_tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 1831 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 1832 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 1833 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 1834 `product_type` int(11) DEFAULT '0',
erjo@11794 1835 `date_start` datetime DEFAULT NULL,
erjo@11794 1836 `date_end` datetime DEFAULT NULL,
erjo@11794 1837 `info_bits` int(11) DEFAULT '0',
erjo@11794 1838 `marge_tx` double(6,3) DEFAULT '0.000',
erjo@11794 1839 `marque_tx` double(6,3) DEFAULT '0.000',
erjo@11794 1840 `special_code` int(10) unsigned DEFAULT '0',
erjo@11794 1841 `rang` int(11) DEFAULT '0',
erjo@11794 1842 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 1843 PRIMARY KEY (`rowid`),
erjo@11827 1844 KEY `idx_commandedet_fk_commande` (`fk_commande`),
erjo@11827 1845 KEY `idx_commandedet_fk_product` (`fk_product`)
erjo@11794 1846 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1847 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1848
erjo@11794 1849 --
erjo@11794 1850 -- Dumping data for table `llx_commandedet`
erjo@11794 1851 --
erjo@11794 1852
erjo@11794 1853 LOCK TABLES `llx_commandedet` WRITE;
erjo@11794 1854 /*!40000 ALTER TABLE `llx_commandedet` DISABLE KEYS */;
erjo@11794 1855 /*!40000 ALTER TABLE `llx_commandedet` ENABLE KEYS */;
erjo@11794 1856 UNLOCK TABLES;
erjo@11794 1857
erjo@11794 1858 --
erjo@11794 1859 -- Table structure for table `llx_compta`
erjo@11794 1860 --
erjo@11794 1861
erjo@11794 1862 DROP TABLE IF EXISTS `llx_compta`;
erjo@11794 1863 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1864 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1865 CREATE TABLE `llx_compta` (
erjo@11794 1866 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1867 `datec` datetime DEFAULT NULL,
erjo@11794 1868 `datev` date DEFAULT NULL,
erjo@11794 1869 `amount` double NOT NULL DEFAULT '0',
erjo@11794 1870 `label` varchar(255) DEFAULT NULL,
erjo@11794 1871 `fk_compta_account` int(11) DEFAULT NULL,
erjo@11794 1872 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 1873 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 1874 `valid` tinyint(4) DEFAULT '0',
erjo@11794 1875 `note` text,
erjo@11794 1876 PRIMARY KEY (`rowid`)
erjo@11794 1877 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1878 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1879
erjo@11794 1880 --
erjo@11794 1881 -- Dumping data for table `llx_compta`
erjo@11794 1882 --
erjo@11794 1883
erjo@11794 1884 LOCK TABLES `llx_compta` WRITE;
erjo@11794 1885 /*!40000 ALTER TABLE `llx_compta` DISABLE KEYS */;
erjo@11794 1886 /*!40000 ALTER TABLE `llx_compta` ENABLE KEYS */;
erjo@11794 1887 UNLOCK TABLES;
erjo@11794 1888
erjo@11794 1889 --
erjo@11794 1890 -- Table structure for table `llx_compta_account`
erjo@11794 1891 --
erjo@11794 1892
erjo@11794 1893 DROP TABLE IF EXISTS `llx_compta_account`;
erjo@11794 1894 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1895 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1896 CREATE TABLE `llx_compta_account` (
erjo@11794 1897 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1898 `datec` datetime DEFAULT NULL,
erjo@11794 1899 `number` varchar(12) DEFAULT NULL,
erjo@11794 1900 `label` varchar(255) DEFAULT NULL,
erjo@11794 1901 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 1902 `note` text,
erjo@11794 1903 PRIMARY KEY (`rowid`)
erjo@11794 1904 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1905 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1906
erjo@11794 1907 --
erjo@11794 1908 -- Dumping data for table `llx_compta_account`
erjo@11794 1909 --
erjo@11794 1910
erjo@11794 1911 LOCK TABLES `llx_compta_account` WRITE;
erjo@11794 1912 /*!40000 ALTER TABLE `llx_compta_account` DISABLE KEYS */;
erjo@11794 1913 /*!40000 ALTER TABLE `llx_compta_account` ENABLE KEYS */;
erjo@11794 1914 UNLOCK TABLES;
erjo@11794 1915
erjo@11794 1916 --
erjo@11794 1917 -- Table structure for table `llx_compta_compte_generaux`
erjo@11794 1918 --
erjo@11794 1919
erjo@11794 1920 DROP TABLE IF EXISTS `llx_compta_compte_generaux`;
erjo@11794 1921 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1922 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1923 CREATE TABLE `llx_compta_compte_generaux` (
erjo@11794 1924 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1925 `date_creation` datetime DEFAULT NULL,
erjo@11794 1926 `numero` varchar(50) DEFAULT NULL,
erjo@11794 1927 `intitule` varchar(255) DEFAULT NULL,
erjo@11794 1928 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 1929 `note` text,
erjo@11794 1930 PRIMARY KEY (`rowid`),
erjo@11794 1931 UNIQUE KEY `numero` (`numero`)
erjo@11794 1932 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 1933 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1934
erjo@11794 1935 --
erjo@11794 1936 -- Dumping data for table `llx_compta_compte_generaux`
erjo@11794 1937 --
erjo@11794 1938
erjo@11794 1939 LOCK TABLES `llx_compta_compte_generaux` WRITE;
erjo@11794 1940 /*!40000 ALTER TABLE `llx_compta_compte_generaux` DISABLE KEYS */;
erjo@11794 1941 /*!40000 ALTER TABLE `llx_compta_compte_generaux` ENABLE KEYS */;
erjo@11794 1942 UNLOCK TABLES;
erjo@11794 1943
erjo@11794 1944 --
erjo@11794 1945 -- Table structure for table `llx_const`
erjo@11794 1946 --
erjo@11794 1947
erjo@11794 1948 DROP TABLE IF EXISTS `llx_const`;
erjo@11794 1949 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1950 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1951 CREATE TABLE `llx_const` (
erjo@11794 1952 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1953 `name` varchar(255) NOT NULL,
erjo@11794 1954 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 1955 `value` text NOT NULL,
erjo@11794 1956 `type` varchar(6) DEFAULT NULL,
erjo@11794 1957 `visible` tinyint(4) NOT NULL DEFAULT '1',
erjo@11794 1958 `note` text,
erjo@11794 1959 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1960 PRIMARY KEY (`rowid`),
erjo@11794 1961 UNIQUE KEY `uk_const` (`name`,`entity`)
erjo@11827 1962 ) ENGINE=MyISAM AUTO_INCREMENT=76 DEFAULT CHARSET=utf8;
erjo@11794 1963 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 1964
erjo@11794 1965 --
erjo@11794 1966 -- Dumping data for table `llx_const`
erjo@11794 1967 --
erjo@11794 1968
erjo@11794 1969 LOCK TABLES `llx_const` WRITE;
erjo@11794 1970 /*!40000 ALTER TABLE `llx_const` DISABLE KEYS */;
erjo@11827 1971 INSERT INTO `llx_const` VALUES (73,'MAIN_LANG_DEFAULT',1,'auto','chaine',0,'Default language','2011-07-03 17:33:30'),(2,'MAIN_FEATURES_LEVEL',0,'0','chaine',1,'Level of features to show (0=stable only, 1=stable+experimental, 2=stable+experimental+development','2011-07-03 17:32:38'),(4,'SYSLOG_FILE',0,'DOL_DATA_ROOT/dolibarr.log','chaine',0,'Directory where to write log file','2011-07-03 17:32:38'),(5,'SYSLOG_LEVEL',0,'7','chaine',0,'Level of debug info to show','2011-07-03 17:32:38'),(6,'MAIN_MAIL_SMTP_SERVER',0,'','chaine',0,'Host or ip address for SMTP server','2011-07-03 17:32:38'),(7,'MAIN_MAIL_SMTP_PORT',0,'','chaine',0,'Port for SMTP server','2011-07-03 17:32:38'),(8,'MAIN_UPLOAD_DOC',0,'2048','chaine',0,'Max size for file upload (0 means no upload allowed)','2011-07-03 17:32:38'),(9,'MAIN_SEARCHFORM_SOCIETE',0,'1','yesno',0,'Show form for quick company search','2011-07-03 17:32:38'),(10,'MAIN_SEARCHFORM_CONTACT',0,'1','yesno',0,'Show form for quick contact search','2011-07-03 17:32:38'),(11,'MAIN_SEARCHFORM_PRODUITSERVICE',0,'1','yesno',0,'Show form for quick product search','2011-07-03 17:32:38'),(12,'MAIN_SEARCHFORM_ADHERENT',0,'1','yesno',0,'Show form for quick member search','2011-07-03 17:32:38'),(75,'MAIN_VERSION_LAST_UPGRADE',0,'3.1.0','chaine',0,'Dolibarr version for last upgrade','2012-02-25 07:45:19'),(14,'MAIN_MONNAIE',1,'EUR','chaine',0,'Monnaie','2011-07-03 17:32:38'),(15,'MAIN_MAIL_EMAIL_FROM',1,'dolibarr-robot@domain.com','chaine',0,'EMail emetteur pour les emails automatiques Dolibarr','2011-07-03 17:32:38'),(16,'MAIN_SIZE_LISTE_LIMIT',0,'25','chaine',0,'Longueur maximum des listes','2011-07-03 17:32:38'),(17,'MAIN_SHOW_WORKBOARD',0,'1','yesno',0,'Affichage tableau de bord de travail Dolibarr','2011-07-03 17:32:38'),(20,'MAIN_MENU_SMARTPHONE',1,'iphone_backoffice.php','chaine',0,'Module de gestion de la barre de menu smartphone pour utilisateurs internes','2011-07-03 17:32:38'),(21,'MAIN_MENUFRONT_SMARTPHONE',1,'iphone_frontoffice.php','chaine',0,'Module de gestion de la barre de menu smartphone pour utilisateurs externes','2011-07-03 17:32:38'),(22,'MAIN_THEME',1,'eldy','chaine',0,'Default theme','2011-07-03 17:32:38'),(23,'MAIN_DELAY_ACTIONS_TODO',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées','2011-07-03 17:32:38'),(24,'MAIN_DELAY_ORDERS_TO_PROCESS',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées','2011-07-03 17:32:38'),(25,'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées','2011-07-03 17:32:38'),(26,'MAIN_DELAY_PROPALS_TO_CLOSE',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales à cloturer','2011-07-03 17:32:38'),(27,'MAIN_DELAY_PROPALS_TO_BILL',1,'7','chaine',0,'Tolérance de retard avant alerte (en jours) sur propales non facturées','2011-07-03 17:32:38'),(28,'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures client impayées','2011-07-03 17:32:38'),(29,'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY',1,'2','chaine',0,'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées','2011-07-03 17:32:38'),(30,'MAIN_DELAY_NOT_ACTIVATED_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services à activer','2011-07-03 17:32:38'),(31,'MAIN_DELAY_RUNNING_SERVICES',1,'0','chaine',0,'Tolérance de retard avant alerte (en jours) sur services expirés','2011-07-03 17:32:38'),(32,'MAIN_DELAY_MEMBERS',1,'31','chaine',0,'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard','2011-07-03 17:32:38'),(33,'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE',1,'62','chaine',0,'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire','2011-07-03 17:32:38'),(34,'SOCIETE_NOLIST_COURRIER',0,'1','yesno',0,'Liste les fichiers du repertoire courrier','2011-07-03 17:32:38'),(35,'SOCIETE_CODECLIENT_ADDON',1,'mod_codeclient_leopard','yesno',0,'Module to control third parties codes','2011-07-03 17:32:38'),(36,'SOCIETE_CODECOMPTA_ADDON',1,'mod_codecompta_panicum','yesno',0,'Module to control third parties codes','2011-07-03 17:32:38'),(37,'MAILING_EMAIL_FROM',1,'dolibarr@domain.com','chaine',0,'EMail emmetteur pour les envois d emailings','2011-07-03 17:32:38'),(38,'FCKEDITOR_ENABLE_USER',1,'1','yesno',0,'Activation fckeditor sur notes utilisateurs','2011-07-03 17:32:38'),(39,'FCKEDITOR_ENABLE_SOCIETE',1,'1','yesno',0,'Activation fckeditor sur notes societe','2011-07-03 17:32:38'),(40,'FCKEDITOR_ENABLE_PRODUCTDESC',1,'1','yesno',0,'Activation fckeditor sur notes produits','2011-07-03 17:32:38'),(41,'FCKEDITOR_ENABLE_MEMBER',1,'1','yesno',0,'Activation fckeditor sur notes adherent','2011-07-03 17:32:38'),(42,'FCKEDITOR_ENABLE_MAILING',1,'1','yesno',0,'Activation fckeditor sur emailing','2011-07-03 17:32:38'),(43,'OSC_DB_HOST',1,'localhost','chaine',0,'Host for OSC database for OSCommerce module 1','2011-07-03 17:32:38'),(44,'DON_ADDON_MODEL',1,'html_cerfafr','chaine',0,'','2011-07-03 17:32:38'),(45,'PROPALE_ADDON',1,'mod_propale_marbre','chaine',0,'','2011-07-03 17:32:38'),(46,'PROPALE_ADDON_PDF',1,'azur','chaine',0,'','2011-07-03 17:32:38'),(47,'COMMANDE_ADDON',1,'mod_commande_marbre','chaine',0,'','2011-07-03 17:32:38'),(48,'COMMANDE_ADDON_PDF',1,'einstein','chaine',0,'','2011-07-03 17:32:38'),(49,'COMMANDE_SUPPLIER_ADDON',1,'mod_commande_fournisseur_muguet','chaine',0,'','2011-07-03 17:32:38'),(50,'COMMANDE_SUPPLIER_ADDON_PDF',1,'muscadet','chaine',0,'','2011-07-03 17:32:38'),(51,'INVOICE_SUPPLIER_ADDON_PDF',1,'canelle','chaine',0,'','2011-07-03 17:32:38'),(52,'EXPEDITION_ADDON',1,'enlevement','chaine',0,'','2011-07-03 17:32:38'),(53,'EXPEDITION_ADDON_PDF',1,'rouget','chaine',0,'','2011-07-03 17:32:38'),(54,'FICHEINTER_ADDON',1,'pacific','chaine',0,'','2011-07-03 17:32:38'),(55,'FICHEINTER_ADDON_PDF',1,'soleil','chaine',0,'','2011-07-03 17:32:38'),(56,'FACTURE_ADDON',1,'terre','chaine',0,'','2011-07-03 17:32:38'),(57,'FACTURE_ADDON_PDF',1,'crabe','chaine',0,'','2011-07-03 17:32:38'),(58,'PROPALE_VALIDITY_DURATION',1,'15','chaine',0,'Durée de validitée des propales','2011-07-03 17:32:38'),(59,'MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(60,'MAIN_AGENDA_ACTIONAUTO_CONTRACT_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(61,'MAIN_AGENDA_ACTIONAUTO_PROPAL_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(62,'MAIN_AGENDA_ACTIONAUTO_PROPAL_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(63,'MAIN_AGENDA_ACTIONAUTO_ORDER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(64,'MAIN_AGENDA_ACTIONAUTO_ORDER_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(65,'MAIN_AGENDA_ACTIONAUTO_BILL_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(66,'MAIN_AGENDA_ACTIONAUTO_BILL_PAYED',1,'1','chaine',0,'','2011-07-03 17:32:38'),(67,'MAIN_AGENDA_ACTIONAUTO_BILL_CANCEL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(68,'MAIN_AGENDA_ACTIONAUTO_BILL_SENTBYMAIL',1,'1','chaine',0,'','2011-07-03 17:32:38'),(69,'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(70,'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_VALIDATE',1,'1','chaine',0,'','2011-07-03 17:32:38'),(74,'MAIN_MODULE_USER',0,'1',NULL,0,NULL,'2012-02-25 07:45:15'),(72,'MAIN_VERSION_LAST_INSTALL',0,'3.0.0','chaine',0,'Dolibarr version when install','2011-07-03 17:33:30');
erjo@11794 1972 /*!40000 ALTER TABLE `llx_const` ENABLE KEYS */;
erjo@11794 1973 UNLOCK TABLES;
erjo@11794 1974
erjo@11794 1975 --
erjo@11794 1976 -- Table structure for table `llx_contrat`
erjo@11794 1977 --
erjo@11794 1978
erjo@11794 1979 DROP TABLE IF EXISTS `llx_contrat`;
erjo@11794 1980 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 1981 /*!40101 SET character_set_client = utf8 */;
erjo@11794 1982 CREATE TABLE `llx_contrat` (
erjo@11794 1983 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 1984 `ref` varchar(30) DEFAULT NULL,
erjo@11794 1985 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 1986 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 1987 `datec` datetime DEFAULT NULL,
erjo@11794 1988 `date_contrat` datetime DEFAULT NULL,
erjo@11794 1989 `statut` smallint(6) DEFAULT '0',
erjo@11794 1990 `mise_en_service` datetime DEFAULT NULL,
erjo@11794 1991 `fin_validite` datetime DEFAULT NULL,
erjo@11794 1992 `date_cloture` datetime DEFAULT NULL,
erjo@11794 1993 `fk_soc` int(11) NOT NULL,
erjo@11794 1994 `fk_projet` int(11) DEFAULT NULL,
erjo@11794 1995 `fk_commercial_signature` int(11) NOT NULL,
erjo@11794 1996 `fk_commercial_suivi` int(11) NOT NULL,
erjo@11794 1997 `fk_user_author` int(11) NOT NULL DEFAULT '0',
erjo@11794 1998 `fk_user_mise_en_service` int(11) DEFAULT NULL,
erjo@11794 1999 `fk_user_cloture` int(11) DEFAULT NULL,
erjo@11794 2000 `note` text,
erjo@11794 2001 `note_public` text,
erjo@11794 2002 PRIMARY KEY (`rowid`),
erjo@11794 2003 UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
erjo@11794 2004 KEY `idx_contrat_fk_soc` (`fk_soc`),
erjo@11794 2005 KEY `idx_contrat_fk_user_author` (`fk_user_author`)
erjo@11794 2006 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2007 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2008
erjo@11794 2009 --
erjo@11794 2010 -- Dumping data for table `llx_contrat`
erjo@11794 2011 --
erjo@11794 2012
erjo@11794 2013 LOCK TABLES `llx_contrat` WRITE;
erjo@11794 2014 /*!40000 ALTER TABLE `llx_contrat` DISABLE KEYS */;
erjo@11794 2015 /*!40000 ALTER TABLE `llx_contrat` ENABLE KEYS */;
erjo@11794 2016 UNLOCK TABLES;
erjo@11794 2017
erjo@11794 2018 --
erjo@11794 2019 -- Table structure for table `llx_contratdet`
erjo@11794 2020 --
erjo@11794 2021
erjo@11794 2022 DROP TABLE IF EXISTS `llx_contratdet`;
erjo@11794 2023 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2024 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2025 CREATE TABLE `llx_contratdet` (
erjo@11794 2026 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2027 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2028 `fk_contrat` int(11) NOT NULL,
erjo@11794 2029 `fk_product` int(11) DEFAULT NULL,
erjo@11794 2030 `statut` smallint(6) DEFAULT '0',
erjo@11794 2031 `label` text,
erjo@11794 2032 `description` text,
erjo@11794 2033 `fk_remise_except` int(11) DEFAULT NULL,
erjo@11794 2034 `date_commande` datetime DEFAULT NULL,
erjo@11794 2035 `date_ouverture_prevue` datetime DEFAULT NULL,
erjo@11794 2036 `date_ouverture` datetime DEFAULT NULL,
erjo@11794 2037 `date_fin_validite` datetime DEFAULT NULL,
erjo@11794 2038 `date_cloture` datetime DEFAULT NULL,
erjo@11794 2039 `tva_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2040 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2041 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2042 `qty` double NOT NULL,
erjo@11794 2043 `remise_percent` double DEFAULT '0',
erjo@11794 2044 `subprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 2045 `price_ht` double DEFAULT NULL,
erjo@11794 2046 `remise` double DEFAULT '0',
erjo@11794 2047 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 2048 `total_tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 2049 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2050 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2051 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 2052 `info_bits` int(11) DEFAULT '0',
erjo@11794 2053 `fk_user_author` int(11) NOT NULL DEFAULT '0',
erjo@11794 2054 `fk_user_ouverture` int(11) DEFAULT NULL,
erjo@11794 2055 `fk_user_cloture` int(11) DEFAULT NULL,
erjo@11794 2056 `commentaire` text,
erjo@11794 2057 PRIMARY KEY (`rowid`),
erjo@11794 2058 KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
erjo@11794 2059 KEY `idx_contratdet_fk_product` (`fk_product`),
erjo@11794 2060 KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
erjo@11794 2061 KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
erjo@11794 2062 KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`)
erjo@11794 2063 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2064 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2065
erjo@11794 2066 --
erjo@11794 2067 -- Dumping data for table `llx_contratdet`
erjo@11794 2068 --
erjo@11794 2069
erjo@11794 2070 LOCK TABLES `llx_contratdet` WRITE;
erjo@11794 2071 /*!40000 ALTER TABLE `llx_contratdet` DISABLE KEYS */;
erjo@11794 2072 /*!40000 ALTER TABLE `llx_contratdet` ENABLE KEYS */;
erjo@11794 2073 UNLOCK TABLES;
erjo@11794 2074
erjo@11794 2075 --
erjo@11794 2076 -- Table structure for table `llx_contratdet_log`
erjo@11794 2077 --
erjo@11794 2078
erjo@11794 2079 DROP TABLE IF EXISTS `llx_contratdet_log`;
erjo@11794 2080 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2081 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2082 CREATE TABLE `llx_contratdet_log` (
erjo@11794 2083 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2084 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2085 `fk_contratdet` int(11) NOT NULL,
erjo@11794 2086 `date` datetime NOT NULL,
erjo@11794 2087 `statut` smallint(6) NOT NULL,
erjo@11794 2088 `fk_user_author` int(11) NOT NULL,
erjo@11794 2089 `commentaire` text,
erjo@11794 2090 PRIMARY KEY (`rowid`),
erjo@11794 2091 KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
erjo@11794 2092 KEY `idx_contratdet_log_date` (`date`)
erjo@11794 2093 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2094 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2095
erjo@11794 2096 --
erjo@11794 2097 -- Dumping data for table `llx_contratdet_log`
erjo@11794 2098 --
erjo@11794 2099
erjo@11794 2100 LOCK TABLES `llx_contratdet_log` WRITE;
erjo@11794 2101 /*!40000 ALTER TABLE `llx_contratdet_log` DISABLE KEYS */;
erjo@11794 2102 /*!40000 ALTER TABLE `llx_contratdet_log` ENABLE KEYS */;
erjo@11794 2103 UNLOCK TABLES;
erjo@11794 2104
erjo@11794 2105 --
erjo@11794 2106 -- Table structure for table `llx_cotisation`
erjo@11794 2107 --
erjo@11794 2108
erjo@11794 2109 DROP TABLE IF EXISTS `llx_cotisation`;
erjo@11794 2110 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2111 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2112 CREATE TABLE `llx_cotisation` (
erjo@11794 2113 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2114 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2115 `datec` datetime DEFAULT NULL,
erjo@11794 2116 `fk_adherent` int(11) DEFAULT NULL,
erjo@11794 2117 `dateadh` datetime DEFAULT NULL,
erjo@11794 2118 `datef` date DEFAULT NULL,
erjo@11794 2119 `cotisation` double DEFAULT NULL,
erjo@11794 2120 `fk_bank` int(11) DEFAULT NULL,
erjo@11794 2121 `note` text,
erjo@11794 2122 PRIMARY KEY (`rowid`),
erjo@11794 2123 UNIQUE KEY `uk_cotisation` (`fk_adherent`,`dateadh`)
erjo@11794 2124 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2125 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2126
erjo@11794 2127 --
erjo@11794 2128 -- Dumping data for table `llx_cotisation`
erjo@11794 2129 --
erjo@11794 2130
erjo@11794 2131 LOCK TABLES `llx_cotisation` WRITE;
erjo@11794 2132 /*!40000 ALTER TABLE `llx_cotisation` DISABLE KEYS */;
erjo@11794 2133 /*!40000 ALTER TABLE `llx_cotisation` ENABLE KEYS */;
erjo@11794 2134 UNLOCK TABLES;
erjo@11794 2135
erjo@11794 2136 --
erjo@11794 2137 -- Table structure for table `llx_deplacement`
erjo@11794 2138 --
erjo@11794 2139
erjo@11794 2140 DROP TABLE IF EXISTS `llx_deplacement`;
erjo@11794 2141 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2142 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2143 CREATE TABLE `llx_deplacement` (
erjo@11794 2144 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2145 `ref` varchar(30) DEFAULT NULL,
erjo@11794 2146 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2147 `datec` datetime NOT NULL,
erjo@11794 2148 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2149 `dated` datetime DEFAULT NULL,
erjo@11794 2150 `fk_user` int(11) NOT NULL,
erjo@11794 2151 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2152 `type` varchar(12) NOT NULL,
erjo@11794 2153 `fk_statut` int(11) NOT NULL DEFAULT '1',
erjo@11794 2154 `km` double DEFAULT NULL,
erjo@11794 2155 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 2156 `fk_projet` int(11) DEFAULT '0',
erjo@11794 2157 `note` text,
erjo@11794 2158 `note_public` text,
erjo@11794 2159 PRIMARY KEY (`rowid`)
erjo@11794 2160 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2161 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2162
erjo@11794 2163 --
erjo@11794 2164 -- Dumping data for table `llx_deplacement`
erjo@11794 2165 --
erjo@11794 2166
erjo@11794 2167 LOCK TABLES `llx_deplacement` WRITE;
erjo@11794 2168 /*!40000 ALTER TABLE `llx_deplacement` DISABLE KEYS */;
erjo@11794 2169 /*!40000 ALTER TABLE `llx_deplacement` ENABLE KEYS */;
erjo@11794 2170 UNLOCK TABLES;
erjo@11794 2171
erjo@11794 2172 --
erjo@11794 2173 -- Table structure for table `llx_document`
erjo@11794 2174 --
erjo@11794 2175
erjo@11794 2176 DROP TABLE IF EXISTS `llx_document`;
erjo@11794 2177 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2178 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2179 CREATE TABLE `llx_document` (
erjo@11794 2180 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2181 `name` varchar(255) NOT NULL,
erjo@11794 2182 `file_name` varchar(255) NOT NULL,
erjo@11794 2183 `file_extension` varchar(5) NOT NULL,
erjo@11794 2184 `date_generation` datetime DEFAULT NULL,
erjo@11794 2185 `fk_owner` int(11) DEFAULT NULL,
erjo@11794 2186 `fk_group` int(11) DEFAULT NULL,
erjo@11794 2187 `permissions` char(9) DEFAULT 'rw-rw-rw',
erjo@11794 2188 PRIMARY KEY (`rowid`)
erjo@11794 2189 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2190 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2191
erjo@11794 2192 --
erjo@11794 2193 -- Dumping data for table `llx_document`
erjo@11794 2194 --
erjo@11794 2195
erjo@11794 2196 LOCK TABLES `llx_document` WRITE;
erjo@11794 2197 /*!40000 ALTER TABLE `llx_document` DISABLE KEYS */;
erjo@11794 2198 /*!40000 ALTER TABLE `llx_document` ENABLE KEYS */;
erjo@11794 2199 UNLOCK TABLES;
erjo@11794 2200
erjo@11794 2201 --
erjo@11794 2202 -- Table structure for table `llx_document_generator`
erjo@11794 2203 --
erjo@11794 2204
erjo@11794 2205 DROP TABLE IF EXISTS `llx_document_generator`;
erjo@11794 2206 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2207 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2208 CREATE TABLE `llx_document_generator` (
erjo@11794 2209 `rowid` int(10) unsigned NOT NULL,
erjo@11794 2210 `name` varchar(255) NOT NULL,
erjo@11794 2211 `classfile` varchar(255) NOT NULL,
erjo@11794 2212 `class` varchar(255) NOT NULL,
erjo@11794 2213 PRIMARY KEY (`rowid`)
erjo@11794 2214 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2215 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2216
erjo@11794 2217 --
erjo@11794 2218 -- Dumping data for table `llx_document_generator`
erjo@11794 2219 --
erjo@11794 2220
erjo@11794 2221 LOCK TABLES `llx_document_generator` WRITE;
erjo@11794 2222 /*!40000 ALTER TABLE `llx_document_generator` DISABLE KEYS */;
erjo@11794 2223 /*!40000 ALTER TABLE `llx_document_generator` ENABLE KEYS */;
erjo@11794 2224 UNLOCK TABLES;
erjo@11794 2225
erjo@11794 2226 --
erjo@11794 2227 -- Table structure for table `llx_document_model`
erjo@11794 2228 --
erjo@11794 2229
erjo@11794 2230 DROP TABLE IF EXISTS `llx_document_model`;
erjo@11794 2231 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2232 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2233 CREATE TABLE `llx_document_model` (
erjo@11794 2234 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2235 `nom` varchar(50) DEFAULT NULL,
erjo@11794 2236 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2237 `type` varchar(20) NOT NULL,
erjo@11794 2238 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 2239 `description` text,
erjo@11794 2240 PRIMARY KEY (`rowid`),
erjo@11794 2241 UNIQUE KEY `uk_document_model` (`nom`,`type`,`entity`)
erjo@11794 2242 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2243 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2244
erjo@11794 2245 --
erjo@11794 2246 -- Dumping data for table `llx_document_model`
erjo@11794 2247 --
erjo@11794 2248
erjo@11794 2249 LOCK TABLES `llx_document_model` WRITE;
erjo@11794 2250 /*!40000 ALTER TABLE `llx_document_model` DISABLE KEYS */;
erjo@11794 2251 /*!40000 ALTER TABLE `llx_document_model` ENABLE KEYS */;
erjo@11794 2252 UNLOCK TABLES;
erjo@11794 2253
erjo@11794 2254 --
erjo@11794 2255 -- Table structure for table `llx_dolibarr_modules`
erjo@11794 2256 --
erjo@11794 2257
erjo@11794 2258 DROP TABLE IF EXISTS `llx_dolibarr_modules`;
erjo@11794 2259 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2260 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2261 CREATE TABLE `llx_dolibarr_modules` (
erjo@11794 2262 `numero` int(11) NOT NULL DEFAULT '0',
erjo@11794 2263 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2264 `active` tinyint(4) NOT NULL DEFAULT '0',
erjo@11794 2265 `active_date` datetime NOT NULL,
erjo@11794 2266 `active_version` varchar(25) NOT NULL,
erjo@11794 2267 PRIMARY KEY (`numero`,`entity`)
erjo@11794 2268 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2269 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2270
erjo@11794 2271 --
erjo@11794 2272 -- Dumping data for table `llx_dolibarr_modules`
erjo@11794 2273 --
erjo@11794 2274
erjo@11794 2275 LOCK TABLES `llx_dolibarr_modules` WRITE;
erjo@11794 2276 /*!40000 ALTER TABLE `llx_dolibarr_modules` DISABLE KEYS */;
erjo@11827 2277 INSERT INTO `llx_dolibarr_modules` VALUES (0,1,1,'2012-02-25 08:45:15','dolibarr');
erjo@11794 2278 /*!40000 ALTER TABLE `llx_dolibarr_modules` ENABLE KEYS */;
erjo@11794 2279 UNLOCK TABLES;
erjo@11794 2280
erjo@11794 2281 --
erjo@11794 2282 -- Table structure for table `llx_domain`
erjo@11794 2283 --
erjo@11794 2284
erjo@11794 2285 DROP TABLE IF EXISTS `llx_domain`;
erjo@11794 2286 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2287 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2288 CREATE TABLE `llx_domain` (
erjo@11794 2289 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2290 `datec` datetime DEFAULT NULL,
erjo@11794 2291 `label` varchar(255) DEFAULT NULL,
erjo@11794 2292 `note` text,
erjo@11794 2293 PRIMARY KEY (`rowid`)
erjo@11794 2294 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2295 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2296
erjo@11794 2297 --
erjo@11794 2298 -- Dumping data for table `llx_domain`
erjo@11794 2299 --
erjo@11794 2300
erjo@11794 2301 LOCK TABLES `llx_domain` WRITE;
erjo@11794 2302 /*!40000 ALTER TABLE `llx_domain` DISABLE KEYS */;
erjo@11794 2303 /*!40000 ALTER TABLE `llx_domain` ENABLE KEYS */;
erjo@11794 2304 UNLOCK TABLES;
erjo@11794 2305
erjo@11794 2306 --
erjo@11794 2307 -- Table structure for table `llx_don`
erjo@11794 2308 --
erjo@11794 2309
erjo@11794 2310 DROP TABLE IF EXISTS `llx_don`;
erjo@11794 2311 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2312 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2313 CREATE TABLE `llx_don` (
erjo@11794 2314 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2315 `ref` varchar(30) DEFAULT NULL,
erjo@11794 2316 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2317 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2318 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2319 `datec` datetime DEFAULT NULL,
erjo@11794 2320 `datedon` datetime DEFAULT NULL,
erjo@11794 2321 `amount` double DEFAULT '0',
erjo@11794 2322 `fk_paiement` int(11) DEFAULT NULL,
erjo@11794 2323 `prenom` varchar(50) DEFAULT NULL,
erjo@11794 2324 `nom` varchar(50) DEFAULT NULL,
erjo@11794 2325 `societe` varchar(50) DEFAULT NULL,
erjo@11794 2326 `adresse` text,
erjo@11794 2327 `cp` varchar(30) DEFAULT NULL,
erjo@11794 2328 `ville` varchar(50) DEFAULT NULL,
erjo@11794 2329 `pays` varchar(50) DEFAULT NULL,
erjo@11794 2330 `email` varchar(255) DEFAULT NULL,
erjo@11827 2331 `phone` varchar(24) DEFAULT NULL,
erjo@11827 2332 `phone_mobile` varchar(24) DEFAULT NULL,
erjo@11794 2333 `public` smallint(6) NOT NULL DEFAULT '1',
erjo@11794 2334 `fk_don_projet` int(11) DEFAULT NULL,
erjo@11794 2335 `fk_user_author` int(11) NOT NULL,
erjo@11794 2336 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 2337 `note` text,
erjo@11794 2338 `note_public` text,
erjo@11827 2339 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 2340 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 2341 PRIMARY KEY (`rowid`)
erjo@11794 2342 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2343 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2344
erjo@11794 2345 --
erjo@11794 2346 -- Dumping data for table `llx_don`
erjo@11794 2347 --
erjo@11794 2348
erjo@11794 2349 LOCK TABLES `llx_don` WRITE;
erjo@11794 2350 /*!40000 ALTER TABLE `llx_don` DISABLE KEYS */;
erjo@11794 2351 /*!40000 ALTER TABLE `llx_don` ENABLE KEYS */;
erjo@11794 2352 UNLOCK TABLES;
erjo@11794 2353
erjo@11794 2354 --
erjo@11794 2355 -- Table structure for table `llx_ecm_directories`
erjo@11794 2356 --
erjo@11794 2357
erjo@11794 2358 DROP TABLE IF EXISTS `llx_ecm_directories`;
erjo@11794 2359 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2360 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2361 CREATE TABLE `llx_ecm_directories` (
erjo@11794 2362 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2363 `label` varchar(32) NOT NULL,
erjo@11794 2364 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2365 `fk_parent` int(11) DEFAULT NULL,
erjo@11794 2366 `description` varchar(255) NOT NULL,
erjo@11794 2367 `cachenbofdoc` int(11) NOT NULL DEFAULT '0',
erjo@11794 2368 `date_c` datetime DEFAULT NULL,
erjo@11794 2369 `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2370 `fk_user_c` int(11) DEFAULT NULL,
erjo@11794 2371 `fk_user_m` int(11) DEFAULT NULL,
erjo@11794 2372 PRIMARY KEY (`rowid`),
erjo@11794 2373 UNIQUE KEY `idx_ecm_directories` (`label`,`fk_parent`,`entity`)
erjo@11794 2374 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2375 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2376
erjo@11794 2377 --
erjo@11794 2378 -- Dumping data for table `llx_ecm_directories`
erjo@11794 2379 --
erjo@11794 2380
erjo@11794 2381 LOCK TABLES `llx_ecm_directories` WRITE;
erjo@11794 2382 /*!40000 ALTER TABLE `llx_ecm_directories` DISABLE KEYS */;
erjo@11794 2383 /*!40000 ALTER TABLE `llx_ecm_directories` ENABLE KEYS */;
erjo@11794 2384 UNLOCK TABLES;
erjo@11794 2385
erjo@11794 2386 --
erjo@11794 2387 -- Table structure for table `llx_ecm_documents`
erjo@11794 2388 --
erjo@11794 2389
erjo@11794 2390 DROP TABLE IF EXISTS `llx_ecm_documents`;
erjo@11794 2391 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2392 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2393 CREATE TABLE `llx_ecm_documents` (
erjo@11794 2394 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2395 `ref` varchar(16) NOT NULL,
erjo@11794 2396 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2397 `filename` varchar(255) NOT NULL,
erjo@11794 2398 `filesize` int(11) NOT NULL,
erjo@11794 2399 `filemime` varchar(32) NOT NULL,
erjo@11794 2400 `fullpath_dol` varchar(255) NOT NULL,
erjo@11794 2401 `fullpath_orig` varchar(255) NOT NULL,
erjo@11794 2402 `description` text,
erjo@11794 2403 `manualkeyword` text,
erjo@11794 2404 `fk_create` int(11) NOT NULL,
erjo@11794 2405 `fk_update` int(11) DEFAULT NULL,
erjo@11794 2406 `date_c` datetime NOT NULL,
erjo@11794 2407 `date_u` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2408 `fk_directory` int(11) DEFAULT NULL,
erjo@11794 2409 `fk_status` smallint(6) DEFAULT '0',
erjo@11794 2410 `private` smallint(6) DEFAULT '0',
erjo@11794 2411 `crc` varchar(32) NOT NULL DEFAULT '',
erjo@11794 2412 `cryptkey` varchar(50) NOT NULL DEFAULT '',
erjo@11794 2413 `cipher` varchar(50) NOT NULL DEFAULT 'twofish',
erjo@11794 2414 PRIMARY KEY (`rowid`),
erjo@11794 2415 UNIQUE KEY `idx_ecm_documents` (`fullpath_dol`)
erjo@11794 2416 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2417 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2418
erjo@11794 2419 --
erjo@11794 2420 -- Dumping data for table `llx_ecm_documents`
erjo@11794 2421 --
erjo@11794 2422
erjo@11794 2423 LOCK TABLES `llx_ecm_documents` WRITE;
erjo@11794 2424 /*!40000 ALTER TABLE `llx_ecm_documents` DISABLE KEYS */;
erjo@11794 2425 /*!40000 ALTER TABLE `llx_ecm_documents` ENABLE KEYS */;
erjo@11794 2426 UNLOCK TABLES;
erjo@11794 2427
erjo@11794 2428 --
erjo@11794 2429 -- Table structure for table `llx_element_contact`
erjo@11794 2430 --
erjo@11794 2431
erjo@11794 2432 DROP TABLE IF EXISTS `llx_element_contact`;
erjo@11794 2433 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2434 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2435 CREATE TABLE `llx_element_contact` (
erjo@11794 2436 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2437 `datecreate` datetime DEFAULT NULL,
erjo@11794 2438 `statut` smallint(6) DEFAULT '5',
erjo@11794 2439 `element_id` int(11) NOT NULL,
erjo@11794 2440 `fk_c_type_contact` int(11) NOT NULL,
erjo@11794 2441 `fk_socpeople` int(11) NOT NULL,
erjo@11794 2442 PRIMARY KEY (`rowid`),
erjo@11794 2443 UNIQUE KEY `idx_element_contact_idx1` (`element_id`,`fk_c_type_contact`,`fk_socpeople`),
erjo@11794 2444 KEY `fk_element_contact_fk_c_type_contact` (`fk_c_type_contact`),
erjo@11794 2445 KEY `idx_element_contact_fk_socpeople` (`fk_socpeople`)
erjo@11794 2446 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2447 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2448
erjo@11794 2449 --
erjo@11794 2450 -- Dumping data for table `llx_element_contact`
erjo@11794 2451 --
erjo@11794 2452
erjo@11794 2453 LOCK TABLES `llx_element_contact` WRITE;
erjo@11794 2454 /*!40000 ALTER TABLE `llx_element_contact` DISABLE KEYS */;
erjo@11794 2455 /*!40000 ALTER TABLE `llx_element_contact` ENABLE KEYS */;
erjo@11794 2456 UNLOCK TABLES;
erjo@11794 2457
erjo@11794 2458 --
erjo@11794 2459 -- Table structure for table `llx_element_element`
erjo@11794 2460 --
erjo@11794 2461
erjo@11794 2462 DROP TABLE IF EXISTS `llx_element_element`;
erjo@11794 2463 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2464 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2465 CREATE TABLE `llx_element_element` (
erjo@11794 2466 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2467 `fk_source` int(11) NOT NULL,
erjo@11827 2468 `sourcetype` varchar(32) NOT NULL,
erjo@11794 2469 `fk_target` int(11) NOT NULL,
erjo@11827 2470 `targettype` varchar(32) NOT NULL,
erjo@11794 2471 PRIMARY KEY (`rowid`),
erjo@11794 2472 UNIQUE KEY `idx_element_element_idx1` (`fk_source`,`sourcetype`,`fk_target`,`targettype`),
erjo@11794 2473 KEY `idx_element_element_fk_target` (`fk_target`)
erjo@11794 2474 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2475 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2476
erjo@11794 2477 --
erjo@11794 2478 -- Dumping data for table `llx_element_element`
erjo@11794 2479 --
erjo@11794 2480
erjo@11794 2481 LOCK TABLES `llx_element_element` WRITE;
erjo@11794 2482 /*!40000 ALTER TABLE `llx_element_element` DISABLE KEYS */;
erjo@11794 2483 /*!40000 ALTER TABLE `llx_element_element` ENABLE KEYS */;
erjo@11794 2484 UNLOCK TABLES;
erjo@11794 2485
erjo@11794 2486 --
erjo@11794 2487 -- Table structure for table `llx_element_rang`
erjo@11794 2488 --
erjo@11794 2489
erjo@11794 2490 DROP TABLE IF EXISTS `llx_element_rang`;
erjo@11794 2491 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2492 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2493 CREATE TABLE `llx_element_rang` (
erjo@11794 2494 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2495 `fk_parent` int(11) NOT NULL,
erjo@11794 2496 `parenttype` varchar(16) NOT NULL,
erjo@11794 2497 `fk_child` int(11) NOT NULL,
erjo@11794 2498 `childtype` varchar(16) NOT NULL,
erjo@11794 2499 `rang` int(11) DEFAULT '0',
erjo@11794 2500 PRIMARY KEY (`rowid`),
erjo@11794 2501 UNIQUE KEY `idx_element_rang_idx1` (`fk_parent`,`parenttype`,`fk_child`,`childtype`),
erjo@11794 2502 KEY `idx_element_rang_fk_parent` (`fk_parent`)
erjo@11794 2503 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2504 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2505
erjo@11794 2506 --
erjo@11794 2507 -- Dumping data for table `llx_element_rang`
erjo@11794 2508 --
erjo@11794 2509
erjo@11794 2510 LOCK TABLES `llx_element_rang` WRITE;
erjo@11794 2511 /*!40000 ALTER TABLE `llx_element_rang` DISABLE KEYS */;
erjo@11794 2512 /*!40000 ALTER TABLE `llx_element_rang` ENABLE KEYS */;
erjo@11794 2513 UNLOCK TABLES;
erjo@11794 2514
erjo@11794 2515 --
erjo@11794 2516 -- Table structure for table `llx_entrepot`
erjo@11794 2517 --
erjo@11794 2518
erjo@11794 2519 DROP TABLE IF EXISTS `llx_entrepot`;
erjo@11794 2520 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2521 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2522 CREATE TABLE `llx_entrepot` (
erjo@11794 2523 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2524 `datec` datetime DEFAULT NULL,
erjo@11794 2525 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2526 `label` varchar(255) NOT NULL,
erjo@11794 2527 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2528 `description` text,
erjo@11794 2529 `lieu` varchar(64) DEFAULT NULL,
erjo@11794 2530 `address` varchar(255) DEFAULT NULL,
erjo@11794 2531 `cp` varchar(10) DEFAULT NULL,
erjo@11794 2532 `ville` varchar(50) DEFAULT NULL,
erjo@11794 2533 `fk_departement` int(11) DEFAULT NULL,
erjo@11794 2534 `fk_pays` int(11) DEFAULT '0',
erjo@11794 2535 `statut` tinyint(4) DEFAULT '1',
erjo@11794 2536 `valo_pmp` float(12,4) DEFAULT NULL,
erjo@11794 2537 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2538 PRIMARY KEY (`rowid`),
erjo@11794 2539 UNIQUE KEY `uk_entrepot_label` (`label`,`entity`)
erjo@11794 2540 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2541 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2542
erjo@11794 2543 --
erjo@11794 2544 -- Dumping data for table `llx_entrepot`
erjo@11794 2545 --
erjo@11794 2546
erjo@11794 2547 LOCK TABLES `llx_entrepot` WRITE;
erjo@11794 2548 /*!40000 ALTER TABLE `llx_entrepot` DISABLE KEYS */;
erjo@11794 2549 /*!40000 ALTER TABLE `llx_entrepot` ENABLE KEYS */;
erjo@11794 2550 UNLOCK TABLES;
erjo@11794 2551
erjo@11794 2552 --
erjo@11794 2553 -- Table structure for table `llx_events`
erjo@11794 2554 --
erjo@11794 2555
erjo@11794 2556 DROP TABLE IF EXISTS `llx_events`;
erjo@11794 2557 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2558 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2559 CREATE TABLE `llx_events` (
erjo@11794 2560 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2561 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2562 `type` varchar(32) NOT NULL,
erjo@11794 2563 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2564 `dateevent` datetime DEFAULT NULL,
erjo@11794 2565 `fk_user` int(11) DEFAULT NULL,
erjo@11794 2566 `description` varchar(250) NOT NULL,
erjo@11794 2567 `ip` varchar(32) NOT NULL,
erjo@11794 2568 `user_agent` varchar(255) DEFAULT NULL,
erjo@11794 2569 `fk_object` int(11) DEFAULT NULL,
erjo@11794 2570 PRIMARY KEY (`rowid`),
erjo@11794 2571 KEY `idx_events_dateevent` (`dateevent`)
erjo@11794 2572 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2573 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2574
erjo@11794 2575 --
erjo@11794 2576 -- Dumping data for table `llx_events`
erjo@11794 2577 --
erjo@11794 2578
erjo@11794 2579 LOCK TABLES `llx_events` WRITE;
erjo@11794 2580 /*!40000 ALTER TABLE `llx_events` DISABLE KEYS */;
erjo@11794 2581 /*!40000 ALTER TABLE `llx_events` ENABLE KEYS */;
erjo@11794 2582 UNLOCK TABLES;
erjo@11794 2583
erjo@11794 2584 --
erjo@11794 2585 -- Table structure for table `llx_expedition`
erjo@11794 2586 --
erjo@11794 2587
erjo@11794 2588 DROP TABLE IF EXISTS `llx_expedition`;
erjo@11794 2589 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2590 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2591 CREATE TABLE `llx_expedition` (
erjo@11794 2592 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2593 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2594 `ref` varchar(30) NOT NULL,
erjo@11794 2595 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2596 `ref_customer` varchar(30) DEFAULT NULL,
erjo@11794 2597 `fk_soc` int(11) NOT NULL,
erjo@11827 2598 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11827 2599 `ref_int` varchar(30) DEFAULT NULL,
erjo@11794 2600 `date_creation` datetime DEFAULT NULL,
erjo@11794 2601 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2602 `date_valid` datetime DEFAULT NULL,
erjo@11794 2603 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 2604 `date_expedition` datetime DEFAULT NULL,
erjo@11794 2605 `date_delivery` datetime DEFAULT NULL,
erjo@11794 2606 `fk_address` int(11) DEFAULT NULL,
erjo@11794 2607 `fk_expedition_methode` int(11) DEFAULT NULL,
erjo@11794 2608 `tracking_number` varchar(50) DEFAULT NULL,
erjo@11794 2609 `fk_statut` smallint(6) DEFAULT '0',
erjo@11794 2610 `height` int(11) DEFAULT NULL,
erjo@11794 2611 `width` int(11) DEFAULT NULL,
erjo@11794 2612 `size_units` int(11) DEFAULT NULL,
erjo@11794 2613 `size` int(11) DEFAULT NULL,
erjo@11794 2614 `weight_units` int(11) DEFAULT NULL,
erjo@11794 2615 `weight` int(11) DEFAULT NULL,
erjo@11794 2616 `note` text,
erjo@11827 2617 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 2618 PRIMARY KEY (`rowid`),
erjo@11794 2619 UNIQUE KEY `idx_expedition_uk_ref` (`ref`,`entity`),
erjo@11794 2620 KEY `idx_expedition_fk_soc` (`fk_soc`),
erjo@11794 2621 KEY `idx_expedition_fk_user_author` (`fk_user_author`),
erjo@11794 2622 KEY `idx_expedition_fk_user_valid` (`fk_user_valid`),
erjo@11794 2623 KEY `idx_expedition_fk_expedition_methode` (`fk_expedition_methode`)
erjo@11794 2624 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2625 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2626
erjo@11794 2627 --
erjo@11794 2628 -- Dumping data for table `llx_expedition`
erjo@11794 2629 --
erjo@11794 2630
erjo@11794 2631 LOCK TABLES `llx_expedition` WRITE;
erjo@11794 2632 /*!40000 ALTER TABLE `llx_expedition` DISABLE KEYS */;
erjo@11794 2633 /*!40000 ALTER TABLE `llx_expedition` ENABLE KEYS */;
erjo@11794 2634 UNLOCK TABLES;
erjo@11794 2635
erjo@11794 2636 --
erjo@11794 2637 -- Table structure for table `llx_expeditiondet`
erjo@11794 2638 --
erjo@11794 2639
erjo@11794 2640 DROP TABLE IF EXISTS `llx_expeditiondet`;
erjo@11794 2641 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2642 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2643 CREATE TABLE `llx_expeditiondet` (
erjo@11794 2644 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2645 `fk_expedition` int(11) NOT NULL,
erjo@11794 2646 `fk_origin_line` int(11) DEFAULT NULL,
erjo@11794 2647 `fk_entrepot` int(11) DEFAULT NULL,
erjo@11794 2648 `qty` double DEFAULT NULL,
erjo@11794 2649 `rang` int(11) DEFAULT '0',
erjo@11794 2650 PRIMARY KEY (`rowid`),
erjo@11794 2651 KEY `idx_expeditiondet_fk_expedition` (`fk_expedition`)
erjo@11794 2652 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2653 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2654
erjo@11794 2655 --
erjo@11794 2656 -- Dumping data for table `llx_expeditiondet`
erjo@11794 2657 --
erjo@11794 2658
erjo@11794 2659 LOCK TABLES `llx_expeditiondet` WRITE;
erjo@11794 2660 /*!40000 ALTER TABLE `llx_expeditiondet` DISABLE KEYS */;
erjo@11794 2661 /*!40000 ALTER TABLE `llx_expeditiondet` ENABLE KEYS */;
erjo@11794 2662 UNLOCK TABLES;
erjo@11794 2663
erjo@11794 2664 --
erjo@11794 2665 -- Table structure for table `llx_export_compta`
erjo@11794 2666 --
erjo@11794 2667
erjo@11794 2668 DROP TABLE IF EXISTS `llx_export_compta`;
erjo@11794 2669 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2670 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2671 CREATE TABLE `llx_export_compta` (
erjo@11794 2672 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2673 `ref` varchar(12) NOT NULL,
erjo@11794 2674 `date_export` datetime NOT NULL,
erjo@11794 2675 `fk_user` int(11) NOT NULL,
erjo@11794 2676 `note` text,
erjo@11794 2677 PRIMARY KEY (`rowid`)
erjo@11794 2678 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2679 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2680
erjo@11794 2681 --
erjo@11794 2682 -- Dumping data for table `llx_export_compta`
erjo@11794 2683 --
erjo@11794 2684
erjo@11794 2685 LOCK TABLES `llx_export_compta` WRITE;
erjo@11794 2686 /*!40000 ALTER TABLE `llx_export_compta` DISABLE KEYS */;
erjo@11794 2687 /*!40000 ALTER TABLE `llx_export_compta` ENABLE KEYS */;
erjo@11794 2688 UNLOCK TABLES;
erjo@11794 2689
erjo@11794 2690 --
erjo@11794 2691 -- Table structure for table `llx_export_model`
erjo@11794 2692 --
erjo@11794 2693
erjo@11794 2694 DROP TABLE IF EXISTS `llx_export_model`;
erjo@11794 2695 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2696 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2697 CREATE TABLE `llx_export_model` (
erjo@11794 2698 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2699 `fk_user` int(11) NOT NULL DEFAULT '0',
erjo@11794 2700 `label` varchar(50) NOT NULL,
erjo@11794 2701 `type` varchar(20) NOT NULL,
erjo@11794 2702 `field` text NOT NULL,
erjo@11794 2703 PRIMARY KEY (`rowid`),
erjo@11794 2704 UNIQUE KEY `uk_export_model` (`label`,`type`)
erjo@11794 2705 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2706 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2707
erjo@11794 2708 --
erjo@11794 2709 -- Dumping data for table `llx_export_model`
erjo@11794 2710 --
erjo@11794 2711
erjo@11794 2712 LOCK TABLES `llx_export_model` WRITE;
erjo@11794 2713 /*!40000 ALTER TABLE `llx_export_model` DISABLE KEYS */;
erjo@11794 2714 /*!40000 ALTER TABLE `llx_export_model` ENABLE KEYS */;
erjo@11794 2715 UNLOCK TABLES;
erjo@11794 2716
erjo@11794 2717 --
erjo@11827 2718 -- Table structure for table `llx_extrafields`
erjo@11827 2719 --
erjo@11827 2720
erjo@11827 2721 DROP TABLE IF EXISTS `llx_extrafields`;
erjo@11794 2722 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2723 /*!40101 SET character_set_client = utf8 */;
erjo@11827 2724 CREATE TABLE `llx_extrafields` (
erjo@11794 2725 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 2726 `name` varchar(64) NOT NULL,
erjo@11827 2727 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 2728 `elementtype` varchar(64) NOT NULL DEFAULT 'member',
erjo@11794 2729 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11827 2730 `label` varchar(255) NOT NULL,
erjo@11827 2731 `type` varchar(8) DEFAULT NULL,
erjo@11827 2732 `size` int(11) DEFAULT '0',
erjo@11827 2733 `pos` int(11) DEFAULT '0',
erjo@11794 2734 PRIMARY KEY (`rowid`),
erjo@11827 2735 UNIQUE KEY `uk_extrafields_name` (`name`,`entity`,`elementtype`)
erjo@11794 2736 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2737 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2738
erjo@11794 2739 --
erjo@11827 2740 -- Dumping data for table `llx_extrafields`
erjo@11827 2741 --
erjo@11827 2742
erjo@11827 2743 LOCK TABLES `llx_extrafields` WRITE;
erjo@11827 2744 /*!40000 ALTER TABLE `llx_extrafields` DISABLE KEYS */;
erjo@11827 2745 /*!40000 ALTER TABLE `llx_extrafields` ENABLE KEYS */;
erjo@11794 2746 UNLOCK TABLES;
erjo@11794 2747
erjo@11794 2748 --
erjo@11794 2749 -- Table structure for table `llx_facture`
erjo@11794 2750 --
erjo@11794 2751
erjo@11794 2752 DROP TABLE IF EXISTS `llx_facture`;
erjo@11794 2753 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2754 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2755 CREATE TABLE `llx_facture` (
erjo@11794 2756 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2757 `facnumber` varchar(30) NOT NULL,
erjo@11794 2758 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 2759 `ref_ext` varchar(50) DEFAULT NULL,
erjo@11827 2760 `ref_int` varchar(50) DEFAULT NULL,
erjo@11827 2761 `ref_client` varchar(50) DEFAULT NULL,
erjo@11794 2762 `type` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2763 `increment` varchar(10) DEFAULT NULL,
erjo@11794 2764 `fk_soc` int(11) NOT NULL,
erjo@11794 2765 `datec` datetime DEFAULT NULL,
erjo@11794 2766 `datef` date DEFAULT NULL,
erjo@11794 2767 `date_valid` date DEFAULT NULL,
erjo@11794 2768 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2769 `paye` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2770 `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 2771 `remise_percent` double DEFAULT '0',
erjo@11794 2772 `remise_absolue` double DEFAULT '0',
erjo@11794 2773 `remise` double DEFAULT '0',
erjo@11794 2774 `close_code` varchar(16) DEFAULT NULL,
erjo@11794 2775 `close_note` varchar(128) DEFAULT NULL,
erjo@11794 2776 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 2777 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2778 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2779 `total` double(24,8) DEFAULT '0.00000000',
erjo@11794 2780 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 2781 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2782 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2783 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 2784 `fk_facture_source` int(11) DEFAULT NULL,
erjo@11794 2785 `fk_projet` int(11) DEFAULT NULL,
erjo@11794 2786 `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
erjo@11794 2787 `fk_mode_reglement` int(11) DEFAULT NULL,
erjo@11794 2788 `date_lim_reglement` date DEFAULT NULL,
erjo@11794 2789 `note` text,
erjo@11794 2790 `note_public` text,
erjo@11827 2791 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 2792 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 2793 PRIMARY KEY (`rowid`),
erjo@11794 2794 UNIQUE KEY `idx_facture_uk_facnumber` (`facnumber`,`entity`),
erjo@11794 2795 KEY `idx_facture_fk_soc` (`fk_soc`),
erjo@11794 2796 KEY `idx_facture_fk_user_author` (`fk_user_author`),
erjo@11794 2797 KEY `idx_facture_fk_user_valid` (`fk_user_valid`),
erjo@11794 2798 KEY `idx_facture_fk_facture_source` (`fk_facture_source`),
erjo@11794 2799 KEY `idx_facture_fk_projet` (`fk_projet`)
erjo@11794 2800 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2801 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2802
erjo@11794 2803 --
erjo@11794 2804 -- Dumping data for table `llx_facture`
erjo@11794 2805 --
erjo@11794 2806
erjo@11794 2807 LOCK TABLES `llx_facture` WRITE;
erjo@11794 2808 /*!40000 ALTER TABLE `llx_facture` DISABLE KEYS */;
erjo@11794 2809 /*!40000 ALTER TABLE `llx_facture` ENABLE KEYS */;
erjo@11794 2810 UNLOCK TABLES;
erjo@11794 2811
erjo@11794 2812 --
erjo@11794 2813 -- Table structure for table `llx_facture_fourn`
erjo@11794 2814 --
erjo@11794 2815
erjo@11794 2816 DROP TABLE IF EXISTS `llx_facture_fourn`;
erjo@11794 2817 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2818 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2819 CREATE TABLE `llx_facture_fourn` (
erjo@11794 2820 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2821 `facnumber` varchar(50) NOT NULL,
erjo@11794 2822 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 2823 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11794 2824 `type` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2825 `fk_soc` int(11) NOT NULL,
erjo@11794 2826 `datec` datetime DEFAULT NULL,
erjo@11794 2827 `datef` date DEFAULT NULL,
erjo@11794 2828 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 2829 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 2830 `paye` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2831 `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 2832 `remise` double(24,8) DEFAULT '0.00000000',
erjo@11794 2833 `close_code` varchar(16) DEFAULT NULL,
erjo@11794 2834 `close_note` varchar(128) DEFAULT NULL,
erjo@11794 2835 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 2836 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2837 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2838 `total` double(24,8) DEFAULT '0.00000000',
erjo@11794 2839 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 2840 `total_tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 2841 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 2842 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 2843 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2844 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 2845 `fk_facture_source` int(11) DEFAULT NULL,
erjo@11794 2846 `fk_projet` int(11) DEFAULT NULL,
erjo@11794 2847 `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
erjo@11794 2848 `date_lim_reglement` date DEFAULT NULL,
erjo@11794 2849 `note` text,
erjo@11794 2850 `note_public` text,
erjo@11827 2851 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 2852 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 2853 PRIMARY KEY (`rowid`),
erjo@11794 2854 UNIQUE KEY `uk_facture_fourn_ref` (`facnumber`,`fk_soc`,`entity`),
erjo@11794 2855 KEY `idx_facture_fourn_date_lim_reglement` (`date_lim_reglement`),
erjo@11794 2856 KEY `idx_facture_fourn_fk_soc` (`fk_soc`),
erjo@11794 2857 KEY `idx_facture_fourn_fk_user_author` (`fk_user_author`),
erjo@11794 2858 KEY `idx_facture_fourn_fk_user_valid` (`fk_user_valid`),
erjo@11794 2859 KEY `idx_facture_fourn_fk_projet` (`fk_projet`)
erjo@11794 2860 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2861 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2862
erjo@11794 2863 --
erjo@11794 2864 -- Dumping data for table `llx_facture_fourn`
erjo@11794 2865 --
erjo@11794 2866
erjo@11794 2867 LOCK TABLES `llx_facture_fourn` WRITE;
erjo@11794 2868 /*!40000 ALTER TABLE `llx_facture_fourn` DISABLE KEYS */;
erjo@11794 2869 /*!40000 ALTER TABLE `llx_facture_fourn` ENABLE KEYS */;
erjo@11794 2870 UNLOCK TABLES;
erjo@11794 2871
erjo@11794 2872 --
erjo@11794 2873 -- Table structure for table `llx_facture_fourn_det`
erjo@11794 2874 --
erjo@11794 2875
erjo@11794 2876 DROP TABLE IF EXISTS `llx_facture_fourn_det`;
erjo@11794 2877 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2878 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2879 CREATE TABLE `llx_facture_fourn_det` (
erjo@11794 2880 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2881 `fk_facture_fourn` int(11) NOT NULL,
erjo@11794 2882 `fk_product` int(11) DEFAULT NULL,
erjo@11794 2883 `ref` varchar(50) DEFAULT NULL,
erjo@11794 2884 `label` varchar(255) DEFAULT NULL,
erjo@11794 2885 `description` text,
erjo@11794 2886 `pu_ht` double(24,8) DEFAULT NULL,
erjo@11794 2887 `pu_ttc` double(24,8) DEFAULT NULL,
erjo@11794 2888 `qty` double DEFAULT NULL,
erjo@11794 2889 `tva_tx` double(6,3) DEFAULT NULL,
erjo@11794 2890 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2891 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2892 `total_ht` double(24,8) DEFAULT NULL,
erjo@11794 2893 `tva` double(24,8) DEFAULT NULL,
erjo@11794 2894 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2895 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2896 `total_ttc` double(24,8) DEFAULT NULL,
erjo@11794 2897 `product_type` int(11) DEFAULT '0',
erjo@11794 2898 `date_start` datetime DEFAULT NULL,
erjo@11794 2899 `date_end` datetime DEFAULT NULL,
erjo@11794 2900 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 2901 PRIMARY KEY (`rowid`),
erjo@11794 2902 KEY `idx_facture_fourn_det_fk_facture` (`fk_facture_fourn`)
erjo@11794 2903 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2904 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2905
erjo@11794 2906 --
erjo@11794 2907 -- Dumping data for table `llx_facture_fourn_det`
erjo@11794 2908 --
erjo@11794 2909
erjo@11794 2910 LOCK TABLES `llx_facture_fourn_det` WRITE;
erjo@11794 2911 /*!40000 ALTER TABLE `llx_facture_fourn_det` DISABLE KEYS */;
erjo@11794 2912 /*!40000 ALTER TABLE `llx_facture_fourn_det` ENABLE KEYS */;
erjo@11794 2913 UNLOCK TABLES;
erjo@11794 2914
erjo@11794 2915 --
erjo@11794 2916 -- Table structure for table `llx_facture_rec`
erjo@11794 2917 --
erjo@11794 2918
erjo@11794 2919 DROP TABLE IF EXISTS `llx_facture_rec`;
erjo@11794 2920 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2921 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2922 CREATE TABLE `llx_facture_rec` (
erjo@11794 2923 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2924 `titre` varchar(50) NOT NULL,
erjo@11794 2925 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 2926 `fk_soc` int(11) NOT NULL,
erjo@11794 2927 `datec` datetime DEFAULT NULL,
erjo@11794 2928 `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 2929 `remise` double DEFAULT '0',
erjo@11794 2930 `remise_percent` double DEFAULT '0',
erjo@11794 2931 `remise_absolue` double DEFAULT '0',
erjo@11794 2932 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 2933 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2934 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2935 `total` double(24,8) DEFAULT '0.00000000',
erjo@11794 2936 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 2937 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 2938 `fk_projet` int(11) DEFAULT NULL,
erjo@11794 2939 `fk_cond_reglement` int(11) DEFAULT '0',
erjo@11794 2940 `fk_mode_reglement` int(11) DEFAULT '0',
erjo@11794 2941 `date_lim_reglement` date DEFAULT NULL,
erjo@11794 2942 `note` text,
erjo@11794 2943 `note_public` text,
erjo@11794 2944 `frequency` int(11) DEFAULT NULL,
erjo@11794 2945 `unit_frequency` varchar(2) DEFAULT 'd',
erjo@11794 2946 `date_when` datetime DEFAULT NULL,
erjo@11794 2947 `date_last_gen` datetime DEFAULT NULL,
erjo@11794 2948 `nb_gen_done` int(11) DEFAULT NULL,
erjo@11794 2949 `nb_gen_max` int(11) DEFAULT NULL,
erjo@11794 2950 PRIMARY KEY (`rowid`),
erjo@11794 2951 UNIQUE KEY `idx_facture_rec_uk_titre` (`titre`,`entity`),
erjo@11794 2952 KEY `idx_facture_rec_fk_soc` (`fk_soc`),
erjo@11794 2953 KEY `idx_facture_rec_fk_user_author` (`fk_user_author`),
erjo@11794 2954 KEY `idx_facture_rec_fk_projet` (`fk_projet`)
erjo@11794 2955 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 2956 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 2957
erjo@11794 2958 --
erjo@11794 2959 -- Dumping data for table `llx_facture_rec`
erjo@11794 2960 --
erjo@11794 2961
erjo@11794 2962 LOCK TABLES `llx_facture_rec` WRITE;
erjo@11794 2963 /*!40000 ALTER TABLE `llx_facture_rec` DISABLE KEYS */;
erjo@11794 2964 /*!40000 ALTER TABLE `llx_facture_rec` ENABLE KEYS */;
erjo@11794 2965 UNLOCK TABLES;
erjo@11794 2966
erjo@11794 2967 --
erjo@11794 2968 -- Table structure for table `llx_facturedet`
erjo@11794 2969 --
erjo@11794 2970
erjo@11794 2971 DROP TABLE IF EXISTS `llx_facturedet`;
erjo@11794 2972 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 2973 /*!40101 SET character_set_client = utf8 */;
erjo@11794 2974 CREATE TABLE `llx_facturedet` (
erjo@11794 2975 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 2976 `fk_facture` int(11) NOT NULL,
erjo@11794 2977 `fk_parent_line` int(11) DEFAULT NULL,
erjo@11794 2978 `fk_product` int(11) DEFAULT NULL,
erjo@11794 2979 `description` text,
erjo@11794 2980 `tva_tx` double(6,3) DEFAULT NULL,
erjo@11794 2981 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2982 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 2983 `qty` double DEFAULT NULL,
erjo@11794 2984 `remise_percent` double DEFAULT '0',
erjo@11794 2985 `remise` double DEFAULT '0',
erjo@11794 2986 `fk_remise_except` int(11) DEFAULT NULL,
erjo@11794 2987 `subprice` double(24,8) DEFAULT NULL,
erjo@11794 2988 `price` double(24,8) DEFAULT NULL,
erjo@11794 2989 `total_ht` double(24,8) DEFAULT NULL,
erjo@11794 2990 `total_tva` double(24,8) DEFAULT NULL,
erjo@11794 2991 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 2992 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 2993 `total_ttc` double(24,8) DEFAULT NULL,
erjo@11794 2994 `product_type` int(11) DEFAULT '0',
erjo@11794 2995 `date_start` datetime DEFAULT NULL,
erjo@11794 2996 `date_end` datetime DEFAULT NULL,
erjo@11794 2997 `info_bits` int(11) DEFAULT '0',
erjo@11794 2998 `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
erjo@11794 2999 `fk_export_compta` int(11) NOT NULL DEFAULT '0',
erjo@11794 3000 `special_code` int(10) unsigned DEFAULT '0',
erjo@11794 3001 `rang` int(11) DEFAULT '0',
erjo@11794 3002 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 3003 PRIMARY KEY (`rowid`),
erjo@11794 3004 UNIQUE KEY `uk_fk_remise_except` (`fk_remise_except`,`fk_facture`),
erjo@11827 3005 KEY `idx_facturedet_fk_facture` (`fk_facture`),
erjo@11827 3006 KEY `idx_facturedet_fk_product` (`fk_product`)
erjo@11794 3007 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3008 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3009
erjo@11794 3010 --
erjo@11794 3011 -- Dumping data for table `llx_facturedet`
erjo@11794 3012 --
erjo@11794 3013
erjo@11794 3014 LOCK TABLES `llx_facturedet` WRITE;
erjo@11794 3015 /*!40000 ALTER TABLE `llx_facturedet` DISABLE KEYS */;
erjo@11794 3016 /*!40000 ALTER TABLE `llx_facturedet` ENABLE KEYS */;
erjo@11794 3017 UNLOCK TABLES;
erjo@11794 3018
erjo@11794 3019 --
erjo@11794 3020 -- Table structure for table `llx_facturedet_rec`
erjo@11794 3021 --
erjo@11794 3022
erjo@11794 3023 DROP TABLE IF EXISTS `llx_facturedet_rec`;
erjo@11794 3024 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3025 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3026 CREATE TABLE `llx_facturedet_rec` (
erjo@11794 3027 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3028 `fk_facture` int(11) NOT NULL,
erjo@11794 3029 `fk_parent_line` int(11) DEFAULT NULL,
erjo@11794 3030 `fk_product` int(11) DEFAULT NULL,
erjo@11794 3031 `product_type` int(11) DEFAULT '0',
erjo@11794 3032 `description` text,
erjo@11794 3033 `tva_tx` double(6,3) DEFAULT '19.600',
erjo@11794 3034 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 3035 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 3036 `qty` double DEFAULT NULL,
erjo@11794 3037 `remise_percent` double DEFAULT '0',
erjo@11794 3038 `remise` double DEFAULT '0',
erjo@11794 3039 `subprice` double(24,8) DEFAULT NULL,
erjo@11794 3040 `price` double(24,8) DEFAULT NULL,
erjo@11794 3041 `total_ht` double(24,8) DEFAULT NULL,
erjo@11794 3042 `total_tva` double(24,8) DEFAULT NULL,
erjo@11794 3043 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 3044 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 3045 `total_ttc` double(24,8) DEFAULT NULL,
erjo@11794 3046 `special_code` int(10) unsigned DEFAULT '0',
erjo@11794 3047 `rang` int(11) DEFAULT '0',
erjo@11794 3048 PRIMARY KEY (`rowid`)
erjo@11794 3049 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3050 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3051
erjo@11794 3052 --
erjo@11794 3053 -- Dumping data for table `llx_facturedet_rec`
erjo@11794 3054 --
erjo@11794 3055
erjo@11794 3056 LOCK TABLES `llx_facturedet_rec` WRITE;
erjo@11794 3057 /*!40000 ALTER TABLE `llx_facturedet_rec` DISABLE KEYS */;
erjo@11794 3058 /*!40000 ALTER TABLE `llx_facturedet_rec` ENABLE KEYS */;
erjo@11794 3059 UNLOCK TABLES;
erjo@11794 3060
erjo@11794 3061 --
erjo@11794 3062 -- Table structure for table `llx_fichinter`
erjo@11794 3063 --
erjo@11794 3064
erjo@11794 3065 DROP TABLE IF EXISTS `llx_fichinter`;
erjo@11794 3066 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3067 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3068 CREATE TABLE `llx_fichinter` (
erjo@11794 3069 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3070 `fk_soc` int(11) NOT NULL,
erjo@11794 3071 `fk_projet` int(11) DEFAULT '0',
erjo@11794 3072 `fk_contrat` int(11) DEFAULT '0',
erjo@11794 3073 `ref` varchar(30) NOT NULL,
erjo@11794 3074 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3075 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3076 `datec` datetime DEFAULT NULL,
erjo@11794 3077 `date_valid` datetime DEFAULT NULL,
erjo@11794 3078 `datei` date DEFAULT NULL,
erjo@11794 3079 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 3080 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 3081 `fk_statut` smallint(6) DEFAULT '0',
erjo@11794 3082 `duree` double DEFAULT NULL,
erjo@11794 3083 `description` text,
erjo@11794 3084 `note_private` text,
erjo@11794 3085 `note_public` text,
erjo@11827 3086 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 3087 PRIMARY KEY (`rowid`),
erjo@11794 3088 UNIQUE KEY `uk_fichinter_ref` (`ref`,`entity`),
erjo@11794 3089 KEY `idx_fichinter_fk_soc` (`fk_soc`)
erjo@11794 3090 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3091 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3092
erjo@11794 3093 --
erjo@11794 3094 -- Dumping data for table `llx_fichinter`
erjo@11794 3095 --
erjo@11794 3096
erjo@11794 3097 LOCK TABLES `llx_fichinter` WRITE;
erjo@11794 3098 /*!40000 ALTER TABLE `llx_fichinter` DISABLE KEYS */;
erjo@11794 3099 /*!40000 ALTER TABLE `llx_fichinter` ENABLE KEYS */;
erjo@11794 3100 UNLOCK TABLES;
erjo@11794 3101
erjo@11794 3102 --
erjo@11794 3103 -- Table structure for table `llx_fichinterdet`
erjo@11794 3104 --
erjo@11794 3105
erjo@11794 3106 DROP TABLE IF EXISTS `llx_fichinterdet`;
erjo@11794 3107 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3108 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3109 CREATE TABLE `llx_fichinterdet` (
erjo@11794 3110 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3111 `fk_fichinter` int(11) DEFAULT NULL,
erjo@11794 3112 `date` datetime DEFAULT NULL,
erjo@11794 3113 `description` text,
erjo@11794 3114 `duree` int(11) DEFAULT NULL,
erjo@11794 3115 `rang` int(11) DEFAULT '0',
erjo@11794 3116 PRIMARY KEY (`rowid`),
erjo@11794 3117 KEY `idx_fichinterdet_fk_fichinter` (`fk_fichinter`)
erjo@11794 3118 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3119 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3120
erjo@11794 3121 --
erjo@11794 3122 -- Dumping data for table `llx_fichinterdet`
erjo@11794 3123 --
erjo@11794 3124
erjo@11794 3125 LOCK TABLES `llx_fichinterdet` WRITE;
erjo@11794 3126 /*!40000 ALTER TABLE `llx_fichinterdet` DISABLE KEYS */;
erjo@11794 3127 /*!40000 ALTER TABLE `llx_fichinterdet` ENABLE KEYS */;
erjo@11794 3128 UNLOCK TABLES;
erjo@11794 3129
erjo@11794 3130 --
erjo@11794 3131 -- Table structure for table `llx_import_model`
erjo@11794 3132 --
erjo@11794 3133
erjo@11794 3134 DROP TABLE IF EXISTS `llx_import_model`;
erjo@11794 3135 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3136 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3137 CREATE TABLE `llx_import_model` (
erjo@11794 3138 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3139 `fk_user` int(11) NOT NULL DEFAULT '0',
erjo@11794 3140 `label` varchar(50) NOT NULL,
erjo@11794 3141 `type` varchar(20) NOT NULL,
erjo@11794 3142 `field` text NOT NULL,
erjo@11794 3143 PRIMARY KEY (`rowid`),
erjo@11794 3144 UNIQUE KEY `uk_import_model` (`label`,`type`)
erjo@11794 3145 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3146 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3147
erjo@11794 3148 --
erjo@11794 3149 -- Dumping data for table `llx_import_model`
erjo@11794 3150 --
erjo@11794 3151
erjo@11794 3152 LOCK TABLES `llx_import_model` WRITE;
erjo@11794 3153 /*!40000 ALTER TABLE `llx_import_model` DISABLE KEYS */;
erjo@11794 3154 /*!40000 ALTER TABLE `llx_import_model` ENABLE KEYS */;
erjo@11794 3155 UNLOCK TABLES;
erjo@11794 3156
erjo@11794 3157 --
erjo@11794 3158 -- Table structure for table `llx_livraison`
erjo@11794 3159 --
erjo@11794 3160
erjo@11794 3161 DROP TABLE IF EXISTS `llx_livraison`;
erjo@11794 3162 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3163 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3164 CREATE TABLE `llx_livraison` (
erjo@11794 3165 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3166 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3167 `ref` varchar(30) NOT NULL,
erjo@11794 3168 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3169 `ref_customer` varchar(30) DEFAULT NULL,
erjo@11794 3170 `fk_soc` int(11) NOT NULL,
erjo@11827 3171 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11827 3172 `ref_int` varchar(30) DEFAULT NULL,
erjo@11794 3173 `date_creation` datetime DEFAULT NULL,
erjo@11794 3174 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 3175 `date_valid` datetime DEFAULT NULL,
erjo@11794 3176 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 3177 `date_delivery` date DEFAULT NULL,
erjo@11794 3178 `fk_address` int(11) DEFAULT NULL,
erjo@11794 3179 `fk_statut` smallint(6) DEFAULT '0',
erjo@11794 3180 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 3181 `note` text,
erjo@11794 3182 `note_public` text,
erjo@11827 3183 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 3184 PRIMARY KEY (`rowid`),
erjo@11794 3185 UNIQUE KEY `idx_livraison_uk_ref` (`ref`,`entity`),
erjo@11794 3186 KEY `idx_livraison_fk_soc` (`fk_soc`),
erjo@11794 3187 KEY `idx_livraison_fk_user_author` (`fk_user_author`),
erjo@11794 3188 KEY `idx_livraison_fk_user_valid` (`fk_user_valid`)
erjo@11794 3189 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3190 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3191
erjo@11794 3192 --
erjo@11794 3193 -- Dumping data for table `llx_livraison`
erjo@11794 3194 --
erjo@11794 3195
erjo@11794 3196 LOCK TABLES `llx_livraison` WRITE;
erjo@11794 3197 /*!40000 ALTER TABLE `llx_livraison` DISABLE KEYS */;
erjo@11794 3198 /*!40000 ALTER TABLE `llx_livraison` ENABLE KEYS */;
erjo@11794 3199 UNLOCK TABLES;
erjo@11794 3200
erjo@11794 3201 --
erjo@11794 3202 -- Table structure for table `llx_livraisondet`
erjo@11794 3203 --
erjo@11794 3204
erjo@11794 3205 DROP TABLE IF EXISTS `llx_livraisondet`;
erjo@11794 3206 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3207 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3208 CREATE TABLE `llx_livraisondet` (
erjo@11794 3209 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3210 `fk_livraison` int(11) DEFAULT NULL,
erjo@11794 3211 `fk_origin_line` int(11) DEFAULT NULL,
erjo@11794 3212 `fk_product` int(11) DEFAULT NULL,
erjo@11794 3213 `description` text,
erjo@11794 3214 `qty` double DEFAULT NULL,
erjo@11794 3215 `subprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 3216 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 3217 `rang` int(11) DEFAULT '0',
erjo@11794 3218 PRIMARY KEY (`rowid`),
erjo@11794 3219 KEY `idx_livraisondet_fk_expedition` (`fk_livraison`)
erjo@11794 3220 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3221 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3222
erjo@11794 3223 --
erjo@11794 3224 -- Dumping data for table `llx_livraisondet`
erjo@11794 3225 --
erjo@11794 3226
erjo@11794 3227 LOCK TABLES `llx_livraisondet` WRITE;
erjo@11794 3228 /*!40000 ALTER TABLE `llx_livraisondet` DISABLE KEYS */;
erjo@11794 3229 /*!40000 ALTER TABLE `llx_livraisondet` ENABLE KEYS */;
erjo@11794 3230 UNLOCK TABLES;
erjo@11794 3231
erjo@11794 3232 --
erjo@11794 3233 -- Table structure for table `llx_mailing`
erjo@11794 3234 --
erjo@11794 3235
erjo@11794 3236 DROP TABLE IF EXISTS `llx_mailing`;
erjo@11794 3237 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3238 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3239 CREATE TABLE `llx_mailing` (
erjo@11794 3240 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3241 `statut` smallint(6) DEFAULT '0',
erjo@11794 3242 `titre` varchar(60) DEFAULT NULL,
erjo@11794 3243 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3244 `sujet` varchar(60) DEFAULT NULL,
erjo@11794 3245 `body` text,
erjo@11794 3246 `bgcolor` varchar(8) DEFAULT NULL,
erjo@11794 3247 `bgimage` varchar(255) DEFAULT NULL,
erjo@11794 3248 `cible` varchar(60) DEFAULT NULL,
erjo@11794 3249 `nbemail` int(11) DEFAULT NULL,
erjo@11794 3250 `email_from` varchar(160) DEFAULT NULL,
erjo@11794 3251 `email_replyto` varchar(160) DEFAULT NULL,
erjo@11794 3252 `email_errorsto` varchar(160) DEFAULT NULL,
erjo@11827 3253 `tag` varchar(128) DEFAULT NULL,
erjo@11794 3254 `date_creat` datetime DEFAULT NULL,
erjo@11794 3255 `date_valid` datetime DEFAULT NULL,
erjo@11794 3256 `date_appro` datetime DEFAULT NULL,
erjo@11794 3257 `date_envoi` datetime DEFAULT NULL,
erjo@11794 3258 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 3259 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 3260 `fk_user_appro` int(11) DEFAULT NULL,
erjo@11794 3261 `joined_file1` varchar(255) DEFAULT NULL,
erjo@11794 3262 `joined_file2` varchar(255) DEFAULT NULL,
erjo@11794 3263 `joined_file3` varchar(255) DEFAULT NULL,
erjo@11794 3264 `joined_file4` varchar(255) DEFAULT NULL,
erjo@11794 3265 PRIMARY KEY (`rowid`)
erjo@11794 3266 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3267 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3268
erjo@11794 3269 --
erjo@11794 3270 -- Dumping data for table `llx_mailing`
erjo@11794 3271 --
erjo@11794 3272
erjo@11794 3273 LOCK TABLES `llx_mailing` WRITE;
erjo@11794 3274 /*!40000 ALTER TABLE `llx_mailing` DISABLE KEYS */;
erjo@11794 3275 /*!40000 ALTER TABLE `llx_mailing` ENABLE KEYS */;
erjo@11794 3276 UNLOCK TABLES;
erjo@11794 3277
erjo@11794 3278 --
erjo@11794 3279 -- Table structure for table `llx_mailing_cibles`
erjo@11794 3280 --
erjo@11794 3281
erjo@11794 3282 DROP TABLE IF EXISTS `llx_mailing_cibles`;
erjo@11794 3283 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3284 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3285 CREATE TABLE `llx_mailing_cibles` (
erjo@11794 3286 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3287 `fk_mailing` int(11) NOT NULL,
erjo@11794 3288 `fk_contact` int(11) NOT NULL,
erjo@11794 3289 `nom` varchar(160) DEFAULT NULL,
erjo@11794 3290 `prenom` varchar(160) DEFAULT NULL,
erjo@11794 3291 `email` varchar(160) NOT NULL,
erjo@11794 3292 `other` varchar(255) DEFAULT NULL,
erjo@11827 3293 `tag` varchar(128) DEFAULT NULL,
erjo@11794 3294 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 3295 `source_url` varchar(160) DEFAULT NULL,
erjo@11794 3296 `source_id` int(11) DEFAULT NULL,
erjo@11794 3297 `source_type` varchar(16) DEFAULT NULL,
erjo@11794 3298 `date_envoi` datetime DEFAULT NULL,
erjo@11794 3299 PRIMARY KEY (`rowid`),
erjo@11794 3300 UNIQUE KEY `uk_mailing_cibles` (`fk_mailing`,`email`),
erjo@11794 3301 KEY `idx_mailing_cibles_email` (`email`)
erjo@11794 3302 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3303 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3304
erjo@11794 3305 --
erjo@11794 3306 -- Dumping data for table `llx_mailing_cibles`
erjo@11794 3307 --
erjo@11794 3308
erjo@11794 3309 LOCK TABLES `llx_mailing_cibles` WRITE;
erjo@11794 3310 /*!40000 ALTER TABLE `llx_mailing_cibles` DISABLE KEYS */;
erjo@11794 3311 /*!40000 ALTER TABLE `llx_mailing_cibles` ENABLE KEYS */;
erjo@11794 3312 UNLOCK TABLES;
erjo@11794 3313
erjo@11794 3314 --
erjo@11794 3315 -- Table structure for table `llx_menu`
erjo@11794 3316 --
erjo@11794 3317
erjo@11794 3318 DROP TABLE IF EXISTS `llx_menu`;
erjo@11794 3319 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3320 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3321 CREATE TABLE `llx_menu` (
erjo@11794 3322 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3323 `menu_handler` varchar(16) NOT NULL,
erjo@11794 3324 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3325 `module` varchar(64) DEFAULT NULL,
erjo@11794 3326 `type` varchar(4) NOT NULL,
erjo@11794 3327 `mainmenu` varchar(100) NOT NULL,
erjo@11794 3328 `fk_menu` int(11) NOT NULL,
erjo@11827 3329 `fk_leftmenu` varchar(16) DEFAULT NULL,
erjo@11827 3330 `fk_mainmenu` varchar(16) DEFAULT NULL,
erjo@11794 3331 `position` int(11) NOT NULL,
erjo@11794 3332 `url` varchar(255) NOT NULL,
erjo@11794 3333 `target` varchar(100) DEFAULT NULL,
erjo@11794 3334 `titre` varchar(255) NOT NULL,
erjo@11794 3335 `langs` varchar(100) DEFAULT NULL,
erjo@11794 3336 `level` smallint(6) DEFAULT NULL,
erjo@11827 3337 `leftmenu` varchar(100) DEFAULT NULL,
erjo@11794 3338 `perms` varchar(255) DEFAULT NULL,
erjo@11794 3339 `enabled` varchar(255) DEFAULT '1',
erjo@11794 3340 `usertype` int(11) NOT NULL DEFAULT '0',
erjo@11794 3341 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3342 PRIMARY KEY (`rowid`),
erjo@11794 3343 UNIQUE KEY `idx_menu_uk_menu` (`menu_handler`,`fk_menu`,`position`,`url`,`entity`),
erjo@11794 3344 KEY `idx_menu_menuhandler_type` (`menu_handler`,`type`)
erjo@11794 3345 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3346 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3347
erjo@11794 3348 --
erjo@11794 3349 -- Dumping data for table `llx_menu`
erjo@11794 3350 --
erjo@11794 3351
erjo@11794 3352 LOCK TABLES `llx_menu` WRITE;
erjo@11794 3353 /*!40000 ALTER TABLE `llx_menu` DISABLE KEYS */;
erjo@11794 3354 /*!40000 ALTER TABLE `llx_menu` ENABLE KEYS */;
erjo@11794 3355 UNLOCK TABLES;
erjo@11794 3356
erjo@11794 3357 --
erjo@11794 3358 -- Table structure for table `llx_notify`
erjo@11794 3359 --
erjo@11794 3360
erjo@11794 3361 DROP TABLE IF EXISTS `llx_notify`;
erjo@11794 3362 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3363 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3364 CREATE TABLE `llx_notify` (
erjo@11794 3365 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3366 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3367 `daten` datetime DEFAULT NULL,
erjo@11794 3368 `fk_action` int(11) NOT NULL,
erjo@11794 3369 `fk_contact` int(11) DEFAULT NULL,
erjo@11794 3370 `fk_user` int(11) DEFAULT NULL,
erjo@11794 3371 `objet_type` varchar(24) NOT NULL,
erjo@11794 3372 `objet_id` int(11) NOT NULL,
erjo@11794 3373 `email` varchar(255) DEFAULT NULL,
erjo@11794 3374 PRIMARY KEY (`rowid`)
erjo@11794 3375 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3376 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3377
erjo@11794 3378 --
erjo@11794 3379 -- Dumping data for table `llx_notify`
erjo@11794 3380 --
erjo@11794 3381
erjo@11794 3382 LOCK TABLES `llx_notify` WRITE;
erjo@11794 3383 /*!40000 ALTER TABLE `llx_notify` DISABLE KEYS */;
erjo@11794 3384 /*!40000 ALTER TABLE `llx_notify` ENABLE KEYS */;
erjo@11794 3385 UNLOCK TABLES;
erjo@11794 3386
erjo@11794 3387 --
erjo@11794 3388 -- Table structure for table `llx_notify_def`
erjo@11794 3389 --
erjo@11794 3390
erjo@11794 3391 DROP TABLE IF EXISTS `llx_notify_def`;
erjo@11794 3392 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3393 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3394 CREATE TABLE `llx_notify_def` (
erjo@11794 3395 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3396 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3397 `datec` date DEFAULT NULL,
erjo@11794 3398 `fk_action` int(11) NOT NULL,
erjo@11794 3399 `fk_soc` int(11) NOT NULL,
erjo@11794 3400 `fk_contact` int(11) DEFAULT NULL,
erjo@11794 3401 `fk_user` int(11) DEFAULT NULL,
erjo@11794 3402 `type` varchar(16) DEFAULT 'email',
erjo@11794 3403 PRIMARY KEY (`rowid`)
erjo@11794 3404 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3405 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3406
erjo@11794 3407 --
erjo@11794 3408 -- Dumping data for table `llx_notify_def`
erjo@11794 3409 --
erjo@11794 3410
erjo@11794 3411 LOCK TABLES `llx_notify_def` WRITE;
erjo@11794 3412 /*!40000 ALTER TABLE `llx_notify_def` DISABLE KEYS */;
erjo@11794 3413 /*!40000 ALTER TABLE `llx_notify_def` ENABLE KEYS */;
erjo@11794 3414 UNLOCK TABLES;
erjo@11794 3415
erjo@11794 3416 --
erjo@11794 3417 -- Table structure for table `llx_paiement`
erjo@11794 3418 --
erjo@11794 3419
erjo@11794 3420 DROP TABLE IF EXISTS `llx_paiement`;
erjo@11794 3421 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3422 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3423 CREATE TABLE `llx_paiement` (
erjo@11794 3424 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3425 `datec` datetime DEFAULT NULL,
erjo@11794 3426 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3427 `datep` datetime DEFAULT NULL,
erjo@11794 3428 `amount` double(24,8) DEFAULT '0.00000000',
erjo@11794 3429 `fk_paiement` int(11) NOT NULL,
erjo@11794 3430 `num_paiement` varchar(50) DEFAULT NULL,
erjo@11794 3431 `note` text,
erjo@11794 3432 `fk_bank` int(11) NOT NULL DEFAULT '0',
erjo@11794 3433 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 3434 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 3435 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 3436 `fk_export_compta` int(11) NOT NULL DEFAULT '0',
erjo@11794 3437 PRIMARY KEY (`rowid`)
erjo@11794 3438 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3439 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3440
erjo@11794 3441 --
erjo@11794 3442 -- Dumping data for table `llx_paiement`
erjo@11794 3443 --
erjo@11794 3444
erjo@11794 3445 LOCK TABLES `llx_paiement` WRITE;
erjo@11794 3446 /*!40000 ALTER TABLE `llx_paiement` DISABLE KEYS */;
erjo@11794 3447 /*!40000 ALTER TABLE `llx_paiement` ENABLE KEYS */;
erjo@11794 3448 UNLOCK TABLES;
erjo@11794 3449
erjo@11794 3450 --
erjo@11794 3451 -- Table structure for table `llx_paiement_facture`
erjo@11794 3452 --
erjo@11794 3453
erjo@11794 3454 DROP TABLE IF EXISTS `llx_paiement_facture`;
erjo@11794 3455 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3456 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3457 CREATE TABLE `llx_paiement_facture` (
erjo@11794 3458 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3459 `fk_paiement` int(11) DEFAULT NULL,
erjo@11794 3460 `fk_facture` int(11) DEFAULT NULL,
erjo@11794 3461 `amount` double DEFAULT '0',
erjo@11794 3462 PRIMARY KEY (`rowid`),
erjo@11794 3463 UNIQUE KEY `uk_paiement_facture` (`fk_paiement`,`fk_facture`),
erjo@11794 3464 KEY `idx_paiement_facture_fk_facture` (`fk_facture`),
erjo@11794 3465 KEY `idx_paiement_facture_fk_paiement` (`fk_paiement`)
erjo@11794 3466 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3467 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3468
erjo@11794 3469 --
erjo@11794 3470 -- Dumping data for table `llx_paiement_facture`
erjo@11794 3471 --
erjo@11794 3472
erjo@11794 3473 LOCK TABLES `llx_paiement_facture` WRITE;
erjo@11794 3474 /*!40000 ALTER TABLE `llx_paiement_facture` DISABLE KEYS */;
erjo@11794 3475 /*!40000 ALTER TABLE `llx_paiement_facture` ENABLE KEYS */;
erjo@11794 3476 UNLOCK TABLES;
erjo@11794 3477
erjo@11794 3478 --
erjo@11794 3479 -- Table structure for table `llx_paiementcharge`
erjo@11794 3480 --
erjo@11794 3481
erjo@11794 3482 DROP TABLE IF EXISTS `llx_paiementcharge`;
erjo@11794 3483 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3484 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3485 CREATE TABLE `llx_paiementcharge` (
erjo@11794 3486 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3487 `fk_charge` int(11) DEFAULT NULL,
erjo@11794 3488 `datec` datetime DEFAULT NULL,
erjo@11794 3489 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3490 `datep` datetime DEFAULT NULL,
erjo@11794 3491 `amount` double DEFAULT '0',
erjo@11794 3492 `fk_typepaiement` int(11) NOT NULL,
erjo@11794 3493 `num_paiement` varchar(50) DEFAULT NULL,
erjo@11794 3494 `note` text,
erjo@11794 3495 `fk_bank` int(11) NOT NULL,
erjo@11794 3496 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 3497 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 3498 PRIMARY KEY (`rowid`)
erjo@11794 3499 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3500 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3501
erjo@11794 3502 --
erjo@11794 3503 -- Dumping data for table `llx_paiementcharge`
erjo@11794 3504 --
erjo@11794 3505
erjo@11794 3506 LOCK TABLES `llx_paiementcharge` WRITE;
erjo@11794 3507 /*!40000 ALTER TABLE `llx_paiementcharge` DISABLE KEYS */;
erjo@11794 3508 /*!40000 ALTER TABLE `llx_paiementcharge` ENABLE KEYS */;
erjo@11794 3509 UNLOCK TABLES;
erjo@11794 3510
erjo@11794 3511 --
erjo@11794 3512 -- Table structure for table `llx_paiementfourn`
erjo@11794 3513 --
erjo@11794 3514
erjo@11794 3515 DROP TABLE IF EXISTS `llx_paiementfourn`;
erjo@11794 3516 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3517 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3518 CREATE TABLE `llx_paiementfourn` (
erjo@11794 3519 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3520 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3521 `datec` datetime DEFAULT NULL,
erjo@11794 3522 `datep` datetime DEFAULT NULL,
erjo@11794 3523 `amount` double(24,8) DEFAULT '0.00000000',
erjo@11794 3524 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 3525 `fk_paiement` int(11) NOT NULL,
erjo@11794 3526 `num_paiement` varchar(50) DEFAULT NULL,
erjo@11794 3527 `note` text,
erjo@11794 3528 `fk_bank` int(11) NOT NULL,
erjo@11794 3529 `statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 3530 PRIMARY KEY (`rowid`)
erjo@11794 3531 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3532 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3533
erjo@11794 3534 --
erjo@11794 3535 -- Dumping data for table `llx_paiementfourn`
erjo@11794 3536 --
erjo@11794 3537
erjo@11794 3538 LOCK TABLES `llx_paiementfourn` WRITE;
erjo@11794 3539 /*!40000 ALTER TABLE `llx_paiementfourn` DISABLE KEYS */;
erjo@11794 3540 /*!40000 ALTER TABLE `llx_paiementfourn` ENABLE KEYS */;
erjo@11794 3541 UNLOCK TABLES;
erjo@11794 3542
erjo@11794 3543 --
erjo@11794 3544 -- Table structure for table `llx_paiementfourn_facturefourn`
erjo@11794 3545 --
erjo@11794 3546
erjo@11794 3547 DROP TABLE IF EXISTS `llx_paiementfourn_facturefourn`;
erjo@11794 3548 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3549 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3550 CREATE TABLE `llx_paiementfourn_facturefourn` (
erjo@11794 3551 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3552 `fk_paiementfourn` int(11) DEFAULT NULL,
erjo@11794 3553 `fk_facturefourn` int(11) DEFAULT NULL,
erjo@11794 3554 `amount` double DEFAULT '0',
erjo@11794 3555 PRIMARY KEY (`rowid`),
erjo@11794 3556 UNIQUE KEY `uk_paiementfourn_facturefourn` (`fk_paiementfourn`,`fk_facturefourn`),
erjo@11794 3557 KEY `idx_paiementfourn_facturefourn_fk_facture` (`fk_facturefourn`),
erjo@11794 3558 KEY `idx_paiementfourn_facturefourn_fk_paiement` (`fk_paiementfourn`)
erjo@11794 3559 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3560 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3561
erjo@11794 3562 --
erjo@11794 3563 -- Dumping data for table `llx_paiementfourn_facturefourn`
erjo@11794 3564 --
erjo@11794 3565
erjo@11794 3566 LOCK TABLES `llx_paiementfourn_facturefourn` WRITE;
erjo@11794 3567 /*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` DISABLE KEYS */;
erjo@11794 3568 /*!40000 ALTER TABLE `llx_paiementfourn_facturefourn` ENABLE KEYS */;
erjo@11794 3569 UNLOCK TABLES;
erjo@11794 3570
erjo@11794 3571 --
erjo@11794 3572 -- Table structure for table `llx_prelevement_bons`
erjo@11794 3573 --
erjo@11794 3574
erjo@11794 3575 DROP TABLE IF EXISTS `llx_prelevement_bons`;
erjo@11794 3576 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3577 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3578 CREATE TABLE `llx_prelevement_bons` (
erjo@11794 3579 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3580 `ref` varchar(12) DEFAULT NULL,
erjo@11794 3581 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3582 `datec` datetime DEFAULT NULL,
erjo@11794 3583 `amount` double DEFAULT '0',
erjo@11794 3584 `statut` smallint(6) DEFAULT '0',
erjo@11794 3585 `credite` smallint(6) DEFAULT '0',
erjo@11794 3586 `note` text,
erjo@11794 3587 `date_trans` datetime DEFAULT NULL,
erjo@11794 3588 `method_trans` smallint(6) DEFAULT NULL,
erjo@11794 3589 `fk_user_trans` int(11) DEFAULT NULL,
erjo@11794 3590 `date_credit` datetime DEFAULT NULL,
erjo@11794 3591 `fk_user_credit` int(11) DEFAULT NULL,
erjo@11794 3592 PRIMARY KEY (`rowid`),
erjo@11794 3593 UNIQUE KEY `uk_prelevement_bons_ref` (`ref`,`entity`)
erjo@11794 3594 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3595 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3596
erjo@11794 3597 --
erjo@11794 3598 -- Dumping data for table `llx_prelevement_bons`
erjo@11794 3599 --
erjo@11794 3600
erjo@11794 3601 LOCK TABLES `llx_prelevement_bons` WRITE;
erjo@11794 3602 /*!40000 ALTER TABLE `llx_prelevement_bons` DISABLE KEYS */;
erjo@11794 3603 /*!40000 ALTER TABLE `llx_prelevement_bons` ENABLE KEYS */;
erjo@11794 3604 UNLOCK TABLES;
erjo@11794 3605
erjo@11794 3606 --
erjo@11794 3607 -- Table structure for table `llx_prelevement_facture`
erjo@11794 3608 --
erjo@11794 3609
erjo@11794 3610 DROP TABLE IF EXISTS `llx_prelevement_facture`;
erjo@11794 3611 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3612 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3613 CREATE TABLE `llx_prelevement_facture` (
erjo@11794 3614 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3615 `fk_facture` int(11) NOT NULL,
erjo@11794 3616 `fk_prelevement_lignes` int(11) NOT NULL,
erjo@11794 3617 PRIMARY KEY (`rowid`),
erjo@11794 3618 KEY `idx_prelevement_facture_fk_prelevement_lignes` (`fk_prelevement_lignes`)
erjo@11794 3619 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3620 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3621
erjo@11794 3622 --
erjo@11794 3623 -- Dumping data for table `llx_prelevement_facture`
erjo@11794 3624 --
erjo@11794 3625
erjo@11794 3626 LOCK TABLES `llx_prelevement_facture` WRITE;
erjo@11794 3627 /*!40000 ALTER TABLE `llx_prelevement_facture` DISABLE KEYS */;
erjo@11794 3628 /*!40000 ALTER TABLE `llx_prelevement_facture` ENABLE KEYS */;
erjo@11794 3629 UNLOCK TABLES;
erjo@11794 3630
erjo@11794 3631 --
erjo@11794 3632 -- Table structure for table `llx_prelevement_facture_demande`
erjo@11794 3633 --
erjo@11794 3634
erjo@11794 3635 DROP TABLE IF EXISTS `llx_prelevement_facture_demande`;
erjo@11794 3636 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3637 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3638 CREATE TABLE `llx_prelevement_facture_demande` (
erjo@11794 3639 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3640 `fk_facture` int(11) NOT NULL,
erjo@11794 3641 `amount` double NOT NULL,
erjo@11794 3642 `date_demande` datetime NOT NULL,
erjo@11794 3643 `traite` smallint(6) DEFAULT '0',
erjo@11794 3644 `date_traite` datetime DEFAULT NULL,
erjo@11794 3645 `fk_prelevement_bons` int(11) DEFAULT NULL,
erjo@11794 3646 `fk_user_demande` int(11) NOT NULL,
erjo@11794 3647 `code_banque` varchar(7) DEFAULT NULL,
erjo@11794 3648 `code_guichet` varchar(6) DEFAULT NULL,
erjo@11794 3649 `number` varchar(255) DEFAULT NULL,
erjo@11794 3650 `cle_rib` varchar(5) DEFAULT NULL,
erjo@11794 3651 PRIMARY KEY (`rowid`)
erjo@11794 3652 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3653 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3654
erjo@11794 3655 --
erjo@11794 3656 -- Dumping data for table `llx_prelevement_facture_demande`
erjo@11794 3657 --
erjo@11794 3658
erjo@11794 3659 LOCK TABLES `llx_prelevement_facture_demande` WRITE;
erjo@11794 3660 /*!40000 ALTER TABLE `llx_prelevement_facture_demande` DISABLE KEYS */;
erjo@11794 3661 /*!40000 ALTER TABLE `llx_prelevement_facture_demande` ENABLE KEYS */;
erjo@11794 3662 UNLOCK TABLES;
erjo@11794 3663
erjo@11794 3664 --
erjo@11794 3665 -- Table structure for table `llx_prelevement_lignes`
erjo@11794 3666 --
erjo@11794 3667
erjo@11794 3668 DROP TABLE IF EXISTS `llx_prelevement_lignes`;
erjo@11794 3669 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3670 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3671 CREATE TABLE `llx_prelevement_lignes` (
erjo@11794 3672 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3673 `fk_prelevement_bons` int(11) DEFAULT NULL,
erjo@11794 3674 `fk_soc` int(11) NOT NULL,
erjo@11794 3675 `statut` smallint(6) DEFAULT '0',
erjo@11794 3676 `client_nom` varchar(255) DEFAULT NULL,
erjo@11794 3677 `amount` double DEFAULT '0',
erjo@11794 3678 `code_banque` varchar(7) DEFAULT NULL,
erjo@11794 3679 `code_guichet` varchar(6) DEFAULT NULL,
erjo@11794 3680 `number` varchar(255) DEFAULT NULL,
erjo@11794 3681 `cle_rib` varchar(5) DEFAULT NULL,
erjo@11794 3682 `note` text,
erjo@11794 3683 PRIMARY KEY (`rowid`),
erjo@11794 3684 KEY `idx_prelevement_lignes_fk_prelevement_bons` (`fk_prelevement_bons`)
erjo@11794 3685 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3686 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3687
erjo@11794 3688 --
erjo@11794 3689 -- Dumping data for table `llx_prelevement_lignes`
erjo@11794 3690 --
erjo@11794 3691
erjo@11794 3692 LOCK TABLES `llx_prelevement_lignes` WRITE;
erjo@11794 3693 /*!40000 ALTER TABLE `llx_prelevement_lignes` DISABLE KEYS */;
erjo@11794 3694 /*!40000 ALTER TABLE `llx_prelevement_lignes` ENABLE KEYS */;
erjo@11794 3695 UNLOCK TABLES;
erjo@11794 3696
erjo@11794 3697 --
erjo@11794 3698 -- Table structure for table `llx_prelevement_rejet`
erjo@11794 3699 --
erjo@11794 3700
erjo@11794 3701 DROP TABLE IF EXISTS `llx_prelevement_rejet`;
erjo@11794 3702 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3703 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3704 CREATE TABLE `llx_prelevement_rejet` (
erjo@11794 3705 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3706 `fk_prelevement_lignes` int(11) DEFAULT NULL,
erjo@11794 3707 `date_rejet` datetime DEFAULT NULL,
erjo@11794 3708 `motif` int(11) DEFAULT NULL,
erjo@11794 3709 `date_creation` datetime DEFAULT NULL,
erjo@11794 3710 `fk_user_creation` int(11) DEFAULT NULL,
erjo@11794 3711 `note` text,
erjo@11794 3712 `afacturer` tinyint(4) DEFAULT '0',
erjo@11794 3713 `fk_facture` int(11) DEFAULT NULL,
erjo@11794 3714 PRIMARY KEY (`rowid`)
erjo@11794 3715 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3716 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3717
erjo@11794 3718 --
erjo@11794 3719 -- Dumping data for table `llx_prelevement_rejet`
erjo@11794 3720 --
erjo@11794 3721
erjo@11794 3722 LOCK TABLES `llx_prelevement_rejet` WRITE;
erjo@11794 3723 /*!40000 ALTER TABLE `llx_prelevement_rejet` DISABLE KEYS */;
erjo@11794 3724 /*!40000 ALTER TABLE `llx_prelevement_rejet` ENABLE KEYS */;
erjo@11794 3725 UNLOCK TABLES;
erjo@11794 3726
erjo@11794 3727 --
erjo@11794 3728 -- Table structure for table `llx_product`
erjo@11794 3729 --
erjo@11794 3730
erjo@11794 3731 DROP TABLE IF EXISTS `llx_product`;
erjo@11794 3732 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3733 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3734 CREATE TABLE `llx_product` (
erjo@11794 3735 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3736 `datec` datetime DEFAULT NULL,
erjo@11794 3737 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3738 `virtual` tinyint(4) NOT NULL DEFAULT '0',
erjo@11794 3739 `fk_parent` int(11) DEFAULT '0',
erjo@11794 3740 `ref` varchar(32) NOT NULL,
erjo@11794 3741 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3742 `ref_ext` varchar(32) DEFAULT NULL,
erjo@11794 3743 `label` varchar(255) NOT NULL,
erjo@11794 3744 `description` text,
erjo@11794 3745 `note` text,
erjo@11794 3746 `customcode` varchar(32) DEFAULT NULL,
erjo@11794 3747 `fk_country` int(11) DEFAULT NULL,
erjo@11794 3748 `price` double(24,8) DEFAULT '0.00000000',
erjo@11794 3749 `price_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 3750 `price_min` double(24,8) DEFAULT '0.00000000',
erjo@11794 3751 `price_min_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 3752 `price_base_type` varchar(3) DEFAULT 'HT',
erjo@11794 3753 `tva_tx` double(6,3) DEFAULT NULL,
erjo@11794 3754 `recuperableonly` int(11) NOT NULL DEFAULT '0',
erjo@11794 3755 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 3756 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 3757 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 3758 `tosell` tinyint(4) DEFAULT '1',
erjo@11794 3759 `tobuy` tinyint(4) DEFAULT '1',
erjo@11794 3760 `fk_product_type` int(11) DEFAULT '0',
erjo@11794 3761 `duration` varchar(6) DEFAULT NULL,
erjo@11794 3762 `seuil_stock_alerte` int(11) DEFAULT '0',
erjo@11794 3763 `barcode` varchar(255) DEFAULT NULL,
erjo@11794 3764 `fk_barcode_type` int(11) DEFAULT '0',
erjo@11794 3765 `accountancy_code_sell` varchar(15) DEFAULT NULL,
erjo@11794 3766 `accountancy_code_buy` varchar(15) DEFAULT NULL,
erjo@11794 3767 `partnumber` varchar(32) DEFAULT NULL,
erjo@11794 3768 `weight` float DEFAULT NULL,
erjo@11794 3769 `weight_units` tinyint(4) DEFAULT NULL,
erjo@11794 3770 `length` float DEFAULT NULL,
erjo@11794 3771 `length_units` tinyint(4) DEFAULT NULL,
erjo@11794 3772 `surface` float DEFAULT NULL,
erjo@11794 3773 `surface_units` tinyint(4) DEFAULT NULL,
erjo@11794 3774 `volume` float DEFAULT NULL,
erjo@11794 3775 `volume_units` tinyint(4) DEFAULT NULL,
erjo@11794 3776 `stock` int(11) DEFAULT NULL,
erjo@11794 3777 `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 3778 `canvas` varchar(32) DEFAULT 'default@product',
erjo@11794 3779 `finished` tinyint(4) DEFAULT NULL,
erjo@11794 3780 `hidden` tinyint(4) DEFAULT '0',
erjo@11794 3781 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 3782 PRIMARY KEY (`rowid`),
erjo@11794 3783 UNIQUE KEY `uk_product_ref` (`ref`,`entity`),
erjo@11794 3784 KEY `idx_product_label` (`label`),
erjo@11794 3785 KEY `idx_product_barcode` (`barcode`),
erjo@11794 3786 KEY `idx_product_import_key` (`import_key`)
erjo@11794 3787 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3788 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3789
erjo@11794 3790 --
erjo@11794 3791 -- Dumping data for table `llx_product`
erjo@11794 3792 --
erjo@11794 3793
erjo@11794 3794 LOCK TABLES `llx_product` WRITE;
erjo@11794 3795 /*!40000 ALTER TABLE `llx_product` DISABLE KEYS */;
erjo@11794 3796 /*!40000 ALTER TABLE `llx_product` ENABLE KEYS */;
erjo@11794 3797 UNLOCK TABLES;
erjo@11794 3798
erjo@11794 3799 --
erjo@11794 3800 -- Table structure for table `llx_product_association`
erjo@11794 3801 --
erjo@11794 3802
erjo@11794 3803 DROP TABLE IF EXISTS `llx_product_association`;
erjo@11794 3804 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3805 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3806 CREATE TABLE `llx_product_association` (
erjo@11794 3807 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3808 `fk_product_pere` int(11) NOT NULL DEFAULT '0',
erjo@11794 3809 `fk_product_fils` int(11) NOT NULL DEFAULT '0',
erjo@11794 3810 `qty` double DEFAULT NULL,
erjo@11794 3811 PRIMARY KEY (`rowid`),
erjo@11794 3812 UNIQUE KEY `uk_product_association` (`fk_product_pere`,`fk_product_fils`),
erjo@11794 3813 KEY `idx_product_association_fils` (`fk_product_fils`)
erjo@11794 3814 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3815 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3816
erjo@11794 3817 --
erjo@11794 3818 -- Dumping data for table `llx_product_association`
erjo@11794 3819 --
erjo@11794 3820
erjo@11794 3821 LOCK TABLES `llx_product_association` WRITE;
erjo@11794 3822 /*!40000 ALTER TABLE `llx_product_association` DISABLE KEYS */;
erjo@11794 3823 /*!40000 ALTER TABLE `llx_product_association` ENABLE KEYS */;
erjo@11794 3824 UNLOCK TABLES;
erjo@11794 3825
erjo@11794 3826 --
erjo@11794 3827 -- Table structure for table `llx_product_ca`
erjo@11794 3828 --
erjo@11794 3829
erjo@11794 3830 DROP TABLE IF EXISTS `llx_product_ca`;
erjo@11794 3831 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3832 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3833 CREATE TABLE `llx_product_ca` (
erjo@11794 3834 `fk_product` int(11) DEFAULT NULL,
erjo@11794 3835 `date_calcul` datetime DEFAULT NULL,
erjo@11794 3836 `year` smallint(5) unsigned DEFAULT NULL,
erjo@11794 3837 `ca_genere` float DEFAULT NULL,
erjo@11794 3838 UNIQUE KEY `fk_product` (`fk_product`,`year`)
erjo@11794 3839 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3840 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3841
erjo@11794 3842 --
erjo@11794 3843 -- Dumping data for table `llx_product_ca`
erjo@11794 3844 --
erjo@11794 3845
erjo@11794 3846 LOCK TABLES `llx_product_ca` WRITE;
erjo@11794 3847 /*!40000 ALTER TABLE `llx_product_ca` DISABLE KEYS */;
erjo@11794 3848 /*!40000 ALTER TABLE `llx_product_ca` ENABLE KEYS */;
erjo@11794 3849 UNLOCK TABLES;
erjo@11794 3850
erjo@11794 3851 --
erjo@11827 3852 -- Table structure for table `llx_product_extrafields`
erjo@11827 3853 --
erjo@11827 3854
erjo@11827 3855 DROP TABLE IF EXISTS `llx_product_extrafields`;
erjo@11827 3856 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11827 3857 /*!40101 SET character_set_client = utf8 */;
erjo@11827 3858 CREATE TABLE `llx_product_extrafields` (
erjo@11827 3859 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 3860 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11827 3861 `fk_object` int(11) NOT NULL,
erjo@11827 3862 PRIMARY KEY (`rowid`),
erjo@11827 3863 KEY `idx_product_extrafields` (`fk_object`)
erjo@11827 3864 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
erjo@11827 3865 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11827 3866
erjo@11827 3867 --
erjo@11827 3868 -- Dumping data for table `llx_product_extrafields`
erjo@11827 3869 --
erjo@11827 3870
erjo@11827 3871 LOCK TABLES `llx_product_extrafields` WRITE;
erjo@11827 3872 /*!40000 ALTER TABLE `llx_product_extrafields` DISABLE KEYS */;
erjo@11827 3873 /*!40000 ALTER TABLE `llx_product_extrafields` ENABLE KEYS */;
erjo@11827 3874 UNLOCK TABLES;
erjo@11827 3875
erjo@11827 3876 --
erjo@11794 3877 -- Table structure for table `llx_product_fournisseur`
erjo@11794 3878 --
erjo@11794 3879
erjo@11794 3880 DROP TABLE IF EXISTS `llx_product_fournisseur`;
erjo@11794 3881 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3882 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3883 CREATE TABLE `llx_product_fournisseur` (
erjo@11794 3884 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3885 `datec` datetime DEFAULT NULL,
erjo@11794 3886 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3887 `fk_product` int(11) DEFAULT NULL,
erjo@11794 3888 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 3889 `ref_fourn` varchar(30) DEFAULT NULL,
erjo@11794 3890 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 3891 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 3892 PRIMARY KEY (`rowid`),
erjo@11794 3893 UNIQUE KEY `uk_product_fournisseur_ref` (`ref_fourn`,`fk_soc`,`entity`),
erjo@11794 3894 KEY `idx_product_fourn_fk_product` (`fk_product`,`entity`),
erjo@11794 3895 KEY `idx_product_fourn_fk_soc` (`fk_soc`,`entity`)
erjo@11794 3896 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3897 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3898
erjo@11794 3899 --
erjo@11794 3900 -- Dumping data for table `llx_product_fournisseur`
erjo@11794 3901 --
erjo@11794 3902
erjo@11794 3903 LOCK TABLES `llx_product_fournisseur` WRITE;
erjo@11794 3904 /*!40000 ALTER TABLE `llx_product_fournisseur` DISABLE KEYS */;
erjo@11794 3905 /*!40000 ALTER TABLE `llx_product_fournisseur` ENABLE KEYS */;
erjo@11794 3906 UNLOCK TABLES;
erjo@11794 3907
erjo@11794 3908 --
erjo@11794 3909 -- Table structure for table `llx_product_fournisseur_price`
erjo@11794 3910 --
erjo@11794 3911
erjo@11794 3912 DROP TABLE IF EXISTS `llx_product_fournisseur_price`;
erjo@11794 3913 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3914 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3915 CREATE TABLE `llx_product_fournisseur_price` (
erjo@11794 3916 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3917 `datec` datetime DEFAULT NULL,
erjo@11794 3918 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 3919 `fk_product_fournisseur` int(11) NOT NULL,
erjo@11794 3920 `price` double(24,8) DEFAULT '0.00000000',
erjo@11794 3921 `quantity` double DEFAULT NULL,
erjo@11794 3922 `unitprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 3923 `fk_user` int(11) DEFAULT NULL,
erjo@11794 3924 PRIMARY KEY (`rowid`),
erjo@11794 3925 KEY `idx_product_fournisseur_price_fk_user` (`fk_user`),
erjo@11794 3926 KEY `idx_product_fournisseur_price_fk_product_fournisseur` (`fk_product_fournisseur`)
erjo@11794 3927 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3928 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3929
erjo@11794 3930 --
erjo@11794 3931 -- Dumping data for table `llx_product_fournisseur_price`
erjo@11794 3932 --
erjo@11794 3933
erjo@11794 3934 LOCK TABLES `llx_product_fournisseur_price` WRITE;
erjo@11794 3935 /*!40000 ALTER TABLE `llx_product_fournisseur_price` DISABLE KEYS */;
erjo@11794 3936 /*!40000 ALTER TABLE `llx_product_fournisseur_price` ENABLE KEYS */;
erjo@11794 3937 UNLOCK TABLES;
erjo@11794 3938
erjo@11794 3939 --
erjo@11794 3940 -- Table structure for table `llx_product_fournisseur_price_log`
erjo@11794 3941 --
erjo@11794 3942
erjo@11794 3943 DROP TABLE IF EXISTS `llx_product_fournisseur_price_log`;
erjo@11794 3944 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3945 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3946 CREATE TABLE `llx_product_fournisseur_price_log` (
erjo@11794 3947 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3948 `datec` datetime DEFAULT NULL,
erjo@11794 3949 `fk_product_fournisseur` int(11) NOT NULL,
erjo@11794 3950 `price` double(24,8) DEFAULT '0.00000000',
erjo@11794 3951 `quantity` double DEFAULT NULL,
erjo@11794 3952 `fk_user` int(11) DEFAULT NULL,
erjo@11794 3953 PRIMARY KEY (`rowid`)
erjo@11794 3954 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3955 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3956
erjo@11794 3957 --
erjo@11794 3958 -- Dumping data for table `llx_product_fournisseur_price_log`
erjo@11794 3959 --
erjo@11794 3960
erjo@11794 3961 LOCK TABLES `llx_product_fournisseur_price_log` WRITE;
erjo@11794 3962 /*!40000 ALTER TABLE `llx_product_fournisseur_price_log` DISABLE KEYS */;
erjo@11794 3963 /*!40000 ALTER TABLE `llx_product_fournisseur_price_log` ENABLE KEYS */;
erjo@11794 3964 UNLOCK TABLES;
erjo@11794 3965
erjo@11794 3966 --
erjo@11794 3967 -- Table structure for table `llx_product_lang`
erjo@11794 3968 --
erjo@11794 3969
erjo@11794 3970 DROP TABLE IF EXISTS `llx_product_lang`;
erjo@11794 3971 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 3972 /*!40101 SET character_set_client = utf8 */;
erjo@11794 3973 CREATE TABLE `llx_product_lang` (
erjo@11794 3974 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 3975 `fk_product` int(11) NOT NULL DEFAULT '0',
erjo@11794 3976 `lang` varchar(5) NOT NULL DEFAULT '0',
erjo@11794 3977 `label` varchar(255) NOT NULL,
erjo@11794 3978 `description` text,
erjo@11794 3979 `note` text,
erjo@11794 3980 PRIMARY KEY (`rowid`),
erjo@11794 3981 UNIQUE KEY `uk_product_lang` (`fk_product`,`lang`)
erjo@11794 3982 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 3983 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 3984
erjo@11794 3985 --
erjo@11794 3986 -- Dumping data for table `llx_product_lang`
erjo@11794 3987 --
erjo@11794 3988
erjo@11794 3989 LOCK TABLES `llx_product_lang` WRITE;
erjo@11794 3990 /*!40000 ALTER TABLE `llx_product_lang` DISABLE KEYS */;
erjo@11794 3991 /*!40000 ALTER TABLE `llx_product_lang` ENABLE KEYS */;
erjo@11794 3992 UNLOCK TABLES;
erjo@11794 3993
erjo@11794 3994 --
erjo@11794 3995 -- Table structure for table `llx_product_price`
erjo@11794 3996 --
erjo@11794 3997
erjo@11794 3998 DROP TABLE IF EXISTS `llx_product_price`;
erjo@11794 3999 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4000 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4001 CREATE TABLE `llx_product_price` (
erjo@11794 4002 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4003 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4004 `fk_product` int(11) NOT NULL,
erjo@11794 4005 `date_price` datetime NOT NULL,
erjo@11794 4006 `price_level` smallint(6) DEFAULT '1',
erjo@11794 4007 `price` double(24,8) DEFAULT NULL,
erjo@11794 4008 `price_ttc` double(24,8) DEFAULT NULL,
erjo@11794 4009 `price_min` double(24,8) DEFAULT NULL,
erjo@11794 4010 `price_min_ttc` double(24,8) DEFAULT NULL,
erjo@11794 4011 `price_base_type` varchar(3) DEFAULT 'HT',
erjo@11794 4012 `tva_tx` double(6,3) NOT NULL,
erjo@11794 4013 `recuperableonly` int(11) NOT NULL DEFAULT '0',
erjo@11794 4014 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4015 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4016 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 4017 `tosell` tinyint(4) DEFAULT '1',
erjo@11794 4018 PRIMARY KEY (`rowid`)
erjo@11794 4019 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4020 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4021
erjo@11794 4022 --
erjo@11794 4023 -- Dumping data for table `llx_product_price`
erjo@11794 4024 --
erjo@11794 4025
erjo@11794 4026 LOCK TABLES `llx_product_price` WRITE;
erjo@11794 4027 /*!40000 ALTER TABLE `llx_product_price` DISABLE KEYS */;
erjo@11794 4028 /*!40000 ALTER TABLE `llx_product_price` ENABLE KEYS */;
erjo@11794 4029 UNLOCK TABLES;
erjo@11794 4030
erjo@11794 4031 --
erjo@11794 4032 -- Table structure for table `llx_product_stock`
erjo@11794 4033 --
erjo@11794 4034
erjo@11794 4035 DROP TABLE IF EXISTS `llx_product_stock`;
erjo@11794 4036 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4037 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4038 CREATE TABLE `llx_product_stock` (
erjo@11794 4039 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4040 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4041 `fk_product` int(11) NOT NULL,
erjo@11794 4042 `fk_entrepot` int(11) NOT NULL,
erjo@11794 4043 `reel` double DEFAULT NULL,
erjo@11794 4044 `pmp` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 4045 PRIMARY KEY (`rowid`),
erjo@11794 4046 UNIQUE KEY `uk_product_stock` (`fk_product`,`fk_entrepot`),
erjo@11794 4047 KEY `idx_product_stock_fk_product` (`fk_product`),
erjo@11794 4048 KEY `idx_product_stock_fk_entrepot` (`fk_entrepot`)
erjo@11794 4049 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4050 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4051
erjo@11794 4052 --
erjo@11794 4053 -- Dumping data for table `llx_product_stock`
erjo@11794 4054 --
erjo@11794 4055
erjo@11794 4056 LOCK TABLES `llx_product_stock` WRITE;
erjo@11794 4057 /*!40000 ALTER TABLE `llx_product_stock` DISABLE KEYS */;
erjo@11794 4058 /*!40000 ALTER TABLE `llx_product_stock` ENABLE KEYS */;
erjo@11794 4059 UNLOCK TABLES;
erjo@11794 4060
erjo@11794 4061 --
erjo@11794 4062 -- Table structure for table `llx_projet`
erjo@11794 4063 --
erjo@11794 4064
erjo@11794 4065 DROP TABLE IF EXISTS `llx_projet`;
erjo@11794 4066 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4067 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4068 CREATE TABLE `llx_projet` (
erjo@11794 4069 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4070 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 4071 `datec` date DEFAULT NULL,
erjo@11794 4072 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4073 `dateo` date DEFAULT NULL,
erjo@11794 4074 `datee` date DEFAULT NULL,
erjo@11794 4075 `ref` varchar(50) DEFAULT NULL,
erjo@11794 4076 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4077 `title` varchar(255) NOT NULL,
erjo@11794 4078 `description` text,
erjo@11794 4079 `fk_user_creat` int(11) NOT NULL,
erjo@11794 4080 `public` int(11) DEFAULT NULL,
erjo@11794 4081 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 4082 `note_private` text,
erjo@11794 4083 `note_public` text,
erjo@11827 4084 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 4085 PRIMARY KEY (`rowid`),
erjo@11794 4086 UNIQUE KEY `uk_projet_ref` (`ref`,`entity`),
erjo@11794 4087 KEY `idx_projet_fk_soc` (`fk_soc`)
erjo@11794 4088 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4089 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4090
erjo@11794 4091 --
erjo@11794 4092 -- Dumping data for table `llx_projet`
erjo@11794 4093 --
erjo@11794 4094
erjo@11794 4095 LOCK TABLES `llx_projet` WRITE;
erjo@11794 4096 /*!40000 ALTER TABLE `llx_projet` DISABLE KEYS */;
erjo@11794 4097 /*!40000 ALTER TABLE `llx_projet` ENABLE KEYS */;
erjo@11794 4098 UNLOCK TABLES;
erjo@11794 4099
erjo@11794 4100 --
erjo@11794 4101 -- Table structure for table `llx_projet_task`
erjo@11794 4102 --
erjo@11794 4103
erjo@11794 4104 DROP TABLE IF EXISTS `llx_projet_task`;
erjo@11794 4105 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4106 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4107 CREATE TABLE `llx_projet_task` (
erjo@11794 4108 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4109 `fk_projet` int(11) NOT NULL,
erjo@11794 4110 `fk_task_parent` int(11) NOT NULL DEFAULT '0',
erjo@11794 4111 `datec` datetime DEFAULT NULL,
erjo@11794 4112 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4113 `dateo` datetime DEFAULT NULL,
erjo@11794 4114 `datee` datetime DEFAULT NULL,
erjo@11794 4115 `datev` datetime DEFAULT NULL,
erjo@11794 4116 `label` varchar(255) NOT NULL,
erjo@11794 4117 `description` text,
erjo@11794 4118 `duration_effective` double NOT NULL DEFAULT '0',
erjo@11794 4119 `progress` int(11) DEFAULT '0',
erjo@11794 4120 `priority` int(11) DEFAULT '0',
erjo@11794 4121 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 4122 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 4123 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 4124 `note_private` text,
erjo@11794 4125 `note_public` text,
erjo@11794 4126 `rang` int(11) DEFAULT '0',
erjo@11794 4127 PRIMARY KEY (`rowid`),
erjo@11794 4128 KEY `idx_projet_task_fk_projet` (`fk_projet`),
erjo@11794 4129 KEY `idx_projet_task_fk_user_creat` (`fk_user_creat`),
erjo@11794 4130 KEY `idx_projet_task_fk_user_valid` (`fk_user_valid`)
erjo@11794 4131 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4132 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4133
erjo@11794 4134 --
erjo@11794 4135 -- Dumping data for table `llx_projet_task`
erjo@11794 4136 --
erjo@11794 4137
erjo@11794 4138 LOCK TABLES `llx_projet_task` WRITE;
erjo@11794 4139 /*!40000 ALTER TABLE `llx_projet_task` DISABLE KEYS */;
erjo@11794 4140 /*!40000 ALTER TABLE `llx_projet_task` ENABLE KEYS */;
erjo@11794 4141 UNLOCK TABLES;
erjo@11794 4142
erjo@11794 4143 --
erjo@11794 4144 -- Table structure for table `llx_projet_task_time`
erjo@11794 4145 --
erjo@11794 4146
erjo@11794 4147 DROP TABLE IF EXISTS `llx_projet_task_time`;
erjo@11794 4148 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4149 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4150 CREATE TABLE `llx_projet_task_time` (
erjo@11794 4151 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4152 `fk_task` int(11) NOT NULL,
erjo@11794 4153 `task_date` date DEFAULT NULL,
erjo@11794 4154 `task_duration` double DEFAULT NULL,
erjo@11794 4155 `fk_user` int(11) DEFAULT NULL,
erjo@11794 4156 `note` text,
erjo@11794 4157 PRIMARY KEY (`rowid`)
erjo@11794 4158 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4159 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4160
erjo@11794 4161 --
erjo@11794 4162 -- Dumping data for table `llx_projet_task_time`
erjo@11794 4163 --
erjo@11794 4164
erjo@11794 4165 LOCK TABLES `llx_projet_task_time` WRITE;
erjo@11794 4166 /*!40000 ALTER TABLE `llx_projet_task_time` DISABLE KEYS */;
erjo@11794 4167 /*!40000 ALTER TABLE `llx_projet_task_time` ENABLE KEYS */;
erjo@11794 4168 UNLOCK TABLES;
erjo@11794 4169
erjo@11794 4170 --
erjo@11794 4171 -- Table structure for table `llx_propal`
erjo@11794 4172 --
erjo@11794 4173
erjo@11794 4174 DROP TABLE IF EXISTS `llx_propal`;
erjo@11794 4175 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4176 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4177 CREATE TABLE `llx_propal` (
erjo@11794 4178 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4179 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 4180 `fk_projet` int(11) DEFAULT '0',
erjo@11827 4181 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4182 `ref` varchar(30) NOT NULL,
erjo@11794 4183 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 4184 `ref_ext` varchar(50) DEFAULT NULL,
erjo@11827 4185 `ref_int` varchar(50) DEFAULT NULL,
erjo@11827 4186 `ref_client` varchar(50) DEFAULT NULL,
erjo@11794 4187 `datec` datetime DEFAULT NULL,
erjo@11794 4188 `datep` date DEFAULT NULL,
erjo@11794 4189 `fin_validite` datetime DEFAULT NULL,
erjo@11794 4190 `date_valid` datetime DEFAULT NULL,
erjo@11794 4191 `date_cloture` datetime DEFAULT NULL,
erjo@11794 4192 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 4193 `fk_user_valid` int(11) DEFAULT NULL,
erjo@11794 4194 `fk_user_cloture` int(11) DEFAULT NULL,
erjo@11794 4195 `fk_statut` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 4196 `price` double DEFAULT '0',
erjo@11794 4197 `remise_percent` double DEFAULT '0',
erjo@11794 4198 `remise_absolue` double DEFAULT '0',
erjo@11794 4199 `remise` double DEFAULT '0',
erjo@11794 4200 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 4201 `tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 4202 `localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 4203 `localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 4204 `total` double(24,8) DEFAULT '0.00000000',
erjo@11794 4205 `fk_cond_reglement` int(11) DEFAULT NULL,
erjo@11794 4206 `fk_mode_reglement` int(11) DEFAULT NULL,
erjo@11794 4207 `note` text,
erjo@11794 4208 `note_public` text,
erjo@11827 4209 `model_pdf` varchar(255) DEFAULT NULL,
erjo@11794 4210 `date_livraison` date DEFAULT NULL,
erjo@11827 4211 `fk_availability` int(11) DEFAULT NULL,
erjo@11794 4212 `fk_adresse_livraison` int(11) DEFAULT NULL,
erjo@11827 4213 `fk_demand_reason` int(11) DEFAULT '0',
erjo@11794 4214 PRIMARY KEY (`rowid`),
erjo@11794 4215 UNIQUE KEY `uk_propal_ref` (`ref`,`entity`),
erjo@11794 4216 KEY `idx_propal_fk_soc` (`fk_soc`)
erjo@11794 4217 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4218 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4219
erjo@11794 4220 --
erjo@11794 4221 -- Dumping data for table `llx_propal`
erjo@11794 4222 --
erjo@11794 4223
erjo@11794 4224 LOCK TABLES `llx_propal` WRITE;
erjo@11794 4225 /*!40000 ALTER TABLE `llx_propal` DISABLE KEYS */;
erjo@11794 4226 /*!40000 ALTER TABLE `llx_propal` ENABLE KEYS */;
erjo@11794 4227 UNLOCK TABLES;
erjo@11794 4228
erjo@11794 4229 --
erjo@11794 4230 -- Table structure for table `llx_propaldet`
erjo@11794 4231 --
erjo@11794 4232
erjo@11794 4233 DROP TABLE IF EXISTS `llx_propaldet`;
erjo@11794 4234 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4235 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4236 CREATE TABLE `llx_propaldet` (
erjo@11794 4237 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4238 `fk_propal` int(11) NOT NULL,
erjo@11794 4239 `fk_parent_line` int(11) DEFAULT NULL,
erjo@11794 4240 `fk_product` int(11) DEFAULT NULL,
erjo@11794 4241 `description` text,
erjo@11794 4242 `fk_remise_except` int(11) DEFAULT NULL,
erjo@11794 4243 `tva_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4244 `localtax1_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4245 `localtax2_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4246 `qty` double DEFAULT NULL,
erjo@11794 4247 `remise_percent` double DEFAULT '0',
erjo@11794 4248 `remise` double DEFAULT '0',
erjo@11794 4249 `price` double DEFAULT NULL,
erjo@11794 4250 `subprice` double(24,8) DEFAULT '0.00000000',
erjo@11794 4251 `total_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 4252 `total_tva` double(24,8) DEFAULT '0.00000000',
erjo@11794 4253 `total_localtax1` double(24,8) DEFAULT '0.00000000',
erjo@11794 4254 `total_localtax2` double(24,8) DEFAULT '0.00000000',
erjo@11794 4255 `total_ttc` double(24,8) DEFAULT '0.00000000',
erjo@11794 4256 `product_type` int(11) DEFAULT '0',
erjo@11794 4257 `date_start` datetime DEFAULT NULL,
erjo@11794 4258 `date_end` datetime DEFAULT NULL,
erjo@11794 4259 `info_bits` int(11) DEFAULT '0',
erjo@11794 4260 `pa_ht` double(24,8) DEFAULT '0.00000000',
erjo@11794 4261 `marge_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4262 `marque_tx` double(6,3) DEFAULT '0.000',
erjo@11794 4263 `special_code` int(10) unsigned DEFAULT '0',
erjo@11794 4264 `rang` int(11) DEFAULT '0',
erjo@11794 4265 PRIMARY KEY (`rowid`),
erjo@11827 4266 KEY `idx_propaldet_fk_propal` (`fk_propal`),
erjo@11827 4267 KEY `idx_propaldet_fk_product` (`fk_product`)
erjo@11794 4268 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4269 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4270
erjo@11794 4271 --
erjo@11794 4272 -- Dumping data for table `llx_propaldet`
erjo@11794 4273 --
erjo@11794 4274
erjo@11794 4275 LOCK TABLES `llx_propaldet` WRITE;
erjo@11794 4276 /*!40000 ALTER TABLE `llx_propaldet` DISABLE KEYS */;
erjo@11794 4277 /*!40000 ALTER TABLE `llx_propaldet` ENABLE KEYS */;
erjo@11794 4278 UNLOCK TABLES;
erjo@11794 4279
erjo@11794 4280 --
erjo@11794 4281 -- Table structure for table `llx_rights_def`
erjo@11794 4282 --
erjo@11794 4283
erjo@11794 4284 DROP TABLE IF EXISTS `llx_rights_def`;
erjo@11794 4285 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4286 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4287 CREATE TABLE `llx_rights_def` (
erjo@11794 4288 `id` int(11) NOT NULL DEFAULT '0',
erjo@11794 4289 `libelle` varchar(255) DEFAULT NULL,
erjo@11794 4290 `module` varchar(64) DEFAULT NULL,
erjo@11794 4291 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4292 `perms` varchar(50) DEFAULT NULL,
erjo@11794 4293 `subperms` varchar(50) DEFAULT NULL,
erjo@11794 4294 `type` varchar(1) DEFAULT NULL,
erjo@11794 4295 `bydefault` tinyint(4) DEFAULT '0',
erjo@11794 4296 PRIMARY KEY (`id`,`entity`)
erjo@11794 4297 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4298 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4299
erjo@11794 4300 --
erjo@11794 4301 -- Dumping data for table `llx_rights_def`
erjo@11794 4302 --
erjo@11794 4303
erjo@11794 4304 LOCK TABLES `llx_rights_def` WRITE;
erjo@11794 4305 /*!40000 ALTER TABLE `llx_rights_def` DISABLE KEYS */;
erjo@11827 4306 INSERT INTO `llx_rights_def` VALUES (352,'Consulter les permissions des groupes','user',1,'group_advance','readperms','r',0),(351,'Consulter les groupes','user',1,'group_advance','read','r',0),(344,'Modifier ses propres permissions','user',1,'self_advance','writeperms','w',1),(343,'Modifier son propre mot de passe','user',1,'self','password','w',1),(342,'Creer/modifier ses propres infos utilisateur','user',1,'self','creer','w',1),(341,'Consulter ses propres permissions','user',1,'self_advance','readperms','r',1),(256,'Supprimer ou desactiver les autres utilisateurs','user',1,'user','supprimer','d',0),(255,'Modifier le mot de passe des autres utilisateurs','user',1,'user','password','w',0),(254,'Creer/modifier utilisateurs externes seulement','user',1,'user_advance','write','w',0),(253,'Creer/modifier utilisateurs internes et externes','user',1,'user','creer','w',0),(252,'Consulter les permissions des autres utilisateurs','user',1,'user_advance','readperms','r',0),(251,'Consulter les autres utilisateurs','user',1,'user','lire','r',0),(353,'Creer/modifier les groupes et leurs permissions','user',1,'group_advance','write','w',0),(354,'Supprimer ou desactiver les groupes','user',1,'group_advance','delete','d',0),(358,'Exporter les utilisateurs','user',1,'user','export','r',0);
erjo@11794 4307 /*!40000 ALTER TABLE `llx_rights_def` ENABLE KEYS */;
erjo@11794 4308 UNLOCK TABLES;
erjo@11794 4309
erjo@11794 4310 --
erjo@11794 4311 -- Table structure for table `llx_societe`
erjo@11794 4312 --
erjo@11794 4313
erjo@11794 4314 DROP TABLE IF EXISTS `llx_societe`;
erjo@11794 4315 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4316 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4317 CREATE TABLE `llx_societe` (
erjo@11794 4318 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4319 `statut` tinyint(4) DEFAULT '0',
erjo@11794 4320 `parent` int(11) DEFAULT NULL,
erjo@11794 4321 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4322 `datec` datetime DEFAULT NULL,
erjo@11794 4323 `datea` datetime DEFAULT NULL,
erjo@11794 4324 `nom` varchar(60) DEFAULT NULL,
erjo@11794 4325 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4326 `ref_ext` varchar(60) DEFAULT NULL,
erjo@11827 4327 `ref_int` varchar(60) DEFAULT NULL,
erjo@11794 4328 `code_client` varchar(15) DEFAULT NULL,
erjo@11794 4329 `code_fournisseur` varchar(15) DEFAULT NULL,
erjo@11794 4330 `code_compta` varchar(15) DEFAULT NULL,
erjo@11794 4331 `code_compta_fournisseur` varchar(15) DEFAULT NULL,
erjo@11794 4332 `address` varchar(255) DEFAULT NULL,
erjo@11794 4333 `cp` varchar(10) DEFAULT NULL,
erjo@11794 4334 `ville` varchar(50) DEFAULT NULL,
erjo@11794 4335 `fk_departement` int(11) DEFAULT '0',
erjo@11794 4336 `fk_pays` int(11) DEFAULT '0',
erjo@11794 4337 `tel` varchar(20) DEFAULT NULL,
erjo@11794 4338 `fax` varchar(20) DEFAULT NULL,
erjo@11794 4339 `url` varchar(255) DEFAULT NULL,
erjo@11794 4340 `email` varchar(128) DEFAULT NULL,
erjo@11794 4341 `fk_secteur` int(11) DEFAULT '0',
erjo@11794 4342 `fk_effectif` int(11) DEFAULT '0',
erjo@11794 4343 `fk_typent` int(11) DEFAULT '0',
erjo@11794 4344 `fk_forme_juridique` int(11) DEFAULT '0',
erjo@11827 4345 `fk_currency` int(11) DEFAULT '0',
erjo@11827 4346 `siren` varchar(32) DEFAULT NULL,
erjo@11827 4347 `siret` varchar(32) DEFAULT NULL,
erjo@11827 4348 `ape` varchar(32) DEFAULT NULL,
erjo@11827 4349 `idprof4` varchar(32) DEFAULT NULL,
erjo@11794 4350 `tva_intra` varchar(20) DEFAULT NULL,
erjo@11794 4351 `capital` double DEFAULT NULL,
erjo@11794 4352 `description` text,
erjo@11794 4353 `fk_stcomm` smallint(6) DEFAULT '0',
erjo@11794 4354 `note` text,
erjo@11794 4355 `services` tinyint(4) DEFAULT '0',
erjo@11794 4356 `prefix_comm` varchar(5) DEFAULT NULL,
erjo@11794 4357 `client` tinyint(4) DEFAULT '0',
erjo@11794 4358 `fournisseur` tinyint(4) DEFAULT '0',
erjo@11794 4359 `supplier_account` varchar(32) DEFAULT NULL,
erjo@11794 4360 `fk_prospectlevel` varchar(12) DEFAULT NULL,
erjo@11794 4361 `customer_bad` tinyint(4) DEFAULT '0',
erjo@11794 4362 `customer_rate` double DEFAULT '0',
erjo@11794 4363 `supplier_rate` double DEFAULT '0',
erjo@11794 4364 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 4365 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 4366 `remise_client` double DEFAULT '0',
erjo@11794 4367 `mode_reglement` tinyint(4) DEFAULT NULL,
erjo@11794 4368 `cond_reglement` tinyint(4) DEFAULT NULL,
erjo@11794 4369 `tva_assuj` tinyint(4) DEFAULT '1',
erjo@11794 4370 `localtax1_assuj` tinyint(4) DEFAULT '0',
erjo@11794 4371 `localtax2_assuj` tinyint(4) DEFAULT '0',
erjo@11794 4372 `gencod` varchar(255) DEFAULT NULL,
erjo@11794 4373 `price_level` int(11) DEFAULT NULL,
erjo@11794 4374 `default_lang` varchar(6) DEFAULT NULL,
erjo@11794 4375 `canvas` varchar(32) DEFAULT NULL,
erjo@11794 4376 `import_key` varchar(14) DEFAULT NULL,
erjo@11827 4377 `status` tinyint(4) DEFAULT '1',
erjo@11827 4378 `logo` varchar(255) DEFAULT NULL,
erjo@11794 4379 PRIMARY KEY (`rowid`),
erjo@11794 4380 UNIQUE KEY `uk_societe_prefix_comm` (`prefix_comm`,`entity`),
erjo@11794 4381 UNIQUE KEY `uk_societe_code_client` (`code_client`,`entity`),
erjo@11794 4382 KEY `idx_societe_user_creat` (`fk_user_creat`),
erjo@11794 4383 KEY `idx_societe_user_modif` (`fk_user_modif`)
erjo@11794 4384 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4385 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4386
erjo@11794 4387 --
erjo@11794 4388 -- Dumping data for table `llx_societe`
erjo@11794 4389 --
erjo@11794 4390
erjo@11794 4391 LOCK TABLES `llx_societe` WRITE;
erjo@11794 4392 /*!40000 ALTER TABLE `llx_societe` DISABLE KEYS */;
erjo@11794 4393 /*!40000 ALTER TABLE `llx_societe` ENABLE KEYS */;
erjo@11794 4394 UNLOCK TABLES;
erjo@11794 4395
erjo@11794 4396 --
erjo@11794 4397 -- Table structure for table `llx_societe_address`
erjo@11794 4398 --
erjo@11794 4399
erjo@11794 4400 DROP TABLE IF EXISTS `llx_societe_address`;
erjo@11794 4401 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4402 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4403 CREATE TABLE `llx_societe_address` (
erjo@11794 4404 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4405 `datec` datetime DEFAULT NULL,
erjo@11794 4406 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4407 `label` varchar(30) DEFAULT NULL,
erjo@11794 4408 `fk_soc` int(11) DEFAULT '0',
erjo@11794 4409 `name` varchar(60) DEFAULT NULL,
erjo@11794 4410 `address` varchar(255) DEFAULT NULL,
erjo@11794 4411 `cp` varchar(10) DEFAULT NULL,
erjo@11794 4412 `ville` varchar(50) DEFAULT NULL,
erjo@11794 4413 `fk_pays` int(11) DEFAULT '0',
erjo@11794 4414 `tel` varchar(20) DEFAULT NULL,
erjo@11794 4415 `fax` varchar(20) DEFAULT NULL,
erjo@11794 4416 `note` text,
erjo@11794 4417 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 4418 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 4419 PRIMARY KEY (`rowid`)
erjo@11794 4420 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4421 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4422
erjo@11794 4423 --
erjo@11794 4424 -- Dumping data for table `llx_societe_address`
erjo@11794 4425 --
erjo@11794 4426
erjo@11794 4427 LOCK TABLES `llx_societe_address` WRITE;
erjo@11794 4428 /*!40000 ALTER TABLE `llx_societe_address` DISABLE KEYS */;
erjo@11794 4429 /*!40000 ALTER TABLE `llx_societe_address` ENABLE KEYS */;
erjo@11794 4430 UNLOCK TABLES;
erjo@11794 4431
erjo@11794 4432 --
erjo@11794 4433 -- Table structure for table `llx_societe_commerciaux`
erjo@11794 4434 --
erjo@11794 4435
erjo@11794 4436 DROP TABLE IF EXISTS `llx_societe_commerciaux`;
erjo@11794 4437 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4438 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4439 CREATE TABLE `llx_societe_commerciaux` (
erjo@11794 4440 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4441 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 4442 `fk_user` int(11) DEFAULT NULL,
erjo@11794 4443 PRIMARY KEY (`rowid`),
erjo@11794 4444 UNIQUE KEY `uk_societe_commerciaux` (`fk_soc`,`fk_user`)
erjo@11794 4445 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4446 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4447
erjo@11794 4448 --
erjo@11794 4449 -- Dumping data for table `llx_societe_commerciaux`
erjo@11794 4450 --
erjo@11794 4451
erjo@11794 4452 LOCK TABLES `llx_societe_commerciaux` WRITE;
erjo@11794 4453 /*!40000 ALTER TABLE `llx_societe_commerciaux` DISABLE KEYS */;
erjo@11794 4454 /*!40000 ALTER TABLE `llx_societe_commerciaux` ENABLE KEYS */;
erjo@11794 4455 UNLOCK TABLES;
erjo@11794 4456
erjo@11794 4457 --
erjo@11827 4458 -- Table structure for table `llx_societe_extrafields`
erjo@11827 4459 --
erjo@11827 4460
erjo@11827 4461 DROP TABLE IF EXISTS `llx_societe_extrafields`;
erjo@11827 4462 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11827 4463 /*!40101 SET character_set_client = utf8 */;
erjo@11827 4464 CREATE TABLE `llx_societe_extrafields` (
erjo@11827 4465 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 4466 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11827 4467 `fk_object` int(11) NOT NULL,
erjo@11827 4468 PRIMARY KEY (`rowid`),
erjo@11827 4469 KEY `idx_societe_extrafields` (`fk_object`)
erjo@11827 4470 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
erjo@11827 4471 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11827 4472
erjo@11827 4473 --
erjo@11827 4474 -- Dumping data for table `llx_societe_extrafields`
erjo@11827 4475 --
erjo@11827 4476
erjo@11827 4477 LOCK TABLES `llx_societe_extrafields` WRITE;
erjo@11827 4478 /*!40000 ALTER TABLE `llx_societe_extrafields` DISABLE KEYS */;
erjo@11827 4479 /*!40000 ALTER TABLE `llx_societe_extrafields` ENABLE KEYS */;
erjo@11827 4480 UNLOCK TABLES;
erjo@11827 4481
erjo@11827 4482 --
erjo@11794 4483 -- Table structure for table `llx_societe_log`
erjo@11794 4484 --
erjo@11794 4485
erjo@11794 4486 DROP TABLE IF EXISTS `llx_societe_log`;
erjo@11794 4487 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4488 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4489 CREATE TABLE `llx_societe_log` (
erjo@11794 4490 `id` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4491 `datel` datetime DEFAULT NULL,
erjo@11794 4492 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 4493 `fk_statut` int(11) DEFAULT NULL,
erjo@11794 4494 `fk_user` int(11) DEFAULT NULL,
erjo@11794 4495 `author` varchar(30) DEFAULT NULL,
erjo@11794 4496 `label` varchar(128) DEFAULT NULL,
erjo@11794 4497 PRIMARY KEY (`id`)
erjo@11794 4498 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4499 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4500
erjo@11794 4501 --
erjo@11794 4502 -- Dumping data for table `llx_societe_log`
erjo@11794 4503 --
erjo@11794 4504
erjo@11794 4505 LOCK TABLES `llx_societe_log` WRITE;
erjo@11794 4506 /*!40000 ALTER TABLE `llx_societe_log` DISABLE KEYS */;
erjo@11794 4507 /*!40000 ALTER TABLE `llx_societe_log` ENABLE KEYS */;
erjo@11794 4508 UNLOCK TABLES;
erjo@11794 4509
erjo@11794 4510 --
erjo@11794 4511 -- Table structure for table `llx_societe_prices`
erjo@11794 4512 --
erjo@11794 4513
erjo@11794 4514 DROP TABLE IF EXISTS `llx_societe_prices`;
erjo@11794 4515 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4516 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4517 CREATE TABLE `llx_societe_prices` (
erjo@11794 4518 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4519 `fk_soc` int(11) DEFAULT '0',
erjo@11827 4520 `tms` timestamp NULL DEFAULT NULL,
erjo@11794 4521 `datec` datetime DEFAULT NULL,
erjo@11794 4522 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 4523 `price_level` tinyint(4) DEFAULT '1',
erjo@11794 4524 PRIMARY KEY (`rowid`)
erjo@11794 4525 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4526 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4527
erjo@11794 4528 --
erjo@11794 4529 -- Dumping data for table `llx_societe_prices`
erjo@11794 4530 --
erjo@11794 4531
erjo@11794 4532 LOCK TABLES `llx_societe_prices` WRITE;
erjo@11794 4533 /*!40000 ALTER TABLE `llx_societe_prices` DISABLE KEYS */;
erjo@11794 4534 /*!40000 ALTER TABLE `llx_societe_prices` ENABLE KEYS */;
erjo@11794 4535 UNLOCK TABLES;
erjo@11794 4536
erjo@11794 4537 --
erjo@11794 4538 -- Table structure for table `llx_societe_remise`
erjo@11794 4539 --
erjo@11794 4540
erjo@11794 4541 DROP TABLE IF EXISTS `llx_societe_remise`;
erjo@11794 4542 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4543 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4544 CREATE TABLE `llx_societe_remise` (
erjo@11794 4545 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4546 `fk_soc` int(11) NOT NULL,
erjo@11794 4547 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4548 `datec` datetime DEFAULT NULL,
erjo@11794 4549 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 4550 `remise_client` double(6,3) NOT NULL DEFAULT '0.000',
erjo@11794 4551 `note` text,
erjo@11794 4552 PRIMARY KEY (`rowid`)
erjo@11794 4553 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4554 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4555
erjo@11794 4556 --
erjo@11794 4557 -- Dumping data for table `llx_societe_remise`
erjo@11794 4558 --
erjo@11794 4559
erjo@11794 4560 LOCK TABLES `llx_societe_remise` WRITE;
erjo@11794 4561 /*!40000 ALTER TABLE `llx_societe_remise` DISABLE KEYS */;
erjo@11794 4562 /*!40000 ALTER TABLE `llx_societe_remise` ENABLE KEYS */;
erjo@11794 4563 UNLOCK TABLES;
erjo@11794 4564
erjo@11794 4565 --
erjo@11794 4566 -- Table structure for table `llx_societe_remise_except`
erjo@11794 4567 --
erjo@11794 4568
erjo@11794 4569 DROP TABLE IF EXISTS `llx_societe_remise_except`;
erjo@11794 4570 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4571 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4572 CREATE TABLE `llx_societe_remise_except` (
erjo@11794 4573 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4574 `fk_soc` int(11) NOT NULL,
erjo@11794 4575 `datec` datetime DEFAULT NULL,
erjo@11794 4576 `amount_ht` double(24,8) NOT NULL,
erjo@11794 4577 `amount_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 4578 `amount_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
erjo@11794 4579 `tva_tx` double(6,3) NOT NULL DEFAULT '0.000',
erjo@11794 4580 `fk_user` int(11) NOT NULL,
erjo@11794 4581 `fk_facture_line` int(11) DEFAULT NULL,
erjo@11794 4582 `fk_facture` int(11) DEFAULT NULL,
erjo@11794 4583 `fk_facture_source` int(11) DEFAULT NULL,
erjo@11794 4584 `description` varchar(255) NOT NULL,
erjo@11794 4585 PRIMARY KEY (`rowid`),
erjo@11794 4586 KEY `idx_societe_remise_except_fk_user` (`fk_user`),
erjo@11794 4587 KEY `idx_societe_remise_except_fk_soc` (`fk_soc`),
erjo@11794 4588 KEY `idx_societe_remise_except_fk_facture_line` (`fk_facture_line`),
erjo@11794 4589 KEY `idx_societe_remise_except_fk_facture` (`fk_facture`),
erjo@11794 4590 KEY `idx_societe_remise_except_fk_facture_source` (`fk_facture_source`)
erjo@11794 4591 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4592 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4593
erjo@11794 4594 --
erjo@11794 4595 -- Dumping data for table `llx_societe_remise_except`
erjo@11794 4596 --
erjo@11794 4597
erjo@11794 4598 LOCK TABLES `llx_societe_remise_except` WRITE;
erjo@11794 4599 /*!40000 ALTER TABLE `llx_societe_remise_except` DISABLE KEYS */;
erjo@11794 4600 /*!40000 ALTER TABLE `llx_societe_remise_except` ENABLE KEYS */;
erjo@11794 4601 UNLOCK TABLES;
erjo@11794 4602
erjo@11794 4603 --
erjo@11794 4604 -- Table structure for table `llx_societe_rib`
erjo@11794 4605 --
erjo@11794 4606
erjo@11794 4607 DROP TABLE IF EXISTS `llx_societe_rib`;
erjo@11794 4608 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4609 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4610 CREATE TABLE `llx_societe_rib` (
erjo@11794 4611 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4612 `fk_soc` int(11) NOT NULL,
erjo@11794 4613 `datec` datetime DEFAULT NULL,
erjo@11794 4614 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4615 `label` varchar(30) DEFAULT NULL,
erjo@11794 4616 `bank` varchar(255) DEFAULT NULL,
erjo@11794 4617 `code_banque` varchar(7) DEFAULT NULL,
erjo@11794 4618 `code_guichet` varchar(6) DEFAULT NULL,
erjo@11794 4619 `number` varchar(255) DEFAULT NULL,
erjo@11794 4620 `cle_rib` varchar(5) DEFAULT NULL,
erjo@11794 4621 `bic` varchar(10) DEFAULT NULL,
erjo@11794 4622 `iban_prefix` varchar(34) DEFAULT NULL,
erjo@11794 4623 `domiciliation` varchar(255) DEFAULT NULL,
erjo@11794 4624 `proprio` varchar(60) DEFAULT NULL,
erjo@11794 4625 `adresse_proprio` varchar(255) DEFAULT NULL,
erjo@11794 4626 PRIMARY KEY (`rowid`)
erjo@11794 4627 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4628 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4629
erjo@11794 4630 --
erjo@11794 4631 -- Dumping data for table `llx_societe_rib`
erjo@11794 4632 --
erjo@11794 4633
erjo@11794 4634 LOCK TABLES `llx_societe_rib` WRITE;
erjo@11794 4635 /*!40000 ALTER TABLE `llx_societe_rib` DISABLE KEYS */;
erjo@11794 4636 /*!40000 ALTER TABLE `llx_societe_rib` ENABLE KEYS */;
erjo@11794 4637 UNLOCK TABLES;
erjo@11794 4638
erjo@11794 4639 --
erjo@11794 4640 -- Table structure for table `llx_socpeople`
erjo@11794 4641 --
erjo@11794 4642
erjo@11794 4643 DROP TABLE IF EXISTS `llx_socpeople`;
erjo@11794 4644 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4645 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4646 CREATE TABLE `llx_socpeople` (
erjo@11794 4647 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4648 `datec` datetime DEFAULT NULL,
erjo@11794 4649 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4650 `fk_soc` int(11) DEFAULT NULL,
erjo@11794 4651 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4652 `civilite` varchar(6) DEFAULT NULL,
erjo@11794 4653 `name` varchar(50) DEFAULT NULL,
erjo@11794 4654 `firstname` varchar(50) DEFAULT NULL,
erjo@11794 4655 `address` varchar(255) DEFAULT NULL,
erjo@11794 4656 `cp` varchar(25) DEFAULT NULL,
erjo@11794 4657 `ville` varchar(255) DEFAULT NULL,
erjo@11794 4658 `fk_departement` int(11) DEFAULT NULL,
erjo@11794 4659 `fk_pays` int(11) DEFAULT '0',
erjo@11794 4660 `birthday` date DEFAULT NULL,
erjo@11794 4661 `poste` varchar(80) DEFAULT NULL,
erjo@11794 4662 `phone` varchar(30) DEFAULT NULL,
erjo@11794 4663 `phone_perso` varchar(30) DEFAULT NULL,
erjo@11794 4664 `phone_mobile` varchar(30) DEFAULT NULL,
erjo@11794 4665 `fax` varchar(30) DEFAULT NULL,
erjo@11794 4666 `email` varchar(255) DEFAULT NULL,
erjo@11794 4667 `jabberid` varchar(255) DEFAULT NULL,
erjo@11794 4668 `priv` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 4669 `fk_user_creat` int(11) DEFAULT '0',
erjo@11794 4670 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 4671 `note` text,
erjo@11794 4672 `default_lang` varchar(6) DEFAULT NULL,
erjo@11794 4673 `canvas` varchar(32) DEFAULT NULL,
erjo@11794 4674 `import_key` varchar(14) DEFAULT NULL,
erjo@11794 4675 PRIMARY KEY (`rowid`),
erjo@11794 4676 KEY `idx_socpeople_fk_soc` (`fk_soc`),
erjo@11794 4677 KEY `idx_socpeople_fk_user_creat` (`fk_user_creat`)
erjo@11794 4678 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4679 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4680
erjo@11794 4681 --
erjo@11794 4682 -- Dumping data for table `llx_socpeople`
erjo@11794 4683 --
erjo@11794 4684
erjo@11794 4685 LOCK TABLES `llx_socpeople` WRITE;
erjo@11794 4686 /*!40000 ALTER TABLE `llx_socpeople` DISABLE KEYS */;
erjo@11794 4687 /*!40000 ALTER TABLE `llx_socpeople` ENABLE KEYS */;
erjo@11794 4688 UNLOCK TABLES;
erjo@11794 4689
erjo@11794 4690 --
erjo@11794 4691 -- Table structure for table `llx_stock_mouvement`
erjo@11794 4692 --
erjo@11794 4693
erjo@11794 4694 DROP TABLE IF EXISTS `llx_stock_mouvement`;
erjo@11794 4695 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4696 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4697 CREATE TABLE `llx_stock_mouvement` (
erjo@11794 4698 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4699 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4700 `datem` datetime DEFAULT NULL,
erjo@11794 4701 `fk_product` int(11) NOT NULL,
erjo@11794 4702 `fk_entrepot` int(11) NOT NULL,
erjo@11794 4703 `value` int(11) DEFAULT NULL,
erjo@11794 4704 `price` float(13,4) DEFAULT '0.0000',
erjo@11794 4705 `type_mouvement` smallint(6) DEFAULT NULL,
erjo@11794 4706 `fk_user_author` int(11) DEFAULT NULL,
erjo@11794 4707 `label` varchar(128) DEFAULT NULL,
erjo@11794 4708 PRIMARY KEY (`rowid`),
erjo@11794 4709 KEY `idx_stock_mouvement_fk_product` (`fk_product`),
erjo@11794 4710 KEY `idx_stock_mouvement_fk_entrepot` (`fk_entrepot`)
erjo@11794 4711 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4712 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4713
erjo@11794 4714 --
erjo@11794 4715 -- Dumping data for table `llx_stock_mouvement`
erjo@11794 4716 --
erjo@11794 4717
erjo@11794 4718 LOCK TABLES `llx_stock_mouvement` WRITE;
erjo@11794 4719 /*!40000 ALTER TABLE `llx_stock_mouvement` DISABLE KEYS */;
erjo@11794 4720 /*!40000 ALTER TABLE `llx_stock_mouvement` ENABLE KEYS */;
erjo@11794 4721 UNLOCK TABLES;
erjo@11794 4722
erjo@11794 4723 --
erjo@11794 4724 -- Table structure for table `llx_texts`
erjo@11794 4725 --
erjo@11794 4726
erjo@11794 4727 DROP TABLE IF EXISTS `llx_texts`;
erjo@11794 4728 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4729 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4730 CREATE TABLE `llx_texts` (
erjo@11794 4731 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4732 `module` varchar(32) DEFAULT NULL,
erjo@11794 4733 `typemodele` varchar(32) DEFAULT NULL,
erjo@11794 4734 `sortorder` smallint(6) DEFAULT NULL,
erjo@11794 4735 `private` smallint(6) NOT NULL DEFAULT '0',
erjo@11794 4736 `fk_user` int(11) DEFAULT NULL,
erjo@11794 4737 `title` varchar(128) DEFAULT NULL,
erjo@11794 4738 `filename` varchar(128) DEFAULT NULL,
erjo@11794 4739 `content` text,
erjo@11794 4740 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4741 PRIMARY KEY (`rowid`)
erjo@11794 4742 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4743 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4744
erjo@11794 4745 --
erjo@11794 4746 -- Dumping data for table `llx_texts`
erjo@11794 4747 --
erjo@11794 4748
erjo@11794 4749 LOCK TABLES `llx_texts` WRITE;
erjo@11794 4750 /*!40000 ALTER TABLE `llx_texts` DISABLE KEYS */;
erjo@11794 4751 /*!40000 ALTER TABLE `llx_texts` ENABLE KEYS */;
erjo@11794 4752 UNLOCK TABLES;
erjo@11794 4753
erjo@11794 4754 --
erjo@11794 4755 -- Table structure for table `llx_tva`
erjo@11794 4756 --
erjo@11794 4757
erjo@11794 4758 DROP TABLE IF EXISTS `llx_tva`;
erjo@11794 4759 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4760 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4761 CREATE TABLE `llx_tva` (
erjo@11794 4762 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4763 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4764 `datep` date DEFAULT NULL,
erjo@11794 4765 `datev` date DEFAULT NULL,
erjo@11794 4766 `amount` double NOT NULL DEFAULT '0',
erjo@11794 4767 `label` varchar(255) DEFAULT NULL,
erjo@11794 4768 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4769 `note` text,
erjo@11794 4770 `fk_bank` int(11) DEFAULT NULL,
erjo@11794 4771 `fk_user_creat` int(11) DEFAULT NULL,
erjo@11794 4772 `fk_user_modif` int(11) DEFAULT NULL,
erjo@11794 4773 PRIMARY KEY (`rowid`)
erjo@11794 4774 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4775 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4776
erjo@11794 4777 --
erjo@11794 4778 -- Dumping data for table `llx_tva`
erjo@11794 4779 --
erjo@11794 4780
erjo@11794 4781 LOCK TABLES `llx_tva` WRITE;
erjo@11794 4782 /*!40000 ALTER TABLE `llx_tva` DISABLE KEYS */;
erjo@11794 4783 /*!40000 ALTER TABLE `llx_tva` ENABLE KEYS */;
erjo@11794 4784 UNLOCK TABLES;
erjo@11794 4785
erjo@11794 4786 --
erjo@11794 4787 -- Table structure for table `llx_user`
erjo@11794 4788 --
erjo@11794 4789
erjo@11794 4790 DROP TABLE IF EXISTS `llx_user`;
erjo@11794 4791 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4792 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4793 CREATE TABLE `llx_user` (
erjo@11794 4794 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4795 `datec` datetime DEFAULT NULL,
erjo@11794 4796 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4797 `login` varchar(24) NOT NULL,
erjo@11794 4798 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11827 4799 `ref_ext` varchar(30) DEFAULT NULL,
erjo@11794 4800 `pass` varchar(32) DEFAULT NULL,
erjo@11794 4801 `pass_crypted` varchar(128) DEFAULT NULL,
erjo@11794 4802 `pass_temp` varchar(32) DEFAULT NULL,
erjo@11827 4803 `civilite` varchar(6) DEFAULT NULL,
erjo@11794 4804 `name` varchar(50) DEFAULT NULL,
erjo@11794 4805 `firstname` varchar(50) DEFAULT NULL,
erjo@11794 4806 `office_phone` varchar(20) DEFAULT NULL,
erjo@11794 4807 `office_fax` varchar(20) DEFAULT NULL,
erjo@11794 4808 `user_mobile` varchar(20) DEFAULT NULL,
erjo@11794 4809 `email` varchar(255) DEFAULT NULL,
erjo@11827 4810 `signature` text,
erjo@11794 4811 `admin` smallint(6) DEFAULT '0',
erjo@11794 4812 `webcal_login` varchar(25) DEFAULT NULL,
erjo@11794 4813 `phenix_login` varchar(25) DEFAULT NULL,
erjo@11794 4814 `phenix_pass` varchar(128) DEFAULT NULL,
erjo@11794 4815 `module_comm` smallint(6) DEFAULT '1',
erjo@11794 4816 `module_compta` smallint(6) DEFAULT '1',
erjo@11794 4817 `fk_societe` int(11) DEFAULT NULL,
erjo@11794 4818 `fk_socpeople` int(11) DEFAULT NULL,
erjo@11794 4819 `fk_member` int(11) DEFAULT NULL,
erjo@11794 4820 `note` text,
erjo@11794 4821 `datelastlogin` datetime DEFAULT NULL,
erjo@11794 4822 `datepreviouslogin` datetime DEFAULT NULL,
erjo@11794 4823 `egroupware_id` int(11) DEFAULT NULL,
erjo@11794 4824 `ldap_sid` varchar(255) DEFAULT NULL,
erjo@11794 4825 `openid` varchar(255) DEFAULT NULL,
erjo@11794 4826 `statut` tinyint(4) DEFAULT '1',
erjo@11794 4827 `photo` varchar(255) DEFAULT NULL,
erjo@11794 4828 `lang` varchar(6) DEFAULT NULL,
erjo@11794 4829 PRIMARY KEY (`rowid`),
erjo@11794 4830 UNIQUE KEY `uk_user_login` (`login`,`entity`),
erjo@11794 4831 UNIQUE KEY `uk_user_fk_socpeople` (`fk_socpeople`),
erjo@11794 4832 UNIQUE KEY `uk_user_fk_member` (`fk_member`),
erjo@11794 4833 KEY `uk_user_fk_societe` (`fk_societe`)
erjo@11794 4834 ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
erjo@11794 4835 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4836
erjo@11794 4837 --
erjo@11794 4838 -- Dumping data for table `llx_user`
erjo@11794 4839 --
erjo@11794 4840
erjo@11794 4841 LOCK TABLES `llx_user` WRITE;
erjo@11794 4842 /*!40000 ALTER TABLE `llx_user` DISABLE KEYS */;
erjo@11827 4843 INSERT INTO `llx_user` VALUES (1,'2011-07-03 17:33:30','2011-07-03 17:33:30','manager',0,NULL,'dolibarr','1de2f00382e35238c18f9e57a3866f23',NULL,NULL,'SuperAdmin','','','','','',NULL,1,'','','',1,1,NULL,NULL,NULL,'','2012-02-25 08:45:39',NULL,NULL,'',NULL,1,NULL,NULL);
erjo@11794 4844 /*!40000 ALTER TABLE `llx_user` ENABLE KEYS */;
erjo@11794 4845 UNLOCK TABLES;
erjo@11794 4846
erjo@11794 4847 --
erjo@11794 4848 -- Table structure for table `llx_user_alert`
erjo@11794 4849 --
erjo@11794 4850
erjo@11794 4851 DROP TABLE IF EXISTS `llx_user_alert`;
erjo@11794 4852 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4853 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4854 CREATE TABLE `llx_user_alert` (
erjo@11794 4855 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4856 `type` int(11) DEFAULT NULL,
erjo@11794 4857 `fk_contact` int(11) DEFAULT NULL,
erjo@11794 4858 `fk_user` int(11) DEFAULT NULL,
erjo@11794 4859 PRIMARY KEY (`rowid`)
erjo@11794 4860 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4861 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4862
erjo@11794 4863 --
erjo@11794 4864 -- Dumping data for table `llx_user_alert`
erjo@11794 4865 --
erjo@11794 4866
erjo@11794 4867 LOCK TABLES `llx_user_alert` WRITE;
erjo@11794 4868 /*!40000 ALTER TABLE `llx_user_alert` DISABLE KEYS */;
erjo@11794 4869 /*!40000 ALTER TABLE `llx_user_alert` ENABLE KEYS */;
erjo@11794 4870 UNLOCK TABLES;
erjo@11794 4871
erjo@11794 4872 --
erjo@11794 4873 -- Table structure for table `llx_user_clicktodial`
erjo@11794 4874 --
erjo@11794 4875
erjo@11794 4876 DROP TABLE IF EXISTS `llx_user_clicktodial`;
erjo@11794 4877 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4878 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4879 CREATE TABLE `llx_user_clicktodial` (
erjo@11794 4880 `fk_user` int(11) NOT NULL,
erjo@11794 4881 `login` varchar(32) DEFAULT NULL,
erjo@11794 4882 `pass` varchar(64) DEFAULT NULL,
erjo@11794 4883 `poste` varchar(20) DEFAULT NULL,
erjo@11794 4884 PRIMARY KEY (`fk_user`)
erjo@11794 4885 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4886 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4887
erjo@11794 4888 --
erjo@11794 4889 -- Dumping data for table `llx_user_clicktodial`
erjo@11794 4890 --
erjo@11794 4891
erjo@11794 4892 LOCK TABLES `llx_user_clicktodial` WRITE;
erjo@11794 4893 /*!40000 ALTER TABLE `llx_user_clicktodial` DISABLE KEYS */;
erjo@11794 4894 /*!40000 ALTER TABLE `llx_user_clicktodial` ENABLE KEYS */;
erjo@11794 4895 UNLOCK TABLES;
erjo@11794 4896
erjo@11794 4897 --
erjo@11794 4898 -- Table structure for table `llx_user_param`
erjo@11794 4899 --
erjo@11794 4900
erjo@11794 4901 DROP TABLE IF EXISTS `llx_user_param`;
erjo@11794 4902 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4903 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4904 CREATE TABLE `llx_user_param` (
erjo@11794 4905 `fk_user` int(11) NOT NULL,
erjo@11794 4906 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4907 `param` varchar(64) NOT NULL,
erjo@11794 4908 `value` varchar(255) NOT NULL,
erjo@11794 4909 UNIQUE KEY `uk_user_param` (`fk_user`,`param`,`entity`)
erjo@11794 4910 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4911 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4912
erjo@11794 4913 --
erjo@11794 4914 -- Dumping data for table `llx_user_param`
erjo@11794 4915 --
erjo@11794 4916
erjo@11794 4917 LOCK TABLES `llx_user_param` WRITE;
erjo@11794 4918 /*!40000 ALTER TABLE `llx_user_param` DISABLE KEYS */;
erjo@11794 4919 /*!40000 ALTER TABLE `llx_user_param` ENABLE KEYS */;
erjo@11794 4920 UNLOCK TABLES;
erjo@11794 4921
erjo@11794 4922 --
erjo@11794 4923 -- Table structure for table `llx_user_rights`
erjo@11794 4924 --
erjo@11794 4925
erjo@11794 4926 DROP TABLE IF EXISTS `llx_user_rights`;
erjo@11794 4927 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4928 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4929 CREATE TABLE `llx_user_rights` (
erjo@11794 4930 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4931 `fk_user` int(11) NOT NULL,
erjo@11794 4932 `fk_id` int(11) NOT NULL,
erjo@11794 4933 PRIMARY KEY (`rowid`),
erjo@11794 4934 UNIQUE KEY `uk_user_rights` (`fk_user`,`fk_id`)
erjo@11827 4935 ) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
erjo@11794 4936 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4937
erjo@11794 4938 --
erjo@11794 4939 -- Dumping data for table `llx_user_rights`
erjo@11794 4940 --
erjo@11794 4941
erjo@11794 4942 LOCK TABLES `llx_user_rights` WRITE;
erjo@11794 4943 /*!40000 ALTER TABLE `llx_user_rights` DISABLE KEYS */;
erjo@11827 4944 INSERT INTO `llx_user_rights` VALUES (14,1,341),(15,1,342),(16,1,343),(17,1,344),(25,1,251),(6,1,252),(7,1,253),(9,1,254),(10,1,255),(12,1,256),(23,1,351),(19,1,352),(22,1,353),(24,1,354),(26,1,358);
erjo@11794 4945 /*!40000 ALTER TABLE `llx_user_rights` ENABLE KEYS */;
erjo@11794 4946 UNLOCK TABLES;
erjo@11794 4947
erjo@11794 4948 --
erjo@11794 4949 -- Table structure for table `llx_usergroup`
erjo@11794 4950 --
erjo@11794 4951
erjo@11794 4952 DROP TABLE IF EXISTS `llx_usergroup`;
erjo@11794 4953 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4954 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4955 CREATE TABLE `llx_usergroup` (
erjo@11794 4956 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4957 `nom` varchar(255) NOT NULL,
erjo@11794 4958 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 4959 `datec` datetime DEFAULT NULL,
erjo@11794 4960 `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
erjo@11794 4961 `note` text,
erjo@11794 4962 PRIMARY KEY (`rowid`),
erjo@11794 4963 UNIQUE KEY `uk_usergroup_name` (`nom`,`entity`)
erjo@11794 4964 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4965 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4966
erjo@11794 4967 --
erjo@11794 4968 -- Dumping data for table `llx_usergroup`
erjo@11794 4969 --
erjo@11794 4970
erjo@11794 4971 LOCK TABLES `llx_usergroup` WRITE;
erjo@11794 4972 /*!40000 ALTER TABLE `llx_usergroup` DISABLE KEYS */;
erjo@11794 4973 /*!40000 ALTER TABLE `llx_usergroup` ENABLE KEYS */;
erjo@11794 4974 UNLOCK TABLES;
erjo@11794 4975
erjo@11794 4976 --
erjo@11794 4977 -- Table structure for table `llx_usergroup_rights`
erjo@11794 4978 --
erjo@11794 4979
erjo@11794 4980 DROP TABLE IF EXISTS `llx_usergroup_rights`;
erjo@11794 4981 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 4982 /*!40101 SET character_set_client = utf8 */;
erjo@11794 4983 CREATE TABLE `llx_usergroup_rights` (
erjo@11794 4984 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11794 4985 `fk_usergroup` int(11) NOT NULL,
erjo@11794 4986 `fk_id` int(11) NOT NULL,
erjo@11794 4987 PRIMARY KEY (`rowid`),
erjo@11794 4988 UNIQUE KEY `fk_usergroup` (`fk_usergroup`,`fk_id`)
erjo@11794 4989 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 4990 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 4991
erjo@11794 4992 --
erjo@11794 4993 -- Dumping data for table `llx_usergroup_rights`
erjo@11794 4994 --
erjo@11794 4995
erjo@11794 4996 LOCK TABLES `llx_usergroup_rights` WRITE;
erjo@11794 4997 /*!40000 ALTER TABLE `llx_usergroup_rights` DISABLE KEYS */;
erjo@11794 4998 /*!40000 ALTER TABLE `llx_usergroup_rights` ENABLE KEYS */;
erjo@11794 4999 UNLOCK TABLES;
erjo@11794 5000
erjo@11794 5001 --
erjo@11794 5002 -- Table structure for table `llx_usergroup_user`
erjo@11794 5003 --
erjo@11794 5004
erjo@11794 5005 DROP TABLE IF EXISTS `llx_usergroup_user`;
erjo@11794 5006 /*!40101 SET @saved_cs_client = @@character_set_client */;
erjo@11794 5007 /*!40101 SET character_set_client = utf8 */;
erjo@11794 5008 CREATE TABLE `llx_usergroup_user` (
erjo@11794 5009 `rowid` int(11) NOT NULL AUTO_INCREMENT,
erjo@11827 5010 `entity` int(11) NOT NULL DEFAULT '1',
erjo@11794 5011 `fk_user` int(11) NOT NULL,
erjo@11794 5012 `fk_usergroup` int(11) NOT NULL,
erjo@11794 5013 PRIMARY KEY (`rowid`),
erjo@11827 5014 UNIQUE KEY `uk_usergroup_user` (`entity`,`fk_user`,`fk_usergroup`),
erjo@11827 5015 KEY `fk_usergroup_user_fk_user` (`fk_user`),
erjo@11827 5016 KEY `fk_usergroup_user_fk_usergroup` (`fk_usergroup`)
erjo@11794 5017 ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
erjo@11794 5018 /*!40101 SET character_set_client = @saved_cs_client */;
erjo@11794 5019
erjo@11794 5020 --
erjo@11794 5021 -- Dumping data for table `llx_usergroup_user`
erjo@11794 5022 --
erjo@11794 5023
erjo@11794 5024 LOCK TABLES `llx_usergroup_user` WRITE;
erjo@11794 5025 /*!40000 ALTER TABLE `llx_usergroup_user` DISABLE KEYS */;
erjo@11794 5026 /*!40000 ALTER TABLE `llx_usergroup_user` ENABLE KEYS */;
erjo@11794 5027 UNLOCK TABLES;
erjo@11794 5028 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
erjo@11794 5029
erjo@11794 5030 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
erjo@11794 5031 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
erjo@11794 5032 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
erjo@11794 5033 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
erjo@11794 5034 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
erjo@11794 5035 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
erjo@11794 5036 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
erjo@11794 5037
erjo@11827 5038 -- Dump completed on 2012-02-26 9:27:31