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

-- Listage des données de la table gestcom.llx_accounting_bookkeeping : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_accounting_bookkeeping_tmp
CREATE TABLE IF NOT EXISTS `llx_accounting_bookkeeping_tmp` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `doc_date` date NOT NULL,
  `doc_type` varchar(30) NOT NULL,
  `doc_ref` varchar(300) NOT NULL,
  `fk_doc` int(11) NOT NULL,
  `fk_docdet` int(11) NOT NULL,
  `thirdparty_code` varchar(32) DEFAULT NULL,
  `subledger_account` varchar(32) DEFAULT NULL,
  `subledger_label` varchar(255) DEFAULT NULL,
  `numero_compte` varchar(32) DEFAULT NULL,
  `label_compte` varchar(255) NOT NULL,
  `label_operation` varchar(255) DEFAULT NULL,
  `debit` double(24,8) NOT NULL,
  `credit` double(24,8) NOT NULL,
  `montant` double(24,8) NOT NULL,
  `sens` varchar(1) DEFAULT NULL,
  `multicurrency_amount` double(24,8) DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `lettering_code` varchar(255) DEFAULT NULL,
  `date_lettering` datetime DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  `code_journal` varchar(32) NOT NULL,
  `journal_label` varchar(255) DEFAULT NULL,
  `piece_num` int(11) NOT NULL,
  `validated` tinyint(4) NOT NULL DEFAULT 0,
  `date_validated` datetime DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_accounting_bookkeeping_tmp_doc_date` (`doc_date`),
  KEY `idx_accounting_bookkeeping_tmp_fk_docdet` (`fk_docdet`),
  KEY `idx_accounting_bookkeeping_tmp_numero_compte` (`numero_compte`),
  KEY `idx_accounting_bookkeeping_tmp_code_journal` (`code_journal`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_accounting_bookkeeping_tmp : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_accounting_fiscalyear
CREATE TABLE IF NOT EXISTS `llx_accounting_fiscalyear` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(128) NOT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `statut` tinyint(4) NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_accounting_fiscalyear : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_accounting_groups_account
CREATE TABLE IF NOT EXISTS `llx_accounting_groups_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_accounting_account` int(11) NOT NULL,
  `fk_c_accounting_category` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_accounting_groups_account : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_accounting_journal
CREATE TABLE IF NOT EXISTS `llx_accounting_journal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(128) NOT NULL,
  `nature` smallint(6) NOT NULL DEFAULT 1,
  `active` smallint(6) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_accounting_journal_code` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_accounting_journal : ~7 rows (environ)
INSERT INTO `llx_accounting_journal` (`rowid`, `entity`, `code`, `label`, `nature`, `active`) VALUES
	(1, 1, 'VT', 'ACCOUNTING_SELL_JOURNAL', 2, 1),
	(2, 1, 'AC', 'ACCOUNTING_PURCHASE_JOURNAL', 3, 1),
	(3, 1, 'BQ', 'FinanceJournal', 4, 1),
	(4, 1, 'OD', 'ACCOUNTING_MISCELLANEOUS_JOURNAL', 1, 1),
	(5, 1, 'AN', 'ACCOUNTING_HAS_NEW_JOURNAL', 9, 1),
	(6, 1, 'ER', 'ExpenseReportsJournal', 5, 1),
	(7, 1, 'INV', 'InventoryJournal', 8, 1);

-- Listage de la structure de table gestcom. llx_accounting_system
CREATE TABLE IF NOT EXISTS `llx_accounting_system` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_country` int(11) DEFAULT NULL,
  `pcg_version` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `label` varchar(128) NOT NULL,
  `active` smallint(6) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_accounting_system_pcg_version` (`pcg_version`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_accounting_system : ~39 rows (environ)
INSERT INTO `llx_accounting_system` (`rowid`, `fk_country`, `pcg_version`, `label`, `active`) VALUES
	(1, 1, 'PCG99-ABREGE', 'The simple accountancy french plan', 1),
	(2, 1, 'PCG99-BASE', 'The base accountancy french plan', 1),
	(3, 1, 'PCG14-DEV', 'The developed accountancy french plan 2014', 1),
	(4, 2, 'PCMN-BASE', 'The base accountancy belgium plan', 1),
	(5, 4, 'PCG08-PYME', 'The PYME accountancy spanish plan', 1),
	(6, 5, 'SKR03', 'Standardkontenrahmen SKR 03', 1),
	(7, 5, 'SKR04', 'Standardkontenrahmen SKR 04', 1),
	(8, 6, 'PCG_SUISSE', 'Switzerland plan', 1),
	(9, 7, 'ENG-BASE', 'England plan', 1),
	(10, 10, 'PCT', 'The Tunisia plan', 1),
	(11, 67, 'PC-MIPYME', 'The PYME accountancy Chile plan', 1),
	(12, 80, 'DK-STD', 'Standardkontoplan fra SKAT', 1),
	(13, 140, 'PCN-LUXEMBURG', 'Plan comptable normalisé Luxembourgeois', 1),
	(14, 12, 'PCG', 'The Moroccan chart of accounts', 1),
	(15, 49, 'SYSCOHADA-BJ', 'Plan comptable Ouest-Africain', 1),
	(16, 60, 'SYSCOHADA-BF', 'Plan comptable Ouest-Africain', 1),
	(17, 24, 'SYSCOHADA-CM', 'Plan comptable Ouest-Africain', 1),
	(18, 65, 'SYSCOHADA-CF', 'Plan comptable Ouest-Africain', 1),
	(19, 71, 'SYSCOHADA-KM', 'Plan comptable Ouest-Africain', 1),
	(20, 72, 'SYSCOHADA-CG', 'Plan comptable Ouest-Africain', 1),
	(21, 21, 'SYSCOHADA-CI', 'Plan comptable Ouest-Africain', 1),
	(22, 16, 'SYSCOHADA-GA', 'Plan comptable Ouest-Africain', 1),
	(23, 87, 'SYSCOHADA-GQ', 'Plan comptable Ouest-Africain', 1),
	(24, 147, 'SYSCOHADA-ML', 'Plan comptable Ouest-Africain', 1),
	(25, 168, 'SYSCOHADA-NE', 'Plan comptable Ouest-Africain', 1),
	(26, 73, 'SYSCOHADA-CD', 'Plan comptable Ouest-Africain', 1),
	(27, 22, 'SYSCOHADA-SN', 'Plan comptable Ouest-Africain', 1),
	(28, 66, 'SYSCOHADA-TD', 'Plan comptable Ouest-Africain', 1),
	(29, 15, 'SYSCOHADA-TG', 'Plan comptable Ouest-Africain', 1),
	(30, 188, 'RO-BASE', 'Plan de conturi romanesc', 1),
	(31, 13, 'NSCF', 'Nouveau système comptable financier', 1),
	(32, 20, 'BAS-K1-MINI', 'The Swedish mini chart of accounts', 1),
	(78, 1, 'PCG18-ASSOC', 'French foundation chart of accounts 2018', 1),
	(79, 1, 'PCGAFR14-DEV', 'The developed farm accountancy french plan 2014', 1),
	(80, 41, 'AT-BASE', 'Plan Austria', 1),
	(81, 11, 'US-BASE', 'USA basic chart of accounts', 1),
	(82, 14, 'CA-ENG-BASE', 'Canadian basic chart of accounts - English', 1),
	(83, 154, 'SAT/24-2019', 'Catalogo y codigo agrupador fiscal del 2019', 1),
	(84, 140, 'PCN2020-LUXEMBURG', 'Plan comptable normalisé 2020 Luxembourgeois', 1);

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

-- Listage des données de la table gestcom.llx_actioncomm : ~56 rows (environ)
INSERT INTO `llx_actioncomm` (`id`, `ref`, `ref_ext`, `entity`, `datep`, `datep2`, `fk_action`, `code`, `datec`, `tms`, `fk_user_author`, `fk_user_mod`, `fk_project`, `fk_soc`, `fk_contact`, `fk_parent`, `fk_user_action`, `fk_user_done`, `transparency`, `priority`, `fulldayevent`, `percent`, `location`, `durationp`, `label`, `note`, `email_subject`, `email_msgid`, `email_from`, `email_sender`, `email_to`, `email_tocc`, `email_tobcc`, `errors_to`, `recurid`, `recurrule`, `recurdateend`, `fk_element`, `elementtype`, `import_key`, `extraparams`, `calling_duration`, `visibility`, `reply_to`, `num_vote`, `event_paid`, `status`) VALUES
	(1, '1', NULL, 1, '2019-09-06 14:50:51', '2019-09-06 14:50:51', 40, 'AC_PRODUCT_CREATE', '2019-09-06 14:50:51', '2021-07-29 08:32:52', 2, NULL, NULL, NULL, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Produit zzzz créé', 'Auteur: demo\nProduit zzzz créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, 'product', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(2, '2', NULL, 1, '2019-12-11 05:49:18', '2019-12-11 05:49:18', 40, 'AC_BILL_PAYED', '2019-12-11 05:49:18', '2021-07-29 08:32:52', 2, NULL, NULL, 1136, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA180003 passée à payée', 'Auteur: demo\nFacture FA180003 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(3, '3', NULL, 1, '2020-03-22 13:24:50', '2020-03-22 13:24:50', 40, 'AC_PROPAL_VALIDATE', '2020-03-22 13:24:50', '2021-07-29 08:32:52', 2, NULL, NULL, 1136, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Proposition PR1908-0001 validée', 'Auteur: demo\nProposition PR1908-0001 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'propal', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(4, '4', NULL, 1, '2020-07-13 17:11:49', '2020-07-13 17:11:49', 40, 'AC_BILL_PAYED', '2020-07-13 17:11:49', '2021-07-29 08:32:52', 2, NULL, NULL, 1136, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA190007 passée à payée', 'Auteur: demo\nFacture FA190007 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(5, '5', NULL, 1, '2020-07-24 16:10:16', '2020-07-24 16:10:16', 40, 'AC_COMPANY_CREATE', '2020-07-24 16:10:16', '2021-07-29 08:32:52', 1, NULL, NULL, 1144, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers CAULIAN créé', 'Auteur: laurent.bouquet\nTiers CAULIAN créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(6, '6', NULL, 1, '2020-08-06 17:13:38', '2020-08-06 17:13:38', 40, 'AC_BILL_VALIDATE', '2020-08-06 17:13:38', '2021-07-29 08:32:52', 2, NULL, NULL, 1134, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture AV200001 validée', 'Auteur: demo\nFacture AV200001 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 13, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(7, '7', NULL, 1, '2020-08-06 17:15:14', '2020-08-06 17:15:14', 40, 'AC_BILL_PAYED', '2020-08-06 17:15:14', '2021-07-29 08:32:52', 2, NULL, NULL, 1134, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture AV200001 passée à payée', 'Auteur: demo\nFacture AV200001 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 13, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(8, '8', NULL, 1, '2020-11-12 10:23:28', '2020-11-12 10:23:28', 40, 'AC_BILL_VALIDATE', '2020-11-12 10:23:28', '2021-07-29 08:32:52', 2, NULL, NULL, 1137, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA200008 validée', 'Auteur: demo\nFacture FA200008 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 14, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(9, '9', NULL, 1, '2020-11-27 08:50:58', '2020-11-27 08:50:58', 40, 'AC_BILL_PAYED', '2020-11-27 08:50:58', '2021-07-29 08:32:52', 2, NULL, NULL, 1134, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA190004 passée à payée', 'Auteur: demo\nFacture FA190004 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(10, '10', NULL, 1, '2020-12-06 10:37:02', '2020-12-06 10:37:02', 40, 'AC_BILL_PAYED', '2020-12-06 10:37:02', '2021-07-29 08:32:52', 1, NULL, NULL, 1135, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA190006 passée à payée', 'Auteur: laurent.bouquet\nFacture FA190006 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(11, '11', NULL, 1, '2020-12-06 10:44:39', '2020-12-06 10:44:39', 40, 'AC_BILL_VALIDATE', '2020-12-06 10:44:39', '2021-07-29 08:32:52', 1, NULL, NULL, 1136, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA200009 validée', 'Auteur: laurent.bouquet\nFacture FA200009 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(12, '12', NULL, 1, '2020-12-06 10:51:15', '2020-12-06 10:51:15', 40, 'AC_BILL_PAYED', '2020-12-06 10:51:15', '2021-07-29 08:32:52', 1, NULL, NULL, 1136, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA200009 passée à payée', 'Auteur: laurent.bouquet\nFacture FA200009 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(13, '13', NULL, 1, '2020-12-22 19:44:55', '2020-12-22 19:44:55', 40, 'AC_PROJECT_VALIDATE', '2020-12-22 19:44:55', '2021-07-29 08:32:52', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Projet PJ1906-0001 validé', 'Auteur: laurent.bouquet\nProjet PJ1906-0001 validé\nProjet: PJ1906-0001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(14, '14', NULL, 1, '2020-12-22 19:45:10', '2020-12-22 19:45:10', 40, 'AC_BILL_VALIDATE', '2020-12-22 19:45:10', '2021-07-29 08:32:52', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA200010 validée', 'Auteur: laurent.bouquet\nFacture FA200010 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 17, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(15, '15', NULL, 1, '2021-07-29 10:38:35', '2021-07-29 10:38:35', 40, 'AC_PRODUCT_DELETE', '2021-07-29 10:38:35', '2021-07-29 08:38:35', 1, NULL, NULL, NULL, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Produitzzzzsupprimé', 'Auteur: laurent.bouquet\nProduitzzzzsupprimé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, 'product', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(16, '16', NULL, 1, '2021-11-24 12:21:04', '2021-11-24 12:21:04', 40, 'AC_BILL_VALIDATE', '2021-11-24 12:21:04', '2021-11-24 11:21:04', 2, NULL, NULL, 1138, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210011 validée', 'Auteur: demo\nFacture FA210011 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 29, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(17, '17', NULL, 1, '2021-11-24 12:21:39', '2021-11-24 12:21:39', 40, 'AC_BILL_VALIDATE', '2021-11-24 12:21:39', '2021-11-24 11:21:39', 2, NULL, NULL, 1139, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210012 validée', 'Auteur: demo\nFacture FA210012 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(18, '18', NULL, 1, '2021-11-29 08:56:33', '2021-11-29 08:56:33', 40, 'AC_BILL_VALIDATE', '2021-11-29 08:56:33', '2021-11-29 07:56:33', 2, NULL, NULL, 1137, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210013 validée', 'Auteur: demo\nFacture FA210013 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 31, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(19, '19', NULL, 1, '2021-11-29 08:57:05', '2021-11-29 08:57:05', 40, 'AC_BILL_VALIDATE', '2021-11-29 08:57:05', '2021-11-29 07:57:05', 2, NULL, NULL, 1137, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210014 validée', 'Auteur: demo\nFacture FA210014 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 32, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(20, '20', NULL, 1, '2021-12-15 12:40:13', '2021-12-15 12:40:13', 40, 'AC_COMPANY_CREATE', '2021-12-15 12:40:14', '2021-12-15 11:40:14', 2, NULL, NULL, 1145, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Alain PRESSION créé', 'Auteur: demo\nTiers Alain PRESSION créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(21, '21', NULL, 1, '2021-12-15 12:41:43', '2021-12-15 12:41:43', 40, 'AC_PRODUCT_CREATE', '2021-12-15 12:41:43', '2021-12-15 11:41:43', 2, NULL, NULL, NULL, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Produit TEST_ABH créé', 'Auteur: demo\nProduit TEST_ABH créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 72, 'product', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(22, '22', NULL, 1, '2021-12-15 12:42:17', '2021-12-15 12:42:17', 40, 'AC_PRODUCT_MODIFY', '2021-12-15 12:42:17', '2021-12-15 11:42:17', 2, NULL, NULL, NULL, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Produit TEST_ABH modifié', 'Auteur: demo\nProduit TEST_ABH modifié', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 72, 'product', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(23, '23', NULL, 1, '2021-12-15 12:44:56', '2021-12-15 12:44:56', 40, 'AC_PROPAL_VALIDATE', '2021-12-15 12:44:56', '2021-12-15 11:44:56', 2, NULL, NULL, 1145, NULL, 0, 2, NULL, 0, 0, 0, -1, '', NULL, 'Proposition PR2112-0002 validée', 'Auteur: demo\nProposition PR2112-0002 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'propal', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(24, '24', NULL, 1, '2022-06-20 18:42:29', '2022-06-20 18:42:29', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:42:29', '2022-06-20 16:42:29', 1, NULL, NULL, 1140, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220015 validée', 'Auteur: laurent.bouquet\nFacture FA220015 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 33, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(25, '25', NULL, 1, '2022-06-20 18:42:53', '2022-06-20 18:42:53', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:42:53', '2022-06-20 16:42:53', 1, NULL, NULL, 1137, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210016 validée', 'Auteur: laurent.bouquet\nFacture FA210016 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 28, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(26, '26', NULL, 1, '2022-06-20 18:43:43', '2022-06-20 18:43:43', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:43:43', '2022-06-20 16:43:43', 1, NULL, NULL, 1140, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220017 validée', 'Auteur: laurent.bouquet\nFacture FA220017 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(27, '27', NULL, 1, '2022-06-20 18:44:48', '2022-06-20 18:44:48', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:44:48', '2022-06-20 16:44:48', 1, NULL, NULL, 1136, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture AC220001 validée', 'Auteur: laurent.bouquet\nFacture AC220001 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(28, '28', NULL, 1, '2022-06-20 18:45:11', '2022-06-20 18:45:11', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:45:11', '2022-06-20 16:45:11', 1, NULL, NULL, 1137, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220018 validée', 'Auteur: laurent.bouquet\nFacture FA220018 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(29, '29', NULL, 1, '2022-06-20 18:45:41', '2022-06-20 18:45:41', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:45:41', '2022-06-20 16:45:41', 1, NULL, NULL, 1137, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220019 validée', 'Auteur: laurent.bouquet\nFacture FA220019 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(30, '30', NULL, 1, '2022-06-20 18:46:02', '2022-06-20 18:46:02', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:46:02', '2022-06-20 16:46:02', 1, NULL, NULL, 1137, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210020 validée', 'Auteur: laurent.bouquet\nFacture FA210020 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 18, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(31, '31', NULL, 1, '2022-06-20 18:46:40', '2022-06-20 18:46:40', 40, 'AC_BILL_VALIDATE', '2022-06-20 18:46:40', '2022-06-20 16:46:40', 1, NULL, NULL, 1137, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA210021 validée', 'Auteur: laurent.bouquet\nFacture FA210021 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 19, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(32, '32', NULL, 1, '2022-06-23 17:46:58', '2022-06-23 17:46:58', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:46:58', '2022-06-23 15:46:58', 1, NULL, NULL, 1146, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Orange créé', 'Auteur: laurent.bouquet\nTiers Orange créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(33, '33', NULL, 1, '2022-06-23 17:47:19', '2022-06-23 17:47:19', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:47:19', '2022-06-23 15:47:19', 1, NULL, NULL, 1147, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Engie créé', 'Auteur: laurent.bouquet\nTiers Engie créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(34, '34', NULL, 1, '2022-06-23 17:47:35', '2022-06-23 17:47:35', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:47:35', '2022-06-23 15:47:35', 1, NULL, NULL, 1148, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Intermarché créé', 'Auteur: laurent.bouquet\nTiers Intermarché créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(35, '35', NULL, 1, '2022-06-23 17:48:25', '2022-06-23 17:48:25', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:48:25', '2022-06-23 15:48:25', 1, NULL, NULL, 1149, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers E Leclerc créé', 'Auteur: laurent.bouquet\nTiers E Leclerc créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(36, '36', NULL, 1, '2022-06-23 17:48:35', '2022-06-23 17:48:35', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:48:35', '2022-06-23 15:48:35', 1, NULL, NULL, 1150, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Carrefour créé', 'Auteur: laurent.bouquet\nTiers Carrefour créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(37, '37', NULL, 1, '2022-06-23 17:48:43', '2022-06-23 17:48:43', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:48:43', '2022-06-23 15:48:43', 1, NULL, NULL, 1151, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers Amazon créé', 'Auteur: laurent.bouquet\nTiers Amazon créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(38, '38', NULL, 1, '2022-06-23 17:48:50', '2022-06-23 17:48:50', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:48:50', '2022-06-23 15:48:50', 1, NULL, NULL, 1152, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers CDiscount créé', 'Auteur: laurent.bouquet\nTiers CDiscount créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(39, '39', NULL, 1, '2022-06-23 17:48:56', '2022-06-23 17:48:56', 40, 'AC_COMPANY_CREATE', '2022-06-23 17:48:56', '2022-06-23 15:48:56', 1, NULL, NULL, 1153, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Tiers FNAC créé', 'Auteur: laurent.bouquet\nTiers FNAC créé', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(40, '40', NULL, 1, '2022-06-23 17:56:45', '2022-06-23 17:56:45', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 17:56:45', '2022-06-23 15:56:45', 1, NULL, NULL, 1151, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2206-0001 validée', 'Auteur: laurent.bouquet\nFacture SI2206-0001 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(41, '41', NULL, 1, '2022-06-23 18:00:07', '2022-06-23 18:00:07', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:00:07', '2022-06-23 16:00:07', 1, NULL, NULL, 1150, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2205-0002 validée', 'Auteur: laurent.bouquet\nFacture SI2205-0002 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(42, '42', NULL, 1, '2022-06-23 18:00:58', '2022-06-23 18:00:58', 40, 'AC_BILL_SUPPLIER_PAYED', '2022-06-23 18:00:58', '2022-06-23 16:00:58', 1, NULL, NULL, 1150, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2205-0002 passée à payée', 'Auteur: laurent.bouquet\nFacture SI2205-0002 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(43, '43', NULL, 1, '2022-06-23 18:02:26', '2022-06-23 18:02:26', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:02:27', '2022-06-23 16:02:27', 1, NULL, NULL, 1152, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2204-0003 validée', 'Auteur: laurent.bouquet\nFacture SI2204-0003 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(44, '44', NULL, 1, '2022-06-23 18:04:39', '2022-06-23 18:04:39', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:04:39', '2022-06-23 16:04:39', 1, NULL, NULL, 1143, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2203-0004 validée', 'Auteur: laurent.bouquet\nFacture SI2203-0004 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(45, '45', NULL, 1, '2022-06-23 18:05:38', '2022-06-23 18:05:38', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:05:38', '2022-06-23 16:05:38', 1, NULL, NULL, 1149, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2202-0005 validée', 'Auteur: laurent.bouquet\nFacture SI2202-0005 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(46, '46', NULL, 1, '2022-06-23 18:06:34', '2022-06-23 18:06:34', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:06:34', '2022-06-23 16:06:34', 1, NULL, NULL, 1147, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2201-0006 validée', 'Auteur: laurent.bouquet\nFacture SI2201-0006 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(47, '47', NULL, 1, '2022-06-23 18:06:42', '2022-06-23 18:06:42', 40, 'AC_BILL_SUPPLIER_UNVALIDATE', '2022-06-23 18:06:42', '2022-06-23 16:06:42', 1, NULL, NULL, 1147, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2201-0006 repassée en brouillon', 'Auteur: laurent.bouquet\nFacture SI2201-0006 repassée en brouillon', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(48, '48', NULL, 1, '2022-06-23 18:06:57', '2022-06-23 18:06:57', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:06:57', '2022-06-23 16:06:57', 1, NULL, NULL, 1147, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2201-0006 validée', 'Auteur: laurent.bouquet\nFacture SI2201-0006 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(49, '49', NULL, 1, '2022-06-23 18:07:45', '2022-06-23 18:07:45', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:07:45', '2022-06-23 16:07:45', 1, NULL, NULL, 1153, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2203-0007 validée', 'Auteur: laurent.bouquet\nFacture SI2203-0007 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(50, '50', NULL, 1, '2022-06-23 18:08:47', '2022-06-23 18:08:47', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:08:47', '2022-06-23 16:08:47', 1, NULL, NULL, 1148, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2204-0008 validée', 'Auteur: laurent.bouquet\nFacture SI2204-0008 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(51, '51', NULL, 1, '2022-06-23 18:09:55', '2022-06-23 18:09:55', 40, 'AC_BILL_SUPPLIER_VALIDATE', '2022-06-23 18:09:55', '2022-06-23 16:09:55', 1, NULL, NULL, 1146, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture SI2205-0009 validée', 'Auteur: laurent.bouquet\nFacture SI2205-0009 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, 'invoice_supplier', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(52, '52', NULL, 1, '2022-08-19 21:04:58', '2022-08-19 21:04:58', 40, 'AC_PROJECT_MODIFY', '2022-08-19 21:04:58', '2022-08-19 19:04:58', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Projet PJ1906-0001 modifié', 'Auteur: laurent.bouquet\nProjet PJ1906-0001 modifié', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(53, '53', NULL, 1, '2022-08-22 18:50:49', '2022-08-22 18:50:49', 40, 'AC_BILL_PAYED', '2022-08-22 18:50:49', '2022-08-22 16:50:49', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA200010 passée à payée', 'Auteur: laurent.bouquet\nFacture FA200010 passée à payée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 17, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(54, '54', NULL, 1, '2022-08-22 18:50:59', '2022-08-22 18:50:59', 40, 'AC_BILL_VALIDATE', '2022-08-22 18:50:59', '2022-08-22 16:50:59', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220022 validée', 'Auteur: laurent.bouquet\nFacture FA220022 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 34, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(55, '55', NULL, 1, '2022-08-22 18:51:21', '2022-08-22 18:51:21', 40, 'AC_BILL_UNVALIDATE', '2022-08-22 18:51:21', '2022-08-22 16:51:21', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220022 repassée en brouillon', 'Auteur: laurent.bouquet\nFacture FA220022 repassée en brouillon', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 34, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0),
	(56, '56', NULL, 1, '2022-08-22 18:51:34', '2022-08-22 18:51:34', 40, 'AC_BILL_VALIDATE', '2022-08-22 18:51:34', '2022-08-22 16:51:34', 1, NULL, 1, 1134, NULL, 0, 1, NULL, 0, 0, 0, -1, '', NULL, 'Facture FA220022 validée', 'Auteur: laurent.bouquet\nFacture FA220022 validée', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 34, 'invoice', NULL, NULL, NULL, 'default', NULL, NULL, 0, 0);

-- Listage de la structure de table gestcom. llx_actioncomm_extrafields
CREATE TABLE IF NOT EXISTS `llx_actioncomm_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_actioncomm_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_actioncomm_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_actioncomm_reminder
CREATE TABLE IF NOT EXISTS `llx_actioncomm_reminder` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `dateremind` datetime NOT NULL,
  `typeremind` varchar(32) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `offsetvalue` int(11) NOT NULL,
  `offsetunit` varchar(1) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_actioncomm` int(11) NOT NULL,
  `fk_email_template` int(11) DEFAULT NULL,
  `lasterror` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_actioncomm_reminder_unique` (`fk_user`,`typeremind`,`offsetvalue`,`offsetunit`,`fk_actioncomm`),
  KEY `idx_actioncomm_reminder_rowid` (`rowid`),
  KEY `idx_actioncomm_reminder_dateremind` (`dateremind`),
  KEY `idx_actioncomm_reminder_fk_user` (`fk_user`),
  KEY `idx_actioncomm_reminder_status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_actioncomm_reminder : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_actioncomm_resources
CREATE TABLE IF NOT EXISTS `llx_actioncomm_resources` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_actioncomm` int(11) NOT NULL,
  `element_type` varchar(50) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `answer_status` varchar(50) DEFAULT NULL,
  `mandatory` smallint(6) DEFAULT NULL,
  `transparency` smallint(6) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_actioncomm_resources` (`fk_actioncomm`,`element_type`,`fk_element`),
  KEY `idx_actioncomm_resources_fk_element` (`fk_element`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_actioncomm_resources : ~56 rows (environ)
INSERT INTO `llx_actioncomm_resources` (`rowid`, `fk_actioncomm`, `element_type`, `fk_element`, `answer_status`, `mandatory`, `transparency`) VALUES
	(1, 1, 'user', 2, '0', 0, 0),
	(2, 2, 'user', 2, '0', 0, 0),
	(3, 3, 'user', 2, '0', 0, 0),
	(4, 4, 'user', 2, '0', 0, 0),
	(5, 5, 'user', 1, '0', 0, 0),
	(6, 6, 'user', 2, '0', 0, 0),
	(7, 7, 'user', 2, '0', 0, 0),
	(8, 8, 'user', 2, '0', 0, 0),
	(9, 9, 'user', 2, '0', 0, 0),
	(10, 10, 'user', 1, '0', 0, 0),
	(11, 11, 'user', 1, '0', 0, 0),
	(12, 12, 'user', 1, '0', 0, 0),
	(13, 13, 'user', 1, '0', 0, 0),
	(14, 14, 'user', 1, '0', 0, 0),
	(15, 15, 'user', 1, '0', 0, 0),
	(16, 16, 'user', 2, '0', 0, 0),
	(17, 17, 'user', 2, '0', 0, 0),
	(18, 18, 'user', 2, '0', 0, 0),
	(19, 19, 'user', 2, '0', 0, 0),
	(20, 20, 'user', 2, '0', 0, 0),
	(21, 21, 'user', 2, '0', 0, 0),
	(22, 22, 'user', 2, '0', 0, 0),
	(23, 23, 'user', 2, '0', 0, 0),
	(24, 24, 'user', 1, '0', 0, 0),
	(25, 25, 'user', 1, '0', 0, 0),
	(26, 26, 'user', 1, '0', 0, 0),
	(27, 27, 'user', 1, '0', 0, 0),
	(28, 28, 'user', 1, '0', 0, 0),
	(29, 29, 'user', 1, '0', 0, 0),
	(30, 30, 'user', 1, '0', 0, 0),
	(31, 31, 'user', 1, '0', 0, 0),
	(32, 32, 'user', 1, '0', 0, 0),
	(33, 33, 'user', 1, '0', 0, 0),
	(34, 34, 'user', 1, '0', 0, 0),
	(35, 35, 'user', 1, '0', 0, 0),
	(36, 36, 'user', 1, '0', 0, 0),
	(37, 37, 'user', 1, '0', 0, 0),
	(38, 38, 'user', 1, '0', 0, 0),
	(39, 39, 'user', 1, '0', 0, 0),
	(40, 40, 'user', 1, '0', 0, 0),
	(41, 41, 'user', 1, '0', 0, 0),
	(42, 42, 'user', 1, '0', 0, 0),
	(43, 43, 'user', 1, '0', 0, 0),
	(44, 44, 'user', 1, '0', 0, 0),
	(45, 45, 'user', 1, '0', 0, 0),
	(46, 46, 'user', 1, '0', 0, 0),
	(47, 47, 'user', 1, '0', 0, 0),
	(48, 48, 'user', 1, '0', 0, 0),
	(49, 49, 'user', 1, '0', 0, 0),
	(50, 50, 'user', 1, '0', 0, 0),
	(51, 51, 'user', 1, '0', 0, 0),
	(52, 52, 'user', 1, '0', 0, 0),
	(53, 53, 'user', 1, '0', 0, 0),
	(54, 54, 'user', 1, '0', 0, 0),
	(55, 55, 'user', 1, '0', 0, 0),
	(56, 56, 'user', 1, '0', 0, 0);

-- Listage de la structure de table gestcom. llx_adherent
CREATE TABLE IF NOT EXISTS `llx_adherent` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(128) DEFAULT NULL,
  `civility` varchar(6) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `login` varchar(50) DEFAULT NULL,
  `pass` varchar(50) DEFAULT NULL,
  `pass_crypted` varchar(128) DEFAULT NULL,
  `fk_adherent_type` int(11) NOT NULL,
  `morphy` varchar(3) NOT NULL,
  `societe` varchar(128) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `zip` varchar(30) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `country` int(11) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `socialnetworks` text DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `phone_perso` varchar(30) DEFAULT NULL,
  `phone_mobile` varchar(30) DEFAULT NULL,
  `birth` date DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `public` smallint(6) NOT NULL DEFAULT 0,
  `datefin` datetime DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `datevalid` datetime DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `canvas` varchar(32) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `gender` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_adherent_ref` (`ref`,`entity`),
  UNIQUE KEY `uk_adherent_login` (`login`,`entity`),
  UNIQUE KEY `uk_adherent_fk_soc` (`fk_soc`),
  KEY `idx_adherent_fk_adherent_type` (`fk_adherent_type`),
  CONSTRAINT `adherent_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_adherent_adherent_type` FOREIGN KEY (`fk_adherent_type`) REFERENCES `llx_adherent_type` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_adherent : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_adherent_extrafields
