-- Table structure for table `country_provider_group`
--

CREATE TABLE `country_provider_group` (
  `id_country_provider_group` int(11) NOT NULL AUTO_INCREMENT,
  `id_cluster` int(11) DEFAULT NULL,
  `id_country` int(11) DEFAULT NULL,
  `lb_country_group` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) NOT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_country_provider_group`),
  KEY `id_cluster` (`id_cluster`),
  KEY `id_country` (`id_country`),
  KEY `id_user_create` (`id_user_create_by`),
  KEY `id_user_update` (`id_user_update_by`),
  CONSTRAINT `FK_A86C42CA3B58C0E4` FOREIGN KEY (`id_cluster`) REFERENCES `cluster` (`id_cluster`),
  CONSTRAINT `FK_A86C42CA536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A86C42CA68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A86C42CA8DEE6016` FOREIGN KEY (`id_country`) REFERENCES `country` (`id_country`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `country_provider_group`
--

INSERT INTO `country_provider_group` VALUES (17,NULL,36,'FRA-GRP-VRZ',1,NULL,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2),(18,7,36,'FRA-GRP-VRZ',1,NULL,'2014-10-28 12:24:53','2014-10-28 12:24:53',2,2);

--
-- Table structure for table `currency`
--

CREATE TABLE `currency` (
  `id_currency` int(11) NOT NULL AUTO_INCREMENT,
  `cd_currency` varchar(15) NOT NULL,
  `lb_currency` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `dt_reactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_currency`)
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `currency`
--

INSERT INTO `currency` VALUES (25,'AFN','Afghani',1,'2014-09-23 18:51:19',NULL,NULL),(26,'AED','UAE Dirham',1,'2014-09-23 18:51:19',NULL,NULL),(27,'ALL','Lek',1,'2014-09-23 18:51:19',NULL,NULL),(28,'AMD','Armenian Dram',1,'2014-09-23 18:51:19',NULL,NULL),(29,'ANG','Netherlands Antillean Guilder',1,'2014-09-23 18:51:19',NULL,NULL),(30,'AOA','Kwanza',1,'2014-09-23 00:00:00',NULL,NULL),(31,'ARS','Argentine Peso',1,'2014-09-23 18:51:19',NULL,NULL),(32,'AUD','Australian Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(33,'AWG','Aruban Florin',1,'2014-09-23 18:51:19',NULL,NULL),(34,'AZN','Azerbaijanian Manat',1,'2014-09-23 18:51:19',NULL,NULL),(35,'BAM','Convertible Mark',1,'2014-09-23 18:51:19',NULL,NULL),(36,'BBD','Barbados Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(37,'BDT','Taka',1,'2014-09-23 18:51:19',NULL,NULL),(38,'BGN','Bulgarian Lev',1,'2014-09-23 18:51:19',NULL,NULL),(39,'BHD','Bahraini Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(40,'BIF','Burundi Franc',1,'2014-09-23 18:51:19',NULL,NULL),(41,'BMD','Bermudian Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(42,'BND','Brunei Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(43,'BOB','Boliviano',1,'2014-09-23 18:51:19',NULL,NULL),(44,'BOV','Mvdol',1,'2014-09-23 18:51:19',NULL,NULL),(45,'BRL','Brazilian Real',1,'2014-09-23 18:51:19',NULL,NULL),(46,'BSD','Bahamian Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(47,'BTN','Ngultrum',1,'2014-09-23 18:51:19',NULL,NULL),(48,'BWP','Pula',1,'2014-09-23 18:51:19',NULL,NULL),(49,'BYR','Belarussian Ruble',1,'2014-09-23 18:51:19',NULL,NULL),(50,'BZD','Belize Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(51,'CAD','Canadian Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(52,'CDF','Congolese Franc',1,'2014-09-23 18:51:19',NULL,NULL),(53,'CHE','WIR Euro',1,'2014-09-23 18:51:19',NULL,NULL),(54,'CHF','Swiss Franc',1,'2014-09-23 18:51:19',NULL,NULL),(55,'CHW','WIR Franc',1,'2014-09-23 18:51:19',NULL,NULL),(56,'CLF','Unidad de Fomento',1,'2014-09-23 18:51:19',NULL,NULL),(57,'CLP','Chilean Peso',1,'2014-09-23 18:51:19',NULL,NULL),(58,'CNY','Yuan Renminbi',1,'2014-09-23 18:51:19',NULL,NULL),(59,'COP','Colombian Peso',1,'2014-09-23 18:51:19',NULL,NULL),(60,'COU','Unidad de Valor Real',1,'2014-09-23 18:51:19',NULL,NULL),(61,'CRC','Costa Rican Colon',1,'2014-09-23 18:51:19',NULL,NULL),(62,'CUC','Peso Convertible',1,'2014-09-23 18:51:19',NULL,NULL),(63,'CUP','Cuban Peso',1,'2014-09-23 18:51:19',NULL,NULL),(64,'CVE','Cabo Verde Escudo',1,'2014-09-23 18:51:19',NULL,NULL),(65,'CZK','Czech Koruna',1,'2014-09-23 18:51:19',NULL,NULL),(66,'DJF','Djibouti Franc',1,'2014-09-23 18:51:19',NULL,NULL),(67,'DKK','Danish Krone',1,'2014-09-23 18:51:19',NULL,NULL),(68,'DOP','Dominican Peso',1,'2014-09-23 18:51:19',NULL,NULL),(69,'DZD','Algerian Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(70,'EGP','Egyptian Pound',1,'2014-09-23 18:51:19',NULL,NULL),(71,'ERN','Nakfa',1,'2014-09-23 18:51:19',NULL,NULL),(72,'ETB','Ethiopian Birr',1,'2014-09-23 18:51:19',NULL,NULL),(73,'EUR','Euro',1,'2014-09-23 18:51:19',NULL,NULL),(74,'FJD','Fiji Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(75,'FKP','Falkland Islands Pound',1,'2014-09-23 18:51:19',NULL,NULL),(76,'GBP','Pound Sterling',1,'2014-09-23 18:51:19',NULL,NULL),(77,'GEL','Lari',1,'2014-09-23 18:51:19',NULL,NULL),(78,'GHS','Ghana Cedi',1,'2014-09-23 18:51:19',NULL,NULL),(79,'GIP','Gibraltar Pound',1,'2014-09-23 18:51:19',NULL,NULL),(80,'GMD','Dalasi',1,'2014-09-23 18:51:19',NULL,NULL),(81,'GNF','Guinea Franc',1,'2014-09-23 18:51:19',NULL,NULL),(82,'GTQ','Quetzal',1,'2014-09-23 18:51:19',NULL,NULL),(83,'GYD','Guyana Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(84,'HKD','Hong Kong Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(85,'HNL','Lempira',1,'2014-09-23 18:51:19',NULL,NULL),(86,'HRK','Croatian Kuna',1,'2014-09-23 18:51:19',NULL,NULL),(87,'HTG','Gourde',1,'2014-09-23 18:51:19',NULL,NULL),(88,'HUF','Forint',1,'2014-09-23 18:51:19',NULL,NULL),(89,'IDR','Rupiah',1,'2014-09-23 18:51:19',NULL,NULL),(90,'ILS','New Israeli Sheqel',1,'2014-09-23 18:51:19',NULL,NULL),(91,'INR','Indian Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(92,'IQD','Iraqi Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(93,'IRR','Iranian Rial',1,'2014-09-23 18:51:19',NULL,NULL),(94,'ISK','Iceland Krona',1,'2014-09-23 18:51:19',NULL,NULL),(95,'JMD','Jamaican Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(96,'JOD','Jordanian Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(97,'JPY','Yen',1,'2014-09-23 18:51:19',NULL,NULL),(98,'KES','Kenyan Shilling',1,'2014-09-23 18:51:19',NULL,NULL),(99,'KGS','Som',1,'2014-09-23 18:51:19',NULL,NULL),(100,'KHR','Riel',1,'2014-09-23 18:51:19',NULL,NULL),(101,'KMF','Comoro Franc',1,'2014-09-23 18:51:19',NULL,NULL),(102,'KPW','North Korean Won',1,'2014-09-23 18:51:19',NULL,NULL),(103,'KRW','Won',1,'2014-09-23 18:51:19',NULL,NULL),(104,'KWD','Kuwaiti Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(105,'KYD','Cayman Islands Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(106,'KZT','Tenge',1,'2014-09-23 18:51:19',NULL,NULL),(107,'LAK','Kip',1,'2014-09-23 18:51:19',NULL,NULL),(108,'LBP','Lebanese Pound',1,'2014-09-23 18:51:19',NULL,NULL),(109,'LKR','Sri Lanka Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(110,'LRD','Liberian Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(111,'LSL','Loti',1,'2014-09-23 18:51:19',NULL,NULL),(112,'LTL','Lithuanian Litas',1,'2014-09-23 18:51:19',NULL,NULL),(113,'LYD','Libyan Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(114,'MAD','Moroccan Dirham',1,'2014-09-23 18:51:19',NULL,NULL),(115,'MDL','Moldovan Leu',1,'2014-09-23 18:51:19',NULL,NULL),(116,'MGA','Malagasy Ariary',1,'2014-09-23 18:51:19',NULL,NULL),(117,'MKD','Denar',1,'2014-09-23 18:51:19',NULL,NULL),(118,'MMK','Kyat',1,'2014-09-23 18:51:19',NULL,NULL),(119,'MNT','Tugrik',1,'2014-09-23 18:51:19',NULL,NULL),(120,'MOP','Pataca',1,'2014-09-23 18:51:19',NULL,NULL),(121,'MRO','Ouguiya',1,'2014-09-23 18:51:19',NULL,NULL),(122,'MUR','Mauritius Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(123,'MVR','Rufiyaa',1,'2014-09-23 18:51:19',NULL,NULL),(124,'MWK','Kwacha',1,'2014-09-23 18:51:19',NULL,NULL),(125,'MXN','Mexican Peso',1,'2014-09-23 18:51:19',NULL,NULL),(126,'MXV','Mexican Unidad de Inversion (UDI)',1,'2014-09-23 18:51:19',NULL,NULL),(127,'MYR','Malaysian Ringgit',1,'2014-09-23 18:51:19',NULL,NULL),(128,'MZN','Mozambique Metical',1,'2014-09-23 18:51:19',NULL,NULL),(129,'NAD','Namibia Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(130,'NGN','Naira',1,'2014-09-23 18:51:19',NULL,NULL),(131,'NIO','Cordoba Oro',1,'2014-09-23 18:51:19',NULL,NULL),(132,'NOK','Norwegian Krone',1,'2014-09-23 18:51:19',NULL,NULL),(133,'NPR','Nepalese Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(134,'NZD','New Zealand Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(135,'OMR','Rial Omani',1,'2014-09-23 18:51:19',NULL,NULL),(136,'PAB','Balboa',1,'2014-09-23 18:51:19',NULL,NULL),(137,'PEN','Nuevo Sol',1,'2014-09-23 18:51:19',NULL,NULL),(138,'PGK','Kina',1,'2014-09-23 18:51:19',NULL,NULL),(139,'PHP','Philippine Peso',1,'2014-09-23 18:51:19',NULL,NULL),(140,'PKR','Pakistan Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(141,'PLN','Zloty',1,'2014-09-23 18:51:19',NULL,NULL),(142,'PYG','Guarani',1,'2014-09-23 18:51:19',NULL,NULL),(143,'QAR','Qatari Rial',1,'2014-09-23 18:51:19',NULL,NULL),(144,'RON','New Romanian Leu',1,'2014-09-23 18:51:19',NULL,NULL),(145,'RSD','Serbian Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(146,'RUB','Russian Ruble',1,'2014-09-23 18:51:19',NULL,NULL),(147,'RWF','Rwanda Franc',1,'2014-09-23 18:51:19',NULL,NULL),(148,'SAR','Saudi Riyal',1,'2014-09-23 18:51:19',NULL,NULL),(149,'SBD','Solomon Islands Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(150,'SCR','Seychelles Rupee',1,'2014-09-23 18:51:19',NULL,NULL),(151,'SDG','Sudanese Pound',1,'2014-09-23 18:51:19',NULL,NULL),(152,'SEK','Swedish Krona',1,'2014-09-23 18:51:19',NULL,NULL),(153,'SGD','Singapore Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(154,'SHP','Saint Helena Pound',1,'2014-09-23 18:51:19',NULL,NULL),(155,'SLL','Leone',1,'2014-09-23 18:51:19',NULL,NULL),(156,'SOS','Somali Shilling',1,'2014-09-23 18:51:19',NULL,NULL),(157,'SRD','Surinam Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(158,'SSP','South Sudanese Pound',1,'2014-09-23 18:51:19',NULL,NULL),(159,'STD','Dobra',1,'2014-09-23 18:51:19',NULL,NULL),(160,'SVC','El Salvador Colon',1,'2014-09-23 18:51:19',NULL,NULL),(161,'SYP','Syrian Pound',1,'2014-09-23 18:51:19',NULL,NULL),(162,'SZL','Lilangeni',1,'2014-09-23 18:51:19',NULL,NULL),(163,'THB','Baht',1,'2014-09-23 18:51:19',NULL,NULL),(164,'TJS','Somoni',1,'2014-09-23 18:51:19',NULL,NULL),(165,'TMT','Turkmenistan New Manat',1,'2014-09-23 18:51:19',NULL,NULL),(166,'TND','Tunisian Dinar',1,'2014-09-23 18:51:19',NULL,NULL),(167,'TOP','Pa’anga',1,'2014-09-23 18:51:19',NULL,NULL),(168,'TRY','Turkish Lira',1,'2014-09-23 18:51:19',NULL,NULL),(169,'TTD','Trinidad and Tobago Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(170,'TWD','New Taiwan Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(171,'TZS','Tanzanian Shilling',1,'2014-09-23 18:51:19',NULL,NULL),(172,'UAH','Hryvnia',1,'2014-09-23 18:51:19',NULL,NULL),(173,'UGX','Uganda Shilling',1,'2014-09-23 18:51:19',NULL,NULL),(174,'USD','US Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(175,'USN','US Dollar (Next day)',1,'2014-09-23 18:51:19',NULL,NULL),(176,'UYI','Uruguay Peso en Unidades Indexadas (URUIURUI)',1,'2014-09-23 18:51:19',NULL,NULL),(177,'UYU','Peso Uruguayo',1,'2014-09-23 18:51:19',NULL,NULL),(178,'UZS','Uzbekistan Sum',1,'2014-09-23 18:51:19',NULL,NULL),(179,'VEF','Bolivar',1,'2014-09-23 18:51:19',NULL,NULL),(180,'VND','Dong',1,'2014-09-23 18:51:19',NULL,NULL),(181,'VUV','Vatu',1,'2014-09-23 18:51:19',NULL,NULL),(182,'WST','Tala',1,'2014-09-23 18:51:19',NULL,NULL),(183,'XAF','CFA Franc BEAC',1,'2014-09-23 18:51:19',NULL,NULL),(184,'XAG','Silver',1,'2014-09-23 18:51:19',NULL,NULL),(185,'XAU','Gold',1,'2014-09-23 18:51:19',NULL,NULL),(186,'XBA','Bond Markets Unit European Composite Unit (EURCO)',1,'2014-09-23 18:51:19',NULL,NULL),(187,'XBB','Bond Markets Unit European Monetary Unit (E.M.U.-6)',1,'2014-09-23 18:51:19',NULL,NULL),(188,'XBC','Bond Markets Unit European Unit of Account 9 (E.U.A.-9)',1,'2014-09-23 18:51:19',NULL,NULL),(189,'XBD','Bond Markets Unit European Unit of Account 17 (E.U.A.-17)',1,'2014-09-23 18:51:19',NULL,NULL),(190,'XCD','East Caribbean Dollar',1,'2014-09-23 18:51:19',NULL,NULL),(191,'XDR','SDR (Special Drawing Right)',1,'2014-09-23 18:51:19',NULL,NULL),(192,'XOF','CFA Franc BCEAO',1,'2014-09-23 18:51:19',NULL,NULL),(193,'XPD','Palladium',1,'2014-09-23 18:51:19',NULL,NULL),(194,'XPF','CFP Franc',1,'2014-09-23 18:51:19',NULL,NULL),(195,'XPT','Platinum',1,'2014-09-23 18:51:19',NULL,NULL),(196,'XSU','Sucre',1,'2014-09-23 18:51:19',NULL,NULL),(197,'XTS','Codes specifically reserved for testing purposes',1,'2014-09-23 18:51:19',NULL,NULL),(198,'XUA','ADB Unit of Account',1,'2014-09-23 18:51:19',NULL,NULL),(199,'YER','Yemeni Rial',1,'2014-09-23 18:51:19',NULL,NULL),(200,'ZAR','Rand',1,'2014-09-23 18:51:19',NULL,NULL),(201,'ZMW','Zambian Kwacha',1,'2014-09-23 18:51:19',NULL,NULL),(202,'ZWL','Zimbabwe Dollar',1,'2014-09-23 18:51:19',NULL,NULL);

--
-- Table structure for table `currency_conversion`
--

CREATE TABLE `currency_conversion` (
  `id_currency_conversion` int(11) NOT NULL AUTO_INCREMENT,
  `id_currency_source` int(11) DEFAULT NULL,
  `id_currency_destination` int(11) DEFAULT NULL,
  `nb_currency_conversion` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_currency_conversion`),
  KEY `IDX_5E76A27F12529A94` (`id_currency_source`),
  KEY `IDX_5E76A27F83DEC1AF` (`id_currency_destination`),
  KEY `IDX_5E76A27F536A5873` (`id_user_create_by`),
  KEY `IDX_5E76A27F68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_5E76A27F12529A94` FOREIGN KEY (`id_currency_source`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_5E76A27F536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_5E76A27F68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_5E76A27F83DEC1AF` FOREIGN KEY (`id_currency_destination`) REFERENCES `currency` (`id_currency`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `currency_conversion`
--

INSERT INTO `currency_conversion` VALUES (6,73,174,2,'2014-09-29 00:00:00','2014-10-10 00:00:00',1,2,2,'2014-09-29 00:00:00','2014-09-29 00:00:00',NULL);

--
-- Table structure for table `customer`
--

CREATE TABLE `customer` (
  `id_customer` int(11) NOT NULL AUTO_INCREMENT,
  `id_branch` int(11) DEFAULT NULL,
  `cd_magellan` varchar(15) COLLATE utf8_bin DEFAULT NULL,
  `lb_customer` varchar(100) COLLATE utf8_bin DEFAULT NULL,
  `id_customer_nature` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `lb_web` varchar(100) COLLATE utf8_bin DEFAULT NULL,
  `id_billing_frequency` int(11) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `id_notice_period` int(11) DEFAULT NULL,
  `id_firm_type` int(11) DEFAULT NULL,
  `id_customer_manager` int(11) DEFAULT NULL,
  `comment` text COLLATE utf8_bin,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_account_manager` int(11) DEFAULT NULL,
  `id_access` int(11) DEFAULT NULL,
  `id_activity` int(11) DEFAULT NULL,
  `cd_customer` varchar(100) COLLATE utf8_bin DEFAULT NULL,
  `nb_contract_duration` int(11) DEFAULT NULL,
  `id_customer_group` int(11) DEFAULT NULL,
  `lb_address` varchar(100) COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`id_customer`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_branch` (`id_branch`),
  KEY `id_customer_nature` (`id_customer_nature`),
  KEY `id_frequence` (`id_billing_frequency`),
  KEY `id_currency` (`id_currency`),
  KEY `id_firm_type` (`id_firm_type`),
  KEY `id_customer_manager` (`id_customer_manager`),
  KEY `id_account_manager` (`id_account_manager`),
  KEY `IDX_81398E09205E9EB9` (`id_access`),
  KEY `IDX_81398E09FCAFE5CF` (`id_activity`),
  KEY `IDX_81398E099E938CF8` (`id_customer_group`),
  KEY `IDX_81398E0920848936` (`id_notice_period`),
  CONSTRAINT `FK_81398E0920848936` FOREIGN KEY (`id_notice_period`) REFERENCES `notice_period` (`id_notice_period`),
  CONSTRAINT `customer_ibfk_28` FOREIGN KEY (`id_billing_frequency`) REFERENCES `billing_frequency` (`id_billing_frequency`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `FK_81398E09205E9EB9` FOREIGN KEY (`id_access`) REFERENCES `access` (`id_access`),
  CONSTRAINT `FK_81398E09398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_81398E09536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_81398E09573D4D6` FOREIGN KEY (`id_customer_manager`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_81398E095EA5E69E` FOREIGN KEY (`id_firm_type`) REFERENCES `firm_type` (`id_firm_type`),
  CONSTRAINT `FK_81398E0968E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_81398E099DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_81398E099E938CF8` FOREIGN KEY (`id_customer_group`) REFERENCES `customer_group` (`id_customer_group`),
  CONSTRAINT `FK_81398E09DA51F279` FOREIGN KEY (`id_account_manager`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_81398E09E9439D7E` FOREIGN KEY (`id_customer_nature`) REFERENCES `customer_nature` (`id_customer_nature`),
  CONSTRAINT `FK_81398E09FCAFE5CF` FOREIGN KEY (`id_activity`) REFERENCES `activity` (`id_activity`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Definition of customer';

--
-- Dumping data for table `customer`
--


--
-- Table structure for table `customer_activity`
--

CREATE TABLE `customer_activity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_activity` int(11) DEFAULT NULL,
  `id_customer` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id_activity` (`id_activity`),
  KEY `customer` (`id_customer`),
  CONSTRAINT `FK_80B14A75D1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`),
  CONSTRAINT `FK_80B14A75FCAFE5CF` FOREIGN KEY (`id_activity`) REFERENCES `activity` (`id_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_activity`
--


--
-- Table structure for table `customer_address`
--

CREATE TABLE `customer_address` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `id_customer` int(11) DEFAULT NULL,
  `id_address` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id_customer` (`id_customer`),
  KEY `id_address` (`id_address`),
  CONSTRAINT `FK_1193CB3FD1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`),
  CONSTRAINT `FK_1193CB3FD3D3C6F1` FOREIGN KEY (`id_address`) REFERENCES `address` (`id_address`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_address`
--


--
-- Table structure for table `customer_group`
--

CREATE TABLE `customer_group` (
  `id_customer_group` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_customer_group` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_customer_group` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_continent_group` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_customer_group`),
  KEY `IDX_A3F531FE536A5873` (`id_user_create_by`),
  KEY `IDX_A3F531FE68E26F41` (`id_user_update_by`),
  KEY `IDX_A3F531FE1DE1AF91` (`id_continent_group`),
  CONSTRAINT `FK_A3F531FE1DE1AF91` FOREIGN KEY (`id_continent_group`) REFERENCES `continent_group` (`id_continent_group`),
  CONSTRAINT `FK_A3F531FE536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A3F531FE68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `customer_group`
--

INSERT INTO `customer_group` VALUES (6,2,2,'FRA-SOCGEN','SOCIETE GENERALE FRANCE',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL,1),(7,2,2,'GBR-SOCGEN','SOCIETE GENERALE UK',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL,1),(8,2,2,'ESP-SOCGEN','SOCIETE GENERALE SPAIN',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL,1),(9,2,2,'USA-SOCGEN','SOCIETE GENERALE USA',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL,3),(10,2,2,'CAN-SOCGEN','SOCIETE GENERALE CANADA',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL,3);

--
-- Table structure for table `customer_magellan`
--

CREATE TABLE `customer_magellan` (
  `id_customer_magellan` int(11) NOT NULL AUTO_INCREMENT,
  `id_customer_gina` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `bl_load` tinyint(1) DEFAULT NULL,
  `bl_fact` tinyint(1) DEFAULT NULL,
  `cd_account_magellan` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id_customer_magellan`),
  KEY `id_customer_gina` (`id_customer_gina`),
  KEY `id_branch` (`id_branch`),
  CONSTRAINT `FK_8D3AC5E49DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_8D3AC5E4EBC182FC` FOREIGN KEY (`id_customer_gina`) REFERENCES `customer` (`id_customer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_magellan`
--


--
-- Table structure for table `customer_nature`
--

CREATE TABLE `customer_nature` (
  `id_customer_nature` int(11) NOT NULL AUTO_INCREMENT,
  `cd_customer_nature` varchar(15) DEFAULT NULL,
  `lb_customer_nature` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_customer_nature`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_1D5EF6536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_1D5EF668E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_nature`
--


--
-- Table structure for table `customer_type`
--

CREATE TABLE `customer_type` (
  `id_customer_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_customer_type` varchar(15) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `lb_customer_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_customer_type`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_D84FF35E536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_D84FF35E68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `customer_type`
--


--
-- Table structure for table `domain`
--

CREATE TABLE `domain` (
  `id_domain` int(11) NOT NULL AUTO_INCREMENT,
  `cd_domain` varchar(15) NOT NULL,
  `lb_domain` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_domain`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `domain`
--


--
-- Table structure for table `equipment`
--

CREATE TABLE `equipment` (
  `id_equipment` int(11) NOT NULL AUTO_INCREMENT,
  `cd_equipment` varchar(15) NOT NULL,
  `lb_equipment` varchar(100) NOT NULL,
  `cm_equipment` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `nb_cards` int(11) DEFAULT NULL,
  `url_image` varchar(100) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `bl_has_slot` tinyint(1) DEFAULT NULL,
  `bl_card_horizontal` tinyint(1) DEFAULT NULL,
  `bl_model` tinyint(1) DEFAULT NULL,
  `id_provider_address` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `id_cabinet` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `nb_units` int(11) DEFAULT NULL,
  `nb_slots` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_equipment`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `IDX_D338D5831E9C98F7` (`id_provider_address`),
  KEY `IDX_D338D58392FF4F48` (`id_contact`),
  KEY `IDX_D338D583C21F9F09` (`id_provider`),
  KEY `IDX_D338D5839270ACC0` (`id_cabinet`),
  KEY `IDX_D338D583241EF16C` (`id_complex_model`),
  CONSTRAINT `FK_D338D5831E9C98F7` FOREIGN KEY (`id_provider_address`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_D338D583241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_D338D583536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_D338D58368E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_D338D5839270ACC0` FOREIGN KEY (`id_cabinet`) REFERENCES `cabinet` (`id_cabinet`),
  CONSTRAINT `FK_D338D58392FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_D338D583C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB AUTO_INCREMENT=507 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `equipment`
--

INSERT INTO `equipment` VALUES (505,'MRV-OS912','MRV-OS912',NULL,1,2,2,1,NULL,NULL,0,1,1,27,19,NULL,19,1,NULL,'2014-10-21 11:22:51','2014-10-21 11:22:51',34),(506,'7750 SR-7 CHASS','7750 SR-7 CHASSIS',NULL,1,2,2,5,NULL,NULL,1,1,1,27,19,NULL,19,8,5,'2014-10-24 00:00:00','2014-10-24 00:00:00',36);

--
-- Table structure for table `equipment_category`
--

CREATE TABLE `equipment_category` (
  `id_equipment_category` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_equipment_category` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_equipment_category` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_equipment_category`),
  KEY `IDX_B65A862F536A5873` (`id_user_create_by`),
  KEY `IDX_B65A862F68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_368F9DE7536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_368F9DE768E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `equipment_category`
--


--
-- Table structure for table `equipment_instance`
--

CREATE TABLE `equipment_instance` (
  `id_equipment_instance` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_cabinet_instance` int(11) DEFAULT NULL,
  `cd_equipment_instance` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_equipment_instance` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cm_equipment_instance` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_serial_number` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_provider_address` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `cd_provider_account` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_equipment_instance`),
  KEY `IDX_72F335F8536A5873` (`id_user_create_by`),
  KEY `IDX_72F335F868E26F41` (`id_user_update_by`),
  KEY `IDX_72F335F895136256` (`id_cabinet_instance`),
  KEY `IDX_72F335F8530D69A4` (`id_equipment`),
  KEY `IDX_72F335F8241EF16C` (`id_complex_model`),
  KEY `IDX_72F335F8C21F9F09` (`id_provider`),
  KEY `IDX_72F335F81E9C98F7` (`id_provider_address`),
  KEY `IDX_72F335F892FF4F48` (`id_contact`),
  CONSTRAINT `FK_72F335F81E9C98F7` FOREIGN KEY (`id_provider_address`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_72F335F8241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_72F335F8530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_72F335F8536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_72F335F868E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_72F335F892FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_72F335F895136256` FOREIGN KEY (`id_cabinet_instance`) REFERENCES `cabinet_instance` (`id_cabinet_instance`),
  CONSTRAINT `FK_72F335F8C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `equipment_instance`
--

INSERT INTO `equipment_instance` VALUES (60,2,2,33,'CEPARBNP115068','BNP Italiens',NULL,NULL,'2014-10-24 12:12:48','2014-10-24 12:12:48',1,NULL,NULL,34,19,27,19,NULL),(61,2,2,35,'PPPARAUB110','PPPARAUB110',NULL,NULL,'2014-11-10 12:48:55','2014-11-10 12:48:55',1,NULL,NULL,36,23,34,20,NULL);

--
-- Table structure for table `equipment_model`
--

CREATE TABLE `equipment_model` (
  `id_equipment_model` int(11) NOT NULL AUTO_INCREMENT,
  `cd_equipment_model` varchar(15) DEFAULT NULL,
  `lb_equipment_model` varchar(100) DEFAULT NULL,
  `url_image` varchar(100) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `bl_complex` tinyint(1) DEFAULT NULL,
  `one_off_cost` decimal(10,0) DEFAULT NULL,
  `rec_off_cost` decimal(10,0) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_equipment_model`),
  KEY `idx_user_create_by` (`id_user_create_by`),
  KEY `idx_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_3ECC533D536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3ECC533D68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `equipment_model`
--


--
-- Table structure for table `equipment_model_caracs`
--

CREATE TABLE `equipment_model_caracs` (
  `id_equipment_model_caracs` int(11) NOT NULL AUTO_INCREMENT,
  `id_equipment_model` int(11) DEFAULT NULL,
  `id_equipment_type_caracs` int(11) DEFAULT NULL,
  `valeur` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id_equipment_model_caracs`),
  KEY `id_equipement_model` (`id_equipment_model`),
  KEY `id_equipement_type_caracs` (`id_equipment_type_caracs`),
  CONSTRAINT `kid_equipement_model` FOREIGN KEY (`id_equipment_model`) REFERENCES `equipment_model` (`id_equipment_model`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_equipement_type_caracs` FOREIGN KEY (`id_equipment_type_caracs`) REFERENCES `equipment_type_caracs` (`id_equipement_type_caracs`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `equipment_model_caracs`
--


--
-- Table structure for table `equipment_model_children`
--

CREATE TABLE `equipment_model_children` (
  `id_equipment_model_children` int(11) NOT NULL AUTO_INCREMENT,
  `id_equipment_model` int(11) DEFAULT NULL,
  `id_equipment_model_child` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_equipment_model_children`),
  KEY `id_equipement_model` (`id_equipment_model`),
  KEY `id_equipement_model_chilld` (`id_equipment_model_child`),
  CONSTRAINT `kid_equ_model` FOREIGN KEY (`id_equipment_model`) REFERENCES `equipment_model` (`id_equipment_model`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_equ_model_child` FOREIGN KEY (`id_equipment_model_child`) REFERENCES `equipment_model` (`id_equipment_model`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `equipment_model_children`
--


--
-- Table structure for table `equipment_type_caracs`
--

CREATE TABLE `equipment_type_caracs` (
  `id_equipement_type_caracs` int(11) NOT NULL AUTO_INCREMENT,
  `id_equipment_category` int(11) DEFAULT NULL,
  `lb_carac` varchar(255) NOT NULL,
  `id_widget_type` int(11) DEFAULT NULL,
  `value1` varchar(255) DEFAULT NULL,
  `value2` varchar(255) DEFAULT NULL,
  `bl_mandatory` int(11) NOT NULL,
  `position` int(11) NOT NULL,
  PRIMARY KEY (`id_equipement_type_caracs`),
  KEY `idx_widget_type` (`id_widget_type`),
  KEY `IDX_D69ACC57B5AD2F48` (`id_equipment_category`),
  CONSTRAINT `equip_caracs_ibfk_2` FOREIGN KEY (`id_widget_type`) REFERENCES `widget_type` (`id_widget_type`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `FK_D69ACC57B5AD2F48` FOREIGN KEY (`id_equipment_category`) REFERENCES `equipment_category` (`id_equipment_category`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `equipment_type_caracs`
--


--
-- Table structure for table `esatp_cost`
--

CREATE TABLE `esatp_cost` (
  `id_esatp_cost` int(11) NOT NULL AUTO_INCREMENT,
  `id_product` int(11) DEFAULT NULL,
  `id_commercial_route` int(11) DEFAULT NULL,
  `id_bandwidth` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `mt_monthly` decimal(10,0) DEFAULT NULL,
  `mt_install` decimal(10,0) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_esatp_cost`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_product` (`id_product`),
  KEY `id_commercial_route` (`id_commercial_route`),
  KEY `id_bandwidth` (`id_bandwidth`),
  CONSTRAINT `FK_910F1274536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_910F127468E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_910F1274A3C6948` FOREIGN KEY (`id_bandwidth`) REFERENCES `bandwidth` (`id_bandwidth`),
  CONSTRAINT `FK_910F1274CE307789` FOREIGN KEY (`id_commercial_route`) REFERENCES `commercial_route` (`id_commercial_route`),
  CONSTRAINT `FK_910F1274DD7ADDD` FOREIGN KEY (`id_product`) REFERENCES `product` (`id_product`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `esatp_cost`
--


--
-- Table structure for table `event`
--

CREATE TABLE `event` (
  `id_event` int(11) NOT NULL AUTO_INCREMENT,
  `id_event_type` int(11) DEFAULT NULL,
  `id_object_type_parent` int(11) DEFAULT NULL,
  `id_object_parent` int(11) DEFAULT NULL,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `dt_order` datetime DEFAULT NULL,
  `dt_delivery` datetime DEFAULT NULL,
  `dt_delivery_requested` datetime DEFAULT NULL,
  `dt_due` datetime DEFAULT NULL,
  `dt_planned` datetime DEFAULT NULL,
  `dt_acceptance_sent` datetime DEFAULT NULL,
  `dt_acceptance_received` datetime DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  PRIMARY KEY (`id_event`),
  KEY `id_event_type` (`id_event_type`),
  KEY `id_object_type_parent` (`id_object_type_parent`),
  KEY `id_object_type` (`id_object_type`),
  CONSTRAINT `FK_3BAE0AA7369F9B55` FOREIGN KEY (`id_event_type`) REFERENCES `event_type` (`id_event_type`),
  CONSTRAINT `FK_3BAE0AA75FDFD9D6` FOREIGN KEY (`id_object_type_parent`) REFERENCES `object_type` (`id_object_type`),
  CONSTRAINT `FK_3BAE0AA79D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `event`
--


--
-- Table structure for table `event_type`
--

CREATE TABLE `event_type` (
  `id_event_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_event_type` varchar(50) DEFAULT NULL,
  `lb_event_type` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_event_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `event_type`
--


--
-- Table structure for table `firm_type`
--

CREATE TABLE `firm_type` (
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_firm_type` varchar(15) NOT NULL,
  `lb_firm_type` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_firm_type` int(11) NOT NULL AUTO_INCREMENT,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_firm_type`),
  KEY `IDX_DE905AB9536A5873` (`id_user_create_by`),
  KEY `IDX_DE905AB968E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_DE905AB9536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_DE905AB968E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `firm_type`
--


--
-- Table structure for table `floor`
--

CREATE TABLE `floor` (
  `id_floor` int(11) NOT NULL AUTO_INCREMENT,
  `cd_floor` varchar(15) DEFAULT NULL,
  `lb_floor` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_floor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `floor`
--


--
-- Table structure for table `functionality`
--

CREATE TABLE `functionality` (
  `id_functionality` int(11) NOT NULL AUTO_INCREMENT,
  `id_domain` int(11) DEFAULT NULL,
  `cd_functionality` varchar(15) NOT NULL,
  `lb_functionality` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_functionality`),
  KEY `id_domain` (`id_domain`),
  CONSTRAINT `FK_F83C5F44819EABE6` FOREIGN KEY (`id_domain`) REFERENCES `domain` (`id_domain`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `functionality`
--


--
-- Table structure for table `gina_param`
--

CREATE TABLE `gina_param` (
  `id_gina_param` int(11) NOT NULL AUTO_INCREMENT,
  `cd_gina_param` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_gina_param` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `nb_param` decimal(10,0) DEFAULT NULL,
  `lb_param` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_param` datetime DEFAULT NULL,
  PRIMARY KEY (`id_gina_param`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `gina_param`
--


--
-- Table structure for table `history`
--

CREATE TABLE `history` (
  `id_history` int(11) NOT NULL AUTO_INCREMENT,
  `id_history_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `id_user` int(11) DEFAULT NULL,
  `lb_component` varchar(255) DEFAULT NULL,
  `dt_effect` datetime DEFAULT NULL,
  `lb_entity` varchar(255) DEFAULT NULL,
  `id_sec_object` int(11) DEFAULT NULL,
  `lb_sec_entity` varchar(255) DEFAULT NULL,
  `lb_name` varchar(1000) DEFAULT NULL,
  PRIMARY KEY (`id_history`),
  KEY `id_history_type` (`id_history_type`),
  KEY `id_user` (`id_user`),
  CONSTRAINT `FK_27BA704B6B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_27BA704BA42A5227` FOREIGN KEY (`id_history_type`) REFERENCES `history_type` (`id_history_type`)
) ENGINE=InnoDB AUTO_INCREMENT=19158 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `history`
--

INSERT INTO `history` VALUES (18110,1,26,2,' ','2014-09-19 18:02:55','Myuser',NULL,NULL,NULL),(18111,1,27,2,' ','2014-09-19 18:03:36','Myuser',NULL,NULL,NULL),(18112,1,28,2,' ','2014-09-19 18:03:52','Myuser',NULL,NULL,NULL),(18113,1,36,2,'France','2014-09-23 16:42:49','Country',NULL,NULL,NULL),(18114,2,219,2,'France','2014-09-23 16:56:03','Country',NULL,NULL,NULL),(18115,1,13,2,'an unmarried or young woman','2014-09-23 17:01:09','Civility',NULL,NULL,NULL),(18116,1,14,2,'a married woman','2014-09-23 17:02:12','Civility',NULL,NULL,NULL),(18117,1,15,2,'a man','2014-09-23 17:02:33','Civility',NULL,NULL,NULL),(18118,1,531,2,'Paris','2014-09-23 17:06:02','City',NULL,NULL,NULL),(18119,1,532,2,'Londres','2014-09-23 17:08:08','City',NULL,NULL,NULL),(18120,1,25,2,'USA Dollar','2014-09-23 18:43:49','Currency',NULL,NULL,NULL),(18121,1,9,2,'Cluster Asia-Pacific','2014-09-23 18:55:35','BranchCluster',NULL,NULL,NULL),(18122,1,22,2,'ETRALI Sydney Office','2014-09-23 19:13:22','Branch',NULL,NULL,NULL),(18123,1,8,2,'FRA-PARFRA-PAR','2014-09-29 15:32:17','CommercialRoute',NULL,NULL,NULL),(18124,2,8,2,'FRA-PARFRA-PAR','2014-09-29 15:32:22','CommercialRoute',NULL,NULL,NULL),(18125,1,9,2,'FRA-PARGBR-LON','2014-09-29 15:32:44','CommercialRoute',NULL,NULL,NULL),(18126,1,10,2,'FRA-PARBEL-BRU','2014-09-29 15:33:07','CommercialRoute',NULL,NULL,NULL),(18127,2,10,2,'FRA-PARBEL-BRU','2014-09-29 15:33:11','CommercialRoute',NULL,NULL,NULL),(18128,1,11,2,'FRA-PARCHE-ZRH','2014-09-29 15:33:47','CommercialRoute',NULL,NULL,NULL),(18129,1,12,2,'FRA-PARIRL-DUB','2014-09-29 15:34:22','CommercialRoute',NULL,NULL,NULL),(18130,1,13,2,'FRA-PARJPN-TYO','2014-09-29 15:37:42','CommercialRoute',NULL,NULL,NULL),(18131,1,14,2,'FRA-PARLUX-LUX','2014-09-29 15:38:10','CommercialRoute',NULL,NULL,NULL),(18132,1,15,2,'FRA-PARNLD-AMS','2014-09-29 15:38:37','CommercialRoute',NULL,NULL,NULL),(18133,1,16,2,'FRA-PARUSA-NYC','2014-09-29 15:40:23','CommercialRoute',NULL,NULL,NULL),(18134,1,17,2,'HKG-HKGJPN-TYO','2014-09-29 15:42:03','CommercialRoute',NULL,NULL,NULL),(18135,1,18,2,'LUX-LUXNLD-AMS','2014-09-29 15:42:30','CommercialRoute',NULL,NULL,NULL),(18136,1,19,2,'GBR-LONCAN-YMQ','2014-09-29 15:43:04','CommercialRoute',NULL,NULL,NULL),(18137,1,20,2,'GBR-LONFRA-PAR','2014-09-29 15:43:23','CommercialRoute',NULL,NULL,NULL),(18138,1,21,2,'BEL-BRUFRA-PAR','2014-09-29 15:43:48','CommercialRoute',NULL,NULL,NULL),(18139,1,22,2,'AUS-MELGBR-LON','2014-09-29 15:44:15','CommercialRoute',NULL,NULL,NULL),(18140,1,23,2,'GBR-LONCHN-SHA','2014-09-29 15:44:45','CommercialRoute',NULL,NULL,NULL),(18141,1,24,2,'CHE-ZRHDEU-FRA','2014-09-29 15:45:09','CommercialRoute',NULL,NULL,NULL),(18142,1,25,2,'CHE-GVACHE-ZRH','2014-09-29 15:45:29','CommercialRoute',NULL,NULL,NULL),(18143,1,26,2,'CHE-GVACHE-GVA','2014-09-29 15:45:48','CommercialRoute',NULL,NULL,NULL),(18144,1,27,2,'CHE-ZRHCHE-ZRH','2014-09-29 15:46:05','CommercialRoute',NULL,NULL,NULL),(18145,1,28,2,'DEU-FRADEU-FRA','2014-09-29 15:46:27','CommercialRoute',NULL,NULL,NULL),(18146,1,29,2,'DEU-MUCDEU-MUC','2014-09-29 15:46:50','CommercialRoute',NULL,NULL,NULL),(18147,1,30,2,'DEU-FRADEU-MUC','2014-09-29 15:47:11','CommercialRoute',NULL,NULL,NULL),(18148,1,31,2,'GBR-LONGBR-LON','2014-09-29 15:47:43','CommercialRoute',NULL,NULL,NULL),(18149,1,32,2,'AUS-SYDAUS-SYD','2014-09-29 15:48:03','CommercialRoute',NULL,NULL,NULL),(18150,1,33,2,'BEL-BRUBEL-BRU','2014-09-29 15:48:58','CommercialRoute',NULL,NULL,NULL),(18151,1,34,2,'ARE-DBXARE-DBX','2014-09-29 15:49:17','CommercialRoute',NULL,NULL,NULL),(18152,1,35,2,'JPN-TYONLD-AMS','2014-09-29 15:49:46','CommercialRoute',NULL,NULL,NULL),(18153,1,36,2,'GBR-JERGBR-JER','2014-09-29 15:50:06','CommercialRoute',NULL,NULL,NULL),(18154,1,37,2,'HKG-HKGHKG-HKG','2014-09-29 15:50:28','CommercialRoute',NULL,NULL,NULL),(18155,1,38,2,'IRL-DUBIRL-DUB','2014-09-29 15:50:50','CommercialRoute',NULL,NULL,NULL),(18156,1,39,2,'SGP-SINSWE-STO','2014-09-29 15:51:19','CommercialRoute',NULL,NULL,NULL),(18157,1,40,2,'SGP-SINSGP-SIN','2014-09-29 15:51:37','CommercialRoute',NULL,NULL,NULL),(18158,1,41,2,'USA-NYCUSA-NYC','2014-09-29 15:51:57','CommercialRoute',NULL,NULL,NULL),(18159,1,42,2,'USA-CHIUSA-BOS','2014-09-29 15:52:16','CommercialRoute',NULL,NULL,NULL),(18160,1,43,2,'USA-WASSGP-SIN','2014-09-29 15:52:38','CommercialRoute',NULL,NULL,NULL),(18161,1,44,2,'USA-NYCLUX-LUX','2014-09-29 15:53:13','CommercialRoute',NULL,NULL,NULL),(18162,1,45,2,'USA-CHIDEU-FRA','2014-09-29 15:53:54','CommercialRoute',NULL,NULL,NULL),(18163,1,46,2,'USA-NYCFRA-PAR','2014-09-29 15:54:20','CommercialRoute',NULL,NULL,NULL),(18164,1,47,2,'GBR-LONSGP-SIN','2014-09-29 15:54:51','CommercialRoute',NULL,NULL,NULL),(18165,1,48,2,'JPN-TYOBEL-BRU','2014-09-29 15:55:21','CommercialRoute',NULL,NULL,NULL),(18166,1,49,2,'USA-CHIAUS-SYD','2014-09-29 15:55:51','CommercialRoute',NULL,NULL,NULL),(18167,2,532,2,'London','2014-09-29 15:56:12','City',NULL,NULL,NULL),(18168,2,536,2,'Brussels','2014-09-29 15:56:29','City',NULL,NULL,NULL),(18169,2,539,2,'Montreal','2014-09-29 15:56:40','City',NULL,NULL,NULL),(18170,2,542,2,'Geneva','2014-09-29 15:56:57','City',NULL,NULL,NULL),(18171,2,544,2,'Pekin','2014-09-29 15:57:08','City',NULL,NULL,NULL),(18172,2,547,2,'Caiman Island','2014-09-29 15:57:36','City',NULL,NULL,NULL),(18173,2,548,2,'Francfurt','2014-09-29 15:57:47','City',NULL,NULL,NULL),(18174,2,548,2,'Frankfurt','2014-09-29 15:57:58','City',NULL,NULL,NULL),(18175,2,549,2,'Munchen','2014-09-29 15:58:10','City',NULL,NULL,NULL),(18176,2,550,2,'Edimbourg','2014-09-29 15:58:20','City',NULL,NULL,NULL),(18177,2,558,2,'Seoul','2014-09-29 15:59:06','City',NULL,NULL,NULL),(18178,2,559,2,'Luxemburg','2014-09-29 15:59:18','City',NULL,NULL,NULL),(18179,2,562,2,'Singapore','2014-09-29 16:01:04','City',NULL,NULL,NULL),(18180,2,42,2,'Austria','2014-09-29 16:01:47','Country',NULL,NULL,NULL),(18181,2,40,2,'Armenia','2014-09-29 16:02:23','Country',NULL,NULL,NULL),(18182,2,43,2,'Belgium','2014-09-29 16:06:49','Country',NULL,NULL,NULL),(18183,2,50,2,'Switzerland','2014-09-29 16:07:16','Country',NULL,NULL,NULL),(18184,2,55,2,'Czech Republic','2014-09-29 16:07:31','Country',NULL,NULL,NULL),(18185,2,57,2,'Algeria','2014-09-29 16:07:45','Country',NULL,NULL,NULL),(18186,2,59,2,'Estonia','2014-09-29 16:07:55','Country',NULL,NULL,NULL),(18187,2,65,2,'Greece','2014-09-29 16:08:05','Country',NULL,NULL,NULL),(18188,2,62,2,'Great Britain','2014-09-29 16:08:20','Country',NULL,NULL,NULL),(18189,2,64,2,'Gambia','2014-09-29 16:10:16','Country',NULL,NULL,NULL),(18190,2,72,2,'Italy','2014-09-29 16:10:31','Country',NULL,NULL,NULL),(18191,2,73,2,'Japan','2014-09-29 16:10:39','Country',NULL,NULL,NULL),(18192,2,79,2,'Luxemburg','2014-09-29 16:10:54','Country',NULL,NULL,NULL),(18193,2,80,2,'Morocco','2014-09-29 16:11:09','Country',NULL,NULL,NULL),(18194,2,83,2,'Malta','2014-09-29 16:11:17','Country',NULL,NULL,NULL),(18195,2,87,2,'Namibia','2014-09-29 16:12:27','Country',NULL,NULL,NULL),(18196,2,246,2,'Nigeria','2014-09-29 16:13:12','Country',NULL,NULL,NULL),(18197,2,8,2,'FRA-PARFRA-PAR','2014-09-29 16:19:20','CommercialRoute',NULL,NULL,NULL),(18198,2,9,2,'FRA-PARGBR-LON','2014-09-29 16:19:30','CommercialRoute',NULL,NULL,NULL),(18199,2,10,2,'FRA-PARBEL-BRU','2014-09-29 16:19:39','CommercialRoute',NULL,NULL,NULL),(18200,2,30,2,'Kwanza','2014-09-29 16:21:11','Currency',NULL,NULL,NULL),(18201,1,23,2,'ETRALI FRANCE','2014-09-29 16:39:47','Branch',NULL,NULL,NULL),(18202,1,24,2,'ETRALI London Office','2014-09-29 16:49:54','Branch',NULL,NULL,NULL),(18203,1,571,2,'Milano','2014-09-29 17:00:26','City',NULL,NULL,NULL),(18204,1,25,2,'ETRALI Milano Office','2014-09-29 17:02:22','Branch',NULL,NULL,NULL),(18205,1,6,2,'Euro=>US Dollar : 1.27034','2014-09-29 17:10:10','CurrencyConversion',NULL,NULL,NULL),(18206,2,6,2,'Euro=>US Dollar : 1.27034','2014-09-29 17:10:52','CurrencyConversion',NULL,NULL,NULL),(18207,1,6,2,'90 Days','2014-09-29 17:15:27','NoticePeriod',NULL,NULL,NULL),(18208,2,6,2,'90 Days','2014-09-29 17:15:30','NoticePeriod',NULL,NULL,NULL),(18209,1,7,2,'45 days','2014-09-29 17:15:44','NoticePeriod',NULL,NULL,NULL),(18210,2,7,2,'45 days','2014-09-29 17:15:47','NoticePeriod',NULL,NULL,NULL),(18211,1,8,2,'30 days','2014-09-29 17:15:56','NoticePeriod',NULL,NULL,NULL),(18212,1,9,2,'60 days','2014-09-29 17:16:17','NoticePeriod',NULL,NULL,NULL),(18213,2,9,2,'60 days','2014-09-29 17:16:21','NoticePeriod',NULL,NULL,NULL),(18214,1,10,2,'180 days','2014-09-29 17:16:32','NoticePeriod',NULL,NULL,NULL),(18215,2,10,2,'180 days','2014-09-29 17:16:34','NoticePeriod',NULL,NULL,NULL),(18216,1,11,2,'365 days','2014-09-29 17:16:45','NoticePeriod',NULL,NULL,NULL),(18217,1,5,2,'GBR-LONLUX-LUX','2014-09-29 17:35:14','Route',NULL,NULL,NULL),(18218,2,5,2,'GBR-LONLUX-LUX','2014-09-29 17:35:19','Route',NULL,NULL,NULL),(18219,1,6,2,'GBR-LONFRA-PAR','2014-09-29 17:36:29','Route',NULL,NULL,NULL),(18220,1,7,2,'GBR-LONSGP-SIN','2014-09-29 17:37:08','Route',NULL,NULL,NULL),(18221,1,8,2,'LUX-LUXNLD-AMS','2014-09-29 17:38:57','Route',NULL,NULL,NULL),(18222,1,9,2,'HKG-HKGHKG-HKG','2014-09-29 17:39:38','Route',NULL,NULL,NULL),(18223,1,572,2,'TEST KD','2014-09-29 18:34:55','City',NULL,NULL,NULL),(18224,2,6,2,'Euro=>US Dollar : 1.32','2014-10-01 18:14:49','CurrencyConversion',NULL,NULL,NULL),(18225,2,6,2,'Euro=>US Dollar : 1.32123','2014-10-01 18:34:53','CurrencyConversion',NULL,NULL,NULL),(18226,2,6,2,'Euro=>US Dollar : 1.75123','2014-10-01 18:36:22','CurrencyConversion',NULL,NULL,NULL),(18227,2,16,2,'15 Mbit/s','2014-10-02 15:05:20','BandwidthAssignee',NULL,NULL,NULL),(18228,2,16,2,'[NVA] Netrecova','2014-10-02 15:05:20','BandwidthAssignee',5,'Product',NULL),(18229,2,16,2,'15 Mbit/s','2014-10-02 15:05:55','BandwidthAssignee',NULL,NULL,NULL),(18230,2,16,2,'[NVA] Netrecova','2014-10-02 15:05:55','BandwidthAssignee',5,'Product',NULL),(18231,2,16,2,'[TD] Trade data','2014-10-02 15:05:55','BandwidthAssignee',3,'Product',NULL),(18232,2,16,2,'15 Mbit/s','2014-10-02 15:06:12','BandwidthAssignee',NULL,NULL,NULL),(18233,2,16,2,'[TD] Trade data','2014-10-02 15:06:12','BandwidthAssignee',3,'Product',NULL),(18234,2,16,2,'[NVA] Netrecova','2014-10-02 15:06:12','BandwidthAssignee',5,'Product',NULL),(18235,2,16,2,'[TVC] Trade voice city','2014-10-02 15:06:12','BandwidthAssignee',1,'Product',NULL),(18236,2,16,2,'15 Mbit/s','2014-10-02 15:06:29','BandwidthAssignee',NULL,NULL,NULL),(18237,2,16,2,'[TVC] Trade voice city','2014-10-02 15:06:29','BandwidthAssignee',1,'Product',NULL),(18238,2,16,2,'[TD] Trade data','2014-10-02 15:06:29','BandwidthAssignee',3,'Product',NULL),(18239,2,16,2,'[NVA] Netrecova','2014-10-02 15:06:29','BandwidthAssignee',5,'Product',NULL),(18240,2,16,2,'[TVI] Trade voice intercity','2014-10-02 15:06:29','BandwidthAssignee',2,'Product',NULL),(18241,1,74,2,'','2014-10-02 18:14:47','Service',NULL,NULL,NULL),(18242,1,75,2,'','2014-10-02 18:25:15','Service',NULL,NULL,NULL),(18243,1,5,2,'PORTTYPE','2014-10-02 18:40:20','PortType',NULL,NULL,NULL),(18244,1,22,2,'Carrier','2014-10-21 10:53:11','CompanyType',NULL,NULL,NULL),(18245,1,34,2,'MRV-OS 912','2014-10-21 11:07:15','ComplexModel',NULL,NULL,NULL),(18246,2,34,2,'MRV-OS 912','2014-10-21 11:07:43','ComplexModel',NULL,NULL,NULL),(18247,1,23,2,'Vendor/Equipement provider','2014-10-21 11:12:01','CompanyType',NULL,NULL,NULL),(18248,1,19,2,'ELEXO : ELEXO','2014-10-21 11:12:45','Provider',NULL,NULL,NULL),(18249,1,27,2,'rue de Paris 92000 Paris','2014-10-21 11:14:34','AddressProvider',NULL,NULL,NULL),(18250,1,19,2,'Grégoire Barbeau','2014-10-21 11:19:42','ContactProvider',NULL,NULL,NULL),(18251,1,505,2,'MRV-OS912','2014-10-21 11:22:50','Equipment',NULL,NULL,NULL),(18252,1,170,2,'MRV-OS912','2014-10-21 11:25:41','Card',NULL,NULL,NULL),(18253,1,6,2,'ETHERNET','2014-10-21 11:33:29','PortType',NULL,NULL,NULL),(18254,1,7,2,'STM1','2014-10-21 11:35:14','PortType',NULL,NULL,NULL),(18255,1,21,2,'1 Gbit/s','2014-10-21 11:37:11','BandwidthAssignee',NULL,NULL,NULL),(18256,1,22,2,'100 Mbit/s','2014-10-21 11:56:00','BandwidthAssignee',NULL,NULL,NULL),(18257,2,6,2,'ETHERNET','2014-10-21 11:57:42','PortType',NULL,NULL,NULL),(18258,2,6,2,'ETHERNET','2014-10-21 12:00:45','PortType',NULL,NULL,NULL),(18259,1,31,2,'Copper','2014-10-21 12:01:16','PortSubType',NULL,NULL,NULL),(18260,1,32,2,'Optical connection','2014-10-21 12:01:45','PortSubType',NULL,NULL,NULL),(18261,2,32,2,'Optical fiber connection','2014-10-21 12:04:13','PortSubType',NULL,NULL,NULL),(18262,1,33,2,'Mixte Port (Optical or Copper)','2014-10-21 12:06:57','PortSubType',NULL,NULL,NULL),(18263,1,257,2,'PORT 1','2014-10-21 12:09:08','Port',NULL,NULL,NULL),(18264,1,258,2,'PORT 4','2014-10-21 12:10:22','Port',NULL,NULL,NULL),(18265,2,258,2,'PORT 1','2014-10-21 12:20:59','Port',NULL,NULL,NULL),(18266,1,171,2,'Cuckoo','2014-10-21 12:25:10','Card',NULL,NULL,NULL),(18267,1,260,2,'PORT 3','2014-10-21 12:34:26','Port',NULL,NULL,NULL),(18268,1,262,2,'PORT ETHERNET','2014-10-21 12:43:56','Port',NULL,NULL,NULL),(18269,1,274,2,'PORT ETHERNET','2014-10-21 12:45:50','Port',NULL,NULL,NULL),(18270,2,263,2,'PORT ETHERNET','2014-10-21 12:46:01','Port',NULL,NULL,NULL),(18271,2,263,2,'PORT ETHERNET','2014-10-21 12:47:43','Port',NULL,NULL,NULL),(18272,1,34,2,'Full Cabinet','2014-10-21 13:08:50','CabinetType',NULL,NULL,NULL),(18273,2,34,2,'Full Cabinet','2014-10-21 13:10:24','CabinetType',NULL,NULL,NULL),(18274,1,5,2,'47 Unit','2014-10-21 13:11:18','CabinetSize',NULL,NULL,NULL),(18275,1,35,2,'Full cabinet 47U','2014-10-21 13:12:04','ComplexModel',NULL,NULL,NULL),(18276,1,37,2,'Full Cabinet 47U','2014-10-21 13:13:34','Cabinet',NULL,NULL,NULL),(18277,2,11,2,'Cluster France','2014-10-21 17:26:53','BranchCluster',NULL,NULL,NULL),(18278,2,11,2,'ETRALI FRANCE','2014-10-21 17:26:53','BranchCluster',23,'Branch',NULL),(18279,2,11,2,'ETRALI Milano Office','2014-10-21 17:26:53','BranchCluster',25,'Branch',NULL),(18280,1,22,2,'F-EQXPA3 : FRANCE - POP EQUINIX PA 3','2014-10-22 17:27:13','Pop',NULL,NULL,NULL),(18281,1,23,2,'F-EQXPA4 : FRANCE - POP EQUINIX PA 4','2014-10-22 17:28:30','Pop',NULL,NULL,NULL),(18282,2,22,2,'F-EQXPA3 : POP EQUINIX PA 3','2014-10-22 17:28:53','Pop',NULL,NULL,NULL),(18283,2,23,2,'F-EQXPA4 : POP EQUINIX PA 4','2014-10-22 17:29:10','Pop',NULL,NULL,NULL),(18284,1,24,2,'UK-EQX : POP EQUINIX','2014-10-22 17:30:43','Pop',NULL,NULL,NULL),(18285,2,22,2,'FR-EQXPA3 : POP EQUINIX PA 3','2014-10-22 17:31:08','Pop',NULL,NULL,NULL),(18286,2,23,2,'FR-EQXPA4 : POP EQUINIX PA 4','2014-10-22 17:31:22','Pop',NULL,NULL,NULL),(18287,1,25,2,'FR-INTXN2 : POP INTERXION 2','2014-10-22 17:32:44','Pop',NULL,NULL,NULL),(18288,1,26,2,'FR-LEVEL3 : POP LEVEL 3','2014-10-22 17:33:41','Pop',NULL,NULL,NULL),(18289,1,18,2,'114 rue Ambroise Croizat 93200 Paris France','2014-10-22 17:36:41','AddressPop',NULL,NULL,NULL),(18290,1,17,2,'Matthieu NGALLE','2014-10-22 17:40:59','ContactPop',NULL,NULL,NULL),(18291,2,17,2,'Matthieu NGALLE','2014-10-22 17:41:26','ContactPop',NULL,NULL,NULL),(18292,2,17,2,'Matthieu NGALLE','2014-10-22 17:41:41','ContactPop',NULL,NULL,NULL),(18293,2,17,2,'Matthieu NGALLE','2014-10-22 17:41:59','ContactPop',NULL,NULL,NULL),(18294,2,17,2,'Matthieu NGALLE','2014-10-22 17:42:12','ContactPop',NULL,NULL,NULL),(18295,2,22,2,'FR-EQXPA3 : POP EQUINIX PA 3','2014-10-22 17:43:59','Pop',NULL,NULL,NULL),(18296,2,22,2,'114 rue Ambroise Croizat 93200 Paris France','2014-10-22 17:44:00','Pop',18,'AddressPop',NULL),(18297,2,22,2,'Matthieu NGALLE','2014-10-22 17:44:00','Pop',17,'ContactPop',NULL),(18298,2,17,2,'Matthieu NGALLE','2014-10-22 17:48:22','ContactPop',NULL,NULL,NULL),(18299,2,17,2,'Matthieu NGALLE','2014-10-22 17:50:06','ContactPop',NULL,NULL,NULL),(18300,1,573,2,'Saint-Denis','2014-10-22 17:55:14','City',NULL,NULL,NULL),(18301,2,18,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 17:55:51','AddressPop',NULL,NULL,NULL),(18302,1,18,2,'Matthieu NGALLE','2014-10-22 17:58:21','ContactPop',NULL,NULL,NULL),(18303,1,19,2,'110 bis Avenue du Général Leclerc 93500 Saint-Denis France','2014-10-22 17:59:40','AddressPop',NULL,NULL,NULL),(18304,1,574,2,'Pantin','2014-10-22 18:03:09','City',NULL,NULL,NULL),(18305,2,19,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-22 18:03:50','AddressPop',NULL,NULL,NULL),(18306,2,23,2,'FR-EQXPA4 : POP EQUINIX PA 4','2014-10-22 18:04:01','Pop',NULL,NULL,NULL),(18307,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-22 18:04:01','Pop',19,'AddressPop',NULL),(18308,2,23,2,'Matthieu NGALLE','2014-10-22 18:04:01','Pop',18,'ContactPop',NULL),(18309,2,22,2,'FR-EQXPA3 : POP EQUINIX PA 3','2014-10-22 18:08:40','Pop',NULL,NULL,NULL),(18310,2,22,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 18:08:40','Pop',18,'AddressPop',NULL),(18311,2,22,2,'Matthieu NGALLE','2014-10-22 18:08:40','Pop',17,'ContactPop',NULL),(18312,2,18,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 18:09:22','AddressPop',NULL,NULL,NULL),(18313,2,17,2,'Matthieu NGALLE','2014-10-22 18:10:38','ContactPop',NULL,NULL,NULL),(18314,1,16,2,'Used for Generic Contact','2014-10-22 18:23:17','Civility',NULL,NULL,NULL),(18315,2,16,2,'Used for Generic Contact','2014-10-22 18:23:25','Civility',NULL,NULL,NULL),(18316,1,19,2,'Service Team','2014-10-22 18:24:59','ContactPop',NULL,NULL,NULL),(18317,1,20,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:36:42','AddressPop',NULL,NULL,NULL),(18318,2,20,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:39:27','AddressPop',NULL,NULL,NULL),(18319,2,20,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:40:34','AddressPop',NULL,NULL,NULL),(18320,2,20,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:40:49','AddressPop',NULL,NULL,NULL),(18321,2,25,2,'FR-INTXN2 : POP INTERXION 2','2014-10-22 18:44:45','Pop',NULL,NULL,NULL),(18322,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:44:45','Pop',20,'AddressPop',NULL),(18323,2,25,2,'Service Team','2014-10-22 18:44:45','Pop',19,'ContactPop',NULL),(18324,2,26,2,'BE-LEVEL3 : POP LEVEL 3','2014-10-22 18:45:25','Pop',NULL,NULL,NULL),(18325,2,25,2,'BE-INTXN-1 : POP INTERXION BE 1','2014-10-22 18:47:46','Pop',NULL,NULL,NULL),(18326,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:47:46','Pop',20,'AddressPop',NULL),(18327,2,25,2,'Service Team','2014-10-22 18:47:46','Pop',19,'ContactPop',NULL),(18328,2,26,2,'FR-LEVEL3 : POP LEVEL 3','2014-10-22 18:48:03','Pop',NULL,NULL,NULL),(18329,2,25,2,'BE-INTXN-1 : POP INTERXION BE 1','2014-10-22 18:48:38','Pop',NULL,NULL,NULL),(18330,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:48:38','Pop',20,'AddressPop',NULL),(18331,2,25,2,'Service Team','2014-10-22 18:48:38','Pop',19,'ContactPop',NULL),(18332,2,23,2,'FR-EQXPA-4 : POP EQUINIX PA 4','2014-10-22 18:49:01','Pop',NULL,NULL,NULL),(18333,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-22 18:49:01','Pop',19,'AddressPop',NULL),(18334,2,23,2,'Matthieu NGALLE','2014-10-22 18:49:01','Pop',18,'ContactPop',NULL),(18335,2,22,2,'FR-EQXPA-3 : POP EQUINIX PA 3','2014-10-22 18:49:21','Pop',NULL,NULL,NULL),(18336,2,22,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 18:49:21','Pop',18,'AddressPop',NULL),(18337,2,22,2,'Matthieu NGALLE','2014-10-22 18:49:21','Pop',17,'ContactPop',NULL),(18338,2,26,2,'FR-LEVEL-3 : POP LEVEL 3','2014-10-22 18:49:49','Pop',NULL,NULL,NULL),(18339,2,26,2,'FR-NAN-LEV-3 : POP LEVEL 3','2014-10-22 18:51:32','Pop',NULL,NULL,NULL),(18340,2,25,2,'BE-ZVM-IXN-1 : POP INTERXION BE 1','2014-10-22 18:52:18','Pop',NULL,NULL,NULL),(18341,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 18:52:18','Pop',20,'AddressPop',NULL),(18342,2,25,2,'Service Team','2014-10-22 18:52:18','Pop',19,'ContactPop',NULL),(18343,2,26,2,'FR-NTE-LVL-3 : POP LEVEL 3','2014-10-22 18:52:57','Pop',NULL,NULL,NULL),(18344,2,23,2,'FR-PTN-EQX-4 : POP EQUINIX PA 4','2014-10-22 18:54:04','Pop',NULL,NULL,NULL),(18345,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-22 18:54:04','Pop',19,'AddressPop',NULL),(18346,2,23,2,'Matthieu NGALLE','2014-10-22 18:54:04','Pop',18,'ContactPop',NULL),(18347,2,22,2,'FR-SDS-EQX-3 : POP EQUINIX PA 3','2014-10-22 18:54:40','Pop',NULL,NULL,NULL),(18348,2,22,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 18:54:40','Pop',18,'AddressPop',NULL),(18349,2,22,2,'Matthieu NGALLE','2014-10-22 18:54:40','Pop',17,'ContactPop',NULL),(18350,2,24,2,'UK-LDN-EQX-1 : POP EQUINIX','2014-10-22 18:55:06','Pop',NULL,NULL,NULL),(18351,1,20,2,'Production Team','2014-10-22 19:02:49','ContactPop',NULL,NULL,NULL),(18352,1,21,2,'55 Avenue des Champs Pierreux 92000 Paris France','2014-10-22 19:03:36','AddressPop',NULL,NULL,NULL),(18353,1,575,2,'Nanterre','2014-10-22 19:04:12','City',NULL,NULL,NULL),(18354,2,21,2,'55 Avenue des Champs Pierreux 92000 Nanterre France','2014-10-22 19:04:37','AddressPop',NULL,NULL,NULL),(18355,2,26,2,'FR-NTE-LVL-3 : POP LEVEL 3','2014-10-22 19:04:45','Pop',NULL,NULL,NULL),(18356,2,26,2,'55 Avenue des Champs Pierreux 92000 Nanterre France','2014-10-22 19:04:45','Pop',21,'AddressPop',NULL),(18357,2,26,2,'Production Team','2014-10-22 19:04:45','Pop',20,'ContactPop',NULL),(18358,2,575,2,'Nanterre','2014-10-22 19:05:15','City',NULL,NULL,NULL),(18359,1,27,2,'FR-PRS-PLT-1 : POP PONCELET 1','2014-10-22 19:06:58','Pop',NULL,NULL,NULL),(18360,1,28,2,'FR-NTE-IXN-2 : POP NANTERRE INTERXION 2','2014-10-22 19:09:14','Pop',NULL,NULL,NULL),(18361,2,27,2,'FR-PAR-PLT-1 : POP PONCELET 1','2014-10-22 19:10:22','Pop',NULL,NULL,NULL),(18362,2,27,2,'FR-PAR-PLT-1 : POP PARIS PONCELET 1','2014-10-22 19:10:45','Pop',NULL,NULL,NULL),(18363,2,24,2,'UK-LON-EQX-1 : POP LONDON EQUINIX 1','2014-10-22 19:11:17','Pop',NULL,NULL,NULL),(18364,1,29,2,'NL-AMS-IXN-1 : POP AMSTERDAM INTERXION 1','2014-10-22 19:13:20','Pop',NULL,NULL,NULL),(18365,1,22,2,'Gyroscoopweg 58-60 1042 AC Amsterdam Pays-bas','2014-10-22 19:15:23','AddressPop',NULL,NULL,NULL),(18366,1,21,2,'R JUKES','2014-10-22 19:16:50','ContactPop',NULL,NULL,NULL),(18367,2,29,2,'NL-AMS-IXN-1 : POP AMSTERDAM INTERXION 1','2014-10-22 19:17:04','Pop',NULL,NULL,NULL),(18368,2,29,2,'Gyroscoopweg 58-60 1042 AC Amsterdam Pays-bas','2014-10-22 19:17:04','Pop',22,'AddressPop',NULL),(18369,2,29,2,'R JUKES','2014-10-22 19:17:04','Pop',21,'ContactPop',NULL),(18370,2,26,2,'FR-NTE-LVL-3 : POP NANTERRE LEVEL 3','2014-10-22 19:17:23','Pop',NULL,NULL,NULL),(18371,2,26,2,'55 Avenue des Champs Pierreux 92000 Nanterre France','2014-10-22 19:17:23','Pop',21,'AddressPop',NULL),(18372,2,26,2,'Production Team','2014-10-22 19:17:23','Pop',20,'ContactPop',NULL),(18373,2,25,2,'BE-ZVM-IXN-1 : POP ZAVENTEM INTERXION BE 1','2014-10-22 19:17:55','Pop',NULL,NULL,NULL),(18374,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 19:17:55','Pop',20,'AddressPop',NULL),(18375,2,25,2,'Service Team','2014-10-22 19:17:55','Pop',19,'ContactPop',NULL),(18376,2,25,2,'BE-ZVM-IXN-1 : POP ZAVENTEM INTERXION 1','2014-10-22 19:18:17','Pop',NULL,NULL,NULL),(18377,2,25,2,'Wezembeekstraat 2 --- Ground Floor 115 - Etrali Room 216 1930 Brussels Belgium','2014-10-22 19:18:17','Pop',20,'AddressPop',NULL),(18378,2,25,2,'Service Team','2014-10-22 19:18:17','Pop',19,'ContactPop',NULL),(18379,2,23,2,'FR-PTN-EQX-4 : POP PANTIN EQUINIX PA 4','2014-10-22 19:18:36','Pop',NULL,NULL,NULL),(18380,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-22 19:18:36','Pop',19,'AddressPop',NULL),(18381,2,23,2,'Matthieu NGALLE','2014-10-22 19:18:36','Pop',18,'ContactPop',NULL),(18382,2,22,2,'FR-SDS-EQX-3 : POP SAINT-DENIS EQUINIX PA 3','2014-10-22 19:18:52','Pop',NULL,NULL,NULL),(18383,2,22,2,'114 rue Ambroise Croizat 93200 Saint-Denis France','2014-10-22 19:18:52','Pop',18,'AddressPop',NULL),(18384,2,22,2,'Matthieu NGALLE','2014-10-22 19:18:52','Pop',17,'ContactPop',NULL),(18385,1,20,2,'FR-VRZ : VERIZON FRANCE','2014-10-22 19:24:35','Provider',NULL,NULL,NULL),(18386,1,17,2,'ALL-VRZ','2014-10-22 19:26:15','CountryProviderGroup',NULL,NULL,NULL),(18387,1,21,2,'NL-VRZ : VERIZON NETHERLANDS','2014-10-22 19:28:01','Provider',NULL,NULL,NULL),(18388,1,22,2,'BE-TEN : TEIN TECHNOLOGY','2014-10-24 11:03:12','Provider',NULL,NULL,NULL),(18389,2,30,2,'Place des Bienfaiteurs 7 1030 Brussels','2014-10-24 11:06:27','AddressProvider',NULL,NULL,NULL),(18390,1,31,2,'7 place des Bienfaiteurs 1030 Brussels','2014-10-24 11:15:23','AddressProvider',NULL,NULL,NULL),(18391,2,31,2,'Place des Bienfaiteurs 7 1030 Brussels','2014-10-24 11:15:47','AddressProvider',NULL,NULL,NULL),(18392,1,32,2,'Place des Bienfaiteurs 7 1030 Brussels','2014-10-24 11:16:35','AddressProvider',NULL,NULL,NULL),(18393,2,531,2,'Paris','2014-10-24 11:21:29','City',NULL,NULL,NULL),(18394,1,36,2,'7750 SR-7 ALCATEL-LUCENT','2014-10-24 12:51:42','ComplexModel',NULL,NULL,NULL),(18395,1,506,2,'7750 SR-7 CHASSIS','2014-10-24 12:58:46','Equipment',NULL,NULL,NULL),(18396,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 12:59:53','Equipment',NULL,NULL,NULL),(18397,1,23,2,'FR-OBS : ORANGE','2014-10-24 13:01:04','Provider',NULL,NULL,NULL),(18398,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:02:06','Equipment',NULL,NULL,NULL),(18399,2,506,2,'','2014-10-24 13:02:06','Equipment',132,'Slot',NULL),(18400,2,506,2,'','2014-10-24 13:02:06','Equipment',133,'Slot',NULL),(18401,2,506,2,'','2014-10-24 13:02:06','Equipment',134,'Slot',NULL),(18402,2,506,2,'','2014-10-24 13:02:06','Equipment',135,'Slot',NULL),(18403,2,506,2,'','2014-10-24 13:02:06','Equipment',136,'Slot',NULL),(18404,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:02:26','Equipment',NULL,NULL,NULL),(18405,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:02:48','Equipment',NULL,NULL,NULL),(18406,2,506,2,'','2014-10-24 13:02:48','Equipment',137,'Slot',NULL),(18407,2,506,2,'','2014-10-24 13:02:48','Equipment',138,'Slot',NULL),(18408,2,506,2,'','2014-10-24 13:02:48','Equipment',139,'Slot',NULL),(18409,2,506,2,'','2014-10-24 13:02:48','Equipment',140,'Slot',NULL),(18410,2,506,2,'','2014-10-24 13:02:48','Equipment',141,'Slot',NULL),(18411,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:03:15','Equipment',NULL,NULL,NULL),(18412,2,33,2,'CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Nanterre','2014-10-24 13:03:31','AddressProvider',NULL,NULL,NULL),(18413,2,144,2,'','2014-10-24 13:03:48','Slot',NULL,NULL,NULL),(18414,2,142,2,'','2014-10-24 13:03:59','Slot',NULL,NULL,NULL),(18415,1,172,2,'IOM-3 XP','2014-10-24 13:06:08','Card',NULL,NULL,NULL),(18416,2,142,2,'','2014-10-24 13:07:22','Slot',NULL,NULL,NULL),(18417,2,142,2,'IOM-3 XP','2014-10-24 13:07:22','Slot',172,'Card',NULL),(18418,1,34,2,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 76035 Paris','2014-10-24 13:08:46','AddressProvider',NULL,NULL,NULL),(18419,2,34,2,'95 avenue de Bretagne 76035 Paris','2014-10-24 13:09:10','AddressProvider',NULL,NULL,NULL),(18420,2,34,2,'(OBS 2365 - DFT 2470) - CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Paris','2014-10-24 13:09:34','AddressProvider',NULL,NULL,NULL),(18421,1,173,2,'60 ports Ethernet/10-100','2014-10-24 13:09:35','Card',NULL,NULL,NULL),(18422,1,174,2,'20 ports GE/10-100-1000','2014-10-24 13:11:15','Card',NULL,NULL,NULL),(18423,2,34,2,'(OBS 2365 - DFT 2470) - CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Paris','2014-10-24 13:11:53','AddressProvider',NULL,NULL,NULL),(18424,1,35,2,'212 Rue Raymond Losserand 75014 Paris','2014-10-24 13:13:05','AddressProvider',NULL,NULL,NULL),(18425,1,36,2,'5 Avenue du General Sarrail 76035 Paris','2014-10-24 13:13:59','AddressProvider',NULL,NULL,NULL),(18426,2,142,2,'IOM slot 1','2014-10-24 13:14:36','Slot',NULL,NULL,NULL),(18427,2,142,2,'IOM-3 XP','2014-10-24 13:14:36','Slot',172,'Card',NULL),(18428,2,172,2,'IOM-3 XP','2014-10-24 13:16:15','Card',NULL,NULL,NULL),(18429,2,172,2,'60 ports Ethernet/10-100','2014-10-24 13:16:15','Card',173,'Card',NULL),(18430,2,172,2,'20 ports GE/10-100-1000','2014-10-24 13:16:15','Card',174,'Card',NULL),(18431,1,576,2,'Rouen','2014-10-24 13:19:47','City',NULL,NULL,NULL),(18432,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:23:12','Equipment',NULL,NULL,NULL),(18433,2,506,2,'IOM slot 1','2014-10-24 13:23:12','Equipment',142,'Slot',NULL),(18434,2,506,2,'','2014-10-24 13:23:12','Equipment',143,'Slot',NULL),(18435,2,506,2,'','2014-10-24 13:23:12','Equipment',144,'Slot',NULL),(18436,2,506,2,'','2014-10-24 13:23:12','Equipment',145,'Slot',NULL),(18437,2,506,2,'','2014-10-24 13:23:12','Equipment',146,'Slot',NULL),(18438,2,35,2,'212 Rue Raymond Losserand 75014 Paris','2014-10-24 13:27:18','AddressProvider',NULL,NULL,NULL),(18439,1,20,2,'Hélène LE GALL','2014-10-24 13:36:48','ContactProvider',NULL,NULL,NULL),(18440,2,506,2,'7750 SR-7 CHASSIS','2014-10-24 13:37:43','Equipment',NULL,NULL,NULL),(18441,2,506,2,'IOM slot 1','2014-10-24 13:37:43','Equipment',142,'Slot',NULL),(18442,2,20,2,'Hélène LE GALL','2014-10-24 13:42:31','ContactProvider',NULL,NULL,NULL),(18443,2,20,2,'Hélène LE GALL','2014-10-24 13:44:26','ContactProvider',NULL,NULL,NULL),(18444,2,23,2,'FR-OBS : ORANGE','2014-10-24 13:46:54','Provider',NULL,NULL,NULL),(18445,2,23,2,'(OBS 2365 - DFT 2470) - CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Paris','2014-10-24 13:46:54','Provider',34,'AddressProvider',NULL),(18446,2,23,2,'212 Rue Raymond Losserand 75014 Paris','2014-10-24 13:46:54','Provider',35,'AddressProvider',NULL),(18447,2,23,2,'5 Avenue du General Sarrail 76035 Paris','2014-10-24 13:46:54','Provider',36,'AddressProvider',NULL),(18448,2,23,2,'CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Nanterre','2014-10-24 13:46:54','Provider',33,'AddressProvider',NULL),(18449,2,23,2,'Hélène LE GALL','2014-10-24 13:46:54','Provider',20,'ContactProvider',NULL),(18450,2,34,2,'(OBS 2365 - DFT 2470) - CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Rouen','2014-10-24 13:51:56','AddressProvider',NULL,NULL,NULL),(18451,2,36,2,'5 Avenue du General Sarrail 76035 Rouen','2014-10-24 13:52:14','AddressProvider',NULL,NULL,NULL),(18452,2,33,2,'CSPCF/COMPTA ACHATS FOURNISSEURS - 95 avenue de Bretagne 76035 Rouen','2014-10-24 13:52:25','AddressProvider',NULL,NULL,NULL),(18453,2,33,2,'95 avenue de Bretagne 76035 Rouen','2014-10-24 13:52:46','AddressProvider',NULL,NULL,NULL),(18454,1,30,2,'FRAPARAUB : POP Etrali Aubervilliers','2014-10-24 16:59:44','Pop',NULL,NULL,NULL),(18455,2,23,2,'FR-PTN-EQX-4 : POP PANTIN EQUINIX PA 4','2014-10-24 17:05:18','Pop',NULL,NULL,NULL),(18456,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-24 17:05:18','Pop',19,'AddressPop',NULL),(18457,2,23,2,'Matthieu NGALLE','2014-10-24 17:05:18','Pop',18,'ContactPop',NULL),(18458,2,19,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-24 17:06:11','AddressPop',NULL,NULL,NULL),(18459,2,23,2,'FR-PTN-EQX-4 : POP PANTIN EQUINIX PA 4','2014-10-24 17:07:21','Pop',NULL,NULL,NULL),(18460,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-24 17:07:21','Pop',19,'AddressPop',NULL),(18461,2,23,2,'Matthieu NGALLE','2014-10-24 17:07:21','Pop',18,'ContactPop',NULL),(18462,2,23,2,'FR-PTN-EQX-4 : POP PANTIN EQUINIX PA 4','2014-10-24 17:26:23','Pop',NULL,NULL,NULL),(18463,2,23,2,'110 bis Avenue du Général Leclerc 93500 Pantin France','2014-10-24 17:26:23','Pop',19,'AddressPop',NULL),(18464,2,23,2,'Matthieu NGALLE','2014-10-24 17:26:23','Pop',18,'ContactPop',NULL),(18465,1,5,2,'Worldwide Group Verizon','2014-10-28 11:59:16','ProviderWorldwideGroup',NULL,NULL,NULL),(18466,2,5,2,'Worldwide Group Verizon','2014-10-28 11:59:54','ProviderWorldwideGroup',NULL,NULL,NULL),(18467,2,5,2,'Worldwide Group Verizon','2014-10-28 12:00:03','ProviderWorldwideGroup',NULL,NULL,NULL),(18468,2,5,2,'Worldwide Group Verizon','2014-10-28 12:00:09','ProviderWorldwideGroup',NULL,NULL,NULL),(18469,1,6,2,'Worldwide Group Colt','2014-10-28 12:00:41','ProviderWorldwideGroup',NULL,NULL,NULL),(18470,1,7,2,'Worldwide Group OBS','2014-10-28 12:01:07','ProviderWorldwideGroup',NULL,NULL,NULL),(18471,1,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:08:32','Cluster',NULL,NULL,NULL),(18472,1,6,2,'ETRALI ITALY ','2014-10-28 12:11:46','Cluster',NULL,NULL,NULL),(18473,1,7,2,'ETRALI FRANCE ','2014-10-28 12:12:15','Cluster',NULL,NULL,NULL),(18474,1,8,2,'ETRALI GERMANY ','2014-10-28 12:13:09','Cluster',NULL,NULL,NULL),(18475,2,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:13:28','Cluster',NULL,NULL,NULL),(18476,2,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:14:24','Cluster',NULL,NULL,NULL),(18477,2,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:14:33','Cluster',NULL,NULL,NULL),(18478,2,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:14:40','Cluster',NULL,NULL,NULL),(18479,2,8,2,'ETRALI GERMANY ','2014-10-28 12:14:54','Cluster',NULL,NULL,NULL),(18480,2,8,2,'ETRALI GERMANY ','2014-10-28 12:15:05','Cluster',NULL,NULL,NULL),(18481,2,8,2,'ETRALI GERMANY ','2014-10-28 12:18:13','Cluster',NULL,NULL,NULL),(18482,2,5,2,'Worldwide Group Verizon','2014-10-28 12:21:55','ProviderWorldwideGroup',NULL,NULL,NULL),(18483,2,5,2,'ETRALI FRANCE ','2014-10-28 12:21:55','ProviderWorldwideGroup',7,'Cluster',NULL),(18484,2,5,2,'ETRALI GERMANY ','2014-10-28 12:21:55','ProviderWorldwideGroup',8,'Cluster',NULL),(18485,2,5,2,'ETRALI ITALY ','2014-10-28 12:21:55','ProviderWorldwideGroup',6,'Cluster',NULL),(18486,2,5,2,'Test from Provider\\NewCluster ','2014-10-28 12:21:55','ProviderWorldwideGroup',5,'Cluster',NULL),(18487,2,17,2,'FRA-GRP-VRZ','2014-10-28 12:23:11','CountryProviderGroup',NULL,NULL,NULL),(18488,1,18,2,'FRA-GRP-VRZ','2014-10-28 12:24:53','CountryProviderGroup',NULL,NULL,NULL),(18489,1,372,2,'NewCapacityDescription','2014-10-28 13:12:54','Capacity',NULL,NULL,NULL),(18490,1,46,2,'<automatic allocation>:','2014-10-28 19:01:23','BackboneLink',NULL,NULL,NULL),(18491,2,147,2,'IOM SLOT2','2014-11-10 11:28:23','Slot',NULL,NULL,NULL),(18492,2,147,2,'IOM SLOT 2','2014-11-10 11:29:04','Slot',NULL,NULL,NULL),(18493,1,37,2,'2*XP MDA IOM 3','2014-11-10 11:35:17','ComplexModel',NULL,NULL,NULL),(18494,1,175,2,'2*XP MDA IOM 3','2014-11-10 11:36:31','Card',NULL,NULL,NULL),(18495,1,176,2,'m4-10gb-xp-xfp','2014-11-10 11:38:39','Card',NULL,NULL,NULL),(18496,1,38,2,'m4-10gb-xp-xfp','2014-11-10 11:53:55','ComplexModel',NULL,NULL,NULL),(18497,1,177,2,'card 4 port 10G','2014-11-10 11:55:22','Card',NULL,NULL,NULL),(18498,2,177,2,'card 4*10Gig','2014-11-10 11:58:06','Card',NULL,NULL,NULL),(18499,2,177,2,'card 4*10Gig-XP-XFP','2014-11-10 11:58:56','Card',NULL,NULL,NULL),(18500,1,178,2,'Card 4*10gig-EP-XFP','2014-11-10 12:01:07','Card',NULL,NULL,NULL),(18501,1,8,2,'10G Ethernet','2014-11-10 12:08:53','PortType',NULL,NULL,NULL),(18502,1,23,2,'10GigE-10000000kbps','2014-11-10 12:15:05','BandwidthAssignee',NULL,NULL,NULL),(18503,1,275,2,'1*10gig-xfp','2014-11-10 12:15:40','Port',NULL,NULL,NULL),(18504,2,23,2,'10GigE-10000Mb/s','2014-11-10 12:19:04','BandwidthAssignee',NULL,NULL,NULL),(18505,1,7,2,'1000Base-LX SMF','2014-11-10 12:34:09','SfpModuleType',NULL,NULL,NULL),(18506,1,179,2,'2*XP MDA IOM 3','2014-11-10 12:43:51','Card',NULL,NULL,NULL),(18507,1,23,2,'33 rue Poncelet 75017 Paris France','2014-11-10 12:55:14','AddressPop',NULL,NULL,NULL),(18508,1,22,2,'ETRALI PROD PARIS ETRALI PROD PARIS','2014-11-10 12:57:35','ContactPop',NULL,NULL,NULL),(18509,1,23,2,'SYLVAIN TREFFEL','2014-11-10 12:58:55','ContactPop',NULL,NULL,NULL),(18510,2,27,2,'FR-PAR-PLT-1 : POP PARIS PONCELET 1','2014-11-10 13:00:28','Pop',NULL,NULL,NULL),(18511,2,27,2,'33 rue Poncelet 75017 Paris France','2014-11-10 13:00:28','Pop',23,'AddressPop',NULL),(18512,2,27,2,'ETRALI PROD PARIS ETRALI PROD PARIS','2014-11-10 13:00:28','Pop',22,'ContactPop',NULL),(18513,2,27,2,'SYLVAIN TREFFEL','2014-11-10 13:00:28','Pop',23,'ContactPop',NULL),(18514,2,74,2,'74','2014-11-12 18:36:25','Service',NULL,NULL,NULL),(18515,2,74,2,'A1','2014-11-12 18:36:26','Service',128,'ServiceExtremity',NULL),(18516,2,74,2,'B2','2014-11-12 18:36:26','Service',129,'ServiceExtremity',NULL),(18517,2,74,2,'[To be assigned to a customer]','2014-11-12 18:36:26','Service',60,'BillingService',NULL),(18518,2,74,2,'','2014-11-12 18:36:26','Service',72,'BillingServiceLine',NULL),(18519,2,74,2,'test','2014-11-12 18:36:26','Service',1456,'ServiceCaracs',NULL),(18520,2,74,2,'test','2014-11-12 18:36:26','Service',1465,'ServiceCaracs',NULL),(18521,2,74,2,'test','2014-11-12 18:36:26','Service',1466,'ServiceCaracs',NULL),(18522,2,74,2,'test','2014-11-12 18:36:26','Service',1479,'ServiceCaracs',NULL),(18523,2,74,2,'','2014-11-12 18:36:26','Service',123,'ServiceExtremityTech',NULL),(18524,2,74,2,'','2014-11-12 18:36:26','Service',124,'ServiceExtremityTech',NULL),(18525,2,74,2,'74','2014-11-13 14:17:48','Service',NULL,NULL,NULL),(18526,2,74,2,'A1','2014-11-13 14:17:48','Service',128,'ServiceExtremity',NULL),(18527,2,74,2,'B2','2014-11-13 14:17:48','Service',129,'ServiceExtremity',NULL),(18528,2,74,2,'[To be assigned to a customer]','2014-11-13 14:17:48','Service',60,'BillingService',NULL),(18529,2,74,2,'','2014-11-13 14:17:48','Service',72,'BillingServiceLine',NULL),(18530,2,74,2,'test','2014-11-13 14:17:48','Service',1456,'ServiceCaracs',NULL),(18531,2,74,2,'test','2014-11-13 14:17:48','Service',1465,'ServiceCaracs',NULL),(18532,2,74,2,'test','2014-11-13 14:17:48','Service',1466,'ServiceCaracs',NULL),(18533,2,74,2,'test','2014-11-13 14:17:48','Service',1479,'ServiceCaracs',NULL),(18534,2,74,2,'','2014-11-13 14:17:48','Service',123,'ServiceExtremityTech',NULL),(18535,2,74,2,'','2014-11-13 14:17:48','Service',124,'ServiceExtremityTech',NULL),(18536,2,74,2,'74','2014-11-13 14:20:47','Service',NULL,NULL,NULL),(18537,2,74,2,'A1','2014-11-13 14:20:47','Service',128,'ServiceExtremity',NULL),(18538,2,74,2,'B2','2014-11-13 14:20:47','Service',129,'ServiceExtremity',NULL),(18539,2,74,2,'[To be assigned to a customer]','2014-11-13 14:20:47','Service',60,'BillingService',NULL),(18540,2,74,2,'','2014-11-13 14:20:47','Service',72,'BillingServiceLine',NULL),(18541,2,74,2,'test','2014-11-13 14:20:47','Service',1456,'ServiceCaracs',NULL),(18542,2,74,2,'test','2014-11-13 14:20:47','Service',1465,'ServiceCaracs',NULL),(18543,2,74,2,'test','2014-11-13 14:20:47','Service',1466,'ServiceCaracs',NULL),(18544,2,74,2,'test','2014-11-13 14:20:47','Service',1479,'ServiceCaracs',NULL),(18545,2,74,2,'','2014-11-13 14:20:48','Service',123,'ServiceExtremityTech',NULL),(18546,2,74,2,'','2014-11-13 14:20:48','Service',124,'ServiceExtremityTech',NULL),(18547,2,74,2,'74','2014-11-13 14:24:46','Service',NULL,NULL,NULL),(18548,2,74,2,'A1','2014-11-13 14:24:46','Service',128,'ServiceExtremity',NULL),(18549,2,74,2,'B2','2014-11-13 14:24:46','Service',129,'ServiceExtremity',NULL),(18550,2,74,2,'[To be assigned to a customer]','2014-11-13 14:24:46','Service',60,'BillingService',NULL),(18551,2,74,2,'','2014-11-13 14:24:46','Service',72,'BillingServiceLine',NULL),(18552,2,74,2,'test','2014-11-13 14:24:46','Service',1456,'ServiceCaracs',NULL),(18553,2,74,2,'test','2014-11-13 14:24:46','Service',1465,'ServiceCaracs',NULL),(18554,2,74,2,'test','2014-11-13 14:24:46','Service',1466,'ServiceCaracs',NULL),(18555,2,74,2,'test','2014-11-13 14:24:46','Service',1479,'ServiceCaracs',NULL),(18556,2,74,2,'','2014-11-13 14:24:46','Service',123,'ServiceExtremityTech',NULL),(18557,2,74,2,'','2014-11-13 14:24:46','Service',124,'ServiceExtremityTech',NULL),(18558,2,75,2,'75','2014-11-13 14:29:43','Service',NULL,NULL,NULL),(18559,2,75,2,'A1','2014-11-13 14:29:43','Service',130,'ServiceExtremity',NULL),(18560,2,75,2,'B2','2014-11-13 14:29:43','Service',131,'ServiceExtremity',NULL),(18561,2,75,2,'[To be assigned to a customer]','2014-11-13 14:29:43','Service',61,'BillingService',NULL),(18562,2,75,2,'','2014-11-13 14:29:43','Service',73,'BillingServiceLine',NULL),(18563,2,75,2,'test','2014-11-13 14:29:43','Service',1480,'ServiceCaracs',NULL),(18564,2,75,2,'test','2014-11-13 14:29:43','Service',1489,'ServiceCaracs',NULL),(18565,2,75,2,'test','2014-11-13 14:29:43','Service',1490,'ServiceCaracs',NULL),(18566,2,75,2,'test','2014-11-13 14:29:43','Service',1503,'ServiceCaracs',NULL),(18567,2,75,2,'','2014-11-13 14:29:43','Service',125,'ServiceExtremityTech',NULL),(18568,2,75,2,'','2014-11-13 14:29:43','Service',126,'ServiceExtremityTech',NULL),(18569,2,75,2,'75','2014-11-13 14:30:23','Service',NULL,NULL,NULL),(18570,2,75,2,'A1','2014-11-13 14:30:23','Service',130,'ServiceExtremity',NULL),(18571,2,75,2,'B2','2014-11-13 14:30:23','Service',131,'ServiceExtremity',NULL),(18572,2,75,2,'[To be assigned to a customer]','2014-11-13 14:30:23','Service',61,'BillingService',NULL),(18573,2,75,2,'','2014-11-13 14:30:23','Service',73,'BillingServiceLine',NULL),(18574,2,75,2,'test','2014-11-13 14:30:23','Service',1480,'ServiceCaracs',NULL),(18575,2,75,2,'test','2014-11-13 14:30:23','Service',1489,'ServiceCaracs',NULL),(18576,2,75,2,'test','2014-11-13 14:30:23','Service',1490,'ServiceCaracs',NULL),(18577,2,75,2,'test','2014-11-13 14:30:23','Service',1503,'ServiceCaracs',NULL),(18578,2,75,2,'','2014-11-13 14:30:23','Service',125,'ServiceExtremityTech',NULL),(18579,2,75,2,'','2014-11-13 14:30:23','Service',126,'ServiceExtremityTech',NULL),(18580,2,130,2,'A1','2014-11-13 14:38:09','ServiceExtremity',NULL,NULL,NULL),(18581,2,130,2,'test','2014-11-13 14:38:09','ServiceExtremity',1491,'ServiceCaracs',NULL),(18582,2,130,2,'test','2014-11-13 14:38:09','ServiceExtremity',1493,'ServiceCaracs',NULL),(18583,2,130,2,'test','2014-11-13 14:38:09','ServiceExtremity',1495,'ServiceCaracs',NULL),(18584,2,130,2,'test','2014-11-13 14:38:09','ServiceExtremity',1497,'ServiceCaracs',NULL),(18585,2,130,2,'test','2014-11-13 14:38:09','ServiceExtremity',1501,'ServiceCaracs',NULL),(18586,2,130,2,'','2014-11-13 14:38:09','ServiceExtremity',73,'BillingServiceLine',NULL),(18587,2,75,2,'75','2014-11-13 14:38:10','Service',NULL,NULL,NULL),(18588,2,75,2,'A1','2014-11-13 14:38:10','Service',130,'ServiceExtremity',NULL),(18589,2,75,2,'B2','2014-11-13 14:38:10','Service',131,'ServiceExtremity',NULL),(18590,2,75,2,'[To be assigned to a customer]','2014-11-13 14:38:10','Service',61,'BillingService',NULL),(18591,2,75,2,'','2014-11-13 14:38:10','Service',73,'BillingServiceLine',NULL),(18592,2,75,2,'test','2014-11-13 14:38:10','Service',1480,'ServiceCaracs',NULL),(18593,2,75,2,'test','2014-11-13 14:38:10','Service',1489,'ServiceCaracs',NULL),(18594,2,75,2,'test','2014-11-13 14:38:10','Service',1490,'ServiceCaracs',NULL),(18595,2,75,2,'test','2014-11-13 14:38:10','Service',1503,'ServiceCaracs',NULL),(18596,2,75,2,'','2014-11-13 14:38:10','Service',125,'ServiceExtremityTech',NULL),(18597,2,75,2,'','2014-11-13 14:38:10','Service',126,'ServiceExtremityTech',NULL),(18598,2,125,2,'','2014-11-13 15:17:18','ServiceExtremityTech',NULL,NULL,NULL),(18599,2,125,2,'test','2014-11-13 15:17:18','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18600,2,125,2,'test','2014-11-13 15:17:18','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18601,2,125,2,'test','2014-11-13 15:17:18','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18602,2,125,2,'test','2014-11-13 15:17:18','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18603,2,125,2,'test','2014-11-13 15:17:18','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18604,2,75,2,'75','2014-11-13 15:17:19','Service',NULL,NULL,NULL),(18605,2,75,2,'A1','2014-11-13 15:17:19','Service',130,'ServiceExtremity',NULL),(18606,2,75,2,'B2','2014-11-13 15:17:19','Service',131,'ServiceExtremity',NULL),(18607,2,75,2,'[To be assigned to a customer]','2014-11-13 15:17:19','Service',61,'BillingService',NULL),(18608,2,75,2,'','2014-11-13 15:17:19','Service',73,'BillingServiceLine',NULL),(18609,2,75,2,'test','2014-11-13 15:17:19','Service',1480,'ServiceCaracs',NULL),(18610,2,75,2,'test','2014-11-13 15:17:19','Service',1489,'ServiceCaracs',NULL),(18611,2,75,2,'test','2014-11-13 15:17:19','Service',1490,'ServiceCaracs',NULL),(18612,2,75,2,'test','2014-11-13 15:17:19','Service',1503,'ServiceCaracs',NULL),(18613,2,75,2,'','2014-11-13 15:17:19','Service',125,'ServiceExtremityTech',NULL),(18614,2,75,2,'','2014-11-13 15:17:19','Service',126,'ServiceExtremityTech',NULL),(18615,2,125,2,'','2014-11-13 15:42:48','ServiceExtremityTech',NULL,NULL,NULL),(18616,2,125,2,'test','2014-11-13 15:42:48','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18617,2,125,2,'test','2014-11-13 15:42:48','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18618,2,125,2,'test','2014-11-13 15:42:48','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18619,2,125,2,'test','2014-11-13 15:42:48','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18620,2,125,2,'test','2014-11-13 15:42:48','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18621,2,75,2,'75','2014-11-13 15:42:49','Service',NULL,NULL,NULL),(18622,2,75,2,'A1','2014-11-13 15:42:49','Service',130,'ServiceExtremity',NULL),(18623,2,75,2,'B2','2014-11-13 15:42:49','Service',131,'ServiceExtremity',NULL),(18624,2,75,2,'[To be assigned to a customer]','2014-11-13 15:42:49','Service',61,'BillingService',NULL),(18625,2,75,2,'','2014-11-13 15:42:49','Service',73,'BillingServiceLine',NULL),(18626,2,75,2,'test','2014-11-13 15:42:49','Service',1480,'ServiceCaracs',NULL),(18627,2,75,2,'test','2014-11-13 15:42:49','Service',1489,'ServiceCaracs',NULL),(18628,2,75,2,'test','2014-11-13 15:42:49','Service',1490,'ServiceCaracs',NULL),(18629,2,75,2,'test','2014-11-13 15:42:49','Service',1503,'ServiceCaracs',NULL),(18630,2,75,2,'','2014-11-13 15:42:49','Service',125,'ServiceExtremityTech',NULL),(18631,2,75,2,'','2014-11-13 15:42:49','Service',126,'ServiceExtremityTech',NULL),(18632,2,125,2,'','2014-11-13 15:43:25','ServiceExtremityTech',NULL,NULL,NULL),(18633,2,125,2,'test','2014-11-13 15:43:25','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18634,2,125,2,'test','2014-11-13 15:43:25','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18635,2,125,2,'test','2014-11-13 15:43:25','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18636,2,125,2,'test','2014-11-13 15:43:25','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18637,2,125,2,'test','2014-11-13 15:43:25','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18638,2,125,2,'14','2014-11-13 15:43:25','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(18639,2,125,2,'15','2014-11-13 15:43:25','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(18640,2,125,2,'16','2014-11-13 15:43:25','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(18641,2,125,2,'17','2014-11-13 15:43:25','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(18642,2,75,2,'75','2014-11-13 15:43:26','Service',NULL,NULL,NULL),(18643,2,75,2,'A1','2014-11-13 15:43:26','Service',130,'ServiceExtremity',NULL),(18644,2,75,2,'B2','2014-11-13 15:43:26','Service',131,'ServiceExtremity',NULL),(18645,2,75,2,'[To be assigned to a customer]','2014-11-13 15:43:26','Service',61,'BillingService',NULL),(18646,2,75,2,'','2014-11-13 15:43:26','Service',73,'BillingServiceLine',NULL),(18647,2,75,2,'test','2014-11-13 15:43:26','Service',1480,'ServiceCaracs',NULL),(18648,2,75,2,'test','2014-11-13 15:43:26','Service',1489,'ServiceCaracs',NULL),(18649,2,75,2,'test','2014-11-13 15:43:26','Service',1490,'ServiceCaracs',NULL),(18650,2,75,2,'test','2014-11-13 15:43:26','Service',1503,'ServiceCaracs',NULL),(18651,2,75,2,'','2014-11-13 15:43:26','Service',125,'ServiceExtremityTech',NULL),(18652,2,75,2,'','2014-11-13 15:43:26','Service',126,'ServiceExtremityTech',NULL),(18653,2,125,2,'','2014-11-13 15:44:09','ServiceExtremityTech',NULL,NULL,NULL),(18654,2,125,2,'test','2014-11-13 15:44:09','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18655,2,125,2,'test','2014-11-13 15:44:09','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18656,2,125,2,'test','2014-11-13 15:44:09','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18657,2,125,2,'test','2014-11-13 15:44:09','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18658,2,125,2,'test','2014-11-13 15:44:09','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18659,2,125,2,'14','2014-11-13 15:44:09','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(18660,2,125,2,'15','2014-11-13 15:44:09','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(18661,2,125,2,'16','2014-11-13 15:44:09','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(18662,2,125,2,'17','2014-11-13 15:44:09','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(18663,2,75,2,'75','2014-11-13 15:44:10','Service',NULL,NULL,NULL),(18664,2,75,2,'A1','2014-11-13 15:44:10','Service',130,'ServiceExtremity',NULL),(18665,2,75,2,'B2','2014-11-13 15:44:10','Service',131,'ServiceExtremity',NULL),(18666,2,75,2,'[To be assigned to a customer]','2014-11-13 15:44:10','Service',61,'BillingService',NULL),(18667,2,75,2,'','2014-11-13 15:44:10','Service',73,'BillingServiceLine',NULL),(18668,2,75,2,'test','2014-11-13 15:44:10','Service',1480,'ServiceCaracs',NULL),(18669,2,75,2,'test','2014-11-13 15:44:10','Service',1489,'ServiceCaracs',NULL),(18670,2,75,2,'test','2014-11-13 15:44:10','Service',1490,'ServiceCaracs',NULL),(18671,2,75,2,'test','2014-11-13 15:44:10','Service',1503,'ServiceCaracs',NULL),(18672,2,75,2,'','2014-11-13 15:44:10','Service',125,'ServiceExtremityTech',NULL),(18673,2,75,2,'','2014-11-13 15:44:10','Service',126,'ServiceExtremityTech',NULL),(18674,2,125,2,'','2014-11-13 15:50:00','ServiceExtremityTech',NULL,NULL,NULL),(18675,2,125,2,'test','2014-11-13 15:50:00','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18676,2,125,2,'test','2014-11-13 15:50:00','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18677,2,125,2,'test','2014-11-13 15:50:00','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18678,2,125,2,'test','2014-11-13 15:50:00','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18679,2,125,2,'test','2014-11-13 15:50:00','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18680,2,125,2,'14','2014-11-13 15:50:00','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(18681,2,125,2,'15','2014-11-13 15:50:00','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(18682,2,125,2,'16','2014-11-13 15:50:00','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(18683,2,125,2,'17','2014-11-13 15:50:00','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(18684,2,125,2,'18','2014-11-13 15:50:00','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(18685,2,125,2,'19','2014-11-13 15:50:00','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(18686,2,125,2,'20','2014-11-13 15:50:00','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(18687,2,125,2,'21','2014-11-13 15:50:00','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(18688,2,125,2,'22','2014-11-13 15:50:00','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(18689,2,125,2,'23','2014-11-13 15:50:00','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(18690,2,125,2,'24','2014-11-13 15:50:00','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(18691,2,125,2,'25','2014-11-13 15:50:00','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(18692,2,125,2,'26','2014-11-13 15:50:00','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(18693,2,125,2,'27','2014-11-13 15:50:00','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(18694,2,125,2,'28','2014-11-13 15:50:00','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(18695,2,125,2,'29','2014-11-13 15:50:00','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(18696,2,125,2,'30','2014-11-13 15:50:00','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(18697,2,125,2,'31','2014-11-13 15:50:00','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(18698,2,125,2,'32','2014-11-13 15:50:00','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(18699,2,125,2,'33','2014-11-13 15:50:00','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(18700,2,125,2,'34','2014-11-13 15:50:00','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(18701,2,125,2,'35','2014-11-13 15:50:00','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(18702,2,125,2,'36','2014-11-13 15:50:00','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(18703,2,75,2,'75','2014-11-13 15:50:01','Service',NULL,NULL,NULL),(18704,2,75,2,'A1','2014-11-13 15:50:01','Service',130,'ServiceExtremity',NULL),(18705,2,75,2,'B2','2014-11-13 15:50:01','Service',131,'ServiceExtremity',NULL),(18706,2,75,2,'[To be assigned to a customer]','2014-11-13 15:50:01','Service',61,'BillingService',NULL),(18707,2,75,2,'','2014-11-13 15:50:02','Service',73,'BillingServiceLine',NULL),(18708,2,75,2,'test','2014-11-13 15:50:02','Service',1480,'ServiceCaracs',NULL),(18709,2,75,2,'test','2014-11-13 15:50:02','Service',1489,'ServiceCaracs',NULL),(18710,2,75,2,'test','2014-11-13 15:50:02','Service',1490,'ServiceCaracs',NULL),(18711,2,75,2,'test','2014-11-13 15:50:02','Service',1503,'ServiceCaracs',NULL),(18712,2,75,2,'','2014-11-13 15:50:02','Service',125,'ServiceExtremityTech',NULL),(18713,2,75,2,'','2014-11-13 15:50:02','Service',126,'ServiceExtremityTech',NULL),(18714,2,75,2,'75','2014-11-13 15:51:06','Service',NULL,NULL,NULL),(18715,2,75,2,'A1','2014-11-13 15:51:07','Service',130,'ServiceExtremity',NULL),(18716,2,75,2,'B2','2014-11-13 15:51:07','Service',131,'ServiceExtremity',NULL),(18717,2,75,2,'[To be assigned to a customer]','2014-11-13 15:51:07','Service',61,'BillingService',NULL),(18718,2,75,2,'','2014-11-13 15:51:07','Service',73,'BillingServiceLine',NULL),(18719,2,75,2,'test','2014-11-13 15:51:07','Service',1480,'ServiceCaracs',NULL),(18720,2,75,2,'test','2014-11-13 15:51:07','Service',1489,'ServiceCaracs',NULL),(18721,2,75,2,'test','2014-11-13 15:51:07','Service',1490,'ServiceCaracs',NULL),(18722,2,75,2,'test','2014-11-13 15:51:07','Service',1503,'ServiceCaracs',NULL),(18723,2,75,2,'','2014-11-13 15:51:07','Service',125,'ServiceExtremityTech',NULL),(18724,2,75,2,'','2014-11-13 15:51:07','Service',126,'ServiceExtremityTech',NULL),(18725,2,75,2,'75','2014-11-13 15:59:19','Service',NULL,NULL,NULL),(18726,2,75,2,'A1','2014-11-13 15:59:19','Service',130,'ServiceExtremity',NULL),(18727,2,75,2,'B2','2014-11-13 15:59:19','Service',131,'ServiceExtremity',NULL),(18728,2,75,2,'[To be assigned to a customer]','2014-11-13 15:59:19','Service',61,'BillingService',NULL),(18729,2,75,2,'','2014-11-13 15:59:19','Service',73,'BillingServiceLine',NULL),(18730,2,75,2,'test','2014-11-13 15:59:19','Service',1480,'ServiceCaracs',NULL),(18731,2,75,2,'test','2014-11-13 15:59:19','Service',1489,'ServiceCaracs',NULL),(18732,2,75,2,'test','2014-11-13 15:59:19','Service',1490,'ServiceCaracs',NULL),(18733,2,75,2,'test','2014-11-13 15:59:19','Service',1503,'ServiceCaracs',NULL),(18734,2,75,2,'','2014-11-13 15:59:19','Service',125,'ServiceExtremityTech',NULL),(18735,2,75,2,'','2014-11-13 15:59:19','Service',126,'ServiceExtremityTech',NULL),(18736,2,125,2,'','2014-11-13 16:02:50','ServiceExtremityTech',NULL,NULL,NULL),(18737,2,125,2,'test','2014-11-13 16:02:50','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18738,2,125,2,'test','2014-11-13 16:02:50','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18739,2,125,2,'test','2014-11-13 16:02:50','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18740,2,125,2,'test','2014-11-13 16:02:50','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18741,2,125,2,'test','2014-11-13 16:02:50','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18742,2,125,2,'14','2014-11-13 16:02:50','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(18743,2,125,2,'15','2014-11-13 16:02:50','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(18744,2,125,2,'16','2014-11-13 16:02:50','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(18745,2,125,2,'17','2014-11-13 16:02:50','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(18746,2,125,2,'18','2014-11-13 16:02:50','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(18747,2,125,2,'19','2014-11-13 16:02:50','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(18748,2,125,2,'20','2014-11-13 16:02:50','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(18749,2,125,2,'21','2014-11-13 16:02:50','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(18750,2,125,2,'22','2014-11-13 16:02:50','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(18751,2,125,2,'23','2014-11-13 16:02:50','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(18752,2,125,2,'24','2014-11-13 16:02:50','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(18753,2,125,2,'25','2014-11-13 16:02:50','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(18754,2,125,2,'26','2014-11-13 16:02:50','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(18755,2,125,2,'27','2014-11-13 16:02:50','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(18756,2,125,2,'28','2014-11-13 16:02:50','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(18757,2,125,2,'29','2014-11-13 16:02:50','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(18758,2,125,2,'30','2014-11-13 16:02:50','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(18759,2,125,2,'31','2014-11-13 16:02:50','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(18760,2,125,2,'32','2014-11-13 16:02:50','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(18761,2,125,2,'33','2014-11-13 16:02:50','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(18762,2,125,2,'34','2014-11-13 16:02:50','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(18763,2,125,2,'35','2014-11-13 16:02:50','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(18764,2,125,2,'36','2014-11-13 16:02:50','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(18765,2,75,2,'75','2014-11-13 16:02:52','Service',NULL,NULL,NULL),(18766,2,75,2,'A1','2014-11-13 16:02:52','Service',130,'ServiceExtremity',NULL),(18767,2,75,2,'B2','2014-11-13 16:02:52','Service',131,'ServiceExtremity',NULL),(18768,2,75,2,'[To be assigned to a customer]','2014-11-13 16:02:52','Service',61,'BillingService',NULL),(18769,2,75,2,'','2014-11-13 16:02:52','Service',73,'BillingServiceLine',NULL),(18770,2,75,2,'test','2014-11-13 16:02:52','Service',1480,'ServiceCaracs',NULL),(18771,2,75,2,'test','2014-11-13 16:02:52','Service',1489,'ServiceCaracs',NULL),(18772,2,75,2,'test','2014-11-13 16:02:52','Service',1490,'ServiceCaracs',NULL),(18773,2,75,2,'test','2014-11-13 16:02:52','Service',1503,'ServiceCaracs',NULL),(18774,2,75,2,'','2014-11-13 16:02:52','Service',125,'ServiceExtremityTech',NULL),(18775,2,75,2,'','2014-11-13 16:02:52','Service',126,'ServiceExtremityTech',NULL),(18776,1,9,2,'NETRECOVA:','2014-11-13 16:05:40','ServiceOption',NULL,NULL,NULL),(18777,2,75,2,'75','2014-11-13 16:05:41','Service',NULL,NULL,NULL),(18778,2,75,2,'A1','2014-11-13 16:05:41','Service',130,'ServiceExtremity',NULL),(18779,2,75,2,'B2','2014-11-13 16:05:41','Service',131,'ServiceExtremity',NULL),(18780,2,75,2,'[To be assigned to a customer]','2014-11-13 16:05:41','Service',61,'BillingService',NULL),(18781,2,75,2,'','2014-11-13 16:05:41','Service',73,'BillingServiceLine',NULL),(18782,2,75,2,'test','2014-11-13 16:05:41','Service',1480,'ServiceCaracs',NULL),(18783,2,75,2,'test','2014-11-13 16:05:41','Service',1489,'ServiceCaracs',NULL),(18784,2,75,2,'test','2014-11-13 16:05:41','Service',1490,'ServiceCaracs',NULL),(18785,2,75,2,'test','2014-11-13 16:05:41','Service',1503,'ServiceCaracs',NULL),(18786,2,75,2,'','2014-11-13 16:05:41','Service',125,'ServiceExtremityTech',NULL),(18787,2,75,2,'','2014-11-13 16:05:41','Service',126,'ServiceExtremityTech',NULL),(18788,2,75,2,'NETRECOVA:','2014-11-13 16:05:41','Service',9,'ServiceOption',NULL),(18789,1,10,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:09:28','ServiceOption',NULL,NULL,NULL),(18790,2,75,2,'75','2014-11-13 16:09:30','Service',NULL,NULL,NULL),(18791,2,75,2,'A1','2014-11-13 16:09:30','Service',130,'ServiceExtremity',NULL),(18792,2,75,2,'B2','2014-11-13 16:09:30','Service',131,'ServiceExtremity',NULL),(18793,2,75,2,'[To be assigned to a customer]','2014-11-13 16:09:30','Service',61,'BillingService',NULL),(18794,2,75,2,'','2014-11-13 16:09:30','Service',73,'BillingServiceLine',NULL),(18795,2,75,2,'test','2014-11-13 16:09:30','Service',1480,'ServiceCaracs',NULL),(18796,2,75,2,'test','2014-11-13 16:09:30','Service',1489,'ServiceCaracs',NULL),(18797,2,75,2,'test','2014-11-13 16:09:30','Service',1490,'ServiceCaracs',NULL),(18798,2,75,2,'test','2014-11-13 16:09:30','Service',1503,'ServiceCaracs',NULL),(18799,2,75,2,'','2014-11-13 16:09:30','Service',125,'ServiceExtremityTech',NULL),(18800,2,75,2,'','2014-11-13 16:09:30','Service',126,'ServiceExtremityTech',NULL),(18801,2,75,2,'NETRECOVA:','2014-11-13 16:09:30','Service',9,'ServiceOption',NULL),(18802,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:09:30','Service',10,'ServiceOption',NULL),(18803,2,75,2,'75','2014-11-13 16:30:25','Service',NULL,NULL,NULL),(18804,2,75,2,'A1','2014-11-13 16:30:25','Service',130,'ServiceExtremity',NULL),(18805,2,75,2,'B2','2014-11-13 16:30:25','Service',131,'ServiceExtremity',NULL),(18806,2,75,2,'[To be assigned to a customer]','2014-11-13 16:30:25','Service',61,'BillingService',NULL),(18807,2,75,2,'','2014-11-13 16:30:25','Service',73,'BillingServiceLine',NULL),(18808,2,75,2,'test','2014-11-13 16:30:25','Service',1480,'ServiceCaracs',NULL),(18809,2,75,2,'test','2014-11-13 16:30:25','Service',1489,'ServiceCaracs',NULL),(18810,2,75,2,'test','2014-11-13 16:30:25','Service',1490,'ServiceCaracs',NULL),(18811,2,75,2,'test','2014-11-13 16:30:25','Service',1503,'ServiceCaracs',NULL),(18812,2,75,2,'','2014-11-13 16:30:25','Service',125,'ServiceExtremityTech',NULL),(18813,2,75,2,'','2014-11-13 16:30:25','Service',126,'ServiceExtremityTech',NULL),(18814,2,75,2,'NETRECOVA:','2014-11-13 16:30:25','Service',9,'ServiceOption',NULL),(18815,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:30:25','Service',10,'ServiceOption',NULL),(18816,2,75,2,'75','2014-11-13 16:30:27','Service',NULL,NULL,NULL),(18817,2,75,2,'A1','2014-11-13 16:30:27','Service',130,'ServiceExtremity',NULL),(18818,2,75,2,'B2','2014-11-13 16:30:27','Service',131,'ServiceExtremity',NULL),(18819,2,75,2,'[To be assigned to a customer]','2014-11-13 16:30:27','Service',61,'BillingService',NULL),(18820,2,75,2,'','2014-11-13 16:30:27','Service',73,'BillingServiceLine',NULL),(18821,2,75,2,'test','2014-11-13 16:30:27','Service',1480,'ServiceCaracs',NULL),(18822,2,75,2,'test','2014-11-13 16:30:27','Service',1489,'ServiceCaracs',NULL),(18823,2,75,2,'test','2014-11-13 16:30:27','Service',1490,'ServiceCaracs',NULL),(18824,2,75,2,'test','2014-11-13 16:30:27','Service',1503,'ServiceCaracs',NULL),(18825,2,75,2,'','2014-11-13 16:30:27','Service',125,'ServiceExtremityTech',NULL),(18826,2,75,2,'','2014-11-13 16:30:27','Service',126,'ServiceExtremityTech',NULL),(18827,2,75,2,'NETRECOVA:','2014-11-13 16:30:27','Service',9,'ServiceOption',NULL),(18828,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:30:27','Service',10,'ServiceOption',NULL),(18829,2,75,2,'75','2014-11-13 16:30:54','Service',NULL,NULL,NULL),(18830,2,75,2,'A1','2014-11-13 16:30:54','Service',130,'ServiceExtremity',NULL),(18831,2,75,2,'B2','2014-11-13 16:30:54','Service',131,'ServiceExtremity',NULL),(18832,2,75,2,'[To be assigned to a customer]','2014-11-13 16:30:54','Service',61,'BillingService',NULL),(18833,2,75,2,'','2014-11-13 16:30:54','Service',73,'BillingServiceLine',NULL),(18834,2,75,2,'test','2014-11-13 16:30:54','Service',1480,'ServiceCaracs',NULL),(18835,2,75,2,'test','2014-11-13 16:30:54','Service',1489,'ServiceCaracs',NULL),(18836,2,75,2,'test','2014-11-13 16:30:54','Service',1490,'ServiceCaracs',NULL),(18837,2,75,2,'test','2014-11-13 16:30:54','Service',1503,'ServiceCaracs',NULL),(18838,2,75,2,'','2014-11-13 16:30:54','Service',125,'ServiceExtremityTech',NULL),(18839,2,75,2,'','2014-11-13 16:30:54','Service',126,'ServiceExtremityTech',NULL),(18840,2,75,2,'NETRECOVA:','2014-11-13 16:30:54','Service',9,'ServiceOption',NULL),(18841,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:30:54','Service',10,'ServiceOption',NULL),(18842,1,6,2,'','2014-11-13 16:31:25','Note',NULL,NULL,NULL),(18843,2,75,2,'75','2014-11-13 16:31:26','Service',NULL,NULL,NULL),(18844,2,75,2,'A1','2014-11-13 16:31:26','Service',130,'ServiceExtremity',NULL),(18845,2,75,2,'B2','2014-11-13 16:31:26','Service',131,'ServiceExtremity',NULL),(18846,2,75,2,'[To be assigned to a customer]','2014-11-13 16:31:26','Service',61,'BillingService',NULL),(18847,2,75,2,'','2014-11-13 16:31:26','Service',73,'BillingServiceLine',NULL),(18848,2,75,2,'test','2014-11-13 16:31:26','Service',1480,'ServiceCaracs',NULL),(18849,2,75,2,'test','2014-11-13 16:31:26','Service',1489,'ServiceCaracs',NULL),(18850,2,75,2,'test','2014-11-13 16:31:26','Service',1490,'ServiceCaracs',NULL),(18851,2,75,2,'test','2014-11-13 16:31:26','Service',1503,'ServiceCaracs',NULL),(18852,2,75,2,'','2014-11-13 16:31:26','Service',125,'ServiceExtremityTech',NULL),(18853,2,75,2,'','2014-11-13 16:31:26','Service',126,'ServiceExtremityTech',NULL),(18854,2,75,2,'','2014-11-13 16:31:26','Service',6,'Note',NULL),(18855,2,75,2,'NETRECOVA:','2014-11-13 16:31:26','Service',9,'ServiceOption',NULL),(18856,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:31:26','Service',10,'ServiceOption',NULL),(18857,2,75,2,'75','2014-11-13 16:31:37','Service',NULL,NULL,NULL),(18858,2,75,2,'A1','2014-11-13 16:31:37','Service',130,'ServiceExtremity',NULL),(18859,2,75,2,'B2','2014-11-13 16:31:37','Service',131,'ServiceExtremity',NULL),(18860,2,75,2,'[To be assigned to a customer]','2014-11-13 16:31:37','Service',61,'BillingService',NULL),(18861,2,75,2,'','2014-11-13 16:31:37','Service',73,'BillingServiceLine',NULL),(18862,2,75,2,'test','2014-11-13 16:31:37','Service',1480,'ServiceCaracs',NULL),(18863,2,75,2,'test','2014-11-13 16:31:37','Service',1489,'ServiceCaracs',NULL),(18864,2,75,2,'test','2014-11-13 16:31:37','Service',1490,'ServiceCaracs',NULL),(18865,2,75,2,'test','2014-11-13 16:31:37','Service',1503,'ServiceCaracs',NULL),(18866,2,75,2,'','2014-11-13 16:31:37','Service',125,'ServiceExtremityTech',NULL),(18867,2,75,2,'','2014-11-13 16:31:37','Service',126,'ServiceExtremityTech',NULL),(18868,2,75,2,'','2014-11-13 16:31:37','Service',6,'Note',NULL),(18869,2,75,2,'NETRECOVA:','2014-11-13 16:31:37','Service',9,'ServiceOption',NULL),(18870,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-13 16:31:37','Service',10,'ServiceOption',NULL),(18871,1,2,2,'','2014-11-13 16:33:38','BusinessConferenceGroup',NULL,NULL,NULL),(18872,1,1,2,'','2014-11-13 16:38:33','TradExtraDatalinkGroup',NULL,NULL,NULL),(18873,1,1,2,'GROUPE SOCIETE GENERALE','2014-11-13 16:40:39','WorldGroup',NULL,NULL,NULL),(18874,2,1,2,'GROUPE SOCIETE GENERALE','2014-11-13 16:40:55','WorldGroup',NULL,NULL,NULL),(18875,2,1,2,'GROUPE SOCIETE GENERALE','2014-11-13 16:41:09','WorldGroup',NULL,NULL,NULL),(18876,1,2,2,'','2014-11-13 16:41:49','WorldGroup',NULL,NULL,NULL),(18877,2,2,2,'','2014-11-13 16:41:53','WorldGroup',NULL,NULL,NULL),(18878,2,1,2,'GROUPE SOCIETE GENERALE','2014-11-13 16:42:16','WorldGroup',NULL,NULL,NULL),(18879,2,1,2,'GROUPE SOCIETE GENERALE','2014-11-13 16:43:09','WorldGroup',NULL,NULL,NULL),(18880,2,2,2,'GROUP BNP PARIBAS','2014-11-13 16:43:35','WorldGroup',NULL,NULL,NULL),(18881,2,2,2,'BNP PARIBAS WWD GROUP','2014-11-13 16:44:23','WorldGroup',NULL,NULL,NULL),(18882,2,1,2,'SOCIETE GENERALE WWD GROUP','2014-11-13 16:44:43','WorldGroup',NULL,NULL,NULL),(18883,2,1,2,'SOCIETE GENERALE WWD GROUP','2014-11-13 16:44:55','WorldGroup',NULL,NULL,NULL),(18884,2,1,2,'SOCIETE GENERALE WWD GROUP','2014-11-13 16:45:11','WorldGroup',NULL,NULL,NULL),(18885,1,1,2,'SOCIETE GENERALE EUROPE','2014-11-13 16:45:47','ContinentGroup',NULL,NULL,NULL),(18886,2,1,2,'SOCIETE GENERALE EUROPE','2014-11-13 16:45:52','ContinentGroup',NULL,NULL,NULL),(18887,1,2,2,'SOCIETE GENERALE ASIA','2014-11-13 16:46:37','ContinentGroup',NULL,NULL,NULL),(18888,2,2,2,'SOCIETE GENERALE ASIA','2014-11-13 16:46:41','ContinentGroup',NULL,NULL,NULL),(18889,2,1,2,'SOCIETE GENERALE EUROPE','2014-11-13 16:46:55','ContinentGroup',NULL,NULL,NULL),(18890,1,3,2,'SOCIETE GENERALE NORTH AMERICA','2014-11-13 16:47:51','ContinentGroup',NULL,NULL,NULL),(18891,2,3,2,'SOCIETE GENERALE NORTH AMERICA','2014-11-13 16:48:20','ContinentGroup',NULL,NULL,NULL),(18892,1,6,2,'SOCGEN-GRP : SOCIETE GENERALE GROUP','2014-11-13 16:49:11','CustomerGroup',NULL,NULL,NULL),(18893,2,6,2,'SOCGEN-GRP : SOCIETE GENERALE GROUP','2014-11-13 16:49:15','CustomerGroup',NULL,NULL,NULL),(18894,2,6,2,'FRA-SOCGEN : SOCIETE GENERALE GROUP','2014-11-13 16:49:38','CustomerGroup',NULL,NULL,NULL),(18895,1,7,2,'GBR-SOCGEN : SOCIETE GENERALE UK','2014-11-13 16:50:05','CustomerGroup',NULL,NULL,NULL),(18896,2,7,2,'GBR-SOCGEN : SOCIETE GENERALE UK','2014-11-13 16:50:09','CustomerGroup',NULL,NULL,NULL),(18897,1,8,2,'ESP-SOCGEN : SOCIETE GENERALE SPAIN','2014-11-13 16:50:52','CustomerGroup',NULL,NULL,NULL),(18898,2,8,2,'ESP-SOCGEN : SOCIETE GENERALE SPAIN','2014-11-13 16:50:56','CustomerGroup',NULL,NULL,NULL),(18899,1,9,2,'USA-SOCGEN : SOCIETE GENERALE USA','2014-11-13 16:51:17','CustomerGroup',NULL,NULL,NULL),(18900,2,9,2,'USA-SOCGEN : SOCIETE GENERALE USA','2014-11-13 16:51:21','CustomerGroup',NULL,NULL,NULL),(18901,1,10,2,'CAN-SOCGEN : SOCIETE GENERALE CANADA','2014-11-13 16:51:40','CustomerGroup',NULL,NULL,NULL),(18902,2,10,2,'CAN-SOCGEN : SOCIETE GENERALE CANADA','2014-11-13 16:51:44','CustomerGroup',NULL,NULL,NULL),(18903,2,6,2,'FRA-SOCGEN : SOCIETE GENERALE FRANCE','2014-11-13 16:52:02','CustomerGroup',NULL,NULL,NULL),(18904,2,1,2,'SOCIETE GENERALE WWD GROUP','2014-11-13 16:52:40','WorldGroup',NULL,NULL,NULL),(18905,2,1,2,'SOCIETE GENERALE EUROPE','2014-11-13 16:52:40','WorldGroup',1,'ContinentGroup',NULL),(18906,2,1,2,'SOCIETE GENERALE ASIA','2014-11-13 16:52:40','WorldGroup',2,'ContinentGroup',NULL),(18907,2,1,2,'SOCIETE GENERALE NORTH AMERICA','2014-11-13 16:52:40','WorldGroup',3,'ContinentGroup',NULL),(18908,2,74,2,'74','2014-11-13 17:24:35','Service',NULL,NULL,NULL),(18909,2,74,2,'A1','2014-11-13 17:24:35','Service',128,'ServiceExtremity',NULL),(18910,2,74,2,'B2','2014-11-13 17:24:35','Service',129,'ServiceExtremity',NULL),(18911,2,74,2,'[To be assigned to a customer]','2014-11-13 17:24:35','Service',60,'BillingService',NULL),(18912,2,74,2,'','2014-11-13 17:24:35','Service',72,'BillingServiceLine',NULL),(18913,2,74,2,'test','2014-11-13 17:24:35','Service',1456,'ServiceCaracs',NULL),(18914,2,74,2,'test','2014-11-13 17:24:35','Service',1465,'ServiceCaracs',NULL),(18915,2,74,2,'test','2014-11-13 17:24:35','Service',1466,'ServiceCaracs',NULL),(18916,2,74,2,'test','2014-11-13 17:24:35','Service',1479,'ServiceCaracs',NULL),(18917,2,74,2,'','2014-11-13 17:24:35','Service',123,'ServiceExtremityTech',NULL),(18918,2,74,2,'','2014-11-13 17:24:35','Service',124,'ServiceExtremityTech',NULL),(18919,2,74,2,'74','2014-11-14 16:48:21','Service',NULL,NULL,NULL),(18920,2,74,2,'A1','2014-11-14 16:48:21','Service',128,'ServiceExtremity',NULL),(18921,2,74,2,'B2','2014-11-14 16:48:21','Service',129,'ServiceExtremity',NULL),(18922,2,74,2,'[To be assigned to a customer]','2014-11-14 16:48:21','Service',60,'BillingService',NULL),(18923,2,74,2,'','2014-11-14 16:48:21','Service',72,'BillingServiceLine',NULL),(18924,2,74,2,'test','2014-11-14 16:48:21','Service',1456,'ServiceCaracs',NULL),(18925,2,74,2,'test','2014-11-14 16:48:21','Service',1465,'ServiceCaracs',NULL),(18926,2,74,2,'test','2014-11-14 16:48:21','Service',1466,'ServiceCaracs',NULL),(18927,2,74,2,'test','2014-11-14 16:48:21','Service',1479,'ServiceCaracs',NULL),(18928,2,74,2,'','2014-11-14 16:48:21','Service',123,'ServiceExtremityTech',NULL),(18929,2,74,2,'','2014-11-14 16:48:21','Service',124,'ServiceExtremityTech',NULL),(18930,2,74,2,'74','2014-11-14 16:49:45','Service',NULL,NULL,NULL),(18931,2,74,2,'A1','2014-11-14 16:49:45','Service',128,'ServiceExtremity',NULL),(18932,2,74,2,'B2','2014-11-14 16:49:45','Service',129,'ServiceExtremity',NULL),(18933,2,74,2,'[To be assigned to a customer]','2014-11-14 16:49:45','Service',60,'BillingService',NULL),(18934,2,74,2,'','2014-11-14 16:49:45','Service',72,'BillingServiceLine',NULL),(18935,2,74,2,'test','2014-11-14 16:49:45','Service',1456,'ServiceCaracs',NULL),(18936,2,74,2,'test','2014-11-14 16:49:45','Service',1465,'ServiceCaracs',NULL),(18937,2,74,2,'test','2014-11-14 16:49:45','Service',1466,'ServiceCaracs',NULL),(18938,2,74,2,'test','2014-11-14 16:49:45','Service',1479,'ServiceCaracs',NULL),(18939,2,74,2,'','2014-11-14 16:49:45','Service',123,'ServiceExtremityTech',NULL),(18940,2,74,2,'','2014-11-14 16:49:45','Service',124,'ServiceExtremityTech',NULL),(18941,2,74,2,'74','2014-11-14 16:51:04','Service',NULL,NULL,NULL),(18942,2,74,2,'A1','2014-11-14 16:51:05','Service',128,'ServiceExtremity',NULL),(18943,2,74,2,'B2','2014-11-14 16:51:05','Service',129,'ServiceExtremity',NULL),(18944,2,74,2,'[To be assigned to a customer]','2014-11-14 16:51:05','Service',60,'BillingService',NULL),(18945,2,74,2,'','2014-11-14 16:51:05','Service',72,'BillingServiceLine',NULL),(18946,2,74,2,'test','2014-11-14 16:51:05','Service',1456,'ServiceCaracs',NULL),(18947,2,74,2,'test','2014-11-14 16:51:05','Service',1465,'ServiceCaracs',NULL),(18948,2,74,2,'test','2014-11-14 16:51:05','Service',1466,'ServiceCaracs',NULL),(18949,2,74,2,'test','2014-11-14 16:51:05','Service',1479,'ServiceCaracs',NULL),(18950,2,74,2,'','2014-11-14 16:51:05','Service',123,'ServiceExtremityTech',NULL),(18951,2,74,2,'','2014-11-14 16:51:05','Service',124,'ServiceExtremityTech',NULL),(18952,2,74,2,'74','2014-11-14 16:56:41','Service',NULL,NULL,NULL),(18953,2,74,2,'A1','2014-11-14 16:56:41','Service',128,'ServiceExtremity',NULL),(18954,2,74,2,'B2','2014-11-14 16:56:41','Service',129,'ServiceExtremity',NULL),(18955,2,74,2,'[To be assigned to a customer]','2014-11-14 16:56:41','Service',60,'BillingService',NULL),(18956,2,74,2,'','2014-11-14 16:56:41','Service',72,'BillingServiceLine',NULL),(18957,2,74,2,'test','2014-11-14 16:56:41','Service',1456,'ServiceCaracs',NULL),(18958,2,74,2,'test','2014-11-14 16:56:41','Service',1465,'ServiceCaracs',NULL),(18959,2,74,2,'test','2014-11-14 16:56:41','Service',1466,'ServiceCaracs',NULL),(18960,2,74,2,'test','2014-11-14 16:56:41','Service',1479,'ServiceCaracs',NULL),(18961,2,74,2,'','2014-11-14 16:56:41','Service',123,'ServiceExtremityTech',NULL),(18962,2,74,2,'','2014-11-14 16:56:41','Service',124,'ServiceExtremityTech',NULL),(18963,1,10,2,'PARGBR-LON','2014-11-14 17:11:29','Route',NULL,NULL,NULL),(18964,2,125,2,'','2014-11-14 17:12:06','ServiceExtremityTech',NULL,NULL,NULL),(18965,2,125,2,'test','2014-11-14 17:12:06','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(18966,2,125,2,'test','2014-11-14 17:12:06','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(18967,2,125,2,'test','2014-11-14 17:12:06','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(18968,2,125,2,'test','2014-11-14 17:12:06','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(18969,2,125,2,'test','2014-11-14 17:12:06','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(18970,2,125,2,'14','2014-11-14 17:12:06','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(18971,2,125,2,'15','2014-11-14 17:12:06','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(18972,2,125,2,'16','2014-11-14 17:12:06','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(18973,2,125,2,'17','2014-11-14 17:12:06','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(18974,2,125,2,'18','2014-11-14 17:12:06','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(18975,2,125,2,'19','2014-11-14 17:12:06','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(18976,2,125,2,'20','2014-11-14 17:12:06','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(18977,2,125,2,'21','2014-11-14 17:12:06','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(18978,2,125,2,'22','2014-11-14 17:12:06','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(18979,2,125,2,'23','2014-11-14 17:12:06','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(18980,2,125,2,'24','2014-11-14 17:12:06','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(18981,2,125,2,'25','2014-11-14 17:12:06','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(18982,2,125,2,'26','2014-11-14 17:12:06','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(18983,2,125,2,'27','2014-11-14 17:12:06','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(18984,2,125,2,'28','2014-11-14 17:12:06','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(18985,2,125,2,'29','2014-11-14 17:12:06','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(18986,2,125,2,'30','2014-11-14 17:12:06','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(18987,2,125,2,'31','2014-11-14 17:12:06','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(18988,2,125,2,'32','2014-11-14 17:12:06','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(18989,2,125,2,'33','2014-11-14 17:12:06','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(18990,2,125,2,'34','2014-11-14 17:12:06','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(18991,2,125,2,'35','2014-11-14 17:12:06','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(18992,2,125,2,'36','2014-11-14 17:12:06','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(18993,2,75,2,'75','2014-11-14 17:12:07','Service',NULL,NULL,NULL),(18994,2,75,2,'A1','2014-11-14 17:12:07','Service',130,'ServiceExtremity',NULL),(18995,2,75,2,'B2','2014-11-14 17:12:07','Service',131,'ServiceExtremity',NULL),(18996,2,75,2,'[To be assigned to a customer]','2014-11-14 17:12:07','Service',61,'BillingService',NULL),(18997,2,75,2,'','2014-11-14 17:12:07','Service',73,'BillingServiceLine',NULL),(18998,2,75,2,'test','2014-11-14 17:12:07','Service',1480,'ServiceCaracs',NULL),(18999,2,75,2,'test','2014-11-14 17:12:07','Service',1489,'ServiceCaracs',NULL),(19000,2,75,2,'test','2014-11-14 17:12:07','Service',1490,'ServiceCaracs',NULL),(19001,2,75,2,'test','2014-11-14 17:12:07','Service',1503,'ServiceCaracs',NULL),(19002,2,75,2,'','2014-11-14 17:12:07','Service',125,'ServiceExtremityTech',NULL),(19003,2,75,2,'','2014-11-14 17:12:07','Service',126,'ServiceExtremityTech',NULL),(19004,2,75,2,'','2014-11-14 17:12:07','Service',6,'Note',NULL),(19005,2,75,2,'NETRECOVA:','2014-11-14 17:12:07','Service',9,'ServiceOption',NULL),(19006,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-14 17:12:07','Service',10,'ServiceOption',NULL),(19007,2,10,2,'PARPAR','2014-11-14 17:13:42','Route',NULL,NULL,NULL),(19008,2,10,2,'BEL-BRUBRA-SAO','2014-11-14 17:15:40','Route',NULL,NULL,NULL),(19009,2,125,2,'','2014-11-14 17:18:16','ServiceExtremityTech',NULL,NULL,NULL),(19010,2,125,2,'test','2014-11-14 17:18:16','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(19011,2,125,2,'test','2014-11-14 17:18:16','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(19012,2,125,2,'test','2014-11-14 17:18:16','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(19013,2,125,2,'test','2014-11-14 17:18:16','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(19014,2,125,2,'test','2014-11-14 17:18:16','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(19015,2,125,2,'14','2014-11-14 17:18:16','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(19016,2,125,2,'15','2014-11-14 17:18:16','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(19017,2,125,2,'16','2014-11-14 17:18:16','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(19018,2,125,2,'17','2014-11-14 17:18:16','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(19019,2,125,2,'18','2014-11-14 17:18:16','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(19020,2,125,2,'19','2014-11-14 17:18:16','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(19021,2,125,2,'20','2014-11-14 17:18:16','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(19022,2,125,2,'21','2014-11-14 17:18:16','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(19023,2,125,2,'22','2014-11-14 17:18:16','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(19024,2,125,2,'23','2014-11-14 17:18:16','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(19025,2,125,2,'24','2014-11-14 17:18:16','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(19026,2,125,2,'25','2014-11-14 17:18:16','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(19027,2,125,2,'26','2014-11-14 17:18:16','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(19028,2,125,2,'27','2014-11-14 17:18:16','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(19029,2,125,2,'28','2014-11-14 17:18:16','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(19030,2,125,2,'29','2014-11-14 17:18:16','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(19031,2,125,2,'30','2014-11-14 17:18:16','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(19032,2,125,2,'31','2014-11-14 17:18:16','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(19033,2,125,2,'32','2014-11-14 17:18:16','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(19034,2,125,2,'33','2014-11-14 17:18:16','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(19035,2,125,2,'34','2014-11-14 17:18:16','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(19036,2,125,2,'35','2014-11-14 17:18:16','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(19037,2,125,2,'36','2014-11-14 17:18:16','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(19038,2,75,2,'75','2014-11-14 17:18:17','Service',NULL,NULL,NULL),(19039,2,75,2,'A1','2014-11-14 17:18:17','Service',130,'ServiceExtremity',NULL),(19040,2,75,2,'B2','2014-11-14 17:18:17','Service',131,'ServiceExtremity',NULL),(19041,2,75,2,'[To be assigned to a customer]','2014-11-14 17:18:17','Service',61,'BillingService',NULL),(19042,2,75,2,'','2014-11-14 17:18:17','Service',73,'BillingServiceLine',NULL),(19043,2,75,2,'test','2014-11-14 17:18:17','Service',1480,'ServiceCaracs',NULL),(19044,2,75,2,'test','2014-11-14 17:18:17','Service',1489,'ServiceCaracs',NULL),(19045,2,75,2,'test','2014-11-14 17:18:17','Service',1490,'ServiceCaracs',NULL),(19046,2,75,2,'test','2014-11-14 17:18:17','Service',1503,'ServiceCaracs',NULL),(19047,2,75,2,'','2014-11-14 17:18:17','Service',125,'ServiceExtremityTech',NULL),(19048,2,75,2,'','2014-11-14 17:18:17','Service',126,'ServiceExtremityTech',NULL),(19049,2,75,2,'','2014-11-14 17:18:17','Service',6,'Note',NULL),(19050,2,75,2,'NETRECOVA:','2014-11-14 17:18:17','Service',9,'ServiceOption',NULL),(19051,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-14 17:18:17','Service',10,'ServiceOption',NULL),(19052,1,11,2,'PARBEL-BRU','2014-11-14 17:20:23','Route',NULL,NULL,NULL),(19053,1,12,2,'BRA-SAOGBR-LON','2014-11-14 17:21:05','Route',NULL,NULL,NULL),(19054,1,13,2,'BEL-BRUBRA-SAO','2014-11-14 17:24:46','Route',NULL,NULL,NULL),(19055,2,125,2,'','2014-11-14 17:58:04','ServiceExtremityTech',NULL,NULL,NULL),(19056,2,125,2,'test','2014-11-14 17:58:04','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(19057,2,125,2,'test','2014-11-14 17:58:04','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(19058,2,125,2,'test','2014-11-14 17:58:04','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(19059,2,125,2,'test','2014-11-14 17:58:04','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(19060,2,125,2,'test','2014-11-14 17:58:04','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(19061,2,125,2,'14','2014-11-14 17:58:04','ServiceExtremityTech',14,'LocalLoopExtremityAdditional',NULL),(19062,2,125,2,'15','2014-11-14 17:58:04','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(19063,2,125,2,'16','2014-11-14 17:58:04','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(19064,2,125,2,'17','2014-11-14 17:58:04','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(19065,2,125,2,'18','2014-11-14 17:58:04','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(19066,2,125,2,'19','2014-11-14 17:58:04','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(19067,2,125,2,'20','2014-11-14 17:58:04','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(19068,2,125,2,'21','2014-11-14 17:58:04','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(19069,2,125,2,'22','2014-11-14 17:58:04','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(19070,2,125,2,'23','2014-11-14 17:58:04','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(19071,2,125,2,'24','2014-11-14 17:58:04','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(19072,2,125,2,'25','2014-11-14 17:58:04','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(19073,2,125,2,'26','2014-11-14 17:58:04','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(19074,2,125,2,'27','2014-11-14 17:58:04','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(19075,2,125,2,'28','2014-11-14 17:58:04','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(19076,2,125,2,'29','2014-11-14 17:58:04','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(19077,2,125,2,'30','2014-11-14 17:58:04','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(19078,2,125,2,'31','2014-11-14 17:58:04','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(19079,2,125,2,'32','2014-11-14 17:58:04','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(19080,2,125,2,'33','2014-11-14 17:58:04','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(19081,2,125,2,'34','2014-11-14 17:58:04','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(19082,2,125,2,'35','2014-11-14 17:58:04','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(19083,2,125,2,'36','2014-11-14 17:58:04','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(19084,2,125,2,'37','2014-11-14 17:58:04','ServiceExtremityTech',37,'LocalLoopExtremityAdditional',NULL),(19085,2,125,2,'38','2014-11-14 17:58:04','ServiceExtremityTech',38,'LocalLoopExtremityAdditional',NULL),(19086,2,125,2,'39','2014-11-14 17:58:04','ServiceExtremityTech',39,'LocalLoopExtremityAdditional',NULL),(19087,2,125,2,'40','2014-11-14 17:58:04','ServiceExtremityTech',40,'LocalLoopExtremityAdditional',NULL),(19088,2,75,2,'75','2014-11-14 17:58:06','Service',NULL,NULL,NULL),(19089,2,75,2,'A1','2014-11-14 17:58:06','Service',130,'ServiceExtremity',NULL),(19090,2,75,2,'B2','2014-11-14 17:58:06','Service',131,'ServiceExtremity',NULL),(19091,2,75,2,'[To be assigned to a customer]','2014-11-14 17:58:06','Service',61,'BillingService',NULL),(19092,2,75,2,'','2014-11-14 17:58:06','Service',73,'BillingServiceLine',NULL),(19093,2,75,2,'test','2014-11-14 17:58:06','Service',1480,'ServiceCaracs',NULL),(19094,2,75,2,'test','2014-11-14 17:58:06','Service',1489,'ServiceCaracs',NULL),(19095,2,75,2,'test','2014-11-14 17:58:06','Service',1490,'ServiceCaracs',NULL),(19096,2,75,2,'test','2014-11-14 17:58:06','Service',1503,'ServiceCaracs',NULL),(19097,2,75,2,'','2014-11-14 17:58:06','Service',125,'ServiceExtremityTech',NULL),(19098,2,75,2,'','2014-11-14 17:58:06','Service',126,'ServiceExtremityTech',NULL),(19099,2,75,2,'','2014-11-14 17:58:06','Service',6,'Note',NULL),(19100,2,75,2,'NETRECOVA:','2014-11-14 17:58:06','Service',9,'ServiceOption',NULL),(19101,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-14 17:58:06','Service',10,'ServiceOption',NULL),(19102,2,125,2,'','2014-11-14 18:01:06','ServiceExtremityTech',NULL,NULL,NULL),(19103,2,125,2,'test','2014-11-14 18:01:06','ServiceExtremityTech',1481,'ServiceCaracs',NULL),(19104,2,125,2,'test','2014-11-14 18:01:06','ServiceExtremityTech',1483,'ServiceCaracs',NULL),(19105,2,125,2,'test','2014-11-14 18:01:06','ServiceExtremityTech',1485,'ServiceCaracs',NULL),(19106,2,125,2,'test','2014-11-14 18:01:06','ServiceExtremityTech',1487,'ServiceCaracs',NULL),(19107,2,125,2,'test','2014-11-14 18:01:06','ServiceExtremityTech',1499,'ServiceCaracs',NULL),(19108,2,125,2,'15','2014-11-14 18:01:06','ServiceExtremityTech',15,'LocalLoopExtremityAdditional',NULL),(19109,2,125,2,'16','2014-11-14 18:01:06','ServiceExtremityTech',16,'LocalLoopExtremityAdditional',NULL),(19110,2,125,2,'17','2014-11-14 18:01:06','ServiceExtremityTech',17,'LocalLoopExtremityAdditional',NULL),(19111,2,125,2,'18','2014-11-14 18:01:06','ServiceExtremityTech',18,'LocalLoopExtremityAdditional',NULL),(19112,2,125,2,'19','2014-11-14 18:01:06','ServiceExtremityTech',19,'LocalLoopExtremityAdditional',NULL),(19113,2,125,2,'20','2014-11-14 18:01:06','ServiceExtremityTech',20,'LocalLoopExtremityAdditional',NULL),(19114,2,125,2,'21','2014-11-14 18:01:06','ServiceExtremityTech',21,'LocalLoopExtremityAdditional',NULL),(19115,2,125,2,'22','2014-11-14 18:01:06','ServiceExtremityTech',22,'LocalLoopExtremityAdditional',NULL),(19116,2,125,2,'23','2014-11-14 18:01:06','ServiceExtremityTech',23,'LocalLoopExtremityAdditional',NULL),(19117,2,125,2,'24','2014-11-14 18:01:06','ServiceExtremityTech',24,'LocalLoopExtremityAdditional',NULL),(19118,2,125,2,'25','2014-11-14 18:01:06','ServiceExtremityTech',25,'LocalLoopExtremityAdditional',NULL),(19119,2,125,2,'26','2014-11-14 18:01:06','ServiceExtremityTech',26,'LocalLoopExtremityAdditional',NULL),(19120,2,125,2,'27','2014-11-14 18:01:06','ServiceExtremityTech',27,'LocalLoopExtremityAdditional',NULL),(19121,2,125,2,'28','2014-11-14 18:01:06','ServiceExtremityTech',28,'LocalLoopExtremityAdditional',NULL),(19122,2,125,2,'29','2014-11-14 18:01:06','ServiceExtremityTech',29,'LocalLoopExtremityAdditional',NULL),(19123,2,125,2,'30','2014-11-14 18:01:06','ServiceExtremityTech',30,'LocalLoopExtremityAdditional',NULL),(19124,2,125,2,'31','2014-11-14 18:01:06','ServiceExtremityTech',31,'LocalLoopExtremityAdditional',NULL),(19125,2,125,2,'32','2014-11-14 18:01:06','ServiceExtremityTech',32,'LocalLoopExtremityAdditional',NULL),(19126,2,125,2,'33','2014-11-14 18:01:06','ServiceExtremityTech',33,'LocalLoopExtremityAdditional',NULL),(19127,2,125,2,'34','2014-11-14 18:01:06','ServiceExtremityTech',34,'LocalLoopExtremityAdditional',NULL),(19128,2,125,2,'35','2014-11-14 18:01:06','ServiceExtremityTech',35,'LocalLoopExtremityAdditional',NULL),(19129,2,125,2,'36','2014-11-14 18:01:06','ServiceExtremityTech',36,'LocalLoopExtremityAdditional',NULL),(19130,2,125,2,'37','2014-11-14 18:01:06','ServiceExtremityTech',37,'LocalLoopExtremityAdditional',NULL),(19131,2,125,2,'38','2014-11-14 18:01:06','ServiceExtremityTech',38,'LocalLoopExtremityAdditional',NULL),(19132,2,125,2,'39','2014-11-14 18:01:06','ServiceExtremityTech',39,'LocalLoopExtremityAdditional',NULL),(19133,2,125,2,'40','2014-11-14 18:01:06','ServiceExtremityTech',40,'LocalLoopExtremityAdditional',NULL),(19134,2,75,2,'75','2014-11-14 18:01:08','Service',NULL,NULL,NULL),(19135,2,75,2,'A1','2014-11-14 18:01:08','Service',130,'ServiceExtremity',NULL),(19136,2,75,2,'B2','2014-11-14 18:01:08','Service',131,'ServiceExtremity',NULL),(19137,2,75,2,'[To be assigned to a customer]','2014-11-14 18:01:08','Service',61,'BillingService',NULL),(19138,2,75,2,'','2014-11-14 18:01:08','Service',73,'BillingServiceLine',NULL),(19139,2,75,2,'test','2014-11-14 18:01:08','Service',1480,'ServiceCaracs',NULL),(19140,2,75,2,'test','2014-11-14 18:01:08','Service',1489,'ServiceCaracs',NULL),(19141,2,75,2,'test','2014-11-14 18:01:08','Service',1490,'ServiceCaracs',NULL),(19142,2,75,2,'test','2014-11-14 18:01:08','Service',1503,'ServiceCaracs',NULL),(19143,2,75,2,'','2014-11-14 18:01:08','Service',125,'ServiceExtremityTech',NULL),(19144,2,75,2,'','2014-11-14 18:01:08','Service',126,'ServiceExtremityTech',NULL),(19145,2,75,2,'','2014-11-14 18:01:08','Service',6,'Note',NULL),(19146,2,75,2,'NETRECOVA:','2014-11-14 18:01:08','Service',9,'ServiceOption',NULL),(19147,2,75,2,'TEST OPTION:Test sur champ quantité négatif','2014-11-14 18:01:08','Service',10,'ServiceOption',NULL),(19148,1,3,2,'','2014-11-14 18:39:58','BusinessConferenceGroup',NULL,NULL,NULL),(19149,2,3,2,'','2014-11-14 18:40:43','BusinessConferenceGroup',NULL,NULL,NULL),(19150,1,4,2,'','2014-11-14 18:46:12','BusinessConferenceGroup',NULL,NULL,NULL),(19151,2,4,2,'','2014-11-14 18:46:33','BusinessConferenceGroup',NULL,NULL,NULL),(19152,1,5,2,'','2014-11-14 18:48:49','BusinessConferenceGroup',NULL,NULL,NULL),(19153,2,5,2,'','2014-11-14 18:48:57','BusinessConferenceGroup',NULL,NULL,NULL),(19154,1,6,2,'','2014-11-14 18:49:01','BusinessConferenceGroup',NULL,NULL,NULL),(19155,1,2,2,'','2014-11-14 18:49:53','TradExtraDatalinkGroup',NULL,NULL,NULL),(19156,2,2,2,'','2014-11-14 18:49:58','TradExtraDatalinkGroup',NULL,NULL,NULL),(19157,1,3,2,'','2014-11-14 18:50:03','TradExtraDatalinkGroup',NULL,NULL,NULL);

--
-- Table structure for table `history_modification`
--

CREATE TABLE `history_modification` (
  `id_history_modification` int(11) NOT NULL AUTO_INCREMENT,
  `id_history` int(11) DEFAULT NULL,
  `lb_field` varchar(100) DEFAULT NULL,
  `lb_old_value` varchar(255) DEFAULT NULL,
  `lb_new_value` varchar(255) DEFAULT NULL,
  `id_user` int(11) DEFAULT NULL,
  `dt_effect` datetime DEFAULT NULL,
  PRIMARY KEY (`id_history_modification`),
  KEY `id_history` (`id_history`),
  KEY `IDX_DB94D6296B3CA4B` (`id_user`),
  CONSTRAINT `FK_DB94D6296B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_DB94D629F927D93B` FOREIGN KEY (`id_history`) REFERENCES `history` (`id_history`)
) ENGINE=InnoDB AUTO_INCREMENT=12525 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `history_modification`
--



--
-- Table structure for table `history_type`
--

CREATE TABLE `history_type` (
  `id_history_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_history_type` varchar(15) DEFAULT NULL,
  `lb_history_type` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id_history_type`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `history_type`
--

INSERT INTO `history_type` VALUES (1,'Create','Creation'),(2,'Modify','Modification');

--
-- Table structure for table `interfaces`
--

CREATE TABLE `interfaces` (
  `id_interface` int(11) NOT NULL AUTO_INCREMENT,
  `cd_interface` varchar(45) DEFAULT NULL,
  `lb_interface` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_interface`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `interfaces`
--


--
-- Table structure for table `iom`
--

CREATE TABLE `iom` (
  `id_iom` int(11) NOT NULL AUTO_INCREMENT,
  `id_iom_type` int(11) DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  `cd_iom` varchar(45) DEFAULT NULL,
  `lb_iom` varchar(255) DEFAULT NULL,
  `cm_iom` varchar(255) DEFAULT NULL,
  `cd_serial_number` varchar(45) DEFAULT NULL,
  `nb_position` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `id_user_create` int(11) DEFAULT NULL,
  `id_shelf` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_iom`),
  KEY `id_equipment` (`id_equipment`),
  KEY `id_iom_type` (`id_iom_type`),
  KEY `id_user_create` (`id_user_create`),
  KEY `id_shelf` (`id_shelf`),
  CONSTRAINT `FK_69214330241078CB` FOREIGN KEY (`id_iom_type`) REFERENCES `iom_type` (`id_iom_type`),
  CONSTRAINT `FK_692143304BC21AD3` FOREIGN KEY (`id_shelf`) REFERENCES `shelf` (`id_shelf`),
  CONSTRAINT `FK_69214330530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_69214330F2963631` FOREIGN KEY (`id_user_create`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `iom`
--


--
-- Table structure for table `iom_template`
--

CREATE TABLE `iom_template` (
  `id_iom` int(11) NOT NULL,
  `id_iom_type` int(11) DEFAULT NULL,
  `id_shelf` int(11) DEFAULT NULL,
  `cd_iom` varchar(45) DEFAULT NULL,
  `lb_iom` varchar(255) DEFAULT NULL,
  `cm_iom` varchar(255) DEFAULT NULL,
  `cd_serial_number` varchar(45) DEFAULT NULL,
  `nb_position` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `id_user_create` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_iom`),
  KEY `id_iom_type` (`id_iom_type`),
  KEY `id_equipment` (`id_shelf`),
  KEY `id_iom` (`id_iom`),
  KEY `id_shelf` (`id_shelf`),
  KEY `id_user_create` (`id_user_create`),
  CONSTRAINT `FK_76B23385241078CB` FOREIGN KEY (`id_iom_type`) REFERENCES `iom_type` (`id_iom_type`),
  CONSTRAINT `FK_76B233854BC21AD3` FOREIGN KEY (`id_shelf`) REFERENCES `shelf` (`id_shelf`),
  CONSTRAINT `FK_76B23385F2963631` FOREIGN KEY (`id_user_create`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_76B23385F785AB6A` FOREIGN KEY (`id_iom`) REFERENCES `iom` (`id_iom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `iom_template`
--


--
-- Table structure for table `iom_type`
--

CREATE TABLE `iom_type` (
  `id_iom_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_iom_type` varchar(45) DEFAULT NULL,
  `lb_iom_type` varchar(255) DEFAULT NULL,
  `cm_iom_type` varchar(255) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_iom_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `iom_type`
--


--
-- Table structure for table `ldap`
--

CREATE TABLE `ldap` (
  `id_ldap` int(11) NOT NULL AUTO_INCREMENT,
  `cd_ldap` varchar(15) DEFAULT NULL,
  `lb_ldap` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_ldap`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `ldap`
--


--
-- Table structure for table `level`
--

CREATE TABLE `level` (
  `id_level` int(11) NOT NULL AUTO_INCREMENT,
  `lb_level` varchar(100) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`id_level`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `level`
--


--
-- Table structure for table `link`
--

CREATE TABLE `link` (
  `id_link` int(11) NOT NULL AUTO_INCREMENT,
  `id_link_type` int(11) DEFAULT NULL,
  `cd_link` varchar(15) DEFAULT NULL,
  `lb_link` varchar(100) DEFAULT NULL,
  `cd_link_reference` varchar(45) DEFAULT NULL,
  `cd_link_reference_b` varchar(15) DEFAULT NULL,
  `id_port_1` int(11) DEFAULT NULL,
  `id_port_2` int(11) DEFAULT NULL,
  `nb_bandwidth` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `id_link_function` int(11) DEFAULT NULL,
  `id_link_protocol` int(11) DEFAULT NULL,
  `bl_standby` varchar(255) DEFAULT NULL,
  `bl_connected` varchar(255) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `id_cable` int(11) DEFAULT NULL,
  `id_link_groomed` int(11) DEFAULT NULL,
  `id_access` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_ts_a` int(11) DEFAULT NULL,
  `nb_ts_a` int(11) DEFAULT NULL,
  `id_ts_b` int(11) DEFAULT NULL,
  `nb_ts_b` int(11) DEFAULT NULL,
  `bl_link_ts` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_link`),
  KEY `id_port_1` (`id_port_1`),
  KEY `id_port_2` (`id_port_2`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_link_type` (`id_link_type`),
  KEY `id_link_function` (`id_link_function`),
  KEY `id_link_protocol` (`id_link_protocol`),
  KEY `id_provider` (`id_provider`),
  KEY `id_branch` (`id_branch`),
  KEY `id_cable` (`id_cable`),
  KEY `id_link_groomed` (`id_link_groomed`),
  KEY `id_access` (`id_access`),
  KEY `id_ts_a` (`id_ts_a`),
  KEY `id_ts_b` (`id_ts_b`),
  CONSTRAINT `FK_36AC99F11F183289` FOREIGN KEY (`id_ts_a`) REFERENCES `ts` (`id_ts`),
  CONSTRAINT `FK_36AC99F1205E9EB9` FOREIGN KEY (`id_access`) REFERENCES `access` (`id_access`),
  CONSTRAINT `FK_36AC99F1536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_36AC99F168E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_36AC99F179861029` FOREIGN KEY (`id_port_1`) REFERENCES `port` (`id_port`),
  CONSTRAINT `FK_36AC99F186116333` FOREIGN KEY (`id_ts_b`) REFERENCES `ts` (`id_ts`),
  CONSTRAINT `FK_36AC99F19DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_36AC99F1A14D4B41` FOREIGN KEY (`id_link_groomed`) REFERENCES `link` (`id_link`),
  CONSTRAINT `FK_36AC99F1B92CA791` FOREIGN KEY (`id_link_function`) REFERENCES `link_function` (`id_link_function`),
  CONSTRAINT `FK_36AC99F1BB420DE0` FOREIGN KEY (`id_link_protocol`) REFERENCES `link_protocol` (`id_link_protocol`),
  CONSTRAINT `FK_36AC99F1BDAC79A7` FOREIGN KEY (`id_link_type`) REFERENCES `link_type` (`id_link_type`),
  CONSTRAINT `FK_36AC99F1C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_36AC99F1CA6C85E4` FOREIGN KEY (`id_cable`) REFERENCES `cable` (`id_cable`),
  CONSTRAINT `FK_36AC99F1E08F4193` FOREIGN KEY (`id_port_2`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link`
--


--
-- Table structure for table `link_function`
--

CREATE TABLE `link_function` (
  `id_link_function` int(11) NOT NULL AUTO_INCREMENT,
  `cd_link_function` varchar(100) NOT NULL,
  `lb_link_function` varchar(255) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_link_function_type` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_link_function`),
  KEY `IDX_70476F4E971A25B` (`id_link_function_type`),
  CONSTRAINT `FK_70476F4E971A25B` FOREIGN KEY (`id_link_function_type`) REFERENCES `link_function_type` (`id_link_function_type`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_function`
--


--
-- Table structure for table `link_function_type`
--

CREATE TABLE `link_function_type` (
  `id_link_function_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `lb_link_function_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_link_function_type` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  PRIMARY KEY (`id_link_function_type`),
  KEY `IDX_6A5310F4536A5873` (`id_user_create_by`),
  KEY `IDX_6A5310F468E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_6A5310F4536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_6A5310F468E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `link_function_type`
--

INSERT INTO `link_function_type` VALUES (1,2,2,'Backbone Link','BB',1,'2014-01-18 00:00:00','2014-01-18 00:00:00'),(2,2,2,'Local Loop','LL',1,'2014-01-18 22:16:05','2014-01-18 22:16:05');

--
-- Table structure for table `link_physical`
--

CREATE TABLE `link_physical` (
  `id_link_physical` int(11) NOT NULL AUTO_INCREMENT,
  `cd_link_physical` varchar(15) DEFAULT NULL,
  `lb_link_physical` varchar(100) DEFAULT NULL,
  `id_port_a` int(11) DEFAULT NULL,
  `id_port_b` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_link_physical`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_port_a` (`id_port_a`),
  KEY `id_port_b` (`id_port_b`),
  CONSTRAINT `FK_1A8350C112ED41DD` FOREIGN KEY (`id_port_a`) REFERENCES `port` (`id_port`),
  CONSTRAINT `FK_1A8350C1536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_1A8350C168E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_1A8350C18BE41067` FOREIGN KEY (`id_port_b`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_physical`
--


--
-- Table structure for table `link_protocol`
--

CREATE TABLE `link_protocol` (
  `id_link_protocol` int(11) NOT NULL AUTO_INCREMENT,
  `cd_link_protocol` varchar(100) DEFAULT NULL,
  `lb_link_protocol` varchar(255) DEFAULT NULL,
  `nb_rate` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_link_protocol`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_protocol`
--


--
-- Table structure for table `link_template`
--

CREATE TABLE `link_template` (
  `id_link` int(11) NOT NULL,
  `id_link_type` int(11) DEFAULT NULL,
  `cd_link` varchar(15) DEFAULT NULL,
  `lb_link` varchar(100) DEFAULT NULL,
  `cd_link_reference` varchar(45) DEFAULT NULL,
  `cd_link_reference_b` varchar(15) DEFAULT NULL,
  `id_port_1` int(11) DEFAULT NULL,
  `id_port_2` int(11) DEFAULT NULL,
  `nb_bandwidth` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `id_link_function` int(11) DEFAULT NULL,
  `id_link_protocol` int(11) DEFAULT NULL,
  `bl_standby` varchar(255) DEFAULT NULL,
  `bl_connected` varchar(255) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `id_cable` int(11) DEFAULT NULL,
  `id_link_groomed` int(11) DEFAULT NULL,
  `id_access` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_link`),
  KEY `id_port_1` (`id_port_1`),
  KEY `id_port_2` (`id_port_2`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_link` (`id_link`),
  KEY `id_link_type` (`id_link_type`),
  KEY `id_link_function` (`id_link_function`),
  KEY `id_link_protocol` (`id_link_protocol`),
  KEY `id_provider` (`id_provider`),
  KEY `id_branch` (`id_branch`),
  KEY `id_cable` (`id_cable`),
  KEY `id_link_groomed` (`id_link_groomed`),
  KEY `id_access` (`id_access`),
  CONSTRAINT `FK_5ACA7F4A205E9EB9` FOREIGN KEY (`id_access`) REFERENCES `access` (`id_access`),
  CONSTRAINT `FK_5ACA7F4A536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_5ACA7F4A68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_5ACA7F4A79861029` FOREIGN KEY (`id_port_1`) REFERENCES `port` (`id_port`),
  CONSTRAINT `FK_5ACA7F4A9DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_5ACA7F4AA14D4B41` FOREIGN KEY (`id_link_groomed`) REFERENCES `link` (`id_link`),
  CONSTRAINT `FK_5ACA7F4AB92CA791` FOREIGN KEY (`id_link_function`) REFERENCES `link_function` (`id_link_function`),
  CONSTRAINT `FK_5ACA7F4ABB420DE0` FOREIGN KEY (`id_link_protocol`) REFERENCES `link_protocol` (`id_link_protocol`),
  CONSTRAINT `FK_5ACA7F4ABD8C85F3` FOREIGN KEY (`id_link`) REFERENCES `link` (`id_link`),
  CONSTRAINT `FK_5ACA7F4ABDAC79A7` FOREIGN KEY (`id_link_type`) REFERENCES `link_type` (`id_link_type`),
  CONSTRAINT `FK_5ACA7F4AC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_5ACA7F4ACA6C85E4` FOREIGN KEY (`id_cable`) REFERENCES `cable` (`id_cable`),
  CONSTRAINT `FK_5ACA7F4AE08F4193` FOREIGN KEY (`id_port_2`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_template`
--


--
-- Table structure for table `link_type`
--

CREATE TABLE `link_type` (
  `id_link_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_link_type` varchar(15) DEFAULT NULL,
  `lb_link_type` varchar(100) DEFAULT NULL,
  `nb_max` int(11) DEFAULT NULL,
  `cd_max_unit` varchar(100) DEFAULT NULL,
  `nb_channel_range_from_1` int(11) DEFAULT NULL,
  `nb_channel_range_to_1` int(11) DEFAULT NULL,
  `nb_channel_range_from_2` int(11) DEFAULT NULL,
  `nb_channel_range_to_2` int(11) DEFAULT NULL,
  `nb_channel` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_link_type`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_3D99C580536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3D99C58068E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_type`
--


--
-- Table structure for table `link_virtual`
--

CREATE TABLE `link_virtual` (
  `id_link_virtual` int(11) NOT NULL AUTO_INCREMENT,
  `id_link` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `cd_link_virtual` varchar(15) DEFAULT NULL,
  `lb_link_virtual` varchar(100) DEFAULT NULL,
  `ar_ts_1` varchar(255) DEFAULT NULL,
  `ar_ts_2` varchar(255) DEFAULT NULL,
  `bl_port_1` tinyint(1) DEFAULT NULL,
  `bl_port_2` tinyint(1) DEFAULT NULL,
  `nb_bandwidth` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_link_virtual`),
  KEY `id_link` (`id_link`),
  KEY `id_service` (`id_service`),
  CONSTRAINT `FK_4DDE67423F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_4DDE6742BD8C85F3` FOREIGN KEY (`id_link`) REFERENCES `link` (`id_link`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `link_virtual`
--


--
-- Table structure for table `local_loop`
--

CREATE TABLE `local_loop` (
  `id_local_loop` int(11) NOT NULL AUTO_INCREMENT,
  `cd_local_loop` varchar(15) DEFAULT NULL,
  `cd_administrative_ref` varchar(20) DEFAULT NULL,
  `cd_technical_ref` varchar(30) DEFAULT NULL,
  `id_bandwidth` int(11) DEFAULT NULL,
  `id_provider_of_carrier` int(11) DEFAULT NULL,
  `id_local_loop_type` int(11) DEFAULT NULL,
  `id_local_loop_sister` int(11) DEFAULT NULL,
  `id_local_loop_parent` int(11) DEFAULT NULL,
  `cm_local_loop` varchar(255) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_order` datetime DEFAULT NULL,
  `dt_delivery_requested` datetime DEFAULT NULL,
  `dt_delivery` datetime DEFAULT NULL,
  `id_capacity` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `dt_requested_cancel` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_interface` int(11) DEFAULT NULL,
  `cd_technical_ref2` varchar(30) DEFAULT NULL,
  `id_old_bandwidth` int(11) DEFAULT NULL,
  `id_protocol` int(11) DEFAULT NULL,
  `dt_init_terminate` datetime DEFAULT NULL,
  `dt_init_updown` datetime DEFAULT NULL,
  `dt_requested_updown` datetime DEFAULT NULL,
  `dt_scheduled_delivery` datetime DEFAULT NULL,
  `dt_real_terminate` datetime DEFAULT NULL,
  `dt_real_updown` datetime DEFAULT NULL,
  `dt_request_terminate` datetime DEFAULT NULL,
  `bl_french` tinyint(1) DEFAULT NULL,
  `bl_express` tinyint(1) DEFAULT NULL,
  `id_local_loop_owner` int(11) DEFAULT NULL,
  `id_link_function` int(11) DEFAULT NULL,
  `id_transaction_status` int(11) DEFAULT NULL,
  `id_transaction_type` int(11) DEFAULT NULL,
  `nb_operation` int(11) DEFAULT NULL,
  `id_transfer_extremity` int(11) DEFAULT NULL,
  `dt_scheduled_updown_delivery` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_local_loop`),
  KEY `id_capacity` (`id_capacity`),
  KEY `id_bandwidth` (`id_bandwidth`),
  KEY `id_provider_of_carrier` (`id_provider_of_carrier`),
  KEY `id_local_loop_sister` (`id_local_loop_sister`),
  KEY `id_local_loop_parent` (`id_local_loop_parent`),
  KEY `id_branch` (`id_branch`),
  KEY `id_interface` (`id_interface`),
  KEY `id_protocol` (`id_protocol`),
  KEY `IDX_9D40773D3B1B0403` (`id_local_loop_owner`),
  KEY `IDX_9D40773DB92CA791` (`id_link_function`),
  KEY `IDX_9D40773D2389793F` (`id_local_loop_type`),
  KEY `IDX_9D40773D8E5FA5F3` (`id_transaction_status`),
  KEY `IDX_9D40773D8D173C59` (`id_transaction_type`),
  KEY `IDX_9D40773D4233DB70` (`id_transfer_extremity`),
  KEY `IDX_9D40773D719540BB` (`id_old_bandwidth`),
  CONSTRAINT `FK_9D40773D2389793F` FOREIGN KEY (`id_local_loop_type`) REFERENCES `local_loop_type` (`id_local_loop_type`),
  CONSTRAINT `FK_9D40773D3B1B0403` FOREIGN KEY (`id_local_loop_owner`) REFERENCES `local_loop_owner` (`id_local_loop_owner`),
  CONSTRAINT `FK_9D40773D4233DB70` FOREIGN KEY (`id_transfer_extremity`) REFERENCES `local_loop_extremity` (`id_local_loop_extremity`),
  CONSTRAINT `FK_9D40773D719540BB` FOREIGN KEY (`id_old_bandwidth`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_9D40773D8D173C59` FOREIGN KEY (`id_transaction_type`) REFERENCES `TransactionType` (`id_transaction_type`),
  CONSTRAINT `FK_9D40773D8E5FA5F3` FOREIGN KEY (`id_transaction_status`) REFERENCES `TransactionStatus` (`id_transaction_status`),
  CONSTRAINT `FK_9D40773D9DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_9D40773DA3C6948` FOREIGN KEY (`id_bandwidth`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_9D40773DB4C150FA` FOREIGN KEY (`id_interface`) REFERENCES `interfaces` (`id_interface`),
  CONSTRAINT `FK_9D40773DB92CA791` FOREIGN KEY (`id_link_function`) REFERENCES `link_function` (`id_link_function`),
  CONSTRAINT `FK_9D40773DD910D0DE` FOREIGN KEY (`id_provider_of_carrier`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_9D40773DE4EB9CB3` FOREIGN KEY (`id_local_loop_sister`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_9D40773DE5335DE1` FOREIGN KEY (`id_capacity`) REFERENCES `capacity` (`id_capacity`),
  CONSTRAINT `FK_9D40773DFDC07700` FOREIGN KEY (`id_local_loop_parent`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `local_lopp_ibfk52` FOREIGN KEY (`id_protocol`) REFERENCES `protocol` (`id_protocol`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `local_loop`
--


--
-- Table structure for table `local_loop_cost_type`
--

CREATE TABLE `local_loop_cost_type` (
  `id_local_loop_cost_type` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_cost_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_cost_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_cost_type`
--


--
-- Table structure for table `local_loop_extremity`
--

CREATE TABLE `local_loop_extremity` (
  `id_local_loop_extremity` int(11) NOT NULL AUTO_INCREMENT,
  `id_pop` int(11) DEFAULT NULL,
  `cm_comment` text,
  `dt_init_transfer` datetime DEFAULT NULL,
  `dt_request_transfer` datetime DEFAULT NULL,
  `dt_schedule_delivery` datetime DEFAULT NULL,
  `dt_transfer_real_delivery` datetime DEFAULT NULL,
  `dt_transfer_complete` datetime DEFAULT NULL,
  `id_technical_contact` int(11) DEFAULT NULL,
  `cd_local_loop_extremity_ref` varchar(45) DEFAULT NULL,
  `id_customer` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `lb_trader` varchar(30) DEFAULT NULL,
  `id_access` int(11) DEFAULT NULL,
  `ll_extremity` varchar(2) DEFAULT NULL,
  `dt_ptt` datetime DEFAULT NULL,
  `dt_fin_tech` datetime DEFAULT NULL,
  `nb_chrono` varchar(45) DEFAULT NULL,
  `id_local_loop_extremity_owner` int(11) DEFAULT NULL,
  `id_old_extremity` int(11) DEFAULT NULL,
  `id_local_loop_extremity_side` int(11) DEFAULT NULL,
  `id_local_loop_extremity_situation` int(11) DEFAULT NULL,
  `lb_siret` varchar(20) DEFAULT NULL,
  `lb_ls_account` varchar(20) DEFAULT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `bl_old` tinyint(1) DEFAULT NULL,
  `dt_old_terminate` datetime DEFAULT NULL,
  `dt_ordre_racc` datetime DEFAULT NULL,
  `id_address_pop` int(11) DEFAULT NULL,
  `id_contact_pop` int(11) DEFAULT NULL,
  `id_admin_contact` int(11) DEFAULT NULL,
  `id_delivery_address` int(11) DEFAULT NULL,
  `id_address_provider` int(11) DEFAULT NULL,
  `id_contact_provider` int(11) DEFAULT NULL,
  `bl_transferred` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity`),
  UNIQUE KEY `UNIQ_8F46832C970BC560` (`id_old_extremity`),
  KEY `id_pop` (`id_pop`),
  KEY `id_technical_contact` (`id_technical_contact`),
  KEY `id_customer` (`id_customer`),
  KEY `id_provider` (`id_provider`),
  KEY `id_access` (`id_access`),
  KEY `IDX_8F46832CEFC39B65` (`id_local_loop_extremity_owner`),
  KEY `IDX_8F46832CEF79B1C0` (`id_local_loop_extremity_side`),
  KEY `IDX_8F46832C2351B63E` (`id_local_loop_extremity_situation`),
  KEY `IDX_8F46832C38CAF7EA` (`id_local_loop`),
  KEY `IDX_8F46832C4A8C206E` (`id_address_pop`),
  KEY `IDX_8F46832CFCF81BD9` (`id_contact_pop`),
  KEY `IDX_8F46832C3676B5D4` (`id_admin_contact`),
  KEY `IDX_8F46832CE4DA858E` (`id_delivery_address`),
  KEY `IDX_8F46832C8FC1D8CC` (`id_address_provider`),
  KEY `IDX_8F46832CEB6BBADA` (`id_contact_provider`),
  CONSTRAINT `FK_8F46832C2351B63E` FOREIGN KEY (`id_local_loop_extremity_situation`) REFERENCES `local_loop_extremity_situation` (`id_local_loop_extremity_situation`),
  CONSTRAINT `FK_8F46832C3676B5D4` FOREIGN KEY (`id_admin_contact`) REFERENCES `contact` (`id_contact`),
  CONSTRAINT `FK_8F46832C38CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_8F46832C4A8C206E` FOREIGN KEY (`id_address_pop`) REFERENCES `address_pop` (`id_address_pop`),
  CONSTRAINT `FK_8F46832C8FC1D8CC` FOREIGN KEY (`id_address_provider`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_8F46832C970BC560` FOREIGN KEY (`id_old_extremity`) REFERENCES `local_loop_extremity` (`id_local_loop_extremity`),
  CONSTRAINT `FK_8F46832CE4DA858E` FOREIGN KEY (`id_delivery_address`) REFERENCES `address` (`id_address`),
  CONSTRAINT `FK_8F46832CEB6BBADA` FOREIGN KEY (`id_contact_provider`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_8F46832CEF79B1C0` FOREIGN KEY (`id_local_loop_extremity_side`) REFERENCES `local_loop_extremity_side` (`id_local_loop_extremity_side`),
  CONSTRAINT `FK_8F46832CEFC39B65` FOREIGN KEY (`id_local_loop_extremity_owner`) REFERENCES `local_loop_extremity_owner` (`id_local_loop_extremity_owner`),
  CONSTRAINT `FK_8F46832CFCF81BD9` FOREIGN KEY (`id_contact_pop`) REFERENCES `contact_pop` (`id_contact_pop`),
  CONSTRAINT `id_pokp` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_access` FOREIGN KEY (`id_access`) REFERENCES `access` (`id_access`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_customer` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_provider` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `kid_technical` FOREIGN KEY (`id_technical_contact`) REFERENCES `contact` (`id_contact`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `local_loop_extremity`
--


--
-- Table structure for table `local_loop_extremity_additional`
--

CREATE TABLE `local_loop_extremity_additional` (
  `id_local_loop_extremity_additional` int(11) NOT NULL AUTO_INCREMENT,
  `id_local_loop` int(11) DEFAULT NULL,
  `id_vlan` int(11) DEFAULT NULL,
  `id_port_instance` int(11) DEFAULT NULL,
  `id_service_extremity_tech` int(11) DEFAULT NULL,
  `id_connection_path` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity_additional`),
  UNIQUE KEY `UNIQ_4EBCEE77731118A3` (`id_vlan`),
  KEY `IDX_4EBCEE7738CAF7EA` (`id_local_loop`),
  KEY `IDX_4EBCEE77827B36DA` (`id_port_instance`),
  KEY `IDX_4EBCEE77C7708180` (`id_service_extremity_tech`),
  CONSTRAINT `FK_4EBCEE7738CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_4EBCEE77731118A3` FOREIGN KEY (`id_vlan`) REFERENCES `vlan` (`id_vlan`),
  CONSTRAINT `FK_4EBCEE77827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_4EBCEE77C7708180` FOREIGN KEY (`id_service_extremity_tech`) REFERENCES `service_extremity_tech` (`id_service_extremity_tech`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_additional`
--

INSERT INTO `local_loop_extremity_additional` VALUES (15,NULL,NULL,NULL,125,NULL),(16,NULL,NULL,NULL,125,NULL),(17,NULL,NULL,NULL,125,NULL),(18,NULL,NULL,NULL,125,NULL),(19,NULL,NULL,NULL,125,NULL),(20,NULL,NULL,NULL,125,NULL),(21,NULL,NULL,NULL,125,NULL),(22,NULL,NULL,NULL,125,NULL),(23,NULL,NULL,NULL,125,NULL),(24,NULL,NULL,NULL,125,NULL),(25,NULL,NULL,NULL,125,NULL),(26,NULL,NULL,NULL,125,NULL),(27,NULL,NULL,NULL,125,NULL),(28,NULL,NULL,NULL,125,NULL),(29,NULL,NULL,NULL,125,NULL),(30,NULL,NULL,NULL,125,NULL),(31,NULL,NULL,NULL,125,NULL),(32,NULL,NULL,NULL,125,NULL),(33,NULL,NULL,NULL,125,NULL),(34,NULL,NULL,NULL,125,NULL),(35,NULL,NULL,NULL,125,NULL),(36,NULL,NULL,NULL,125,NULL),(37,NULL,NULL,NULL,125,NULL),(38,NULL,NULL,NULL,125,NULL),(39,NULL,NULL,NULL,125,NULL),(40,NULL,NULL,NULL,125,NULL);

--
-- Table structure for table `local_loop_extremity_owner`
--

CREATE TABLE `local_loop_extremity_owner` (
  `id_local_loop_extremity_owner` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_extremity_owner` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity_owner`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_owner`
--


--
-- Table structure for table `local_loop_extremity_side`
--

CREATE TABLE `local_loop_extremity_side` (
  `id_local_loop_extremity_side` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_extremity_side` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity_side`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_side`
--


--
-- Table structure for table `local_loop_extremity_situation`
--

CREATE TABLE `local_loop_extremity_situation` (
  `id_local_loop_extremity_situation` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_extremity_situation` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity_situation`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_situation`
--


--
-- Table structure for table `local_loop_extremity_tech`
--

CREATE TABLE `local_loop_extremity_tech` (
  `id_local_loop_extremity_tech` int(11) NOT NULL AUTO_INCREMENT,
  `id_technical_contact` int(11) DEFAULT NULL,
  `id_technical_contact_provider` int(11) DEFAULT NULL,
  `cm_comment` longtext COLLATE utf8_unicode_ci,
  `dt_ll_tested` datetime DEFAULT NULL,
  `dt_racc` datetime DEFAULT NULL,
  `dt_fin_tech` datetime DEFAULT NULL,
  `constit1` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `constit_reception` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_constit` datetime DEFAULT NULL,
  `equipement` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `carte_nature` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `nombre_it` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `raccordement` tinyint(1) DEFAULT NULL,
  `penetration` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `id_local_loop_extremity` int(11) DEFAULT NULL,
  `id_customer` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_pop` int(11) DEFAULT NULL,
  `id_local_loop_extremity_owner` int(11) DEFAULT NULL,
  `id_technical_contact_pop` int(11) DEFAULT NULL,
  `dt_old_ll_tested` datetime DEFAULT NULL,
  `bl_old` tinyint(1) DEFAULT NULL,
  `bl_transferred` tinyint(1) DEFAULT NULL,
  `id_port_instance` int(11) DEFAULT NULL,
  `lb_connection_path` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_extremity_tech`),
  UNIQUE KEY `UNIQ_E848EE2F83B67288` (`id_local_loop_extremity`),
  KEY `IDX_E848EE2FD1192B9E` (`id_technical_contact`),
  KEY `IDX_E848EE2F316BC7C7` (`id_technical_contact_provider`),
  KEY `IDX_E848EE2F38CAF7EA` (`id_local_loop`),
  KEY `IDX_E848EE2FD1E2629C` (`id_customer`),
  KEY `IDX_E848EE2FC21F9F09` (`id_provider`),
  KEY `IDX_E848EE2F87745F4C` (`id_pop`),
  KEY `IDX_E848EE2FEFC39B65` (`id_local_loop_extremity_owner`),
  KEY `IDX_E848EE2F57E8DA20` (`id_technical_contact_pop`),
  KEY `IDX_E848EE2F827B36DA` (`id_port_instance`),
  CONSTRAINT `FK_E848EE2F316BC7C7` FOREIGN KEY (`id_technical_contact_provider`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_E848EE2F38CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_E848EE2F57E8DA20` FOREIGN KEY (`id_technical_contact_pop`) REFERENCES `contact_pop` (`id_contact_pop`),
  CONSTRAINT `FK_E848EE2F827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_E848EE2F83B67288` FOREIGN KEY (`id_local_loop_extremity`) REFERENCES `local_loop_extremity` (`id_local_loop_extremity`),
  CONSTRAINT `FK_E848EE2F87745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_E848EE2FC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_E848EE2FD1192B9E` FOREIGN KEY (`id_technical_contact`) REFERENCES `contact` (`id_contact`),
  CONSTRAINT `FK_E848EE2FD1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`),
  CONSTRAINT `FK_E848EE2FEFC39B65` FOREIGN KEY (`id_local_loop_extremity_owner`) REFERENCES `local_loop_extremity_owner` (`id_local_loop_extremity_owner`)
) ENGINE=InnoDB AUTO_INCREMENT=108 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_tech`
--


--
-- Table structure for table `local_loop_extremity_tech_outport`
--

CREATE TABLE `local_loop_extremity_tech_outport` (
  `id_local_loop_extremity_tech` int(11) NOT NULL,
  `id_out_port` int(11) NOT NULL,
  PRIMARY KEY (`id_local_loop_extremity_tech`,`id_out_port`),
  KEY `IDX_29D4F30D4A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_29D4F30DCA47EB7A` (`id_out_port`),
  CONSTRAINT `FK_29D4F30D4A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_29D4F30DCA47EB7A` FOREIGN KEY (`id_out_port`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_tech_outport`
--


--
-- Table structure for table `local_loop_extremity_tech_outport_instance`
--

CREATE TABLE `local_loop_extremity_tech_outport_instance` (
  `id_local_loop_extremity_tech` int(11) NOT NULL,
  `id_out_port_instance` int(11) NOT NULL,
  PRIMARY KEY (`id_local_loop_extremity_tech`,`id_out_port_instance`),
  KEY `IDX_937473E84A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_937473E8E618F2E7` (`id_out_port_instance`),
  CONSTRAINT `FK_937473E84A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_937473E8E618F2E7` FOREIGN KEY (`id_out_port_instance`) REFERENCES `port_instance` (`id_port_instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_tech_outport_instance`
--


--
-- Table structure for table `local_loop_extremity_tech_ts`
--

CREATE TABLE `local_loop_extremity_tech_ts` (
  `id_local_loop_extremity_tech` int(11) NOT NULL,
  `id_out_ts` int(11) NOT NULL,
  PRIMARY KEY (`id_local_loop_extremity_tech`,`id_out_ts`),
  KEY `IDX_91153A1E4A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_91153A1E5E87044C` (`id_out_ts`),
  CONSTRAINT `FK_91153A1E4A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_91153A1E5E87044C` FOREIGN KEY (`id_out_ts`) REFERENCES `ts` (`id_ts`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_tech_ts`
--


--
-- Table structure for table `local_loop_extremity_tech_vlan`
--

CREATE TABLE `local_loop_extremity_tech_vlan` (
  `id_local_loop_extremity_tech` int(11) NOT NULL,
  `id_out_vlan` int(11) NOT NULL,
  PRIMARY KEY (`id_local_loop_extremity_tech`,`id_out_vlan`),
  KEY `IDX_380B5FF84A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_380B5FF871E7B217` (`id_out_vlan`),
  CONSTRAINT `FK_380B5FF84A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_380B5FF871E7B217` FOREIGN KEY (`id_out_vlan`) REFERENCES `vlan` (`id_vlan`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_extremity_tech_vlan`
--


--
-- Table structure for table `local_loop_interface_settings`
--

CREATE TABLE `local_loop_interface_settings` (
  `id_local_loop_interface_settings` int(11) NOT NULL AUTO_INCREMENT,
  `id_transaction_type` int(11) DEFAULT NULL,
  `id_transaction_status` int(11) DEFAULT NULL,
  `bl_hide` tinyint(1) NOT NULL,
  `bl_editable` tinyint(1) NOT NULL,
  `bl_old_extremity` tinyint(1) NOT NULL,
  `bl_mandatory` tinyint(1) NOT NULL,
  `lbEntity` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lbField` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_interface_settings`),
  KEY `IDX_91D3D8908D173C59` (`id_transaction_type`),
  KEY `IDX_91D3D8908E5FA5F3` (`id_transaction_status`),
  CONSTRAINT `FK_91D3D8908D173C59` FOREIGN KEY (`id_transaction_type`) REFERENCES `TransactionType` (`id_transaction_type`),
  CONSTRAINT `FK_91D3D8908E5FA5F3` FOREIGN KEY (`id_transaction_status`) REFERENCES `TransactionStatus` (`id_transaction_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_interface_settings`
--


--
-- Table structure for table `local_loop_option`
--

CREATE TABLE `local_loop_option` (
  `id_local_loop_option` int(11) NOT NULL AUTO_INCREMENT,
  `id_option_type` int(11) DEFAULT NULL,
  `nb_quantity` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) NOT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `cd_option` varchar(255) DEFAULT NULL,
  `lb_option` varchar(255) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_option`),
  KEY `id_option` (`id_option_type`),
  KEY `key_local_loop_idx` (`id_local_loop`),
  CONSTRAINT `key_local_loop` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `key_option` FOREIGN KEY (`id_option_type`) REFERENCES `option_type` (`id_option_type`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `local_loop_option`
--


--
-- Table structure for table `local_loop_owner`
--

CREATE TABLE `local_loop_owner` (
  `id_local_loop_owner` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_owner` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_owner`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_owner`
--


--
-- Table structure for table `local_loop_type`
--

CREATE TABLE `local_loop_type` (
  `id_local_loop_type` int(11) NOT NULL AUTO_INCREMENT,
  `lb_local_loop_type` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_local_loop_type`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `local_loop_type`
--

INSERT INTO `local_loop_type` VALUES (1,'regular'),(2,'Groomed'),(3,'Backup'),(4,'Spare'),(5,'Netrecova');

--
-- Table structure for table `log`
--

CREATE TABLE `log` (
  `id_log` int(11) NOT NULL AUTO_INCREMENT,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `cm_comment` varchar(255) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `id_user` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_log`),
  KEY `id_object_type` (`id_object_type`),
  KEY `id_user` (`id_user`),
  CONSTRAINT `FK_8F3F68C56B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_8F3F68C59D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `log`
--


--
-- Table structure for table `log_model`
--

CREATE TABLE `log_model` (
  `id_log_model` int(11) NOT NULL AUTO_INCREMENT,
  `id_object_type` int(11) DEFAULT NULL,
  `cm_comment` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id_log_model`),
  KEY `id_object_type` (`id_object_type`),
  CONSTRAINT `FK_F7EB99849D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `log_model`
--


--
-- Table structure for table `mail`
--

CREATE TABLE `mail` (
  `id_mail` int(11) NOT NULL AUTO_INCREMENT,
  `lb_mail` varchar(100) DEFAULT NULL,
  `lb_subject` varchar(100) DEFAULT NULL,
  `lb_text` varchar(255) DEFAULT NULL,
  `nb_mail` int(11) DEFAULT NULL,
  `lb_transaction_type` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id_mail`)
) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mail`
--



--
-- Table structure for table `mail_type`
--

CREATE TABLE `mail_type` (
  `id_mail_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_mail_type` varchar(15) NOT NULL,
  `lb_mail_type` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_mail_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mail_type`
--


--
-- Table structure for table `mail_user`
--

CREATE TABLE `mail_user` (
  `id_mail_user` int(11) NOT NULL AUTO_INCREMENT,
  `id_myuser` int(11) DEFAULT NULL,
  `id_mail` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_mail_user`),
  KEY `id_mail` (`id_mail`),
  KEY `IDX_20E845207B8A8321` (`id_myuser`),
  CONSTRAINT `FK_20E845207B8A8321` FOREIGN KEY (`id_myuser`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_20E84520DA06B04A` FOREIGN KEY (`id_mail`) REFERENCES `mail` (`id_mail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mail_user`
--


--
-- Table structure for table `marketing_zone`
--

CREATE TABLE `marketing_zone` (
  `id_marketing_zone` int(11) NOT NULL AUTO_INCREMENT,
  `cd_marketing_zone` varchar(15) NOT NULL,
  `lb_marketing_zone` varchar(100) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_marketing_zone`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_22CC225F536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_22CC225F68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `marketing_zone`
--


--
-- Table structure for table `mode`
--

CREATE TABLE `mode` (
  `id_mode` int(11) NOT NULL AUTO_INCREMENT,
  `cd_mode` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mode` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_mode`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mode`
--


--
-- Table structure for table `nature`
--

CREATE TABLE `nature` (
  `id_nature` int(11) NOT NULL AUTO_INCREMENT,
  `cd_nature` varchar(15) DEFAULT NULL,
  `lb_nature` varchar(100) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_nature`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_B1D882A7536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_B1D882A768E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `nature`
--


--
-- Table structure for table `note`
--

CREATE TABLE `note` (
  `id_note` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `lbNote` longtext COLLATE utf8_unicode_ci,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_backbone_link` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_note`),
  KEY `IDX_CFBDFA1468E26F41` (`id_user_update_by`),
  KEY `IDX_CFBDFA14536A5873` (`id_user_create_by`),
  KEY `IDX_CFBDFA143F0033A2` (`id_service`),
  KEY `IDX_CFBDFA1438CAF7EA` (`id_local_loop`),
  KEY `IDX_CFBDFA14D9707BB8` (`id_backbone_link`),
  CONSTRAINT `FK_CFBDFA1438CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_CFBDFA143F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_CFBDFA14536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_CFBDFA1468E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_CFBDFA14D9707BB8` FOREIGN KEY (`id_backbone_link`) REFERENCES `backbone_link` (`id_backbone_link`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `note`
--

INSERT INTO `note` VALUES (6,2,2,75,NULL,'cvwxcvbwgrqegsdfgsd \r\ngdf\r\ng\r\nsdf\r\ng\r\nsdf\r\ng\r\n\r\nfsdg\r\n\r\nsdf\r\ng\r\nsf\r\ng\r\nsd\r\ng\r\nsdf\r\ng\r\ndsf\r\ng\r\nsdf','2014-11-13 16:31:25','2014-11-13 16:31:25',NULL);

--
-- Table structure for table `notice_period`
--

CREATE TABLE `notice_period` (
  `id_notice_period` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_notice_period` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_notice_period` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  PRIMARY KEY (`id_notice_period`),
  KEY `IDX_9EAC5853536A5873` (`id_user_create_by`),
  KEY `IDX_9EAC585368E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_9EAC585368E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_9EAC5853536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `notice_period`
--

INSERT INTO `notice_period` VALUES (6,2,2,'90','90 Days','2014-09-29 00:00:00','2014-09-29 00:00:00'),(7,2,2,'45','45 days','2014-09-29 00:00:00','2014-09-29 00:00:00'),(8,2,2,'30','30 days','2014-09-29 17:15:56','2014-09-29 17:15:56'),(9,2,2,'60','60 days','2014-09-29 00:00:00','2014-09-29 00:00:00'),(10,2,2,'180','180 days','2014-09-29 00:00:00','2014-09-29 00:00:00'),(11,2,2,'365','365 days','2014-09-29 17:16:45','2014-09-29 17:16:45');

--
-- Table structure for table `object_type`
--

CREATE TABLE `object_type` (
  `id_object_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_object_type` varchar(100) DEFAULT NULL,
  `lb_object_type` varchar(100) DEFAULT NULL,
  `lb_table_name` varchar(100) DEFAULT NULL,
  `lb_id_name` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_object_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `object_type`
--


--
-- Table structure for table `offer_type`
--

CREATE TABLE `offer_type` (
  `id_offer_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_offer_type` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_offer_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `nb_circuit_max` int(11) DEFAULT NULL,
  `nb_circuit_alert` int(11) DEFAULT NULL,
  `nb_bandwidth_max` decimal(10,0) DEFAULT NULL,
  `nb_bandwidth_alert` decimal(10,0) DEFAULT NULL,
  PRIMARY KEY (`id_offer_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `offer_type`
--


--
-- Table structure for table `offer_zone`
--

CREATE TABLE `offer_zone` (
  `id_offer_zone` int(11) NOT NULL AUTO_INCREMENT,
  `cd_offer_zone` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_offer_zone` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id_offer_zone`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `offer_zone`
--


--
-- Table structure for table `option_type`
--

CREATE TABLE `option_type` (
  `id_option_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_option_type` varchar(15) NOT NULL,
  `lb_option_type` varchar(250) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime NOT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_application_type` int(11) DEFAULT NULL,
  `bl_billable` tinyint(1) NOT NULL,
  PRIMARY KEY (`id_option_type`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `IDX_64D0FDCA98B86A70` (`id_application_type`),
  CONSTRAINT `FK_64D0FDCA536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_64D0FDCA68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_64D0FDCA98B86A70` FOREIGN KEY (`id_application_type`) REFERENCES `application_type` (`id_application_type`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `option_type`
--


--
-- Table structure for table `orientation`
--

CREATE TABLE `orientation` (
  `id_orientation` int(11) NOT NULL AUTO_INCREMENT,
  `cd_orientation` varchar(15) DEFAULT NULL,
  `lb_orientation` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_orientation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `orientation`
--


--
-- Table structure for table `patch_panel`
--

CREATE TABLE `patch_panel` (
  `id_patch_panel` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_provider_address` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `id_cabinet` int(11) DEFAULT NULL,
  `cd_patch_panel` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_patch_panel` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `url_image` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cm_patch_panel` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `nb_ports` int(11) DEFAULT NULL,
  `nb_rows` int(11) DEFAULT NULL,
  `bl_model` tinyint(1) DEFAULT NULL,
  `bl_panel_for_ref` tinyint(1) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_patch_panel`),
  KEY `IDX_79A52562536A5873` (`id_user_create_by`),
  KEY `IDX_79A5256268E26F41` (`id_user_update_by`),
  KEY `IDX_79A525621E9C98F7` (`id_provider_address`),
  KEY `IDX_79A5256292FF4F48` (`id_contact`),
  KEY `IDX_79A52562C21F9F09` (`id_provider`),
  KEY `IDX_79A525629270ACC0` (`id_cabinet`),
  KEY `IDX_79A52562241EF16C` (`id_complex_model`),
  CONSTRAINT `FK_79A525621E9C98F7` FOREIGN KEY (`id_provider_address`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_79A52562241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_79A52562536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_79A5256268E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_79A525629270ACC0` FOREIGN KEY (`id_cabinet`) REFERENCES `cabinet` (`id_cabinet`),
  CONSTRAINT `FK_79A5256292FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_79A52562C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `patch_panel`
--


--
-- Table structure for table `patch_panel_instance`
--

CREATE TABLE `patch_panel_instance` (
  `id_patch_panel_instance` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_cabinet_instance` int(11) DEFAULT NULL,
  `cd_patch_panel_instance` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_patch_panel_instance` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cm_patch_panel_instance` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_patch_panel` int(11) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_provider_address` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `cd_provider_account` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_patch_panel_instance`),
  KEY `IDX_964D916E536A5873` (`id_user_create_by`),
  KEY `IDX_964D916E68E26F41` (`id_user_update_by`),
  KEY `IDX_964D916E95136256` (`id_cabinet_instance`),
  KEY `IDX_964D916E61B7E895` (`id_patch_panel`),
  KEY `IDX_964D916E241EF16C` (`id_complex_model`),
  KEY `IDX_964D916EC21F9F09` (`id_provider`),
  KEY `IDX_964D916E1E9C98F7` (`id_provider_address`),
  KEY `IDX_964D916E92FF4F48` (`id_contact`),
  CONSTRAINT `FK_964D916E1E9C98F7` FOREIGN KEY (`id_provider_address`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_964D916E241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_964D916E536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_964D916E61B7E895` FOREIGN KEY (`id_patch_panel`) REFERENCES `patch_panel` (`id_patch_panel`),
  CONSTRAINT `FK_964D916E68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_964D916E92FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_964D916E95136256` FOREIGN KEY (`id_cabinet_instance`) REFERENCES `cabinet_instance` (`id_cabinet_instance`),
  CONSTRAINT `FK_964D916EC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `patch_panel_instance`
--


--
-- Table structure for table `payed`
--

CREATE TABLE `payed` (
  `id_payed` int(11) NOT NULL AUTO_INCREMENT,
  `id_provider` int(11) DEFAULT NULL,
  `id_address` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `cd_provider_account` varchar(45) DEFAULT NULL,
  `cd_branch_order` varchar(45) DEFAULT NULL,
  `cm_payed` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_payed`),
  KEY `id_provider` (`id_provider`),
  KEY `id_address` (`id_address`),
  KEY `id_contact` (`id_contact`),
  KEY `id_object_type` (`id_object_type`),
  KEY `id_branch` (`id_branch`),
  CONSTRAINT `FK_B51FEEC892FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact` (`id_contact`),
  CONSTRAINT `FK_B51FEEC89D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`),
  CONSTRAINT `FK_B51FEEC89DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_B51FEEC8C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_B51FEEC8D3D3C6F1` FOREIGN KEY (`id_address`) REFERENCES `address` (`id_address`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payed`
--


--
-- Table structure for table `paying_detail`
--

CREATE TABLE `paying_detail` (
  `id_paying_detail` int(11) NOT NULL AUTO_INCREMENT,
  `id_payed` int(11) DEFAULT NULL,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `id_branch_payer` int(11) DEFAULT NULL,
  `id_frequency` int(11) DEFAULT NULL,
  `cd_branch_account` varchar(45) DEFAULT NULL,
  `cd_order` varchar(45) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `nb_nrc` decimal(15,4) DEFAULT NULL,
  `nb_mrc` decimal(15,4) DEFAULT NULL,
  `nb_percentage` decimal(15,4) DEFAULT NULL,
  `nb_contract_period` int(11) DEFAULT NULL,
  `nb_notice_period` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `cm_comment` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_sale` int(11) DEFAULT NULL,
  `lb_contract_ref` varchar(255) DEFAULT NULL,
  `dt_contract_start` datetime DEFAULT NULL,
  `dt_contract_end` datetime DEFAULT NULL,
  PRIMARY KEY (`id_paying_detail`),
  KEY `id_payed` (`id_payed`),
  KEY `id_object_type` (`id_object_type`),
  KEY `id_object` (`id_object`),
  KEY `id_branch_payer` (`id_branch_payer`),
  KEY `id_frequency` (`id_frequency`),
  KEY `id_currency` (`id_currency`),
  KEY `id_user_sale` (`id_user_sale`),
  CONSTRAINT `paying_detail_ibfk_1` FOREIGN KEY (`id_payed`) REFERENCES `payed` (`id_payed`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `paying_detail_ibfk_2` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `paying_detail_ibfk_6` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `paying_detail`
--


--
-- Table structure for table `pop`
--

CREATE TABLE `pop` (
  `id_pop` int(11) NOT NULL AUTO_INCREMENT,
  `id_branch` int(11) DEFAULT NULL,
  `cd_pop` varchar(15) NOT NULL,
  `lb_pop` varchar(100) DEFAULT NULL,
  `cm_pop` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_contact` int(11) DEFAULT NULL,
  `id_housing_provider` int(11) DEFAULT NULL,
  `id_pop_type` int(11) DEFAULT NULL,
  `id_access` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_pop`),
  KEY `id_branch` (`id_branch`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_branch_2` (`id_branch`),
  KEY `id_user_create_by_2` (`id_user_create_by`),
  KEY `id_user_update_by_2` (`id_user_update_by`),
  KEY `IDX_19D0B71692FF4F48` (`id_contact`),
  KEY `IDX_19D0B716E44891AC` (`id_housing_provider`),
  KEY `IDX_19D0B716F8AC438E` (`id_pop_type`),
  KEY `IDX_19D0B716205E9EB9` (`id_access`),
  CONSTRAINT `FK_19D0B716205E9EB9` FOREIGN KEY (`id_access`) REFERENCES `access` (`id_access`),
  CONSTRAINT `FK_19D0B716536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_19D0B71668E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_19D0B71692FF4F48` FOREIGN KEY (`id_contact`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_19D0B7169DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_19D0B716E44891AC` FOREIGN KEY (`id_housing_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_19D0B716F8AC438E` FOREIGN KEY (`id_pop_type`) REFERENCES `pop_type` (`id_pop_type`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop`
--

INSERT INTO `pop` VALUES (22,23,'FR-SDS-EQX-3','POP SAINT-DENIS EQUINIX PA 3','ETRALI C/O EQUNIX PA3',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,1,NULL,NULL),(23,23,'FR-PTN-EQX-4','POP PANTIN EQUINIX PA 4','ETRALI C/O EQUINIX PA4dsd',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,1,NULL,NULL),(24,24,'UK-LON-EQX-1','POP LONDON EQUINIX 1','ETRALI C/O EQUINIX UK - LONDON',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,1,NULL,NULL),(25,23,'BE-ZVM-IXN-1','POP ZAVENTEM INTERXION 1','ETRALI C/O INTERXION BE 1 - ZAVENTEM',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,42,NULL,NULL),(26,23,'FR-NTE-LVL-3','POP NANTERRE LEVEL 3','ETRALI C/O LEVEL 3',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,1,NULL,NULL),(27,23,'FR-PAR-PLT-1','POP PARIS PONCELET 1','ETRALI C/O PONCELET 1 - PARIS',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,1,NULL,NULL),(28,23,'FR-NTE-IXN-2','POP NANTERRE INTERXION 2','ETRALI C/O INTERXION 2 - NANTERRE',1,'2014-10-22 19:09:14','2014-10-22 19:09:14',2,2,NULL,NULL,1,NULL,NULL),(29,23,'NL-AMS-IXN-1','POP AMSTERDAM INTERXION 1','ETRALI C/O INTERXION 1 - AMSTERDAM',1,'2014-10-22 00:00:00','2014-10-22 00:00:00',2,2,NULL,NULL,42,NULL,NULL),(30,23,'FRAPARAUB','POP Etrali Aubervilliers',NULL,1,'2014-10-24 16:59:44','2014-10-24 16:59:44',2,2,NULL,NULL,1,NULL,NULL);

--
-- Table structure for table `pop_additional_service`
--

CREATE TABLE `pop_additional_service` (
  `id_pop_additional_service` int(11) NOT NULL AUTO_INCREMENT,
  `cd_pop_additional_service` varchar(15) DEFAULT NULL,
  `lb_pop_additional_service` varchar(255) DEFAULT NULL,
  `cd_contract_ref` varchar(15) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_cost_center` int(11) DEFAULT NULL,
  `id_pop` int(11) DEFAULT NULL,
  `nb_quantity` decimal(10,0) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_pop_additional_service`),
  KEY `id_cost_center` (`id_cost_center`),
  KEY `id_provider` (`id_provider`),
  KEY `id_cost_center_2` (`id_cost_center`),
  KEY `id_pop` (`id_pop`),
  CONSTRAINT `FK_3928311D5FD4607C` FOREIGN KEY (`id_cost_center`) REFERENCES `cost_center` (`id_cost_center`),
  CONSTRAINT `FK_3928311D87745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_3928311DC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop_additional_service`
--


--
-- Table structure for table `pop_backbone_link_extremity`
--

CREATE TABLE `pop_backbone_link_extremity` (
  `id_backbone_link_extremity` int(11) NOT NULL,
  `id_pop` int(11) NOT NULL,
  PRIMARY KEY (`id_backbone_link_extremity`,`id_pop`),
  KEY `IDX_350BBA255CD7B06A` (`id_backbone_link_extremity`),
  KEY `IDX_350BBA2587745F4C` (`id_pop`),
  CONSTRAINT `FK_350BBA255CD7B06A` FOREIGN KEY (`id_backbone_link_extremity`) REFERENCES `backbone_link_extremity` (`id_backbone_link_extremity`),
  CONSTRAINT `FK_350BBA2587745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `pop_backbone_link_extremity`
--


--
-- Table structure for table `pop_contractual_detail`
--

CREATE TABLE `pop_contractual_detail` (
  `id_pop_contractual_detail` int(11) NOT NULL AUTO_INCREMENT,
  `id_provider` int(11) DEFAULT NULL,
  `id_pop` int(11) DEFAULT NULL,
  `id_pop_additional_service` int(11) DEFAULT NULL,
  `id_payer` int(11) DEFAULT NULL,
  `cd_payer_account` varchar(100) DEFAULT NULL,
  `cd_payer_order` varchar(100) DEFAULT NULL,
  `id_currency` int(15) DEFAULT NULL,
  `nb_nrc` decimal(10,0) DEFAULT NULL,
  `nb_mrc` decimal(10,0) DEFAULT NULL,
  `nb_percentage` decimal(10,0) DEFAULT NULL,
  `nb_paying_frequency` decimal(10,0) DEFAULT NULL,
  `nb_minimum_period` decimal(10,0) DEFAULT NULL,
  `nb_period_notice` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `cm_contractual` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_pop_contractual_detail`),
  KEY `id_provider` (`id_provider`),
  KEY `id_pop` (`id_pop`),
  KEY `id_pop_additional_service` (`id_pop_additional_service`),
  KEY `id_currency` (`id_currency`),
  CONSTRAINT `FK_CCDBC067398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_CCDBC06739F9868A` FOREIGN KEY (`id_pop_additional_service`) REFERENCES `pop_additional_service` (`id_pop_additional_service`),
  CONSTRAINT `FK_CCDBC06787745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_CCDBC067C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop_contractual_detail`
--


--
-- Table structure for table `pop_paying_detail`
--

CREATE TABLE `pop_paying_detail` (
  `id_pop_paying_detail` int(11) NOT NULL AUTO_INCREMENT,
  `id_pop` int(11) DEFAULT NULL,
  `id_branch_payer` int(11) DEFAULT NULL,
  `cd_branch_account` varchar(15) DEFAULT NULL,
  `cd_branch_order` varchar(15) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `nb_nrc` decimal(10,0) DEFAULT NULL,
  `nb_mrc` decimal(10,0) DEFAULT NULL,
  `nb_billing_frequency` int(11) DEFAULT NULL,
  `nb_contract_period` int(11) DEFAULT NULL,
  `nb_notice_period` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `cm_comment` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_sale` int(11) DEFAULT NULL,
  `lb_contract_ref` varchar(255) DEFAULT NULL,
  `dt_contract_start` datetime DEFAULT NULL,
  `dt_contract_end` datetime DEFAULT NULL,
  PRIMARY KEY (`id_pop_paying_detail`),
  KEY `id_pop` (`id_pop`),
  KEY `id_currency` (`id_currency`),
  CONSTRAINT `FK_C87BDB61398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_C87BDB6187745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop_paying_detail`
--


--
-- Table structure for table `pop_template`
--

CREATE TABLE `pop_template` (
  `id_pop` int(11) NOT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `cd_pop` varchar(15) NOT NULL,
  `lb_pop` varchar(100) DEFAULT NULL,
  `id_room` int(11) DEFAULT NULL,
  `lb_address` varchar(255) DEFAULT NULL,
  `cd_postcode` varchar(15) DEFAULT NULL,
  `id_city` int(11) DEFAULT NULL,
  `id_country` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `lb_building` varchar(100) DEFAULT NULL,
  `id_housing_provider` int(11) DEFAULT NULL,
  `bl_customer_pop` tinyint(1) DEFAULT NULL,
  `lb_localisation` varchar(255) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_pop`),
  KEY `id_branch` (`id_branch`),
  KEY `id_room` (`id_room`),
  KEY `id_city` (`id_city`),
  KEY `id_country` (`id_country`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_pop` (`id_pop`),
  KEY `id_branch_2` (`id_branch`),
  KEY `id_room_2` (`id_room`),
  KEY `id_city_2` (`id_city`),
  KEY `id_country_2` (`id_country`),
  KEY `id_user_create_by_2` (`id_user_create_by`),
  KEY `id_user_update_by_2` (`id_user_update_by`),
  CONSTRAINT `FK_3553EEB0536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3553EEB068E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3553EEB087745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_3553EEB08DEE6016` FOREIGN KEY (`id_country`) REFERENCES `country` (`id_country`),
  CONSTRAINT `FK_3553EEB09DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_3553EEB0A67B1E36` FOREIGN KEY (`id_city`) REFERENCES `city` (`id_city`),
  CONSTRAINT `FK_3553EEB0F9BF4D99` FOREIGN KEY (`id_room`) REFERENCES `room` (`id_room`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop_template`
--


--
-- Table structure for table `pop_type`
--

CREATE TABLE `pop_type` (
  `id_pop_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_pop_type` varchar(100) DEFAULT NULL,
  `lb_pop_type` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_pop_type`),
  KEY `IDX_A877AF1B536A5873` (`id_user_create_by`),
  KEY `IDX_A877AF1B68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_A877AF1B536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A877AF1B68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pop_type`
--

INSERT INTO `pop_type` VALUES (1,'Etrali','Etrali pop',1,2,2,'2013-06-13 00:00:00','2013-07-02 00:00:00',NULL),(2,'PEth13','Pop Ethernet 13',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(3,'PopT02','Pop Type Lille 02',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(4,'PopT55','Pop de type 55 Paris',0,2,2,'2013-06-13 00:00:00','2013-07-02 00:00:00',NULL),(5,'PEth135','Pop Ethernet 135',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(6,'PopT12','Pop Type Lille 12',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(7,'PopT56','Pop de type 55 Paris',0,2,2,'2014-06-13 00:00:00','2014-07-02 00:00:00',NULL),(8,'PEth136','Pop Ethernet 136',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(9,'PopT13','Pop Type Lille 13',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(10,'PopT57','Pop de type 55 Paris',0,2,2,'2015-06-13 00:00:00','2013-07-02 00:00:00',NULL),(11,'PEth137','Pop Ethernet 137',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(12,'PopT14','Pop Type Lille 14',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(13,'PopT58','Pop de type 55 Paris',0,2,2,'2016-06-13 00:00:00','2016-07-02 00:00:00',NULL),(14,'PEth138','Pop Ethernet 138',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(15,'PopT15','Pop Type Lille 15',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(16,'PopT59','Pop de type 55 Paris',0,2,2,'2017-06-13 00:00:00','2017-07-02 00:00:00',NULL),(17,'PEth139','Pop Ethernet 139',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(18,'PopT16','Pop Type Lille 16',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(19,'PopT60','Pop de type 55 Paris',0,2,2,'2018-06-13 00:00:00','2018-07-02 00:00:00',NULL),(20,'PEth140','Pop Ethernet 140',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(21,'PopT17','Pop Type Lille 17',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(22,'PopT61','Pop de type 55 Paris',0,2,2,'2019-06-13 00:00:00','2019-07-02 00:00:00',NULL),(23,'PEth141','Pop Ethernet 141',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(24,'PopT18','Pop Type Lille 18',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(25,'PopT62','Pop de type 55 Paris',0,2,2,'2020-06-13 00:00:00','2020-07-02 00:00:00',NULL),(26,'PEth142','Pop Ethernet 142',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(27,'PopT19','Pop Type Lille 19',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(28,'PopT63','Pop de type 55 Paris',0,2,2,'2021-06-13 00:00:00','2021-07-02 00:00:00',NULL),(29,'PEth143','Pop Ethernet 143',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(30,'PopT20','Pop Type Lille 20',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(31,'PopT64','Pop de type 55 Paris',0,2,2,'2022-06-13 00:00:00','2022-07-02 00:00:00',NULL),(32,'PEth144','Pop Ethernet 144',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(33,'PopT21','Pop Type Lille 21',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(34,'PopT65','Pop de type 55 Paris',0,2,2,'2023-06-13 00:00:00','2023-07-02 00:00:00',NULL),(35,'PEth145','Pop Ethernet 145',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(36,'PopT22','Pop Type Lille 22',0,2,2,'2013-07-02 00:00:00','2013-07-02 00:00:00',NULL),(37,'PopT66','Pop de type 55 Paris',0,2,2,'2024-06-13 00:00:00','2024-07-02 00:00:00',NULL),(38,'PEth146','Pop Ethernet 146',0,2,2,'2013-06-26 00:00:00','2013-06-26 00:00:00',NULL),(39,'CUST POP','Customer POP',1,2,2,'2014-01-22 00:00:00','2014-01-22 00:00:00',NULL),(40,'ETR POP','ETRALI  POP',0,2,2,'2014-01-22 00:00:00','2014-01-22 00:00:00',NULL),(41,'THI POP','THIRD PARTY POP',0,2,2,'2014-01-22 00:00:00','2014-01-22 00:00:00',NULL),(42,'Third Party POP','Third Party POP*',1,2,2,'2014-02-05 18:00:21','2014-02-05 18:00:21',NULL);

--
-- Table structure for table `port`
--

CREATE TABLE `port` (
  `id_port` int(11) NOT NULL AUTO_INCREMENT,
  `id_port_type` int(11) DEFAULT NULL,
  `cd_port` varchar(50) NOT NULL,
  `lb_port` varchar(100) NOT NULL,
  `cm_port` varchar(255) DEFAULT NULL,
  `bl_full` tinyint(1) DEFAULT NULL,
  `bl_link_ha` tinyint(1) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_port_sub_type` int(11) DEFAULT NULL,
  `id_sfp_module_type` int(11) DEFAULT NULL,
  `nb_timeslots` int(11) DEFAULT NULL,
  `nb_channels` int(11) DEFAULT NULL,
  `nb_number` int(11) DEFAULT NULL,
  `id_patch_panel` int(11) DEFAULT NULL,
  `id_card` int(11) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_port`),
  KEY `id_port_type` (`id_port_type`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `IDX_43915DCC6B034FEC` (`id_port_sub_type`),
  KEY `IDX_43915DCCF4CDAE15` (`id_sfp_module_type`),
  KEY `IDX_43915DCC61B7E895` (`id_patch_panel`),
  KEY `IDX_43915DCC9D3484D1` (`id_card`),
  KEY `IDX_43915DCC241EF16C` (`id_complex_model`),
  CONSTRAINT `FK_43915DCC241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_43915DCC536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_43915DCC61B7E895` FOREIGN KEY (`id_patch_panel`) REFERENCES `patch_panel` (`id_patch_panel`),
  CONSTRAINT `FK_43915DCC63C987B1` FOREIGN KEY (`id_port_type`) REFERENCES `port_type` (`id_port_type`),
  CONSTRAINT `FK_43915DCC68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_43915DCC6B034FEC` FOREIGN KEY (`id_port_sub_type`) REFERENCES `port_sub_type` (`id_port_sub_type`),
  CONSTRAINT `FK_43915DCC9D3484D1` FOREIGN KEY (`id_card`) REFERENCES `card` (`id_card`),
  CONSTRAINT `FK_43915DCCF4CDAE15` FOREIGN KEY (`id_sfp_module_type`) REFERENCES `sfp_module_type` (`id_sfp_module_type`)
) ENGINE=InnoDB AUTO_INCREMENT=283 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port`
--

INSERT INTO `port` VALUES (263,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 00:00:00','2014-10-21 00:00:00',2,2,33,NULL,NULL,NULL,1,NULL,170,NULL,'2014-10-21 00:00:00'),(264,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,2,NULL,170,NULL,NULL),(265,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,3,NULL,170,NULL,NULL),(266,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,4,NULL,170,NULL,NULL),(267,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,5,NULL,170,NULL,NULL),(268,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,6,NULL,170,NULL,NULL),(269,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,7,NULL,170,NULL,NULL),(270,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,8,NULL,170,NULL,NULL),(271,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,9,NULL,170,NULL,NULL),(272,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,10,NULL,170,NULL,NULL),(273,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:43:56','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,11,NULL,170,NULL,NULL),(274,6,'PORTETHERNET','PORT ETHERNET',NULL,1,0,1,'2014-10-21 12:45:50','2014-10-21 12:45:51',2,2,33,NULL,NULL,NULL,12,NULL,170,NULL,NULL),(275,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,1,NULL,178,NULL,NULL),(276,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,2,NULL,178,NULL,NULL),(277,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,3,NULL,178,NULL,NULL),(278,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,4,NULL,178,NULL,NULL),(279,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,1,NULL,180,NULL,NULL),(280,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,2,NULL,180,NULL,NULL),(281,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,3,NULL,180,NULL,NULL),(282,8,'1*10gig-xfp','1*10gig-xfp',NULL,1,0,1,'2014-11-10 12:15:40','2014-11-10 12:15:41',2,2,32,NULL,NULL,NULL,4,NULL,180,NULL,NULL);

--
-- Table structure for table `port_category`
--

CREATE TABLE `port_category` (
  `id_port_category` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_category` varchar(15) DEFAULT NULL,
  `lb_port_category` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_port_category`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_782F4FA0536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_782F4FA068E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_category`
--


--
-- Table structure for table `port_connector`
--

CREATE TABLE `port_connector` (
  `id_port_connector` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_connector` varchar(15) DEFAULT NULL,
  `lb_port_connector` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_port_connector`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_2E4777F6536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_2E4777F668E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_connector`
--


--
-- Table structure for table `port_family`
--

CREATE TABLE `port_family` (
  `id_port_family` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_family` varchar(15) DEFAULT NULL,
  `lb_port_family` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_port_family`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_82BFD17D536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_82BFD17D68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_family`
--


--
-- Table structure for table `port_instance`
--

CREATE TABLE `port_instance` (
  `id_port_instance` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_patch_panel_instance` int(11) DEFAULT NULL,
  `id_card_instance` int(11) DEFAULT NULL,
  `id_cable` int(11) DEFAULT NULL,
  `cd_port_instance` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `lb_port_instance` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cm_port_instance` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_port` int(11) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  `nb_number` int(11) DEFAULT NULL,
  `cd_provider_account` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_backbone_link_extremity_tech` int(11) DEFAULT NULL,
  `id_local_loop_extremity_tech` int(11) DEFAULT NULL,
  `id_port_type` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `lb_cross_connect` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_port_instance`),
  KEY `IDX_3C53E7BF536A5873` (`id_user_create_by`),
  KEY `IDX_3C53E7BF68E26F41` (`id_user_update_by`),
  KEY `IDX_3C53E7BF9ABD60CA` (`id_patch_panel_instance`),
  KEY `IDX_3C53E7BF4529AE38` (`id_card_instance`),
  KEY `IDX_3C53E7BFCA6C85E4` (`id_cable`),
  KEY `IDX_3C53E7BFC8B141CE` (`id_port`),
  KEY `IDX_3C53E7BF241EF16C` (`id_complex_model`),
  KEY `IDX_3C53E7BF8BA15092` (`id_backbone_link_extremity_tech`),
  KEY `IDX_3C53E7BF4A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_3C53E7BF63C987B1` (`id_port_type`),
  CONSTRAINT `FK_3C53E7BF241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_3C53E7BF4529AE38` FOREIGN KEY (`id_card_instance`) REFERENCES `card_instance` (`id_card_instance`),
  CONSTRAINT `FK_3C53E7BF4A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_3C53E7BF536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3C53E7BF63C987B1` FOREIGN KEY (`id_port_type`) REFERENCES `port_type` (`id_port_type`),
  CONSTRAINT `FK_3C53E7BF68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_3C53E7BF8BA15092` FOREIGN KEY (`id_backbone_link_extremity_tech`) REFERENCES `backbone_link_extremity_tech` (`id_backbone_link_extremity_tech`),
  CONSTRAINT `FK_3C53E7BF9ABD60CA` FOREIGN KEY (`id_patch_panel_instance`) REFERENCES `patch_panel_instance` (`id_patch_panel_instance`),
  CONSTRAINT `FK_3C53E7BFC8B141CE` FOREIGN KEY (`id_port`) REFERENCES `port` (`id_port`),
  CONSTRAINT `FK_3C53E7BFCA6C85E4` FOREIGN KEY (`id_cable`) REFERENCES `cable` (`id_cable`)
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `port_instance`
--


--
-- Table structure for table `port_segmentation_type`
--

CREATE TABLE `port_segmentation_type` (
  `id_port_segmentation_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_port_segmentation_type` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_port_segmentation_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_port_segmentation_type`),
  KEY `IDX_94B5E71B536A5873` (`id_user_create_by`),
  KEY `IDX_94B5E71B68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_94B5E71B536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_94B5E71B68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `port_segmentation_type`
--

INSERT INTO `port_segmentation_type` VALUES (1,2,2,'Framing','Framing',1,'2013-06-13 15:39:55','2013-06-13 15:39:55',NULL),(2,2,2,'Vlan','Vlan',1,NULL,NULL,NULL),(3,2,2,'None','None',1,NULL,NULL,NULL);

--
-- Table structure for table `port_status`
--

CREATE TABLE `port_status` (
  `id_port_status` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_status` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_port_status` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_port_status`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_5C59953A536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_5C59953A68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_status`
--


--
-- Table structure for table `port_sub_type`
--

CREATE TABLE `port_sub_type` (
  `id_port_sub_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_port_sub_type` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_port_sub_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_port_sub_type`),
  KEY `IDX_D52B9E89536A5873` (`id_user_create_by`),
  KEY `IDX_D52B9E8968E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_D52B9E89536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_D52B9E8968E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `port_sub_type`
--

INSERT INTO `port_sub_type` VALUES (31,2,2,'COPPER','Copper',1,'2014-10-21 12:01:16','2014-10-21 12:01:16',NULL),(32,2,2,'OPTICAL','Optical fiber connection',1,'2014-10-21 00:00:00','2014-10-21 00:00:00',NULL),(33,2,2,'MIXTE','Mixte Port (Optical or Copper)',1,'2014-10-21 12:06:58','2014-10-21 12:06:58',NULL);

--
-- Table structure for table `port_technology`
--

CREATE TABLE `port_technology` (
  `id_port_technology` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_technology` varchar(15) DEFAULT NULL,
  `lb_port_technology` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_port_technology`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_A8D8209536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A8D820968E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_technology`
--


--
-- Table structure for table `port_template`
--

CREATE TABLE `port_template` (
  `id_port` int(11) NOT NULL,
  `id_port_type` int(11) DEFAULT NULL,
  `id_card` int(11) DEFAULT NULL,
  `cd_port` varchar(15) NOT NULL,
  `lb_port` varchar(100) NOT NULL,
  `cm_port` varchar(255) DEFAULT NULL,
  `nb_bandwidth_used` decimal(10,0) DEFAULT NULL,
  `nb_bandwidth_max` decimal(10,0) DEFAULT NULL,
  `nb_ts_used` decimal(10,0) DEFAULT NULL,
  `nb_ts_cost` decimal(10,0) DEFAULT NULL,
  `nb_ts_max` decimal(10,0) DEFAULT NULL,
  `nb_ts_free` decimal(10,0) DEFAULT NULL,
  `bl_full` tinyint(1) DEFAULT NULL,
  `bl_full_cost` tinyint(1) DEFAULT NULL,
  `ar_ts_remote` varchar(255) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_port`),
  KEY `id_port_type` (`id_port_type`),
  KEY `id_card` (`id_card`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_port` (`id_port`),
  CONSTRAINT `FK_E90349E2536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_E90349E263C987B1` FOREIGN KEY (`id_port_type`) REFERENCES `port_type` (`id_port_type`),
  CONSTRAINT `FK_E90349E268E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_E90349E29D3484D1` FOREIGN KEY (`id_card`) REFERENCES `card` (`id_card`),
  CONSTRAINT `FK_E90349E2C8B141CE` FOREIGN KEY (`id_port`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_template`
--


--
-- Table structure for table `port_type`
--

CREATE TABLE `port_type` (
  `id_port_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_port_type` varchar(15) DEFAULT NULL,
  `nb_ts` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_bandwidth_assignee` int(11) DEFAULT NULL,
  `id_port_segmentation_type` int(11) DEFAULT NULL,
  `nb_max_services` int(11) DEFAULT NULL,
  `nb_ts_start` int(11) DEFAULT NULL,
  `nb_channels` int(11) DEFAULT NULL,
  `nb_channel_start` int(11) DEFAULT NULL,
  `nb_max_capacity` decimal(10,0) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_port_type`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `IDX_E3FC3B969464508C` (`id_port_segmentation_type`),
  KEY `IDX_E3FC3B9636EB4FA3` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_E3FC3B9636EB4FA3` FOREIGN KEY (`id_bandwidth_assignee`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_E3FC3B96536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_E3FC3B9668E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_E3FC3B969464508C` FOREIGN KEY (`id_port_segmentation_type`) REFERENCES `port_segmentation_type` (`id_port_segmentation_type`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `port_type`
--

INSERT INTO `port_type` VALUES (5,'PORTTYPE',1,1,'2014-10-02 18:40:20','2014-10-02 18:40:20',2,2,15,1,3,NULL,2,NULL,30,NULL),(6,'ETHERNET',NULL,1,'2014-10-21 00:00:00','2014-10-21 00:00:00',2,2,22,2,NULL,NULL,NULL,NULL,NULL,NULL),(7,'STM1',NULL,1,'2014-10-21 11:35:14','2014-10-21 11:35:14',2,2,15,1,NULL,NULL,NULL,NULL,NULL,NULL),(8,'10G Ethernet',NULL,1,'2014-11-10 12:08:54','2014-11-10 12:08:54',2,2,21,2,4068,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `product`
--

CREATE TABLE `product` (
  `id_product` int(11) NOT NULL AUTO_INCREMENT,
  `cd_product` varchar(15) NOT NULL,
  `lb_product` varchar(100) NOT NULL,
  `id_product_type` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_bandwidth_assignee` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_product`),
  KEY `id_product_type` (`id_product_type`),
  KEY `IDX_D34A04AD36EB4FA3` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_D34A04AD22F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`),
  CONSTRAINT `FK_D34A04AD36EB4FA3` FOREIGN KEY (`id_bandwidth_assignee`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `product`
--

INSERT INTO `product` VALUES (1,'TVC','Trade voice city',1,1,NULL,16),(2,'TVI','Trade voice intercity',2,1,NULL,16),(3,'TD','Trade data',3,1,NULL,16),(4,'BC','Business conference',4,1,NULL,15),(5,'NVA','Netrecova',5,1,NULL,16),(7,'TEMSL','TradExtra membership silver',6,1,NULL,14),(8,'TEMGL','TradExtra membership gold',6,1,NULL,14),(9,'TEMPL','TradExtra membership platinum',6,1,NULL,14),(10,'TETC','TradExtra talk city',10,1,NULL,15),(11,'TETA','TradExtra talk area',11,1,NULL,15),(12,'TETIA','TradExtra talk inter-area',12,1,NULL,15),(13,'BUC10','Bundle city 10',7,1,NULL,14),(14,'BUC25','Bundle city 25',7,1,NULL,14),(15,'BUC50','Bundle city 50',7,1,NULL,14),(16,'BUC200','Bundle city 200',7,1,NULL,14),(17,'BUA10','Bundle area 10',8,1,NULL,14),(18,'BUA25','Bundle area 25',8,1,NULL,14),(19,'BUA50','Bundle area 50',8,1,NULL,14),(20,'BUA200','Bundle area 200',8,1,NULL,14),(21,'BUI10','Bunde inter-area',9,1,NULL,14),(22,'BUI25','Bundle inter-area 25',9,1,NULL,14),(23,'BUI50','Bundle inter-area 50',9,1,NULL,14),(24,'BUI200','Bundle inter-area 200',9,1,NULL,14),(25,'TEDL','TradExtra datalink',27,1,NULL,18),(26,'TEPF','TradExtra plug feed',13,1,NULL,18),(27,'TEPT','TradExtra transa plug',13,1,NULL,18),(28,'TEPC','TradExtra clear plug',13,1,NULL,17),(29,'TEOS5','TradExtra one system 5 channels',14,1,NULL,14),(30,'TEOS10','TradExtra one system 10 channels',14,1,NULL,14),(31,'TEOS20','TradExtra one system 20 channels',14,1,NULL,14),(32,'TEOS30','TradExtra one system 30 channels',14,1,NULL,14),(33,'MET','Metrics',15,1,NULL,14),(34,'RA','Remote access',16,1,NULL,14),(35,'LLSCR','Live-Live smart call routing',17,1,NULL,15),(36,'FTSSCR','Follow-The-Sun smart call routing',18,1,NULL,15),(37,'TEF','TradExtra fix',19,1,NULL,14),(38,'FLT','Flexible trading',20,1,NULL,14),(39,'FLTU','Flexible turrets',21,1,NULL,14),(40,'FLCN','Flexible connect',22,1,NULL,17),(41,'FLRE','Flexible retrieve',23,1,NULL,17),(42,'BRS3','BET remote system (gateway 30 channels)',24,1,NULL,14),(43,'BRS64','BET remote system (gateway 64 channels)',25,1,NULL,14),(44,'BET','BET remote turret (Etranet Remote Trading)',26,1,NULL,14);

--
-- Table structure for table `product_caracs`
--

CREATE TABLE `product_caracs` (
  `id_product_caracs` int(11) NOT NULL AUTO_INCREMENT,
  `lb_carac` varchar(255) NOT NULL,
  `value1` varchar(255) DEFAULT NULL,
  `value2` varchar(255) DEFAULT NULL,
  `bl_mandatory` tinyint(1) NOT NULL,
  `position` int(11) NOT NULL,
  `lb_widget_type` varchar(255) NOT NULL,
  `nb_location` int(11) NOT NULL,
  `lb_field` varchar(255) NOT NULL,
  PRIMARY KEY (`id_product_caracs`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `product_caracs`
--

INSERT INTO `product_caracs` VALUES (1,'Connection','frame-to-frame','turret-to-turret',1,1,'choice',0,'lbConnection'),(2,'SIP','1','2',1,0,'checkbox',0,'blSip'),(3,'Nb of SIP','1','99',1,1,'choice',0,'nbSip'),(4,'Off net','0','1',1,4,'checkbox',0,'blOffnet'),(5,'Class of traffic','A','C',1,5,'choice',0,'blClass'),(6,'Layer','2','3',0,6,'choice',0,'lbLayer'),(7,'Backup site','dedicated','mutualised',1,7,'choice',0,'lbBackupSite'),(8,'Backup activation delay','2h','4h',1,8,'choice',0,'lbBackupDelay'),(9,'Routing plan management','co-managed','fully-managed',1,9,'choice',0,'lbRoutingPlan'),(10,'Max. nb of authorized services',NULL,NULL,1,10,'integer',0,'nbMaxServices'),(11,'Max. nb of authorized devices','0','20',1,11,'integer',0,'nbMaxDevices'),(12,'Channels',NULL,NULL,1,1,'integer',0,'nbChannels'),(13,'Multipoint','0','1',0,3,'checkbox',0,'blMultipoint'),(14,'Number of extremities','0','999999999',0,4,'integer',0,'nbExtremities'),(18,'Trader',NULL,NULL,0,1,'text',1,'lbTrader'),(19,'Acceptance contact',NULL,NULL,0,1,'special',1,'idAcceptContact'),(20,'Acceptance sent date',NULL,NULL,0,1,'datepicker',1,'dtAcceptSent'),(21,'Acceptance received date',NULL,NULL,0,1,'datepicker',1,'dtAcceptReceive'),(22,'Commercial route per extremity',NULL,NULL,0,1,'search_list:CommercialRoute',1,'idCommercialRoute'),(25,'Status of extremity',NULL,NULL,0,1,'search_list:StatusType',1,'idStatusType'),(26,'Customer order date',NULL,NULL,0,1,'datepicker',1,'dtCustomerOrder'),(27,'Requested delivery date',NULL,NULL,0,1,'datepicker',1,'dtDeliveryRequested'),(29,'Disaster recovery site','0','1',0,1,'checkbox',1,'lbRecoverySite'),(30,'Pipe Id',NULL,NULL,0,1,'text',2,'cdPipeId'),(31,'Backbone programmed date',NULL,NULL,0,1,'datepicker',2,'dtBackboneProgram'),(32,'End to end test date',NULL,NULL,0,1,'datepicker',2,'dtEndToEnd'),(33,'Cusomer VLAN ref',NULL,NULL,0,1,'text',2,'cdCustomerVlan'),(34,'NAT','0','1',0,1,'checkbox',2,'blNat'),(35,'WRED','0','1',0,1,'checkbox',2,'blWred'),(38,'Carrier',NULL,NULL,0,1,'search_list:Provider',2,'idCarrierProvider'),(42,'Technical route',NULL,NULL,0,1,'search_list:Route:motherfield~edit_serviceextremitytech_idServiceExtremity:action~Etrali_GinangBundle_Route_select',2,'idTechnicalRoute'),(43,'Technical bandwidth',NULL,NULL,0,1,'search_list:BandwidthAssignee',2,'idTechnicalBandwidth'),(44,'Netrecova ref',NULL,NULL,0,3,'search_list:Service:motherfield~edit_serviceextremity_idDeliveryAddress:action~Etrali_GinangBundle_Service_netrecova',1,'idNetrecova'),(45,'Bandwidth',NULL,NULL,1,0,'search_list:BandwidthAssignee',1,'idBandwidth'),(46,'Membership ref',NULL,NULL,0,3,'search_list_membership:Service',0,'idMembership'),(47,'Bundle city ref',NULL,NULL,0,3,'search_list_connected:Service:7,8,9',0,'idBundle'),(48,'Bundle area ref',NULL,NULL,0,3,'search_list_connected:Service:8,9',0,'idBundle'),(49,'Bundle intercity ref',NULL,NULL,0,3,'search_list_connected:Service:9',0,'idBundle'),(50,'Flexible trading ref',NULL,NULL,0,3,'search_list:Service:motherentity~idProduct:motherfield~=38',0,'idFlexibleTrading');

--
-- Table structure for table `product_category`
--

CREATE TABLE `product_category` (
  `id_product_category` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(255) NOT NULL,
  PRIMARY KEY (`id_product_category`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `product_category`
--

INSERT INTO `product_category` VALUES (1,'Data'),(2,'Voice'),(3,'Other');

--
-- Table structure for table `product_commercials`
--

CREATE TABLE `product_commercials` (
  `id_product_commercials` int(11) NOT NULL AUTO_INCREMENT,
  `id_product_type` int(11) DEFAULT NULL,
  `lb_product_commercials` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id_product_commercials`),
  KEY `IDX_86398C0822F700FA` (`id_product_type`),
  CONSTRAINT `FK_86398C0822F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `product_commercials`
--


--
-- Table structure for table `product_type`
--

CREATE TABLE `product_type` (
  `id_product_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_product_type` varchar(15) NOT NULL,
  `lb_product_type` text NOT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `lb_install_account` varchar(15) NOT NULL,
  `lb_monthly_account` varchar(15) NOT NULL,
  `id_product_category` int(11) DEFAULT NULL,
  `bl_legacy` tinyint(1) NOT NULL,
  `bl_provisioning` tinyint(1) NOT NULL,
  `bl_billable` tinyint(1) NOT NULL,
  `bl_deactivated` tinyint(1) NOT NULL,
  `lb_dependence_types` varchar(255) DEFAULT NULL,
  `bl_connected` tinyint(1) NOT NULL,
  `nb_extremities` int(11) DEFAULT NULL,
  `nb_max_extremities` int(11) NOT NULL,
  PRIMARY KEY (`id_product_type`),
  KEY `id_product_category` (`id_product_category`),
  CONSTRAINT `product_type_ibfk_1` FOREIGN KEY (`id_product_category`) REFERENCES `product_category` (`id_product_category`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `product_type`
--

INSERT INTO `product_type` VALUES (1,'TVC','Trade Voice City','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00001','GINA-A00002',2,0,1,1,1,'NVA:1',0,2,2),(2,'TVI','Trade Voice Intercity','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00003','GINA-A00004',2,0,1,1,1,'NVA:1',0,2,2),(3,'TD','Trade Data','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00005','GINA-A00006',1,0,1,1,1,'NVA:1',0,2,2),(4,'BCO','Business Conference','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00007','GINA-A00008',2,0,1,1,1,'NVA:1',0,2,10000),(5,'RCV','NetRecova','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00009','GINA-A00010',3,0,1,1,1,NULL,1,2,10000),(6,'MSP','TradExtra Membership','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00011','GINA-A00012',3,0,0,1,1,NULL,1,2,2),(7,'BDL','Bundle City','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00013','GINA-A00014',3,0,0,1,1,'TEM:1',1,1,2),(8,'BDL','Bundle Area','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00014','GINA-A00015',3,0,0,1,1,'TEM:1',1,1,2),(9,'BDL','Bundle Inter-Area','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00016','GINA-A00017',3,0,0,1,1,'TEM:1',1,1,2),(10,'TETC','TradExtra Talk City','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00018','GINA-A00019',2,0,1,0,1,'NVA:1 & (BUC:1 | BUA:1 | BUI:1)',0,2,2),(11,'TETA','TradExtra Talk Area','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00020','GINA-A00021',2,0,1,0,1,'NVA:1 & (BUA:1 | BUI:1)',0,2,2),(12,'TETIA','TradExtra Talk Inter-Area','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00022','GINA-A00023',2,0,1,0,1,'NVA:1 & BUI:1',0,2,2),(13,'TEP','TradExtra Plug','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00023','GINA-A00024',1,0,1,1,1,'TEM:1',0,2,2),(14,'TEOS','TradExtra One system','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00025','GINA-A00026',2,0,1,1,1,'TEM:1 & NVA:1',0,2,2),(15,'MET','Metrics','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00027','GINA-A00028',3,0,0,1,1,'TEM:1',0,2,2),(16,'RA','Remote Access','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00029','GINA-A00030',3,0,1,1,1,NULL,0,2,2),(17,'SCR','Live-Live Smart Call Routing','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00030','GINA-A00031',2,0,1,1,1,NULL,0,2,2),(18,'SCR','Follow-The-Sun Smart Call Routing','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00032','GINA-A00033',2,0,1,1,1,NULL,0,2,2),(19,'TEF','TradExtra Fix','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00033','GINA-A00034',1,0,1,1,1,'TEM:1 & MET:1',0,2,2),(20,'FTR','Flexible Trading','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00033','GINA-A00034',3,0,0,1,1,NULL,1,1,10000),(21,'FTU','Flexible Turrets','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00035','GINA-A00036',3,0,0,1,1,'FLT:1',0,1,2),(22,'FLCN','Flexible Connect','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00036','GINA-A00037',1,0,1,1,1,'FLT:1',0,2,2),(23,'FLRE','Flexible Retrieve','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00037','GINA-A00038',1,0,1,1,1,NULL,0,2,2),(24,'BRS30','BET Remote System (Gateway 30 channels)','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00040','GINA-A00041',2,1,1,1,1,NULL,0,2,2),(25,'BRS64','BET Remote System (Gateway 64)','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00042','GINA-A00043',2,1,1,1,1,NULL,0,2,2),(26,'BRT','BET Remote Turret (Etranet Remote Trading)','2013-12-09 00:00:00','2013-12-09 00:00:00',NULL,'GINA-A00044','GINA-A00045',2,1,1,1,1,NULL,0,2,2),(27,'PMP','TradExtra Datalink','2014-01-03 00:00:00','2014-01-03 00:00:00',NULL,'GINA-A00046','GINA-A00047',1,0,1,1,1,'TEM:1 & NVA:1',0,2,10000);

--
-- Table structure for table `product_type_product_caracs`
--

CREATE TABLE `product_type_product_caracs` (
  `id_product_type` int(11) NOT NULL,
  `id_product_caracs` int(11) NOT NULL,
  PRIMARY KEY (`id_product_type`,`id_product_caracs`),
  KEY `IDX_F9F1D0EA22F700FA` (`id_product_type`),
  KEY `IDX_F9F1D0EACB15AFEA` (`id_product_caracs`),
  CONSTRAINT `FK_F9F1D0EA22F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`),
  CONSTRAINT `FK_F9F1D0EACB15AFEA` FOREIGN KEY (`id_product_caracs`) REFERENCES `product_caracs` (`id_product_caracs`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `product_type_product_caracs`
--

INSERT INTO `product_type_product_caracs` VALUES (1,1),(1,2),(1,3),(1,4),(1,18),(1,19),(1,20),(1,21),(1,30),(1,31),(1,32),(1,38),(1,42),(1,44),(2,1),(2,2),(2,3),(2,4),(2,18),(2,19),(2,20),(2,21),(2,30),(2,31),(2,32),(2,38),(2,42),(2,44),(3,4),(3,5),(3,6),(3,19),(3,20),(3,21),(3,30),(3,31),(3,32),(3,33),(3,34),(3,35),(3,38),(3,42),(3,44),(4,2),(4,3),(4,13),(4,14),(4,18),(4,19),(4,20),(4,21),(4,22),(4,25),(4,26),(4,27),(4,30),(4,31),(4,32),(4,38),(4,42),(4,44),(5,7),(5,8),(5,9),(5,29),(5,30),(5,31),(5,32),(5,38),(7,10),(7,46),(8,10),(8,44),(9,10),(9,46),(10,1),(10,2),(10,3),(10,18),(10,19),(10,20),(10,21),(10,30),(10,31),(10,32),(10,38),(10,42),(10,44),(10,47),(11,1),(11,2),(11,3),(11,18),(11,19),(11,20),(11,21),(11,30),(11,31),(11,32),(11,38),(11,42),(11,44),(11,48),(12,1),(12,2),(12,3),(12,18),(12,19),(12,20),(12,21),(12,42),(12,44),(12,49),(13,6),(13,30),(13,31),(13,32),(13,38),(13,42),(13,46),(14,12),(14,19),(14,20),(14,21),(14,30),(14,31),(14,32),(14,38),(14,42),(14,44),(14,46),(15,46),(16,30),(16,31),(16,38),(17,1),(17,2),(17,3),(17,14),(17,18),(17,19),(17,20),(17,21),(17,22),(17,25),(17,26),(17,27),(17,30),(17,31),(17,32),(17,38),(17,42),(18,1),(18,2),(18,3),(18,14),(18,30),(18,31),(18,32),(18,38),(18,42),(19,30),(19,31),(19,32),(19,38),(19,42),(19,44),(19,46),(21,11),(21,50),(22,30),(22,31),(22,32),(22,33),(22,38),(22,42),(22,50),(23,30),(23,31),(23,32),(23,33),(23,38),(23,42),(24,18),(24,19),(24,20),(24,21),(24,38),(25,18),(25,19),(25,20),(25,21),(25,38),(26,18),(26,19),(26,20),(26,21),(26,38),(27,5),(27,6),(27,13),(27,19),(27,20),(27,21),(27,22),(27,25),(27,26),(27,27),(27,30),(27,31),(27,32),(27,33),(27,34),(27,35),(27,38),(27,42),(27,43),(27,44),(27,45),(27,46);

--
-- Table structure for table `product_type_product_dependence`
--

CREATE TABLE `product_type_product_dependence` (
  `id_product_type` int(11) NOT NULL,
  `id_product_dependence` int(11) NOT NULL,
  PRIMARY KEY (`id_product_type`,`id_product_dependence`),
  KEY `IDX_8674ACCB22F700FA` (`id_product_type`),
  KEY `IDX_8674ACCB2B1CE4CE` (`id_product_dependence`),
  CONSTRAINT `FK_8674ACCB22F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`),
  CONSTRAINT `FK_8674ACCB2B1CE4CE` FOREIGN KEY (`id_product_dependence`) REFERENCES `product_type` (`id_product_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `product_type_product_dependence`
--

INSERT INTO `product_type_product_dependence` VALUES (1,5),(2,5),(3,5),(4,5),(7,6),(8,6),(9,6),(10,5),(10,7),(10,8),(10,9),(11,5),(11,8),(11,9),(12,5),(12,9),(13,6),(14,5),(14,6),(15,6),(19,5),(19,6),(21,20),(22,20),(27,5),(27,6);

--
-- Table structure for table `product_type_transaction_type`
--

CREATE TABLE `product_type_transaction_type` (
  `id_product_type` int(11) NOT NULL,
  `id_transaction_type` int(11) NOT NULL,
  PRIMARY KEY (`id_product_type`,`id_transaction_type`),
  KEY `IDX_4DAD621022F700FA` (`id_product_type`),
  KEY `IDX_4DAD62108D173C59` (`id_transaction_type`),
  CONSTRAINT `FK_4DAD621022F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`),
  CONSTRAINT `FK_4DAD62108D173C59` FOREIGN KEY (`id_transaction_type`) REFERENCES `TransactionType` (`id_transaction_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `product_type_transaction_type`
--

INSERT INTO `product_type_transaction_type` VALUES (1,9),(1,10),(1,17),(2,9),(2,10),(2,17),(3,9),(3,10),(3,11),(3,17);

--
-- Table structure for table `profile`
--

CREATE TABLE `profile` (
  `id_profile` int(11) NOT NULL AUTO_INCREMENT,
  `cd_profile` varchar(15) NOT NULL,
  `lb_profile` varchar(100) NOT NULL,
  `cm_profile` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_profile`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `profile`
--


--
-- Table structure for table `progression`
--

CREATE TABLE `progression` (
  `id_progression` int(11) NOT NULL AUTO_INCREMENT,
  `id_event` int(11) DEFAULT NULL,
  `id_status_type` int(11) DEFAULT NULL,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `bl_status_mail` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_progression`),
  KEY `id_event` (`id_event`),
  KEY `id_status_type` (`id_status_type`),
  KEY `id_object_type` (`id_object_type`),
  CONSTRAINT `FK_D5B250739D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`),
  CONSTRAINT `FK_D5B25073ACCA374A` FOREIGN KEY (`id_status_type`) REFERENCES `status_type` (`id_status_type`),
  CONSTRAINT `FK_D5B25073D52B4B97` FOREIGN KEY (`id_event`) REFERENCES `event` (`id_event`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `progression`
--


--
-- Table structure for table `project`
--

CREATE TABLE `project` (
  `id_project` int(11) NOT NULL AUTO_INCREMENT,
  `id_customer` int(11) DEFAULT NULL,
  `cd_project` varchar(15) DEFAULT NULL,
  `descr` text,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  PRIMARY KEY (`id_project`),
  KEY `id_customer` (`id_customer`),
  CONSTRAINT `FK_2FB3D0EED1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `project`
--


--
-- Table structure for table `protocol`
--

CREATE TABLE `protocol` (
  `id_protocol` int(11) NOT NULL AUTO_INCREMENT,
  `cd_protocol` varchar(15) DEFAULT NULL,
  `lb_protocol` varchar(45) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_protocol`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `protocol`
--


--
-- Table structure for table `provider`
--

CREATE TABLE `provider` (
  `id_provider` int(11) NOT NULL AUTO_INCREMENT,
  `lb_provider` varchar(100) DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `id_company_type` int(11) DEFAULT NULL,
  `nb_contractual_period` int(11) DEFAULT NULL,
  `cd_provider_account` varchar(45) DEFAULT NULL,
  `id_notice_period` int(11) DEFAULT NULL,
  `cd_provider` varchar(10) NOT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `carrier_name` varchar(255) DEFAULT NULL,
  `id_country_provider_group` int(11) DEFAULT NULL,
  `id_billing_frequency` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_provider`) USING BTREE,
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_company_type` (`id_company_type`),
  KEY `id_currency` (`id_currency`),
  KEY `IDX_92C4739CA8BDF55D` (`id_country_provider_group`),
  KEY `IDX_92C4739C635BB25A` (`id_billing_frequency`),
  KEY `IDX_92C4739C20848936` (`id_notice_period`),
  CONSTRAINT `FK_92C4739C20848936` FOREIGN KEY (`id_notice_period`) REFERENCES `notice_period` (`id_notice_period`),
  CONSTRAINT `FK_92C4739C398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_92C4739C536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_92C4739C635BB25A` FOREIGN KEY (`id_billing_frequency`) REFERENCES `billing_frequency` (`id_billing_frequency`),
  CONSTRAINT `FK_92C4739C68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_92C4739CA8BDF55D` FOREIGN KEY (`id_country_provider_group`) REFERENCES `country_provider_group` (`id_country_provider_group`),
  CONSTRAINT `FK_92C4739CEC7238B5` FOREIGN KEY (`id_company_type`) REFERENCES `company_type` (`id_company_type`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provider`
--

INSERT INTO `provider` VALUES (19,'ELEXO','2014-10-21 11:12:46',2,'2014-10-21 11:12:46',2,1,NULL,23,NULL,'1234567',6,'ELEXO',NULL,NULL,NULL,NULL,NULL),(20,'VERIZON FRANCE','2014-10-22 19:24:35',2,'2014-10-22 19:24:35',2,1,NULL,22,12,'FR0581169',8,'FR-VRZ',73,NULL,'VERIZON FRANCE',NULL,1),(21,'VERIZON NETHERLANDS','2014-10-22 19:28:01',2,'2014-10-22 19:28:01',2,1,NULL,22,12,'X000018883',8,'NL-VRZ',73,NULL,'VERIZON',17,1),(22,'TEIN TECHNOLOGY','2014-10-24 11:03:12',2,'2014-10-24 11:03:12',2,1,NULL,23,12,'CT00194-F002',8,'BE-TEN',73,NULL,'TEIN',NULL,1),(23,'ORANGE','2014-10-24 13:01:04',2,'2014-10-24 13:01:04',2,1,NULL,22,4,'700268328',8,'FR-OBS',73,NULL,'ORANGE',NULL,1);

--
-- Table structure for table `provider_address`
--

CREATE TABLE `provider_address` (
  `id_provider_address` int(11) NOT NULL AUTO_INCREMENT,
  `id_provider` int(11) DEFAULT NULL,
  `id_address` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_provider_address`),
  KEY `id_provider` (`id_provider`),
  KEY `id_address` (`id_address`),
  CONSTRAINT `FK_FD16CD26C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_FD16CD26D3D3C6F1` FOREIGN KEY (`id_address`) REFERENCES `address` (`id_address`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provider_address`
--


--
-- Table structure for table `provider_contact`
--

CREATE TABLE `provider_contact` (
  `id_provider_contact` int(11) NOT NULL AUTO_INCREMENT,
  `id_provider` int(11) DEFAULT NULL,
  `cd_provider_contact` varchar(15) DEFAULT NULL,
  `id_civility` int(11) DEFAULT NULL,
  `id_provider_address` int(11) DEFAULT NULL,
  `lb_lastname` varchar(100) DEFAULT NULL,
  `lb_firstname` varchar(100) DEFAULT NULL,
  `lb_job_title` varchar(100) DEFAULT NULL,
  `lb_phone` varchar(20) DEFAULT NULL,
  `lb_fax` varchar(20) DEFAULT NULL,
  `lb_mobile_phone` varchar(20) DEFAULT NULL,
  `lb_email` varchar(50) DEFAULT NULL,
  `cm_comments` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `id_contact_type` int(11) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  PRIMARY KEY (`id_provider_contact`),
  KEY `t_provider_contact_id_provider` (`id_provider`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_provider` (`id_provider`),
  KEY `id_civility` (`id_civility`),
  KEY `id_provider_address` (`id_provider_address`),
  KEY `id_contact_type` (`id_contact_type`),
  CONSTRAINT `FK_BC3A449F1E9C98F7` FOREIGN KEY (`id_provider_address`) REFERENCES `provider_address` (`id_provider_address`),
  CONSTRAINT `FK_BC3A449F536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_BC3A449F6896AB0C` FOREIGN KEY (`id_civility`) REFERENCES `civility` (`id_civility`),
  CONSTRAINT `FK_BC3A449F68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_BC3A449F87E0A0A4` FOREIGN KEY (`id_contact_type`) REFERENCES `contact_type` (`id_contact_type`),
  CONSTRAINT `FK_BC3A449FC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provider_contact`
--


--
-- Table structure for table `provider_pop`
--

CREATE TABLE `provider_pop` (
  `id_provider_pop` int(11) NOT NULL AUTO_INCREMENT,
  `id_pop` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_provider_pop`),
  KEY `id_pop` (`id_pop`),
  KEY `id_provider` (`id_provider`),
  CONSTRAINT `FK_440DC6DB87745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_440DC6DBC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `provider_pop`
--


--
-- Table structure for table `provider_worldwide_group`
--

CREATE TABLE `provider_worldwide_group` (
  `id_provider_worldwide_group` int(11) NOT NULL AUTO_INCREMENT,
  `cd_provider_worldwide_group` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_provider_worldwide_group` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `comment` longtext COLLATE utf8_unicode_ci,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_provider_worldwide_group`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `provider_worldwide_group`
--

INSERT INTO `provider_worldwide_group` VALUES (5,'WLD-GRP-VRZ','Worldwide Group Verizon',1,'2014-10-28 00:00:00','2014-10-28 00:00:00',NULL,NULL),(6,'WLD-GRP-CLT','Worldwide Group Colt',1,'2014-10-28 12:00:41','2014-10-28 12:00:41',NULL,NULL),(7,'WLD-GRP-OBS','Worldwide Group OBS',1,'2014-10-28 12:01:08','2014-10-28 12:01:08',NULL,NULL);

--
-- Table structure for table `rate`
--

CREATE TABLE `rate` (
  `id_rate` int(11) NOT NULL AUTO_INCREMENT,
  `lb_rate` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `nb_rate` int(11) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_rate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `rate`
--


--
-- Table structure for table `rate_percent_value_type`
--

CREATE TABLE `rate_percent_value_type` (
  `id_rate_percent_value_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_rate_percent_value_type` varchar(15) DEFAULT NULL,
  `lb_rate_percent_value_type` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_rate_percent_value_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `rate_percent_value_type`
--


--
-- Table structure for table `rebate_credit`
--

CREATE TABLE `rebate_credit` (
  `id_rebate_credit` int(11) NOT NULL AUTO_INCREMENT,
  `cd_rebate_credit` varchar(45) DEFAULT NULL,
  `lb_rebate_credit` varchar(255) DEFAULT NULL,
  `id_user` int(11) DEFAULT NULL,
  `mt_value` int(11) DEFAULT NULL,
  `id_rate_percent_value_type` int(11) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `id_billing_period` int(11) DEFAULT NULL,
  `dt_creation` datetime DEFAULT NULL,
  `lb_filter` varchar(255) DEFAULT NULL,
  `bl_execute` tinyint(1) DEFAULT NULL,
  `bl_previous_invoice` tinyint(1) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `cm_comment` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id_rebate_credit`),
  KEY `id_user` (`id_user`),
  KEY `id_rate_percent_value_type` (`id_rate_percent_value_type`),
  KEY `id_currency` (`id_currency`),
  KEY `id_billing_period` (`id_billing_period`),
  CONSTRAINT `FK_1E6ABEE732EA2F22` FOREIGN KEY (`id_rate_percent_value_type`) REFERENCES `rate_percent_value_type` (`id_rate_percent_value_type`),
  CONSTRAINT `FK_1E6ABEE7398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_1E6ABEE76B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_1E6ABEE7BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `rebate_credit`
--


--
-- Table structure for table `rebate_credit_service`
--

CREATE TABLE `rebate_credit_service` (
  `id_rebate_credit_service` int(11) NOT NULL AUTO_INCREMENT,
  `id_service` int(11) DEFAULT NULL,
  `id_rebate_credit` int(11) DEFAULT NULL,
  `id_billing_detail` int(11) DEFAULT NULL,
  `nb_mrc` decimal(15,4) DEFAULT NULL,
  PRIMARY KEY (`id_rebate_credit_service`),
  KEY `id_service` (`id_service`),
  KEY `id_rebate_credit` (`id_rebate_credit`),
  KEY `id_billing_detail` (`id_billing_detail`),
  CONSTRAINT `rebate_credit_service_ibfk_1` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`) ON DELETE CASCADE ON UPDATE NO ACTION,
  CONSTRAINT `rebate_credit_service_ibfk_2` FOREIGN KEY (`id_rebate_credit`) REFERENCES `rebate_credit` (`id_rebate_credit`) ON DELETE CASCADE ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `rebate_credit_service`
--


--
-- Table structure for table `requirement`
--

CREATE TABLE `requirement` (
  `id_requirement` int(11) NOT NULL AUTO_INCREMENT,
  `cd_requirement` varchar(15) DEFAULT NULL,
  `lb_requirement` varchar(250) DEFAULT NULL,
  `id_requirement_type` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_requirement`),
  KEY `id_requirement_type` (`id_requirement_type`),
  CONSTRAINT `FK_DB3F5550BB4AFCC1` FOREIGN KEY (`id_requirement_type`) REFERENCES `requirement_type` (`id_requirement_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `requirement`
--


--
-- Table structure for table `requirement_type`
--

CREATE TABLE `requirement_type` (
  `id_requirement_type` int(15) NOT NULL AUTO_INCREMENT,
  `cd_requirement_type` varchar(15) NOT NULL,
  `lb_requirement_type` varchar(250) DEFAULT NULL,
  `nb_quantity` decimal(10,0) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_requirement_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `requirement_type`
--


--
-- Table structure for table `room`
--

CREATE TABLE `room` (
  `id_room` int(11) NOT NULL AUTO_INCREMENT,
  `cd_room` varchar(15) NOT NULL,
  `lb_room` varchar(100) DEFAULT NULL,
  `id_floor` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_room`),
  KEY `id_floor` (`id_floor`),
  CONSTRAINT `FK_729F519B50C0971E` FOREIGN KEY (`id_floor`) REFERENCES `floor` (`id_floor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `room`
--


--
-- Table structure for table `route`
--

CREATE TABLE `route` (
  `id_route` int(11) NOT NULL AUTO_INCREMENT,
  `cd_route` varchar(15) DEFAULT NULL,
  `lb_route` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_commercial_route` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_city_a` int(11) DEFAULT NULL,
  `id_city_b` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_route`),
  KEY `IDX_2C42079536A5873` (`id_user_create_by`),
  KEY `IDX_2C4207968E26F41` (`id_user_update_by`),
  KEY `IDX_2C42079CE307789` (`id_commercial_route`),
  KEY `IDX_2C42079355C08C7` (`id_city_a`),
  KEY `IDX_2C42079AC55597D` (`id_city_b`),
  CONSTRAINT `FK_2C42079AC55597D` FOREIGN KEY (`id_city_b`) REFERENCES `city` (`id_city`),
  CONSTRAINT `FK_2C42079355C08C7` FOREIGN KEY (`id_city_a`) REFERENCES `city` (`id_city`),
  CONSTRAINT `FK_2C42079536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_2C4207968E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_2C42079CE307789` FOREIGN KEY (`id_commercial_route`) REFERENCES `commercial_route` (`id_commercial_route`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `route`
--

INSERT INTO `route` VALUES (5,NULL,'LONDON >> PARIS >> LUXEMBURG',1,2,2,20,'2014-09-29 00:00:00','2014-09-29 00:00:00',532,559),(6,NULL,'LONDON >> PARIS',1,2,2,20,'2014-09-29 17:36:30','2014-09-29 17:36:30',532,531),(7,NULL,'LONDON >> SINGAPORE',1,2,2,47,'2014-09-29 17:37:08','2014-09-29 17:37:08',532,562),(8,NULL,'LUXEMBURG >> AMSTERDAM',1,2,2,18,'2014-09-29 17:38:57','2014-09-29 17:38:57',559,560),(9,NULL,'HONG KONG >> HONG KONG',1,2,2,37,'2014-09-29 17:39:38','2014-09-29 17:39:38',554,554),(10,NULL,NULL,1,2,2,9,'2014-11-14 00:00:00','2014-11-14 00:00:00',536,538),(11,NULL,NULL,1,2,2,9,'2014-11-14 17:20:23','2014-11-14 17:20:23',531,536),(12,NULL,NULL,1,2,2,9,'2014-11-14 17:21:05','2014-11-14 17:21:05',538,532),(13,NULL,NULL,1,2,2,12,'2014-11-14 17:24:46','2014-11-14 17:24:46',536,538);

--
-- Table structure for table `route_commercial`
--

CREATE TABLE `route_commercial` (
  `id_route_commercial` int(11) NOT NULL AUTO_INCREMENT,
  `cd_route_commercial` varchar(50) DEFAULT NULL,
  `lb_route_commercial` varchar(255) DEFAULT NULL,
  `id_route_real` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_route_commercial`),
  KEY `id_route_real` (`id_route_real`),
  CONSTRAINT `FK_782439499E434807` FOREIGN KEY (`id_route_real`) REFERENCES `route_real` (`id_route_real`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `route_commercial`
--


--
-- Table structure for table `route_link`
--

CREATE TABLE `route_link` (
  `id_route_link` int(11) NOT NULL AUTO_INCREMENT,
  `id_route_physical` int(11) DEFAULT NULL,
  `id_link` int(11) DEFAULT NULL,
  `nb_position` decimal(10,0) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_route_link`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_route_physical` (`id_route_physical`),
  KEY `id_link` (`id_link`),
  CONSTRAINT `FK_9BE998741463C525` FOREIGN KEY (`id_route_physical`) REFERENCES `route_physical` (`id_route_physical`),
  CONSTRAINT `FK_9BE99874536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_9BE9987468E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_9BE99874BD8C85F3` FOREIGN KEY (`id_link`) REFERENCES `link` (`id_link`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `route_link`
--


--
-- Table structure for table `route_physical`
--

CREATE TABLE `route_physical` (
  `id_route_physical` int(11) NOT NULL AUTO_INCREMENT,
  `cd_route_physical` varchar(15) DEFAULT NULL,
  `lb_route_physical` varchar(15) DEFAULT NULL,
  `id_ets_1` int(11) DEFAULT NULL,
  `id_ets_2` int(11) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_route_physical`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_ets_1` (`id_ets_1`),
  KEY `id_ets_2` (`id_ets_2`),
  CONSTRAINT `FK_290578233E6BBFC9` FOREIGN KEY (`id_ets_2`) REFERENCES `ts` (`id_ts`),
  CONSTRAINT `FK_29057823536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_2905782368E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_29057823A762EE73` FOREIGN KEY (`id_ets_1`) REFERENCES `ts` (`id_ts`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `route_physical`
--


--
-- Table structure for table `route_real`
--

CREATE TABLE `route_real` (
  `id_route_real` int(11) NOT NULL AUTO_INCREMENT,
  `cd_route_real` varchar(50) DEFAULT NULL,
  `lb_route_real` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_route_real`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `route_real`
--


--
-- Table structure for table `row`
--

CREATE TABLE `row` (
  `id_row` int(11) NOT NULL AUTO_INCREMENT,
  `id_room` int(11) DEFAULT NULL,
  `cd_row` varchar(15) DEFAULT NULL,
  `lb_row` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_row`),
  KEY `id_room` (`id_room`),
  CONSTRAINT `FK_8430F6DBF9BF4D99` FOREIGN KEY (`id_room`) REFERENCES `room` (`id_room`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `row`
--


--
-- Table structure for table `screen`
--

CREATE TABLE `screen` (
  `id_screen` int(11) NOT NULL AUTO_INCREMENT,
  `lb_screen` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_public` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_screen`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `screen`
--


--
-- Table structure for table `service`
--

CREATE TABLE `service` (
  `id_service` int(11) NOT NULL AUTO_INCREMENT,
  `id_product` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `id_commercial_route` int(11) DEFAULT NULL,
  `id_old_bandwidth` int(11) DEFAULT NULL,
  `id_bandwidth` int(11) DEFAULT NULL,
  `id_transaction_status` int(11) DEFAULT NULL,
  `id_transaction_type` int(11) DEFAULT NULL,
  `cd_service` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_customer_ref` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_order` datetime DEFAULT NULL,
  `dt_delivery_requested` datetime DEFAULT NULL,
  `dt_delivery` datetime DEFAULT NULL,
  `lb_comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_init_terminate` datetime DEFAULT NULL,
  `dt_init_updown` datetime DEFAULT NULL,
  `dt_requested_updwon` datetime DEFAULT NULL,
  `dt_real_updown` datetime DEFAULT NULL,
  `dt_request_terminate` datetime DEFAULT NULL,
  `dt_real_terminate` datetime DEFAULT NULL,
  `nb_operation` int(11) DEFAULT NULL,
  `id_transfer_extremity` int(11) DEFAULT NULL,
  `id_selected_extremity` int(11) DEFAULT NULL,
  `bl_validated` tinyint(1) DEFAULT NULL,
  `bl_llstatus` tinyint(1) DEFAULT NULL,
  `bl_bbstatus` tinyint(1) DEFAULT NULL,
  `id_selected_device` int(11) DEFAULT NULL,
  `id_business_conference_group` int(11) DEFAULT NULL,
  `id_trad_extra_datalink_group` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service`),
  KEY `IDX_E19D9AD2DD7ADDD` (`id_product`),
  KEY `IDX_E19D9AD29DB1AEF2` (`id_branch`),
  KEY `IDX_E19D9AD2719540BB` (`id_old_bandwidth`),
  KEY `IDX_E19D9AD2A3C6948` (`id_bandwidth`),
  KEY `IDX_E19D9AD28E5FA5F3` (`id_transaction_status`),
  KEY `IDX_E19D9AD28D173C59` (`id_transaction_type`),
  KEY `IDX_E19D9AD2CE307789` (`id_commercial_route`),
  KEY `IDX_E19D9AD24233DB70` (`id_transfer_extremity`),
  KEY `IDX_E19D9AD2B7CAF1F0` (`id_selected_extremity`),
  KEY `IDX_E19D9AD21CDBD841` (`id_selected_device`),
  KEY `IDX_E19D9AD248027DB3` (`id_business_conference_group`),
  KEY `IDX_E19D9AD2776E42C4` (`id_trad_extra_datalink_group`),
  CONSTRAINT `FK_E19D9AD21CDBD841` FOREIGN KEY (`id_selected_device`) REFERENCES `service_device` (`id_service_device`),
  CONSTRAINT `FK_E19D9AD24233DB70` FOREIGN KEY (`id_transfer_extremity`) REFERENCES `service_extremity` (`id_service_extremity`),
  CONSTRAINT `FK_E19D9AD248027DB3` FOREIGN KEY (`id_business_conference_group`) REFERENCES `business_conference_group` (`id_business_conference_group`),
  CONSTRAINT `FK_E19D9AD2719540BB` FOREIGN KEY (`id_old_bandwidth`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_E19D9AD2776E42C4` FOREIGN KEY (`id_trad_extra_datalink_group`) REFERENCES `trad_extra_datalink_group` (`id_trad_extra_datalink_group`),
  CONSTRAINT `FK_E19D9AD28D173C59` FOREIGN KEY (`id_transaction_type`) REFERENCES `TransactionType` (`id_transaction_type`),
  CONSTRAINT `FK_E19D9AD28E5FA5F3` FOREIGN KEY (`id_transaction_status`) REFERENCES `TransactionStatus` (`id_transaction_status`),
  CONSTRAINT `FK_E19D9AD29DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_E19D9AD2A3C6948` FOREIGN KEY (`id_bandwidth`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_E19D9AD2B7CAF1F0` FOREIGN KEY (`id_selected_extremity`) REFERENCES `service_extremity` (`id_service_extremity`),
  CONSTRAINT `FK_E19D9AD2CE307789` FOREIGN KEY (`id_commercial_route`) REFERENCES `commercial_route` (`id_commercial_route`),
  CONSTRAINT `FK_E19D9AD2DD7ADDD` FOREIGN KEY (`id_product`) REFERENCES `product` (`id_product`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service`
--

INSERT INTO `service` VALUES (74,1,23,8,NULL,NULL,44,9,'S74','ETR_FACT','2014-10-02 18:14:47','2014-11-14 00:00:00','2014-11-10 00:00:00',NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,0,0,NULL,NULL,NULL,'2014-11-13 14:17:48'),(75,1,24,9,NULL,16,44,9,'S75','UK_FACT','2014-10-02 18:25:15','2014-11-13 00:00:00','2014-11-10 00:00:00',NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,130,1,0,0,NULL,NULL,NULL,NULL);

--
-- Table structure for table `service_caracs`
--

CREATE TABLE `service_caracs` (
  `id_service_caracs` int(11) NOT NULL AUTO_INCREMENT,
  `id_product_caracs` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `valeur` varchar(45) DEFAULT NULL,
  `id_service_extremity` int(11) DEFAULT NULL,
  `id_service_extremity_tech` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_service_caracs`),
  KEY `id_prod_caracs` (`id_product_caracs`),
  KEY `id_service` (`id_service`),
  KEY `IDX_AAC8567EC53102E9` (`id_service_extremity`),
  KEY `IDX_AAC8567EC7708180` (`id_service_extremity_tech`),
  CONSTRAINT `FK_AAC8567EC53102E9` FOREIGN KEY (`id_service_extremity`) REFERENCES `service_extremity` (`id_service_extremity`),
  CONSTRAINT `FK_AAC8567EC7708180` FOREIGN KEY (`id_service_extremity_tech`) REFERENCES `service_extremity_tech` (`id_service_extremity_tech`),
  CONSTRAINT `key_id_prod_caracs` FOREIGN KEY (`id_product_caracs`) REFERENCES `product_caracs` (`id_product_caracs`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `key_id_service` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=1504 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `service_caracs`
--

INSERT INTO `service_caracs` VALUES (1456,2,74,'',NULL,NULL),(1457,31,NULL,NULL,NULL,123),(1458,31,NULL,NULL,NULL,124),(1459,32,NULL,NULL,NULL,123),(1460,32,NULL,NULL,NULL,124),(1461,38,NULL,NULL,NULL,123),(1462,38,NULL,NULL,NULL,124),(1463,42,NULL,NULL,NULL,123),(1464,42,NULL,NULL,NULL,124),(1465,1,74,'frame-to-frame',NULL,NULL),(1466,3,74,NULL,NULL,NULL),(1467,18,NULL,NULL,128,NULL),(1468,18,NULL,NULL,129,NULL),(1469,19,NULL,NULL,128,NULL),(1470,19,NULL,NULL,129,NULL),(1471,20,NULL,NULL,128,NULL),(1472,20,NULL,NULL,129,NULL),(1473,21,NULL,NULL,128,NULL),(1474,21,NULL,NULL,129,NULL),(1475,30,NULL,NULL,NULL,123),(1476,30,NULL,NULL,NULL,124),(1477,44,NULL,NULL,128,NULL),(1478,44,NULL,NULL,129,NULL),(1479,4,74,'',NULL,NULL),(1480,2,75,'',NULL,NULL),(1481,31,NULL,'2014-11-13 00:00:00',NULL,125),(1482,31,NULL,NULL,NULL,126),(1483,32,NULL,'2014-11-27 00:00:00',NULL,125),(1484,32,NULL,NULL,NULL,126),(1485,38,NULL,'20',NULL,125),(1486,38,NULL,NULL,NULL,126),(1487,42,NULL,NULL,NULL,125),(1488,42,NULL,NULL,NULL,126),(1489,1,75,'frame-to-frame',NULL,NULL),(1490,3,75,'10',NULL,NULL),(1491,18,NULL,'jhkljhljljlkjljk',130,NULL),(1492,18,NULL,NULL,131,NULL),(1493,19,NULL,NULL,130,NULL),(1494,19,NULL,NULL,131,NULL),(1495,20,NULL,'2014-11-14 00:00:00',130,NULL),(1496,20,NULL,NULL,131,NULL),(1497,21,NULL,'2014-11-15 00:00:00',130,NULL),(1498,21,NULL,NULL,131,NULL),(1499,30,NULL,'6545642112',NULL,125),(1500,30,NULL,NULL,NULL,126),(1501,44,NULL,NULL,130,NULL),(1502,44,NULL,NULL,131,NULL),(1503,4,75,'',NULL,NULL);

--
-- Table structure for table `service_connected_services`
--

CREATE TABLE `service_connected_services` (
  `id_connected_services` int(11) NOT NULL,
  `id_parent_services` int(11) NOT NULL,
  PRIMARY KEY (`id_parent_services`,`id_connected_services`),
  KEY `IDX_41136AA834E2E939` (`id_connected_services`),
  KEY `IDX_41136AA85A18E30` (`id_parent_services`),
  CONSTRAINT `FK_41136AA834E2E939` FOREIGN KEY (`id_connected_services`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_41136AA85A18E30` FOREIGN KEY (`id_parent_services`) REFERENCES `service` (`id_service`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_connected_services`
--


--
-- Table structure for table `service_device`
--

CREATE TABLE `service_device` (
  `id_service_device` int(11) NOT NULL AUTO_INCREMENT,
  `id_service` int(11) DEFAULT NULL,
  `id_service_device_type` int(11) DEFAULT NULL,
  `id_bandwidth` int(11) DEFAULT NULL,
  `cd_service_device` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `nb_serial` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_username` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_init` datetime DEFAULT NULL,
  `dt_requested` datetime DEFAULT NULL,
  `dt_init_terminate` datetime DEFAULT NULL,
  `dt_real_terminate` datetime DEFAULT NULL,
  `dt_inservice` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_device`),
  KEY `IDX_37E8B3B83F0033A2` (`id_service`),
  KEY `IDX_37E8B3B88F973874` (`id_service_device_type`),
  KEY `IDX_37E8B3B8A3C6948` (`id_bandwidth`),
  CONSTRAINT `FK_37E8B3B8A3C6948` FOREIGN KEY (`id_bandwidth`) REFERENCES `bandwidth_assignee` (`id_bandwidth_assignee`),
  CONSTRAINT `FK_37E8B3B83F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_37E8B3B88F973874` FOREIGN KEY (`id_service_device_type`) REFERENCES `service_device_type` (`id_service_device_type`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_device`
--


--
-- Table structure for table `service_device_type`
--

CREATE TABLE `service_device_type` (
  `id_service_device_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `lb_service_device_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_service_device_type` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_device_type`),
  KEY `IDX_C97DA4BF536A5873` (`id_user_create_by`),
  KEY `IDX_C97DA4BF68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_C97DA4BF536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_C97DA4BF68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_device_type`
--


--
-- Table structure for table `service_extremity`
--

CREATE TABLE `service_extremity` (
  `id_service_extremity` int(11) NOT NULL AUTO_INCREMENT,
  `id_provider` int(11) DEFAULT NULL,
  `id_customer` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `id_pop` int(11) DEFAULT NULL,
  `id_project` int(11) DEFAULT NULL,
  `cd_service_extremity` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cm_comment` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_init_terminate` datetime DEFAULT NULL,
  `dt_init_updown` datetime DEFAULT NULL,
  `dt_request_updown` datetime DEFAULT NULL,
  `dt_real_updown` datetime DEFAULT NULL,
  `dt_request_terminate` datetime DEFAULT NULL,
  `dt_real_terminate` datetime DEFAULT NULL,
  `dt_inservice` datetime DEFAULT NULL,
  `dt_init_transfer` datetime DEFAULT NULL,
  `dt_init_add_extremity` datetime DEFAULT NULL,
  `dt_request_transfer` datetime DEFAULT NULL,
  `dt_request_add_extremity` datetime DEFAULT NULL,
  `dt_complete_transfer` datetime DEFAULT NULL,
  `dt_add_extremity_inservice` datetime DEFAULT NULL,
  `dt_old_extremity_terminate` datetime DEFAULT NULL,
  `lb_onnet` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_address_pop` int(11) DEFAULT NULL,
  `id_contact_pop` int(11) DEFAULT NULL,
  `id_admin_contact` int(11) DEFAULT NULL,
  `id_delivery_address` int(11) DEFAULT NULL,
  `id_address_provider` int(11) DEFAULT NULL,
  `id_contact_provider` int(11) DEFAULT NULL,
  `id_service_extremity_owner` int(11) DEFAULT NULL,
  `id_old_extremity` int(11) DEFAULT NULL,
  `bl_old` tinyint(1) DEFAULT NULL,
  `bl_transferred` tinyint(1) DEFAULT NULL,
  `mt_local_loop_cost` decimal(10,0) DEFAULT NULL,
  `cm_local_loop_cost` varchar(4000) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_service_extremity`),
  UNIQUE KEY `UNIQ_34066AFE970BC560` (`id_old_extremity`),
  KEY `IDX_34066AFEC21F9F09` (`id_provider`),
  KEY `IDX_34066AFED1E2629C` (`id_customer`),
  KEY `IDX_34066AFE3F0033A2` (`id_service`),
  KEY `IDX_34066AFE87745F4C` (`id_pop`),
  KEY `IDX_34066AFEF12E799E` (`id_project`),
  KEY `IDX_34066AFE4A8C206E` (`id_address_pop`),
  KEY `IDX_34066AFEFCF81BD9` (`id_contact_pop`),
  KEY `IDX_34066AFE3676B5D4` (`id_admin_contact`),
  KEY `IDX_34066AFEE4DA858E` (`id_delivery_address`),
  KEY `IDX_34066AFE8FC1D8CC` (`id_address_provider`),
  KEY `IDX_34066AFEEB6BBADA` (`id_contact_provider`),
  KEY `IDX_34066AFED120D8A5` (`id_service_extremity_owner`),
  CONSTRAINT `FK_34066AFE3676B5D4` FOREIGN KEY (`id_admin_contact`) REFERENCES `contact` (`id_contact`),
  CONSTRAINT `FK_34066AFE3F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_34066AFE4A8C206E` FOREIGN KEY (`id_address_pop`) REFERENCES `address_pop` (`id_address_pop`),
  CONSTRAINT `FK_34066AFE87745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_34066AFE8FC1D8CC` FOREIGN KEY (`id_address_provider`) REFERENCES `address_provider` (`id_address_provider`),
  CONSTRAINT `FK_34066AFE970BC560` FOREIGN KEY (`id_old_extremity`) REFERENCES `service_extremity` (`id_service_extremity`),
  CONSTRAINT `FK_34066AFEC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_34066AFED120D8A5` FOREIGN KEY (`id_service_extremity_owner`) REFERENCES `local_loop_extremity_owner` (`id_local_loop_extremity_owner`),
  CONSTRAINT `FK_34066AFED1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`),
  CONSTRAINT `FK_34066AFEE4DA858E` FOREIGN KEY (`id_delivery_address`) REFERENCES `address` (`id_address`),
  CONSTRAINT `FK_34066AFEEB6BBADA` FOREIGN KEY (`id_contact_provider`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_34066AFEF12E799E` FOREIGN KEY (`id_project`) REFERENCES `project` (`id_project`),
  CONSTRAINT `FK_34066AFEFCF81BD9` FOREIGN KEY (`id_contact_pop`) REFERENCES `contact_pop` (`id_contact_pop`)
) ENGINE=InnoDB AUTO_INCREMENT=132 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_extremity`
--

INSERT INTO `service_extremity` VALUES (128,NULL,NULL,74,NULL,NULL,'A1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL),(129,NULL,NULL,74,NULL,NULL,'B2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL),(130,NULL,NULL,75,NULL,NULL,'A1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL),(131,NULL,NULL,75,NULL,NULL,'B2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,NULL,NULL);

--
-- Table structure for table `service_extremity_option`
--

CREATE TABLE `service_extremity_option` (
  `id_service_extremity_option` int(11) NOT NULL AUTO_INCREMENT,
  `id_option_type` int(11) DEFAULT NULL,
  `id_service_extremity` int(11) DEFAULT NULL,
  `nb_quantity` int(11) DEFAULT NULL,
  `dt_create` datetime NOT NULL,
  `dt_update` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) NOT NULL,
  `bl_billable` tinyint(1) NOT NULL,
  `lb_option` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_option` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_extremity_option`),
  KEY `IDX_CE9210DD7CC2303D` (`id_option_type`),
  KEY `IDX_CE9210DDC53102E9` (`id_service_extremity`),
  CONSTRAINT `FK_CE9210DD7CC2303D` FOREIGN KEY (`id_option_type`) REFERENCES `option_type` (`id_option_type`),
  CONSTRAINT `FK_CE9210DDC53102E9` FOREIGN KEY (`id_service_extremity`) REFERENCES `service_extremity` (`id_service_extremity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_extremity_option`
--


--
-- Table structure for table `service_extremity_tech`
--

CREATE TABLE `service_extremity_tech` (
  `id_service_extremity_tech` int(11) NOT NULL AUTO_INCREMENT,
  `id_technical_contact` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `id_service_extremity` int(11) DEFAULT NULL,
  `cm_comment` longtext COLLATE utf8_unicode_ci,
  `id_technical_contact_provider` int(11) DEFAULT NULL,
  `id_technical_contact_pop` int(11) DEFAULT NULL,
  `id_customer` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `id_pop` int(11) DEFAULT NULL,
  `id_service_extremity_owner` int(11) DEFAULT NULL,
  `bl_old` tinyint(1) DEFAULT NULL,
  `id_old_service_extremity_tech` int(11) DEFAULT NULL,
  `bl_transferred` tinyint(1) DEFAULT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `id_vlan` int(11) DEFAULT NULL,
  `id_port_instance` int(11) DEFAULT NULL,
  `id_connection_path` varchar(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_service_extremity_tech`),
  UNIQUE KEY `UNIQ_C7A13617C53102E9` (`id_service_extremity`),
  UNIQUE KEY `UNIQ_C7A136176125AF16` (`id_old_service_extremity_tech`),
  UNIQUE KEY `UNIQ_C7A13617731118A3` (`id_vlan`),
  KEY `IDX_C7A13617D1192B9E` (`id_technical_contact`),
  KEY `IDX_C7A136173F0033A2` (`id_service`),
  KEY `IDX_C7A13617316BC7C7` (`id_technical_contact_provider`),
  KEY `IDX_C7A1361757E8DA20` (`id_technical_contact_pop`),
  KEY `IDX_C7A13617D1E2629C` (`id_customer`),
  KEY `IDX_C7A13617C21F9F09` (`id_provider`),
  KEY `IDX_C7A1361787745F4C` (`id_pop`),
  KEY `IDX_C7A13617D120D8A5` (`id_service_extremity_owner`),
  KEY `IDX_C7A1361738CAF7EA` (`id_local_loop`),
  KEY `IDX_C7A13617827B36DA` (`id_port_instance`),
  CONSTRAINT `FK_C7A13617316BC7C7` FOREIGN KEY (`id_technical_contact_provider`) REFERENCES `contact_provider` (`id_contact_provider`),
  CONSTRAINT `FK_C7A1361738CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_C7A136173F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_C7A1361757E8DA20` FOREIGN KEY (`id_technical_contact_pop`) REFERENCES `contact_pop` (`id_contact_pop`),
  CONSTRAINT `FK_C7A136176125AF16` FOREIGN KEY (`id_old_service_extremity_tech`) REFERENCES `service_extremity_tech` (`id_service_extremity_tech`),
  CONSTRAINT `FK_C7A13617731118A3` FOREIGN KEY (`id_vlan`) REFERENCES `vlan` (`id_vlan`),
  CONSTRAINT `FK_C7A13617827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_C7A1361787745F4C` FOREIGN KEY (`id_pop`) REFERENCES `pop` (`id_pop`),
  CONSTRAINT `FK_C7A13617C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_C7A13617C53102E9` FOREIGN KEY (`id_service_extremity`) REFERENCES `service_extremity` (`id_service_extremity`),
  CONSTRAINT `FK_C7A13617D1192B9E` FOREIGN KEY (`id_technical_contact`) REFERENCES `contact` (`id_contact`),
  CONSTRAINT `FK_C7A13617D120D8A5` FOREIGN KEY (`id_service_extremity_owner`) REFERENCES `local_loop_extremity_owner` (`id_local_loop_extremity_owner`),
  CONSTRAINT `FK_C7A13617D1E2629C` FOREIGN KEY (`id_customer`) REFERENCES `customer` (`id_customer`)
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_extremity_tech`
--

INSERT INTO `service_extremity_tech` VALUES (123,NULL,74,128,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL),(124,NULL,74,129,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL),(125,NULL,75,130,'ity ref\r\nA1\r\nLocal loop ref : Tech id\r\nTechnical route\r\nPipe Id\r\nBackbone programmed date\r\nEnd to end test date\r\nCarrier\r\nExtremity ref\r\nA1\r\nLocal loop ref : Tech id\r\nTechnical route\r\nPipe Id\r\nBackbone programmed date\r\nEnd to end test date\r\nCarrier\r\nFR-VRZ : VERIZON FRA\r\nExtremity ref\r\nA1\r\nLocal loop ref : Tech id\r\nTechnical route\r\nPipe Id\r\nBackbone programmed date\r\nEnd to end test date\r\nCarrier\r\nFR-VRZ : VERIZON FRANCE\r\nConnection path\r\nNCE\r\nConnection path\r\n\r\nFR-VRZ : VERIZON FRANCE\r\nConnection path\r\nComment',NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL),(126,NULL,75,131,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,0,NULL,NULL,NULL,NULL);

--
-- Table structure for table `service_history`
--

CREATE TABLE `service_history` (
  `id_service_history` int(11) NOT NULL AUTO_INCREMENT,
  `id_history` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_service_history`),
  KEY `IDX_E83E22D7F927D93B` (`id_history`),
  CONSTRAINT `FK_E83E22D7F927D93B` FOREIGN KEY (`id_history`) REFERENCES `history` (`id_history`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_history`
--


--
-- Table structure for table `service_interface_settings`
--

CREATE TABLE `service_interface_settings` (
  `id_service_interface_settings` int(11) NOT NULL AUTO_INCREMENT,
  `id_transaction_type` int(11) DEFAULT NULL,
  `id_transaction_status` int(11) DEFAULT NULL,
  `id_product_type` int(11) DEFAULT NULL,
  `bl_hide` tinyint(1) NOT NULL,
  `bl_editable` tinyint(1) NOT NULL,
  `bl_old_extremity` tinyint(1) NOT NULL,
  `bl_mandatory` tinyint(1) NOT NULL,
  `lbEntity` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lbField` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_one` tinyint(1) NOT NULL,
  PRIMARY KEY (`id_service_interface_settings`),
  KEY `IDX_3BB19AA8D173C59` (`id_transaction_type`),
  KEY `IDX_3BB19AA8E5FA5F3` (`id_transaction_status`),
  KEY `IDX_3BB19AA22F700FA` (`id_product_type`),
  CONSTRAINT `FK_3BB19AA22F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`),
  CONSTRAINT `FK_3BB19AA8D173C59` FOREIGN KEY (`id_transaction_type`) REFERENCES `TransactionType` (`id_transaction_type`),
  CONSTRAINT `FK_3BB19AA8E5FA5F3` FOREIGN KEY (`id_transaction_status`) REFERENCES `TransactionStatus` (`id_transaction_status`)
) ENGINE=InnoDB AUTO_INCREMENT=411 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_interface_settings`
--

INSERT INTO `service_interface_settings` VALUES (1,NULL,NULL,NULL,1,0,0,0,'Service','dtOrder',0),(2,NULL,NULL,NULL,1,0,0,0,'Service','dtDeliveryRequested',0),(4,NULL,NULL,NULL,1,0,0,0,'Service','dtInitTerminate',0),(5,NULL,NULL,NULL,1,0,0,0,'Service','dtInitUpdown',0),(6,NULL,NULL,NULL,1,0,0,0,'Service','dtRequestedUpdown',0),(7,NULL,NULL,NULL,0,0,0,0,'Service','dtRealUpdown',0),(8,NULL,NULL,NULL,1,0,0,0,'Service','dtRequestTerminate',0),(9,NULL,NULL,NULL,0,0,0,0,'Service','dtRealTerminate',0),(10,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtInitTerminate',0),(11,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtInitUpdown',0),(12,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtRequestUpdown',0),(13,NULL,NULL,NULL,0,0,0,0,'ServiceExtremity','dtRealUpdown',0),(14,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtRequestTerminate',0),(15,NULL,NULL,NULL,0,0,0,0,'ServiceExtremity','dtRealTerminate',0),(16,NULL,NULL,NULL,0,0,0,0,'ServiceExtremity','dtInservice',0),(17,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtInitTransfer',0),(18,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtInitAddExtremity',0),(19,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtRequestTransfer',0),(20,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtRequestAddExtremity',0),(23,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtOldExtremityTerminate',0),(185,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtOrder',0),(186,NULL,NULL,NULL,1,0,0,0,'ServiceExtremity','dtDeliveryRequested',0),(206,NULL,NULL,NULL,0,0,0,0,'ServiceExtremity','dtAddExtremityInservice',0),(208,9,45,NULL,0,1,0,1,'Service','idProduct',0),(209,9,45,NULL,0,1,0,1,'Service','idBandwidth',0),(210,9,45,NULL,0,1,0,1,'Service','idBranch',0),(211,9,45,NULL,0,1,0,1,'Service','idCommercialRoute',0),(212,9,45,NULL,0,1,0,1,'Service','dtOrder',0),(213,9,45,NULL,0,1,0,1,'Service','dtDeliveryRequested',0),(217,9,45,NULL,0,1,0,1,'BillingService','idCustomer',0),(218,9,45,NULL,0,1,0,1,'BillingService','idAddress',0),(219,9,45,NULL,0,1,0,1,'BillingService','idContact',0),(220,9,45,NULL,0,1,0,1,'BillingService','idBranch',0),(221,9,45,NULL,0,1,0,1,'BillingService','idCustomerManager',0),(222,9,45,NULL,0,1,0,1,'BillingService','idNoticePeriod',0),(223,9,45,NULL,0,1,0,1,'BillingService','idBillingFrequency',0),(224,9,45,NULL,0,1,0,1,'BillingService','idBillingServiceLine',0),(225,9,45,NULL,0,1,0,1,'ServiceExtremity','lbTrader',0),(230,9,45,NULL,0,1,0,1,'Service','lbConnection',0),(242,9,53,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd ',0),(247,10,56,NULL,0,1,0,1,'ServiceExtremity','lbTrader',0),(251,10,56,NULL,0,1,1,1,'ServiceExtremity','dtInitTransfer',0),(252,10,56,NULL,0,1,1,1,'ServiceExtremity','dtRequestTransfer',0),(257,10,60,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoop',0),(260,10,61,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(261,10,61,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram ',0),(265,17,107,NULL,0,1,0,1,'Service','dtInitTerminate',0),(266,17,107,NULL,0,1,0,1,'Service','dtRequestTerminate',0),(268,9,45,NULL,0,1,0,1,'Service','blClass',0),(269,10,56,NULL,0,1,0,1,'ServiceExtremity','idAcceptContact',0),(270,11,67,NULL,0,1,0,1,'Service','idBandwidth',0),(271,11,67,NULL,0,1,0,1,'Service','dtInitUpdown',0),(272,11,67,NULL,0,1,0,1,'Service','dtRequestedUpdown',0),(273,10,57,NULL,0,1,0,1,'ServiceExtremity','dtAcceptSent',0),(274,9,46,NULL,0,1,0,1,'ServiceExtremity','dtAcceptSent',1),(275,11,68,NULL,0,1,0,1,'ServiceExtremity','dtAcceptSent',1),(276,10,58,NULL,0,1,0,1,'ServiceExtremity','dtAcceptReceive',0),(277,9,47,NULL,0,1,0,1,'ServiceExtremity','dtAcceptReceive',1),(278,11,69,NULL,0,1,0,1,'ServiceExtremity','dtAcceptReceive',1),(280,9,49,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoop',0),(281,9,50,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(282,9,50,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram ',0),(285,11,72,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(286,11,72,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram ',0),(287,10,64,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd ',0),(288,11,74,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd ',0),(290,11,71,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoop',0),(307,9,49,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoopExtremityTech',0),(309,10,60,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoopExtremityTech',0),(313,11,71,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoopExtremityTech',0),(331,12,81,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoop',0),(332,12,81,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoopExtremityTech',0),(333,12,82,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram ',0),(334,12,82,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(335,13,91,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoop',0),(336,13,91,NULL,0,1,0,1,'ServiceExtremityTech','idLocalLoopExtremityTech',0),(337,13,92,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram ',0),(338,13,92,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(339,10,62,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(340,9,51,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(341,11,73,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(342,12,83,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(343,13,94,NULL,0,1,0,1,'ServiceExtremityTech','cdPipeId',0),(344,10,62,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram',0),(345,9,51,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram',0),(346,11,73,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram',0),(347,12,83,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram',0),(348,13,94,NULL,0,1,0,1,'ServiceExtremityTech','dtBackboneProgram',0),(349,13,87,NULL,0,1,0,1,'ServiceExtremity','idCommercialRoute',0),(350,13,87,NULL,0,1,0,1,'ServiceExtremity','dtInitAddExtremity',0),(351,13,87,NULL,0,1,0,1,'ServiceExtremity','dtRequestAddExtremity',0),(352,13,87,NULL,0,1,0,1,'ServiceExtremity','idAcceptContact',0),(353,12,77,NULL,0,1,0,1,'ServiceExtremity','idBandwidth',0),(354,12,77,NULL,0,1,0,1,'ServiceExtremity','dtInitUpdown',0),(355,12,77,NULL,0,1,0,1,'ServiceExtremity','dtRequestedUpdown',0),(356,9,45,NULL,0,1,0,1,'Service','lbLayer',0),(357,9,45,5,0,1,0,1,'Service','lbBackupSite',0),(358,9,45,5,0,1,0,1,'Service','lbBackupDelay',0),(359,9,45,5,0,1,0,1,'Service','lbRoutingPlan',0),(360,9,45,5,0,1,0,1,'ServiceExtremity','lbRecoverySite',0),(362,NULL,NULL,10,0,1,0,1,'Service','idBundle',0),(363,NULL,NULL,11,0,1,0,1,'Service','idBundle',0),(364,NULL,NULL,12,0,1,0,1,'Service','idBundle',0),(365,9,45,14,0,1,0,1,'Service','idMembership',0),(366,9,45,21,0,1,0,1,'Service','idFlexibleTrading',0),(367,9,45,22,0,1,0,1,'Service','idFlexibleTrading',0),(368,NULL,NULL,NULL,0,0,0,0,'ServiceExtremity','dtCompleteTransfer',0),(370,16,98,NULL,0,1,0,1,'ServiceExtremity','dtRequestTerminate',0),(371,16,98,NULL,0,1,0,1,'ServiceExtremity','dtInitTerminate',0),(372,NULL,NULL,NULL,0,0,0,0,'Service','dtDelivery',0),(373,13,96,NULL,0,1,0,1,'ServiceExtremity','dtAddExtremityInservice',0),(374,11,75,NULL,0,1,0,1,'Service','dtRealUpdown',0),(375,12,85,NULL,0,1,0,1,'ServiceExtremity','dtRealUpdown',0),(376,10,65,NULL,0,1,0,1,'ServiceExtremity','dtCompleteTransfer',0),(377,9,54,NULL,0,1,0,1,'Service','dtDelivery',0),(378,9,53,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd',1),(379,10,64,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd',0),(380,11,74,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd',1),(381,12,84,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd',0),(382,13,95,NULL,0,1,0,1,'ServiceExtremityTech','dtEndToEnd',0),(383,12,78,NULL,0,1,0,1,'ServiceExtremity','dtAcceptSent',0),(384,13,88,NULL,0,1,0,1,'ServiceExtremity','dtAcceptSent',0),(385,12,79,NULL,0,1,0,1,'ServiceExtremity','dtAcceptReceive',0),(386,13,89,NULL,0,1,0,1,'ServiceExtremity','dtAcceptReceive',0),(387,13,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(388,14,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(389,15,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(390,16,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(391,17,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(392,9,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(393,10,NULL,NULL,1,0,0,0,'Service','idOldBandwidth',0),(394,14,101,21,0,1,0,1,'ServiceDevice','idDeviceType',0),(395,14,101,21,0,1,0,1,'ServiceDevice','idBandwidth',0),(396,14,102,21,0,1,0,1,'ServiceDevice','dtInservice',0),(398,NULL,NULL,21,0,0,0,0,'ServiceDevice','dtInit',0),(399,NULL,NULL,21,0,0,0,0,'ServiceDevice','dtRequested',0),(400,NULL,NULL,21,0,0,0,0,'ServiceDevice','dtRealTerminate',0),(401,NULL,NULL,21,0,0,0,0,'ServiceDevice','dtInitTerminate',0),(402,NULL,NULL,21,0,0,0,0,'ServiceDevice','dtInservice',0),(403,14,104,21,0,1,0,1,'ServiceDevice','dtInitTerminate',0),(404,14,104,21,0,1,0,1,'ServiceDevice','dtRealTerminate',0),(405,NULL,NULL,NULL,1,0,0,0,'Service','idBusinessConferenceGroup',0),(406,NULL,NULL,NULL,1,0,0,0,'Service','idTradExtraDatalinkGroup',0),(407,NULL,NULL,4,0,1,0,0,'Service','idBusinessConferenceGroup',0),(408,NULL,NULL,27,0,1,0,0,'Service','idTradExtraDatalinkGroup',0),(410,9,44,NULL,0,1,0,1,'ServiceExtremity','idAcceptContact',0);

--
-- Table structure for table `service_notes`
--

CREATE TABLE `service_notes` (
  `id_service_notes` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) DEFAULT NULL,
  `note` longtext COLLATE utf8_unicode_ci,
  `dt_note` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_notes`),
  KEY `IDX_A8694B6B6B3CA4B` (`id_user`),
  CONSTRAINT `FK_A8694B6B6B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_notes`
--


--
-- Table structure for table `service_option`
--

CREATE TABLE `service_option` (
  `id_service_option` int(11) NOT NULL AUTO_INCREMENT,
  `id_option_type` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `cd_option` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_option` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `nb_quantity` int(11) NOT NULL,
  `dt_create` datetime NOT NULL,
  `dt_update` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) NOT NULL,
  `bl_billable` tinyint(1) NOT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_option`),
  KEY `IDX_644105867CC2303D` (`id_option_type`),
  KEY `IDX_644105863F0033A2` (`id_service`),
  CONSTRAINT `FK_644105863F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_644105867CC2303D` FOREIGN KEY (`id_option_type`) REFERENCES `option_type` (`id_option_type`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_option`
--

INSERT INTO `service_option` VALUES (9,NULL,75,'NETRECOVA',NULL,-1,'2014-11-13 00:00:00','2014-11-13 00:00:00',0,1,NULL),(10,NULL,75,'TEST OPTION','Test sur champ quantité négatif',-5,'2014-11-13 00:00:00','2014-11-13 00:00:00',1,1,NULL);

--
-- Table structure for table `service_type`
--

CREATE TABLE `service_type` (
  `id_service_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_service_type` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_service_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `cd_nrc_account` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_mrc_account` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_type_account` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_service_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_type`
--


--
-- Table structure for table `service_workflow_screen`
--

CREATE TABLE `service_workflow_screen` (
  `id_service_workflow_screen` int(11) NOT NULL AUTO_INCREMENT,
  `id_product_type` int(11) DEFAULT NULL,
  `bl_service_ccial` tinyint(1) NOT NULL,
  `bl_extremity_ccial` tinyint(1) NOT NULL,
  `bl_device_ccial` tinyint(1) NOT NULL,
  `bl_billing` tinyint(1) NOT NULL,
  `bl_technical` tinyint(1) NOT NULL,
  `bl_connected_services` tinyint(1) NOT NULL,
  PRIMARY KEY (`id_service_workflow_screen`),
  KEY `IDX_DC48AB1722F700FA` (`id_product_type`),
  CONSTRAINT `FK_DC48AB1722F700FA` FOREIGN KEY (`id_product_type`) REFERENCES `product_type` (`id_product_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `service_workflow_screen`
--


--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id_settings` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_update_by` int(11) DEFAULT NULL,
  `dt_local_loop_cost` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  PRIMARY KEY (`id_settings`),
  KEY `IDX_E545A0C568E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_E545A0C568E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` VALUES (1,2,'2014-06-01 00:00:00','2014-06-02 00:00:00');

--
-- Table structure for table `sfp_module_type`
--

CREATE TABLE `sfp_module_type` (
  `id_sfp_module_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_sfp_module_type` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_sfp_module_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_sfp_module_type`),
  KEY `IDX_1D936D9D536A5873` (`id_user_create_by`),
  KEY `IDX_1D936D9D68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_1D936D9D536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_1D936D9D68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `sfp_module_type`
--

INSERT INTO `sfp_module_type` VALUES (7,2,2,'1000Base-LX SMF','1000Base-LX SMF',1,'2014-11-10 12:34:09','2014-11-10 12:34:09',NULL);

--
-- Table structure for table `shelf`
--

CREATE TABLE `shelf` (
  `id_shelf` int(11) NOT NULL AUTO_INCREMENT,
  `id_shelf_type` int(11) DEFAULT NULL,
  `id_cabinet` int(11) DEFAULT NULL,
  `cd_shelf` varchar(15) DEFAULT NULL,
  `lb_shelf` varchar(255) DEFAULT NULL,
  `cm_shelf` varchar(255) DEFAULT NULL,
  `cd_serial_number` varchar(45) DEFAULT NULL,
  `nb_position` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `id_user_create` int(11) DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_shelf`),
  KEY `id_cabinet` (`id_cabinet`),
  KEY `id_shelf_type` (`id_shelf_type`),
  KEY `id_user_create` (`id_user_create`),
  KEY `id_equipment` (`id_equipment`),
  CONSTRAINT `FK_A5475BE3530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_A5475BE39270ACC0` FOREIGN KEY (`id_cabinet`) REFERENCES `cabinet` (`id_cabinet`),
  CONSTRAINT `FK_A5475BE3A1AC41A0` FOREIGN KEY (`id_shelf_type`) REFERENCES `shelf_type` (`id_shelf_type`),
  CONSTRAINT `FK_A5475BE3F2963631` FOREIGN KEY (`id_user_create`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `shelf`
--


--
-- Table structure for table `shelf_template`
--

CREATE TABLE `shelf_template` (
  `id_shelf` int(11) NOT NULL,
  `id_shelf_type` int(11) DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  `cd_shelf` varchar(15) DEFAULT NULL,
  `lb_shelf` varchar(255) DEFAULT NULL,
  `cm_shelf` varchar(255) DEFAULT NULL,
  `cd_serial_number` varchar(45) DEFAULT NULL,
  `nb_position` decimal(10,0) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `id_user_create` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_shelf`),
  KEY `id_shelf_type` (`id_shelf_type`),
  KEY `id_cabinet` (`id_equipment`),
  KEY `id_shelf` (`id_shelf`),
  KEY `id_equipment` (`id_equipment`),
  KEY `id_user_create` (`id_user_create`),
  CONSTRAINT `FK_7A2AC3F74BC21AD3` FOREIGN KEY (`id_shelf`) REFERENCES `shelf` (`id_shelf`),
  CONSTRAINT `FK_7A2AC3F7530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_7A2AC3F7A1AC41A0` FOREIGN KEY (`id_shelf_type`) REFERENCES `shelf_type` (`id_shelf_type`),
  CONSTRAINT `FK_7A2AC3F7F2963631` FOREIGN KEY (`id_user_create`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `shelf_template`
--


--
-- Table structure for table `shelf_type`
--

CREATE TABLE `shelf_type` (
  `id_shelf_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_shelf_type` varchar(45) DEFAULT NULL,
  `lb_shelf_type` varchar(255) DEFAULT NULL,
  `cm_shelf_type` varchar(255) DEFAULT NULL,
  `dt_start` datetime DEFAULT NULL,
  `dt_end` datetime DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_shelf_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `shelf_type`
--


--
-- Table structure for table `signalling`
--

CREATE TABLE `signalling` (
  `id_signalling` int(11) NOT NULL AUTO_INCREMENT,
  `cd_signalling` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_signalling` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_signalling`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `signalling`
--


--
-- Table structure for table `situation`
--

CREATE TABLE `situation` (
  `id_situation` int(11) NOT NULL AUTO_INCREMENT,
  `cd_situation` varchar(15) NOT NULL,
  `lb_situation` varchar(255) NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_situation`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `situation`
--


--
-- Table structure for table `sla`
--

CREATE TABLE `sla` (
  `id_sla` int(11) NOT NULL AUTO_INCREMENT,
  `cd_sla` varchar(15) DEFAULT NULL,
  `lb_sla` varchar(250) DEFAULT NULL,
  `id_sla_type` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_sla`),
  KEY `id_sla_type` (`id_sla_type`),
  CONSTRAINT `FK_5A0B7A7E8F418FCE` FOREIGN KEY (`id_sla_type`) REFERENCES `sla_type` (`id_sla_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sla`
--


--
-- Table structure for table `sla_type`
--

CREATE TABLE `sla_type` (
  `id_sla_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_sla_type` varchar(15) DEFAULT NULL,
  `lb_sla_type` varchar(250) DEFAULT NULL,
  `nb_quantity` decimal(10,0) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_sla_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sla_type`
--


--
-- Table structure for table `slot`
--

CREATE TABLE `slot` (
  `id_slot` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  `cd_slot` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_slot` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `url_image` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `bl_slot_for_ref` tinyint(1) DEFAULT NULL,
  `nb_number` int(11) NOT NULL,
  `bl_card_horizontal` tinyint(1) DEFAULT NULL,
  `nb_cards` int(11) DEFAULT NULL,
  `bl_model` tinyint(1) DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_slot`),
  KEY `IDX_AC0E2067536A5873` (`id_user_create_by`),
  KEY `IDX_AC0E206768E26F41` (`id_user_update_by`),
  KEY `IDX_AC0E2067530D69A4` (`id_equipment`),
  KEY `IDX_AC0E2067241EF16C` (`id_complex_model`),
  CONSTRAINT `FK_AC0E2067241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_AC0E2067530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_AC0E2067536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_AC0E206768E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=151 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `slot`
--

INSERT INTO `slot` VALUES (142,2,2,NULL,'IOM slot 1','IOM slot 1',NULL,1,NULL,0,1,1,1,1,506),(147,2,2,NULL,'IOM SLOT 2','IOM SLOT 2',NULL,1,NULL,0,2,1,1,1,506),(148,2,2,NULL,'Slot 6',NULL,NULL,1,NULL,NULL,3,NULL,NULL,1,506),(149,2,2,NULL,'Slot 7',NULL,NULL,1,NULL,NULL,4,NULL,NULL,1,506),(150,2,2,NULL,'Slot 8',NULL,NULL,1,NULL,NULL,5,NULL,NULL,1,506);

--
-- Table structure for table `slot_instance`
--

CREATE TABLE `slot_instance` (
  `id_slot_instance` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `id_equipment_instance` int(11) DEFAULT NULL,
  `cd_slot_instance` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_slot_instance` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  `id_slot` int(11) DEFAULT NULL,
  `nb_number` int(11) NOT NULL,
  `id_complex_model` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_slot_instance`),
  KEY `IDX_9365D04D536A5873` (`id_user_create_by`),
  KEY `IDX_9365D04D68E26F41` (`id_user_update_by`),
  KEY `IDX_9365D04DF1D18757` (`id_equipment_instance`),
  KEY `IDX_9365D04D272E3C65` (`id_slot`),
  KEY `IDX_9365D04D241EF16C` (`id_complex_model`),
  CONSTRAINT `FK_9365D04D241EF16C` FOREIGN KEY (`id_complex_model`) REFERENCES `complex_model` (`id_complex_model`),
  CONSTRAINT `FK_9365D04D272E3C65` FOREIGN KEY (`id_slot`) REFERENCES `slot` (`id_slot`),
  CONSTRAINT `FK_9365D04D536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_9365D04D68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_9365D04DF1D18757` FOREIGN KEY (`id_equipment_instance`) REFERENCES `equipment_instance` (`id_equipment_instance`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `slot_instance`
--


--
-- Table structure for table `state`
--

CREATE TABLE `state` (
  `id_state` int(11) NOT NULL AUTO_INCREMENT,
  `cd_state` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_state` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `bl_in_progress` tinyint(1) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_state`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_A393D2FB536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_A393D2FB68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `state`
--


--
-- Table structure for table `status_type`
--

CREATE TABLE `status_type` (
  `id_status_type` int(11) NOT NULL AUTO_INCREMENT,
  `id_object_type` int(11) DEFAULT NULL,
  `id_mail` int(11) DEFAULT NULL,
  `cd_status_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_status_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `nb_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_status_type`),
  KEY `IDX_B4D8FABD9D9A6CD` (`id_object_type`),
  KEY `IDX_B4D8FABDDA06B04A` (`id_mail`),
  CONSTRAINT `FK_B4D8FABD9D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`),
  CONSTRAINT `FK_B4D8FABDDA06B04A` FOREIGN KEY (`id_mail`) REFERENCES `mail` (`id_mail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `status_type`
--


--
-- Table structure for table `t_group`
--

CREATE TABLE `t_group` (
  `id_group` int(11) NOT NULL AUTO_INCREMENT,
  `lb_group` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `id_group_parent` int(11) DEFAULT NULL,
  `bl_public` tinyint(1) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_group`),
  KEY `id_group_parent` (`id_group_parent`),
  CONSTRAINT `FK_D37122BCCDC9CDED` FOREIGN KEY (`id_group_parent`) REFERENCES `t_group` (`id_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `t_group`
--


--
-- Table structure for table `t_option`
--

CREATE TABLE `t_option` (
  `id_option` int(11) NOT NULL AUTO_INCREMENT,
  `cd_option` varchar(15) DEFAULT NULL,
  `lb_option` varchar(250) DEFAULT NULL,
  `id_option_type` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_option`),
  KEY `id_option_type` (`id_option_type`),
  CONSTRAINT `FK_73E1784E7CC2303D` FOREIGN KEY (`id_option_type`) REFERENCES `option_type` (`id_option_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `t_option`
--


--
-- Table structure for table `t_right`
--

CREATE TABLE `t_right` (
  `id_right` int(11) NOT NULL AUTO_INCREMENT,
  `id_profile` int(11) DEFAULT NULL,
  `id_domain` int(11) DEFAULT NULL,
  `id_functionality` int(11) DEFAULT NULL,
  `bl_read` tinyint(1) DEFAULT NULL,
  `bl_modify` tinyint(1) DEFAULT NULL,
  `bl_create` tinyint(1) DEFAULT NULL,
  `bl_delete` tinyint(1) DEFAULT NULL,
  `bl_deactivate` tinyint(1) DEFAULT NULL,
  `bl_reactivate` tinyint(1) DEFAULT NULL,
  `bl_export` tinyint(1) DEFAULT NULL,
  `bl_print` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_right`),
  KEY `id_profile` (`id_profile`),
  KEY `id_domain` (`id_domain`),
  KEY `id_functionality` (`id_functionality`),
  CONSTRAINT `FK_A7B136D46148E21` FOREIGN KEY (`id_functionality`) REFERENCES `functionality` (`id_functionality`),
  CONSTRAINT `FK_A7B136D5FCA037F` FOREIGN KEY (`id_profile`) REFERENCES `profile` (`id_profile`),
  CONSTRAINT `FK_A7B136D819EABE6` FOREIGN KEY (`id_domain`) REFERENCES `domain` (`id_domain`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `t_right`
--


--
-- Table structure for table `tariff_backbone_link_line`
--

CREATE TABLE `tariff_backbone_link_line` (
  `id_tariff_backbone_link_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_backbone_link` int(11) DEFAULT NULL,
  `id_backbone_link_option` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` decimal(10,0) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_tariff_backbone_link_line`),
  KEY `IDX_CC54EE94BD048098` (`id_billing_period`),
  KEY `IDX_CC54EE94D9707BB8` (`id_backbone_link`),
  KEY `IDX_CC54EE9473440D2A` (`id_backbone_link_option`),
  CONSTRAINT `FK_CC54EE9473440D2A` FOREIGN KEY (`id_backbone_link_option`) REFERENCES `backbone_link_option` (`id_backbone_link_option`),
  CONSTRAINT `FK_CC54EE94BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`),
  CONSTRAINT `FK_CC54EE94D9707BB8` FOREIGN KEY (`id_backbone_link`) REFERENCES `backbone_link` (`id_backbone_link`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_backbone_link_line`
--


--
-- Table structure for table `tariff_cabinet_line`
--

CREATE TABLE `tariff_cabinet_line` (
  `id_tariff_cabinet_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_cabinet` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_cabinet_instance` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_tariff_cabinet_line`),
  KEY `IDX_AFC873BD048098` (`id_billing_period`),
  KEY `IDX_AFC8739270ACC0` (`id_cabinet`),
  KEY `IDX_AFC87395136256` (`id_cabinet_instance`),
  CONSTRAINT `FK_AFC8739270ACC0` FOREIGN KEY (`id_cabinet`) REFERENCES `cabinet` (`id_cabinet`),
  CONSTRAINT `FK_AFC87395136256` FOREIGN KEY (`id_cabinet_instance`) REFERENCES `cabinet_instance` (`id_cabinet_instance`),
  CONSTRAINT `FK_AFC873BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_cabinet_line`
--


--
-- Table structure for table `tariff_cable_line`
--

CREATE TABLE `tariff_cable_line` (
  `id_tariff_cable_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_cable` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_tariff_cable_line`),
  KEY `IDX_FA2EFC10BD048098` (`id_billing_period`),
  KEY `IDX_FA2EFC10CA6C85E4` (`id_cable`),
  CONSTRAINT `FK_FA2EFC10BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`),
  CONSTRAINT `FK_FA2EFC10CA6C85E4` FOREIGN KEY (`id_cable`) REFERENCES `cable` (`id_cable`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_cable_line`
--


--
-- Table structure for table `tariff_card_line`
--

CREATE TABLE `tariff_card_line` (
  `id_tariff_card_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_card` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_card_instance` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_tariff_card_line`),
  KEY `IDX_72716732BD048098` (`id_billing_period`),
  KEY `IDX_727167329D3484D1` (`id_card`),
  KEY `IDX_727167324529AE38` (`id_card_instance`),
  CONSTRAINT `FK_727167324529AE38` FOREIGN KEY (`id_card_instance`) REFERENCES `card_instance` (`id_card_instance`),
  CONSTRAINT `FK_727167329D3484D1` FOREIGN KEY (`id_card`) REFERENCES `card` (`id_card`),
  CONSTRAINT `FK_72716732BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_card_line`
--


--
-- Table structure for table `tariff_equipment_line`
--

CREATE TABLE `tariff_equipment_line` (
  `id_tariff_equipment_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_equipment` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_equipment_instance` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_tariff_equipment_line`),
  KEY `IDX_7CDA3829BD048098` (`id_billing_period`),
  KEY `IDX_7CDA3829530D69A4` (`id_equipment`),
  KEY `IDX_7CDA3829F1D18757` (`id_equipment_instance`),
  CONSTRAINT `FK_7CDA3829530D69A4` FOREIGN KEY (`id_equipment`) REFERENCES `equipment` (`id_equipment`),
  CONSTRAINT `FK_7CDA3829BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`),
  CONSTRAINT `FK_7CDA3829F1D18757` FOREIGN KEY (`id_equipment_instance`) REFERENCES `equipment_instance` (`id_equipment_instance`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_equipment_line`
--


--
-- Table structure for table `tariff_local_loop_line`
--

CREATE TABLE `tariff_local_loop_line` (
  `id_tariff_local_loop_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_local_loop` int(11) DEFAULT NULL,
  `id_local_loop_option` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` decimal(10,0) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_tariff_local_loop_line`),
  KEY `IDX_68857945BD048098` (`id_billing_period`),
  KEY `IDX_6885794538CAF7EA` (`id_local_loop`),
  KEY `IDX_688579459AC817FF` (`id_local_loop_option`),
  CONSTRAINT `FK_6885794538CAF7EA` FOREIGN KEY (`id_local_loop`) REFERENCES `local_loop` (`id_local_loop`),
  CONSTRAINT `FK_688579459AC817FF` FOREIGN KEY (`id_local_loop_option`) REFERENCES `local_loop_option` (`id_local_loop_option`),
  CONSTRAINT `FK_68857945BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_local_loop_line`
--


--
-- Table structure for table `tariff_patch_panel_line`
--

CREATE TABLE `tariff_patch_panel_line` (
  `id_tariff_patch_panel_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_patch_panel` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_patch_panel_instance` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_tariff_patch_panel_line`),
  KEY `IDX_9C4126ADBD048098` (`id_billing_period`),
  KEY `IDX_9C4126AD61B7E895` (`id_patch_panel`),
  KEY `IDX_9C4126AD9ABD60CA` (`id_patch_panel_instance`),
  CONSTRAINT `FK_9C4126AD61B7E895` FOREIGN KEY (`id_patch_panel`) REFERENCES `patch_panel` (`id_patch_panel`),
  CONSTRAINT `FK_9C4126AD9ABD60CA` FOREIGN KEY (`id_patch_panel_instance`) REFERENCES `patch_panel_instance` (`id_patch_panel_instance`),
  CONSTRAINT `FK_9C4126ADBD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_patch_panel_line`
--


--
-- Table structure for table `tariff_pop_line`
--

CREATE TABLE `tariff_pop_line` (
  `id_tariff_pop_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_costing_pop` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id_tariff_pop_line`),
  KEY `IDX_7C9E7867BD048098` (`id_billing_period`),
  KEY `IDX_7C9E78679460E14` (`id_costing_pop`),
  CONSTRAINT `FK_7C9E78679460E14` FOREIGN KEY (`id_costing_pop`) REFERENCES `costing_pop` (`id_costing_pop`),
  CONSTRAINT `FK_7C9E7867BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_pop_line`
--


--
-- Table structure for table `tariff_port_line`
--

CREATE TABLE `tariff_port_line` (
  `id_tariff_port_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_port` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_port_instance` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_tariff_port_line`),
  KEY `IDX_F160092FBD048098` (`id_billing_period`),
  KEY `IDX_F160092FC8B141CE` (`id_port`),
  KEY `IDX_F160092F827B36DA` (`id_port_instance`),
  CONSTRAINT `FK_F160092F827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_F160092FBD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`),
  CONSTRAINT `FK_F160092FC8B141CE` FOREIGN KEY (`id_port`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_port_line`
--


--
-- Table structure for table `tariff_service_line`
--

CREATE TABLE `tariff_service_line` (
  `id_tariff_service_line` int(11) NOT NULL AUTO_INCREMENT,
  `id_billing_period` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `id_service_extremity` int(11) DEFAULT NULL,
  `id_service_extremity_option` int(11) DEFAULT NULL,
  `id_service_option` int(11) DEFAULT NULL,
  `mt_nrc` decimal(10,0) DEFAULT NULL,
  `mt_mrc` decimal(10,0) DEFAULT NULL,
  `lb_nrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lb_mrc` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mt_nrc_euro` int(11) DEFAULT NULL,
  `mt_mrc_euro` decimal(10,0) DEFAULT NULL,
  `dt_start_mrc` datetime DEFAULT NULL,
  `dt_end_mrc` datetime DEFAULT NULL,
  PRIMARY KEY (`id_tariff_service_line`),
  KEY `IDX_4926B758BD048098` (`id_billing_period`),
  KEY `IDX_4926B7583F0033A2` (`id_service`),
  KEY `IDX_4926B758C53102E9` (`id_service_extremity`),
  KEY `IDX_4926B758A5972AFE` (`id_service_extremity_option`),
  KEY `IDX_4926B7585927B880` (`id_service_option`),
  CONSTRAINT `FK_4926B7583F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_4926B7585927B880` FOREIGN KEY (`id_service_option`) REFERENCES `service_option` (`id_service_option`),
  CONSTRAINT `FK_4926B758A5972AFE` FOREIGN KEY (`id_service_extremity_option`) REFERENCES `service_extremity_option` (`id_service_extremity_option`),
  CONSTRAINT `FK_4926B758BD048098` FOREIGN KEY (`id_billing_period`) REFERENCES `billing_period` (`id_billing_period`),
  CONSTRAINT `FK_4926B758C53102E9` FOREIGN KEY (`id_service_extremity`) REFERENCES `service_extremity` (`id_service_extremity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tariff_service_line`
--


--
-- Table structure for table `tarriff`
--

CREATE TABLE `tarriff` (
  `id_tarriff` int(11) NOT NULL AUTO_INCREMENT,
  `cd_tarriff` varchar(45) DEFAULT NULL,
  `lb_tarriff` varchar(255) DEFAULT NULL,
  `mt_value` decimal(10,0) DEFAULT NULL,
  `id_rate_percent_value_type` int(11) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `dt_application` datetime DEFAULT NULL,
  `id_user` int(11) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `lb_filter` varchar(255) DEFAULT NULL,
  `bl_execute` tinyint(1) DEFAULT NULL,
  `cm_comment` varchar(225) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_tarriff`),
  KEY `id_rate_percent_value_type` (`id_rate_percent_value_type`),
  KEY `id_currency` (`id_currency`),
  KEY `id_user` (`id_user`),
  CONSTRAINT `FK_D4B7D4E232EA2F22` FOREIGN KEY (`id_rate_percent_value_type`) REFERENCES `rate_percent_value_type` (`id_rate_percent_value_type`),
  CONSTRAINT `FK_D4B7D4E2398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_D4B7D4E26B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tarriff`
--


--
-- Table structure for table `template_network`
--

CREATE TABLE `template_network` (
  `id_template_network` int(11) NOT NULL AUTO_INCREMENT,
  `cd_template_network` varchar(100) DEFAULT NULL,
  `lb_template_network` longtext,
  `id_object_type` int(11) DEFAULT NULL,
  `id_object` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_template_network`),
  KEY `id_object_type` (`id_object_type`),
  CONSTRAINT `FK_333CFC859D9A6CD` FOREIGN KEY (`id_object_type`) REFERENCES `object_type` (`id_object_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `template_network`
--


--
-- Table structure for table `title`
--

CREATE TABLE `title` (
  `id_title` int(11) NOT NULL AUTO_INCREMENT,
  `cd_title` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `lb_title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_title`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  CONSTRAINT `FK_2B36786B536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_2B36786B68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `title`
--


--
-- Table structure for table `trad_extra_datalink_group`
--

CREATE TABLE `trad_extra_datalink_group` (
  `id_trad_extra_datalink_group` int(11) NOT NULL AUTO_INCREMENT,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `lb_trad_extra_datalink_group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cd_trad_extra_datalink_group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_trad_extra_datalink_group`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `trad_extra_datalink_group`
--

INSERT INTO `trad_extra_datalink_group` VALUES (1,1,'2014-11-13 16:38:33','2014-11-13 16:38:33',NULL,'FR-SOCGEN-BDL',NULL),(2,1,'2014-11-14 00:00:00','2014-11-14 00:00:00',NULL,NULL,NULL),(3,1,'2014-11-14 18:50:03','2014-11-14 18:50:03',NULL,NULL,NULL);

--
-- Table structure for table `transfer_price`
--

CREATE TABLE `transfer_price` (
  `id_transfer_price` int(11) NOT NULL AUTO_INCREMENT,
  `mt_transfer_price` decimal(10,0) DEFAULT NULL,
  `id_service_extremity` int(11) DEFAULT NULL,
  `id_currency` int(11) DEFAULT NULL,
  `id_billing_service` int(11) DEFAULT NULL,
  `id_service` int(11) DEFAULT NULL,
  `id_service_device` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_transfer_price`),
  UNIQUE KEY `UNIQ_694CD781C53102E9` (`id_service_extremity`),
  UNIQUE KEY `UNIQ_694CD781A8E0EBE` (`id_service_device`),
  KEY `IDX_694CD781398D64AA` (`id_currency`),
  KEY `IDX_694CD78163EDD28D` (`id_billing_service`),
  KEY `IDX_694CD7813F0033A2` (`id_service`),
  CONSTRAINT `FK_694CD781A8E0EBE` FOREIGN KEY (`id_service_device`) REFERENCES `service_device` (`id_service_device`),
  CONSTRAINT `FK_694CD781398D64AA` FOREIGN KEY (`id_currency`) REFERENCES `currency` (`id_currency`),
  CONSTRAINT `FK_694CD7813F0033A2` FOREIGN KEY (`id_service`) REFERENCES `service` (`id_service`),
  CONSTRAINT `FK_694CD78163EDD28D` FOREIGN KEY (`id_billing_service`) REFERENCES `billing_service` (`id_billing_service`),
  CONSTRAINT `FK_694CD781C53102E9` FOREIGN KEY (`id_service_extremity`) REFERENCES `service_extremity` (`id_service_extremity`)
) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `transfer_price`
--


--
-- Table structure for table `trave`
--

CREATE TABLE `trave` (
  `id_trave` int(11) NOT NULL AUTO_INCREMENT,
  `id_room` int(11) DEFAULT NULL,
  `cd_trave` varchar(15) NOT NULL,
  `lb_trave` varchar(100) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_trave`),
  KEY `id_user_create_by` (`id_user_create_by`),
  KEY `id_user_update_by` (`id_user_update_by`),
  KEY `id_room` (`id_room`),
  CONSTRAINT `FK_6EE33B5536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_6EE33B568E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_6EE33B5F9BF4D99` FOREIGN KEY (`id_room`) REFERENCES `room` (`id_room`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `trave`
--


--
-- Table structure for table `ts`
--

CREATE TABLE `ts` (
  `id_ts` int(11) NOT NULL AUTO_INCREMENT,
  `id_port_instance` int(11) DEFAULT NULL,
  `lb_ts` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `nb_ts` int(11) DEFAULT NULL,
  `nb_channel` int(11) DEFAULT NULL,
  `id_ts_status` int(11) DEFAULT NULL,
  `id_backbone_link_extremity_tech` int(11) DEFAULT NULL,
  `id_local_loop_extremity_tech` int(11) DEFAULT NULL,
  `id_in_backbone_link_extremity_tech` int(11) DEFAULT NULL,
  `id_in_local_loop_extremity_tech` int(11) DEFAULT NULL,
  `id_in_service_extremity_tech` int(11) DEFAULT NULL,
  `id_local_loop_extremity_additional` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_ts`),
  KEY `IDX_C3868E8B827B36DA` (`id_port_instance`),
  KEY `IDX_C3868E8BF6F3F1C2` (`id_ts_status`),
  KEY `IDX_C3868E8B8BA15092` (`id_backbone_link_extremity_tech`),
  KEY `IDX_C3868E8B4A449A67` (`id_local_loop_extremity_tech`),
  KEY `IDX_C3868E8BB465703B` (`id_in_backbone_link_extremity_tech`),
  KEY `IDX_C3868E8B69B2566C` (`id_in_local_loop_extremity_tech`),
  KEY `IDX_C3868E8B6E4A0579` (`id_in_service_extremity_tech`),
  KEY `IDX_C3868E8B31CF16CF` (`id_local_loop_extremity_additional`),
  CONSTRAINT `FK_C3868E8B31CF16CF` FOREIGN KEY (`id_local_loop_extremity_additional`) REFERENCES `local_loop_extremity_additional` (`id_local_loop_extremity_additional`),
  CONSTRAINT `FK_C3868E8B4A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_C3868E8B69B2566C` FOREIGN KEY (`id_in_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_C3868E8B6E4A0579` FOREIGN KEY (`id_in_service_extremity_tech`) REFERENCES `service_extremity_tech` (`id_service_extremity_tech`),
  CONSTRAINT `FK_C3868E8B827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_C3868E8B8BA15092` FOREIGN KEY (`id_backbone_link_extremity_tech`) REFERENCES `backbone_link_extremity_tech` (`id_backbone_link_extremity_tech`),
  CONSTRAINT `FK_C3868E8BB465703B` FOREIGN KEY (`id_in_backbone_link_extremity_tech`) REFERENCES `backbone_link_extremity_tech` (`id_backbone_link_extremity_tech`),
  CONSTRAINT `FK_C3868E8BF6F3F1C2` FOREIGN KEY (`id_ts_status`) REFERENCES `ts_status` (`id_ts_status`)
) ENGINE=InnoDB AUTO_INCREMENT=251 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `ts`
--


--
-- Table structure for table `ts_status`
--

CREATE TABLE `ts_status` (
  `id_ts_status` int(11) NOT NULL AUTO_INCREMENT,
  `lb_status` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id_ts_status`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `ts_status`
--


--
-- Table structure for table `user_group`
--

CREATE TABLE `user_group` (
  `id_user_group` int(11) NOT NULL AUTO_INCREMENT,
  `cd_user_group` varchar(15) DEFAULT NULL,
  `lb_user_group` varchar(255) DEFAULT NULL,
  `cm_user_group` varchar(255) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_user_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_group`
--


--
-- Table structure for table `user_in_branch`
--

CREATE TABLE `user_in_branch` (
  `id_user_in_branch` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `role` varchar(100) NOT NULL,
  PRIMARY KEY (`id_user_in_branch`),
  KEY `id_user` (`id_user`),
  KEY `id_branch` (`id_branch`),
  CONSTRAINT `FK_C913FDE6B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_C913FDE9DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_in_branch`
--


--
-- Table structure for table `user_in_branch_profile`
--

CREATE TABLE `user_in_branch_profile` (
  `id_user_in_branch_profile` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_in_branch` int(11) DEFAULT NULL,
  `id_profile` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_user_in_branch_profile`),
  KEY `id_user_in_branch` (`id_user_in_branch`),
  KEY `id_profile` (`id_profile`),
  CONSTRAINT `FK_AB69D20031F782D8` FOREIGN KEY (`id_user_in_branch`) REFERENCES `user_in_branch` (`id_user_in_branch`),
  CONSTRAINT `FK_AB69D2005FCA037F` FOREIGN KEY (`id_profile`) REFERENCES `profile` (`id_profile`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_in_branch_profile`
--


--
-- Table structure for table `user_in_group`
--

CREATE TABLE `user_in_group` (
  `id_user_in_group` int(11) NOT NULL AUTO_INCREMENT,
  `id_user` int(11) DEFAULT NULL,
  `id_user_group` int(11) DEFAULT NULL,
  PRIMARY KEY (`id_user_in_group`),
  KEY `id_user` (`id_user`),
  KEY `id_user_group` (`id_user_group`),
  CONSTRAINT `FK_C7B8BEBB2A883F4A` FOREIGN KEY (`id_user_group`) REFERENCES `user_group` (`id_user_group`),
  CONSTRAINT `FK_C7B8BEBB6B3CA4B` FOREIGN KEY (`id_user`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user_in_group`
--


--
-- Table structure for table `variant`
--

CREATE TABLE `variant` (
  `id_variant` int(11) NOT NULL AUTO_INCREMENT,
  `id_variant_type` int(11) DEFAULT NULL,
  `cd_variant` varchar(15) DEFAULT NULL,
  `lb_variant` varchar(250) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_variant`),
  KEY `id_variant_type` (`id_variant_type`),
  CONSTRAINT `FK_F143BFAD40E7B4CE` FOREIGN KEY (`id_variant_type`) REFERENCES `variant_type` (`id_variant_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `variant`
--


--
-- Table structure for table `variant_type`
--

CREATE TABLE `variant_type` (
  `id_variant_type` int(11) NOT NULL AUTO_INCREMENT,
  `cd_variant_type` varchar(15) NOT NULL,
  `lb_variant_type` varchar(250) NOT NULL,
  `nb_quantity` decimal(10,0) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_variant_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `variant_type`
--


--
-- Table structure for table `vlan`
--

CREATE TABLE `vlan` (
  `id_vlan` int(11) NOT NULL AUTO_INCREMENT,
  `id_port_instance` int(11) DEFAULT NULL,
  `lb_vlan` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `id_backbone_link_extremity_tech` int(11) DEFAULT NULL,
  `id_local_loop_extremity_tech` int(11) DEFAULT NULL,
  `id_in_backbone_link_extremity_tech` int(11) DEFAULT NULL,
  `id_in_local_loop_extremity_tech` int(11) DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_vlan`),
  UNIQUE KEY `UNIQ_F83104A1B465703B` (`id_in_backbone_link_extremity_tech`),
  UNIQUE KEY `UNIQ_F83104A169B2566C` (`id_in_local_loop_extremity_tech`),
  KEY `IDX_F83104A1827B36DA` (`id_port_instance`),
  KEY `IDX_F83104A18BA15092` (`id_backbone_link_extremity_tech`),
  KEY `IDX_F83104A14A449A67` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_F83104A14A449A67` FOREIGN KEY (`id_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_F83104A169B2566C` FOREIGN KEY (`id_in_local_loop_extremity_tech`) REFERENCES `local_loop_extremity_tech` (`id_local_loop_extremity_tech`),
  CONSTRAINT `FK_F83104A1827B36DA` FOREIGN KEY (`id_port_instance`) REFERENCES `port_instance` (`id_port_instance`),
  CONSTRAINT `FK_F83104A18BA15092` FOREIGN KEY (`id_backbone_link_extremity_tech`) REFERENCES `backbone_link_extremity_tech` (`id_backbone_link_extremity_tech`),
  CONSTRAINT `FK_F83104A1B465703B` FOREIGN KEY (`id_in_backbone_link_extremity_tech`) REFERENCES `backbone_link_extremity_tech` (`id_backbone_link_extremity_tech`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `vlan`
--


--
-- Table structure for table `widget_type`
--

CREATE TABLE `widget_type` (
  `id_widget_type` int(11) NOT NULL AUTO_INCREMENT,
  `nom` varchar(255) NOT NULL,
  PRIMARY KEY (`id_widget_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `widget_type`
--


--
-- Table structure for table `world_group`
--

CREATE TABLE `world_group` (
  `id_world_group` int(11) NOT NULL AUTO_INCREMENT,
  `id_user_create_by` int(11) DEFAULT NULL,
  `id_user_update_by` int(11) DEFAULT NULL,
  `cd_world_group` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `lb_world_group` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_world_group`),
  KEY `IDX_ECA096CA536A5873` (`id_user_create_by`),
  KEY `IDX_ECA096CA68E26F41` (`id_user_update_by`),
  CONSTRAINT `FK_ECA096CA68E26F41` FOREIGN KEY (`id_user_update_by`) REFERENCES `myuser` (`id`),
  CONSTRAINT `FK_ECA096CA536A5873` FOREIGN KEY (`id_user_create_by`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `world_group`
--

INSERT INTO `world_group` VALUES (1,2,2,'SOCGEN-WWD','SOCIETE GENERALE WWD GROUP',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL),(2,2,2,'BNPPAR-WWD','BNP PARIBAS WWD GROUP',1,'2014-11-13 00:00:00','2014-11-13 00:00:00',NULL);

--
-- Table structure for table `worldwide_group`
--

CREATE TABLE `worldwide_group` (
  `lb_worldwide_group` varchar(100) CHARACTER SET utf8 NOT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  `dt_create` datetime DEFAULT NULL,
  `dt_update` datetime DEFAULT NULL,
  `id_user_global_account_manager` int(11) DEFAULT NULL,
  `id_worldwide_group` int(11) NOT NULL AUTO_INCREMENT,
  `cd_worldwide_group` varchar(15) COLLATE utf8_bin NOT NULL,
  `comment` text COLLATE utf8_bin,
  `dt_deactivated` datetime DEFAULT NULL,
  PRIMARY KEY (`id_worldwide_group`),
  KEY `id_user_global_account_manager` (`id_user_global_account_manager`),
  CONSTRAINT `FK_B87A8D9531E1145` FOREIGN KEY (`id_user_global_account_manager`) REFERENCES `myuser` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Dumping data for table `worldwide_group`
--


--
-- Table structure for table `xconnect`
--

CREATE TABLE `xconnect` (
  `id_xconnect` int(11) NOT NULL AUTO_INCREMENT,
  `cd_xconnect` varchar(100) DEFAULT NULL,
  `lb_xconnect` varchar(255) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `lb_meet_prot` varchar(255) DEFAULT NULL,
  `id_port` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_xconnect`),
  KEY `id_branch` (`id_branch`),
  KEY `id_provider` (`id_provider`),
  KEY `id_port` (`id_port`),
  CONSTRAINT `FK_F334732D9DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_F334732DC21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_F334732DC8B141CE` FOREIGN KEY (`id_port`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `xconnect`
--


--
-- Table structure for table `xconnect_template`
--

CREATE TABLE `xconnect_template` (
  `id_xconnect` int(11) NOT NULL,
  `cd_xconnect` varchar(100) DEFAULT NULL,
  `lb_xconnect` varchar(255) DEFAULT NULL,
  `id_branch` int(11) DEFAULT NULL,
  `id_provider` int(11) DEFAULT NULL,
  `lb_meet_prot` varchar(255) DEFAULT NULL,
  `id_port` int(11) DEFAULT NULL,
  `bl_deactivated` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id_xconnect`),
  KEY `id_xconnect` (`id_xconnect`),
  KEY `id_branch` (`id_branch`),
  KEY `id_provider` (`id_provider`),
  KEY `id_port` (`id_port`),
  CONSTRAINT `FK_27EB43929DB1AEF2` FOREIGN KEY (`id_branch`) REFERENCES `branch` (`id_branch`),
  CONSTRAINT `FK_27EB4392A3EF9FB8` FOREIGN KEY (`id_xconnect`) REFERENCES `xconnect` (`id_xconnect`),
  CONSTRAINT `FK_27EB4392C21F9F09` FOREIGN KEY (`id_provider`) REFERENCES `provider` (`id_provider`),
  CONSTRAINT `FK_27EB4392C8B141CE` FOREIGN KEY (`id_port`) REFERENCES `port` (`id_port`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `xconnect_template`
--