CREATE TABLE IF NOT EXISTS `llx_adherent_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_adherent_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_adherent_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_adherent_type
CREATE TABLE IF NOT EXISTS `llx_adherent_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `libelle` varchar(50) NOT NULL,
  `subscription` varchar(3) NOT NULL DEFAULT '1',
  `amount` double(24,8) DEFAULT NULL,
  `vote` varchar(3) NOT NULL DEFAULT '1',
  `note` text DEFAULT NULL,
  `mail_valid` text DEFAULT NULL,
  `morphy` varchar(3) DEFAULT NULL,
  `duration` varchar(6) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_adherent_type_libelle` (`libelle`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_adherent_type : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_adherent_type_extrafields
CREATE TABLE IF NOT EXISTS `llx_adherent_type_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_adherent_type_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_adherent_type_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_adherent_type_lang
CREATE TABLE IF NOT EXISTS `llx_adherent_type_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_type` int(11) NOT NULL DEFAULT 0,
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_adherent_type_lang : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_askpricesupplier
CREATE TABLE IF NOT EXISTS `llx_askpricesupplier` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `fk_statut` smallint(6) NOT NULL DEFAULT 0,
  `price` double DEFAULT 0,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total` double(24,8) DEFAULT 0.00000000,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_askpricesupplier : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_askpricesupplierdet
CREATE TABLE IF NOT EXISTS `llx_askpricesupplierdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_askpricesupplier` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `fk_remise_except` int(11) DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT 0.000,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(10) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(10) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `ref_fourn` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_askpricesupplierdet : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_askpricesupplierdet_extrafields
CREATE TABLE IF NOT EXISTS `llx_askpricesupplierdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_askpricesupplierdet_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_askpricesupplier_extrafields
CREATE TABLE IF NOT EXISTS `llx_askpricesupplier_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_askpricesupplier_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset
CREATE TABLE IF NOT EXISTS `llx_asset` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(128) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `fk_asset_model` int(11) DEFAULT NULL,
  `reversal_amount_ht` double(24,8) DEFAULT NULL,
  `acquisition_value_ht` double(24,8) NOT NULL,
  `recovered_vat` double(24,8) DEFAULT NULL,
  `reversal_date` date DEFAULT NULL,
  `date_acquisition` date NOT NULL,
  `date_start` date NOT NULL,
  `qty` double NOT NULL DEFAULT 1,
  `acquisition_type` smallint(6) NOT NULL DEFAULT 0,
  `asset_type` smallint(6) NOT NULL DEFAULT 0,
  `not_depreciated` int(11) DEFAULT 0,
  `disposal_date` date DEFAULT NULL,
  `disposal_amount_ht` double(24,8) DEFAULT NULL,
  `fk_disposal_type` int(11) DEFAULT NULL,
  `disposal_depreciated` int(11) DEFAULT 0,
  `disposal_subject_to_vat` int(11) DEFAULT 0,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_asset_rowid` (`rowid`),
  KEY `idx_asset_ref` (`ref`),
  KEY `idx_asset_entity` (`entity`),
  KEY `idx_asset_fk_asset_model` (`fk_asset_model`),
  KEY `idx_asset_fk_disposal_type` (`fk_disposal_type`),
  KEY `fk_asset_user_creat` (`fk_user_creat`),
  KEY `fk_asset_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_asset_model` FOREIGN KEY (`fk_asset_model`) REFERENCES `llx_asset_model` (`rowid`),
  CONSTRAINT `fk_asset_disposal_type` FOREIGN KEY (`fk_disposal_type`) REFERENCES `llx_c_asset_disposal_type` (`rowid`),
  CONSTRAINT `fk_asset_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_asset_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_asset : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_accountancy_codes_economic
CREATE TABLE IF NOT EXISTS `llx_asset_accountancy_codes_economic` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_asset` int(11) DEFAULT NULL,
  `fk_asset_model` int(11) DEFAULT NULL,
  `asset` varchar(32) DEFAULT NULL,
  `depreciation_asset` varchar(32) DEFAULT NULL,
  `depreciation_expense` varchar(32) DEFAULT NULL,
  `value_asset_sold` varchar(32) DEFAULT NULL,
  `receivable_on_assignment` varchar(32) DEFAULT NULL,
  `proceeds_from_sales` varchar(32) DEFAULT NULL,
  `vat_collected` varchar(32) DEFAULT NULL,
  `vat_deductible` varchar(32) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_ace_fk_asset` (`fk_asset`),
  UNIQUE KEY `uk_asset_ace_fk_asset_model` (`fk_asset_model`),
  KEY `idx_asset_ace_rowid` (`rowid`),
  KEY `fk_asset_ace_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_ace_asset` FOREIGN KEY (`fk_asset`) REFERENCES `llx_asset` (`rowid`),
  CONSTRAINT `fk_asset_ace_asset_model` FOREIGN KEY (`fk_asset_model`) REFERENCES `llx_asset_model` (`rowid`),
  CONSTRAINT `fk_asset_ace_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_accountancy_codes_economic : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_accountancy_codes_fiscal
CREATE TABLE IF NOT EXISTS `llx_asset_accountancy_codes_fiscal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_asset` int(11) DEFAULT NULL,
  `fk_asset_model` int(11) DEFAULT NULL,
  `accelerated_depreciation` varchar(32) DEFAULT NULL,
  `endowment_accelerated_depreciation` varchar(32) DEFAULT NULL,
  `provision_accelerated_depreciation` varchar(32) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_acf_fk_asset` (`fk_asset`),
  UNIQUE KEY `uk_asset_acf_fk_asset_model` (`fk_asset_model`),
  KEY `idx_asset_acf_rowid` (`rowid`),
  KEY `fk_asset_acf_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_acf_asset` FOREIGN KEY (`fk_asset`) REFERENCES `llx_asset` (`rowid`),
  CONSTRAINT `fk_asset_acf_asset_model` FOREIGN KEY (`fk_asset_model`) REFERENCES `llx_asset_model` (`rowid`),
  CONSTRAINT `fk_asset_acf_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_accountancy_codes_fiscal : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_depreciation
CREATE TABLE IF NOT EXISTS `llx_asset_depreciation` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_asset` int(11) NOT NULL,
  `depreciation_mode` varchar(255) NOT NULL,
  `ref` varchar(255) NOT NULL,
  `depreciation_date` datetime NOT NULL,
  `depreciation_ht` double(24,8) NOT NULL,
  `cumulative_depreciation_ht` double(24,8) NOT NULL,
  `accountancy_code_debit` varchar(32) DEFAULT NULL,
  `accountancy_code_credit` varchar(32) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_depreciation_fk_asset` (`fk_asset`,`depreciation_mode`,`ref`),
  KEY `idx_asset_depreciation_rowid` (`rowid`),
  KEY `idx_asset_depreciation_fk_asset` (`fk_asset`),
  KEY `idx_asset_depreciation_depreciation_mode` (`depreciation_mode`),
  KEY `idx_asset_depreciation_ref` (`ref`),
  KEY `fk_asset_depreciation_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_depreciation_asset` FOREIGN KEY (`fk_asset`) REFERENCES `llx_asset` (`rowid`),
  CONSTRAINT `fk_asset_depreciation_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_depreciation : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_depreciation_options_economic
CREATE TABLE IF NOT EXISTS `llx_asset_depreciation_options_economic` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_asset` int(11) DEFAULT NULL,
  `fk_asset_model` int(11) DEFAULT NULL,
  `depreciation_type` smallint(6) NOT NULL DEFAULT 0,
  `accelerated_depreciation_option` int(11) DEFAULT NULL,
  `degressive_coefficient` double(24,8) DEFAULT NULL,
  `duration` smallint(6) NOT NULL,
  `duration_type` smallint(6) NOT NULL DEFAULT 0,
  `amount_base_depreciation_ht` double(24,8) DEFAULT NULL,
  `amount_base_deductible_ht` double(24,8) DEFAULT NULL,
  `total_amount_last_depreciation_ht` double(24,8) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_doe_fk_asset` (`fk_asset`),
  UNIQUE KEY `uk_asset_doe_fk_asset_model` (`fk_asset_model`),
  KEY `idx_asset_doe_rowid` (`rowid`),
  KEY `fk_asset_doe_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_doe_asset` FOREIGN KEY (`fk_asset`) REFERENCES `llx_asset` (`rowid`),
  CONSTRAINT `fk_asset_doe_asset_model` FOREIGN KEY (`fk_asset_model`) REFERENCES `llx_asset_model` (`rowid`),
  CONSTRAINT `fk_asset_doe_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_depreciation_options_economic : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_depreciation_options_fiscal
CREATE TABLE IF NOT EXISTS `llx_asset_depreciation_options_fiscal` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_asset` int(11) DEFAULT NULL,
  `fk_asset_model` int(11) DEFAULT NULL,
  `depreciation_type` smallint(6) NOT NULL DEFAULT 0,
  `degressive_coefficient` double(24,8) DEFAULT NULL,
  `duration` smallint(6) NOT NULL,
  `duration_type` smallint(6) NOT NULL DEFAULT 0,
  `amount_base_depreciation_ht` double(24,8) DEFAULT NULL,
  `amount_base_deductible_ht` double(24,8) DEFAULT NULL,
  `total_amount_last_depreciation_ht` double(24,8) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_dof_fk_asset` (`fk_asset`),
  UNIQUE KEY `uk_asset_dof_fk_asset_model` (`fk_asset_model`),
  KEY `idx_asset_dof_rowid` (`rowid`),
  KEY `fk_asset_dof_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_dof_asset` FOREIGN KEY (`fk_asset`) REFERENCES `llx_asset` (`rowid`),
  CONSTRAINT `fk_asset_dof_asset_model` FOREIGN KEY (`fk_asset_model`) REFERENCES `llx_asset_model` (`rowid`),
  CONSTRAINT `fk_asset_dof_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_depreciation_options_fiscal : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_extrafields
CREATE TABLE IF NOT EXISTS `llx_asset_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_asset_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_asset_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_model
CREATE TABLE IF NOT EXISTS `llx_asset_model` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `label` varchar(255) NOT NULL,
  `asset_type` smallint(6) NOT NULL,
  `fk_pays` int(11) DEFAULT 0,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `status` smallint(6) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_asset_model` (`entity`,`ref`),
  KEY `idx_asset_model_rowid` (`rowid`),
  KEY `idx_asset_model_ref` (`ref`),
  KEY `idx_asset_model_pays` (`fk_pays`),
  KEY `idx_asset_model_entity` (`entity`),
  KEY `fk_asset_model_user_creat` (`fk_user_creat`),
  KEY `fk_asset_model_user_modif` (`fk_user_modif`),
  CONSTRAINT `fk_asset_model_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_asset_model_user_modif` FOREIGN KEY (`fk_user_modif`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_model : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_asset_model_extrafields
CREATE TABLE IF NOT EXISTS `llx_asset_model_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_asset_model_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_asset_model_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bank
CREATE TABLE IF NOT EXISTS `llx_bank` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datev` date DEFAULT NULL,
  `dateo` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT 0.00000000,
  `label` varchar(255) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_rappro` int(11) DEFAULT NULL,
  `fk_type` varchar(6) DEFAULT NULL,
  `num_releve` varchar(50) DEFAULT NULL,
  `num_chq` varchar(50) DEFAULT NULL,
  `numero_compte` varchar(32) DEFAULT NULL,
  `rappro` tinyint(4) DEFAULT 0,
  `note` text DEFAULT NULL,
  `fk_bordereau` int(11) DEFAULT 0,
  `banque` varchar(255) DEFAULT NULL,
  `emetteur` varchar(255) DEFAULT NULL,
  `author` varchar(40) DEFAULT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(64) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `amount_main_currency` double(24,8) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_bank_datev` (`datev`),
  KEY `idx_bank_dateo` (`dateo`),
  KEY `idx_bank_fk_account` (`fk_account`),
  KEY `idx_bank_rappro` (`rappro`),
  KEY `idx_bank_num_releve` (`num_releve`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank : ~14 rows (environ)
INSERT INTO `llx_bank` (`rowid`, `datec`, `tms`, `datev`, `dateo`, `amount`, `label`, `fk_account`, `fk_user_author`, `fk_user_rappro`, `fk_type`, `num_releve`, `num_chq`, `numero_compte`, `rappro`, `note`, `fk_bordereau`, `banque`, `emetteur`, `author`, `origin_id`, `origin_type`, `import_key`, `amount_main_currency`) VALUES
	(1, '2019-06-01 13:27:34', '2019-06-01 09:27:34', '2019-06-01', '2019-06-01', 0.00000000, '(Solde initial)', 1, 1, NULL, 'SOLD', NULL, NULL, '', 0, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
	(2, '2019-06-01 11:28:50', '2020-05-12 05:58:36', '2019-04-27', '2019-04-27', 46.80000000, '(CustomerInvoicePayment)', 1, 1, NULL, 'CHQ', NULL, '', '', 0, NULL, 0, '', 'ALLARD Gérard', NULL, NULL, NULL, NULL, NULL),
	(3, '2019-06-01 11:33:14', '2019-06-01 09:33:14', '2019-06-01', '2019-06-01', 20.00000000, '(CustomerInvoicePayment)', 1, 1, NULL, 'CHQ', NULL, NULL, '', 0, NULL, 0, NULL, 'ALLARD Gérard', NULL, NULL, NULL, NULL, NULL),
	(5, '2019-08-22 13:02:04', '2019-08-22 11:02:04', '2019-08-22', '2019-08-22', 2127.36000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'CHQ', NULL, '54545', '', 0, NULL, 0, NULL, 'DUPOND Xavier', NULL, NULL, NULL, NULL, NULL),
	(6, '2019-08-22 13:03:27', '2019-08-22 11:03:27', '2019-08-22', '2019-08-22', 26.80000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'CHQ', NULL, NULL, '', 0, NULL, 0, NULL, 'kkkkk', NULL, NULL, NULL, NULL, NULL),
	(7, '2019-12-11 05:49:20', '2019-12-11 04:49:20', '2019-12-11', '2019-12-11', 600.00000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'CHQ', NULL, NULL, '', 0, NULL, 0, NULL, 'DUPOND Xavier', NULL, NULL, NULL, NULL, NULL),
	(8, '2020-10-02 18:02:13', '2020-10-02 16:02:13', '2019-06-15', '2019-06-15', 100.00000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'VIR', NULL, NULL, '', 0, NULL, 0, NULL, 'DURAND Michel', NULL, NULL, NULL, NULL, NULL),
	(9, '2020-10-02 18:05:03', '2020-10-02 16:05:03', '2019-07-11', '2019-07-11', 200.00000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'CHQ', NULL, NULL, '', 0, NULL, 0, NULL, 'DURAND Michel', NULL, NULL, NULL, NULL, NULL),
	(11, '2020-11-27 08:50:58', '2020-11-27 07:50:58', '2020-04-27', '2020-04-27', 168.00000000, '(CustomerInvoicePayment)', 1, 2, NULL, 'VIR', NULL, NULL, '', 0, NULL, 0, NULL, 'DURAND Michel', NULL, NULL, NULL, NULL, NULL),
	(12, '2020-12-06 10:20:19', '2020-12-06 09:20:19', '2020-12-06', '2020-12-06', 20.00000000, '(CustomerInvoicePayment)', 1, 1, NULL, 'VIR', NULL, NULL, '', 0, NULL, 0, NULL, 'METTAIS Richard', NULL, NULL, NULL, NULL, NULL),
	(13, '2020-12-06 10:48:02', '2020-12-06 09:48:02', '2020-12-06', '2020-12-06', 1080.00000000, '(CustomerInvoicePayment)', 1, 1, NULL, 'VIR', NULL, NULL, '', 0, NULL, 0, NULL, 'DUPOND Xavier', NULL, NULL, NULL, NULL, NULL),
	(14, '2022-06-23 18:00:58', '2022-06-23 16:00:58', '2022-06-12', '2022-06-12', -60.90000000, '(SupplierInvoicePayment)', 1, 1, NULL, 'CB', NULL, NULL, '', 0, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
	(15, '2022-06-23 18:45:10', '2022-06-23 16:45:10', '2022-03-28', '2022-03-28', -1000.00000000, '(SupplierInvoicePayment)', 1, 1, NULL, 'CB', NULL, NULL, '', 0, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
	(16, '2022-08-22 18:50:49', '2022-08-22 16:50:49', '2022-08-22', '2022-08-22', 468.00000000, '(CustomerInvoicePayment)', 1, 1, NULL, 'CHQ', NULL, '1234567', '', 0, NULL, 0, NULL, 'M. DURAND', NULL, NULL, NULL, NULL, NULL);

-- Listage de la structure de table gestcom. llx_bank_account
CREATE TABLE IF NOT EXISTS `llx_bank_account` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ref` varchar(12) NOT NULL,
  `label` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `bank` varchar(60) DEFAULT NULL,
  `code_banque` varchar(128) DEFAULT NULL,
  `code_guichet` varchar(6) DEFAULT NULL,
  `number` varchar(255) DEFAULT NULL,
  `cle_rib` varchar(5) DEFAULT NULL,
  `bic` varchar(11) DEFAULT NULL,
  `iban_prefix` varchar(34) DEFAULT NULL,
  `country_iban` varchar(2) DEFAULT NULL,
  `cle_iban` varchar(2) DEFAULT NULL,
  `domiciliation` varchar(255) DEFAULT NULL,
  `pti_in_ctti` smallint(6) DEFAULT 0,
  `state_id` int(11) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL,
  `proprio` varchar(60) DEFAULT NULL,
  `owner_address` varchar(255) DEFAULT NULL,
  `courant` smallint(6) NOT NULL DEFAULT 0,
  `clos` smallint(6) NOT NULL DEFAULT 0,
  `rappro` smallint(6) DEFAULT 1,
  `url` varchar(128) DEFAULT NULL,
  `account_number` varchar(32) DEFAULT NULL,
  `accountancy_journal` varchar(3) DEFAULT NULL,
  `fk_accountancy_journal` int(11) DEFAULT NULL,
  `currency_code` varchar(3) NOT NULL,
  `min_allowed` int(11) DEFAULT 0,
  `min_desired` int(11) DEFAULT 0,
  `comment` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `ics` varchar(32) DEFAULT NULL,
  `ics_transfer` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bank_account_label` (`label`,`entity`),
  KEY `idx_fk_accountancy_journal` (`fk_accountancy_journal`),
  CONSTRAINT `fk_bank_account_accountancy_journal` FOREIGN KEY (`fk_accountancy_journal`) REFERENCES `llx_accounting_journal` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank_account : ~0 rows (environ)
INSERT INTO `llx_bank_account` (`rowid`, `datec`, `tms`, `ref`, `label`, `entity`, `fk_user_author`, `fk_user_modif`, `bank`, `code_banque`, `code_guichet`, `number`, `cle_rib`, `bic`, `iban_prefix`, `country_iban`, `cle_iban`, `domiciliation`, `pti_in_ctti`, `state_id`, `fk_pays`, `proprio`, `owner_address`, `courant`, `clos`, `rappro`, `url`, `account_number`, `accountancy_journal`, `fk_accountancy_journal`, `currency_code`, `min_allowed`, `min_desired`, `comment`, `note_public`, `model_pdf`, `import_key`, `extraparams`, `ics`, `ics_transfer`) VALUES
	(1, '2019-06-01 11:27:34', '2019-06-01 09:27:34', 'BD', 'Banque Démo', 1, NULL, NULL, '', '', '', '', '', '', '', NULL, NULL, '', 0, NULL, 1, '', '', 1, 0, 1, NULL, '', NULL, NULL, 'EUR', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL);

-- Listage de la structure de table gestcom. llx_bank_account_extrafields
CREATE TABLE IF NOT EXISTS `llx_bank_account_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_bank_account_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank_account_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bank_categ
CREATE TABLE IF NOT EXISTS `llx_bank_categ` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank_categ : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bank_class
CREATE TABLE IF NOT EXISTS `llx_bank_class` (
  `lineid` int(11) NOT NULL,
  `fk_categ` int(11) NOT NULL,
  UNIQUE KEY `uk_bank_class_lineid` (`lineid`,`fk_categ`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank_class : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bank_url
CREATE TABLE IF NOT EXISTS `llx_bank_url` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_bank` int(11) DEFAULT NULL,
  `url_id` int(11) DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `type` varchar(24) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bank_url` (`fk_bank`,`url_id`,`type`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bank_url : ~26 rows (environ)
INSERT INTO `llx_bank_url` (`rowid`, `fk_bank`, `url_id`, `url`, `label`, `type`) VALUES
	(1, 2, 1, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(2, 2, 1137, '/demo/comm/card.php?socid=', 'ALLARD Gérard', 'company'),
	(3, 3, 2, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(4, 3, 1137, '/demo/comm/card.php?socid=', 'ALLARD Gérard', 'company'),
	(7, 5, 4, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(8, 5, 1136, '/demo/comm/card.php?socid=', 'DUPOND Xavier', 'company'),
	(9, 6, 5, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(10, 6, 1137, '/demo/comm/card.php?socid=', 'ALLARD Gérard', 'company'),
	(11, 7, 6, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(12, 7, 1136, '/demo/comm/card.php?socid=', 'DUPOND Xavier', 'company'),
	(13, 8, 7, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(14, 8, 1134, '/demo/comm/card.php?socid=', 'DURAND Michel', 'company'),
	(15, 9, 8, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(16, 9, 1134, '/demo/comm/card.php?socid=', 'DURAND Michel', 'company'),
	(19, 11, 10, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(20, 11, 1134, '/demo/comm/card.php?socid=', 'DURAND Michel', 'company'),
	(21, 12, 11, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(22, 12, 1135, '/demo/comm/card.php?socid=', 'METTAIS Richard', 'company'),
	(23, 13, 12, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(24, 13, 1136, '/demo/comm/card.php?socid=', 'DUPOND Xavier', 'company'),
	(25, 14, 1, '/demo/fourn/paiement/card.php?id=', '(paiement)', 'payment_supplier'),
	(26, 14, 1150, '/demo/fourn/card.php?socid=', 'Carrefour', 'company'),
	(27, 15, 2, '/demo/fourn/paiement/card.php?id=', '(paiement)', 'payment_supplier'),
	(28, 15, 1143, '/demo/fourn/card.php?socid=', 'CEDEO', 'company'),
	(29, 16, 13, '/demo/compta/paiement/card.php?id=', '(paiement)', 'payment'),
	(30, 16, 1134, '/demo/comm/card.php?socid=', 'DURAND Michel', 'company');

-- Listage de la structure de table gestcom. llx_blockedlog
CREATE TABLE IF NOT EXISTS `llx_blockedlog` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `action` varchar(50) DEFAULT NULL,
  `amounts` double(24,8) NOT NULL,
  `element` varchar(50) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `user_fullname` varchar(255) DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL,
  `ref_object` varchar(255) DEFAULT NULL,
  `date_object` datetime DEFAULT NULL,
  `signature` varchar(100) NOT NULL,
  `signature_line` varchar(100) NOT NULL,
  `object_data` mediumtext DEFAULT NULL,
  `certified` int(11) DEFAULT NULL,
  `object_version` varchar(32) DEFAULT '',
  PRIMARY KEY (`rowid`),
  KEY `signature` (`signature`),
  KEY `fk_object_element` (`fk_object`,`element`),
  KEY `entity` (`entity`),
  KEY `fk_user` (`fk_user`),
  KEY `entity_action` (`entity`,`action`),
  KEY `entity_action_certified` (`entity`,`action`,`certified`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_blockedlog : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_blockedlog_authority
CREATE TABLE IF NOT EXISTS `llx_blockedlog_authority` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `blockchain` longtext NOT NULL,
  `signature` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  KEY `signature` (`signature`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_blockedlog_authority : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bom_bom
CREATE TABLE IF NOT EXISTS `llx_bom_bom` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref` varchar(128) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `qty` double(24,8) DEFAULT NULL,
  `efficiency` double(8,4) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_valid` datetime DEFAULT NULL,
  `fk_user_creat` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `duration` double(24,8) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `bomtype` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bom_bom_ref` (`ref`,`entity`),
  KEY `idx_bom_bom_rowid` (`rowid`),
  KEY `idx_bom_bom_ref` (`ref`),
  KEY `llx_bom_bom_fk_user_creat` (`fk_user_creat`),
  KEY `idx_bom_bom_status` (`status`),
  KEY `idx_bom_bom_fk_product` (`fk_product`),
  CONSTRAINT `llx_bom_bom_fk_user_creat` FOREIGN KEY (`fk_user_creat`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_bom_bom : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bom_bomline
CREATE TABLE IF NOT EXISTS `llx_bom_bomline` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_bom` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `fk_bom_child` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `qty` double(24,8) NOT NULL,
  `efficiency` double(8,4) NOT NULL DEFAULT 1.0000,
  `position` int(11) NOT NULL,
  `qty_frozen` smallint(6) DEFAULT 0,
  `disable_stock_change` smallint(6) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  KEY `idx_bom_bomline_rowid` (`rowid`),
  KEY `idx_bom_bomline_fk_product` (`fk_product`),
  KEY `idx_bom_bomline_fk_bom` (`fk_bom`),
  CONSTRAINT `llx_bom_bomline_fk_bom` FOREIGN KEY (`fk_bom`) REFERENCES `llx_bom_bom` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_bom_bomline : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bom_bomline_extrafields
CREATE TABLE IF NOT EXISTS `llx_bom_bomline_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_bom_bomline_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bom_bom_extrafields
CREATE TABLE IF NOT EXISTS `llx_bom_bom_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_bom_bom_extrafields_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_bom_bom_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bookmark
CREATE TABLE IF NOT EXISTS `llx_bookmark` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_user` int(11) NOT NULL,
  `dateb` datetime DEFAULT NULL,
  `url` text DEFAULT NULL,
  `target` varchar(16) DEFAULT NULL,
  `title` varchar(64) DEFAULT NULL,
  `favicon` varchar(24) DEFAULT NULL,
  `position` int(11) DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bookmark_title` (`fk_user`,`entity`,`title`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bookmark : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_bordereau_cheque
CREATE TABLE IF NOT EXISTS `llx_bordereau_cheque` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `date_bordereau` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL,
  `nbcheque` smallint(6) NOT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `statut` smallint(6) NOT NULL DEFAULT 0,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `note` text DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_bordereau_cheque` (`ref`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_bordereau_cheque : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_boxes
CREATE TABLE IF NOT EXISTS `llx_boxes` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `box_id` int(11) NOT NULL,
  `position` smallint(6) NOT NULL,
  `box_order` varchar(3) NOT NULL,
  `fk_user` int(11) NOT NULL DEFAULT 0,
  `maxline` int(11) DEFAULT NULL,
  `params` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_boxes` (`entity`,`box_id`,`position`,`fk_user`),
  KEY `idx_boxes_boxid` (`box_id`),
  KEY `idx_boxes_fk_user` (`fk_user`),
  CONSTRAINT `fk_boxes_box_id` FOREIGN KEY (`box_id`) REFERENCES `llx_boxes_def` (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=640 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_boxes : ~68 rows (environ)
INSERT INTO `llx_boxes` (`rowid`, `entity`, `box_id`, `position`, `box_order`, `fk_user`, `maxline`, `params`) VALUES
	(1, 1, 1, 0, '0', 0, NULL, NULL),
	(2, 1, 2, 0, '0', 0, NULL, NULL),
	(3, 1, 3, 0, '0', 0, NULL, NULL),
	(4, 1, 4, 0, '0', 0, NULL, NULL),
	(5, 1, 5, 0, '0', 0, NULL, NULL),
	(6, 1, 6, 0, '0', 0, NULL, NULL),
	(7, 1, 7, 0, '0', 0, NULL, NULL),
	(8, 1, 8, 0, '0', 0, NULL, NULL),
	(9, 1, 9, 0, '0', 0, NULL, NULL),
	(10, 1, 10, 0, '0', 0, NULL, NULL),
	(11, 1, 11, 0, '0', 0, NULL, NULL),
	(15, 1, 15, 0, '0', 0, NULL, NULL),
	(16, 1, 16, 0, '0', 0, NULL, NULL),
	(17, 1, 17, 0, '0', 0, NULL, NULL),
	(18, 1, 18, 0, '0', 0, NULL, NULL),
	(19, 1, 19, 0, '0', 0, NULL, NULL),
	(20, 1, 20, 0, '0', 0, NULL, NULL),
	(51, 1, 23, 0, '0', 0, NULL, NULL),
	(52, 1, 24, 0, '0', 0, NULL, NULL),
	(53, 1, 25, 0, '0', 0, NULL, NULL),
	(54, 1, 26, 0, '0', 0, NULL, NULL),
	(55, 1, 27, 0, '0', 0, NULL, NULL),
	(56, 1, 28, 0, '0', 0, NULL, NULL),
	(57, 1, 29, 0, '0', 0, NULL, NULL),
	(58, 1, 30, 0, '0', 0, NULL, NULL),
	(225, 1, 32, 0, '0', 0, NULL, NULL),
	(227, 1, 34, 0, '0', 0, NULL, NULL),
	(327, 1, 52, 0, '0', 0, NULL, NULL),
	(475, 1, 55, 0, '0', 0, NULL, NULL),
	(476, 1, 56, 0, '0', 0, NULL, NULL),
	(599, 1, 56, 0, 'A01', 1, NULL, NULL),
	(600, 1, 1, 0, 'A02', 1, NULL, NULL),
	(601, 1, 20, 0, 'A03', 1, NULL, NULL),
	(602, 1, 23, 0, 'A04', 1, NULL, NULL),
	(603, 1, 24, 0, 'A05', 1, NULL, NULL),
	(604, 1, 25, 0, 'A06', 1, NULL, NULL),
	(605, 1, 26, 0, 'A07', 1, NULL, NULL),
	(606, 1, 27, 0, 'A08', 1, NULL, NULL),
	(607, 1, 28, 0, 'A09', 1, NULL, NULL),
	(608, 1, 29, 0, 'A10', 1, NULL, NULL),
	(609, 1, 30, 0, 'A11', 1, NULL, NULL),
	(610, 1, 32, 0, 'A12', 1, NULL, NULL),
	(612, 1, 55, 0, 'B01', 1, NULL, NULL),
	(613, 1, 19, 0, 'B02', 1, NULL, NULL),
	(614, 1, 2, 0, 'B03', 1, NULL, NULL),
	(615, 1, 3, 0, 'B04', 1, NULL, NULL),
	(616, 1, 4, 0, 'B05', 1, NULL, NULL),
	(617, 1, 7, 0, 'B06', 1, NULL, NULL),
	(618, 1, 8, 0, 'B07', 1, NULL, NULL),
	(619, 1, 9, 0, 'B08', 1, NULL, NULL),
	(620, 1, 10, 0, 'B09', 1, NULL, NULL),
	(621, 1, 11, 0, 'B10', 1, NULL, NULL),
	(622, 1, 15, 0, 'B11', 1, NULL, NULL),
	(623, 1, 17, 0, 'B12', 1, NULL, NULL),
	(624, 1, 56, 0, 'A01', 2, NULL, NULL),
	(625, 1, 27, 0, 'A02', 2, NULL, NULL),
	(626, 1, 1, 0, 'A03', 2, NULL, NULL),
	(627, 1, 15, 0, 'A04', 2, NULL, NULL),
	(628, 1, 17, 0, 'A05', 2, NULL, NULL),
	(629, 1, 11, 0, 'A06', 2, NULL, NULL),
	(630, 1, 10, 0, 'B01', 2, NULL, NULL),
	(631, 1, 2, 0, 'B02', 2, NULL, NULL),
	(632, 1, 3, 0, 'B03', 2, NULL, NULL),
	(633, 1, 4, 0, 'B04', 2, NULL, NULL),
	(634, 1, 7, 0, 'B05', 2, NULL, NULL),
	(635, 1, 8, 0, 'B06', 2, NULL, NULL),
	(636, 1, 9, 0, 'B07', 2, NULL, NULL),
	(639, 1, 59, 0, '0', 0, NULL, NULL);

-- Listage de la structure de table gestcom. llx_boxes_def
CREATE TABLE IF NOT EXISTS `llx_boxes_def` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `file` varchar(200) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `note` varchar(130) DEFAULT NULL,
  `fk_user` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_boxes_def` (`file`,`entity`,`note`)
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_boxes_def : ~47 rows (environ)
INSERT INTO `llx_boxes_def` (`rowid`, `file`, `entity`, `tms`, `note`, `fk_user`) VALUES
	(1, 'box_lastlogin.php', 1, '2019-03-28 23:11:49', NULL, 0),
	(2, 'box_clients.php', 1, '2019-03-28 22:24:00', NULL, 0),
	(3, 'box_prospect.php', 1, '2019-03-28 22:24:00', NULL, 0),
	(4, 'box_contacts.php', 1, '2019-03-28 22:24:00', NULL, 0),
	(5, 'box_activity.php', 1, '2019-03-28 22:24:00', '(WarningUsingThisBoxSlowDown)', 0),
	(6, 'box_goodcustomers.php', 1, '2019-03-28 22:24:00', '(WarningUsingThisBoxSlowDown)', 0),
	(7, 'box_graph_propales_permonth.php', 1, '2019-03-28 22:24:02', NULL, 0),
	(8, 'box_propales.php', 1, '2019-03-28 22:24:02', NULL, 0),
	(9, 'box_factures_imp.php', 1, '2019-03-28 22:24:06', NULL, 0),
	(10, 'box_factures.php', 1, '2019-03-28 22:24:06', NULL, 0),
	(11, 'box_graph_invoices_permonth.php', 1, '2019-03-28 22:24:06', NULL, 0),
	(15, 'box_produits.php', 1, '2019-04-17 20:10:13', NULL, 0),
	(16, 'box_produits_alerte_stock.php', 1, '2019-04-17 20:10:13', NULL, 0),
	(17, 'box_graph_product_distribution.php', 1, '2019-04-17 20:10:13', NULL, 0),
	(18, 'box_services_contracts.php', 1, '2019-04-17 20:10:19', NULL, 0),
	(19, 'box_commandes.php', 1, '2019-04-29 19:46:07', NULL, 0),
	(20, 'box_graph_orders_permonth.php', 1, '2019-04-29 19:46:07', NULL, 0),
	(23, 'box_project.php', 1, '2019-06-11 16:31:49', NULL, 0),
	(24, 'box_task.php', 1, '2019-06-11 16:31:49', NULL, 0),
	(25, 'box_graph_invoices_supplier_permonth.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(26, 'box_graph_orders_supplier_permonth.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(27, 'box_fournisseurs.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(28, 'box_factures_fourn_imp.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(29, 'box_factures_fourn.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(30, 'box_supplier_orders.php', 1, '2019-07-02 11:54:46', NULL, 0),
	(31, 'box_birthdays.php', 1, '2019-07-09 14:11:02', NULL, 0),
	(32, 'box_actions.php', 1, '2019-08-31 07:32:18', NULL, 0),
	(34, 'customersowedwidget1.php@customersowed', 1, '2019-09-08 19:04:26', 'Widget provided by CustomersOwed', 0),
	(35, 'box_accountancy_last_manual_entries.php', 1, '2020-03-21 08:44:17', NULL, 0),
	(36, 'box_accountancy_suspense_account.php', 1, '2020-03-21 08:44:17', NULL, 0),
	(37, 'box_supplier_orders_awaiting_reception.php', 1, '2020-03-21 08:44:18', NULL, 0),
	(38, 'box_funnel_of_prospection.php', 1, '2021-01-30 07:53:28', NULL, 0),
	(39, 'box_customers_outstanding_bill_reached.php', 1, '2021-01-30 07:53:28', NULL, 0),
	(40, 'box_scheduled_jobs.php', 1, '2021-01-30 07:53:28', NULL, 0),
	(41, 'box_gestcom_state_board.php', 1, '2021-07-29 08:32:50', NULL, 0),
	(42, 'box_members_last_modified.php', 1, '2021-07-29 08:32:50', NULL, 0),
	(43, 'box_members_last_subscriptions.php', 1, '2021-07-29 08:32:50', NULL, 0),
	(44, 'box_members_subscriptions_by_year.php', 1, '2021-07-29 08:32:50', NULL, 0),
	(45, 'box_members_by_type.php', 1, '2021-07-29 08:32:50', NULL, 0),
	(46, 'box_graph_ticket_by_severity.php', 1, '2021-07-29 08:32:52', NULL, 0),
	(47, 'box_graph_nb_ticket_last_x_days.php', 1, '2021-07-29 08:32:52', NULL, 0),
	(48, 'box_graph_nb_tickets_type.php', 1, '2021-07-29 08:32:52', NULL, 0),
	(49, 'box_graph_new_vs_close_ticket.php', 1, '2021-07-29 08:32:52', NULL, 0),
	(52, 'salessummaryreportwidget1.php@salessummaryreport', 1, '2022-06-23 15:06:06', 'Widget provided by SalesSummaryReport', 0),
	(55, 'box_suppliersowed.php@suppliersowed', 1, '2022-06-23 16:51:28', 'D&ucirc; fournisseurs', 0),
	(56, 'box_customersowed.php@customersowed', 1, '2022-06-25 19:59:50', 'D&ucirc; clients', 0),
	(59, 'box_comptes.php', 1, '2022-09-15 19:20:59', NULL, 0);

-- Listage de la structure de table gestcom. llx_budget
CREATE TABLE IF NOT EXISTS `llx_budget` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) NOT NULL,
  `status` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_budget : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_budget_lines
CREATE TABLE IF NOT EXISTS `llx_budget_lines` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_budget` int(11) NOT NULL,
  `fk_project_ids` varchar(180) NOT NULL,
  `amount` double(24,8) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `import_key` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_budget_lines` (`fk_budget`,`fk_project_ids`),
  CONSTRAINT `fk_budget_lines_budget` FOREIGN KEY (`fk_budget`) REFERENCES `llx_budget` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_budget_lines : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie
CREATE TABLE IF NOT EXISTS `llx_categorie` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `fk_parent` int(11) NOT NULL DEFAULT 0,
  `label` varchar(255) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `type` int(11) NOT NULL DEFAULT 1,
  `description` text DEFAULT NULL,
  `color` varchar(8) DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `import_key` varchar(14) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_user_creat` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_categorie_ref` (`entity`,`fk_parent`,`label`,`type`),
  KEY `idx_categorie_type` (`type`),
  KEY `idx_categorie_label` (`label`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categories_extrafields
CREATE TABLE IF NOT EXISTS `llx_categories_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_categories_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categories_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_account
CREATE TABLE IF NOT EXISTS `llx_categorie_account` (
  `fk_categorie` int(11) NOT NULL,
  `fk_account` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_account`),
  KEY `idx_categorie_account_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_account_fk_account` (`fk_account`),
  CONSTRAINT `fk_categorie_account_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_account_fk_account` FOREIGN KEY (`fk_account`) REFERENCES `llx_bank_account` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_account : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_actioncomm
CREATE TABLE IF NOT EXISTS `llx_categorie_actioncomm` (
  `fk_categorie` int(11) NOT NULL,
  `fk_actioncomm` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_actioncomm`),
  KEY `idx_categorie_actioncomm_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_actioncomm_fk_actioncomm` (`fk_actioncomm`),
  CONSTRAINT `fk_categorie_actioncomm_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_actioncomm_fk_actioncomm` FOREIGN KEY (`fk_actioncomm`) REFERENCES `llx_actioncomm` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_categorie_actioncomm : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_contact
CREATE TABLE IF NOT EXISTS `llx_categorie_contact` (
  `fk_categorie` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_socpeople`),
  KEY `idx_categorie_contact_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_contact_fk_socpeople` (`fk_socpeople`),
  CONSTRAINT `fk_categorie_contact_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_contact_fk_socpeople` FOREIGN KEY (`fk_socpeople`) REFERENCES `llx_socpeople` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_contact : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_fournisseur
CREATE TABLE IF NOT EXISTS `llx_categorie_fournisseur` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  KEY `idx_categorie_fournisseur_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_fournisseur_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_fournisseur_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_fournisseur_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_fournisseur : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_knowledgemanagement
CREATE TABLE IF NOT EXISTS `llx_categorie_knowledgemanagement` (
  `fk_categorie` int(11) NOT NULL,
  `fk_knowledgemanagement` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_knowledgemanagement`),
  KEY `idx_categorie_knowledgemanagement_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_knowledgemanagement_fk_knowledgemanagement` (`fk_knowledgemanagement`),
  CONSTRAINT `fk_categorie_knowledgemanagement_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_knowledgemanagement_knowledgemanagement_rowid` FOREIGN KEY (`fk_knowledgemanagement`) REFERENCES `llx_knowledgemanagement_knowledgerecord` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_categorie_knowledgemanagement : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_lang
CREATE TABLE IF NOT EXISTS `llx_categorie_lang` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_category` int(11) NOT NULL DEFAULT 0,
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_category_lang` (`fk_category`,`lang`),
  CONSTRAINT `fk_category_lang_fk_category` FOREIGN KEY (`fk_category`) REFERENCES `llx_categorie` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_lang : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_member
CREATE TABLE IF NOT EXISTS `llx_categorie_member` (
  `fk_categorie` int(11) NOT NULL,
  `fk_member` int(11) NOT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_member`),
  KEY `idx_categorie_member_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_member_fk_member` (`fk_member`),
  CONSTRAINT `fk_categorie_member_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_member_member_rowid` FOREIGN KEY (`fk_member`) REFERENCES `llx_adherent` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_member : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_product
CREATE TABLE IF NOT EXISTS `llx_categorie_product` (
  `fk_categorie` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_product`),
  KEY `idx_categorie_product_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_product_fk_product` (`fk_product`),
  CONSTRAINT `fk_categorie_product_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_product_product_rowid` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_product : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_project
CREATE TABLE IF NOT EXISTS `llx_categorie_project` (
  `fk_categorie` int(11) NOT NULL,
  `fk_project` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_project`),
  KEY `idx_categorie_project_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_project_fk_project` (`fk_project`),
  CONSTRAINT `fk_categorie_project_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_project_fk_project` FOREIGN KEY (`fk_project`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_categorie_project_fk_project_rowid` FOREIGN KEY (`fk_project`) REFERENCES `llx_projet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_project : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_societe
CREATE TABLE IF NOT EXISTS `llx_categorie_societe` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_soc`),
  KEY `idx_categorie_societe_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_societe_fk_societe` (`fk_soc`),
  CONSTRAINT `fk_categorie_societe_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_societe_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_societe : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_ticket
CREATE TABLE IF NOT EXISTS `llx_categorie_ticket` (
  `fk_categorie` int(11) NOT NULL,
  `fk_ticket` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_ticket`),
  KEY `idx_categorie_ticket_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_ticket_fk_ticket` (`fk_ticket`),
  CONSTRAINT `fk_categorie_ticket_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_ticket_ticket_rowid` FOREIGN KEY (`fk_ticket`) REFERENCES `llx_ticket` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_categorie_ticket : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_user
CREATE TABLE IF NOT EXISTS `llx_categorie_user` (
  `fk_categorie` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_user`),
  KEY `idx_categorie_user_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_user_fk_user` (`fk_user`),
  CONSTRAINT `fk_categorie_user_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_user_fk_user` FOREIGN KEY (`fk_user`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_categorie_user : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_warehouse
CREATE TABLE IF NOT EXISTS `llx_categorie_warehouse` (
  `fk_categorie` int(11) NOT NULL,
  `fk_warehouse` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_warehouse`),
  KEY `idx_categorie_warehouse_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_warehouse_fk_warehouse` (`fk_warehouse`),
  CONSTRAINT `fk_categorie_warehouse_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_warehouse_fk_warehouse_rowid` FOREIGN KEY (`fk_warehouse`) REFERENCES `llx_entrepot` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_categorie_warehouse : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_categorie_Website_page
CREATE TABLE IF NOT EXISTS `llx_categorie_Website_page` (
  `fk_categorie` int(11) NOT NULL,
  `fk_Website_page` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`fk_categorie`,`fk_Website_page`),
  KEY `idx_categorie_Website_page_fk_categorie` (`fk_categorie`),
  KEY `idx_categorie_Website_page_fk_Website_page` (`fk_Website_page`),
  CONSTRAINT `fk_categorie_Website_page_categorie_rowid` FOREIGN KEY (`fk_categorie`) REFERENCES `llx_categorie` (`rowid`),
  CONSTRAINT `fk_categorie_Website_page_Website_page_rowid` FOREIGN KEY (`fk_Website_page`) REFERENCES `llx_Website_page` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_categorie_Website_page : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_chargesociales
CREATE TABLE IF NOT EXISTS `llx_chargesociales` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(16) DEFAULT NULL,
  `date_ech` datetime NOT NULL,
  `libelle` varchar(80) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_type` int(11) NOT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `amount` double(24,8) DEFAULT NULL,
  `paye` smallint(6) NOT NULL DEFAULT 0,
  `periode` date DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_chargesociales : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande
CREATE TABLE IF NOT EXISTS `llx_commande` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_int` varchar(255) DEFAULT NULL,
  `ref_client` varchar(255) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `date_commande` date DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `source` smallint(6) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT 0,
  `amount_ht` double(24,8) DEFAULT 0.00000000,
  `remise_percent` double DEFAULT 0,
  `remise_absolue` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `localtax1` double(24,8) DEFAULT 0.00000000,
  `localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `facture` tinyint(4) DEFAULT 0,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) DEFAULT NULL,
  `deposit_percent` varchar(63) DEFAULT NULL,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_livraison` datetime DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_warehouse` int(11) DEFAULT NULL,
  `fk_availability` int(11) DEFAULT NULL,
  `fk_demand_reason` int(11) DEFAULT NULL,
  `fk_input_reason` int(11) DEFAULT NULL,
  `fk_delivery_address` int(11) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT 1.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  `module_source` varchar(32) DEFAULT NULL,
  `pos_source` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_commande_ref` (`ref`,`entity`),
  KEY `idx_commande_fk_soc` (`fk_soc`),
  KEY `idx_commande_fk_user_author` (`fk_user_author`),
  KEY `idx_commande_fk_user_valid` (`fk_user_valid`),
  KEY `idx_commande_fk_user_cloture` (`fk_user_cloture`),
  KEY `idx_commande_fk_projet` (`fk_projet`),
  KEY `idx_commande_fk_account` (`fk_account`),
  KEY `idx_commande_fk_currency` (`fk_currency`),
  CONSTRAINT `fk_commande_fk_projet` FOREIGN KEY (`fk_projet`) REFERENCES `llx_projet` (`rowid`),
  CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_cloture` FOREIGN KEY (`fk_user_cloture`) REFERENCES `llx_user` (`rowid`),
  CONSTRAINT `fk_commande_fk_user_valid` FOREIGN KEY (`fk_user_valid`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commandedet
CREATE TABLE IF NOT EXISTS `llx_commandedet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT NULL,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(1) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(1) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `fk_remise_except` int(11) DEFAULT NULL,
  `price` double DEFAULT NULL,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT 0.00000000,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `fk_unit` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_fk_commande` (`fk_commande`),
  KEY `idx_commandedet_fk_product` (`fk_product`),
  KEY `fk_commandedet_fk_unit` (`fk_unit`),
  KEY `fk_commandedet_fk_commandefourndet` (`fk_commandefourndet`),
  CONSTRAINT `fk_commandedet_fk_commande` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_commandefourndet` FOREIGN KEY (`fk_commandefourndet`) REFERENCES `llx_commande_fournisseurdet` (`rowid`),
  CONSTRAINT `fk_commandedet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commandedet : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commandedet_extrafields
CREATE TABLE IF NOT EXISTS `llx_commandedet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commandedet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commandedet_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_extrafields
CREATE TABLE IF NOT EXISTS `llx_commande_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_extrafields : ~0 rows (environ)

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

-- Listage des données de la table gestcom.llx_commande_fournisseur : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseurdet
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseurdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(1) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(1) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `remise_percent` double DEFAULT 0,
  `remise` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 0,
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int(11) DEFAULT 0,
  `special_code` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `fk_commande_fournisseurdet_fk_unit` (`fk_unit`),
  KEY `idx_commande_fournisseurdet_fk_commande` (`fk_commande`),
  KEY `idx_commande_fournisseurdet_fk_product` (`fk_product`),
  CONSTRAINT `fk_commande_fournisseurdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_fournisseurdet : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseurdet_extrafields
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseurdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseurdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_fournisseurdet_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseur_dispatch
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseur_dispatch` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_commande` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `fk_commandefourndet` int(11) DEFAULT NULL,
  `qty` float DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `batch` varchar(128) DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_projet` int(11) DEFAULT NULL,
  `fk_reception` int(11) DEFAULT NULL,
  `cost_price` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_dispatch_fk_commande` (`fk_commande`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_fournisseur_dispatch : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseur_dispatch_extrafields
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseur_dispatch_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_dispatch_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_commande_fournisseur_dispatch_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseur_extrafields
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseur_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_commande_fournisseur_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_fournisseur_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_commande_fournisseur_log
CREATE TABLE IF NOT EXISTS `llx_commande_fournisseur_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datelog` datetime NOT NULL,
  `fk_commande` int(11) NOT NULL,
  `fk_statut` smallint(6) NOT NULL,
  `fk_user` int(11) NOT NULL,
  `comment` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_commande_fournisseur_log : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_comment
CREATE TABLE IF NOT EXISTS `llx_comment` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `description` text NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_element` int(11) DEFAULT NULL,
  `element_type` varchar(50) DEFAULT NULL,
  `entity` int(11) DEFAULT 1,
  `import_key` varchar(125) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_comment : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_const
CREATE TABLE IF NOT EXISTS `llx_const` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(180) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `value` text NOT NULL,
  `type` varchar(64) DEFAULT 'string',
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `note` text DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_const` (`name`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=1347 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_const : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_contrat
CREATE TABLE IF NOT EXISTS `llx_contrat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `ref` varchar(50) DEFAULT NULL,
  `ref_customer` varchar(50) DEFAULT NULL,
  `ref_supplier` varchar(50) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `date_contrat` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT 0,
  `mise_en_service` datetime DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_commercial_signature` int(11) DEFAULT NULL,
  `fk_commercial_suivi` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT 0,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_mise_en_service` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `note_private` text DEFAULT NULL,
  `note_public` text DEFAULT NULL,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_contrat_ref` (`ref`,`entity`),
  KEY `idx_contrat_fk_soc` (`fk_soc`),
  KEY `idx_contrat_fk_user_author` (`fk_user_author`),
  CONSTRAINT `fk_contrat_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`),
  CONSTRAINT `fk_contrat_user_author` FOREIGN KEY (`fk_user_author`) REFERENCES `llx_user` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_contrat : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_contratdet
CREATE TABLE IF NOT EXISTS `llx_contratdet` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_contrat` int(11) NOT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `statut` smallint(6) DEFAULT 0,
  `label` text DEFAULT NULL,
  `description` text DEFAULT NULL,
  `fk_remise_except` int(11) DEFAULT NULL,
  `date_commande` datetime DEFAULT NULL,
  `date_ouverture_prevue` datetime DEFAULT NULL,
  `date_ouverture` datetime DEFAULT NULL,
  `date_fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT 0.000,
  `localtax1_tx` double(6,3) DEFAULT 0.000,
  `localtax1_type` varchar(1) DEFAULT NULL,
  `localtax2_tx` double(6,3) DEFAULT 0.000,
  `localtax2_type` varchar(1) DEFAULT NULL,
  `qty` double NOT NULL,
  `remise_percent` double DEFAULT 0,
  `subprice` double(24,8) DEFAULT 0.00000000,
  `price_ht` double DEFAULT NULL,
  `remise` double DEFAULT 0,
  `total_ht` double(24,8) DEFAULT 0.00000000,
  `total_tva` double(24,8) DEFAULT 0.00000000,
  `total_localtax1` double(24,8) DEFAULT 0.00000000,
  `total_localtax2` double(24,8) DEFAULT 0.00000000,
  `total_ttc` double(24,8) DEFAULT 0.00000000,
  `product_type` int(11) DEFAULT 1,
  `info_bits` int(11) DEFAULT 0,
  `rang` int(11) DEFAULT 0,
  `buy_price_ht` double(24,8) DEFAULT NULL,
  `fk_product_fournisseur_price` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL DEFAULT 0,
  `fk_user_ouverture` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `commentaire` text DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL,
  `fk_multicurrency` int(11) DEFAULT NULL,
  `multicurrency_code` varchar(3) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ht` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_tva` double(24,8) DEFAULT 0.00000000,
  `multicurrency_total_ttc` double(24,8) DEFAULT 0.00000000,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_fk_contrat` (`fk_contrat`),
  KEY `idx_contratdet_fk_product` (`fk_product`),
  KEY `idx_contratdet_date_ouverture_prevue` (`date_ouverture_prevue`),
  KEY `idx_contratdet_date_ouverture` (`date_ouverture`),
  KEY `idx_contratdet_date_fin_validite` (`date_fin_validite`),
  KEY `fk_contratdet_fk_unit` (`fk_unit`),
  CONSTRAINT `fk_contratdet_fk_contrat` FOREIGN KEY (`fk_contrat`) REFERENCES `llx_contrat` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`),
  CONSTRAINT `fk_contratdet_fk_unit` FOREIGN KEY (`fk_unit`) REFERENCES `llx_c_units` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_contratdet : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_contratdet_extrafields
CREATE TABLE IF NOT EXISTS `llx_contratdet_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_contratdet_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_contratdet_log
CREATE TABLE IF NOT EXISTS `llx_contratdet_log` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_contratdet` int(11) NOT NULL,
  `date` datetime NOT NULL,
  `statut` smallint(6) NOT NULL,
  `fk_user_author` int(11) NOT NULL,
  `commentaire` text DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contratdet_log_fk_contratdet` (`fk_contratdet`),
  KEY `idx_contratdet_log_date` (`date`),
  CONSTRAINT `fk_contratdet_log_fk_contratdet` FOREIGN KEY (`fk_contratdet`) REFERENCES `llx_contratdet` (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_contratdet_log : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_contrat_extrafields
CREATE TABLE IF NOT EXISTS `llx_contrat_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_contrat_extrafields` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_contrat_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_cronjob
CREATE TABLE IF NOT EXISTS `llx_cronjob` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `datec` datetime DEFAULT NULL,
  `jobtype` varchar(10) NOT NULL,
  `label` varchar(255) NOT NULL,
  `command` varchar(255) DEFAULT NULL,
  `classesname` varchar(255) DEFAULT NULL,
  `objectname` varchar(255) DEFAULT NULL,
  `methodename` varchar(255) DEFAULT NULL,
  `params` text DEFAULT NULL,
  `md5params` varchar(32) DEFAULT NULL,
  `module_name` varchar(255) DEFAULT NULL,
  `priority` int(11) DEFAULT 0,
  `datelastrun` datetime DEFAULT NULL,
  `datenextrun` datetime DEFAULT NULL,
  `datestart` datetime DEFAULT NULL,
  `dateend` datetime DEFAULT NULL,
  `datelastresult` datetime DEFAULT NULL,
  `lastresult` text DEFAULT NULL,
  `lastoutput` text DEFAULT NULL,
  `unitfrequency` varchar(255) NOT NULL DEFAULT '3600',
  `frequency` int(11) NOT NULL DEFAULT 0,
  `maxrun` int(11) NOT NULL DEFAULT 0,
  `nbrun` int(11) DEFAULT NULL,
  `autodelete` int(11) DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `processing` int(11) NOT NULL DEFAULT 0,
  `test` varchar(255) DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `fk_mailing` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `libname` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT 0,
  `email_alert` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  KEY `idx_cronjob_status` (`status`),
  KEY `idx_cronjob_datelastrun` (`datelastrun`),
  KEY `idx_cronjob_datenextrun` (`datenextrun`),
  KEY `idx_cronjob_datestart` (`datestart`),
  KEY `idx_cronjob_dateend` (`dateend`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_cronjob : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_customersowedreport_myobject
CREATE TABLE IF NOT EXISTS `llx_customersowedreport_myobject` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_customersowedreport_myobject : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_customersowedreport_myobject_extrafields
CREATE TABLE IF NOT EXISTS `llx_customersowedreport_myobject_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_customersowedreport_myobject_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_customersowed_myobject
CREATE TABLE IF NOT EXISTS `llx_customersowed_myobject` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `label` varchar(255) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `date_creation` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_customersowed_myobject : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_customersowed_myobject_extrafields
CREATE TABLE IF NOT EXISTS `llx_customersowed_myobject_extrafields` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_customersowed_myobject_extrafields : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_accounting_category
CREATE TABLE IF NOT EXISTS `llx_c_accounting_category` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(16) NOT NULL,
  `label` varchar(255) NOT NULL,
  `range_account` varchar(255) NOT NULL,
  `sens` tinyint(4) NOT NULL DEFAULT 0,
  `category_type` tinyint(4) NOT NULL DEFAULT 0,
  `formula` varchar(255) NOT NULL,
  `position` int(11) DEFAULT 0,
  `fk_country` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_accounting_category` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_accounting_category : ~3 rows (environ)
INSERT INTO `llx_c_accounting_category` (`rowid`, `entity`, `code`, `label`, `range_account`, `sens`, `category_type`, `formula`, `position`, `fk_country`, `active`) VALUES
	(1, 1, 'INCOMES', 'Income of products/services', 'Example: 7xxxxx', 0, 0, '', 10, 0, 1),
	(2, 1, 'EXPENSES', 'Expenses of products/services', 'Example: 6xxxxx', 0, 0, '', 20, 0, 1),
	(3, 1, 'PROFIT', 'Balance', '', 0, 1, 'INCOMES+EXPENSES', 30, 0, 1);

-- Listage de la structure de table gestcom. llx_c_actioncomm
CREATE TABLE IF NOT EXISTS `llx_c_actioncomm` (
  `id` int(11) NOT NULL,
  `code` varchar(50) NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'system',
  `libelle` varchar(128) DEFAULT NULL,
  `module` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `todo` tinyint(4) DEFAULT NULL,
  `color` varchar(9) DEFAULT NULL,
  `picto` varchar(48) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_actioncomm` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_actioncomm : ~12 rows (environ)
INSERT INTO `llx_c_actioncomm` (`id`, `code`, `type`, `libelle`, `module`, `active`, `todo`, `color`, `picto`, `position`) VALUES
	(1, 'AC_TEL', 'system', 'Phone call', NULL, 1, NULL, NULL, NULL, 2),
	(2, 'AC_FAX', 'system', 'Send Fax', NULL, 1, NULL, NULL, NULL, 3),
	(4, 'AC_EMAIL', 'system', 'Send Email', NULL, 1, NULL, NULL, NULL, 4),
	(5, 'AC_RDV', 'system', 'Rendez-vous', NULL, 1, NULL, NULL, NULL, 1),
	(6, 'AC_EMAIL_IN', 'system', 'reception Email', NULL, 1, NULL, NULL, NULL, 4),
	(11, 'AC_INT', 'system', 'Intervention on site', NULL, 1, NULL, NULL, NULL, 4),
	(40, 'AC_OTH_AUTO', 'systemauto', 'Other (automatically inserted events)', NULL, 1, NULL, NULL, NULL, 20),
	(50, 'AC_OTH', 'system', 'Other (manually inserted events)', NULL, 1, NULL, NULL, NULL, 5),
	(60, 'AC_EO_ONLINECONF', 'module', 'Online/Virtual conference', 'conference@eventorganization', 1, NULL, NULL, NULL, 60),
	(61, 'AC_EO_INDOORCONF', 'module', 'Indoor conference', 'conference@eventorganization', 1, NULL, NULL, NULL, 61),
	(62, 'AC_EO_ONLINEBOOTH', 'module', 'Online/Virtual booth', 'booth@eventorganization', 1, NULL, NULL, NULL, 62),
	(63, 'AC_EO_INDOORBOOTH', 'module', 'Indoor booth', 'booth@eventorganization', 1, NULL, NULL, NULL, 63);

-- Listage de la structure de table gestcom. llx_c_action_trigger
CREATE TABLE IF NOT EXISTS `llx_c_action_trigger` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(64) NOT NULL,
  `label` varchar(128) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `elementtype` varchar(64) DEFAULT NULL,
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_action_trigger_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=190 DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_c_action_trigger : ~100 rows (environ)
INSERT INTO `llx_c_action_trigger` (`rowid`, `code`, `label`, `description`, `elementtype`, `rang`) VALUES
	(1, 'FICHEINTER_VALIDATE', 'Validation fiche intervention', 'Executed when a intervention is validated', 'ficheinter', 18),
	(2, 'BILL_VALIDATE', 'Validation facture client', 'Executed when a customer invoice is approved', 'facture', 6),
	(3, 'ORDER_SUPPLIER_APPROVE', 'Approbation commande fournisseur', 'Executed when a supplier order is approved', 'order_supplier', 11),
	(4, 'ORDER_SUPPLIER_REFUSE', 'Refus commande fournisseur', 'Executed when a supplier order is refused', 'order_supplier', 12),
	(5, 'ORDER_VALIDATE', 'Validation commande client', 'Executed when a customer order is validated', 'commande', 4),
	(6, 'PROPAL_VALIDATE', 'Validation proposition client', 'Executed when a commercial proposal is validated', 'propal', 2),
	(10, 'COMPANY_CREATE', 'Third party created', 'Executed when a third party is created', 'societe', 1),
	(11, 'CONTRACT_VALIDATE', 'Contract validated', 'Executed when a contract is validated', 'contrat', 17),
	(12, 'PROPAL_SENTBYMAIL', 'Commercial proposal sent by mail', 'Executed when a commercial proposal is sent by mail', 'propal', 3),
	(13, 'ORDER_SENTBYMAIL', 'Customer order sent by mail', 'Executed when a customer order is sent by mail ', 'commande', 5),
	(14, 'BILL_PAYED', 'Customer invoice payed', 'Executed when a customer invoice is payed', 'facture', 7),
	(15, 'BILL_CANCEL', 'Customer invoice canceled', 'Executed when a customer invoice is conceled', 'facture', 8),
	(16, 'BILL_SENTBYMAIL', 'Customer invoice sent by mail', 'Executed when a customer invoice is sent by mail', 'facture', 9),
	(17, 'ORDER_SUPPLIER_VALIDATE', 'Supplier order validated', 'Executed when a supplier order is validated', 'order_supplier', 10),
	(18, 'ORDER_SUPPLIER_SENTBYMAIL', 'Supplier order sent by mail', 'Executed when a supplier order is sent by mail', 'order_supplier', 13),
	(19, 'BILL_SUPPLIER_VALIDATE', 'Supplier invoice validated', 'Executed when a supplier invoice is validated', 'invoice_supplier', 14),
	(20, 'BILL_SUPPLIER_PAYED', 'Supplier invoice payed', 'Executed when a supplier invoice is payed', 'invoice_supplier', 15),
	(21, 'BILL_SUPPLIER_SENTBYMAIL', 'Supplier invoice sent by mail', 'Executed when a supplier invoice is sent by mail', 'invoice_supplier', 16),
	(22, 'SHIPPING_VALIDATE', 'Shipping validated', 'Executed when a shipping is validated', 'shipping', 19),
	(23, 'SHIPPING_SENTBYMAIL', 'Shipping sent by mail', 'Executed when a shipping is sent by mail', 'shipping', 20),
	(24, 'MEMBER_VALIDATE', 'Member validated', 'Executed when a member is validated', 'member', 21),
	(25, 'MEMBER_SUBSCRIPTION', 'Member subscribed', 'Executed when a member is subscribed', 'member', 22),
	(26, 'MEMBER_RESILIATE', 'Member resiliated', 'Executed when a member is resiliated', 'member', 23),
	(27, 'MEMBER_DELETE', 'Member deleted', 'Executed when a member is deleted', 'member', 24),
	(28, 'PROJECT_MODIFY', 'Project modified', 'Executed when a project is modified', 'project', 141),
	(29, 'PROJECT_DELETE', 'Project deleted', 'Executed when a project is deleted', 'project', 142),
	(30, 'ORDER_SUPPLIER_CREATE', 'Supplier order validated', 'Executed when a supplier order is validated', 'order_supplier', 11),
	(31, 'ORDER_SUPPLIER_SUBMIT', 'Supplier order request submited', 'Executed when a supplier order is approved', 'order_supplier', 12),
	(32, 'ORDER_SUPPLIER_RECEIVE', 'Supplier order request received', 'Executed when a supplier order is received', 'order_supplier', 12),
	(33, 'ORDER_SUPPLIER_CLASSIFY_BILLED', 'Supplier order set billed', 'Executed when a supplier order is set as billed', 'order_supplier', 14),
	(34, 'MEMBER_MODIFY', 'Member modified', 'Executed when a member is modified', 'member', 34),
	(35, 'TASK_CREATE', 'Task created', 'Executed when a project task is created', 'project', 35),
	(36, 'TASK_MODIFY', 'Task modified', 'Executed when a project task is modified', 'project', 36),
	(37, 'TASK_DELETE', 'Task deleted', 'Executed when a project task is deleted', 'project', 37),
	(38, 'TICKET_CREATE', 'Ticket created', 'Executed when a ticket is created', 'ticket', 161),
	(39, 'TICKET_MODIFY', 'Ticket modified', 'Executed when a ticket is modified', 'ticket', 163),
	(40, 'TICKET_ASSIGNED', 'Ticket assigned', 'Executed when a ticket is assigned to another user', 'ticket', 164),
	(41, 'TICKET_CLOSE', 'Ticket closed', 'Executed when a ticket is closed', 'ticket', 165),
	(42, 'TICKET_SENTBYMAIL', 'Ticket message sent by email', 'Executed when a message is sent from the ticket record', 'ticket', 166),
	(43, 'TICKET_DELETE', 'Ticket deleted', 'Executed when a ticket is deleted', 'ticket', 167),
	(49, 'COMPANY_SENTBYMAIL', 'Mails sent from third party card', 'Executed when you send email from third party card', 'societe', 1),
	(62, 'BILL_SUPPLIER_CANCELED', 'Supplier invoice cancelled', 'Executed when a supplier invoice is cancelled', 'invoice_supplier', 17),
	(70, 'BILL_UNVALIDATE', 'Customer invoice unvalidated', 'Executed when a customer invoice status set back to draft', 'facture', 10),
	(71, 'FICHINTER_VALIDATE', 'Intervention validated', 'Executed when a intervention is validated', 'ficheinter', 19),
	(72, 'FICHINTER_CLASSIFY_BILLED', 'Intervention set billed', 'Executed when a intervention is set to billed (when option FICHINTER_CLASSIFY_BILLED is set)', 'ficheinter', 19),
	(73, 'FICHINTER_CLASSIFY_UNBILLED', 'Intervention set unbilled', 'Executed when a intervention is set to unbilled (when option FICHINTER_CLASSIFY_BILLED is set)', 'ficheinter', 19),
	(74, 'FICHINTER_REOPEN', 'Intervention opened', 'Executed when a intervention is re-opened', 'ficheinter', 19),
	(75, 'FICHINTER_SENTBYMAIL', 'Intervention sent by mail', 'Executed when a intervention is sent by mail', 'ficheinter', 19),
	(76, 'PROJECT_CREATE', 'Project creation', 'Executed when a project is created', 'project', 30),
	(77, 'PROPAL_CLOSE_SIGNED', 'Customer proposal closed signed', 'Executed when a customer proposal is closed signed', 'propal', 2),
	(78, 'PROPAL_CLOSE_REFUSED', 'Customer proposal closed refused', 'Executed when a customer proposal is closed refused', 'propal', 2),
	(79, 'PROPAL_CLASSIFY_BILLED', 'Customer proposal set billed', 'Executed when a customer proposal is set to billed', 'propal', 2),
	(83, 'BILL_SUPPLIER_UNVALIDATE', 'Supplier invoice unvalidated', 'Executed when a supplier invoice status is set back to draft', 'invoice_supplier', 15),
	(84, 'PRODUCT_CREATE', 'Product or service created', 'Executed when a product or sevice is created', 'product', 30),
	(85, 'PRODUCT_MODIFY', 'Product or service modified', 'Executed when a product or sevice is modified', 'product', 30),
	(86, 'PRODUCT_DELETE', 'Product or service deleted', 'Executed when a product or sevice is deleted', 'product', 30),
	(87, 'EXPENSE_REPORT_CREATE', 'Expense report created', 'Executed when an expense report is created', 'expensereport', 201),
	(89, 'EXPENSE_REPORT_VALIDATE', 'Expense report validated', 'Executed when an expense report is validated', 'expensereport', 202),
	(90, 'EXPENSE_REPORT_APPROVE', 'Expense report approved', 'Executed when an expense report is approved', 'expensereport', 203),
	(91, 'EXPENSE_REPORT_PAID', 'Expense report billed', 'Executed when an expense report is set as billed', 'expensereport', 204),
	(96, 'HOLIDAY_CREATE', 'Leave request created', 'Executed when a leave request is created', 'holiday', 221),
	(97, 'HOLIDAY_VALIDATE', 'Leave request validated', 'Executed when a leave request is validated', 'holiday', 222),
	(98, 'HOLIDAY_APPROVE', 'Leave request approved', 'Executed when a leave request is approved', 'holiday', 223),
	(104, 'ORDER_CLOSE', 'Customer order classify delivered', 'Executed when a customer order is set delivered', 'commande', 5),
	(105, 'ORDER_CLASSIFY_BILLED', 'Customer order classify billed', 'Executed when a customer order is set to billed', 'commande', 5),
	(106, 'ORDER_CANCEL', 'Customer order canceled', 'Executed when a customer order is canceled', 'commande', 5),
	(107, 'CONTACT_CREATE', 'Contact address created', 'Executed when a contact is created', 'contact', 50),
	(108, 'CONTACT_SENTBYMAIL', 'Mails sent from third party card', 'Executed when you send email from contact adress card', 'contact', 51),
	(109, 'CONTACT_DELETE', 'Contact address deleted', 'Executed when a contact is deleted', 'contact', 52),
	(110, 'RECRUITMENTJOBPOSITION_CREATE', 'Job created', 'Executed when a job is created', 'recruitment', 7500),
	(111, 'RECRUITMENTJOBPOSITION_MODIFY', 'Job modified', 'Executed when a job is modified', 'recruitment', 7502),
	(112, 'RECRUITMENTJOBPOSITION_SENTBYMAIL', 'Mails sent from job record', 'Executed when you send email from job record', 'recruitment', 7504),
	(113, 'RECRUITMENTJOBPOSITION_DELETE', 'Job deleted', 'Executed when a job is deleted', 'recruitment', 7506),
	(114, 'RECRUITMENTCANDIDATURE_CREATE', 'Candidature created', 'Executed when a candidature is created', 'recruitment', 7510),
	(115, 'RECRUITMENTCANDIDATURE_MODIFY', 'Candidature modified', 'Executed when a candidature is modified', 'recruitment', 7512),
	(116, 'RECRUITMENTCANDIDATURE_SENTBYMAIL', 'Mails sent from candidature record', 'Executed when you send email from candidature record', 'recruitment', 7514),
	(117, 'RECRUITMENTCANDIDATURE_DELETE', 'Candidature deleted', 'Executed when a candidature is deleted', 'recruitment', 7516),
	(133, 'EXPENSE_REPORT_DELETE', 'Expense report deleted', 'Executed when an expense report is deleted', 'expensereport', 205),
	(150, 'COMPANY_MODIFY', 'Third party update', 'Executed when you update third party', 'societe', 1),
	(151, 'CONTACT_MODIFY', 'Contact address update', 'Executed when a contact is updated', 'contact', 51),
	(152, 'ORDER_SUPPLIER_CANCEL', 'Supplier order request canceled', 'Executed when a supplier order is canceled', 'order_supplier', 13),
	(153, 'MEMBER_EXCLUDE', 'Member excluded', 'Executed when a member is excluded', 'member', 27),
	(154, 'USER_CREATE', 'User created', 'Executed when a user is created', 'user', 301),
	(155, 'USER_MODIFY', 'User update', 'Executed when a user is updated', 'user', 302),
	(156, 'USER_DELETE', 'User update', 'Executed when a user is deleted', 'user', 303),
	(157, 'USER_NEW_PASSWORD', 'User update', 'Executed when a user is change password', 'user', 304),
	(158, 'USER_ENABLEDISABLE', 'User update', 'Executed when a user is enable or disable', 'user', 305),
	(160, 'HOLIDAY_MODIFY', 'Holiday modified', 'Executed when a holiday is modified', 'holiday', 801),
	(163, 'HOLIDAY_CANCEL', 'Holiday canceled', 'Executed when a holiday is canceled', 'holiday', 802),
	(164, 'HOLIDAY_DELETE', 'Holiday deleted', 'Executed when a holiday is deleted', 'holiday', 804),
	(178, 'PROPAL_MODIFY', 'Customer proposal modified', 'Executed when a customer proposal is modified', 'propal', 2),
	(179, 'ORDER_MODIFY', 'Customer order modified', 'Executed when a customer order is set modified', 'commande', 5),
	(180, 'BILL_MODIFY', 'Customer invoice modified', 'Executed when a customer invoice is modified', 'facture', 7),
	(181, 'PROPOSAL_SUPPLIER_MODIFY', 'Price request modified', 'Executed when a commercial proposal is modified', 'proposal_supplier', 10),
	(182, 'ORDER_SUPPLIER_MODIFY', 'Supplier order request modified', 'Executed when a supplier order is modified', 'order_supplier', 13),
	(183, 'BILL_SUPPLIER_MODIFY', 'Supplier invoice modified', 'Executed when a supplier invoice is modified', 'invoice_supplier', 15),
	(184, 'CONTRACT_MODIFY', 'Contract modified', 'Executed when a contract is modified', 'contrat', 18),
	(185, 'SHIPPING_MODIFY', 'Shipping modified', 'Executed when a shipping is modified', 'shipping', 20),
	(186, 'FICHINTER_MODIFY', 'Intervention modify', 'Executed when a intervention is modify', 'ficheinter', 30),
	(188, 'EXPENSE_REPORT_MODIFY', 'Expense report modified', 'Executed when an expense report is modified', 'expensereport', 202);

-- Listage de la structure de table gestcom. llx_c_asset_disposal_type
CREATE TABLE IF NOT EXISTS `llx_c_asset_disposal_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) NOT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_asset_disposal_type` (`code`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_c_asset_disposal_type : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_availability
CREATE TABLE IF NOT EXISTS `llx_c_availability` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(30) NOT NULL,
  `label` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `position` int(11) NOT NULL DEFAULT 0,
  `type_duration` varchar(1) DEFAULT NULL,
  `qty` double DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_availability` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_availability : ~4 rows (environ)
INSERT INTO `llx_c_availability` (`rowid`, `code`, `label`, `active`, `position`, `type_duration`, `qty`) VALUES
	(1, 'AV_NOW', 'Immediate', 1, 0, NULL, 0),
	(2, 'AV_1W', '1 week', 1, 0, 'w', 1),
	(3, 'AV_2W', '2 weeks', 1, 0, 'w', 2),
	(4, 'AV_3W', '3 weeks', 1, 0, 'w', 3);

-- Listage de la structure de table gestcom. llx_c_barcode_type
CREATE TABLE IF NOT EXISTS `llx_c_barcode_type` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `libelle` varchar(128) DEFAULT NULL,
  `coder` varchar(16) NOT NULL,
  `example` varchar(16) NOT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_barcode_type` (`code`,`entity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_barcode_type : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_chargesociales
CREATE TABLE IF NOT EXISTS `llx_c_chargesociales` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `libelle` varchar(128) DEFAULT NULL,
  `deductible` smallint(6) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `code` varchar(12) NOT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4110 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_chargesociales : ~26 rows (environ)
INSERT INTO `llx_c_chargesociales` (`id`, `libelle`, `deductible`, `active`, `code`, `accountancy_code`, `fk_pays`, `module`) VALUES
	(1, 'Allocations familiales', 1, 1, 'TAXFAM', NULL, 1, NULL),
	(2, 'CSG Deductible', 1, 1, 'TAXCSGD', NULL, 1, NULL),
	(3, 'CSG/CRDS NON Deductible', 0, 1, 'TAXCSGND', NULL, 1, NULL),
	(10, 'Taxe apprentissage', 0, 1, 'TAXAPP', NULL, 1, NULL),
	(11, 'Taxe professionnelle', 0, 1, 'TAXPRO', NULL, 1, NULL),
	(12, 'Cotisation fonciere des entreprises', 0, 1, 'TAXCFE', NULL, 1, NULL),
	(13, 'Cotisation sur la valeur ajoutee des entreprises', 0, 1, 'TAXCVAE', NULL, 1, NULL),
	(20, 'Impots locaux/fonciers', 0, 1, 'TAXFON', NULL, 1, NULL),
	(25, 'Impots revenus', 0, 1, 'TAXREV', NULL, 1, NULL),
	(30, 'Assurance Sante', 0, 1, 'TAXSECU', NULL, 1, NULL),
	(40, 'Mutuelle', 0, 1, 'TAXMUT', NULL, 1, NULL),
	(50, 'Assurance vieillesse', 0, 1, 'TAXRET', NULL, 1, NULL),
	(60, 'Assurance Chomage', 0, 1, 'TAXCHOM', NULL, 1, NULL),
	(201, 'ONSS', 1, 1, 'TAXBEONSS', NULL, 2, NULL),
	(210, 'Precompte professionnel', 1, 1, 'TAXBEPREPRO', NULL, 2, NULL),
	(220, 'Prime existence', 1, 1, 'TAXBEPRIEXI', NULL, 2, NULL),
	(230, 'Precompte immobilier', 1, 1, 'TAXBEPREIMMO', NULL, 2, NULL),
	(4101, 'Krankenversicherung', 1, 1, 'TAXATKV', NULL, 41, NULL),
	(4102, 'Unfallversicherung', 1, 1, 'TAXATUV', NULL, 41, NULL),
	(4103, 'Pensionsversicherung', 1, 1, 'TAXATPV', NULL, 41, NULL),
	(4104, 'Arbeitslosenversicherung', 1, 1, 'TAXATAV', NULL, 41, NULL),
	(4105, 'Insolvenzentgeltsicherungsfond', 1, 1, 'TAXATIESG', NULL, 41, NULL),
	(4106, 'Wohnbauförderung', 1, 1, 'TAXATWF', NULL, 41, NULL),
	(4107, 'Arbeiterkammerumlage', 1, 1, 'TAXATAK', NULL, 41, NULL),
	(4108, 'Mitarbeitervorsorgekasse', 1, 1, 'TAXATMVK', NULL, 41, NULL),
	(4109, 'Familienlastenausgleichsfond', 1, 1, 'TAXATFLAF', NULL, 41, NULL);

-- Listage de la structure de table gestcom. llx_c_civility
CREATE TABLE IF NOT EXISTS `llx_c_civility` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(6) NOT NULL,
  `label` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_civility` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_civility : ~5 rows (environ)
INSERT INTO `llx_c_civility` (`rowid`, `code`, `label`, `active`, `module`) VALUES
	(1, 'MME', 'Madame', 1, NULL),
	(3, 'MR', 'Monsieur', 1, NULL),
	(5, 'MLE', 'Mademoiselle', 1, NULL),
	(7, 'MTRE', 'Maître', 1, NULL),
	(8, 'DR', 'Docteur', 1, NULL);

-- Listage de la structure de table gestcom. llx_c_country
CREATE TABLE IF NOT EXISTS `llx_c_country` (
  `rowid` int(11) NOT NULL,
  `code` varchar(2) NOT NULL,
  `code_iso` varchar(3) DEFAULT NULL,
  `label` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `favorite` tinyint(4) NOT NULL DEFAULT 0,
  `eec` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `idx_c_country_code` (`code`),
  UNIQUE KEY `idx_c_country_label` (`label`),
  UNIQUE KEY `idx_c_country_code_iso` (`code_iso`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

-- Listage de la structure de table gestcom. llx_c_currencies
CREATE TABLE IF NOT EXISTS `llx_c_currencies` (
  `code_iso` varchar(3) NOT NULL,
  `label` varchar(128) DEFAULT NULL,
  `unicode` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`code_iso`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

-- Listage de la structure de table gestcom. llx_c_departements
CREATE TABLE IF NOT EXISTS `llx_c_departements` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code_departement` varchar(6) NOT NULL,
  `fk_region` int(11) DEFAULT NULL,
  `cheflieu` varchar(50) DEFAULT NULL,
  `tncc` int(11) DEFAULT NULL,
  `ncc` varchar(50) DEFAULT NULL,
  `nom` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_departements` (`code_departement`,`fk_region`),
  KEY `idx_departements_fk_region` (`fk_region`),
  CONSTRAINT `fk_departements_code_region` FOREIGN KEY (`fk_region`) REFERENCES `llx_c_regions` (`code_region`)
) ENGINE=InnoDB AUTO_INCREMENT=2072 DEFAULT CHARSET=utf8;

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

-- Listage de la structure de table gestcom. llx_c_ecotaxe
CREATE TABLE IF NOT EXISTS `llx_c_ecotaxe` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(64) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `organization` varchar(255) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_ecotaxe` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;

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

-- Listage de la structure de table gestcom. llx_c_effectif
CREATE TABLE IF NOT EXISTS `llx_c_effectif` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_c_effectif` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_effectif : ~7 rows (environ)
INSERT INTO `llx_c_effectif` (`id`, `code`, `libelle`, `active`, `module`) VALUES
	(0, 'EF0', '-', 1, NULL),
	(1, 'EF1-5', '1 - 5', 1, NULL),
	(2, 'EF6-10', '6 - 10', 1, NULL),
	(3, 'EF11-50', '11 - 50', 1, NULL),
	(4, 'EF51-100', '51 - 100', 1, NULL),
	(5, 'EF100-500', '100 - 500', 1, NULL),
	(6, 'EF500-', '> 500', 1, NULL);

-- Listage de la structure de table gestcom. llx_c_email_senderprofile
CREATE TABLE IF NOT EXISTS `llx_c_email_senderprofile` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `private` smallint(6) NOT NULL DEFAULT 0,
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `signature` text DEFAULT NULL,
  `position` smallint(6) DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_senderprofile` (`entity`,`label`,`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_email_senderprofile : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_email_templates
CREATE TABLE IF NOT EXISTS `llx_c_email_templates` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `entity` int(11) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `type_template` varchar(32) DEFAULT NULL,
  `lang` varchar(6) DEFAULT NULL,
  `private` smallint(6) NOT NULL DEFAULT 0,
  `fk_user` int(11) DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `label` varchar(255) DEFAULT NULL,
  `position` smallint(6) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `topic` text DEFAULT NULL,
  `content` text DEFAULT NULL,
  `joinfiles` text DEFAULT NULL,
  `email_from` varchar(255) DEFAULT NULL,
  `email_to` varchar(255) DEFAULT NULL,
  `email_tocc` varchar(255) DEFAULT NULL,
  `email_tobcc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_email_templates` (`entity`,`label`,`lang`),
  KEY `idx_type` (`type_template`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Listage des données de la table gestcom.llx_c_email_templates : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_exp_tax_cat
CREATE TABLE IF NOT EXISTS `llx_c_exp_tax_cat` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `label` varchar(128) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_exp_tax_cat : ~28 rows (environ)
INSERT INTO `llx_c_exp_tax_cat` (`rowid`, `label`, `entity`, `active`) VALUES
	(1, 'ExpAutoCat', 1, 0),
	(2, 'ExpCycloCat', 1, 0),
	(3, 'ExpMotoCat', 1, 0),
	(4, 'ExpAuto3CV', 1, 1),
	(5, 'ExpAuto4CV', 1, 1),
	(6, 'ExpAuto5CV', 1, 1),
	(7, 'ExpAuto6CV', 1, 1),
	(8, 'ExpAuto7CV', 1, 1),
	(9, 'ExpAuto8CV', 1, 1),
	(10, 'ExpAuto9CV', 1, 0),
	(11, 'ExpAuto10CV', 1, 0),
	(12, 'ExpAuto11CV', 1, 0),
	(13, 'ExpAuto12CV', 1, 0),
	(14, 'ExpAuto3PCV', 1, 0),
	(15, 'ExpAuto4PCV', 1, 0),
	(16, 'ExpAuto5PCV', 1, 0),
	(17, 'ExpAuto6PCV', 1, 0),
	(18, 'ExpAuto7PCV', 1, 0),
	(19, 'ExpAuto8PCV', 1, 0),
	(20, 'ExpAuto9PCV', 1, 0),
	(21, 'ExpAuto10PCV', 1, 0),
	(22, 'ExpAuto11PCV', 1, 0),
	(23, 'ExpAuto12PCV', 1, 0),
	(24, 'ExpAuto13PCV', 1, 0),
	(25, 'ExpCyclo', 1, 0),
	(26, 'ExpMoto12CV', 1, 0),
	(27, 'ExpMoto345CV', 1, 0),
	(28, 'ExpMoto5PCV', 1, 0);

-- Listage de la structure de table gestcom. llx_c_exp_tax_range
CREATE TABLE IF NOT EXISTS `llx_c_exp_tax_range` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `fk_c_exp_tax_cat` int(11) NOT NULL DEFAULT 1,
  `range_ik` double NOT NULL DEFAULT 0,
  `entity` int(11) NOT NULL DEFAULT 1,
  `active` int(11) NOT NULL DEFAULT 1,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_exp_tax_range : ~15 rows (environ)
INSERT INTO `llx_c_exp_tax_range` (`rowid`, `fk_c_exp_tax_cat`, `range_ik`, `entity`, `active`) VALUES
	(1, 4, 0, 1, 1),
	(2, 4, 5000, 1, 1),
	(3, 4, 20000, 1, 1),
	(4, 5, 0, 1, 1),
	(5, 5, 5000, 1, 1),
	(6, 5, 20000, 1, 1),
	(7, 6, 0, 1, 1),
	(8, 6, 5000, 1, 1),
	(9, 6, 20000, 1, 1),
	(10, 7, 0, 1, 1),
	(11, 7, 5000, 1, 1),
	(12, 7, 20000, 1, 1),
	(13, 8, 0, 1, 1),
	(14, 8, 5000, 1, 1),
	(15, 8, 20000, 1, 1);

-- Listage de la structure de table gestcom. llx_c_field_list
CREATE TABLE IF NOT EXISTS `llx_c_field_list` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `element` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT 1,
  `name` varchar(32) NOT NULL,
  `alias` varchar(32) NOT NULL,
  `title` varchar(32) NOT NULL,
  `align` varchar(6) DEFAULT 'left',
  `sort` tinyint(4) NOT NULL DEFAULT 1,
  `search` tinyint(4) NOT NULL DEFAULT 0,
  `visible` tinyint(4) NOT NULL DEFAULT 1,
  `enabled` varchar(255) DEFAULT '1',
  `rang` int(11) DEFAULT 0,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_field_list : ~0 rows (environ)

-- Listage de la structure de table gestcom. llx_c_format_cards
CREATE TABLE IF NOT EXISTS `llx_c_format_cards` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `paper_size` varchar(20) NOT NULL,
  `orientation` varchar(1) NOT NULL,
  `metric` varchar(5) NOT NULL,
  `leftmargin` double(24,8) NOT NULL,
  `topmargin` double(24,8) NOT NULL,
  `nx` int(11) NOT NULL,
  `ny` int(11) NOT NULL,
  `spacex` double(24,8) NOT NULL,
  `spacey` double(24,8) NOT NULL,
  `width` double(24,8) NOT NULL,
  `height` double(24,8) NOT NULL,
  `font_size` int(11) NOT NULL,
  `custom_x` double(24,8) NOT NULL,
  `custom_y` double(24,8) NOT NULL,
  `active` int(11) NOT NULL,
  PRIMARY KEY (`rowid`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;

-- Listage des données de la table gestcom.llx_c_format_cards : ~11 rows (environ)
INSERT INTO `llx_c_format_cards` (`rowid`, `code`, `name`, `paper_size`, `orientation`, `metric`, `leftmargin`, `topmargin`, `nx`, `ny`, `spacex`, `spacey`, `width`, `height`, `font_size`, `custom_x`, `custom_y`, `active`) VALUES
	(1, '5160', 'Avery-5160, WL-875WX', 'letter', 'P', 'mm', 5.58165000, 12.70000000, 3, 10, 3.55600000, 0.00000000, 65.87490000, 25.40000000, 7, 0.00000000, 0.00000000, 1),
	(2, '5161', 'Avery-5161, WL-75WX', 'letter', 'P', 'mm', 4.44500000, 12.70000000, 2, 10, 3.96800000, 0.00000000, 101.60000000, 25.40000000, 7, 0.00000000, 0.00000000, 1),
	(3, '5162', 'Avery-5162, WL-100WX', 'letter', 'P', 'mm', 3.87350000, 22.35200000, 2, 7, 4.95400000, 0.00000000, 101.60000000, 33.78100000, 8, 0.00000000, 0.00000000, 1),
	(4, '5163', 'Avery-5163, WL-125WX', 'letter', 'P', 'mm', 4.57200000, 12.70000000, 2, 5, 3.55600000, 0.00000000, 101.60000000, 50.80000000, 10, 0.00000000, 0.00000000, 1),
	(5, '5164', '5164 (Letter)', 'letter', 'P', 'in', 0.14800000, 0.50000000, 2, 3, 0.20310000, 0.00000000, 4.00000000, 3.33000000, 12, 0.00000000, 0.00000000, 0),
	(6, '8600', 'Avery-8600', 'letter', 'P', 'mm', 7.10000000, 19.00000000, 3, 10, 9.50000000, 3.10000000, 66.60000000, 25.40000000, 7, 0.00000000, 0.00000000, 1),
	(7, '99012', 'DYMO 99012 89*36mm', 'custom', 'L', 'mm', 1.00000000, 1.00000000, 1, 1, 0.00000000, 0.00000000, 36.00000000, 89.00000000, 10, 36.00000000, 89.00000000, 1),
	(8, '99014', 'DYMO 99014 101*54mm', 'custom', 'L', 'mm', 1.00000000, 1.00000000, 1, 1, 0.00000000, 0.00000000, 54.00000000, 101.00000000, 10, 54.00000000, 101.00000000, 1),
	(9, 'AVERYC32010', 'Avery-C32010', 'A4', 'P', 'mm', 15.00000000, 13.00000000, 2, 5, 10.00000000, 0.00000000, 85.00000000, 54.00000000, 10, 0.00000000, 0.00000000, 1),
	(10, 'CARD', 'Gestcom Business cards', 'A4', 'P', 'mm', 15.00000000, 15.00000000, 2, 5, 0.00000000, 0.00000000, 85.00000000, 54.00000000, 10, 0.00000000, 0.00000000, 1),
	(11, 'L7163', 'Avery-L7163', 'A4', 'P', 'mm', 5.00000000, 15.00000000, 2, 7, 2.50000000, 0.00000000, 99.10000000, 38.10000000, 8, 0.00000000, 0.00000000, 1);

-- Listage de la structure de table gestcom. llx_c_forme_juridique
CREATE TABLE IF NOT EXISTS `llx_c_forme_juridique` (
  `rowid` int(11) NOT NULL AUTO_INCREMENT,
  `code` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `isvatexempted` tinyint(4) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 1,
  `module` varchar(32) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`rowid`),
  UNIQUE KEY `uk_c_forme_juridique` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=350 DEFAULT CHARSET=utf8;

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

-- Listage de la structure de table gestcom. llx_c_holiday_types
