CREATE TABLE `llx_accountingdebcred` (
  `fk_transaction` int(11) NOT NULL,
  `account_number` varchar(32) NOT NULL,
  `amount` double NOT NULL,
  `direction` varchar(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_accountingtransaction`
--

CREATE TABLE `llx_accountingtransaction` (
  `rowid` int(11) NOT NULL,
  `label` varchar(128) NOT NULL,
  `datec` date NOT NULL,
  `fk_author` varchar(20) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_source` int(11) NOT NULL,
  `sourcetype` varchar(16) NOT NULL,
  `url` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_accounting_bookkeeping`
--

CREATE TABLE `llx_accounting_bookkeeping` (
  `rowid` int(11) NOT NULL,
  `doc_date` date NOT NULL,
  `doc_type` varchar(30) NOT NULL,
  `doc_ref` varchar(30) NOT NULL,
  `fk_doc` int(11) NOT NULL,
  `fk_docdet` int(11) NOT NULL,
  `code_tiers` varchar(24) DEFAULT NULL,
  `numero_compte` varchar(32) DEFAULT NULL,
  `label_compte` varchar(128) NOT NULL,
  `debit` double NOT NULL,
  `credit` double NOT NULL,
  `montant` double NOT NULL,
  `sens` varchar(1) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `code_journal` varchar(10) DEFAULT NULL,
  `piece_num` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_accounting_fiscalyear`
--

CREATE TABLE `llx_accounting_fiscalyear` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_accounting_system`
--

CREATE TABLE `llx_accounting_system` (
  `rowid` int(11) NOT NULL,
  `pcg_version` varchar(32) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `label` varchar(128) NOT NULL,
  `active` smallint(6) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_accounting_system`
--

INSERT INTO `llx_accounting_system` (`rowid`, `pcg_version`, `fk_pays`, `label`, `active`) VALUES
(1, 'PCG99-ABREGE', 1, 'The simple accountancy french plan', 1),
(2, 'PCG99-BASE', 1, 'The base accountancy french plan', 1),
(3, 'PCMN-BASE', 2, 'The base accountancy belgium plan', 1),
(4, 'PCG08-PYME', 4, 'The PYME accountancy spanish plan', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_actioncomm`
--

CREATE TABLE `llx_actioncomm` (
  `id` int(11) NOT NULL,
  `ref_ext` varchar(128) 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(32) 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',
  `punctual` smallint(6) NOT NULL DEFAULT '1',
  `percent` smallint(6) NOT NULL DEFAULT '0',
  `location` varchar(128) DEFAULT NULL,
  `durationp` double DEFAULT NULL,
  `label` varchar(256) NOT NULL,
  `note` text,
  `email_msgid` varchar(256) DEFAULT NULL,
  `email_from` varchar(256) DEFAULT NULL,
  `email_sender` varchar(256) DEFAULT NULL,
  `email_to` varchar(256) DEFAULT NULL,
  `errors_to` varchar(256) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_actioncomm_extrafields`
--

CREATE TABLE `llx_actioncomm_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_actioncomm_resources`
--

CREATE TABLE `llx_actioncomm_resources` (
  `rowid` int(11) NOT NULL,
  `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'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_adherent`
--

CREATE TABLE `llx_adherent` (
  `rowid` int(11) 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,
  `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,
  `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,
  `skype` varchar(255) 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,
  `note_public` text,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_adherent_extrafields`
--

CREATE TABLE `llx_adherent_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_adherent_type`
--

CREATE TABLE `llx_adherent_type` (
  `rowid` int(11) NOT NULL,
  `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,
  `cotisation` varchar(3) NOT NULL DEFAULT 'yes',
  `vote` varchar(3) NOT NULL DEFAULT 'yes',
  `note` text,
  `mail_valid` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_adherent_type_extrafields`
--

CREATE TABLE `llx_adherent_type_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_askpricesupplier`
--

CREATE TABLE `llx_askpricesupplier` (
  `rowid` int(11) NOT NULL,
  `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,
  `note_public` text,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_askpricesupplierdet`
--

CREATE TABLE `llx_askpricesupplierdet` (
  `rowid` int(11) NOT NULL,
  `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,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_askpricesupplierdet_extrafields`
--

CREATE TABLE `llx_askpricesupplierdet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_askpricesupplier_extrafields`
--

CREATE TABLE `llx_askpricesupplier_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank`
--

CREATE TABLE `llx_bank` (
  `rowid` int(11) NOT NULL,
  `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,
  `rappro` tinyint(4) DEFAULT '0',
  `note` text,
  `fk_bordereau` int(11) DEFAULT '0',
  `banque` varchar(255) DEFAULT NULL,
  `emetteur` varchar(255) DEFAULT NULL,
  `author` varchar(40) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_bank`
--

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`, `rappro`, `note`, `fk_bordereau`, `banque`, `emetteur`, `author`) VALUES
(1, '2016-02-15 20:34:14', '2016-02-15 16:34:14', '2016-02-15', '2016-02-15', 0.00000000, '(Solde initial)', 1, NULL, NULL, 'SOLD', NULL, NULL, 0, NULL, 0, NULL, NULL, NULL),
(2, '2016-06-01 11:10:10', '2016-06-01 07:10:10', '2016-05-31', '2016-05-31', 21942.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(3, '2016-12-16 12:28:20', '2016-12-16 08:28:20', '2016-12-16', '2016-12-16', 4685.20000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Force NV', NULL),
(4, '2016-12-16 12:28:45', '2016-12-16 08:28:45', '2016-12-16', '2016-12-16', -4685.20000000, '(CustomerInvoicePaymentBack)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'AAB Renov', NULL),
(5, '2016-12-16 12:32:28', '2016-12-16 08:32:28', '2016-12-16', '2016-12-16', 27684.80000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(6, '2016-12-16 12:33:20', '2016-12-16 08:33:20', '2016-12-16', '2016-12-16', 5348.20000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(7, '2017-01-25 13:41:21', '2017-01-25 09:41:21', '2017-01-25', '2017-01-25', 4802.48000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Thomas Julien', NULL),
(8, '2017-01-25 13:42:09', '2017-01-25 09:42:09', '2017-01-25', '2017-01-25', 42890.52000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Mme Line Rish', NULL),
(9, '2017-01-25 13:42:56', '2017-01-25 09:42:56', '2017-01-25', '2017-01-25', 6956.80000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Wissem FAIVAZ', NULL),
(10, '2017-02-15 12:35:13', '2017-02-15 08:35:13', '2017-02-15', '2017-02-15', 25047.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(11, '2017-02-15 12:35:36', '2017-02-15 08:35:36', '2017-02-15', '2017-02-15', -21942.00000000, '(CustomerInvoicePaymentBack)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'AAB Renov', NULL),
(12, '2017-02-15 14:23:06', '2017-02-15 10:23:06', '2017-02-15', '2017-02-15', 895.40000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Force NV', NULL),
(13, '2017-02-16 14:36:59', '2017-02-16 10:36:59', '2017-02-16', '2017-02-16', 2120.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Thomas Julien', NULL),
(14, '2017-03-03 12:01:57', '2017-03-03 08:01:57', '2017-03-03', '2017-03-03', 4174.50000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(15, '2017-03-14 12:50:57', '2017-03-14 08:50:57', '2017-03-14', '2017-03-14', 16335.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(16, '2017-03-31 13:37:06', '2017-03-31 09:37:06', '2017-03-31', '2017-03-31', 12100.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(17, '2017-05-03 16:28:48', '2017-05-03 12:28:48', '2017-05-03', '2017-05-03', -38882.58000000, '(CustomerInvoicePaymentBack)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'AAB Renov', NULL),
(18, '2017-05-03 16:29:55', '2017-05-03 12:29:55', '2017-05-03', '2017-05-03', 2106.22000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Thomas Julien', NULL),
(20, '2017-05-08 13:43:55', '2017-05-08 09:43:55', '2017-05-08', '2017-05-08', 6922.48000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Thomas Julien', NULL),
(21, '2017-05-11 14:06:30', '2017-05-11 10:06:30', '2017-05-11', '2017-05-11', 450.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'RENOVAC', NULL),
(22, '2017-05-24 17:00:22', '2017-05-24 13:00:22', '2017-05-24', '2017-05-24', 5000.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'LIQ', NULL, NULL, 0, NULL, 0, NULL, NULL, NULL),
(23, '2017-06-08 15:29:26', '2017-06-08 11:29:26', '2017-06-08', '2017-06-08', 12100.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(24, '2017-07-24 15:59:31', '2017-07-24 11:59:31', '2017-07-24', '2017-07-24', 9982.50000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(25, '2017-07-27 12:53:24', '2017-07-27 08:53:24', '2017-07-27', '2017-07-27', 6231.50000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma 2 Care', NULL),
(26, '2017-09-12 10:30:04', '2017-09-12 06:30:04', '2017-09-12', '2017-09-12', 8615.20000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(27, '2017-09-15 12:49:25', '2017-09-15 08:49:25', '2017-09-15', '2017-09-15', 1633.50000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma 2 Care', NULL),
(28, '2017-10-31 13:27:36', '2017-10-31 09:27:36', '2017-10-31', '2017-10-31', 6292.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Regie des batiments', NULL),
(29, '2018-01-11 10:46:57', '2018-01-11 09:46:57', '2018-01-11', '2018-01-11', 920.00000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Dinak belgium', NULL),
(30, '2018-03-02 09:01:10', '2018-03-02 08:01:10', '2018-03-02', '2018-03-02', 2069.10000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Force NV', NULL),
(31, '2018-04-09 08:17:02', '2018-04-09 06:17:02', '2018-04-09', '2018-04-09', 4083.75000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL),
(32, '2019-01-31 10:50:00', '2019-01-31 09:50:00', '2019-01-31', '2019-01-31', 592.90000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'De wijze boom', NULL),
(33, '2019-05-16 12:13:22', '2019-05-16 10:13:22', '2019-05-16', '2019-05-16', 1754.50000000, '(CustomerInvoicePayment)', 1, 3, NULL, 'VIR', NULL, NULL, 0, NULL, 0, NULL, 'Pharma Real Estate', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank_account`
--

CREATE TABLE `llx_bank_account` (
  `rowid` int(11) NOT NULL,
  `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(8) 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,
  `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,
  `currency_code` varchar(3) NOT NULL,
  `min_allowed` int(11) DEFAULT '0',
  `min_desired` int(11) DEFAULT '0',
  `comment` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_bank_account`
--

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`, `state_id`, `fk_pays`, `proprio`, `owner_address`, `courant`, `clos`, `rappro`, `url`, `account_number`, `accountancy_journal`, `currency_code`, `min_allowed`, `min_desired`, `comment`) VALUES
(1, '2016-02-15 20:34:14', '2016-02-16 11:36:18', 'bnp', 'bnp paribas', 1, NULL, NULL, 'bnp', 'bnp', '', 'BE06210064414722', '', 'KREDBEBB', 'BE06210064414722', NULL, NULL, '', NULL, 2, '', '', 1, 0, 1, NULL, '', '', 'EUR', NULL, NULL, '');

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank_account_extrafields`
--

CREATE TABLE `llx_bank_account_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank_categ`
--

CREATE TABLE `llx_bank_categ` (
  `rowid` int(11) NOT NULL,
  `label` varchar(255) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank_class`
--

CREATE TABLE `llx_bank_class` (
  `lineid` int(11) NOT NULL,
  `fk_categ` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_bank_url`
--

CREATE TABLE `llx_bank_url` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_bank_url`
--

INSERT INTO `llx_bank_url` (`rowid`, `fk_bank`, `url_id`, `url`, `label`, `type`) VALUES
(1, 2, 1, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(2, 2, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(3, 3, 2, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(4, 3, 5, '/comm/card.php?socid=', 'Pharma Force NV', 'company'),
(5, 4, 3, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(6, 4, 5, '/comm/card.php?socid=', 'Pharma Force NV', 'company'),
(7, 5, 4, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(8, 5, 38, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(9, 6, 5, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(10, 6, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(11, 7, 6, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(12, 7, 25, '/comm/card.php?socid=', 'Thomas Julien', 'company'),
(13, 8, 7, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(14, 8, 4, '/comm/card.php?socid=', 'Mme Line Rish', 'company'),
(15, 9, 8, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(16, 9, 7, '/comm/card.php?socid=', 'Wissem FAIVAZ', 'company'),
(17, 10, 9, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(18, 10, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(19, 11, 10, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(20, 11, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(21, 12, 11, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(22, 12, 5, '/comm/card.php?socid=', 'Pharma Force NV', 'company'),
(23, 13, 12, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(24, 13, 25, '/comm/card.php?socid=', 'Thomas Julien', 'company'),
(25, 14, 13, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(26, 14, 38, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(27, 15, 14, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(28, 15, 38, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(29, 16, 15, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(30, 16, 38, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(31, 17, 16, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(32, 17, 5, '/comm/card.php?socid=', 'Pharma Force NV', 'company'),
(33, 18, 17, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(34, 18, 25, '/comm/card.php?socid=', 'Thomas Julien', 'company'),
(37, 20, 19, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(38, 20, 25, '/comm/card.php?socid=', 'Thomas Julien', 'company'),
(39, 21, 20, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(40, 21, 39, '/comm/card.php?socid=', 'RENOVAC', 'company'),
(41, 22, 21, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(42, 22, 7, '/comm/card.php?socid=', 'Wissem FAIVAZ', 'company'),
(43, 23, 22, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(44, 23, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(45, 24, 23, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(46, 24, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(47, 25, 24, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(48, 25, 53, '/comm/card.php?socid=', 'Pharma 2 Care', 'company'),
(49, 26, 25, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(50, 26, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(51, 27, 26, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(52, 27, 53, '/comm/card.php?socid=', 'Pharma 2 Care', 'company'),
(53, 28, 27, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(54, 28, 55, '/comm/card.php?socid=', 'Regie des batiments', 'company'),
(55, 29, 28, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(56, 29, 60, '/comm/card.php?socid=', 'Dinak belgium', 'company'),
(57, 30, 29, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(58, 30, 5, '/comm/card.php?socid=', 'Pharma Force NV', 'company'),
(59, 31, 30, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(60, 31, 6, '/comm/card.php?socid=', 'Pharma Real Estate', 'company'),
(61, 32, 31, '/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(62, 32, 66, '/comm/card.php?socid=', 'De wijze boom', 'company'),
(63, 33, 32, '/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment'),
(64, 33, 6, '/htdocs/comm/card.php?socid=', 'Pharma Real Estate', 'company');

-- --------------------------------------------------------

--
-- Structure de la table `llx_bookmark`
--

CREATE TABLE `llx_bookmark` (
  `rowid` int(11) NOT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `dateb` datetime DEFAULT NULL,
  `url` varchar(255) NOT 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'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_bordereau_cheque`
--

CREATE TABLE `llx_bordereau_cheque` (
  `rowid` int(11) NOT NULL,
  `number` varchar(16) 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,
  `entity` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_boxes`
--

CREATE TABLE `llx_boxes` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_boxes`
--

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),
(12, 1, 12, 0, '0', 0, NULL, NULL),
(13, 1, 13, 0, '0', 0, NULL, NULL),
(14, 1, 14, 0, '0', 0, NULL, NULL),
(15, 1, 15, 0, '0', 0, NULL, NULL),
(16, 1, 16, 0, '0', 0, NULL, NULL),
(18, 1, 18, 0, '0', 0, NULL, NULL),
(19, 1, 19, 0, '0', 0, NULL, NULL),
(65, 1, 1, 0, 'A01', 2, NULL, NULL),
(66, 1, 18, 0, 'A02', 2, NULL, NULL),
(67, 1, 16, 0, 'A03', 2, NULL, NULL),
(68, 1, 15, 0, 'A04', 2, NULL, NULL),
(69, 1, 14, 0, 'A05', 2, NULL, NULL),
(70, 1, 13, 0, 'A06', 2, NULL, NULL),
(71, 1, 12, 0, 'A07', 2, NULL, NULL),
(72, 1, 11, 0, 'A08', 2, NULL, NULL),
(73, 1, 10, 0, 'A09', 2, NULL, NULL),
(74, 1, 9, 0, 'B01', 2, NULL, NULL),
(75, 1, 8, 0, 'B02', 2, NULL, NULL),
(76, 1, 7, 0, 'B03', 2, NULL, NULL),
(77, 1, 6, 0, 'B04', 2, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_boxes_def`
--

CREATE TABLE `llx_boxes_def` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_boxes_def`
--

INSERT INTO `llx_boxes_def` (`rowid`, `file`, `entity`, `tms`, `note`) VALUES
(1, 'box_clients.php', 1, '2016-02-15 16:15:35', NULL),
(2, 'box_prospect.php', 1, '2016-02-15 16:15:35', NULL),
(3, 'box_contacts.php', 1, '2016-02-15 16:15:35', NULL),
(4, 'box_activity.php', 1, '2016-02-15 16:15:35', '(WarningUsingThisBoxSlowDown)'),
(5, 'box_graph_propales_permonth.php', 1, '2016-02-15 16:15:36', NULL),
(6, 'box_propales.php', 1, '2016-02-15 16:15:36', NULL),
(7, 'box_commandes.php', 1, '2016-02-15 16:15:38', NULL),
(8, 'box_graph_orders_permonth.php', 1, '2016-02-15 16:15:38', NULL),
(9, 'box_contracts.php', 1, '2016-02-15 16:15:40', NULL),
(10, 'box_services_expired.php', 1, '2016-02-15 16:15:40', NULL),
(11, 'box_factures_imp.php', 1, '2016-02-15 16:15:44', NULL),
(12, 'box_factures.php', 1, '2016-02-15 16:15:44', NULL),
(13, 'box_graph_invoices_permonth.php', 1, '2016-02-15 16:15:44', NULL),
(14, 'box_comptes.php', 1, '2016-02-15 16:15:44', NULL),
(15, 'box_produits.php', 1, '2016-02-15 16:16:04', NULL),
(16, 'box_produits_alerte_stock.php', 1, '2016-02-15 16:16:04', NULL),
(18, 'box_services_contracts.php', 1, '2016-02-15 16:16:08', NULL),
(19, 'box_graph_product_distribution.php', 1, '2016-02-15 16:16:08', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie`
--

CREATE TABLE `llx_categorie` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_parent` int(11) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `type` tinyint(4) NOT NULL DEFAULT '1',
  `description` text,
  `fk_soc` int(11) DEFAULT NULL,
  `visible` tinyint(4) NOT NULL DEFAULT '1',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categories_extrafields`
--

CREATE TABLE `llx_categories_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_contact`
--

CREATE TABLE `llx_categorie_contact` (
  `fk_categorie` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_fournisseur`
--

CREATE TABLE `llx_categorie_fournisseur` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_lang`
--

CREATE TABLE `llx_categorie_lang` (
  `rowid` int(11) NOT NULL,
  `fk_category` int(11) NOT NULL DEFAULT '0',
  `lang` varchar(5) NOT NULL DEFAULT '0',
  `label` varchar(255) NOT NULL,
  `description` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_member`
--

CREATE TABLE `llx_categorie_member` (
  `fk_categorie` int(11) NOT NULL,
  `fk_member` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_product`
--

CREATE TABLE `llx_categorie_product` (
  `fk_categorie` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_categorie_societe`
--

CREATE TABLE `llx_categorie_societe` (
  `fk_categorie` int(11) NOT NULL,
  `fk_soc` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_chargesociales`
--

CREATE TABLE `llx_chargesociales` (
  `rowid` int(11) NOT 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_type` int(11) NOT NULL,
  `amount` double NOT NULL DEFAULT '0',
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `periode` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande`
--

CREATE TABLE `llx_commande` (
  `rowid` int(11) NOT NULL,
  `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 DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `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,
  `note_public` text,
  `model_pdf` 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,
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `fk_availability` 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commandedet`
--

CREATE TABLE `llx_commandedet` (
  `rowid` int(11) NOT NULL,
  `fk_commande` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `tva_tx` double(6,3) DEFAULT NULL,
  `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',
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commandedet_extrafields`
--

CREATE TABLE `llx_commandedet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_extrafields`
--

CREATE TABLE `llx_commande_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseur`
--

CREATE TABLE `llx_commande_fournisseur` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_ext` varchar(64) 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',
  `amount_ht` double DEFAULT '0',
  `remise_percent` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `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,
  `note_public` text,
  `model_pdf` 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseurdet`
--

CREATE TABLE `llx_commande_fournisseurdet` (
  `rowid` int(11) NOT NULL,
  `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,
  `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',
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseurdet_extrafields`
--

CREATE TABLE `llx_commande_fournisseurdet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseur_dispatch`
--

CREATE TABLE `llx_commande_fournisseur_dispatch` (
  `rowid` int(11) NOT NULL,
  `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(30) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseur_extrafields`
--

CREATE TABLE `llx_commande_fournisseur_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_commande_fournisseur_log`
--

CREATE TABLE `llx_commande_fournisseur_log` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_const`
--

CREATE TABLE `llx_const` (
  `rowid` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `value` text NOT NULL,
  `type` varchar(6) DEFAULT NULL,
  `visible` tinyint(4) NOT NULL DEFAULT '1',
  `note` text,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_const`
--

INSERT INTO `llx_const` (`rowid`, `name`, `entity`, `value`, `type`, `visible`, `note`, `tms`) VALUES
(2, 'MAIN_FEATURES_LEVEL', 0, '0', 'chaine', 1, 'Level of features to show (0=stable only, 1=stable+experimental, 2=stable+experimental+development', '2016-02-15 16:09:09'),
(3, 'MAILING_LIMIT_SENDBYWEB', 0, '25', 'chaine', 1, 'Number of targets to defined packet size when sending mass email', '2016-02-15 16:09:09'),
(4, 'SYSLOG_HANDLERS', 0, '[\"mod_syslog_file\"]', 'chaine', 0, 'Which logger to use', '2016-02-15 16:09:09'),
(5, 'SYSLOG_FILE', 0, 'DOL_DATA_ROOT/dolibarr.log', 'chaine', 0, 'Directory where to write log file', '2016-02-15 16:09:09'),
(6, 'SYSLOG_LEVEL', 0, '7', 'chaine', 0, 'Level of debug info to show', '2016-02-15 16:09:09'),
(7, 'MAIN_UPLOAD_DOC', 0, '2048', 'chaine', 0, 'Max size for file upload (0 means no upload allowed)', '2016-02-15 16:09:09'),
(12, 'MAIN_SIZE_LISTE_LIMIT', 0, '25', 'chaine', 0, 'Longueur maximum des listes', '2016-02-15 16:09:09'),
(13, 'MAIN_SHOW_WORKBOARD', 0, '1', 'yesno', 0, 'Affichage tableau de bord de travail Dolibarr', '2016-02-15 16:09:09'),
(14, 'MAIN_MENU_STANDARD', 1, 'eldy_menu.php', 'chaine', 0, 'Menu manager for internal users', '2016-02-15 16:09:09'),
(15, 'MAIN_MENUFRONT_STANDARD', 1, 'eldy_menu.php', 'chaine', 0, 'Menu manager for external users', '2016-02-15 16:09:09'),
(16, 'MAIN_MENU_SMARTPHONE', 1, 'eldy_menu.php', 'chaine', 0, 'Menu manager for internal users using smartphones', '2016-02-15 16:09:09'),
(17, 'MAIN_MENUFRONT_SMARTPHONE', 1, 'eldy_menu.php', 'chaine', 0, 'Menu manager for external users using smartphones', '2016-02-15 16:09:09'),
(18, 'MAIN_DELAY_ACTIONS_TODO', 1, '7', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées', '2016-02-15 16:09:09'),
(19, 'MAIN_DELAY_ORDERS_TO_PROCESS', 1, '2', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées', '2016-02-15 16:09:09'),
(20, 'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS', 1, '7', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées', '2016-02-15 16:09:09'),
(21, 'MAIN_DELAY_PROPALS_TO_CLOSE', 1, '31', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur propales à cloturer', '2016-02-15 16:09:09'),
(22, 'MAIN_DELAY_PROPALS_TO_BILL', 1, '7', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur propales non facturées', '2016-02-15 16:09:09'),
(23, 'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED', 1, '31', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur factures client impayées', '2016-02-15 16:09:09'),
(24, 'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY', 1, '2', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées', '2016-02-15 16:09:09'),
(25, 'MAIN_DELAY_NOT_ACTIVATED_SERVICES', 1, '0', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur services à activer', '2016-02-15 16:09:09'),
(26, 'MAIN_DELAY_RUNNING_SERVICES', 1, '0', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur services expirés', '2016-02-15 16:09:09'),
(27, 'MAIN_DELAY_MEMBERS', 1, '31', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur cotisations adhérent en retard', '2016-02-15 16:09:09'),
(28, 'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE', 1, '62', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur rapprochements bancaires à faire', '2016-02-15 16:09:09'),
(29, 'MAIN_DELAY_EXPENSEREPORTS_TO_PAY', 1, '31', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur les notes de frais impayées', '2016-02-15 16:09:09'),
(30, 'MAIN_FIX_FOR_BUGGED_MTA', 1, '1', 'chaine', 1, 'Set constant to fix email ending from PHP with some linux ike system', '2016-02-15 16:09:09'),
(31, 'MAILING_EMAIL_FROM', 1, 'dolibarr@domain.com', 'chaine', 0, 'EMail emmetteur pour les envois d emailings', '2016-02-15 16:09:09'),
(32, 'MAIN_MODULE_USER', 0, '1', NULL, 0, NULL, '2016-02-15 16:09:32'),
(33, 'MAIN_VERSION_LAST_INSTALL', 0, '3.8.3', 'chaine', 0, 'Dolibarr version when install', '2016-02-15 16:09:32'),
(34, 'MAIN_LANG_DEFAULT', 1, 'fr_BE', 'chaine', 0, 'Default language', '2016-02-15 16:09:32'),
(60, 'SOCIETE_CODECLIENT_ADDON', 1, 'mod_codeclient_leopard', 'chaine', 0, 'Module to control third parties codes', '2016-02-15 16:15:35'),
(61, 'SOCIETE_CODECOMPTA_ADDON', 1, 'mod_codecompta_panicum', 'chaine', 0, 'Module to control third parties codes', '2016-02-15 16:15:35'),
(62, 'MAIN_SEARCHFORM_SOCIETE', 1, '1', 'yesno', 0, 'Show form for quick company search', '2016-02-15 16:15:35'),
(63, 'MAIN_SEARCHFORM_CONTACT', 1, '1', 'yesno', 0, 'Show form for quick contact search', '2016-02-15 16:15:35'),
(64, 'COMPANY_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/thirdparties', 'chaine', 0, NULL, '2016-02-15 16:15:35'),
(65, 'SOCIETE_ADD_REF_IN_LIST', 1, '', 'yesno', 0, 'Display customer ref into select list', '2016-02-15 16:15:35'),
(66, 'MAIN_MODULE_PROPALE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:36'),
(67, 'PROPALE_ADDON_PDF', 1, 'azur', 'chaine', 0, 'Nom du gestionnaire de generation des propales en PDF', '2016-02-15 16:15:36'),
(68, 'PROPALE_ADDON', 1, 'mod_propale_marbre', 'chaine', 0, 'Nom du gestionnaire de numerotation des propales', '2016-02-15 16:15:36'),
(69, 'PROPALE_VALIDITY_DURATION', 1, '15', 'chaine', 0, 'Duration of validity of business proposals', '2016-02-15 16:15:36'),
(70, 'PROPALE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/proposals', 'chaine', 0, NULL, '2016-02-15 16:15:36'),
(72, 'MAIN_MODULE_COMMANDE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:38'),
(73, 'COMMANDE_ADDON_PDF', 1, 'einstein', 'chaine', 0, 'Name of PDF model of order', '2016-02-15 16:15:38'),
(74, 'COMMANDE_ADDON', 1, 'mod_commande_marbre', 'chaine', 0, 'Name of numbering numerotation rules of order', '2016-02-15 16:15:38'),
(75, 'COMMANDE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/orders', 'chaine', 0, NULL, '2016-02-15 16:15:38'),
(77, 'MAIN_MODULE_CONTRAT', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:40'),
(78, 'CONTRACT_ADDON', 1, 'mod_contract_serpis', 'chaine', 0, 'Nom du gestionnaire de numerotation des contrats', '2016-02-15 16:15:40'),
(80, 'MAIN_MODULE_COMPTABILITE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:44'),
(81, 'MAIN_MODULE_FACTURE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:44'),
(82, 'FACTURE_ADDON_PDF', 1, 'crabe', 'chaine', 0, 'Name of PDF model of invoice', '2016-02-15 16:15:44'),
(83, 'FACTURE_ADDON', 1, 'mod_facture_terre', 'chaine', 0, 'Name of numbering numerotation rules of invoice', '2016-02-15 16:15:44'),
(84, 'FACTURE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/invoices', 'chaine', 0, NULL, '2016-02-15 16:15:44'),
(85, 'MAIN_MODULE_SOCIETE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:44'),
(86, 'MAIN_MODULE_BANQUE', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:44'),
(87, 'MAIN_MODULE_TAX', 1, '1', NULL, 0, NULL, '2016-02-15 16:15:48'),
(88, 'MAIN_MODULE_PRODUCT', 1, '1', NULL, 0, NULL, '2016-02-15 16:16:04'),
(89, 'PRODUCT_CODEPRODUCT_ADDON', 1, 'mod_codeproduct_leopard', 'chaine', 0, 'Module to control product codes', '2016-02-15 16:16:04'),
(90, 'MAIN_SEARCHFORM_PRODUITSERVICE', 1, '1', 'yesno', 0, 'Show form for quick product search', '2016-02-15 16:16:04'),
(91, 'MAIN_MODULE_SERVICE', 1, '1', NULL, 0, NULL, '2016-02-15 16:16:08'),
(92, 'FACTURE_RIB_NUMBER', 1, '1', 'chaine', 0, '', '2016-02-15 16:35:30'),
(93, 'FACTURE_CHQ_NUMBER', 1, '0', 'chaine', 0, '', '2016-02-15 16:35:30'),
(104, 'MAIN_INFO_SOCIETE_LOGO', 1, 'logo-aab-renov-web.png', 'chaine', 0, '', '2016-02-16 10:59:29'),
(105, 'MAIN_INFO_SOCIETE_LOGO_SMALL', 1, 'logo-aab-renov-web_small.png', 'chaine', 0, '', '2016-02-16 10:59:29'),
(106, 'MAIN_INFO_SOCIETE_LOGO_MINI', 1, 'logo-aab-renov-web_mini.png', 'chaine', 0, '', '2016-02-16 10:59:29'),
(122, 'MAIN_DISABLE_ALL_MAILS', 1, '0', 'chaine', 0, '', '2016-09-30 20:56:19'),
(123, 'MAIN_MAIL_SENDMODE', 1, 'smtps', 'chaine', 0, '', '2016-09-30 20:56:19'),
(124, 'MAIN_MAIL_SMTP_PORT', 1, '465', 'chaine', 0, '', '2016-09-30 20:56:19'),
(125, 'MAIN_MAIL_SMTP_SERVER', 1, 'mail.aab-renov.be', 'chaine', 0, '', '2016-09-30 20:56:19'),
(126, 'MAIN_MAIL_SMTPS_ID', 1, 'facturation@aab-renov.be', 'chaine', 0, '', '2016-09-30 20:56:19'),
(127, 'MAIN_MAIL_SMTPS_PW', 1, 'HD12031999', 'chaine', 0, '', '2016-09-30 20:56:19'),
(128, 'MAIN_MAIL_EMAIL_TLS', 1, '1', 'chaine', 0, '', '2016-09-30 20:56:19'),
(129, 'MAIN_MAIL_EMAIL_FROM', 1, 'facturation@aab-renov.be', 'chaine', 0, '', '2016-09-30 20:56:19'),
(130, 'MAIN_MAIL_ERRORS_TO', 1, 'facturation@aab-renov.be', 'chaine', 0, '', '2016-09-30 20:56:19'),
(131, 'MAIN_MAIL_AUTOCOPY_TO', 1, 'coralie@aab-renov.be', 'chaine', 0, '', '2016-09-30 20:56:19'),
(177, 'MAIN_INFO_SOCIETE_COUNTRY', 1, '2:BE:Belgique', 'chaine', 0, '', '2020-01-15 13:19:01'),
(178, 'MAIN_INFO_SOCIETE_NOM', 1, 'AAB Renov', 'chaine', 0, '', '2020-01-15 13:19:01'),
(179, 'MAIN_INFO_SOCIETE_ADDRESS', 1, 'Rue des Anciens Etangs 40\r\n', 'chaine', 0, '', '2020-01-15 13:19:01'),
(180, 'MAIN_INFO_SOCIETE_TOWN', 1, 'Forest', 'chaine', 0, '', '2020-01-15 13:19:01'),
(181, 'MAIN_INFO_SOCIETE_ZIP', 1, '1190', 'chaine', 0, '', '2020-01-15 13:19:01'),
(182, 'MAIN_INFO_SOCIETE_STATE', 1, '104', 'chaine', 0, '', '2020-01-15 13:19:01'),
(183, 'MAIN_MONNAIE', 1, 'EUR', 'chaine', 0, '', '2020-01-15 13:19:01'),
(184, 'MAIN_INFO_SOCIETE_TEL', 1, '+32483022680', 'chaine', 0, '', '2020-01-15 13:19:01'),
(185, 'MAIN_INFO_SOCIETE_MAIL', 1, 'info@aab-renov.be', 'chaine', 0, '', '2020-01-15 13:19:01'),
(186, 'MAIN_INFO_CAPITAL', 1, '18600', 'chaine', 0, '', '2020-01-15 13:19:01'),
(187, 'MAIN_INFO_SOCIETE_FORME_JURIDIQUE', 1, '201', 'chaine', 0, '', '2020-01-15 13:19:01'),
(188, 'MAIN_INFO_TVAINTRA', 1, 'BE0459.006.473 ', 'chaine', 0, '', '2020-01-15 13:19:01'),
(189, 'SOCIETE_FISCAL_MONTH_START', 1, '1', 'chaine', 0, '', '2020-01-15 13:19:01'),
(190, 'FACTURE_TVAOPTION', 1, '1', 'chaine', 0, '', '2020-01-15 13:19:01');

-- --------------------------------------------------------

--
-- Structure de la table `llx_contrat`
--

CREATE TABLE `llx_contrat` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(30) DEFAULT NULL,
  `ref_supplier` varchar(30) DEFAULT NULL,
  `ref_ext` varchar(30) 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_mise_en_service` int(11) DEFAULT NULL,
  `fk_user_cloture` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_contratdet`
--

CREATE TABLE `llx_contratdet` (
  `rowid` int(11) NOT NULL,
  `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,
  `description` text,
  `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,
  `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 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',
  `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,
  `fk_unit` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_contratdet_extrafields`
--

CREATE TABLE `llx_contratdet_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_contratdet_log`
--

CREATE TABLE `llx_contratdet_log` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_contrat_extrafields`
--

CREATE TABLE `llx_contrat_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_cotisation`
--

CREATE TABLE `llx_cotisation` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `fk_adherent` int(11) DEFAULT NULL,
  `dateadh` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `cotisation` double DEFAULT NULL,
  `fk_bank` int(11) DEFAULT NULL,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_cronjob`
--

CREATE TABLE `llx_cronjob` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datec` datetime DEFAULT NULL,
  `jobtype` varchar(10) NOT NULL,
  `label` text NOT NULL,
  `command` varchar(255) DEFAULT NULL,
  `classesname` varchar(255) DEFAULT NULL,
  `objectname` varchar(255) DEFAULT NULL,
  `methodename` varchar(255) DEFAULT NULL,
  `params` text,
  `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,
  `lastoutput` text,
  `unitfrequency` int(11) NOT NULL DEFAULT '0',
  `frequency` int(11) NOT NULL DEFAULT '0',
  `nbrun` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_mod` int(11) DEFAULT NULL,
  `note` text,
  `libname` varchar(255) DEFAULT NULL,
  `entity` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_actioncomm`
--

CREATE TABLE `llx_c_actioncomm` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `type` varchar(10) NOT NULL DEFAULT 'system',
  `libelle` varchar(48) NOT NULL,
  `module` varchar(16) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `todo` tinyint(4) DEFAULT NULL,
  `color` varchar(9) DEFAULT NULL,
  `position` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_actioncomm`
--

INSERT INTO `llx_c_actioncomm` (`id`, `code`, `type`, `libelle`, `module`, `active`, `todo`, `color`, `position`) VALUES
(1, 'AC_TEL', 'system', 'Phone call', NULL, 1, NULL, NULL, 2),
(2, 'AC_FAX', 'system', 'Send Fax', NULL, 1, NULL, NULL, 3),
(3, 'AC_PROP', 'systemauto', 'Send commercial proposal by email', 'propal', 0, NULL, NULL, 10),
(4, 'AC_EMAIL', 'system', 'Send Email', NULL, 1, NULL, NULL, 4),
(5, 'AC_RDV', 'system', 'Rendez-vous', NULL, 1, NULL, NULL, 1),
(8, 'AC_COM', 'systemauto', 'Send customer order by email', 'order', 0, NULL, NULL, 8),
(9, 'AC_FAC', 'systemauto', 'Send customer invoice by email', 'invoice', 0, NULL, NULL, 6),
(10, 'AC_SHIP', 'systemauto', 'Send shipping by email', 'shipping', 0, NULL, NULL, 11),
(11, 'AC_INT', 'system', 'Intervention on site', NULL, 1, NULL, NULL, 4),
(30, 'AC_SUP_ORD', 'systemauto', 'Send supplier order by email', 'order_supplier', 0, NULL, NULL, 9),
(31, 'AC_SUP_INV', 'systemauto', 'Send supplier invoice by email', 'invoice_supplier', 0, NULL, NULL, 7),
(40, 'AC_OTH_AUTO', 'systemauto', 'Other (automatically inserted events)', NULL, 1, NULL, NULL, 20),
(50, 'AC_OTH', 'system', 'Other (manually inserted events)', NULL, 1, NULL, NULL, 5);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_action_trigger`
--

CREATE TABLE `llx_c_action_trigger` (
  `rowid` int(11) NOT NULL,
  `elementtype` varchar(16) NOT NULL,
  `code` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_action_trigger`
--

INSERT INTO `llx_c_action_trigger` (`rowid`, `elementtype`, `code`, `label`, `description`, `rang`) VALUES
(1, 'societe', 'COMPANY_SENTBYMAIL', 'Mails sent from third party card', 'Executed when you send email from third party card', 1),
(2, 'societe', 'COMPANY_CREATE', 'Third party created', 'Executed when a third party is created', 1),
(3, 'propal', 'PROPAL_VALIDATE', 'Customer proposal validated', 'Executed when a commercial proposal is validated', 2),
(4, 'propal', 'PROPAL_SENTBYMAIL', 'Commercial proposal sent by mail', 'Executed when a commercial proposal is sent by mail', 3),
(5, 'commande', 'ORDER_VALIDATE', 'Customer order validate', 'Executed when a customer order is validated', 4),
(6, 'commande', 'ORDER_CLOSE', 'Customer order classify delivered', 'Executed when a customer order is set delivered', 5),
(7, 'commande', 'ORDER_CLASSIFY_BILLED', 'Customer order classify billed', 'Executed when a customer order is set to billed', 5),
(8, 'commande', 'ORDER_CANCEL', 'Customer order canceled', 'Executed when a customer order is canceled', 5),
(9, 'commande', 'ORDER_SENTBYMAIL', 'Customer order sent by mail', 'Executed when a customer order is sent by mail ', 5),
(10, 'facture', 'BILL_VALIDATE', 'Customer invoice validated', 'Executed when a customer invoice is approved', 6),
(11, 'facture', 'BILL_PAYED', 'Customer invoice payed', 'Executed when a customer invoice is payed', 7),
(12, 'facture', 'BILL_CANCEL', 'Customer invoice canceled', 'Executed when a customer invoice is conceled', 8),
(13, 'facture', 'BILL_SENTBYMAIL', 'Customer invoice sent by mail', 'Executed when a customer invoice is sent by mail', 9),
(14, 'facture', 'BILL_UNVALIDATE', 'Customer invoice unvalidated', 'Executed when a customer invoice status set back to draft', 10),
(15, 'order_supplier', 'ORDER_SUPPLIER_VALIDATE', 'Supplier order validated', 'Executed when a supplier order is validated', 11),
(16, 'order_supplier', 'ORDER_SUPPLIER_APPROVE', 'Supplier order request approved', 'Executed when a supplier order is approved', 12),
(17, 'order_supplier', 'ORDER_SUPPLIER_REFUSE', 'Supplier order request refused', 'Executed when a supplier order is refused', 13),
(18, 'order_supplier', 'ORDER_SUPPLIER_SENTBYMAIL', 'Supplier order sent by mail', 'Executed when a supplier order is sent by mail', 14),
(19, 'invoice_supplier', 'BILL_SUPPLIER_VALIDATE', 'Supplier invoice validated', 'Executed when a supplier invoice is validated', 15),
(20, 'invoice_supplier', 'BILL_SUPPLIER_PAYED', 'Supplier invoice payed', 'Executed when a supplier invoice is payed', 16),
(21, 'invoice_supplier', 'BILL_SUPPLIER_SENTBYMAIL', 'Supplier invoice sent by mail', 'Executed when a supplier invoice is sent by mail', 17),
(22, 'invoice_supplier', 'BILL_SUPPLIER_CANCELED', 'Supplier invoice cancelled', 'Executed when a supplier invoice is cancelled', 17),
(23, 'contrat', 'CONTRACT_VALIDATE', 'Contract validated', 'Executed when a contract is validated', 18),
(24, 'shipping', 'SHIPPING_VALIDATE', 'Shipping validated', 'Executed when a shipping is validated', 20),
(25, 'shipping', 'SHIPPING_SENTBYMAIL', 'Shipping sent by mail', 'Executed when a shipping is sent by mail', 21),
(26, 'member', 'MEMBER_VALIDATE', 'Member validated', 'Executed when a member is validated', 22),
(27, 'member', 'MEMBER_SUBSCRIPTION', 'Member subscribed', 'Executed when a member is subscribed', 23),
(28, 'member', 'MEMBER_RESILIATE', 'Member resiliated', 'Executed when a member is resiliated', 24),
(29, 'member', 'MEMBER_MODIFY', 'Member modified', 'Executed when a member is modified', 24),
(30, 'member', 'MEMBER_DELETE', 'Member deleted', 'Executed when a member is deleted', 25),
(31, 'ficheinter', 'FICHINTER_VALIDATE', 'Intervention validated', 'Executed when a intervention is validated', 19),
(32, 'ficheinter', 'FICHINTER_CLASSIFY_BILLED', 'Intervention set billed', 'Executed when a intervention is set to billed (when option FICHINTER_CLASSIFY_BILLED is set)', 19),
(33, 'ficheinter', 'FICHINTER_CLASSIFY_UNBILLED', 'Intervention set unbilled', 'Executed when a intervention is set to unbilled (when option FICHINTER_CLASSIFY_BILLED is set)', 19),
(34, 'ficheinter', 'FICHINTER_REOPEN', 'Intervention opened', 'Executed when a intervention is re-opened', 19),
(35, 'ficheinter', 'FICHINTER_SENTBYMAIL', 'Intervention sent by mail', 'Executed when a intervention is sent by mail', 19),
(36, 'project', 'PROJECT_CREATE', 'Project creation', 'Executed when a project is created', 30),
(37, 'propal', 'PROPAL_CLOSE_SIGNED', 'Customer proposal closed signed', 'Executed when a customer proposal is closed signed', 2),
(38, 'propal', 'PROPAL_CLOSE_REFUSED', 'Customer proposal closed refused', 'Executed when a customer proposal is closed refused', 2),
(39, 'propal', 'PROPAL_CLASSIFY_BILLED', 'Customer proposal set billed', 'Executed when a customer proposal is set to billed', 2),
(40, 'project', 'TASK_CREATE', 'Task created', 'Executed when a project task is created', 35),
(41, 'project', 'TASK_MODIFY', 'Task modified', 'Executed when a project task is modified', 36),
(42, 'project', 'TASK_DELETE', 'Task deleted', 'Executed when a project task is deleted', 37),
(43, 'invoice_supplier', 'BILL_SUPPLIER_UNVALIDATE', 'Supplier invoice unvalidated', 'Executed when a supplier invoice status is set back to draft', 15);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_availability`
--

CREATE TABLE `llx_c_availability` (
  `rowid` int(11) NOT NULL,
  `code` varchar(30) NOT NULL,
  `label` varchar(60) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_availability`
--

INSERT INTO `llx_c_availability` (`rowid`, `code`, `label`, `active`) VALUES
(1, 'AV_NOW', 'Immediate', 1),
(2, 'AV_1W', '1 week', 1),
(3, 'AV_2W', '2 weeks', 1),
(4, 'AV_3W', '3 weeks', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_barcode_type`
--

CREATE TABLE `llx_c_barcode_type` (
  `rowid` int(11) NOT NULL,
  `code` varchar(16) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `libelle` varchar(50) NOT NULL,
  `coder` varchar(16) NOT NULL,
  `example` varchar(16) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_chargesociales`
--

CREATE TABLE `llx_c_chargesociales` (
  `id` int(11) NOT NULL,
  `libelle` varchar(80) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_chargesociales`
--

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);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_civility`
--

CREATE TABLE `llx_c_civility` (
  `rowid` int(11) NOT NULL,
  `code` varchar(6) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_civility`
--

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);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_country`
--

CREATE TABLE `llx_c_country` (
  `rowid` int(11) NOT NULL,
  `code` varchar(2) NOT NULL,
  `code_iso` varchar(3) DEFAULT NULL,
  `label` varchar(50) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `favorite` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_country`
--

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

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_currencies`
--

CREATE TABLE `llx_c_currencies` (
  `code_iso` varchar(3) NOT NULL,
  `label` varchar(64) NOT NULL,
  `unicode` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_currencies`
--

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),
('KES', 'Kenya Shilling', NULL, 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),
('XPF', 'Franc pacifique (XPF)', NULL, 1),
('YER', 'Yemen Rial', '[65020]', 1),
('ZAR', 'South Africa Rand', '[82]', 1),
('ZWD', 'Zimbabwe Dollar', '[90,36]', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_departements`
--

CREATE TABLE `llx_c_departements` (
  `rowid` int(11) NOT NULL,
  `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'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_departements`
--

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', 82, '01053', 5, 'AIN', 'Ain', 1),
(8, '02', 22, '02408', 5, 'AISNE', 'Aisne', 1),
(9, '03', 83, '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', 82, '07186', 5, 'ARDECHE', 'Ardèche', 1),
(14, '08', 21, '08105', 4, 'ARDENNES', 'Ardennes', 1),
(15, '09', 73, '09122', 5, 'ARIEGE', 'Ariège', 1),
(16, '10', 21, '10387', 5, 'AUBE', 'Aube', 1),
(17, '11', 91, '11069', 5, 'AUDE', 'Aude', 1),
(18, '12', 73, '12202', 5, 'AVEYRON', 'Aveyron', 1),
(19, '13', 93, '13055', 4, 'BOUCHES-DU-RHONE', 'Bouches-du-Rhône', 1),
(20, '14', 25, '14118', 2, 'CALVADOS', 'Calvados', 1),
(21, '15', 83, '15014', 2, 'CANTAL', 'Cantal', 1),
(22, '16', 54, '16015', 3, 'CHARENTE', 'Charente', 1),
(23, '17', 54, '17300', 3, 'CHARENTE-MARITIME', 'Charente-Maritime', 1),
(24, '18', 24, '18033', 2, 'CHER', 'Cher', 1),
(25, '19', 74, '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', 26, '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', 74, '23096', 3, 'CREUSE', 'Creuse', 1),
(31, '24', 72, '24322', 3, 'DORDOGNE', 'Dordogne', 1),
(32, '25', 43, '25056', 2, 'DOUBS', 'Doubs', 1),
(33, '26', 82, '26362', 3, 'DROME', 'Drôme', 1),
(34, '27', 23, '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', 91, '30189', 2, 'GARD', 'Gard', 1),
(38, '31', 73, '31555', 3, 'HAUTE-GARONNE', 'Haute-Garonne', 1),
(39, '32', 73, '32013', 2, 'GERS', 'Gers', 1),
(40, '33', 72, '33063', 3, 'GIRONDE', 'Gironde', 1),
(41, '34', 91, '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', 82, '38185', 5, 'ISERE', 'Isère', 1),
(46, '39', 43, '39300', 2, 'JURA', 'Jura', 1),
(47, '40', 72, '40192', 4, 'LANDES', 'Landes', 1),
(48, '41', 24, '41018', 0, 'LOIR-ET-CHER', 'Loir-et-Cher', 1),
(49, '42', 82, '42218', 3, 'LOIRE', 'Loire', 1),
(50, '43', 83, '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', 73, '46042', 2, 'LOT', 'Lot', 1),
(54, '47', 72, '47001', 0, 'LOT-ET-GARONNE', 'Lot-et-Garonne', 1),
(55, '48', 91, '48095', 3, 'LOZERE', 'Lozère', 1),
(56, '49', 52, '49007', 0, 'MAINE-ET-LOIRE', 'Maine-et-Loire', 1),
(57, '50', 25, '50502', 3, 'MANCHE', 'Manche', 1),
(58, '51', 21, '51108', 3, 'MARNE', 'Marne', 1),
(59, '52', 21, '52121', 3, 'HAUTE-MARNE', 'Haute-Marne', 1),
(60, '53', 52, '53130', 3, 'MAYENNE', 'Mayenne', 1),
(61, '54', 41, '54395', 0, 'MEURTHE-ET-MOSELLE', 'Meurthe-et-Moselle', 1),
(62, '55', 41, '55029', 3, 'MEUSE', 'Meuse', 1),
(63, '56', 53, '56260', 2, 'MORBIHAN', 'Morbihan', 1),
(64, '57', 41, '57463', 3, 'MOSELLE', 'Moselle', 1),
(65, '58', 26, '58194', 3, 'NIEVRE', 'Nièvre', 1),
(66, '59', 31, '59350', 2, 'NORD', 'Nord', 1),
(67, '60', 22, '60057', 5, 'OISE', 'Oise', 1),
(68, '61', 25, '61001', 5, 'ORNE', 'Orne', 1),
(69, '62', 31, '62041', 2, 'PAS-DE-CALAIS', 'Pas-de-Calais', 1),
(70, '63', 83, '63113', 2, 'PUY-DE-DOME', 'Puy-de-Dôme', 1),
(71, '64', 72, '64445', 4, 'PYRENEES-ATLANTIQUES', 'Pyrénées-Atlantiques', 1),
(72, '65', 73, '65440', 4, 'HAUTES-PYRENEES', 'Hautes-Pyrénées', 1),
(73, '66', 91, '66136', 4, 'PYRENEES-ORIENTALES', 'Pyrénées-Orientales', 1),
(74, '67', 42, '67482', 2, 'BAS-RHIN', 'Bas-Rhin', 1),
(75, '68', 42, '68066', 2, 'HAUT-RHIN', 'Haut-Rhin', 1),
(76, '69', 82, '69123', 2, 'RHONE', 'Rhône', 1),
(77, '70', 43, '70550', 3, 'HAUTE-SAONE', 'Haute-Saône', 1),
(78, '71', 26, '71270', 0, 'SAONE-ET-LOIRE', 'Saône-et-Loire', 1),
(79, '72', 52, '72181', 3, 'SARTHE', 'Sarthe', 1),
(80, '73', 82, '73065', 3, 'SAVOIE', 'Savoie', 1),
(81, '74', 82, '74010', 3, 'HAUTE-SAVOIE', 'Haute-Savoie', 1),
(82, '75', 11, '75056', 0, 'PARIS', 'Paris', 1),
(83, '76', 23, '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', 54, '79191', 4, 'DEUX-SEVRES', 'Deux-Sèvres', 1),
(87, '80', 22, '80021', 3, 'SOMME', 'Somme', 1),
(88, '81', 73, '81004', 2, 'TARN', 'Tarn', 1),
(89, '82', 73, '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', 54, '86194', 3, 'VIENNE', 'Vienne', 1),
(94, '87', 74, '87085', 3, 'HAUTE-VIENNE', 'Haute-Vienne', 1),
(95, '88', 41, '88160', 4, 'VOSGES', 'Vosges', 1),
(96, '89', 26, '89024', 5, 'YONNE', 'Yonne', 1),
(97, '90', 43, '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, '01', 201, '', 1, 'ANVERS', 'Anvers', 1),
(104, '02', 203, '', 3, 'BRUXELLES-CAPITALE', 'Bruxelles-Capitale', 1),
(105, '03', 202, '', 2, 'BRABANT-WALLON', 'Brabant-Wallon', 1),
(106, '04', 201, '', 1, 'BRABANT-FLAMAND', 'Brabant-Flamand', 1),
(107, '05', 201, '', 1, 'FLANDRE-OCCIDENTALE', 'Flandre-Occidentale', 1),
(108, '06', 201, '', 1, 'FLANDRE-ORIENTALE', 'Flandre-Orientale', 1),
(109, '07', 202, '', 2, 'HAINAUT', 'Hainaut', 1),
(110, '08', 201, '', 2, 'LIEGE', 'Liège', 1),
(111, '09', 202, '', 1, 'LIMBOURG', 'Limbourg', 1),
(112, '10', 202, '', 2, 'LUXEMBOURG', 'Luxembourg', 1),
(113, '11', 201, '', 2, 'NAMUR', 'Namur', 1),
(114, 'AG', 315, NULL, NULL, NULL, 'AGRIGENTO', 1),
(115, 'AL', 312, NULL, NULL, NULL, 'ALESSANDRIA', 1),
(116, 'AN', 310, NULL, NULL, NULL, 'ANCONA', 1),
(117, 'AO', 319, NULL, NULL, NULL, 'AOSTA', 1),
(118, 'AR', 316, NULL, NULL, NULL, 'AREZZO', 1),
(119, 'AP', 310, NULL, NULL, NULL, 'ASCOLI PICENO', 1),
(120, 'AT', 312, NULL, NULL, NULL, 'ASTI', 1),
(121, 'AV', 304, NULL, NULL, NULL, 'AVELLINO', 1),
(122, 'BA', 313, NULL, NULL, NULL, 'BARI', 1),
(123, 'BT', 313, NULL, NULL, NULL, 'BARLETTA-ANDRIA-TRANI', 1),
(124, 'BL', 320, NULL, NULL, NULL, 'BELLUNO', 1),
(125, 'BN', 304, NULL, NULL, NULL, 'BENEVENTO', 1),
(126, 'BG', 309, NULL, NULL, NULL, 'BERGAMO', 1),
(127, 'BI', 312, NULL, NULL, NULL, 'BIELLA', 1),
(128, 'BO', 305, NULL, NULL, NULL, 'BOLOGNA', 1),
(129, 'BZ', 317, NULL, NULL, NULL, 'BOLZANO', 1),
(130, 'BS', 309, NULL, NULL, NULL, 'BRESCIA', 1),
(131, 'BR', 313, NULL, NULL, NULL, 'BRINDISI', 1),
(132, 'CA', 314, NULL, NULL, NULL, 'CAGLIARI', 1),
(133, 'CL', 315, NULL, NULL, NULL, 'CALTANISSETTA', 1),
(134, 'CB', 311, NULL, NULL, NULL, 'CAMPOBASSO', 1),
(135, 'CI', 314, NULL, NULL, NULL, 'CARBONIA-IGLESIAS', 1),
(136, 'CE', 304, NULL, NULL, NULL, 'CASERTA', 1),
(137, 'CT', 315, NULL, NULL, NULL, 'CATANIA', 1),
(138, 'CZ', 303, NULL, NULL, NULL, 'CATANZARO', 1),
(139, 'CH', 301, NULL, NULL, NULL, 'CHIETI', 1),
(140, 'CO', 309, NULL, NULL, NULL, 'COMO', 1),
(141, 'CS', 303, NULL, NULL, NULL, 'COSENZA', 1),
(142, 'CR', 309, NULL, NULL, NULL, 'CREMONA', 1),
(143, 'KR', 303, NULL, NULL, NULL, 'CROTONE', 1),
(144, 'CN', 312, NULL, NULL, NULL, 'CUNEO', 1),
(145, 'EN', 315, NULL, NULL, NULL, 'ENNA', 1),
(146, 'FM', 310, NULL, NULL, NULL, 'FERMO', 1),
(147, 'FE', 305, NULL, NULL, NULL, 'FERRARA', 1),
(148, 'FI', 316, NULL, NULL, NULL, 'FIRENZE', 1),
(149, 'FG', 313, NULL, NULL, NULL, 'FOGGIA', 1),
(150, 'FC', 305, NULL, NULL, NULL, 'FORLI-CESENA', 1),
(151, 'FR', 307, NULL, NULL, NULL, 'FROSINONE', 1),
(152, 'GE', 308, NULL, NULL, NULL, 'GENOVA', 1),
(153, 'GO', 306, NULL, NULL, NULL, 'GORIZIA', 1),
(154, 'GR', 316, NULL, NULL, NULL, 'GROSSETO', 1),
(155, 'IM', 308, NULL, NULL, NULL, 'IMPERIA', 1),
(156, 'IS', 311, NULL, NULL, NULL, 'ISERNIA', 1),
(157, 'SP', 308, NULL, NULL, NULL, 'LA SPEZIA', 1),
(158, 'AQ', 301, NULL, NULL, NULL, 'L AQUILA', 1),
(159, 'LT', 307, NULL, NULL, NULL, 'LATINA', 1),
(160, 'LE', 313, NULL, NULL, NULL, 'LECCE', 1),
(161, 'LC', 309, NULL, NULL, NULL, 'LECCO', 1),
(162, 'LI', 314, NULL, NULL, NULL, 'LIVORNO', 1),
(163, 'LO', 309, NULL, NULL, NULL, 'LODI', 1),
(164, 'LU', 316, NULL, NULL, NULL, 'LUCCA', 1),
(165, 'MC', 310, NULL, NULL, NULL, 'MACERATA', 1),
(166, 'MN', 309, NULL, NULL, NULL, 'MANTOVA', 1),
(167, 'MS', 316, NULL, NULL, NULL, 'MASSA-CARRARA', 1),
(168, 'MT', 302, NULL, NULL, NULL, 'MATERA', 1),
(169, 'VS', 314, NULL, NULL, NULL, 'MEDIO CAMPIDANO', 1),
(170, 'ME', 315, NULL, NULL, NULL, 'MESSINA', 1),
(171, 'MI', 309, NULL, NULL, NULL, 'MILANO', 1),
(172, 'MB', 309, NULL, NULL, NULL, 'MONZA e BRIANZA', 1),
(173, 'MO', 305, NULL, NULL, NULL, 'MODENA', 1),
(174, 'NA', 304, NULL, NULL, NULL, 'NAPOLI', 1),
(175, 'NO', 312, NULL, NULL, NULL, 'NOVARA', 1),
(176, 'NU', 314, NULL, NULL, NULL, 'NUORO', 1),
(177, 'OG', 314, NULL, NULL, NULL, 'OGLIASTRA', 1),
(178, 'OT', 314, NULL, NULL, NULL, 'OLBIA-TEMPIO', 1),
(179, 'OR', 314, NULL, NULL, NULL, 'ORISTANO', 1),
(180, 'PD', 320, NULL, NULL, NULL, 'PADOVA', 1),
(181, 'PA', 315, NULL, NULL, NULL, 'PALERMO', 1),
(182, 'PR', 305, NULL, NULL, NULL, 'PARMA', 1),
(183, 'PV', 309, NULL, NULL, NULL, 'PAVIA', 1),
(184, 'PG', 318, NULL, NULL, NULL, 'PERUGIA', 1),
(185, 'PU', 310, NULL, NULL, NULL, 'PESARO e URBINO', 1),
(186, 'PE', 301, NULL, NULL, NULL, 'PESCARA', 1),
(187, 'PC', 305, NULL, NULL, NULL, 'PIACENZA', 1),
(188, 'PI', 316, NULL, NULL, NULL, 'PISA', 1),
(189, 'PT', 316, NULL, NULL, NULL, 'PISTOIA', 1),
(190, 'PN', 306, NULL, NULL, NULL, 'PORDENONE', 1),
(191, 'PZ', 302, NULL, NULL, NULL, 'POTENZA', 1),
(192, 'PO', 316, NULL, NULL, NULL, 'PRATO', 1),
(193, 'RG', 315, NULL, NULL, NULL, 'RAGUSA', 1),
(194, 'RA', 305, NULL, NULL, NULL, 'RAVENNA', 1),
(195, 'RC', 303, NULL, NULL, NULL, 'REGGIO CALABRIA', 1),
(196, 'RE', 305, NULL, NULL, NULL, 'REGGIO NELL EMILIA', 1),
(197, 'RI', 307, NULL, NULL, NULL, 'RIETI', 1),
(198, 'RN', 305, NULL, NULL, NULL, 'RIMINI', 1),
(199, 'RM', 307, NULL, NULL, NULL, 'ROMA', 1),
(200, 'RO', 320, NULL, NULL, NULL, 'ROVIGO', 1),
(201, 'SA', 304, NULL, NULL, NULL, 'SALERNO', 1),
(202, 'SS', 314, NULL, NULL, NULL, 'SASSARI', 1),
(203, 'SV', 308, NULL, NULL, NULL, 'SAVONA', 1),
(204, 'SI', 316, NULL, NULL, NULL, 'SIENA', 1),
(205, 'SR', 315, NULL, NULL, NULL, 'SIRACUSA', 1),
(206, 'SO', 309, NULL, NULL, NULL, 'SONDRIO', 1),
(207, 'TA', 313, NULL, NULL, NULL, 'TARANTO', 1),
(208, 'TE', 301, NULL, NULL, NULL, 'TERAMO', 1),
(209, 'TR', 318, NULL, NULL, NULL, 'TERNI', 1),
(210, 'TO', 312, NULL, NULL, NULL, 'TORINO', 1),
(211, 'TP', 315, NULL, NULL, NULL, 'TRAPANI', 1),
(212, 'TN', 317, NULL, NULL, NULL, 'TRENTO', 1),
(213, 'TV', 320, NULL, NULL, NULL, 'TREVISO', 1),
(214, 'TS', 306, NULL, NULL, NULL, 'TRIESTE', 1),
(215, 'UD', 306, NULL, NULL, NULL, 'UDINE', 1),
(216, 'VA', 309, NULL, NULL, NULL, 'VARESE', 1),
(217, 'VE', 320, NULL, NULL, NULL, 'VENEZIA', 1),
(218, 'VB', 312, NULL, NULL, NULL, 'VERBANO-CUSIO-OSSOLA', 1),
(219, 'VC', 312, NULL, NULL, NULL, 'VERCELLI', 1),
(220, 'VR', 320, NULL, NULL, NULL, 'VERONA', 1),
(221, 'VV', 303, NULL, NULL, NULL, 'VIBO VALENTIA', 1),
(222, 'VI', 320, NULL, NULL, NULL, 'VICENZA', 1),
(223, 'VT', 307, NULL, NULL, NULL, 'VITERBO', 1),
(224, 'NSW', 2801, '', 1, '', 'New South Wales', 1),
(225, 'VIC', 2801, '', 1, '', 'Victoria', 1),
(226, 'QLD', 2801, '', 1, '', 'Queensland', 1),
(227, 'SA', 2801, '', 1, '', 'South Australia', 1),
(228, 'ACT', 2801, '', 1, '', 'Australia Capital Territory', 1),
(229, 'TAS', 2801, '', 1, '', 'Tasmania', 1),
(230, 'WA', 2801, '', 1, '', 'Western Australia', 1),
(231, 'NT', 2801, '', 1, '', 'Northern Territory', 1),
(232, 'ON', 1401, '', 1, '', 'Ontario', 1),
(233, 'QC', 1401, '', 1, '', 'Quebec', 1),
(234, 'NS', 1401, '', 1, '', 'Nova Scotia', 1),
(235, 'NB', 1401, '', 1, '', 'New Brunswick', 1),
(236, 'MB', 1401, '', 1, '', 'Manitoba', 1),
(237, 'BC', 1401, '', 1, '', 'British Columbia', 1),
(238, 'PE', 1401, '', 1, '', 'Prince Edward Island', 1),
(239, 'SK', 1401, '', 1, '', 'Saskatchewan', 1),
(240, 'AB', 1401, '', 1, '', 'Alberta', 1),
(241, 'NL', 1401, '', 1, '', 'Newfoundland and Labrador', 1),
(242, 'VI', 419, '', 19, 'ALAVA', 'Álava', 1),
(243, 'AB', 404, '', 4, 'ALBACETE', 'Albacete', 1),
(244, 'A', 411, '', 11, 'ALICANTE', 'Alicante', 1),
(245, 'AL', 401, '', 1, 'ALMERIA', 'Almería', 1),
(246, 'AV', 403, '', 3, 'AVILA', 'Avila', 1),
(247, 'BA', 412, '', 12, 'BADAJOZ', 'Badajoz', 1),
(248, 'PM', 414, '', 14, 'ISLAS BALEARES', 'Islas Baleares', 1),
(249, 'B', 406, '', 6, 'BARCELONA', 'Barcelona', 1),
(250, 'BU', 403, '', 8, 'BURGOS', 'Burgos', 1),
(251, 'CC', 412, '', 12, 'CACERES', 'Cáceres', 1),
(252, 'CA', 401, '', 1, 'CADIZ', 'Cádiz', 1),
(253, 'CS', 411, '', 11, 'CASTELLON', 'Castellón', 1),
(254, 'CR', 404, '', 4, 'CIUDAD REAL', 'Ciudad Real', 1),
(255, 'CO', 401, '', 1, 'CORDOBA', 'Córdoba', 1),
(256, 'C', 413, '', 13, 'LA CORUÑA', 'La Coruña', 1),
(257, 'CU', 404, '', 4, 'CUENCA', 'Cuenca', 1),
(258, 'GI', 406, '', 6, 'GERONA', 'Gerona', 1),
(259, 'GR', 401, '', 1, 'GRANADA', 'Granada', 1),
(260, 'GU', 404, '', 4, 'GUADALAJARA', 'Guadalajara', 1),
(261, 'SS', 419, '', 19, 'GUIPUZCOA', 'Guipúzcoa', 1),
(262, 'H', 401, '', 1, 'HUELVA', 'Huelva', 1),
(263, 'HU', 402, '', 2, 'HUESCA', 'Huesca', 1),
(264, 'J', 401, '', 1, 'JAEN', 'Jaén', 1),
(265, 'LE', 403, '', 3, 'LEON', 'León', 1),
(266, 'L', 406, '', 6, 'LERIDA', 'Lérida', 1),
(267, 'LO', 415, '', 15, 'LA RIOJA', 'La Rioja', 1),
(268, 'LU', 413, '', 13, 'LUGO', 'Lugo', 1),
(269, 'M', 416, '', 16, 'MADRID', 'Madrid', 1),
(270, 'MA', 401, '', 1, 'MALAGA', 'Málaga', 1),
(271, 'MU', 417, '', 17, 'MURCIA', 'Murcia', 1),
(272, 'NA', 408, '', 8, 'NAVARRA', 'Navarra', 1),
(273, 'OR', 413, '', 13, 'ORENSE', 'Orense', 1),
(274, 'O', 418, '', 18, 'ASTURIAS', 'Asturias', 1),
(275, 'P', 403, '', 3, 'PALENCIA', 'Palencia', 1),
(276, 'GC', 405, '', 5, 'LAS PALMAS', 'Las Palmas', 1),
(277, 'PO', 413, '', 13, 'PONTEVEDRA', 'Pontevedra', 1),
(278, 'SA', 403, '', 3, 'SALAMANCA', 'Salamanca', 1),
(279, 'TF', 405, '', 5, 'STA. CRUZ DE TENERIFE', 'Sta. Cruz de Tenerife', 1),
(280, 'S', 410, '', 10, 'CANTABRIA', 'Cantabria', 1),
(281, 'SG', 403, '', 3, 'SEGOVIA', 'Segovia', 1),
(282, 'SE', 401, '', 1, 'SEVILLA', 'Sevilla', 1),
(283, 'SO', 403, '', 3, 'SORIA', 'Soria', 1),
(284, 'T', 406, '', 6, 'TARRAGONA', 'Tarragona', 1),
(285, 'TE', 402, '', 2, 'TERUEL', 'Teruel', 1),
(286, 'TO', 404, '', 5, 'TOLEDO', 'Toledo', 1),
(287, 'V', 411, '', 11, 'VALENCIA', 'Valencia', 1),
(288, 'VA', 403, '', 3, 'VALLADOLID', 'Valladolid', 1),
(289, 'BI', 419, '', 19, 'VIZCAYA', 'Vizcaya', 1),
(290, 'ZA', 403, '', 3, 'ZAMORA', 'Zamora', 1),
(291, 'Z', 402, '', 1, 'ZARAGOZA', 'Zaragoza', 1),
(292, 'CE', 407, '', 7, 'CEUTA', 'Ceuta', 1),
(293, 'ML', 409, '', 9, 'MELILLA', 'Melilla', 1),
(294, 'BW', 501, NULL, NULL, 'BADEN-WÜRTTEMBERG', 'Baden-Württemberg', 1),
(295, 'BY', 501, NULL, NULL, 'BAYERN', 'Bayern', 1),
(296, 'BE', 501, NULL, NULL, 'BERLIN', 'Berlin', 1),
(297, 'BB', 501, NULL, NULL, 'BRANDENBURG', 'Brandenburg', 1),
(298, 'HB', 501, NULL, NULL, 'BREMEN', 'Bremen', 1),
(299, 'HH', 501, NULL, NULL, 'HAMBURG', 'Hamburg', 1),
(300, 'HE', 501, NULL, NULL, 'HESSEN', 'Hessen', 1),
(301, 'MV', 501, NULL, NULL, 'MECKLENBURG-VORPOMMERN', 'Mecklenburg-Vorpommern', 1),
(302, 'NI', 501, NULL, NULL, 'NIEDERSACHSEN', 'Niedersachsen', 1),
(303, 'NW', 501, NULL, NULL, 'NORDRHEIN-WESTFALEN', 'Nordrhein-Westfalen', 1),
(304, 'RP', 501, NULL, NULL, 'RHEINLAND-PFALZ', 'Rheinland-Pfalz', 1),
(305, 'SL', 501, NULL, NULL, 'SAARLAND', 'Saarland', 1),
(306, 'SN', 501, NULL, NULL, 'SACHSEN', 'Sachsen', 1),
(307, 'ST', 501, NULL, NULL, 'SACHSEN-ANHALT', 'Sachsen-Anhalt', 1),
(308, 'SH', 501, NULL, NULL, 'SCHLESWIG-HOLSTEIN', 'Schleswig-Holstein', 1),
(309, 'TH', 501, NULL, NULL, 'THÜRINGEN', 'Thüringen', 1),
(310, '66', 10201, '', 0, '', '?????', 1),
(311, '67', 10205, '', 0, '', '?????', 1),
(312, '01', 10205, '', 0, '', '?????', 1),
(313, '02', 10205, '', 0, '', '?????', 1),
(314, '03', 10205, '', 0, '', '??????', 1),
(315, '04', 10205, '', 0, '', '?????', 1),
(316, '05', 10205, '', 0, '', '??????', 1),
(317, '06', 10203, '', 0, '', '??????', 1),
(318, '07', 10203, '', 0, '', '???????????', 1),
(319, '08', 10203, '', 0, '', '??????', 1),
(320, '09', 10203, '', 0, '', '?????', 1),
(321, '10', 10203, '', 0, '', '??????', 1),
(322, '11', 10203, '', 0, '', '??????', 1),
(323, '12', 10203, '', 0, '', '?????????', 1),
(324, '13', 10206, '', 0, '', '????', 1),
(325, '14', 10206, '', 0, '', '?????????', 1),
(326, '15', 10206, '', 0, '', '????????', 1),
(327, '16', 10206, '', 0, '', '???????', 1),
(328, '17', 10213, '', 0, '', '???????', 1),
(329, '18', 10213, '', 0, '', '????????', 1),
(330, '19', 10213, '', 0, '', '??????', 1),
(331, '20', 10213, '', 0, '', '???????', 1),
(332, '21', 10212, '', 0, '', '????????', 1),
(333, '22', 10212, '', 0, '', '??????', 1),
(334, '23', 10212, '', 0, '', '????????', 1),
(335, '24', 10212, '', 0, '', '???????', 1),
(336, '25', 10212, '', 0, '', '????????', 1),
(337, '26', 10212, '', 0, '', '???????', 1),
(338, '27', 10202, '', 0, '', '??????', 1),
(339, '28', 10202, '', 0, '', '?????????', 1),
(340, '29', 10202, '', 0, '', '????????', 1),
(341, '30', 10202, '', 0, '', '??????', 1),
(342, '31', 10209, '', 0, '', '????????', 1),
(343, '32', 10209, '', 0, '', '???????', 1),
(344, '33', 10209, '', 0, '', '????????', 1),
(345, '34', 10209, '', 0, '', '???????', 1),
(346, '35', 10209, '', 0, '', '????????', 1),
(347, '36', 10211, '', 0, '', '???????????????', 1),
(348, '37', 10211, '', 0, '', '?????', 1),
(349, '38', 10211, '', 0, '', '?????', 1),
(350, '39', 10207, '', 0, '', '????????', 1),
(351, '40', 10207, '', 0, '', '???????', 1),
(352, '41', 10207, '', 0, '', '??????????', 1),
(353, '42', 10207, '', 0, '', '?????', 1),
(354, '43', 10207, '', 0, '', '???????', 1),
(355, '44', 10208, '', 0, '', '??????', 1),
(356, '45', 10208, '', 0, '', '??????', 1),
(357, '46', 10208, '', 0, '', '??????', 1),
(358, '47', 10208, '', 0, '', '?????', 1),
(359, '48', 10208, '', 0, '', '????', 1),
(360, '49', 10210, '', 0, '', '??????', 1),
(361, '50', 10210, '', 0, '', '????', 1),
(362, '51', 10210, '', 0, '', '????????', 1),
(363, '52', 10210, '', 0, '', '????????', 1),
(364, '53', 10210, '', 0, '', '???-??????', 1),
(365, '54', 10210, '', 0, '', '??', 1),
(366, '55', 10210, '', 0, '', '?????', 1),
(367, '56', 10210, '', 0, '', '???????', 1),
(368, '57', 10210, '', 0, '', '?????', 1),
(369, '58', 10210, '', 0, '', '?????', 1),
(370, '59', 10210, '', 0, '', '?????', 1),
(371, '60', 10210, '', 0, '', '?????', 1),
(372, '61', 10210, '', 0, '', '?????', 1),
(373, '62', 10204, '', 0, '', '????????', 1),
(374, '63', 10204, '', 0, '', '??????', 1),
(375, '64', 10204, '', 0, '', '???????', 1),
(376, '65', 10204, '', 0, '', '?????', 1),
(377, 'AG', 601, NULL, NULL, 'ARGOVIE', 'Argovie', 1),
(378, 'AI', 601, NULL, NULL, 'APPENZELL RHODES INTERIEURES', 'Appenzell Rhodes intérieures', 1),
(379, 'AR', 601, NULL, NULL, 'APPENZELL RHODES EXTERIEURES', 'Appenzell Rhodes extérieures', 1),
(380, 'BE', 601, NULL, NULL, 'BERNE', 'Berne', 1),
(381, 'BL', 601, NULL, NULL, 'BALE CAMPAGNE', 'Bâle Campagne', 1),
(382, 'BS', 601, NULL, NULL, 'BALE VILLE', 'Bâle Ville', 1),
(383, 'FR', 601, NULL, NULL, 'FRIBOURG', 'Fribourg', 1),
(384, 'GE', 601, NULL, NULL, 'GENEVE', 'Genève', 1),
(385, 'GL', 601, NULL, NULL, 'GLARIS', 'Glaris', 1),
(386, 'GR', 601, NULL, NULL, 'GRISONS', 'Grisons', 1),
(387, 'JU', 601, NULL, NULL, 'JURA', 'Jura', 1),
(388, 'LU', 601, NULL, NULL, 'LUCERNE', 'Lucerne', 1),
(389, 'NE', 601, NULL, NULL, 'NEUCHATEL', 'Neuchâtel', 1),
(390, 'NW', 601, NULL, NULL, 'NIDWALD', 'Nidwald', 1),
(391, 'OW', 601, NULL, NULL, 'OBWALD', 'Obwald', 1),
(392, 'SG', 601, NULL, NULL, 'SAINT-GALL', 'Saint-Gall', 1),
(393, 'SH', 601, NULL, NULL, 'SCHAFFHOUSE', 'Schaffhouse', 1),
(394, 'SO', 601, NULL, NULL, 'SOLEURE', 'Soleure', 1),
(395, 'SZ', 601, NULL, NULL, 'SCHWYZ', 'Schwyz', 1),
(396, 'TG', 601, NULL, NULL, 'THURGOVIE', 'Thurgovie', 1),
(397, 'TI', 601, NULL, NULL, 'TESSIN', 'Tessin', 1),
(398, 'UR', 601, NULL, NULL, 'URI', 'Uri', 1),
(399, 'VD', 601, NULL, NULL, 'VAUD', 'Vaud', 1),
(400, 'VS', 601, NULL, NULL, 'VALAIS', 'Valais', 1),
(401, 'ZG', 601, NULL, NULL, 'ZUG', 'Zug', 1),
(402, 'ZH', 601, NULL, NULL, 'ZURICH', 'Zürich', 1),
(403, '701', 701, NULL, 0, NULL, 'Bedfordshire', 1),
(404, '702', 701, NULL, 0, NULL, 'Berkshire', 1),
(405, '703', 701, NULL, 0, NULL, 'Bristol, City of', 1),
(406, '704', 701, NULL, 0, NULL, 'Buckinghamshire', 1),
(407, '705', 701, NULL, 0, NULL, 'Cambridgeshire', 1),
(408, '706', 701, NULL, 0, NULL, 'Cheshire', 1),
(409, '707', 701, NULL, 0, NULL, 'Cleveland', 1),
(410, '708', 701, NULL, 0, NULL, 'Cornwall', 1),
(411, '709', 701, NULL, 0, NULL, 'Cumberland', 1),
(412, '710', 701, NULL, 0, NULL, 'Cumbria', 1),
(413, '711', 701, NULL, 0, NULL, 'Derbyshire', 1),
(414, '712', 701, NULL, 0, NULL, 'Devon', 1),
(415, '713', 701, NULL, 0, NULL, 'Dorset', 1),
(416, '714', 701, NULL, 0, NULL, 'Co. Durham', 1),
(417, '715', 701, NULL, 0, NULL, 'East Riding of Yorkshire', 1),
(418, '716', 701, NULL, 0, NULL, 'East Sussex', 1),
(419, '717', 701, NULL, 0, NULL, 'Essex', 1),
(420, '718', 701, NULL, 0, NULL, 'Gloucestershire', 1),
(421, '719', 701, NULL, 0, NULL, 'Greater Manchester', 1),
(422, '720', 701, NULL, 0, NULL, 'Hampshire', 1),
(423, '721', 701, NULL, 0, NULL, 'Hertfordshire', 1),
(424, '722', 701, NULL, 0, NULL, 'Hereford and Worcester', 1),
(425, '723', 701, NULL, 0, NULL, 'Herefordshire', 1),
(426, '724', 701, NULL, 0, NULL, 'Huntingdonshire', 1),
(427, '725', 701, NULL, 0, NULL, 'Isle of Man', 1),
(428, '726', 701, NULL, 0, NULL, 'Isle of Wight', 1),
(429, '727', 701, NULL, 0, NULL, 'Jersey', 1),
(430, '728', 701, NULL, 0, NULL, 'Kent', 1),
(431, '729', 701, NULL, 0, NULL, 'Lancashire', 1),
(432, '730', 701, NULL, 0, NULL, 'Leicestershire', 1),
(433, '731', 701, NULL, 0, NULL, 'Lincolnshire', 1),
(434, '732', 701, NULL, 0, NULL, 'London - City of London', 1),
(435, '733', 701, NULL, 0, NULL, 'Merseyside', 1),
(436, '734', 701, NULL, 0, NULL, 'Middlesex', 1),
(437, '735', 701, NULL, 0, NULL, 'Norfolk', 1),
(438, '736', 701, NULL, 0, NULL, 'North Yorkshire', 1),
(439, '737', 701, NULL, 0, NULL, 'North Riding of Yorkshire', 1),
(440, '738', 701, NULL, 0, NULL, 'Northamptonshire', 1),
(441, '739', 701, NULL, 0, NULL, 'Northumberland', 1),
(442, '740', 701, NULL, 0, NULL, 'Nottinghamshire', 1),
(443, '741', 701, NULL, 0, NULL, 'Oxfordshire', 1),
(444, '742', 701, NULL, 0, NULL, 'Rutland', 1),
(445, '743', 701, NULL, 0, NULL, 'Shropshire', 1),
(446, '744', 701, NULL, 0, NULL, 'Somerset', 1),
(447, '745', 701, NULL, 0, NULL, 'Staffordshire', 1),
(448, '746', 701, NULL, 0, NULL, 'Suffolk', 1),
(449, '747', 701, NULL, 0, NULL, 'Surrey', 1),
(450, '748', 701, NULL, 0, NULL, 'Sussex', 1),
(451, '749', 701, NULL, 0, NULL, 'Tyne and Wear', 1),
(452, '750', 701, NULL, 0, NULL, 'Warwickshire', 1),
(453, '751', 701, NULL, 0, NULL, 'West Midlands', 1),
(454, '752', 701, NULL, 0, NULL, 'West Sussex', 1),
(455, '753', 701, NULL, 0, NULL, 'West Yorkshire', 1),
(456, '754', 701, NULL, 0, NULL, 'West Riding of Yorkshire', 1),
(457, '755', 701, NULL, 0, NULL, 'Wiltshire', 1),
(458, '756', 701, NULL, 0, NULL, 'Worcestershire', 1),
(459, '757', 701, NULL, 0, NULL, 'Yorkshire', 1),
(460, '758', 702, NULL, 0, NULL, 'Anglesey', 1),
(461, '759', 702, NULL, 0, NULL, 'Breconshire', 1),
(462, '760', 702, NULL, 0, NULL, 'Caernarvonshire', 1),
(463, '761', 702, NULL, 0, NULL, 'Cardiganshire', 1),
(464, '762', 702, NULL, 0, NULL, 'Carmarthenshire', 1),
(465, '763', 702, NULL, 0, NULL, 'Ceredigion', 1),
(466, '764', 702, NULL, 0, NULL, 'Denbighshire', 1),
(467, '765', 702, NULL, 0, NULL, 'Flintshire', 1),
(468, '766', 702, NULL, 0, NULL, 'Glamorgan', 1),
(469, '767', 702, NULL, 0, NULL, 'Gwent', 1),
(470, '768', 702, NULL, 0, NULL, 'Gwynedd', 1),
(471, '769', 702, NULL, 0, NULL, 'Merionethshire', 1),
(472, '770', 702, NULL, 0, NULL, 'Monmouthshire', 1),
(473, '771', 702, NULL, 0, NULL, 'Mid Glamorgan', 1),
(474, '772', 702, NULL, 0, NULL, 'Montgomeryshire', 1),
(475, '773', 702, NULL, 0, NULL, 'Pembrokeshire', 1),
(476, '774', 702, NULL, 0, NULL, 'Powys', 1),
(477, '775', 702, NULL, 0, NULL, 'Radnorshire', 1),
(478, '776', 702, NULL, 0, NULL, 'South Glamorgan', 1),
(479, '777', 703, NULL, 0, NULL, 'Aberdeen, City of', 1),
(480, '778', 703, NULL, 0, NULL, 'Angus', 1),
(481, '779', 703, NULL, 0, NULL, 'Argyll', 1),
(482, '780', 703, NULL, 0, NULL, 'Ayrshire', 1),
(483, '781', 703, NULL, 0, NULL, 'Banffshire', 1),
(484, '782', 703, NULL, 0, NULL, 'Berwickshire', 1),
(485, '783', 703, NULL, 0, NULL, 'Bute', 1),
(486, '784', 703, NULL, 0, NULL, 'Caithness', 1),
(487, '785', 703, NULL, 0, NULL, 'Clackmannanshire', 1),
(488, '786', 703, NULL, 0, NULL, 'Dumfriesshire', 1),
(489, '787', 703, NULL, 0, NULL, 'Dumbartonshire', 1),
(490, '788', 703, NULL, 0, NULL, 'Dundee, City of', 1),
(491, '789', 703, NULL, 0, NULL, 'East Lothian', 1),
(492, '790', 703, NULL, 0, NULL, 'Fife', 1),
(493, '791', 703, NULL, 0, NULL, 'Inverness', 1),
(494, '792', 703, NULL, 0, NULL, 'Kincardineshire', 1),
(495, '793', 703, NULL, 0, NULL, 'Kinross-shire', 1),
(496, '794', 703, NULL, 0, NULL, 'Kirkcudbrightshire', 1),
(497, '795', 703, NULL, 0, NULL, 'Lanarkshire', 1),
(498, '796', 703, NULL, 0, NULL, 'Midlothian', 1),
(499, '797', 703, NULL, 0, NULL, 'Morayshire', 1),
(500, '798', 703, NULL, 0, NULL, 'Nairnshire', 1),
(501, '799', 703, NULL, 0, NULL, 'Orkney', 1),
(502, '800', 703, NULL, 0, NULL, 'Peebleshire', 1),
(503, '801', 703, NULL, 0, NULL, 'Perthshire', 1),
(504, '802', 703, NULL, 0, NULL, 'Renfrewshire', 1),
(505, '803', 703, NULL, 0, NULL, 'Ross & Cromarty', 1),
(506, '804', 703, NULL, 0, NULL, 'Roxburghshire', 1),
(507, '805', 703, NULL, 0, NULL, 'Selkirkshire', 1),
(508, '806', 703, NULL, 0, NULL, 'Shetland', 1),
(509, '807', 703, NULL, 0, NULL, 'Stirlingshire', 1),
(510, '808', 703, NULL, 0, NULL, 'Sutherland', 1),
(511, '809', 703, NULL, 0, NULL, 'West Lothian', 1),
(512, '810', 703, NULL, 0, NULL, 'Wigtownshire', 1),
(513, '811', 704, NULL, 0, NULL, 'Antrim', 1),
(514, '812', 704, NULL, 0, NULL, 'Armagh', 1),
(515, '813', 704, NULL, 0, NULL, 'Co. Down', 1),
(516, '814', 704, NULL, 0, NULL, 'Co. Fermanagh', 1),
(517, '815', 704, NULL, 0, NULL, 'Co. Londonderry', 1),
(518, 'AL', 1101, '', 0, 'ALABAMA', 'Alabama', 1),
(519, 'AK', 1101, '', 0, 'ALASKA', 'Alaska', 1),
(520, 'AZ', 1101, '', 0, 'ARIZONA', 'Arizona', 1),
(521, 'AR', 1101, '', 0, 'ARKANSAS', 'Arkansas', 1),
(522, 'CA', 1101, '', 0, 'CALIFORNIA', 'California', 1),
(523, 'CO', 1101, '', 0, 'COLORADO', 'Colorado', 1),
(524, 'CT', 1101, '', 0, 'CONNECTICUT', 'Connecticut', 1),
(525, 'DE', 1101, '', 0, 'DELAWARE', 'Delaware', 1),
(526, 'FL', 1101, '', 0, 'FLORIDA', 'Florida', 1),
(527, 'GA', 1101, '', 0, 'GEORGIA', 'Georgia', 1),
(528, 'HI', 1101, '', 0, 'HAWAII', 'Hawaii', 1),
(529, 'ID', 1101, '', 0, 'IDAHO', 'Idaho', 1),
(530, 'IL', 1101, '', 0, 'ILLINOIS', 'Illinois', 1),
(531, 'IN', 1101, '', 0, 'INDIANA', 'Indiana', 1),
(532, 'IA', 1101, '', 0, 'IOWA', 'Iowa', 1),
(533, 'KS', 1101, '', 0, 'KANSAS', 'Kansas', 1),
(534, 'KY', 1101, '', 0, 'KENTUCKY', 'Kentucky', 1),
(535, 'LA', 1101, '', 0, 'LOUISIANA', 'Louisiana', 1),
(536, 'ME', 1101, '', 0, 'MAINE', 'Maine', 1),
(537, 'MD', 1101, '', 0, 'MARYLAND', 'Maryland', 1),
(538, 'MA', 1101, '', 0, 'MASSACHUSSETTS', 'Massachusetts', 1),
(539, 'MI', 1101, '', 0, 'MICHIGAN', 'Michigan', 1),
(540, 'MN', 1101, '', 0, 'MINNESOTA', 'Minnesota', 1),
(541, 'MS', 1101, '', 0, 'MISSISSIPPI', 'Mississippi', 1),
(542, 'MO', 1101, '', 0, 'MISSOURI', 'Missouri', 1),
(543, 'MT', 1101, '', 0, 'MONTANA', 'Montana', 1),
(544, 'NE', 1101, '', 0, 'NEBRASKA', 'Nebraska', 1),
(545, 'NV', 1101, '', 0, 'NEVADA', 'Nevada', 1),
(546, 'NH', 1101, '', 0, 'NEW HAMPSHIRE', 'New Hampshire', 1),
(547, 'NJ', 1101, '', 0, 'NEW JERSEY', 'New Jersey', 1),
(548, 'NM', 1101, '', 0, 'NEW MEXICO', 'New Mexico', 1),
(549, 'NY', 1101, '', 0, 'NEW YORK', 'New York', 1),
(550, 'NC', 1101, '', 0, 'NORTH CAROLINA', 'North Carolina', 1),
(551, 'ND', 1101, '', 0, 'NORTH DAKOTA', 'North Dakota', 1),
(552, 'OH', 1101, '', 0, 'OHIO', 'Ohio', 1),
(553, 'OK', 1101, '', 0, 'OKLAHOMA', 'Oklahoma', 1),
(554, 'OR', 1101, '', 0, 'OREGON', 'Oregon', 1),
(555, 'PA', 1101, '', 0, 'PENNSYLVANIA', 'Pennsylvania', 1),
(556, 'RI', 1101, '', 0, 'RHODE ISLAND', 'Rhode Island', 1),
(557, 'SC', 1101, '', 0, 'SOUTH CAROLINA', 'South Carolina', 1),
(558, 'SD', 1101, '', 0, 'SOUTH DAKOTA', 'South Dakota', 1),
(559, 'TN', 1101, '', 0, 'TENNESSEE', 'Tennessee', 1),
(560, 'TX', 1101, '', 0, 'TEXAS', 'Texas', 1),
(561, 'UT', 1101, '', 0, 'UTAH', 'Utah', 1),
(562, 'VT', 1101, '', 0, 'VERMONT', 'Vermont', 1),
(563, 'VA', 1101, '', 0, 'VIRGINIA', 'Virginia', 1),
(564, 'WA', 1101, '', 0, 'WASHINGTON', 'Washington', 1),
(565, 'WV', 1101, '', 0, 'WEST VIRGINIA', 'West Virginia', 1),
(566, 'WI', 1101, '', 0, 'WISCONSIN', 'Wisconsin', 1),
(567, 'WY', 1101, '', 0, 'WYOMING', 'Wyoming', 1),
(568, 'GR', 1701, NULL, NULL, NULL, 'Groningen', 1),
(569, 'FR', 1701, NULL, NULL, NULL, 'Friesland', 1),
(570, 'DR', 1701, NULL, NULL, NULL, 'Drenthe', 1),
(571, 'OV', 1701, NULL, NULL, NULL, 'Overijssel', 1),
(572, 'GD', 1701, NULL, NULL, NULL, 'Gelderland', 1),
(573, 'FL', 1701, NULL, NULL, NULL, 'Flevoland', 1),
(574, 'UT', 1701, NULL, NULL, NULL, 'Utrecht', 1),
(575, 'NH', 1701, NULL, NULL, NULL, 'Noord-Holland', 1),
(576, 'ZH', 1701, NULL, NULL, NULL, 'Zuid-Holland', 1),
(577, 'ZL', 1701, NULL, NULL, NULL, 'Zeeland', 1),
(578, 'NB', 1701, NULL, NULL, NULL, 'Noord-Brabant', 1),
(579, 'LB', 1701, NULL, NULL, NULL, 'Limburg', 1),
(580, 'SS', 8601, '', 0, '', 'San Salvador', 1),
(581, 'SA', 8603, '', 0, '', 'Santa Ana', 1),
(582, 'AH', 8603, '', 0, '', 'Ahuachapan', 1),
(583, 'SO', 8603, '', 0, '', 'Sonsonate', 1),
(584, 'US', 8602, '', 0, '', 'Usulutan', 1),
(585, 'SM', 8602, '', 0, '', 'San Miguel', 1),
(586, 'MO', 8602, '', 0, '', 'Morazan', 1),
(587, 'LU', 8602, '', 0, '', 'La Union', 1),
(588, 'LL', 8601, '', 0, '', 'La Libertad', 1),
(589, 'CH', 8601, '', 0, '', 'Chalatenango', 1),
(590, 'CA', 8601, '', 0, '', 'Cabañas', 1),
(591, 'LP', 8601, '', 0, '', 'La Paz', 1),
(592, 'SV', 8601, '', 0, '', 'San Vicente', 1),
(593, 'CU', 8601, '', 0, '', 'Cuscatlan', 1),
(594, '2301', 2301, '', 0, 'CATAMARCA', 'Catamarca', 1),
(595, '2302', 2301, '', 0, 'JUJUY', 'Jujuy', 1),
(596, '2303', 2301, '', 0, 'TUCAMAN', 'Tucamán', 1),
(597, '2304', 2301, '', 0, 'SANTIAGO DEL ESTERO', 'Santiago del Estero', 1),
(598, '2305', 2301, '', 0, 'SALTA', 'Salta', 1),
(599, '2306', 2302, '', 0, 'CHACO', 'Chaco', 1),
(600, '2307', 2302, '', 0, 'CORRIENTES', 'Corrientes', 1),
(601, '2308', 2302, '', 0, 'ENTRE RIOS', 'Entre Ríos', 1),
(602, '2309', 2302, '', 0, 'FORMOSA MISIONES', 'Formosa Misiones', 1),
(603, '2310', 2302, '', 0, 'SANTA FE', 'Santa Fe', 1),
(604, '2311', 2303, '', 0, 'LA RIOJA', 'La Rioja', 1),
(605, '2312', 2303, '', 0, 'MENDOZA', 'Mendoza', 1),
(606, '2313', 2303, '', 0, 'SAN JUAN', 'San Juan', 1),
(607, '2314', 2303, '', 0, 'SAN LUIS', 'San Luis', 1),
(608, '2315', 2304, '', 0, 'CORDOBA', 'Córdoba', 1),
(609, '2316', 2304, '', 0, 'BUENOS AIRES', 'Buenos Aires', 1),
(610, '2317', 2304, '', 0, 'CABA', 'Caba', 1),
(611, '2318', 2305, '', 0, 'LA PAMPA', 'La Pampa', 1),
(612, '2319', 2305, '', 0, 'NEUQUEN', 'Neuquén', 1),
(613, '2320', 2305, '', 0, 'RIO NEGRO', 'Río Negro', 1),
(614, '2321', 2305, '', 0, 'CHUBUT', 'Chubut', 1),
(615, '2322', 2305, '', 0, 'SANTA CRUZ', 'Santa Cruz', 1),
(616, '2323', 2305, '', 0, 'TIERRA DEL FUEGO', 'Tierra del Fuego', 1),
(617, '2324', 2305, '', 0, 'ISLAS MALVINAS', 'Islas Malvinas', 1),
(618, '2325', 2305, '', 0, 'ANTARTIDA', 'Antártida', 1),
(619, 'AC', 5601, 'ACRE', 0, 'AC', 'Acre', 1),
(620, 'AL', 5601, 'ALAGOAS', 0, 'AL', 'Alagoas', 1),
(621, 'AP', 5601, 'AMAPA', 0, 'AP', 'Amapá', 1),
(622, 'AM', 5601, 'AMAZONAS', 0, 'AM', 'Amazonas', 1),
(623, 'BA', 5601, 'BAHIA', 0, 'BA', 'Bahia', 1),
(624, 'CE', 5601, 'CEARA', 0, 'CE', 'Ceará', 1),
(625, 'ES', 5601, 'ESPIRITO SANTO', 0, 'ES', 'Espirito Santo', 1),
(626, 'GO', 5601, 'GOIAS', 0, 'GO', 'Goiás', 1),
(627, 'MA', 5601, 'MARANHAO', 0, 'MA', 'Maranhão', 1),
(628, 'MT', 5601, 'MATO GROSSO', 0, 'MT', 'Mato Grosso', 1),
(629, 'MS', 5601, 'MATO GROSSO DO SUL', 0, 'MS', 'Mato Grosso do Sul', 1),
(630, 'MG', 5601, 'MINAS GERAIS', 0, 'MG', 'Minas Gerais', 1),
(631, 'PA', 5601, 'PARA', 0, 'PA', 'Pará', 1),
(632, 'PB', 5601, 'PARAIBA', 0, 'PB', 'Paraiba', 1),
(633, 'PR', 5601, 'PARANA', 0, 'PR', 'Paraná', 1),
(634, 'PE', 5601, 'PERNAMBUCO', 0, 'PE', 'Pernambuco', 1),
(635, 'PI', 5601, 'PIAUI', 0, 'PI', 'Piauí', 1),
(636, 'RJ', 5601, 'RIO DE JANEIRO', 0, 'RJ', 'Rio de Janeiro', 1),
(637, 'RN', 5601, 'RIO GRANDE DO NORTE', 0, 'RN', 'Rio Grande do Norte', 1),
(638, 'RS', 5601, 'RIO GRANDE DO SUL', 0, 'RS', 'Rio Grande do Sul', 1),
(639, 'RO', 5601, 'RONDONIA', 0, 'RO', 'Rondônia', 1),
(640, 'RR', 5601, 'RORAIMA', 0, 'RR', 'Roraima', 1),
(641, 'SC', 5601, 'SANTA CATARINA', 0, 'SC', 'Santa Catarina', 1),
(642, 'SE', 5601, 'SERGIPE', 0, 'SE', 'Sergipe', 1),
(643, 'SP', 5601, 'SAO PAULO', 0, 'SP', 'Sao Paulo', 1),
(644, 'TO', 5601, 'TOCANTINS', 0, 'TO', 'Tocantins', 1),
(645, 'DF', 5601, 'DISTRITO FEDERAL', 0, 'DF', 'Distrito Federal', 1),
(646, '151', 6715, '', 0, '151', 'Arica', 1),
(647, '152', 6715, '', 0, '152', 'Parinacota', 1),
(648, '011', 6701, '', 0, '011', 'Iquique', 1),
(649, '014', 6701, '', 0, '014', 'Tamarugal', 1),
(650, '021', 6702, '', 0, '021', 'Antofagasa', 1),
(651, '022', 6702, '', 0, '022', 'El Loa', 1),
(652, '023', 6702, '', 0, '023', 'Tocopilla', 1),
(653, '031', 6703, '', 0, '031', 'Copiapó', 1),
(654, '032', 6703, '', 0, '032', 'Chañaral', 1),
(655, '033', 6703, '', 0, '033', 'Huasco', 1),
(656, '041', 6704, '', 0, '041', 'Elqui', 1),
(657, '042', 6704, '', 0, '042', 'Choapa', 1),
(658, '043', 6704, '', 0, '043', 'Limarí', 1),
(659, '051', 6705, '', 0, '051', 'Valparaíso', 1),
(660, '052', 6705, '', 0, '052', 'Isla de Pascua', 1),
(661, '053', 6705, '', 0, '053', 'Los Andes', 1),
(662, '054', 6705, '', 0, '054', 'Petorca', 1),
(663, '055', 6705, '', 0, '055', 'Quillota', 1),
(664, '056', 6705, '', 0, '056', 'San Antonio', 1),
(665, '057', 6705, '', 0, '057', 'San Felipe de Aconcagua', 1),
(666, '058', 6705, '', 0, '058', 'Marga Marga', 1),
(667, '061', 6706, '', 0, '061', 'Cachapoal', 1),
(668, '062', 6706, '', 0, '062', 'Cardenal Caro', 1),
(669, '063', 6706, '', 0, '063', 'Colchagua', 1),
(670, '071', 6707, '', 0, '071', 'Talca', 1),
(671, '072', 6707, '', 0, '072', 'Cauquenes', 1),
(672, '073', 6707, '', 0, '073', 'Curicó', 1),
(673, '074', 6707, '', 0, '074', 'Linares', 1),
(674, '081', 6708, '', 0, '081', 'Concepción', 1),
(675, '082', 6708, '', 0, '082', 'Arauco', 1),
(676, '083', 6708, '', 0, '083', 'Biobío', 1),
(677, '084', 6708, '', 0, '084', 'Ñuble', 1),
(678, '091', 6709, '', 0, '091', 'Cautín', 1),
(679, '092', 6709, '', 0, '092', 'Malleco', 1),
(680, '141', 6714, '', 0, '141', 'Valdivia', 1),
(681, '142', 6714, '', 0, '142', 'Ranco', 1),
(682, '101', 6710, '', 0, '101', 'Llanquihue', 1),
(683, '102', 6710, '', 0, '102', 'Chiloé', 1),
(684, '103', 6710, '', 0, '103', 'Osorno', 1),
(685, '104', 6710, '', 0, '104', 'Palena', 1),
(686, '111', 6711, '', 0, '111', 'Coihaique', 1),
(687, '112', 6711, '', 0, '112', 'Aisén', 1),
(688, '113', 6711, '', 0, '113', 'Capitán Prat', 1),
(689, '114', 6711, '', 0, '114', 'General Carrera', 1),
(690, '121', 6712, '', 0, '121', 'Magallanes', 1),
(691, '122', 6712, '', 0, '122', 'Antártica Chilena', 1),
(692, '123', 6712, '', 0, '123', 'Tierra del Fuego', 1),
(693, '124', 6712, '', 0, '124', 'Última Esperanza', 1),
(694, '131', 6713, '', 0, '131', 'Santiago', 1),
(695, '132', 6713, '', 0, '132', 'Cordillera', 1),
(696, '133', 6713, '', 0, '133', 'Chacabuco', 1),
(697, '134', 6713, '', 0, '134', 'Maipo', 1),
(698, '135', 6713, '', 0, '135', 'Melipilla', 1),
(699, '136', 6713, '', 0, '136', 'Talagante', 1),
(700, 'AN', 11701, NULL, 0, 'AN', 'Andaman & Nicobar', 1),
(701, 'AP', 11701, NULL, 0, 'AP', 'Andhra Pradesh', 1),
(702, 'AR', 11701, NULL, 0, 'AR', 'Arunachal Pradesh', 1),
(703, 'AS', 11701, NULL, 0, 'AS', 'Assam', 1),
(704, 'BR', 11701, NULL, 0, 'BR', 'Bihar', 1),
(705, 'CG', 11701, NULL, 0, 'CG', 'Chattisgarh', 1),
(706, 'CH', 11701, NULL, 0, 'CH', 'Chandigarh', 1),
(707, 'DD', 11701, NULL, 0, 'DD', 'Daman & Diu', 1),
(708, 'DL', 11701, NULL, 0, 'DL', 'Delhi', 1),
(709, 'DN', 11701, NULL, 0, 'DN', 'Dadra and Nagar Haveli', 1),
(710, 'GA', 11701, NULL, 0, 'GA', 'Goa', 1),
(711, 'GJ', 11701, NULL, 0, 'GJ', 'Gujarat', 1),
(712, 'HP', 11701, NULL, 0, 'HP', 'Himachal Pradesh', 1),
(713, 'HR', 11701, NULL, 0, 'HR', 'Haryana', 1),
(714, 'JH', 11701, NULL, 0, 'JH', 'Jharkhand', 1),
(715, 'JK', 11701, NULL, 0, 'JK', 'Jammu & Kashmir', 1),
(716, 'KA', 11701, NULL, 0, 'KA', 'Karnataka', 1),
(717, 'KL', 11701, NULL, 0, 'KL', 'Kerala', 1),
(718, 'LD', 11701, NULL, 0, 'LD', 'Lakshadweep', 1),
(719, 'MH', 11701, NULL, 0, 'MH', 'Maharashtra', 1),
(720, 'ML', 11701, NULL, 0, 'ML', 'Meghalaya', 1),
(721, 'MN', 11701, NULL, 0, 'MN', 'Manipur', 1),
(722, 'MP', 11701, NULL, 0, 'MP', 'Madhya Pradesh', 1),
(723, 'MZ', 11701, NULL, 0, 'MZ', 'Mizoram', 1),
(724, 'NL', 11701, NULL, 0, 'NL', 'Nagaland', 1),
(725, 'OR', 11701, NULL, 0, 'OR', 'Orissa', 1),
(726, 'PB', 11701, NULL, 0, 'PB', 'Punjab', 1),
(727, 'PY', 11701, NULL, 0, 'PY', 'Puducherry', 1),
(728, 'RJ', 11701, NULL, 0, 'RJ', 'Rajasthan', 1),
(729, 'SK', 11701, NULL, 0, 'SK', 'Sikkim', 1),
(730, 'TN', 11701, NULL, 0, 'TN', 'Tamil Nadu', 1),
(731, 'TR', 11701, NULL, 0, 'TR', 'Tripura', 1),
(732, 'UL', 11701, NULL, 0, 'UL', 'Uttarakhand', 1),
(733, 'UP', 11701, NULL, 0, 'UP', 'Uttar Pradesh', 1),
(734, 'WB', 11701, NULL, 0, 'WB', 'West Bengal', 1),
(735, 'DIF', 15401, '', 0, 'DIF', 'Distrito Federal', 1),
(736, 'AGS', 15401, '', 0, 'AGS', 'Aguascalientes', 1),
(737, 'BCN', 15401, '', 0, 'BCN', 'Baja California Norte', 1),
(738, 'BCS', 15401, '', 0, 'BCS', 'Baja California Sur', 1),
(739, 'CAM', 15401, '', 0, 'CAM', 'Campeche', 1),
(740, 'CHP', 15401, '', 0, 'CHP', 'Chiapas', 1),
(741, 'CHI', 15401, '', 0, 'CHI', 'Chihuahua', 1),
(742, 'COA', 15401, '', 0, 'COA', 'Coahuila', 1),
(743, 'COL', 15401, '', 0, 'COL', 'Colima', 1),
(744, 'DUR', 15401, '', 0, 'DUR', 'Durango', 1),
(745, 'GTO', 15401, '', 0, 'GTO', 'Guanajuato', 1),
(746, 'GRO', 15401, '', 0, 'GRO', 'Guerrero', 1),
(747, 'HGO', 15401, '', 0, 'HGO', 'Hidalgo', 1),
(748, 'JAL', 15401, '', 0, 'JAL', 'Jalisco', 1),
(749, 'MEX', 15401, '', 0, 'MEX', 'México', 1),
(750, 'MIC', 15401, '', 0, 'MIC', 'Michoacán de Ocampo', 1),
(751, 'MOR', 15401, '', 0, 'MOR', 'Morelos', 1),
(752, 'NAY', 15401, '', 0, 'NAY', 'Nayarit', 1),
(753, 'NLE', 15401, '', 0, 'NLE', 'Nuevo León', 1),
(754, 'OAX', 15401, '', 0, 'OAX', 'Oaxaca', 1),
(755, 'PUE', 15401, '', 0, 'PUE', 'Puebla', 1),
(756, 'QRO', 15401, '', 0, 'QRO', 'Querétaro', 1),
(757, 'ROO', 15401, '', 0, 'ROO', 'Quintana Roo', 1),
(758, 'SLP', 15401, '', 0, 'SLP', 'San Luis Potosí', 1),
(759, 'SIN', 15401, '', 0, 'SIN', 'Sinaloa', 1),
(760, 'SON', 15401, '', 0, 'SON', 'Sonora', 1),
(761, 'TAB', 15401, '', 0, 'TAB', 'Tabasco', 1),
(762, 'TAM', 15401, '', 0, 'TAM', 'Tamaulipas', 1),
(763, 'TLX', 15401, '', 0, 'TLX', 'Tlaxcala', 1),
(764, 'VER', 15401, '', 0, 'VER', 'Veracruz', 1),
(765, 'YUC', 15401, '', 0, 'YUC', 'Yucatán', 1),
(766, 'ZAC', 15401, '', 0, 'ZAC', 'Zacatecas', 1),
(767, 'ANT', 7001, '', 0, 'ANT', 'Antioquia', 1),
(768, 'BOL', 7001, '', 0, 'BOL', 'Bolívar', 1),
(769, 'BOY', 7001, '', 0, 'BOY', 'Boyacá', 1),
(770, 'CAL', 7001, '', 0, 'CAL', 'Caldas', 1),
(771, 'CAU', 7001, '', 0, 'CAU', 'Cauca', 1),
(772, 'CUN', 7001, '', 0, 'CUN', 'Cundinamarca', 1),
(773, 'HUI', 7001, '', 0, 'HUI', 'Huila', 1),
(774, 'LAG', 7001, '', 0, 'LAG', 'La Guajira', 1),
(775, 'MET', 7001, '', 0, 'MET', 'Meta', 1),
(776, 'NAR', 7001, '', 0, 'NAR', 'Nariño', 1),
(777, 'NDS', 7001, '', 0, 'NDS', 'Norte de Santander', 1),
(778, 'SAN', 7001, '', 0, 'SAN', 'Santander', 1),
(779, 'SUC', 7001, '', 0, 'SUC', 'Sucre', 1),
(780, 'TOL', 7001, '', 0, 'TOL', 'Tolima', 1),
(781, 'VAC', 7001, '', 0, 'VAC', 'Valle del Cauca', 1),
(782, 'RIS', 7001, '', 0, 'RIS', 'Risalda', 1),
(783, 'ATL', 7001, '', 0, 'ATL', 'Atlántico', 1),
(784, 'COR', 7001, '', 0, 'COR', 'Córdoba', 1),
(785, 'SAP', 7001, '', 0, 'SAP', 'San Andrés, Providencia y Santa Catalina', 1),
(786, 'ARA', 7001, '', 0, 'ARA', 'Arauca', 1),
(787, 'CAS', 7001, '', 0, 'CAS', 'Casanare', 1),
(788, 'AMA', 7001, '', 0, 'AMA', 'Amazonas', 1),
(789, 'CAQ', 7001, '', 0, 'CAQ', 'Caquetá', 1),
(790, 'CHO', 7001, '', 0, 'CHO', 'Chocó', 1),
(791, 'GUA', 7001, '', 0, 'GUA', 'Guainía', 1),
(792, 'GUV', 7001, '', 0, 'GUV', 'Guaviare', 1),
(793, 'PUT', 7001, '', 0, 'PUT', 'Putumayo', 1),
(794, 'QUI', 7001, '', 0, 'QUI', 'Quindío', 1),
(795, 'VAU', 7001, '', 0, 'VAU', 'Vaupés', 1),
(796, 'BOG', 7001, '', 0, 'BOG', 'Bogotá', 1),
(797, 'VID', 7001, '', 0, 'VID', 'Vichada', 1),
(798, 'CES', 7001, '', 0, 'CES', 'Cesar', 1),
(799, 'MAG', 7001, '', 0, 'MAG', 'Magdalena', 1),
(800, 'AT', 11401, '', 0, 'AT', 'Atlántida', 1),
(801, 'CH', 11401, '', 0, 'CH', 'Choluteca', 1),
(802, 'CL', 11401, '', 0, 'CL', 'Colón', 1),
(803, 'CM', 11401, '', 0, 'CM', 'Comayagua', 1),
(804, 'CO', 11401, '', 0, 'CO', 'Copán', 1),
(805, 'CR', 11401, '', 0, 'CR', 'Cortés', 1),
(806, 'EP', 11401, '', 0, 'EP', 'El Paraíso', 1),
(807, 'FM', 11401, '', 0, 'FM', 'Francisco Morazán', 1),
(808, 'GD', 11401, '', 0, 'GD', 'Gracias a Dios', 1),
(809, 'IN', 11401, '', 0, 'IN', 'Intibucá', 1),
(810, 'IB', 11401, '', 0, 'IB', 'Islas de la Bahía', 1),
(811, 'LP', 11401, '', 0, 'LP', 'La Paz', 1),
(812, 'LM', 11401, '', 0, 'LM', 'Lempira', 1),
(813, 'OC', 11401, '', 0, 'OC', 'Ocotepeque', 1),
(814, 'OL', 11401, '', 0, 'OL', 'Olancho', 1),
(815, 'SB', 11401, '', 0, 'SB', 'Santa Bárbara', 1),
(816, 'VL', 11401, '', 0, 'VL', 'Valle', 1),
(817, 'YO', 11401, '', 0, 'YO', 'Yoro', 1),
(818, 'DC', 11401, '', 0, 'DC', 'Distrito Central', 1),
(819, 'CC', 4601, 'Oistins', 0, 'CC', 'Christ Church', 1),
(820, 'SA', 4601, 'Greenland', 0, 'SA', 'Saint Andrew', 1),
(821, 'SG', 4601, 'Bulkeley', 0, 'SG', 'Saint George', 1),
(822, 'JA', 4601, 'Holetown', 0, 'JA', 'Saint James', 1),
(823, 'SJ', 4601, 'Four Roads', 0, 'SJ', 'Saint John', 1),
(824, 'SB', 4601, 'Bathsheba', 0, 'SB', 'Saint Joseph', 1),
(825, 'SL', 4601, 'Crab Hill', 0, 'SL', 'Saint Lucy', 1),
(826, 'SM', 4601, 'Bridgetown', 0, 'SM', 'Saint Michael', 1),
(827, 'SP', 4601, 'Speightstown', 0, 'SP', 'Saint Peter', 1),
(828, 'SC', 4601, 'Crane', 0, 'SC', 'Saint Philip', 1),
(829, 'ST', 4601, 'Hillaby', 0, 'ST', 'Saint Thomas', 1),
(830, 'VE-L', 23201, '', 0, 'VE-L', 'Mérida', 1),
(831, 'VE-T', 23201, '', 0, 'VE-T', 'Trujillo', 1),
(832, 'VE-E', 23201, '', 0, 'VE-E', 'Barinas', 1),
(833, 'VE-M', 23202, '', 0, 'VE-M', 'Miranda', 1),
(834, 'VE-W', 23202, '', 0, 'VE-W', 'Vargas', 1),
(835, 'VE-A', 23202, '', 0, 'VE-A', 'Distrito Capital', 1),
(836, 'VE-D', 23203, '', 0, 'VE-D', 'Aragua', 1),
(837, 'VE-G', 23203, '', 0, 'VE-G', 'Carabobo', 1),
(838, 'VE-I', 23204, '', 0, 'VE-I', 'Falcón', 1),
(839, 'VE-K', 23204, '', 0, 'VE-K', 'Lara', 1),
(840, 'VE-U', 23204, '', 0, 'VE-U', 'Yaracuy', 1),
(841, 'VE-F', 23205, '', 0, 'VE-F', 'Bolívar', 1),
(842, 'VE-X', 23205, '', 0, 'VE-X', 'Amazonas', 1),
(843, 'VE-Y', 23205, '', 0, 'VE-Y', 'Delta Amacuro', 1),
(844, 'VE-O', 23206, '', 0, 'VE-O', 'Nueva Esparta', 1),
(845, 'VE-Z', 23206, '', 0, 'VE-Z', 'Dependencias Federales', 1),
(846, 'VE-C', 23207, '', 0, 'VE-C', 'Apure', 1),
(847, 'VE-J', 23207, '', 0, 'VE-J', 'Guárico', 1),
(848, 'VE-H', 23207, '', 0, 'VE-H', 'Cojedes', 1),
(849, 'VE-P', 23207, '', 0, 'VE-P', 'Portuguesa', 1),
(850, 'VE-B', 23208, '', 0, 'VE-B', 'Anzoátegui', 1),
(851, 'VE-N', 23208, '', 0, 'VE-N', 'Monagas', 1),
(852, 'VE-R', 23208, '', 0, 'VE-R', 'Sucre', 1),
(853, 'VE-V', 23209, '', 0, 'VE-V', 'Zulia', 1),
(854, 'VE-S', 23209, '', 0, 'VE-S', 'Táchira', 1),
(855, 'AL01', 1301, '', 0, '', 'Wilaya d\'Adrar', 1),
(856, 'AL02', 1301, '', 0, '', 'Wilaya de Chlef', 1),
(857, 'AL03', 1301, '', 0, '', 'Wilaya de Laghouat', 1),
(858, 'AL04', 1301, '', 0, '', 'Wilaya d\'Oum El Bouaghi', 1),
(859, 'AL05', 1301, '', 0, '', 'Wilaya de Batna', 1),
(860, 'AL06', 1301, '', 0, '', 'Wilaya de Béjaïa', 1),
(861, 'AL07', 1301, '', 0, '', 'Wilaya de Biskra', 1),
(862, 'AL08', 1301, '', 0, '', 'Wilaya de Béchar', 1),
(863, 'AL09', 1301, '', 0, '', 'Wilaya de Blida', 1),
(864, 'AL11', 1301, '', 0, '', 'Wilaya de Bouira', 1),
(865, 'AL12', 1301, '', 0, '', 'Wilaya de Tamanrasset', 1),
(866, 'AL13', 1301, '', 0, '', 'Wilaya de Tébessa', 1),
(867, 'AL14', 1301, '', 0, '', 'Wilaya de Tlemcen', 1),
(868, 'AL15', 1301, '', 0, '', 'Wilaya de Tiaret', 1),
(869, 'AL16', 1301, '', 0, '', 'Wilaya de Tizi Ouzou', 1),
(870, 'AL17', 1301, '', 0, '', 'Wilaya d\'Alger', 1),
(871, 'AL18', 1301, '', 0, '', 'Wilaya de Djelfa', 1),
(872, 'AL19', 1301, '', 0, '', 'Wilaya de Jijel', 1),
(873, 'AL20', 1301, '', 0, '', 'Wilaya de Sétif	', 1),
(874, 'AL21', 1301, '', 0, '', 'Wilaya de Saïda', 1),
(875, 'AL22', 1301, '', 0, '', 'Wilaya de Skikda', 1),
(876, 'AL23', 1301, '', 0, '', 'Wilaya de Sidi Bel Abbès', 1),
(877, 'AL24', 1301, '', 0, '', 'Wilaya d\'Annaba', 1),
(878, 'AL25', 1301, '', 0, '', 'Wilaya de Guelma', 1),
(879, 'AL26', 1301, '', 0, '', 'Wilaya de Constantine', 1),
(880, 'AL27', 1301, '', 0, '', 'Wilaya de Médéa', 1),
(881, 'AL28', 1301, '', 0, '', 'Wilaya de Mostaganem', 1),
(882, 'AL29', 1301, '', 0, '', 'Wilaya de M\'Sila', 1),
(883, 'AL30', 1301, '', 0, '', 'Wilaya de Mascara', 1),
(884, 'AL31', 1301, '', 0, '', 'Wilaya d\'Ouargla', 1),
(885, 'AL32', 1301, '', 0, '', 'Wilaya d\'Oran', 1),
(886, 'AL33', 1301, '', 0, '', 'Wilaya d\'El Bayadh', 1),
(887, 'AL34', 1301, '', 0, '', 'Wilaya d\'Illizi', 1),
(888, 'AL35', 1301, '', 0, '', 'Wilaya de Bordj Bou Arreridj', 1),
(889, 'AL36', 1301, '', 0, '', 'Wilaya de Boumerdès', 1),
(890, 'AL37', 1301, '', 0, '', 'Wilaya d\'El Tarf', 1),
(891, 'AL38', 1301, '', 0, '', 'Wilaya de Tindouf', 1),
(892, 'AL39', 1301, '', 0, '', 'Wilaya de Tissemsilt', 1),
(893, 'AL40', 1301, '', 0, '', 'Wilaya d\'El Oued', 1),
(894, 'AL41', 1301, '', 0, '', 'Wilaya de Khenchela', 1),
(895, 'AL42', 1301, '', 0, '', 'Wilaya de Souk Ahras', 1),
(896, 'AL43', 1301, '', 0, '', 'Wilaya de Tipaza', 1),
(897, 'AL44', 1301, '', 0, '', 'Wilaya de Mila', 1),
(898, 'AL45', 1301, '', 0, '', 'Wilaya d\'Aïn Defla', 1),
(899, 'AL46', 1301, '', 0, '', 'Wilaya de Naâma', 1),
(900, 'AL47', 1301, '', 0, '', 'Wilaya d\'Aïn Témouchent', 1),
(901, 'AL48', 1301, '', 0, '', 'Wilaya de Ghardaia', 1),
(902, 'AL49', 1301, '', 0, '', 'Wilaya de Relizane', 1),
(903, 'MA', 1209, '', 0, '', 'Province de Benslimane', 1),
(904, 'MA1', 1209, '', 0, '', 'Province de Berrechid', 1),
(905, 'MA2', 1209, '', 0, '', 'Province de Khouribga', 1),
(906, 'MA3', 1209, '', 0, '', 'Province de Settat', 1),
(907, 'MA4', 1210, '', 0, '', 'Province d\'El Jadida', 1),
(908, 'MA5', 1210, '', 0, '', 'Province de Safi', 1),
(909, 'MA6', 1210, '', 0, '', 'Province de Sidi Bennour', 1),
(910, 'MA7', 1210, '', 0, '', 'Province de Youssoufia', 1),
(911, 'MA6B', 1205, '', 0, '', 'Préfecture de Fès', 1),
(912, 'MA7B', 1205, '', 0, '', 'Province de Boulemane', 1),
(913, 'MA8', 1205, '', 0, '', 'Province de Moulay Yacoub', 1),
(914, 'MA9', 1205, '', 0, '', 'Province de Sefrou', 1),
(915, 'MA8A', 1202, '', 0, '', 'Province de Kénitra', 1),
(916, 'MA9A', 1202, '', 0, '', 'Province de Sidi Kacem', 1),
(917, 'MA10', 1202, '', 0, '', 'Province de Sidi Slimane', 1),
(918, 'MA11', 1208, '', 0, '', 'Préfecture de Casablanca', 1),
(919, 'MA12', 1208, '', 0, '', 'Préfecture de Mohammédia', 1),
(920, 'MA13', 1208, '', 0, '', 'Province de Médiouna', 1),
(921, 'MA14', 1208, '', 0, '', 'Province de Nouaceur', 1),
(922, 'MA15', 1214, '', 0, '', 'Province d\'Assa-Zag', 1),
(923, 'MA16', 1214, '', 0, '', 'Province d\'Es-Semara', 1),
(924, 'MA17A', 1214, '', 0, '', 'Province de Guelmim', 1),
(925, 'MA18', 1214, '', 0, '', 'Province de Tata', 1),
(926, 'MA19', 1214, '', 0, '', 'Province de Tan-Tan', 1),
(927, 'MA15', 1215, '', 0, '', 'Province de Boujdour', 1),
(928, 'MA16', 1215, '', 0, '', 'Province de Lâayoune', 1),
(929, 'MA17', 1215, '', 0, '', 'Province de Tarfaya', 1),
(930, 'MA18', 1211, '', 0, '', 'Préfecture de Marrakech', 1),
(931, 'MA19', 1211, '', 0, '', 'Province d\'Al Haouz', 1),
(932, 'MA20', 1211, '', 0, '', 'Province de Chichaoua', 1),
(933, 'MA21', 1211, '', 0, '', 'Province d\'El Kelâa des Sraghna', 1),
(934, 'MA22', 1211, '', 0, '', 'Province d\'Essaouira', 1),
(935, 'MA23', 1211, '', 0, '', 'Province de Rehamna', 1),
(936, 'MA24', 1206, '', 0, '', 'Préfecture de Meknès', 1),
(937, 'MA25', 1206, '', 0, '', 'Province d’El Hajeb', 1),
(938, 'MA26', 1206, '', 0, '', 'Province d\'Errachidia', 1),
(939, 'MA27', 1206, '', 0, '', 'Province d’Ifrane', 1),
(940, 'MA28', 1206, '', 0, '', 'Province de Khénifra', 1),
(941, 'MA29', 1206, '', 0, '', 'Province de Midelt', 1),
(942, 'MA30', 1204, '', 0, '', 'Préfecture d\'Oujda-Angad', 1),
(943, 'MA31', 1204, '', 0, '', 'Province de Berkane', 1),
(944, 'MA32', 1204, '', 0, '', 'Province de Driouch', 1),
(945, 'MA33', 1204, '', 0, '', 'Province de Figuig', 1),
(946, 'MA34', 1204, '', 0, '', 'Province de Jerada', 1),
(947, 'MA35', 1204, '', 0, '', 'Province de Nadorgg', 1),
(948, 'MA36', 1204, '', 0, '', 'Province de Taourirt', 1),
(949, 'MA37', 1216, '', 0, '', 'Province d\'Aousserd', 1),
(950, 'MA38', 1216, '', 0, '', 'Province d\'Oued Ed-Dahab', 1),
(951, 'MA39', 1207, '', 0, '', 'Préfecture de Rabat', 1),
(952, 'MA40', 1207, '', 0, '', 'Préfecture de Skhirat-Témara', 1),
(953, 'MA41', 1207, '', 0, '', 'Préfecture de Salé', 1),
(954, 'MA42', 1207, '', 0, '', 'Province de Khémisset', 1),
(955, 'MA43', 1213, '', 0, '', 'Préfecture d\'Agadir Ida-Outanane', 1),
(956, 'MA44', 1213, '', 0, '', 'Préfecture d\'Inezgane-Aït Melloul', 1),
(957, 'MA45', 1213, '', 0, '', 'Province de Chtouka-Aït Baha', 1),
(958, 'MA46', 1213, '', 0, '', 'Province d\'Ouarzazate', 1),
(959, 'MA47', 1213, '', 0, '', 'Province de Sidi Ifni', 1),
(960, 'MA48', 1213, '', 0, '', 'Province de Taroudant', 1),
(961, 'MA49', 1213, '', 0, '', 'Province de Tinghir', 1),
(962, 'MA50', 1213, '', 0, '', 'Province de Tiznit', 1),
(963, 'MA51', 1213, '', 0, '', 'Province de Zagora', 1),
(964, 'MA52', 1212, '', 0, '', 'Province d\'Azilal', 1),
(965, 'MA53', 1212, '', 0, '', 'Province de Beni Mellal', 1),
(966, 'MA54', 1212, '', 0, '', 'Province de Fquih Ben Salah', 1),
(967, 'MA55', 1201, '', 0, '', 'Préfecture de M\'diq-Fnideq', 1),
(968, 'MA56', 1201, '', 0, '', 'Préfecture de Tanger-Asilah', 1),
(969, 'MA57', 1201, '', 0, '', 'Province de Chefchaouen', 1),
(970, 'MA58', 1201, '', 0, '', 'Province de Fahs-Anjra', 1),
(971, 'MA59', 1201, '', 0, '', 'Province de Larache', 1),
(972, 'MA60', 1201, '', 0, '', 'Province d\'Ouezzane', 1),
(973, 'MA61', 1201, '', 0, '', 'Province de Tétouan', 1);
INSERT INTO `llx_c_departements` (`rowid`, `code_departement`, `fk_region`, `cheflieu`, `tncc`, `ncc`, `nom`, `active`) VALUES
(974, 'MA62', 1203, '', 0, '', 'Province de Guercif', 1),
(975, 'MA63', 1203, '', 0, '', 'Province d\'Al Hoceïma', 1),
(976, 'MA64', 1203, '', 0, '', 'Province de Taounate', 1),
(977, 'MA65', 1203, '', 0, '', 'Province de Taza', 1),
(978, 'MA6A', 1205, '', 0, '', 'Préfecture de Fès', 1),
(979, 'MA7A', 1205, '', 0, '', 'Province de Boulemane', 1),
(980, 'MA15A', 1214, '', 0, '', 'Province d\'Assa-Zag', 1),
(981, 'MA16A', 1214, '', 0, '', 'Province d\'Es-Semara', 1),
(982, 'MA18A', 1211, '', 0, '', 'Préfecture de Marrakech', 1),
(983, 'MA19A', 1214, '', 0, '', 'Province de Tan-Tan', 1),
(984, 'MA19B', 1214, '', 0, '', 'Province de Tan-Tan', 1),
(985, 'TN01', 1001, '', 0, '', 'Ariana', 1),
(986, 'TN02', 1001, '', 0, '', 'Béja', 1),
(987, 'TN03', 1001, '', 0, '', 'Ben Arous', 1),
(988, 'TN04', 1001, '', 0, '', 'Bizerte', 1),
(989, 'TN05', 1001, '', 0, '', 'Gabès', 1),
(990, 'TN06', 1001, '', 0, '', 'Gafsa', 1),
(991, 'TN07', 1001, '', 0, '', 'Jendouba', 1),
(992, 'TN08', 1001, '', 0, '', 'Kairouan', 1),
(993, 'TN09', 1001, '', 0, '', 'Kasserine', 1),
(994, 'TN10', 1001, '', 0, '', 'Kébili', 1),
(995, 'TN11', 1001, '', 0, '', 'La Manouba', 1),
(996, 'TN12', 1001, '', 0, '', 'Le Kef', 1),
(997, 'TN13', 1001, '', 0, '', 'Mahdia', 1),
(998, 'TN14', 1001, '', 0, '', 'Médenine', 1),
(999, 'TN15', 1001, '', 0, '', 'Monastir', 1),
(1000, 'TN16', 1001, '', 0, '', 'Nabeul', 1),
(1001, 'TN17', 1001, '', 0, '', 'Sfax', 1),
(1002, 'TN18', 1001, '', 0, '', 'Sidi Bouzid', 1),
(1003, 'TN19', 1001, '', 0, '', 'Siliana', 1),
(1004, 'TN20', 1001, '', 0, '', 'Sousse', 1),
(1005, 'TN21', 1001, '', 0, '', 'Tataouine', 1),
(1006, 'TN22', 1001, '', 0, '', 'Tozeur', 1),
(1007, 'TN23', 1001, '', 0, '', 'Tunis', 1),
(1008, 'TN24', 1001, '', 0, '', 'Zaghouan', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_ecotaxe`
--

CREATE TABLE `llx_c_ecotaxe` (
  `rowid` int(11) NOT NULL,
  `code` varchar(64) NOT NULL,
  `libelle` 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'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_ecotaxe`
--

INSERT INTO `llx_c_ecotaxe` (`rowid`, `code`, `libelle`, `price`, `organization`, `fk_pays`, `active`) VALUES
(1, 'ER-A-A', 'Materiels electriques < 0,2kg', 0.01000000, 'ERP', 1, 1),
(2, 'ER-A-B', 'Materiels electriques >= 0,2 kg et < 0,5 kg', 0.03000000, 'ERP', 1, 1),
(3, 'ER-A-C', 'Materiels electriques >= 0,5 kg et < 1 kg', 0.04000000, 'ERP', 1, 1),
(4, 'ER-A-D', 'Materiels electriques >= 1 kg et < 2 kg', 0.13000000, 'ERP', 1, 1),
(5, 'ER-A-E', 'Materiels electriques >= 2 kg et < 4kg', 0.21000000, 'ERP', 1, 1),
(6, 'ER-A-F', 'Materiels electriques >= 4 kg et < 8 kg', 0.42000000, 'ERP', 1, 1),
(7, 'ER-A-G', 'Materiels electriques >= 8 kg et < 15 kg', 0.84000000, 'ERP', 1, 1),
(8, 'ER-A-H', 'Materiels electriques >= 15 kg et < 20 kg', 1.25000000, 'ERP', 1, 1),
(9, 'ER-A-I', 'Materiels electriques >= 20 kg et < 30 kg', 1.88000000, 'ERP', 1, 1),
(10, 'ER-A-J', 'Materiels electriques >= 30 kg', 3.34000000, 'ERP', 1, 1),
(11, 'ER-M-1', 'TV, Moniteurs < 9kg', 0.84000000, 'ERP', 1, 1),
(12, 'ER-M-2', 'TV, Moniteurs >= 9kg et < 15kg', 1.67000000, 'ERP', 1, 1),
(13, 'ER-M-3', 'TV, Moniteurs >= 15kg et < 30kg', 3.34000000, 'ERP', 1, 1),
(14, 'ER-M-4', 'TV, Moniteurs >= 30 kg', 6.69000000, 'ERP', 1, 1),
(15, 'EC-A-A', 'Materiels electriques  0,2 kg max', 0.00840000, 'Ecologic', 1, 1),
(16, 'EC-A-B', 'Materiels electriques 0,21 kg min - 0,50 kg max', 0.02500000, 'Ecologic', 1, 1),
(17, 'EC-A-C', 'Materiels electriques  0,51 kg min - 1 kg max', 0.04000000, 'Ecologic', 1, 1),
(18, 'EC-A-D', 'Materiels electriques  1,01 kg min - 2,5 kg max', 0.13000000, 'Ecologic', 1, 1),
(19, 'EC-A-E', 'Materiels electriques  2,51 kg min - 4 kg max', 0.21000000, 'Ecologic', 1, 1),
(20, 'EC-A-F', 'Materiels electriques 4,01 kg min - 8 kg max', 0.42000000, 'Ecologic', 1, 1),
(21, 'EC-A-G', 'Materiels electriques  8,01 kg min - 12 kg max', 0.63000000, 'Ecologic', 1, 1),
(22, 'EC-A-H', 'Materiels electriques 12,01 kg min - 20 kg max', 1.05000000, 'Ecologic', 1, 1),
(23, 'EC-A-I', 'Materiels electriques  20,01 kg min', 1.88000000, 'Ecologic', 1, 1),
(24, 'EC-M-1', 'TV, Moniteurs 9 kg max', 0.84000000, 'Ecologic', 1, 1),
(25, 'EC-M-2', 'TV, Moniteurs 9,01 kg min - 18 kg max', 1.67000000, 'Ecologic', 1, 1),
(26, 'EC-M-3', 'TV, Moniteurs 18,01 kg min - 36 kg max', 3.34000000, 'Ecologic', 1, 1),
(27, 'EC-M-4', 'TV, Moniteurs 36,01 kg min', 6.69000000, 'Ecologic', 1, 1),
(28, 'ES-M-1', 'TV, Moniteurs <= 20 pouces', 0.84000000, 'Eco-systemes', 1, 1),
(29, 'ES-M-2', 'TV, Moniteurs > 20 pouces et <= 32 pouces', 3.34000000, 'Eco-systemes', 1, 1),
(30, 'ES-M-3', 'TV, Moniteurs > 32 pouces et autres grands ecrans', 6.69000000, 'Eco-systemes', 1, 1),
(31, 'ES-A-A', 'Ordinateur fixe, Audio home systems (HIFI), elements hifi separes', 0.84000000, 'Eco-systemes', 1, 1),
(32, 'ES-A-B', 'Ordinateur portable, CD-RCR, VCR, lecteurs et enregistreurs DVD, instruments de musique et caisses de resonance, haut parleurs...', 0.25000000, 'Eco-systemes', 1, 1),
(33, 'ES-A-C', 'Imprimante, photocopieur, telecopieur', 0.42000000, 'Eco-systemes', 1, 1),
(34, 'ES-A-D', 'Accessoires, clavier, souris, PDA, imprimante photo, appareil photo, gps, telephone, repondeur, telephone sans fil, modem, telecommande, casque, camescope, baladeur mp3, radio portable, radio K7 et CD portable, radio reveil', 0.08400000, 'Eco-systemes', 1, 1),
(35, 'ES-A-E', 'GSM', 0.00840000, 'Eco-systemes', 1, 1),
(36, 'ES-A-F', 'Jouets et equipements de loisirs et de sports < 0,5 kg', 0.04200000, 'Eco-systemes', 1, 1),
(37, 'ES-A-G', 'Jouets et equipements de loisirs et de sports > 0,5 kg', 0.17000000, 'Eco-systemes', 1, 1),
(38, 'ES-A-H', 'Jouets et equipements de loisirs et de sports > 10 kg', 1.25000000, 'Eco-systemes', 1, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_effectif`
--

CREATE TABLE `llx_c_effectif` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_effectif`
--

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);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_email_templates`
--

CREATE TABLE `llx_c_email_templates` (
  `rowid` int(11) NOT NULL,
  `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,
  `content` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_field_list`
--

CREATE TABLE `llx_c_field_list` (
  `rowid` int(11) NOT NULL,
  `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',
  `enabled` varchar(255) DEFAULT '1',
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_forme_juridique`
--

CREATE TABLE `llx_c_forme_juridique` (
  `rowid` int(11) NOT NULL,
  `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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_forme_juridique`
--

INSERT INTO `llx_c_forme_juridique` (`rowid`, `code`, `fk_pays`, `libelle`, `isvatexempted`, `active`, `module`) VALUES
(1, 0, 0, '-', 0, 1, NULL),
(2, 2301, 23, 'Monotributista', 0, 1, NULL),
(3, 2302, 23, 'Sociedad Civil', 0, 1, NULL),
(4, 2303, 23, 'Sociedades Comerciales', 0, 1, NULL),
(5, 2304, 23, 'Sociedades de Hecho', 0, 1, NULL),
(6, 2305, 23, 'Sociedades Irregulares', 0, 1, NULL),
(7, 2306, 23, 'Sociedad Colectiva', 0, 1, NULL),
(8, 2307, 23, 'Sociedad en Comandita Simple', 0, 1, NULL),
(9, 2308, 23, 'Sociedad de Capital e Industria', 0, 1, NULL),
(10, 2309, 23, 'Sociedad Accidental o en participación', 0, 1, NULL),
(11, 2310, 23, 'Sociedad de Responsabilidad Limitada', 0, 1, NULL),
(12, 2311, 23, 'Sociedad Anónima', 0, 1, NULL),
(13, 2312, 23, 'Sociedad Anónima con Participación Estatal Mayoritaria', 0, 1, NULL),
(14, 2313, 23, 'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)', 0, 1, NULL),
(15, 11, 1, 'Artisan Commerçant (EI)', 0, 1, NULL),
(16, 12, 1, 'Commerçant (EI)', 0, 1, NULL),
(17, 13, 1, 'Artisan (EI)', 0, 1, NULL),
(18, 14, 1, 'Officier public ou ministériel', 0, 1, NULL),
(19, 15, 1, 'Profession libérale (EI)', 0, 1, NULL),
(20, 16, 1, 'Exploitant agricole', 0, 1, NULL),
(21, 17, 1, 'Agent commercial', 0, 1, NULL),
(22, 18, 1, 'Associé Gérant de société', 0, 1, NULL),
(23, 19, 1, 'Personne physique', 0, 1, NULL),
(24, 21, 1, 'Indivision', 0, 1, NULL),
(25, 22, 1, 'Société créée de fait', 0, 1, NULL),
(26, 23, 1, 'Société en participation', 0, 1, NULL),
(27, 27, 1, 'Paroisse hors zone concordataire', 0, 1, NULL),
(28, 29, 1, 'Groupement de droit privé non doté de la personnalité morale', 0, 1, NULL),
(29, 31, 1, 'Personne morale de droit étranger, immatriculée au RCS', 0, 1, NULL),
(30, 32, 1, 'Personne morale de droit étranger, non immatriculée au RCS', 0, 1, NULL),
(31, 35, 1, 'Régime auto-entrepreneur', 0, 1, NULL),
(32, 41, 1, 'Etablissement public ou régie à caractère industriel ou commercial', 0, 1, NULL),
(33, 51, 1, 'Société coopérative commerciale particulière', 0, 1, NULL),
(34, 52, 1, 'Société en nom collectif', 0, 1, NULL),
(35, 53, 1, 'Société en commandite', 0, 1, NULL),
(36, 54, 1, 'Société à responsabilité limitée (SARL)', 0, 1, NULL),
(37, 55, 1, 'Société anonyme à conseil d administration', 0, 1, NULL),
(38, 56, 1, 'Société anonyme à directoire', 0, 1, NULL),
(39, 57, 1, 'Société par actions simplifiée (SAS)', 0, 1, NULL),
(40, 58, 1, 'Entreprise Unipersonnelle à Responsabilité Limitée (EURL)', 0, 1, NULL),
(41, 59, 1, 'Société par actions simplifiée unipersonnelle (SASU)', 0, 1, NULL),
(42, 60, 1, 'Entreprise Individuelle à Responsabilité Limitée (EIRL)', 0, 1, NULL),
(43, 61, 1, 'Caisse d\'épargne et de prévoyance', 0, 1, NULL),
(44, 62, 1, 'Groupement d\'intérêt économique (GIE)', 0, 1, NULL),
(45, 63, 1, 'Société coopérative agricole', 0, 1, NULL),
(46, 64, 1, 'Société non commerciale d assurances', 0, 1, NULL),
(47, 65, 1, 'Société civile', 0, 1, NULL),
(48, 69, 1, 'Personnes de droit privé inscrites au RCS', 0, 1, NULL),
(49, 71, 1, 'Administration de l état', 0, 1, NULL),
(50, 72, 1, 'Collectivité territoriale', 0, 1, NULL),
(51, 73, 1, 'Etablissement public administratif', 0, 1, NULL),
(52, 74, 1, 'Personne morale de droit public administratif', 0, 1, NULL),
(53, 81, 1, 'Organisme gérant régime de protection social à adhésion obligatoire', 0, 1, NULL),
(54, 82, 1, 'Organisme mutualiste', 0, 1, NULL),
(55, 83, 1, 'Comité d entreprise', 0, 1, NULL),
(56, 84, 1, 'Organisme professionnel', 0, 1, NULL),
(57, 85, 1, 'Organisme de retraite à adhésion non obligatoire', 0, 1, NULL),
(58, 91, 1, 'Syndicat de propriétaires', 0, 1, NULL),
(59, 92, 1, 'Association loi 1901 ou assimilé', 0, 1, NULL),
(60, 93, 1, 'Fondation', 0, 1, NULL),
(61, 99, 1, 'Personne morale de droit privé', 0, 1, NULL),
(62, 200, 2, 'Indépendant', 0, 1, NULL),
(63, 201, 2, 'SPRL - Société à responsabilité limitée', 0, 1, NULL),
(64, 202, 2, 'SA   - Société Anonyme', 0, 1, NULL),
(65, 203, 2, 'SCRL - Société coopérative à responsabilité limitée', 0, 1, NULL),
(66, 204, 2, 'ASBL - Association sans but Lucratif', 0, 1, NULL),
(67, 205, 2, 'SCRI - Société coopérative à responsabilité illimitée', 0, 1, NULL),
(68, 206, 2, 'SCS  - Société en commandite simple', 0, 1, NULL),
(69, 207, 2, 'SCA  - Société en commandite par action', 0, 1, NULL),
(70, 208, 2, 'SNC  - Société en nom collectif', 0, 1, NULL),
(71, 209, 2, 'GIE  - Groupement d intérêt économique', 0, 1, NULL),
(72, 210, 2, 'GEIE - Groupement européen d intérêt économique', 0, 1, NULL),
(73, 220, 2, 'Eenmanszaak', 0, 1, NULL),
(74, 221, 2, 'BVBA - Besloten vennootschap met beperkte aansprakelijkheid', 0, 1, NULL),
(75, 222, 2, 'NV   - Naamloze Vennootschap', 0, 1, NULL),
(76, 223, 2, 'CVBA - Coöperatieve vennootschap met beperkte aansprakelijkheid', 0, 1, NULL),
(77, 224, 2, 'VZW  - Vereniging zonder winstoogmerk', 0, 1, NULL),
(78, 225, 2, 'CVOA - Coöperatieve vennootschap met onbeperkte aansprakelijkheid ', 0, 1, NULL),
(79, 226, 2, 'GCV  - Gewone commanditaire vennootschap', 0, 1, NULL),
(80, 227, 2, 'Comm.VA - Commanditaire vennootschap op aandelen', 0, 1, NULL),
(81, 228, 2, 'VOF  - Vennootschap onder firma', 0, 1, NULL),
(82, 229, 2, 'VS0  - Vennootschap met sociaal oogmerk', 0, 1, NULL),
(83, 500, 5, 'GmbH - Gesellschaft mit beschränkter Haftung', 0, 1, NULL),
(84, 501, 5, 'AG - Aktiengesellschaft ', 0, 1, NULL),
(85, 502, 5, 'GmbH&Co. KG - Gesellschaft mit beschränkter Haftung & Compagnie Kommanditgesellschaft', 0, 1, NULL),
(86, 503, 5, 'Gewerbe - Personengesellschaft', 0, 1, NULL),
(87, 504, 5, 'UG - Unternehmergesellschaft -haftungsbeschränkt-', 0, 1, NULL),
(88, 505, 5, 'GbR - Gesellschaft des bürgerlichen Rechts', 0, 1, NULL),
(89, 506, 5, 'KG - Kommanditgesellschaft', 0, 1, NULL),
(90, 507, 5, 'Ltd. - Limited Company', 0, 1, NULL),
(91, 508, 5, 'OHG - Offene Handelsgesellschaft', 0, 1, NULL),
(92, 10201, 102, '??????? ??????????', 0, 1, NULL),
(93, 10202, 102, '????????  ??????????', 0, 1, NULL),
(94, 10203, 102, '????????? ???????? ?.?', 0, 1, NULL),
(95, 10204, 102, '??????????? ???????? ?.?', 0, 1, NULL),
(96, 10205, 102, '???????? ????????????? ??????? ?.?.?', 0, 1, NULL),
(97, 10206, 102, '??????? ???????? ?.?', 0, 1, NULL),
(98, 10207, 102, '??????? ?????????? ???????? ?.?.?', 0, 1, NULL),
(99, 10208, 102, '?????????????', 0, 1, NULL),
(100, 10209, 102, '??????????????', 0, 1, NULL),
(101, 301, 3, 'Società semplice', 0, 1, NULL),
(102, 302, 3, 'Società in nome collettivo s.n.c.', 0, 1, NULL),
(103, 303, 3, 'Società in accomandita semplice s.a.s.', 0, 1, NULL),
(104, 304, 3, 'Società per azioni s.p.a.', 0, 1, NULL),
(105, 305, 3, 'Società a responsabilità limitata s.r.l.', 0, 1, NULL),
(106, 306, 3, 'Società in accomandita per azioni s.a.p.a.', 0, 1, NULL),
(107, 307, 3, 'Società cooperativa a r.l.', 0, 1, NULL),
(108, 308, 3, 'Società consortile', 0, 1, NULL),
(109, 309, 3, 'Società europea', 0, 1, NULL),
(110, 310, 3, 'Società cooperativa europea', 0, 1, NULL),
(111, 311, 3, 'Società unipersonale', 0, 1, NULL),
(112, 312, 3, 'Società di professionisti', 0, 1, NULL),
(113, 313, 3, 'Società di fatto', 0, 1, NULL),
(114, 315, 3, 'Società apparente', 0, 1, NULL),
(115, 316, 3, 'Impresa individuale ', 0, 1, NULL),
(116, 317, 3, 'Impresa coniugale', 0, 1, NULL),
(117, 318, 3, 'Impresa familiare', 0, 1, NULL),
(118, 319, 3, 'Consorzio cooperativo', 0, 1, NULL),
(119, 320, 3, 'Società cooperativa sociale', 0, 1, NULL),
(120, 321, 3, 'Società cooperativa di consumo', 0, 1, NULL),
(121, 322, 3, 'Società cooperativa agricola', 0, 1, NULL),
(122, 323, 3, 'A.T.I. Associazione temporanea di imprese', 0, 1, NULL),
(123, 324, 3, 'R.T.I. Raggruppamento temporaneo di imprese', 0, 1, NULL),
(124, 325, 3, 'Studio associato', 0, 1, NULL),
(125, 600, 6, 'Raison Individuelle', 0, 1, NULL),
(126, 601, 6, 'Société Simple', 0, 1, NULL),
(127, 602, 6, 'Société en nom collectif', 0, 1, NULL),
(128, 603, 6, 'Société en commandite', 0, 1, NULL),
(129, 604, 6, 'Société anonyme (SA)', 0, 1, NULL),
(130, 605, 6, 'Société en commandite par actions', 0, 1, NULL),
(131, 606, 6, 'Société à responsabilité limitée (SARL)', 0, 1, NULL),
(132, 607, 6, 'Société coopérative', 0, 1, NULL),
(133, 608, 6, 'Association', 0, 1, NULL),
(134, 609, 6, 'Fondation', 0, 1, NULL),
(135, 700, 7, 'Sole Trader', 0, 1, NULL),
(136, 701, 7, 'Partnership', 0, 1, NULL),
(137, 702, 7, 'Private Limited Company by shares (LTD)', 0, 1, NULL),
(138, 703, 7, 'Public Limited Company', 0, 1, NULL),
(139, 704, 7, 'Workers Cooperative', 0, 1, NULL),
(140, 705, 7, 'Limited Liability Partnership', 0, 1, NULL),
(141, 706, 7, 'Franchise', 0, 1, NULL),
(142, 1000, 10, 'Société à responsabilité limitée (SARL)', 0, 1, NULL),
(143, 1001, 10, 'Société en Nom Collectif (SNC)', 0, 1, NULL),
(144, 1002, 10, 'Société en Commandite Simple (SCS)', 0, 1, NULL),
(145, 1003, 10, 'société en participation', 0, 1, NULL),
(146, 1004, 10, 'Société Anonyme (SA)', 0, 1, NULL),
(147, 1005, 10, 'Société Unipersonnelle à Responsabilité Limitée (SUARL)', 0, 1, NULL),
(148, 1006, 10, 'Groupement d\'intérêt économique (GEI)', 0, 1, NULL),
(149, 1007, 10, 'Groupe de sociétés', 0, 1, NULL),
(150, 1701, 17, 'Eenmanszaak', 0, 1, NULL),
(151, 1702, 17, 'Maatschap', 0, 1, NULL),
(152, 1703, 17, 'Vennootschap onder firma', 0, 1, NULL),
(153, 1704, 17, 'Commanditaire vennootschap', 0, 1, NULL),
(154, 1705, 17, 'Besloten vennootschap (BV)', 0, 1, NULL),
(155, 1706, 17, 'Naamloze Vennootschap (NV)', 0, 1, NULL),
(156, 1707, 17, 'Vereniging', 0, 1, NULL),
(157, 1708, 17, 'Stichting', 0, 1, NULL),
(158, 1709, 17, 'Coöperatie met beperkte aansprakelijkheid (BA)', 0, 1, NULL),
(159, 1710, 17, 'Coöperatie met uitgesloten aansprakelijkheid (UA)', 0, 1, NULL),
(160, 1711, 17, 'Coöperatie met wettelijke aansprakelijkheid (WA)', 0, 1, NULL),
(161, 1712, 17, 'Onderlinge waarborgmaatschappij', 0, 1, NULL),
(162, 401, 4, 'Empresario Individual', 0, 1, NULL),
(163, 402, 4, 'Comunidad de Bienes', 0, 1, NULL),
(164, 403, 4, 'Sociedad Civil', 0, 1, NULL),
(165, 404, 4, 'Sociedad Colectiva', 0, 1, NULL),
(166, 405, 4, 'Sociedad Limitada', 0, 1, NULL),
(167, 406, 4, 'Sociedad Anónima', 0, 1, NULL),
(168, 407, 4, 'Sociedad Comanditaria por Acciones', 0, 1, NULL),
(169, 408, 4, 'Sociedad Comanditaria Simple', 0, 1, NULL),
(170, 409, 4, 'Sociedad Laboral', 0, 1, NULL),
(171, 410, 4, 'Sociedad Cooperativa', 0, 1, NULL),
(172, 411, 4, 'Sociedad de Garantía Recíproca', 0, 1, NULL),
(173, 412, 4, 'Entidad de Capital-Riesgo', 0, 1, NULL),
(174, 413, 4, 'Agrupación de Interés Económico', 0, 1, NULL),
(175, 414, 4, 'Sociedad de Inversión Mobiliaria', 0, 1, NULL),
(176, 415, 4, 'Agrupación sin Ánimo de Lucro', 0, 1, NULL),
(177, 15201, 152, 'Mauritius Private Company Limited By Shares', 0, 1, NULL),
(178, 15202, 152, 'Mauritius Company Limited By Guarantee', 0, 1, NULL),
(179, 15203, 152, 'Mauritius Public Company Limited By Shares', 0, 1, NULL),
(180, 15204, 152, 'Mauritius Foreign Company', 0, 1, NULL),
(181, 15205, 152, 'Mauritius GBC1 (Offshore Company)', 0, 1, NULL),
(182, 15206, 152, 'Mauritius GBC2 (International Company)', 0, 1, NULL),
(183, 15207, 152, 'Mauritius General Partnership', 0, 1, NULL),
(184, 15208, 152, 'Mauritius Limited Partnership', 0, 1, NULL),
(185, 15209, 152, 'Mauritius Sole Proprietorship', 0, 1, NULL),
(186, 15210, 152, 'Mauritius Trusts', 0, 1, NULL),
(187, 15401, 154, 'Sociedad en nombre colectivo', 0, 1, NULL),
(188, 15402, 154, 'Sociedad en comandita simple', 0, 1, NULL),
(189, 15403, 154, 'Sociedad de responsabilidad limitada', 0, 1, NULL),
(190, 15404, 154, 'Sociedad anónima', 0, 1, NULL),
(191, 15405, 154, 'Sociedad en comandita por acciones', 0, 1, NULL),
(192, 15406, 154, 'Sociedad cooperativa', 0, 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_holiday_types`
--

CREATE TABLE `llx_c_holiday_types` (
  `rowid` int(11) NOT NULL,
  `code` varchar(16) NOT NULL,
  `label` varchar(255) NOT NULL,
  `affect` int(11) NOT NULL,
  `delay` int(11) NOT NULL,
  `newByMonth` double(8,5) NOT NULL DEFAULT '0.00000',
  `fk_country` int(11) DEFAULT NULL,
  `active` int(11) DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_holiday_types`
--

INSERT INTO `llx_c_holiday_types` (`rowid`, `code`, `label`, `affect`, `delay`, `newByMonth`, `fk_country`, `active`) VALUES
(1, 'LEAVE_SICK', 'Sick leave', 0, 0, 0.00000, NULL, 1),
(2, 'LEAVE_OTHER', 'Other leave', 0, 0, 0.00000, NULL, 1),
(3, 'LEAVE_PAID', 'Paid vacation', 1, 7, 0.00000, NULL, 0),
(4, 'LEAVE_RTT_FR', 'RTT', 1, 7, 0.83000, 1, 1),
(5, 'LEAVE_PAID_FR', 'Paid vacation', 1, 30, 2.08334, 1, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_incoterms`
--

CREATE TABLE `llx_c_incoterms` (
  `rowid` int(11) NOT NULL,
  `code` varchar(3) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_incoterms`
--

INSERT INTO `llx_c_incoterms` (`rowid`, `code`, `libelle`, `active`) VALUES
(1, 'EXW', 'Ex Works, au départ non chargé, non dédouané sortie d\'usine (uniquement adapté aux flux domestiques, nationaux)', 1),
(2, 'FCA', 'Free Carrier, marchandises dédouanées et chargées dans le pays de départ, chez le vendeur ou chez le commissionnaire de transport de l\'acheteur', 1),
(3, 'FAS', 'Free Alongside Ship, sur le quai du port de départ', 1),
(4, 'FOB', 'Free On Board, chargé sur le bateau, les frais de chargement dans celui-ci étant fonction du liner term indiqué par la compagnie maritime (à la charge du vendeur)', 1),
(5, 'CFR', 'Cost and Freight, chargé dans le bateau, livraison au port de départ, frais payés jusqu\'au port d\'arrivée, sans assurance pour le transport, non déchargé du navire à destination (les frais de déchargement sont inclus ou non au port d\'arrivée)', 1),
(6, 'CIF', 'Cost, Insurance and Freight, chargé sur le bateau, frais jusqu\'au port d\'arrivée, avec l\'assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur', 1),
(7, 'CPT', 'Carriage Paid To, livraison au premier transporteur, frais jusqu\'au déchargement du mode de transport, sans assurance pour le transport', 1),
(8, 'CIP', 'Carriage and Insurance Paid to, idem CPT, avec assurance marchandise transportée souscrite par le vendeur pour le compte de l\'acheteur', 1),
(9, 'DAT', 'Delivered At Terminal, marchandises (déchargées) livrées sur quai, dans un terminal maritime, fluvial, aérien, routier ou ferroviaire désigné (dédouanement import, et post-acheminement payés par l\'acheteur)', 1),
(10, 'DAP', 'Delivered At Place, marchandises (non déchargées) mises à disposition de l\'acheteur dans le pays d\'importation au lieu précisé dans le contrat (déchargement, dédouanement import payé par l\'acheteur)', 1),
(11, 'DDP', 'Delivered Duty Paid, marchandises (non déchargées) livrées à destination finale, dédouanement import et taxes à la charge du vendeur ; l\'acheteur prend en charge uniquement le déchargement (si exclusion des taxes type TVA, le préciser clairement)', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_input_method`
--

CREATE TABLE `llx_c_input_method` (
  `rowid` int(11) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `libelle` varchar(60) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_input_method`
--

INSERT INTO `llx_c_input_method` (`rowid`, `code`, `libelle`, `active`, `module`) VALUES
(1, 'OrderByMail', 'Courrier', 1, NULL),
(2, 'OrderByFax', 'Fax', 1, NULL),
(3, 'OrderByEMail', 'EMail', 1, NULL),
(4, 'OrderByPhone', 'Téléphone', 1, NULL),
(5, 'OrderByWWW', 'En ligne', 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_input_reason`
--

CREATE TABLE `llx_c_input_reason` (
  `rowid` int(11) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `label` varchar(60) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_input_reason`
--

INSERT INTO `llx_c_input_reason` (`rowid`, `code`, `label`, `active`, `module`) VALUES
(1, 'SRC_INTE', 'Web site', 1, NULL),
(2, 'SRC_CAMP_MAIL', 'Mailing campaign', 1, NULL),
(3, 'SRC_CAMP_PHO', 'Phone campaign', 1, NULL),
(4, 'SRC_CAMP_FAX', 'Fax campaign', 1, NULL),
(5, 'SRC_COMM', 'Commercial contact', 1, NULL),
(6, 'SRC_SHOP', 'Shop contact', 1, NULL),
(7, 'SRC_CAMP_EMAIL', 'EMailing campaign', 1, NULL),
(8, 'SRC_WOM', 'Word of mouth', 1, NULL),
(9, 'SRC_PARTNER', 'Partner', 1, NULL),
(10, 'SRC_EMPLOYEE', 'Employee', 1, NULL),
(11, 'SRC_SPONSORING', 'Sponsorship', 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_lead_status`
--

CREATE TABLE `llx_c_lead_status` (
  `rowid` int(11) NOT NULL,
  `code` varchar(10) DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `position` int(11) DEFAULT NULL,
  `percent` double(5,2) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_lead_status`
--

INSERT INTO `llx_c_lead_status` (`rowid`, `code`, `label`, `position`, `percent`, `active`) VALUES
(1, 'PROSP', 'Prospection', 10, 0.00, 1),
(2, 'QUAL', 'Qualification', 20, 20.00, 1),
(3, 'PROPO', 'Proposal', 30, 40.00, 1),
(4, 'NEGO', 'Negotiation', 40, 60.00, 1),
(5, 'PENDING', 'Pending', 50, 50.00, 0),
(6, 'WON', 'Won', 60, 100.00, 1),
(7, 'LOST', 'Lost', 70, 0.00, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_paiement`
--

CREATE TABLE `llx_c_paiement` (
  `id` int(11) NOT NULL,
  `code` varchar(6) NOT NULL,
  `libelle` varchar(62) DEFAULT NULL,
  `type` smallint(6) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code` varchar(32) DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_paiement`
--

INSERT INTO `llx_c_paiement` (`id`, `code`, `libelle`, `type`, `active`, `accountancy_code`, `module`) VALUES
(0, '', '-', 3, 1, NULL, NULL),
(1, 'TIP', 'TIP', 2, 0, NULL, NULL),
(2, 'VIR', 'Virement', 2, 1, NULL, NULL),
(3, 'PRE', 'Prélèvement', 2, 1, NULL, NULL),
(4, 'LIQ', 'Espèces', 2, 1, NULL, NULL),
(6, 'CB', 'Carte Bancaire', 2, 1, NULL, NULL),
(7, 'CHQ', 'Chèque', 2, 1, NULL, NULL),
(50, 'VAD', 'Paiement en ligne', 2, 0, NULL, NULL),
(51, 'TRA', 'Traite', 2, 0, NULL, NULL),
(52, 'LCR', 'LCR', 2, 0, NULL, NULL),
(53, 'FAC', 'Factor', 2, 0, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_paper_format`
--

CREATE TABLE `llx_c_paper_format` (
  `rowid` int(11) NOT NULL,
  `code` varchar(16) NOT NULL,
  `label` varchar(50) NOT NULL,
  `width` float(6,2) DEFAULT '0.00',
  `height` float(6,2) DEFAULT '0.00',
  `unit` varchar(5) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_paper_format`
--

INSERT INTO `llx_c_paper_format` (`rowid`, `code`, `label`, `width`, `height`, `unit`, `active`, `module`) VALUES
(1, 'EU4A0', 'Format 4A0', 1682.00, 2378.00, 'mm', 1, NULL),
(2, 'EU2A0', 'Format 2A0', 1189.00, 1682.00, 'mm', 1, NULL),
(3, 'EUA0', 'Format A0', 840.00, 1189.00, 'mm', 1, NULL),
(4, 'EUA1', 'Format A1', 594.00, 840.00, 'mm', 1, NULL),
(5, 'EUA2', 'Format A2', 420.00, 594.00, 'mm', 1, NULL),
(6, 'EUA3', 'Format A3', 297.00, 420.00, 'mm', 1, NULL),
(7, 'EUA4', 'Format A4', 210.00, 297.00, 'mm', 1, NULL),
(8, 'EUA5', 'Format A5', 148.00, 210.00, 'mm', 1, NULL),
(9, 'EUA6', 'Format A6', 105.00, 148.00, 'mm', 1, NULL),
(100, 'USLetter', 'Format Letter (A)', 216.00, 279.00, 'mm', 1, NULL),
(105, 'USLegal', 'Format Legal', 216.00, 356.00, 'mm', 1, NULL),
(110, 'USExecutive', 'Format Executive', 190.00, 254.00, 'mm', 1, NULL),
(115, 'USLedger', 'Format Ledger/Tabloid (B)', 279.00, 432.00, 'mm', 1, NULL),
(200, 'CAP1', 'Format Canadian P1', 560.00, 860.00, 'mm', 1, NULL),
(205, 'CAP2', 'Format Canadian P2', 430.00, 560.00, 'mm', 1, NULL),
(210, 'CAP3', 'Format Canadian P3', 280.00, 430.00, 'mm', 1, NULL),
(215, 'CAP4', 'Format Canadian P4', 215.00, 280.00, 'mm', 1, NULL),
(220, 'CAP5', 'Format Canadian P5', 140.00, 215.00, 'mm', 1, NULL),
(225, 'CAP6', 'Format Canadian P6', 107.00, 140.00, 'mm', 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_payment_term`
--

CREATE TABLE `llx_c_payment_term` (
  `rowid` int(11) NOT NULL,
  `code` varchar(16) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` tinyint(4) DEFAULT '1',
  `libelle` varchar(255) DEFAULT NULL,
  `libelle_facture` text,
  `fdm` tinyint(4) DEFAULT NULL,
  `nbjour` smallint(6) DEFAULT NULL,
  `decalage` smallint(6) DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_payment_term`
--

INSERT INTO `llx_c_payment_term` (`rowid`, `code`, `sortorder`, `active`, `libelle`, `libelle_facture`, `fdm`, `nbjour`, `decalage`, `module`) VALUES
(1, 'RECEP', 1, 1, 'A réception de facture', 'Réception de facture', 0, 0, NULL, NULL),
(2, '30D', 2, 1, '30 jours', 'Réglement à 30 jours', 0, 30, NULL, NULL),
(3, '30DENDMONTH', 3, 1, '30 jours fin de mois', 'Réglement à 30 jours fin de mois', 1, 30, NULL, NULL),
(4, '60D', 4, 1, '60 jours', 'Réglement à 60 jours', 0, 60, NULL, NULL),
(5, '60DENDMONTH', 5, 1, '60 jours fin de mois', 'Réglement à 60 jours fin de mois', 1, 60, NULL, NULL),
(6, 'PT_ORDER', 6, 1, 'A réception de commande', 'A réception de commande', 0, 0, NULL, NULL),
(7, 'PT_DELIVERY', 7, 1, 'Livraison', 'Règlement à la livraison', 0, 0, NULL, NULL),
(8, 'PT_5050', 8, 1, '50 et 50', 'Règlement 50% à la commande, 50% à la livraison', 0, 0, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_price_expression`
--

CREATE TABLE `llx_c_price_expression` (
  `rowid` int(11) NOT NULL,
  `title` varchar(20) NOT NULL,
  `expression` varchar(80) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_price_global_variable`
--

CREATE TABLE `llx_c_price_global_variable` (
  `rowid` int(11) NOT NULL,
  `code` varchar(20) NOT NULL,
  `description` text,
  `value` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_price_global_variable_updater`
--

CREATE TABLE `llx_c_price_global_variable_updater` (
  `rowid` int(11) NOT NULL,
  `type` int(11) NOT NULL,
  `description` text,
  `parameters` text,
  `fk_variable` int(11) NOT NULL,
  `update_interval` int(11) DEFAULT '0',
  `next_update` int(11) DEFAULT '0',
  `last_status` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_propalst`
--

CREATE TABLE `llx_c_propalst` (
  `id` smallint(6) NOT NULL,
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_propalst`
--

INSERT INTO `llx_c_propalst` (`id`, `code`, `label`, `active`) VALUES
(0, 'PR_DRAFT', 'Brouillon', 1),
(1, 'PR_OPEN', 'Ouverte', 1),
(2, 'PR_SIGNED', 'Signée', 1),
(3, 'PR_NOTSIGNED', 'Non Signée', 1),
(4, 'PR_FAC', 'Facturée', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_prospectlevel`
--

CREATE TABLE `llx_c_prospectlevel` (
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `sortorder` smallint(6) DEFAULT NULL,
  `active` smallint(6) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_prospectlevel`
--

INSERT INTO `llx_c_prospectlevel` (`code`, `label`, `sortorder`, `active`, `module`) VALUES
('PL_HIGH', 'High', 4, 1, NULL),
('PL_LOW', 'Low', 2, 1, NULL),
('PL_MEDIUM', 'Medium', 3, 1, NULL),
('PL_NONE', 'None', 1, 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_regions`
--

CREATE TABLE `llx_c_regions` (
  `rowid` int(11) NOT NULL,
  `code_region` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `cheflieu` varchar(50) DEFAULT NULL,
  `tncc` int(11) DEFAULT NULL,
  `nom` varchar(100) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_regions`
--

INSERT INTO `llx_c_regions` (`rowid`, `code_region`, `fk_pays`, `cheflieu`, `tncc`, `nom`, `active`) VALUES
(1, 0, 0, '0', 0, '-', 1),
(2, 1, 1, '97105', 3, 'Guadeloupe', 1),
(3, 2, 1, '97209', 3, 'Martinique', 1),
(4, 3, 1, '97302', 3, 'Guyane', 1),
(5, 4, 1, '97411', 3, 'Réunion', 1),
(6, 6, 1, '97601', 3, 'Mayotte', 1),
(7, 11, 1, '75056', 1, 'Île-de-France', 1),
(8, 21, 1, '51108', 0, 'Champagne-Ardenne', 1),
(9, 22, 1, '80021', 0, 'Picardie', 1),
(10, 23, 1, '76540', 0, 'Haute-Normandie', 1),
(11, 24, 1, '45234', 2, 'Centre', 1),
(12, 25, 1, '14118', 0, 'Basse-Normandie', 1),
(13, 26, 1, '21231', 0, 'Bourgogne', 1),
(14, 31, 1, '59350', 2, 'Nord-Pas-de-Calais', 1),
(15, 41, 1, '57463', 0, 'Lorraine', 1),
(16, 42, 1, '67482', 1, 'Alsace', 1),
(17, 43, 1, '25056', 0, 'Franche-Comté', 1),
(18, 52, 1, '44109', 4, 'Pays de la Loire', 1),
(19, 53, 1, '35238', 0, 'Bretagne', 1),
(20, 54, 1, '86194', 2, 'Poitou-Charentes', 1),
(21, 72, 1, '33063', 1, 'Aquitaine', 1),
(22, 73, 1, '31555', 0, 'Midi-Pyrénées', 1),
(23, 74, 1, '87085', 2, 'Limousin', 1),
(24, 82, 1, '69123', 2, 'Rhône-Alpes', 1),
(25, 83, 1, '63113', 1, 'Auvergne', 1),
(26, 91, 1, '34172', 2, 'Languedoc-Roussillon', 1),
(27, 93, 1, '13055', 0, 'Provence-Alpes-Côte d\'Azur', 1),
(28, 94, 1, '2A004', 0, 'Corse', 1),
(29, 201, 2, '', 1, 'Flandre', 1),
(30, 202, 2, '', 2, 'Wallonie', 1),
(31, 203, 2, '', 3, 'Bruxelles-Capitale', 1),
(32, 301, 3, NULL, 1, 'Abruzzo', 1),
(33, 302, 3, NULL, 1, 'Basilicata', 1),
(34, 303, 3, NULL, 1, 'Calabria', 1),
(35, 304, 3, NULL, 1, 'Campania', 1),
(36, 305, 3, NULL, 1, 'Emilia-Romagna', 1),
(37, 306, 3, NULL, 1, 'Friuli-Venezia Giulia', 1),
(38, 307, 3, NULL, 1, 'Lazio', 1),
(39, 308, 3, NULL, 1, 'Liguria', 1),
(40, 309, 3, NULL, 1, 'Lombardia', 1),
(41, 310, 3, NULL, 1, 'Marche', 1),
(42, 311, 3, NULL, 1, 'Molise', 1),
(43, 312, 3, NULL, 1, 'Piemonte', 1),
(44, 313, 3, NULL, 1, 'Puglia', 1),
(45, 314, 3, NULL, 1, 'Sardegna', 1),
(46, 315, 3, NULL, 1, 'Sicilia', 1),
(47, 316, 3, NULL, 1, 'Toscana', 1),
(48, 317, 3, NULL, 1, 'Trentino-Alto Adige', 1),
(49, 318, 3, NULL, 1, 'Umbria', 1),
(50, 319, 3, NULL, 1, 'Valle d Aosta', 1),
(51, 320, 3, NULL, 1, 'Veneto', 1),
(52, 401, 4, '', 0, 'Andalucia', 1),
(53, 402, 4, '', 0, 'Aragón', 1),
(54, 403, 4, '', 0, 'Castilla y León', 1),
(55, 404, 4, '', 0, 'Castilla la Mancha', 1),
(56, 405, 4, '', 0, 'Canarias', 1),
(57, 406, 4, '', 0, 'Cataluña', 1),
(58, 407, 4, '', 0, 'Comunidad de Ceuta', 1),
(59, 408, 4, '', 0, 'Comunidad Foral de Navarra', 1),
(60, 409, 4, '', 0, 'Comunidad de Melilla', 1),
(61, 410, 4, '', 0, 'Cantabria', 1),
(62, 411, 4, '', 0, 'Comunidad Valenciana', 1),
(63, 412, 4, '', 0, 'Extemadura', 1),
(64, 413, 4, '', 0, 'Galicia', 1),
(65, 414, 4, '', 0, 'Islas Baleares', 1),
(66, 415, 4, '', 0, 'La Rioja', 1),
(67, 416, 4, '', 0, 'Comunidad de Madrid', 1),
(68, 417, 4, '', 0, 'Región de Murcia', 1),
(69, 418, 4, '', 0, 'Principado de Asturias', 1),
(70, 419, 4, '', 0, 'Pais Vasco', 1),
(71, 420, 4, '', 0, 'Otros', 1),
(72, 501, 5, '', 0, 'Deutschland', 1),
(73, 10201, 102, NULL, NULL, '??????', 1),
(74, 10202, 102, NULL, NULL, '?????? ??????', 1),
(75, 10203, 102, NULL, NULL, '???????? ?????????', 1),
(76, 10204, 102, NULL, NULL, '?????', 1),
(77, 10205, 102, NULL, NULL, '????????? ????????? ??? ?????', 1),
(78, 10206, 102, NULL, NULL, '???????', 1),
(79, 10207, 102, NULL, NULL, '????? ?????', 1),
(80, 10208, 102, NULL, NULL, '?????? ??????', 1),
(81, 10209, 102, NULL, NULL, '????????????', 1),
(82, 10210, 102, NULL, NULL, '????? ??????', 1),
(83, 10211, 102, NULL, NULL, '?????? ??????', 1),
(84, 10212, 102, NULL, NULL, '????????', 1),
(85, 10213, 102, NULL, NULL, '?????? ?????????', 1),
(86, 601, 6, '', 1, 'Cantons', 1),
(87, 701, 7, '', 0, 'England', 1),
(88, 702, 7, '', 0, 'Wales', 1),
(89, 703, 7, '', 0, 'Scotland', 1),
(90, 704, 7, '', 0, 'Northern Ireland', 1),
(91, 1001, 10, '', 0, 'Ariana', 1),
(92, 1002, 10, '', 0, 'Béja', 1),
(93, 1003, 10, '', 0, 'Ben Arous', 1),
(94, 1004, 10, '', 0, 'Bizerte', 1),
(95, 1005, 10, '', 0, 'Gabès', 1),
(96, 1006, 10, '', 0, 'Gafsa', 1),
(97, 1007, 10, '', 0, 'Jendouba', 1),
(98, 1008, 10, '', 0, 'Kairouan', 1),
(99, 1009, 10, '', 0, 'Kasserine', 1),
(100, 1010, 10, '', 0, 'Kébili', 1),
(101, 1011, 10, '', 0, 'La Manouba', 1),
(102, 1012, 10, '', 0, 'Le Kef', 1),
(103, 1013, 10, '', 0, 'Mahdia', 1),
(104, 1014, 10, '', 0, 'Médenine', 1),
(105, 1015, 10, '', 0, 'Monastir', 1),
(106, 1016, 10, '', 0, 'Nabeul', 1),
(107, 1017, 10, '', 0, 'Sfax', 1),
(108, 1018, 10, '', 0, 'Sidi Bouzid', 1),
(109, 1019, 10, '', 0, 'Siliana', 1),
(110, 1020, 10, '', 0, 'Sousse', 1),
(111, 1021, 10, '', 0, 'Tataouine', 1),
(112, 1022, 10, '', 0, 'Tozeur', 1),
(113, 1023, 10, '', 0, 'Tunis', 1),
(114, 1024, 10, '', 0, 'Zaghouan', 1),
(115, 1101, 11, '', 0, 'United-States', 1),
(116, 1401, 14, '', 0, 'Canada', 1),
(117, 1701, 17, '', 0, 'Provincies van Nederland ', 1),
(118, 2301, 23, '', 0, 'Norte', 1),
(119, 2302, 23, '', 0, 'Litoral', 1),
(120, 2303, 23, '', 0, 'Cuyana', 1),
(121, 2304, 23, '', 0, 'Central', 1),
(122, 2305, 23, '', 0, 'Patagonia', 1),
(123, 2801, 28, '', 0, 'Australia', 1),
(124, 5601, 56, '', 0, 'Brasil', 1),
(125, 7001, 70, '', 0, 'Colombie', 1),
(126, 6701, 67, NULL, NULL, 'Tarapacá', 1),
(127, 6702, 67, NULL, NULL, 'Antofagasta', 1),
(128, 6703, 67, NULL, NULL, 'Atacama', 1),
(129, 6704, 67, NULL, NULL, 'Coquimbo', 1),
(130, 6705, 67, NULL, NULL, 'Valparaíso', 1),
(131, 6706, 67, NULL, NULL, 'General Bernardo O Higgins', 1),
(132, 6707, 67, NULL, NULL, 'Maule', 1),
(133, 6708, 67, NULL, NULL, 'Biobío', 1),
(134, 6709, 67, NULL, NULL, 'Raucanía', 1),
(135, 6710, 67, NULL, NULL, 'Los Lagos', 1),
(136, 6711, 67, NULL, NULL, 'Aysén General Carlos Ibáñez del Campo', 1),
(137, 6712, 67, NULL, NULL, 'Magallanes y Antártica Chilena', 1),
(138, 6713, 67, NULL, NULL, 'Metropolitana de Santiago', 1),
(139, 6714, 67, NULL, NULL, 'Los Ríos', 1),
(140, 6715, 67, NULL, NULL, 'Arica y Parinacota', 1),
(141, 8601, 86, NULL, NULL, 'Central', 1),
(142, 8602, 86, NULL, NULL, 'Oriental', 1),
(143, 8603, 86, NULL, NULL, 'Occidental', 1),
(144, 11401, 114, '', 0, 'Honduras', 1),
(145, 11701, 117, '', 0, 'India', 1),
(146, 15201, 152, '', 0, 'Rivière Noire', 1),
(147, 15202, 152, '', 0, 'Flacq', 1),
(148, 15203, 152, '', 0, 'Grand Port', 1),
(149, 15204, 152, '', 0, 'Moka', 1),
(150, 15205, 152, '', 0, 'Pamplemousses', 1),
(151, 15206, 152, '', 0, 'Plaines Wilhems', 1),
(152, 15207, 152, '', 0, 'Port-Louis', 1),
(153, 15208, 152, '', 0, 'Rivière du Rempart', 1),
(154, 15209, 152, '', 0, 'Savanne', 1),
(155, 15210, 152, '', 0, 'Rodrigues', 1),
(156, 15211, 152, '', 0, 'Les îles Agaléga', 1),
(157, 15212, 152, '', 0, 'Les écueils des Cargados Carajos', 1),
(158, 15401, 154, '', 0, 'Mexique', 1),
(159, 4601, 46, '', 0, 'Barbados', 1),
(160, 23201, 232, '', 0, 'Los Andes', 1),
(161, 23202, 232, '', 0, 'Capital', 1),
(162, 23203, 232, '', 0, 'Central', 1),
(163, 23204, 232, '', 0, 'Cento Occidental', 1),
(164, 23205, 232, '', 0, 'Guayana', 1),
(165, 23206, 232, '', 0, 'Insular', 1),
(166, 23207, 232, '', 0, 'Los Llanos', 1),
(167, 23208, 232, '', 0, 'Nor-Oriental', 1),
(168, 23209, 232, '', 0, 'Zuliana', 1),
(169, 1301, 13, '', 0, 'Algerie', 1),
(170, 1201, 12, '', 0, 'Tanger-Tétouan', 1),
(171, 1202, 12, '', 0, 'Gharb-Chrarda-Beni Hssen', 1),
(172, 1203, 12, '', 0, 'Taza-Al Hoceima-Taounate', 1),
(173, 1204, 12, '', 0, 'L\'Oriental', 1),
(174, 1205, 12, '', 0, 'Fès-Boulemane', 1),
(175, 1206, 12, '', 0, 'Meknès-Tafialet', 1),
(176, 1207, 12, '', 0, 'Rabat-Salé-Zemour-Zaër', 1),
(177, 1208, 12, '', 0, 'Grand Cassablanca', 1),
(178, 1209, 12, '', 0, 'Chaouia-Ouardigha', 1),
(179, 1210, 12, '', 0, 'Doukahla-Adba', 1),
(180, 1211, 12, '', 0, 'Marrakech-Tensift-Al Haouz', 1),
(181, 1212, 12, '', 0, 'Tadla-Azilal', 1),
(182, 1213, 12, '', 0, 'Sous-Massa-Drâa', 1),
(183, 1214, 12, '', 0, 'Guelmim-Es Smara', 1),
(184, 1215, 12, '', 0, 'Laâyoune-Boujdour-Sakia el Hamra', 1),
(185, 1216, 12, '', 0, 'Oued Ed-Dahab Lagouira', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_revenuestamp`
--

CREATE TABLE `llx_c_revenuestamp` (
  `rowid` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `taux` double NOT NULL,
  `note` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_revenuestamp`
--

INSERT INTO `llx_c_revenuestamp` (`rowid`, `fk_pays`, `taux`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES
(101, 10, 0.4, 'Revenue stamp tunisia', 1, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_shipment_mode`
--

CREATE TABLE `llx_c_shipment_mode` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `code` varchar(30) NOT NULL,
  `libelle` varchar(50) NOT NULL,
  `description` text,
  `tracking` varchar(255) NOT NULL,
  `active` tinyint(4) DEFAULT '0',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_shipment_mode`
--

INSERT INTO `llx_c_shipment_mode` (`rowid`, `tms`, `code`, `libelle`, `description`, `tracking`, `active`, `module`) VALUES
(1, '2016-02-15 16:09:09', 'CATCH', 'Catch', 'Catch by client', '', 1, NULL),
(2, '2016-02-15 16:09:09', 'TRANS', 'Transporter', 'Generic transporter', '', 1, NULL),
(3, '2016-02-15 16:09:09', 'COLSUI', 'Colissimo Suivi', 'Colissimo Suivi', 'http://www.colissimo.fr/portail_colissimo/suivre.do?colispart={TRACKID}', 0, NULL),
(4, '2016-02-15 16:09:09', 'LETTREMAX', 'Lettre Max', 'Courrier Suivi et Lettre Max', '', 0, NULL),
(5, '2016-02-15 16:09:09', 'UPS', 'UPS', 'United Parcel Service', 'http://wwwapps.ups.com/etracking/tracking.cgi?InquiryNumber2=&InquiryNumber3=&tracknums_displayed=3&loc=fr_FR&TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNumber22=&InquiryNumber32=&track=Track&Suivi.x=64&Suivi.y=7&Suivi=Valider&InquiryNumber1={TRACKID}', 0, NULL),
(6, '2016-02-15 16:09:09', 'KIALA', 'KIALA', 'Relais Kiala', 'http://www.kiala.fr/tnt/delivery/{TRACKID}', 0, NULL),
(7, '2016-02-15 16:09:09', 'GLS', 'GLS', 'General Logistics Systems', 'https://gls-group.eu/FR/fr/suivi-colis?match={TRACKID}', 0, NULL),
(8, '2016-02-15 16:09:09', 'CHRONO', 'Chronopost', 'Chronopost', 'http://www.chronopost.fr/expedier/inputLTNumbersNoJahia.do?listeNumeros={TRACKID}', 0, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_stcomm`
--

CREATE TABLE `llx_c_stcomm` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `picto` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_stcomm`
--

INSERT INTO `llx_c_stcomm` (`id`, `code`, `libelle`, `picto`, `active`) VALUES
(-1, 'ST_NO', 'Do not contact', NULL, 1),
(0, 'ST_NEVER', 'Never contacted', NULL, 1),
(1, 'ST_TODO', 'To contact', NULL, 1),
(2, 'ST_PEND', 'Contact in progress', NULL, 1),
(3, 'ST_DONE', 'Contacted', NULL, 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_tva`
--

CREATE TABLE `llx_c_tva` (
  `rowid` int(11) NOT NULL,
  `fk_pays` int(11) NOT NULL,
  `taux` double NOT NULL,
  `localtax1` varchar(20) NOT NULL DEFAULT '0',
  `localtax1_type` varchar(10) NOT NULL DEFAULT '0',
  `localtax2` varchar(20) NOT NULL DEFAULT '0',
  `localtax2_type` varchar(10) NOT NULL DEFAULT '0',
  `recuperableonly` int(11) NOT NULL DEFAULT '0',
  `note` varchar(128) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_tva`
--

INSERT INTO `llx_c_tva` (`rowid`, `fk_pays`, `taux`, `localtax1`, `localtax1_type`, `localtax2`, `localtax2_type`, `recuperableonly`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES
(11, 1, 20, '0', '0', '0', '0', 0, 'VAT standard rate (France hors DOM-TOM)', 1, NULL, NULL),
(12, 1, 8.5, '0', '0', '0', '0', 0, 'VAT standard rate (DOM sauf Guyane et Saint-Martin)', 0, NULL, NULL),
(13, 1, 8.5, '0', '0', '0', '0', 1, 'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur', 0, NULL, NULL),
(14, 1, 5.5, '0', '0', '0', '0', 0, 'VAT reduced rate (France hors DOM-TOM)', 1, NULL, NULL),
(15, 1, 0, '0', '0', '0', '0', 0, 'VAT Rate 0 ou non applicable', 1, NULL, NULL),
(16, 1, 2.1, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(17, 1, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(21, 2, 21, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(22, 2, 6, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(23, 2, 0, '0', '0', '0', '0', 0, 'VAT Rate 0 ou non applicable', 1, NULL, NULL),
(24, 2, 12, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(31, 3, 21, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(32, 3, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(33, 3, 4, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(34, 3, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(41, 4, 21, '5.2', '3', '-19:-15:-9', '5', 0, 'VAT standard rate', 1, NULL, NULL),
(42, 4, 10, '1.4', '3', '-19:-15:-9', '5', 0, 'VAT reduced rate', 1, NULL, NULL),
(43, 4, 4, '0.5', '3', '-19:-15:-9', '5', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(44, 4, 0, '0', '3', '-19:-15:-9', '5', 0, 'VAT Rate 0', 1, NULL, NULL),
(51, 5, 19, '0', '0', '0', '0', 0, 'allgemeine Ust.', 1, NULL, NULL),
(52, 5, 7, '0', '0', '0', '0', 0, 'ermäßigte USt.', 1, NULL, NULL),
(53, 5, 0, '0', '0', '0', '0', 0, 'keine USt.', 1, NULL, NULL),
(54, 5, 5.5, '0', '0', '0', '0', 0, 'USt. Forst', 0, NULL, NULL),
(55, 5, 10.7, '0', '0', '0', '0', 0, 'USt. Landwirtschaft', 0, NULL, NULL),
(61, 6, 8, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(62, 6, 3.8, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(63, 6, 2.5, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(64, 6, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(71, 7, 20, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(72, 7, 17.5, '0', '0', '0', '0', 0, 'VAT standard rate before 2011', 1, NULL, NULL),
(73, 7, 5, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(74, 7, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(81, 8, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(82, 8, 23, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(83, 8, 13.5, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(84, 8, 9, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(85, 8, 4.8, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(91, 9, 17, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(92, 9, 13, '0', '0', '0', '0', 0, 'VAT reduced rate 0', 1, NULL, NULL),
(93, 9, 3, '0', '0', '0', '0', 0, 'VAT super reduced rate 0', 1, NULL, NULL),
(94, 9, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(101, 10, 6, '1', '4', '0', '0', 0, 'VAT 6%', 1, NULL, NULL),
(102, 10, 12, '1', '4', '0', '0', 0, 'VAT 12%', 1, NULL, NULL),
(103, 10, 18, '1', '4', '0', '0', 0, 'VAT 18%', 1, NULL, NULL),
(104, 10, 7.5, '1', '4', '0', '0', 0, 'VAT 6% Majoré à 25% (7.5%)', 1, NULL, NULL),
(105, 10, 15, '1', '4', '0', '0', 0, 'VAT 12% Majoré à 25% (15%)', 1, NULL, NULL),
(106, 10, 22.5, '1', '4', '0', '0', 0, 'VAT 18% Majoré à 25% (22.5%)', 1, NULL, NULL),
(107, 10, 0, '1', '4', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(111, 11, 0, '0', '0', '0', '0', 0, 'No Sales Tax', 1, NULL, NULL),
(112, 11, 4, '0', '0', '0', '0', 0, 'Sales Tax 4%', 1, NULL, NULL),
(113, 11, 6, '0', '0', '0', '0', 0, 'Sales Tax 6%', 1, NULL, NULL),
(121, 12, 20, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(122, 12, 14, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(123, 12, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(124, 12, 7, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(125, 12, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(141, 14, 7, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(142, 14, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(143, 14, 5, '9.975', '1', '0', '0', 0, 'GST/TPS and PST/TVQ rate for Province', 1, NULL, NULL),
(171, 17, 19, '0', '0', '0', '0', 0, 'Algemeen BTW tarief', 1, NULL, NULL),
(172, 17, 6, '0', '0', '0', '0', 0, 'Verlaagd BTW tarief', 1, NULL, NULL),
(173, 17, 0, '0', '0', '0', '0', 0, '0 BTW tarief', 1, NULL, NULL),
(174, 17, 21, '0', '0', '0', '0', 0, 'Algemeen BTW tarief (vanaf 1 oktober 2012)', 0, NULL, NULL),
(201, 20, 25, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(202, 20, 12, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(203, 20, 6, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(204, 20, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(211, 21, 0, '0', '0', '0', '0', 0, 'IVA Rate 0', 1, NULL, NULL),
(212, 21, 18, '7.5', '2', '0', '0', 0, 'IVA standard rate', 1, NULL, NULL),
(221, 22, 18, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(222, 22, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(223, 22, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(231, 23, 21, '0', '0', '0', '0', 0, 'IVA standard rate', 1, NULL, NULL),
(232, 23, 10.5, '0', '0', '0', '0', 0, 'IVA reduced rate', 1, NULL, NULL),
(233, 23, 0, '0', '0', '0', '0', 0, 'IVA Rate 0', 1, NULL, NULL),
(241, 24, 19.25, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(242, 24, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(251, 25, 23, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(252, 25, 13, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(253, 25, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(254, 25, 6, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(261, 26, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(271, 27, 19.6, '0', '0', '0', '0', 0, 'VAT standard rate (France hors DOM-TOM)', 1, NULL, NULL),
(272, 27, 8.5, '0', '0', '0', '0', 0, 'VAT standard rate (DOM sauf Guyane et Saint-Martin)', 0, NULL, NULL),
(273, 27, 8.5, '0', '0', '0', '0', 1, 'VAT standard rate (DOM sauf Guyane et Saint-Martin), non perçu par le vendeur mais récupérable par acheteur', 0, NULL, NULL),
(274, 27, 5.5, '0', '0', '0', '0', 0, 'VAT reduced rate (France hors DOM-TOM)', 0, NULL, NULL),
(275, 27, 0, '0', '0', '0', '0', 0, 'VAT Rate 0 ou non applicable', 1, NULL, NULL),
(276, 27, 2.1, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(277, 27, 7, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(281, 28, 10, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(282, 28, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(411, 41, 20, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(412, 41, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(413, 41, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(461, 46, 0, '0', '0', '0', '0', 0, 'No VAT', 1, NULL, NULL),
(462, 46, 15, '0', '0', '0', '0', 0, 'VAT 15%', 1, NULL, NULL),
(463, 46, 7.5, '0', '0', '0', '0', 0, 'VAT 7.5%', 1, NULL, NULL),
(561, 56, 0, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(591, 59, 20, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(592, 59, 7, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(593, 59, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(671, 67, 19, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(672, 67, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(801, 80, 25, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(802, 80, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(861, 86, 13, '0', '0', '0', '0', 0, 'IVA 13', 1, NULL, NULL),
(862, 86, 0, '0', '0', '0', '0', 0, 'SIN IVA', 1, NULL, NULL),
(1141, 114, 0, '0', '0', '0', '0', 0, 'No ISV', 1, NULL, NULL),
(1142, 114, 12, '0', '0', '0', '0', 0, 'ISV 12%', 1, NULL, NULL),
(1161, 116, 25.5, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1162, 116, 7, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1163, 116, 0, '0', '0', '0', '0', 0, 'VAT rate 0', 1, NULL, NULL),
(1171, 117, 12.5, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1172, 117, 4, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1173, 117, 1, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(1174, 117, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1231, 123, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1232, 123, 5, '0', '0', '0', '0', 0, 'VAT Rate 5', 1, NULL, NULL),
(1401, 140, 15, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1402, 140, 12, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1403, 140, 6, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1404, 140, 3, '0', '0', '0', '0', 0, 'VAT super-reduced rate', 1, NULL, NULL),
(1405, 140, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1511, 151, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1512, 151, 14, '0', '0', '0', '0', 0, 'VAT Rate 14', 1, NULL, NULL),
(1521, 152, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1522, 152, 15, '0', '0', '0', '0', 0, 'VAT Rate 15', 1, NULL, NULL),
(1541, 154, 0, '0', '0', '0', '0', 0, 'No VAT', 1, NULL, NULL),
(1542, 154, 16, '0', '0', '0', '0', 0, 'VAT 16%', 1, NULL, NULL),
(1543, 154, 10, '0', '0', '0', '0', 0, 'VAT Frontero', 1, NULL, NULL),
(1662, 166, 15, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1663, 166, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1692, 169, 5, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1693, 169, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1731, 173, 25, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1732, 173, 14, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1733, 173, 8, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1734, 173, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1811, 181, 18, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1812, 181, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1841, 184, 20, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1842, 184, 7, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1843, 184, 3, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1844, 184, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1881, 188, 24, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(1882, 188, 9, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1883, 188, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(1884, 188, 5, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(1931, 193, 0, '0', '0', '0', '0', 0, 'No VAT in SPM', 1, NULL, NULL),
(2011, 201, 19, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(2012, 201, 10, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(2013, 201, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(2021, 202, 22, '0', '0', '0', '0', 0, 'VAT standard rate', 1, NULL, NULL),
(2022, 202, 9.5, '0', '0', '0', '0', 0, 'VAT reduced rate', 1, NULL, NULL),
(2023, 202, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(2051, 205, 0, '0', '0', '0', '0', 0, 'No VAT', 1, NULL, NULL),
(2052, 205, 14, '0', '0', '0', '0', 0, 'VAT 14%', 1, NULL, NULL),
(2131, 213, 5, '0', '0', '0', '0', 0, 'VAT 5%', 1, NULL, NULL),
(2261, 226, 20, '0', '0', '0', '0', 0, 'VAT standart rate', 1, NULL, NULL),
(2262, 226, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(2321, 232, 0, '0', '0', '0', '0', 0, 'No VAT', 1, NULL, NULL),
(2322, 232, 12, '0', '0', '0', '0', 0, 'VAT 12%', 1, NULL, NULL),
(2323, 232, 8, '0', '0', '0', '0', 0, 'VAT 8%', 1, NULL, NULL),
(2461, 246, 0, '0', '0', '0', '0', 0, 'VAT Rate 0', 1, NULL, NULL),
(2462, 102, 23, '0', '0', '0', '0', 0, '????????? ?.?.?.', 1, NULL, NULL),
(2463, 102, 0, '0', '0', '0', '0', 0, '???????? ?.?.?.', 1, NULL, NULL),
(2464, 102, 13, '0', '0', '0', '0', 0, '????????? ?.?.?.', 1, NULL, NULL),
(2465, 102, 6.5, '0', '0', '0', '0', 0, '????????????? ?.?.?.', 1, NULL, NULL),
(2466, 102, 16, '0', '0', '0', '0', 0, '????? ????????? ?.?.?.', 1, NULL, NULL),
(2467, 102, 9, '0', '0', '0', '0', 0, '????? ????????? ?.?.?.', 1, NULL, NULL),
(2468, 102, 5, '0', '0', '0', '0', 0, '????? ????????????? ?.?.?.', 1, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_typent`
--

CREATE TABLE `llx_c_typent` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `libelle` varchar(30) DEFAULT NULL,
  `fk_country` int(11) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_typent`
--

INSERT INTO `llx_c_typent` (`id`, `code`, `libelle`, `fk_country`, `active`, `module`) VALUES
(0, 'TE_UNKNOWN', '-', NULL, 1, NULL),
(1, 'TE_STARTUP', 'Start-up', NULL, 0, NULL),
(2, 'TE_GROUP', 'Grand groupe', NULL, 1, NULL),
(3, 'TE_MEDIUM', 'PME/PMI', NULL, 1, NULL),
(4, 'TE_SMALL', 'TPE', NULL, 1, NULL),
(5, 'TE_ADMIN', 'Administration', NULL, 1, NULL),
(6, 'TE_WHOLE', 'Grossiste', NULL, 0, NULL),
(7, 'TE_RETAIL', 'Revendeur', NULL, 0, NULL),
(8, 'TE_PRIVATE', 'Particulier', NULL, 1, NULL),
(100, 'TE_OTHER', 'Autres', NULL, 1, NULL),
(231, 'TE_A_RI', 'Responsable Inscripto', 23, 0, NULL),
(232, 'TE_B_RNI', 'Responsable No Inscripto', 23, 0, NULL),
(233, 'TE_C_FE', 'Consumidor Final/Exento', 23, 0, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_type_contact`
--

CREATE TABLE `llx_c_type_contact` (
  `rowid` int(11) NOT NULL,
  `element` varchar(30) NOT NULL,
  `source` varchar(8) NOT NULL DEFAULT 'external',
  `code` varchar(32) NOT NULL,
  `libelle` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_type_contact`
--

INSERT INTO `llx_c_type_contact` (`rowid`, `element`, `source`, `code`, `libelle`, `active`, `module`) VALUES
(10, 'contrat', 'internal', 'SALESREPSIGN', 'Commercial signataire du contrat', 1, NULL),
(11, 'contrat', 'internal', 'SALESREPFOLL', 'Commercial suivi du contrat', 1, NULL),
(20, 'contrat', 'external', 'BILLING', 'Contact client facturation contrat', 1, NULL),
(21, 'contrat', 'external', 'CUSTOMER', 'Contact client suivi contrat', 1, NULL),
(22, 'contrat', 'external', 'SALESREPSIGN', 'Contact client signataire contrat', 1, NULL),
(31, 'propal', 'internal', 'SALESREPFOLL', 'Commercial à l\'origine de la propale', 1, NULL),
(40, 'propal', 'external', 'BILLING', 'Contact client facturation propale', 1, NULL),
(41, 'propal', 'external', 'CUSTOMER', 'Contact client suivi propale', 1, NULL),
(50, 'facture', 'internal', 'SALESREPFOLL', 'Responsable suivi du paiement', 1, NULL),
(60, 'facture', 'external', 'BILLING', 'Contact client facturation', 1, NULL),
(61, 'facture', 'external', 'SHIPPING', 'Contact client livraison', 1, NULL),
(62, 'facture', 'external', 'SERVICE', 'Contact client prestation', 1, NULL),
(70, 'invoice_supplier', 'internal', 'SALESREPFOLL', 'Responsable suivi du paiement', 1, NULL),
(71, 'invoice_supplier', 'external', 'BILLING', 'Contact fournisseur facturation', 1, NULL),
(72, 'invoice_supplier', 'external', 'SHIPPING', 'Contact fournisseur livraison', 1, NULL),
(73, 'invoice_supplier', 'external', 'SERVICE', 'Contact fournisseur prestation', 1, NULL),
(80, 'agenda', 'internal', 'ACTOR', 'Responsable', 1, NULL),
(81, 'agenda', 'internal', 'GUEST', 'Guest', 1, NULL),
(85, 'agenda', 'external', 'ACTOR', 'Responsable', 1, NULL),
(86, 'agenda', 'external', 'GUEST', 'Guest', 1, NULL),
(91, 'commande', 'internal', 'SALESREPFOLL', 'Responsable suivi de la commande', 1, NULL),
(100, 'commande', 'external', 'BILLING', 'Contact client facturation commande', 1, NULL),
(101, 'commande', 'external', 'CUSTOMER', 'Contact client suivi commande', 1, NULL),
(102, 'commande', 'external', 'SHIPPING', 'Contact client livraison commande', 1, NULL),
(120, 'fichinter', 'internal', 'INTERREPFOLL', 'Responsable suivi de l\'intervention', 1, NULL),
(121, 'fichinter', 'internal', 'INTERVENING', 'Intervenant', 1, NULL),
(130, 'fichinter', 'external', 'BILLING', 'Contact client facturation intervention', 1, NULL),
(131, 'fichinter', 'external', 'CUSTOMER', 'Contact client suivi de l\'intervention', 1, NULL),
(140, 'order_supplier', 'internal', 'SALESREPFOLL', 'Responsable suivi de la commande', 1, NULL),
(141, 'order_supplier', 'internal', 'SHIPPING', 'Responsable réception de la commande', 1, NULL),
(142, 'order_supplier', 'external', 'BILLING', 'Contact fournisseur facturation commande', 1, NULL),
(143, 'order_supplier', 'external', 'CUSTOMER', 'Contact fournisseur suivi commande', 1, NULL),
(145, 'order_supplier', 'external', 'SHIPPING', 'Contact fournisseur livraison commande', 1, NULL),
(160, 'project', 'internal', 'PROJECTLEADER', 'Chef de Projet', 1, NULL),
(161, 'project', 'internal', 'PROJECTCONTRIBUTOR', 'Intervenant', 1, NULL),
(170, 'project', 'external', 'PROJECTLEADER', 'Chef de Projet', 1, NULL),
(171, 'project', 'external', 'PROJECTCONTRIBUTOR', 'Intervenant', 1, NULL),
(180, 'project_task', 'internal', 'TASKEXECUTIVE', 'Responsable', 1, NULL),
(181, 'project_task', 'internal', 'TASKCONTRIBUTOR', 'Intervenant', 1, NULL),
(190, 'project_task', 'external', 'TASKEXECUTIVE', 'Responsable', 1, NULL),
(191, 'project_task', 'external', 'TASKCONTRIBUTOR', 'Intervenant', 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_type_fees`
--

CREATE TABLE `llx_c_type_fees` (
  `id` int(11) NOT NULL,
  `code` varchar(12) NOT NULL,
  `label` varchar(30) DEFAULT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_type_fees`
--

INSERT INTO `llx_c_type_fees` (`id`, `code`, `label`, `accountancy_code`, `active`, `module`) VALUES
(1, 'TF_OTHER', 'Other', NULL, 1, NULL),
(2, 'TF_TRIP', 'Transportation', NULL, 1, NULL),
(3, 'TF_LUNCH', 'Lunch', NULL, 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_type_resource`
--

CREATE TABLE `llx_c_type_resource` (
  `rowid` int(11) NOT NULL,
  `code` varchar(32) NOT NULL,
  `label` varchar(64) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_units`
--

CREATE TABLE `llx_c_units` (
  `rowid` int(11) NOT NULL,
  `code` varchar(3) DEFAULT NULL,
  `label` varchar(50) DEFAULT NULL,
  `short_label` varchar(5) DEFAULT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_c_units`
--

INSERT INTO `llx_c_units` (`rowid`, `code`, `label`, `short_label`, `active`) VALUES
(1, 'P', 'piece', 'p', 1),
(2, 'SET', 'set', 'se', 1),
(3, 'S', 'second', 's', 1),
(4, 'H', 'hour', 'h', 1),
(5, 'D', 'day', 'd', 1),
(6, 'KG', 'kilogram', 'kg', 1),
(7, 'G', 'gram', 'g', 1),
(8, 'M', 'meter', 'm', 1),
(9, 'LM', 'linear meter', 'lm', 1),
(10, 'M2', 'square meter', 'm2', 1),
(11, 'M3', 'cubic meter', 'm3', 1),
(12, 'L', 'liter', 'l', 1);

-- --------------------------------------------------------

--
-- Structure de la table `llx_c_ziptown`
--

CREATE TABLE `llx_c_ziptown` (
  `rowid` int(11) NOT NULL,
  `code` varchar(5) DEFAULT NULL,
  `fk_county` int(11) DEFAULT NULL,
  `fk_pays` int(11) NOT NULL DEFAULT '0',
  `zip` varchar(10) NOT NULL,
  `town` varchar(255) NOT NULL,
  `active` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_deplacement`
--

CREATE TABLE `llx_deplacement` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `datec` datetime NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `dated` datetime DEFAULT NULL,
  `fk_user` int(11) NOT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `type` varchar(12) NOT NULL,
  `fk_statut` int(11) NOT NULL DEFAULT '1',
  `km` double DEFAULT NULL,
  `fk_soc` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT '0',
  `note_private` text,
  `note_public` text,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_document_generator`
--

CREATE TABLE `llx_document_generator` (
  `rowid` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `classfile` varchar(255) NOT NULL,
  `class` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_document_model`
--

CREATE TABLE `llx_document_model` (
  `rowid` int(11) NOT NULL,
  `nom` varchar(50) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `type` varchar(20) NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `description` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_document_model`
--

INSERT INTO `llx_document_model` (`rowid`, `nom`, `entity`, `type`, `libelle`, `description`) VALUES
(1, 'azur', 1, 'propal', NULL, NULL),
(2, 'einstein', 1, 'order', NULL, NULL),
(3, 'crabe', 1, 'invoice', NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_don`
--

CREATE TABLE `llx_don` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(30) DEFAULT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `datec` datetime DEFAULT NULL,
  `datedon` datetime DEFAULT NULL,
  `amount` double DEFAULT '0',
  `fk_payment` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `firstname` varchar(50) DEFAULT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `societe` varchar(50) DEFAULT NULL,
  `address` text,
  `zip` varchar(30) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `country` varchar(50) DEFAULT NULL,
  `fk_country` int(11) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(24) DEFAULT NULL,
  `phone_mobile` varchar(24) DEFAULT NULL,
  `public` smallint(6) NOT NULL DEFAULT '1',
  `fk_projet` int(11) DEFAULT NULL,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_don_extrafields`
--

CREATE TABLE `llx_don_extrafields` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_object` int(11) NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_ecm_directories`
--

CREATE TABLE `llx_ecm_directories` (
  `rowid` int(11) NOT NULL,
  `label` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_parent` int(11) DEFAULT NULL,
  `description` varchar(255) NOT NULL,
  `cachenbofdoc` int(11) NOT NULL DEFAULT '0',
  `fullpath` varchar(255) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `date_c` datetime DEFAULT NULL,
  `date_m` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_c` int(11) DEFAULT NULL,
  `fk_user_m` int(11) DEFAULT NULL,
  `acl` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_element_contact`
--

CREATE TABLE `llx_element_contact` (
  `rowid` int(11) NOT NULL,
  `datecreate` datetime DEFAULT NULL,
  `statut` smallint(6) DEFAULT '5',
  `element_id` int(11) NOT NULL,
  `fk_c_type_contact` int(11) NOT NULL,
  `fk_socpeople` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_element_element`
--

CREATE TABLE `llx_element_element` (
  `rowid` int(11) NOT NULL,
  `fk_source` int(11) NOT NULL,
  `sourcetype` varchar(32) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_element_element`
--

INSERT INTO `llx_element_element` (`rowid`, `fk_source`, `sourcetype`, `fk_target`, `targettype`) VALUES
(1, 12, 'propal', 11, 'facture'),
(2, 28, 'propal', 14, 'facture'),
(3, 84, 'propal', 46, 'facture');

-- --------------------------------------------------------

--
-- Structure de la table `llx_element_lock`
--

CREATE TABLE `llx_element_lock` (
  `rowid` int(11) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `elementtype` varchar(32) NOT NULL,
  `datel` datetime DEFAULT NULL,
  `datem` datetime DEFAULT NULL,
  `sessionid` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_element_resources`
--

CREATE TABLE `llx_element_resources` (
  `rowid` int(11) NOT NULL,
  `element_id` int(11) DEFAULT NULL,
  `element_type` varchar(64) DEFAULT NULL,
  `resource_id` int(11) DEFAULT NULL,
  `resource_type` varchar(64) DEFAULT NULL,
  `busy` int(11) DEFAULT NULL,
  `mandatory` int(11) DEFAULT NULL,
  `fk_user_create` int(11) DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_element_tag`
--

CREATE TABLE `llx_element_tag` (
  `rowid` int(11) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `lang` varchar(5) NOT NULL,
  `tag` varchar(255) NOT NULL,
  `fk_element` int(11) NOT NULL,
  `element` varchar(64) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_entrepot`
--

CREATE TABLE `llx_entrepot` (
  `rowid` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(255) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `description` text,
  `lieu` varchar(64) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `town` varchar(50) DEFAULT NULL,
  `fk_departement` int(11) DEFAULT NULL,
  `fk_pays` int(11) DEFAULT '0',
  `statut` tinyint(4) DEFAULT '1',
  `valo_pmp` float(12,4) DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_events`
--

CREATE TABLE `llx_events` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `type` varchar(32) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `dateevent` datetime DEFAULT NULL,
  `fk_user` int(11) DEFAULT NULL,
  `description` varchar(250) NOT NULL,
  `ip` varchar(32) NOT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `fk_object` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_event_element`
--

CREATE TABLE `llx_event_element` (
  `rowid` int(11) NOT NULL,
  `fk_source` int(11) NOT NULL,
  `fk_target` int(11) NOT NULL,
  `targettype` varchar(32) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_expedition`
--

CREATE TABLE `llx_expedition` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `ref` varchar(30) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `fk_soc` int(11) NOT NULL,
  `ref_ext` varchar(30) DEFAULT NULL,
  `ref_int` varchar(30) DEFAULT NULL,
  `ref_customer` varchar(30) DEFAULT NULL,
  `date_creation` datetime DEFAULT NULL,
  `fk_user_author` int(11) DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `date_expedition` datetime DEFAULT NULL,
  `date_delivery` datetime DEFAULT NULL,
  `fk_address` int(11) DEFAULT NULL,
  `fk_shipping_method` int(11) DEFAULT NULL,
  `tracking_number` varchar(50) DEFAULT NULL,
  `fk_statut` smallint(6) DEFAULT '0',
  `height` float DEFAULT NULL,
  `width` float DEFAULT NULL,
  `size_units` int(11) DEFAULT NULL,
  `size` float DEFAULT NULL,
  `weight_units` int(11) DEFAULT NULL,
  `weight` float DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_expeditiondet`
--

CREATE TABLE `llx_expeditiondet` (
  `rowid` int(11) NOT NULL,
  `fk_expedition` int(11) NOT NULL,
  `fk_origin_line` int(11) DEFAULT NULL,
  `fk_entrepot` int(11) DEFAULT NULL,
  `qty` double DEFAULT NULL,
  `rang` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_expeditiondet_batch`
--

CREATE TABLE `llx_expeditiondet_batch` (
  `rowid` int(11) NOT NULL,
  `fk_expeditiondet` int(11) NOT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `batch` varchar(30) DEFAULT NULL,
  `qty` double NOT NULL DEFAULT '0',
  `fk_origin_stock` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_expensereport`
--

CREATE TABLE `llx_expensereport` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(50) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `ref_number_int` int(11) DEFAULT NULL,
  `ref_ext` int(11) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT '0.00000000',
  `total_tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `date_create` datetime NOT NULL,
  `date_valid` datetime DEFAULT NULL,
  `date_approve` datetime DEFAULT NULL,
  `date_refuse` datetime DEFAULT NULL,
  `date_cancel` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_author` int(11) NOT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_user_validator` int(11) DEFAULT NULL,
  `fk_user_approve` int(11) DEFAULT NULL,
  `fk_user_refuse` int(11) DEFAULT NULL,
  `fk_user_cancel` int(11) DEFAULT NULL,
  `fk_statut` int(11) NOT NULL,
  `fk_c_paiement` int(11) DEFAULT NULL,
  `paid` smallint(6) NOT NULL DEFAULT '0',
  `note_public` text,
  `note_private` text,
  `detail_refuse` varchar(255) DEFAULT NULL,
  `detail_cancel` varchar(255) DEFAULT NULL,
  `integration_compta` int(11) DEFAULT NULL,
  `fk_bank_account` int(11) DEFAULT NULL,
  `model_pdf` varchar(50) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_expensereport_det`
--

CREATE TABLE `llx_expensereport_det` (
  `rowid` int(11) NOT NULL,
  `fk_expensereport` int(11) NOT NULL,
  `fk_c_type_fees` int(11) NOT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `comments` text NOT NULL,
  `product_type` int(11) DEFAULT '-1',
  `qty` double NOT NULL,
  `value_unit` double NOT NULL,
  `remise_percent` double DEFAULT NULL,
  `tva_tx` double(6,3) DEFAULT NULL,
  `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,
  `total_ht` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_tva` double(24,8) NOT NULL DEFAULT '0.00000000',
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) NOT NULL DEFAULT '0.00000000',
  `date` date NOT NULL,
  `info_bits` int(11) DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_export_compta`
--

CREATE TABLE `llx_export_compta` (
  `rowid` int(11) NOT NULL,
  `ref` varchar(12) NOT NULL,
  `date_export` datetime NOT NULL,
  `fk_user` int(11) NOT NULL,
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_export_model`
--

CREATE TABLE `llx_export_model` (
  `rowid` int(11) NOT NULL,
  `fk_user` int(11) NOT NULL DEFAULT '0',
  `label` varchar(50) NOT NULL,
  `type` varchar(20) NOT NULL,
  `field` text NOT NULL,
  `filter` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_extrafields`
--

CREATE TABLE `llx_extrafields` (
  `rowid` int(11) NOT NULL,
  `name` varchar(64) NOT NULL,
  `entity` int(11) NOT NULL DEFAULT '1',
  `elementtype` varchar(64) NOT NULL DEFAULT 'member',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(255) NOT NULL,
  `type` varchar(8) DEFAULT NULL,
  `size` varchar(8) DEFAULT NULL,
  `fieldunique` int(11) DEFAULT '0',
  `fieldrequired` int(11) DEFAULT '0',
  `perms` varchar(255) DEFAULT NULL,
  `pos` int(11) DEFAULT '0',
  `alwayseditable` int(11) DEFAULT '0',
  `param` text,
  `list` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `llx_facture`
--

CREATE TABLE `llx_facture` (
  `rowid` int(11) NOT NULL,
  `facnumber` 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,
  `type` smallint(6) NOT NULL DEFAULT '0',
  `increment` varchar(10) DEFAULT NULL,
  `fk_soc` int(11) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `datef` date DEFAULT NULL,
  `date_valid` date DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `paye` smallint(6) NOT NULL DEFAULT '0',
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `remise_percent` double DEFAULT '0',
  `remise_absolue` double DEFAULT '0',
  `remise` double DEFAULT '0',
  `close_code` varchar(16) DEFAULT NULL,
  `close_note` varchar(128) DEFAULT NULL,
  `tva` double(24,8) DEFAULT '0.00000000',
  `localtax1` double(24,8) DEFAULT '0.00000000',
  `localtax2` double(24,8) DEFAULT '0.00000000',
  `revenuestamp` double(24,8) DEFAULT '0.00000000',
  `total` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT '0.00000000',
  `fk_statut` smallint(6) NOT NULL DEFAULT '0',
  `fk_user_author` int(11) DEFAULT NULL,
  `fk_user_modif` int(11) DEFAULT NULL,
  `fk_user_valid` int(11) DEFAULT NULL,
  `fk_facture_source` int(11) DEFAULT NULL,
  `fk_projet` int(11) DEFAULT NULL,
  `fk_account` int(11) DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int(11) NOT NULL DEFAULT '1',
  `fk_mode_reglement` int(11) DEFAULT NULL,
  `date_lim_reglement` date DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `fk_incoterms` int(11) DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `situation_cycle_ref` smallint(6) DEFAULT NULL,
  `situation_counter` smallint(6) DEFAULT NULL,
  `situation_final` smallint(6) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_facture`
--

INSERT INTO `llx_facture` (`rowid`, `facnumber`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `type`, `increment`, `fk_soc`, `datec`, `datef`, `date_valid`, `tms`, `paye`, `amount`, `remise_percent`, `remise_absolue`, `remise`, `close_code`, `close_note`, `tva`, `localtax1`, `localtax2`, `revenuestamp`, `total`, `total_ttc`, `fk_statut`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_facture_source`, `fk_projet`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `date_lim_reglement`, `note_private`, `note_public`, `model_pdf`, `fk_incoterms`, `location_incoterms`, `situation_cycle_ref`, `situation_counter`, `situation_final`, `import_key`, `extraparams`) VALUES
(1, 'FA1603-0001', 1, NULL, NULL, NULL, 0, NULL, 4, '2016-03-08 12:20:33', '2016-03-07', '2016-03-08', '2017-01-25 09:42:09', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 921.57000000, 0.00000000, 0.00000000, 0.00000000, 15359.49000000, 16281.06000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-03-07', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(2, 'FA1604-0002', 1, NULL, NULL, NULL, 0, NULL, 4, '2016-04-13 16:39:06', '2016-04-07', '2016-04-13', '2017-01-25 09:42:09', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 1017.80000000, 0.00000000, 0.00000000, 0.00000000, 16963.26000000, 17981.06000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-04-13', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(4, 'FA1605-0003', 1, NULL, NULL, NULL, 0, NULL, 6, '2016-05-19 15:57:24', '2016-05-18', '2016-05-19', '2016-12-02 12:54:43', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 600.00000000, 0.00000000, 0.00000000, 0.00000000, 10000.00000000, 10600.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-05-18', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(5, 'FA1605-0004', 1, NULL, NULL, NULL, 0, NULL, 6, '2016-05-23 15:24:34', '2016-05-23', '2016-05-23', '2016-06-01 07:10:10', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 642.00000000, 0.00000000, 0.00000000, 0.00000000, 10700.00000000, 11342.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-05-23', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(6, 'FA1605-0005', 1, NULL, NULL, NULL, 0, NULL, 10, '2016-05-31 11:33:52', '2016-05-31', '2016-05-31', '2016-05-31 07:34:33', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 126.00000000, 0.00000000, 0.00000000, 0.00000000, 600.00000000, 726.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-05-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(7, 'FA1607-0006', 1, NULL, NULL, NULL, 0, NULL, 4, '2016-07-19 15:21:05', '2016-07-19', '2016-09-12', '2017-01-25 09:42:09', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 488.40000000, 0.00000000, 0.00000000, 0.00000000, 8140.00000000, 8628.40000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-07-19', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(8, 'FA1609-0007', 1, NULL, NULL, NULL, 0, NULL, 7, '2016-09-05 10:37:22', '2016-09-05', '2016-09-05', '2017-05-24 13:00:22', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 676.80000000, 0.00000000, 0.00000000, 0.00000000, 11280.00000000, 11956.80000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-09-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(10, 'FA1610-0008', 1, NULL, NULL, NULL, 0, NULL, 38, '2016-10-31 17:37:59', '2016-10-31', '2016-12-02', '2016-12-16 08:32:28', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 703.50000000, 0.00000000, 0.00000000, 0.00000000, 3350.00000000, 4053.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-10-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(11, 'FA1610-0009', 1, NULL, NULL, NULL, 0, NULL, 5, '2016-10-31 18:05:53', '2016-10-31', '2016-10-31', '2016-12-16 08:28:20', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 265.20000000, 0.00000000, 0.00000000, 0.00000000, 4420.00000000, 4685.20000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-10-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(12, 'FA1611-0010', 1, NULL, NULL, NULL, 0, NULL, 38, '2016-11-25 13:34:57', '2016-11-25', '2016-12-02', '2016-12-16 08:32:28', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 1438.50000000, 0.00000000, 0.00000000, 0.00000000, 6850.00000000, 8288.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-11-25', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(13, 'FA1611-0011', 1, NULL, NULL, NULL, 0, NULL, 38, '2016-11-25 13:36:59', '2016-11-25', '2016-12-02', '2016-12-16 08:32:28', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2499.00000000, 0.00000000, 0.00000000, 0.00000000, 11900.00000000, 14399.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-11-25', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(14, 'AC1611-0001', 1, NULL, NULL, NULL, 3, NULL, 25, '2016-11-28 15:03:37', '2016-11-28', '2016-11-28', '2017-01-25 09:41:21', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 192.00000000, 0.00000000, 0.00000000, 0.00000000, 3200.00000000, 3392.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-11-28', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(15, 'AC1611-0002', 1, NULL, NULL, NULL, 3, NULL, 25, '2016-11-28 15:11:41', '2016-11-28', '2016-11-28', '2017-01-25 09:41:21', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 244.79000000, 0.00000000, 0.00000000, 0.00000000, 1165.69000000, 1410.48000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-11-28', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(16, 'FA1611-0012', 1, NULL, NULL, NULL, 0, NULL, 38, '2016-11-30 17:00:31', '2016-11-30', '2016-12-02', '2016-12-16 08:32:28', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 163.80000000, 0.00000000, 0.00000000, 0.00000000, 780.00000000, 943.80000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-11-30', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(17, 'FA1612-0013', 1, NULL, NULL, NULL, 0, NULL, 6, '2016-12-02 16:25:44', '2016-12-02', '2016-12-02', '2016-12-16 08:33:20', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 928.20000000, 0.00000000, 0.00000000, 0.00000000, 4420.00000000, 5348.20000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 0, 0, '2016-12-02', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(18, 'AV1612-0001', 1, NULL, NULL, NULL, 2, NULL, 5, '2016-12-02 16:27:13', '2016-12-02', '2016-12-02', '2016-12-16 08:28:45', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, -265.20000000, 0.00000000, 0.00000000, 0.00000000, -4420.00000000, -4685.20000000, 2, 3, NULL, 3, 11, NULL, NULL, NULL, 0, 0, '2016-12-02', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(20, 'AV1612-0002', 1, NULL, NULL, NULL, 2, NULL, 6, '2016-12-05 17:27:53', '2016-12-05', '2016-12-05', '2017-02-15 08:35:35', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, -600.00000000, 0.00000000, 0.00000000, 0.00000000, -10000.00000000, -10600.00000000, 2, 3, NULL, 3, 4, NULL, NULL, NULL, 0, 0, '2016-12-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(21, 'AV1612-0003', 1, NULL, NULL, NULL, 2, NULL, 6, '2016-12-05 17:28:19', '2016-12-05', '2016-12-05', '2017-02-15 08:35:36', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, -642.00000000, 0.00000000, 0.00000000, 0.00000000, -10700.00000000, -11342.00000000, 2, 3, NULL, 3, 5, NULL, NULL, NULL, 0, 0, '2016-12-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(22, 'FA1612-0014', 1, NULL, NULL, NULL, 0, NULL, 6, '2016-12-05 17:29:27', '2016-12-05', '2016-12-05', '2017-02-15 08:35:13', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2100.00000000, 0.00000000, 0.00000000, 0.00000000, 10000.00000000, 12100.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-12-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(23, 'FA1612-0015', 1, NULL, NULL, NULL, 0, NULL, 6, '2016-12-05 17:29:56', '2016-12-05', '2016-12-05', '2017-02-15 08:35:13', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2247.00000000, 0.00000000, 0.00000000, 0.00000000, 10700.00000000, 12947.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2016-12-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(25, 'FA1612-0016', 1, NULL, NULL, NULL, 0, NULL, 5, '2017-01-10 11:50:12', '2016-12-31', '2017-01-10', '2017-02-15 10:23:06', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 155.40000000, 0.00000000, 0.00000000, 0.00000000, 740.00000000, 895.40000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-01-10', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(26, 'AC1701-0003', 1, NULL, NULL, NULL, 3, NULL, 25, '2017-01-25 14:45:11', '2017-01-25', '2017-01-25', '2017-02-16 10:36:59', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 120.00000000, 0.00000000, 0.00000000, 0.00000000, 2000.00000000, 2120.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-01-25', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(27, 'FA1701-0017', 1, NULL, NULL, NULL, 0, NULL, 38, '2017-01-27 14:25:23', '2017-01-27', '2017-01-27', '2017-03-14 08:50:57', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2835.00000000, 0.00000000, 0.00000000, 0.00000000, 13500.00000000, 16335.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-01-27', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(28, 'FA1701-0018', 1, NULL, NULL, NULL, 0, NULL, 38, '2017-01-30 12:09:38', '2017-01-30', '2017-01-30', '2017-03-03 08:01:57', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 724.50000000, 0.00000000, 0.00000000, 0.00000000, 3450.00000000, 4174.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-01-30', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(29, 'AV1612-0004', 1, NULL, NULL, NULL, 2, NULL, 5, '2017-02-03 18:01:38', '2016-12-31', '2017-02-03', '2017-05-03 12:28:48', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, -6748.22000000, 0.00000000, 0.00000000, 0.00000000, -32134.36000000, -38882.58000000, 2, 3, NULL, 3, 11, NULL, 1, NULL, 0, 2, '2016-12-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(30, 'FA1702-0019', 1, NULL, NULL, NULL, 0, NULL, 25, '2017-02-13 14:36:37', '2017-02-13', '2017-02-13', '2017-05-03 12:29:55', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 119.22000000, 0.00000000, 0.00000000, 0.00000000, 1987.00000000, 2106.22000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-02-13', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(31, 'FA1702-0020', 1, NULL, NULL, NULL, 0, NULL, 44, '2017-02-14 16:00:33', '2017-02-14', '2017-02-14', '2017-02-14 12:02:49', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 446.60000000, 446.60000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-02-14', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(32, 'FA1702-0021', 1, NULL, NULL, NULL, 0, NULL, 38, '2017-02-28 13:11:59', '2017-02-28', '2017-02-28', '2017-03-31 09:37:06', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2100.00000000, 0.00000000, 0.00000000, 0.00000000, 10000.00000000, 12100.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-02-28', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(34, 'FA1703-0022', 1, NULL, NULL, NULL, 0, NULL, 6, '2017-03-21 16:54:14', '2017-03-21', '2017-03-21', '2017-06-08 11:29:26', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 2100.00000000, 0.00000000, 0.00000000, 0.00000000, 10000.00000000, 12100.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-03-21', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(35, 'FA1704-0023', 1, NULL, NULL, NULL, 0, NULL, 25, '2017-04-18 16:51:24', '2017-03-21', '2017-05-05', '2017-05-08 09:43:55', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 391.84000000, 0.00000000, 0.00000000, 0.00000000, 6530.64000000, 6922.48000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-04-18', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(36, 'FA1704-0024', 1, NULL, NULL, NULL, 0, NULL, 50, '2017-04-26 15:48:59', '2017-04-26', '2017-05-19', '2017-05-19 12:22:09', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 3500.00000000, 3500.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-04-26', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(38, 'FA1705-0025', 1, NULL, NULL, NULL, 0, NULL, 39, '2017-05-04 13:57:38', '2017-05-04', '2017-05-09', '2017-05-11 10:06:30', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 450.00000000, 450.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-05-04', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(39, 'FA1706-0026', 1, NULL, NULL, NULL, 0, NULL, 6, '2017-06-12 10:32:54', '2017-06-12', '2017-06-12', '2017-07-24 11:59:31', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 1732.50000000, 0.00000000, 0.00000000, 0.00000000, 8250.00000000, 9982.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-06-12', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(40, 'FA1706-0027', 1, NULL, NULL, NULL, 0, NULL, 39, '2017-06-15 10:28:17', '2017-06-15', '2017-06-15', '2017-06-15 06:30:13', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 980.00000000, 980.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-06-15', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(41, 'FA1706-0028', 1, NULL, NULL, NULL, 0, NULL, 6, '2017-06-26 12:17:31', '2017-06-26', '2017-06-26', '2017-09-12 06:30:04', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 1495.20000000, 0.00000000, 0.00000000, 0.00000000, 7120.00000000, 8615.20000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-06-26', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(42, 'FA1707-0029', 1, NULL, NULL, NULL, 0, NULL, 53, '2017-07-04 14:15:29', '2017-07-04', '2017-07-04', '2017-07-27 08:53:24', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 1081.50000000, 0.00000000, 0.00000000, 0.00000000, 5150.00000000, 6231.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-07-04', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(43, 'FA1707-0030', 1, NULL, NULL, NULL, 0, NULL, 55, '2017-07-14 13:04:30', '2017-07-14', '2017-07-14', '2017-07-14 09:04:51', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 1470.00000000, 0.00000000, 0.00000000, 0.00000000, 7000.00000000, 8470.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-07-14', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(44, 'FA1708-0031', 1, NULL, NULL, NULL, 0, NULL, 53, '2017-08-22 11:43:28', '2017-08-22', '2017-08-22', '2017-09-15 08:49:25', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 283.50000000, 0.00000000, 0.00000000, 0.00000000, 1350.00000000, 1633.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-08-22', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(45, 'FA1710-0032', 1, NULL, NULL, NULL, 0, NULL, 6, '2017-10-23 15:39:08', '2017-10-23', '2017-10-23', '2018-04-09 06:17:02', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 708.75000000, 0.00000000, 0.00000000, 0.00000000, 3375.00000000, 4083.75000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-10-23', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(46, 'FA1712-0033', 1, NULL, NULL, NULL, 0, NULL, 60, '2017-12-14 14:32:46', '2017-12-14', '2017-12-14', '2018-01-11 09:46:57', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 920.00000000, 920.00000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2017-12-14', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(47, 'FA1801-0034', 1, NULL, NULL, NULL, 0, NULL, 5, '2018-01-26 10:56:23', '2018-01-26', '2018-01-26', '2018-03-02 08:01:10', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 198.45000000, 0.00000000, 0.00000000, 0.00000000, 945.00000000, 1143.45000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2018-01-26', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(48, 'FA1801-0035', 1, NULL, NULL, NULL, 0, NULL, 5, '2018-01-26 12:19:01', '2018-01-26', '2018-01-26', '2018-03-02 08:01:10', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 160.65000000, 0.00000000, 0.00000000, 0.00000000, 765.00000000, 925.65000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2018-01-26', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(49, 'FA1806-0036', 1, NULL, NULL, NULL, 0, NULL, 64, '2018-06-20 09:34:40', '2018-06-20', '2018-06-20', '2018-06-20 07:34:58', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 126.00000000, 0.00000000, 0.00000000, 0.00000000, 600.00000000, 726.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2018-06-20', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(50, 'AV1809-0005', 1, NULL, NULL, NULL, 2, NULL, 44, '2018-09-21 11:45:45', '2018-09-21', '2018-09-21', '2018-09-21 09:45:52', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, -446.60000000, -446.60000000, 1, 3, NULL, 3, 31, NULL, NULL, NULL, 0, 0, '2018-09-21', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(51, 'FA1812-0037', 1, NULL, NULL, NULL, 0, NULL, 65, '2018-12-28 11:11:43', '2018-12-31', '2019-03-21', '2019-03-21 08:17:31', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 11000.00000000, 11000.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2018-12-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(52, 'FA1812-0038', 1, NULL, NULL, NULL, 0, NULL, 66, '2019-01-15 08:54:02', '2018-12-31', '2019-01-15', '2019-01-31 09:50:00', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 102.90000000, 0.00000000, 0.00000000, 0.00000000, 490.00000000, 592.90000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2018-12-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(53, 'FA1903-0039', 1, NULL, NULL, NULL, 0, NULL, 68, '2019-03-26 13:26:58', '2019-03-26', '2019-03-26', '2019-03-26 12:34:13', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 420.00000000, 0.00000000, 0.00000000, 0.00000000, 2000.00000000, 2420.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-03-26', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(54, 'FA1904-0040', 1, NULL, NULL, NULL, 0, NULL, 69, '2019-04-03 13:02:41', '2019-04-03', '2019-04-03', '2019-04-03 11:03:10', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 1260.00000000, 0.00000000, 0.00000000, 0.00000000, 6000.00000000, 7260.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-04-03', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(55, 'FA1904-0041', 1, NULL, NULL, NULL, 0, NULL, 6, '2019-04-25 07:23:07', '2019-04-25', '2019-04-25', '2019-05-16 10:13:22', 1, 0.00000000, NULL, NULL, 0, NULL, NULL, 304.50000000, 0.00000000, 0.00000000, 0.00000000, 1450.00000000, 1754.50000000, 2, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-04-25', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(56, 'FA1905-0042', 1, NULL, NULL, NULL, 0, NULL, 6, '2019-05-09 10:31:56', '2019-05-09', '2019-05-09', '2019-05-09 08:32:56', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 96.60000000, 0.00000000, 0.00000000, 0.00000000, 460.00000000, 556.60000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-05-09', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(57, 'FA1909-0043', 1, NULL, NULL, NULL, 0, NULL, 74, '2019-09-30 12:10:36', '2019-09-30', '2020-01-09', '2020-01-09 10:25:44', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 10.50000000, 0.00000000, 0.00000000, 0.00000000, 50.00000000, 60.50000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-09-30', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(58, 'FA1911-0044', 1, NULL, NULL, NULL, 0, NULL, 74, '2019-11-25 10:53:14', '2019-11-25', '2019-11-25', '2019-11-25 10:00:29', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 2398.28000000, 0.00000000, 0.00000000, 0.00000000, 11420.40000000, 13818.68000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2019-11-25', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(59, 'FA2001-0045', 1, NULL, NULL, NULL, 0, NULL, 75, '2020-01-15 09:27:31', '2020-01-15', '2020-01-15', '2020-01-15 08:29:59', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 46.20000000, 0.00000000, 0.00000000, 0.00000000, 220.00000000, 266.20000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-01-15', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(61, 'FA2001-0046', 1, NULL, NULL, NULL, 0, NULL, 76, '2020-01-15 10:08:57', '2020-01-15', '2020-05-19', '2020-05-19 09:06:13', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 37.80000000, 0.00000000, 0.00000000, 0.00000000, 180.00000000, 217.80000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-01-15', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(62, 'FA2009-0047', 1, NULL, NULL, NULL, 0, NULL, 81, '2020-09-23 09:28:05', '2020-09-23', '2020-09-23', '2020-09-23 08:15:59', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 675.15000000, 0.00000000, 0.00000000, 0.00000000, 3215.00000000, 3890.15000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-09-23', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(63, 'FA2010-0048', 1, NULL, NULL, NULL, 0, NULL, 83, '2020-10-30 17:24:28', '2020-10-30', '2020-10-30', '2020-10-30 16:30:39', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 945.00000000, 0.00000000, 0.00000000, 0.00000000, 4500.00000000, 5445.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-10-30', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(65, 'FA2010-0049', 1, NULL, NULL, NULL, 0, NULL, 85, '2021-03-04 09:11:10', '2020-10-31', '2021-03-04', '2021-03-04 08:12:25', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 2925.00000000, 2925.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-10-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(66, 'FA2011-0050', 1, NULL, NULL, NULL, 0, NULL, 86, '2021-03-04 09:13:26', '2020-11-16', '2021-03-04', '2021-03-04 08:14:51', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 2925.00000000, 2925.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-11-16', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(67, 'FA2011-0051', 1, NULL, NULL, NULL, 0, NULL, 87, '2021-03-04 09:16:34', '2020-11-30', '2021-03-04', '2021-03-04 08:17:26', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 2975.00000000, 2975.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-11-30', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(68, 'FA2012-0052', 1, NULL, NULL, NULL, 0, NULL, 88, '2021-03-04 09:18:32', '2020-12-28', '2021-03-04', '2021-03-04 08:19:28', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 2900.00000000, 2900.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-12-28', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(69, 'FA2012-0053', 1, NULL, NULL, NULL, 0, NULL, 89, '2021-03-04 09:22:11', '2020-12-31', '2021-03-04', '2021-03-04 08:23:30', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 20000.00000000, 20000.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2020-12-31', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(70, 'FA2101-0054', 1, NULL, NULL, NULL, 0, NULL, 90, '2021-03-04 09:24:14', '2021-01-15', '2021-03-04', '2021-03-04 08:24:53', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 2900.00000000, 2900.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-01-15', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(71, 'FA2103-0055', 1, NULL, NULL, NULL, 0, NULL, 81, '2021-03-16 13:18:07', '2021-03-16', '2021-03-16', '2021-03-16 12:23:33', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 68.21000000, 0.00000000, 0.00000000, 0.00000000, 324.79000000, 393.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-03-16', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(72, 'FA2104-0056', 1, NULL, NULL, NULL, 0, NULL, 91, '2021-04-01 11:02:17', '2021-04-01', '2021-04-01', '2021-04-01 09:14:46', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 525.00000000, 0.00000000, 0.00000000, 0.00000000, 2500.00000000, 3025.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-04-01', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(73, 'FA2106-0057', 1, NULL, NULL, NULL, 0, NULL, 92, '2021-06-24 08:32:42', '2021-06-24', '2021-06-24', '2021-06-24 06:35:18', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 157.50000000, 0.00000000, 0.00000000, 0.00000000, 750.00000000, 907.50000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-06-24', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(74, 'FA2107-0058', 1, NULL, NULL, NULL, 0, NULL, 93, '2021-07-05 13:10:46', '2021-07-05', '2021-07-05', '2021-07-05 11:13:40', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 346.50000000, 0.00000000, 0.00000000, 0.00000000, 1650.00000000, 1996.50000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-07-05', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(75, 'FA2108-0059', 1, NULL, NULL, NULL, 0, NULL, 96, '2021-08-18 11:57:04', '2021-08-18', '2021-08-18', '2021-08-18 09:59:05', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 357.00000000, 0.00000000, 0.00000000, 0.00000000, 1700.00000000, 2057.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-08-18', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(76, 'FA2111-0060', 1, NULL, NULL, NULL, 0, NULL, 97, '2021-11-15 13:26:17', '2021-11-16', '2021-11-15', '2021-11-15 12:48:50', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 189.00000000, 0.00000000, 0.00000000, 0.00000000, 900.00000000, 1089.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 4, '2021-11-16', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL),
(77, 'FA2111-0061', 1, NULL, NULL, NULL, 0, NULL, 98, '2021-11-19 17:20:47', '2021-11-19', '2021-11-19', '2021-11-19 16:23:40', 0, 0.00000000, NULL, NULL, 0, NULL, NULL, 378.00000000, 0.00000000, 0.00000000, 0.00000000, 1800.00000000, 2178.00000000, 1, 3, NULL, 3, NULL, NULL, NULL, NULL, 1, 0, '2021-11-19', NULL, NULL, 'crabe', 0, '', NULL, NULL, 1, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_facturedet`
--

CREATE TABLE `llx_facturedet` (
  `rowid` int(11) NOT NULL,
  `fk_facture` int(11) NOT NULL,
  `fk_parent_line` int(11) DEFAULT NULL,
  `fk_product` int(11) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `tva_tx` double(6,3) DEFAULT NULL,
  `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',
  `fk_remise_except` int(11) DEFAULT NULL,
  `subprice` double(24,8) DEFAULT NULL,
  `price` double(24,8) DEFAULT NULL,
  `total_ht` double(24,8) DEFAULT NULL,
  `total_tva` double(24,8) DEFAULT NULL,
  `total_localtax1` double(24,8) DEFAULT '0.00000000',
  `total_localtax2` double(24,8) DEFAULT '0.00000000',
  `total_ttc` double(24,8) DEFAULT NULL,
  `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,
  `fk_code_ventilation` int(11) NOT NULL DEFAULT '0',
  `special_code` int(11) DEFAULT '0',
  `rang` int(11) DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `situation_percent` double DEFAULT NULL,
  `fk_prev_id` int(11) DEFAULT NULL,
  `fk_unit` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `llx_facturedet`
--

INSERT INTO `llx_facturedet` (`rowid`, `fk_facture`, `fk_parent_line`, `fk_product`, `label`, `description`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `fk_remise_except`, `subprice`, `price`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `buy_price_ht`, `fk_product_fournisseur_price`, `fk_code_ventilation`, `special_code`, `rang`, `import_key`, `situation_percent`, `fk_prev_id`, `fk_unit`) VALUES
(1, 1, NULL, NULL, NULL, 'Facture Accompte n°1 selon le Devis 201511128\r\nRue Brogniez 189 - 1070 Anderlecht', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 15359.49000000, NULL, 15359.49000000, 921.57000000, 0.00000000, 0.00000000, 16281.06000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(2, 2, NULL, NULL, NULL, 'Facture Accompte n°2 selon le Devis 201511128\r\nRue Brogniez 189 - 1070 Anderlecht', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 16963.26000000, NULL, 16963.26000000, 1017.80000000, 0.00000000, 0.00000000, 17981.06000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(4, 4, NULL, NULL, NULL, 'Accompte démolition Pharmacie Ranaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 600.00000000, 0.00000000, 0.00000000, 10600.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(5, 5, NULL, NULL, NULL, 'solde démolition Pharmacie Ranaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 600.00000000, 0.00000000, 0.00000000, 10600.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(6, 5, NULL, NULL, NULL, 'couvre mur', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 700.00000000, NULL, 700.00000000, 42.00000000, 0.00000000, 0.00000000, 742.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(7, 6, NULL, NULL, NULL, 'Enlèvement d objets encombrants Chaussée de gand 393', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 600.00000000, NULL, 600.00000000, 126.00000000, 0.00000000, 0.00000000, 726.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(8, 7, NULL, NULL, NULL, 'Facture Finale selon le Devis 201511128\r\nRue Brogniez 189 - 1070 Anderlecht', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 8140.00000000, NULL, 8140.00000000, 488.40000000, 0.00000000, 0.00000000, 8628.40000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(9, 8, NULL, NULL, NULL, '************TERRASSE COTE PARKING *****************\r\n- Préparation terrain 1800 euros\r\n- Stabiliseur avec travaux 2600 euros\r\n- Klinders (budjet max : 10 euros /m2) 1280 euros', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 5680.00000000, NULL, 5680.00000000, 340.80000000, 0.00000000, 0.00000000, 6020.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(10, 8, NULL, NULL, NULL, 'Coffrage 25 m 60/80 à coté parking terrasse', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3200.00000000, NULL, 3200.00000000, 192.00000000, 0.00000000, 0.00000000, 3392.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(11, 8, NULL, NULL, NULL, '- Nettoyage Jardin contour terrain', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1200.00000000, NULL, 1200.00000000, 72.00000000, 0.00000000, 0.00000000, 1272.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(13, 8, NULL, NULL, NULL, '- Placement chambre de visite 800 euros', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 800.00000000, NULL, 800.00000000, 48.00000000, 0.00000000, 0.00000000, 848.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 4, NULL, 100, NULL, NULL),
(14, 8, NULL, NULL, NULL, 'supplément', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 400.00000000, NULL, 400.00000000, 24.00000000, 0.00000000, 0.00000000, 424.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 5, NULL, 100, NULL, NULL),
(15, 10, NULL, NULL, NULL, 'reparation mur', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3350.00000000, NULL, 3350.00000000, 703.50000000, 0.00000000, 0.00000000, 4053.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(16, 11, NULL, NULL, NULL, 'Remplacement de spots électriques et versification de l électricité pharmacie de Renaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 680.00000000, NULL, 680.00000000, 40.80000000, 0.00000000, 0.00000000, 720.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(17, 11, NULL, NULL, NULL, 'Placement de gouttières sur les châssis arrières de la maison (résolution de fuite d eau)', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1130.00000000, NULL, 1130.00000000, 67.80000000, 0.00000000, 0.00000000, 1197.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(18, 11, NULL, NULL, NULL, 'Consolidation  et redressement mur arrière de la maison', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2610.00000000, NULL, 2610.00000000, 156.60000000, 0.00000000, 0.00000000, 2766.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(19, 12, NULL, NULL, NULL, 'Chantier PORTE DE HALL \r\nvider cave \r\nreparation canalisations\r\nplacement de gyproc \r\nAeration', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 6850.00000000, NULL, 6850.00000000, 1438.50000000, 0.00000000, 0.00000000, 8288.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(20, 13, NULL, NULL, NULL, 'Chantier PORTE DE HALL \r\ndémollition cheminée \r\nreparation plateforme \r\nreparation goutières', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 11900.00000000, NULL, 11900.00000000, 2499.00000000, 0.00000000, 0.00000000, 14399.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(21, 14, NULL, NULL, NULL, 'Acompte travaux', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3200.00000000, NULL, 3200.00000000, 192.00000000, 0.00000000, 0.00000000, 3392.00000000, 0, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(23, 15, NULL, NULL, NULL, 'Facture achat de carrelage a payer au plus vite afin de réceptionner le carrelage', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1165.69000000, NULL, 1165.69000000, 244.79000000, 0.00000000, 0.00000000, 1410.48000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(24, 16, NULL, NULL, NULL, 'Travaux bureau ST trond', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 450.00000000, NULL, 450.00000000, 94.50000000, 0.00000000, 0.00000000, 544.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(25, 16, NULL, NULL, NULL, 'placement Barillet avec carte', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 180.00000000, NULL, 180.00000000, 37.80000000, 0.00000000, 0.00000000, 217.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(26, 16, NULL, NULL, NULL, 'manutention étagères Zellik', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 150.00000000, NULL, 150.00000000, 31.50000000, 0.00000000, 0.00000000, 181.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(27, 17, NULL, NULL, NULL, 'Remplacement de spots électriques et versification de l électricité pharmacie de Renaix', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 680.00000000, NULL, 680.00000000, 142.80000000, 0.00000000, 0.00000000, 822.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(28, 17, NULL, NULL, NULL, 'Placement de gouttières sur les châssis arrières de la maison (résolution de fuite d eau)', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1130.00000000, NULL, 1130.00000000, 237.30000000, 0.00000000, 0.00000000, 1367.30000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(29, 17, NULL, NULL, NULL, 'Consolidation  et redressement mur arrière de la maison', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2610.00000000, NULL, 2610.00000000, 548.10000000, 0.00000000, 0.00000000, 3158.10000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(30, 18, NULL, NULL, NULL, 'Remplacement de spots électriques et versification de l électricité pharmacie de Renaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -680.00000000, NULL, -680.00000000, -40.80000000, 0.00000000, 0.00000000, -720.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(31, 18, NULL, NULL, NULL, 'Placement de gouttières sur les châssis arrières de la maison (résolution de fuite d eau)', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -1130.00000000, NULL, -1130.00000000, -67.80000000, 0.00000000, 0.00000000, -1197.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(32, 18, NULL, NULL, NULL, 'Consolidation  et redressement mur arrière de la maison', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -2610.00000000, NULL, -2610.00000000, -156.60000000, 0.00000000, 0.00000000, -2766.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(34, 20, NULL, NULL, NULL, 'Accompte démolition Pharmacie Ranaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -10000.00000000, NULL, -10000.00000000, -600.00000000, 0.00000000, 0.00000000, -10600.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(35, 21, NULL, NULL, NULL, 'solde démolition Pharmacie Ranaix', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -10000.00000000, NULL, -10000.00000000, -600.00000000, 0.00000000, 0.00000000, -10600.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(36, 21, NULL, NULL, NULL, 'couvre mur', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -700.00000000, NULL, -700.00000000, -42.00000000, 0.00000000, 0.00000000, -742.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(37, 22, NULL, NULL, NULL, 'Accompte démolition Pharmacie Ranaix', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 2100.00000000, 0.00000000, 0.00000000, 12100.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(38, 23, NULL, NULL, NULL, 'solde démolition Pharmacie Ranaix', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 2100.00000000, 0.00000000, 0.00000000, 12100.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(39, 23, NULL, NULL, NULL, 'couvre mur', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 700.00000000, NULL, 700.00000000, 147.00000000, 0.00000000, 0.00000000, 847.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(43, 25, NULL, NULL, NULL, 'SCHAERBEEK : travaux Electricité + réglage porte', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 320.00000000, NULL, 320.00000000, 67.20000000, 0.00000000, 0.00000000, 387.20000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(44, 25, NULL, NULL, NULL, 'PORTE DE HALL : dépannage électricité', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 170.00000000, NULL, 170.00000000, 35.70000000, 0.00000000, 0.00000000, 205.70000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(45, 25, NULL, NULL, NULL, 'ZELLIK : intervention panne internet', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 250.00000000, NULL, 250.00000000, 52.50000000, 0.00000000, 0.00000000, 302.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(46, 26, NULL, NULL, NULL, 'accompte de 2000  euros', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2000.00000000, NULL, 2000.00000000, 120.00000000, 0.00000000, 0.00000000, 2120.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(47, 27, NULL, NULL, NULL, 'rénovation porte de Hall PORTE DE HALL', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 13500.00000000, NULL, 13500.00000000, 2835.00000000, 0.00000000, 0.00000000, 16335.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(48, 28, NULL, NULL, NULL, 'réparation carrelage couloir  PORTE DE HALL + peinture sol', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3450.00000000, NULL, 3450.00000000, 724.50000000, 0.00000000, 0.00000000, 4174.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(49, 29, NULL, NULL, NULL, 'Note de Credit Suivatn Accord entre les deux parties', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -32134.36000000, NULL, -32134.36000000, -6748.22000000, 0.00000000, 0.00000000, -38882.58000000, 0, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(50, 30, NULL, NULL, NULL, 'solde à payer pour travaux', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1987.00000000, NULL, 1987.00000000, 119.22000000, 0.00000000, 0.00000000, 2106.22000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(51, 31, NULL, NULL, NULL, 'remboursement nettoyage degats sur chantier VEKEMANS', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 446.60000000, NULL, 446.60000000, 0.00000000, 0.00000000, 0.00000000, 446.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(52, 32, NULL, NULL, NULL, 'Avance chantier  PORTE DE HALL\r\ndemolition et placement porte coupe feu', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 2100.00000000, 0.00000000, 0.00000000, 12100.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(53, 34, NULL, NULL, NULL, '2ème Accompte travaux Pharmacie porte de Hall', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 10000.00000000, NULL, 10000.00000000, 2100.00000000, 0.00000000, 0.00000000, 12100.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(54, 35, NULL, NULL, NULL, 'FACTURE ACCOMPTE', 6.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 6530.64000000, NULL, 6530.64000000, 391.84000000, 0.00000000, 0.00000000, 6922.48000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(55, 36, NULL, NULL, NULL, 'Remplacement porte double vitrage apres incendie\r\n\r\nTVA   Autoliquidation', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3500.00000000, NULL, 3500.00000000, 0.00000000, 0.00000000, 0.00000000, 3500.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(56, 38, NULL, NULL, NULL, 'Accompte n°1 selon le devis PR1701-0048\r\n\r\nAUTO LIQUIDATION', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 450.00000000, NULL, 450.00000000, 0.00000000, 0.00000000, 0.00000000, 450.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(57, 39, NULL, NULL, NULL, 'Solde travaux Porte de Hall', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 8250.00000000, NULL, 8250.00000000, 1732.50000000, 0.00000000, 0.00000000, 9982.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(58, 40, NULL, NULL, NULL, 'Solde  à payer devis PR1701-0048', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 900.00000000, NULL, 900.00000000, 0.00000000, 0.00000000, 0.00000000, 900.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(59, 40, NULL, NULL, NULL, 'supplément\r\n\r\n\r\nAUTO LIQUIDATION', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 80.00000000, NULL, 80.00000000, 0.00000000, 0.00000000, 0.00000000, 80.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(60, 41, NULL, NULL, NULL, 'travaux pharmacie 81 Kloosterstraat,2180 ekeren', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 7120.00000000, NULL, 7120.00000000, 1495.20000000, 0.00000000, 0.00000000, 8615.20000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(61, 42, NULL, NULL, NULL, 'Pharmacie - 50 Nieuwe steenweg 8377 ZUINNEKERKE', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 5150.00000000, NULL, 5150.00000000, 1081.50000000, 0.00000000, 0.00000000, 6231.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(62, 43, NULL, NULL, NULL, 'Bâtiment à vider, situé à Ixelles, rue Defacqz 1. + 2 caves supplémentaires', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 7000.00000000, NULL, 7000.00000000, 1470.00000000, 0.00000000, 0.00000000, 8470.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(63, 44, NULL, NULL, NULL, 'Pharmacie - 50 Nieuwe steenweg 8377 ZUINNEKERKE\r\nSOLDE CHANTIER  - demontage Abris', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1350.00000000, NULL, 1350.00000000, 283.50000000, 0.00000000, 0.00000000, 1633.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(64, 45, NULL, NULL, NULL, 'Travaux électricité et rénovation  pharmacie 81 Kloosterstraat,2180 Ekeren', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 3375.00000000, NULL, 3375.00000000, 708.75000000, 0.00000000, 0.00000000, 4083.75000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(65, 46, NULL, NULL, NULL, 'Protection des sols', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 120.00000000, NULL, 120.00000000, 0.00000000, 0.00000000, 0.00000000, 120.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(66, 46, NULL, NULL, NULL, 'Pose et fourniture d un linteau en métal', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 260.00000000, NULL, 260.00000000, 0.00000000, 0.00000000, 0.00000000, 260.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(67, 46, NULL, NULL, NULL, 'Enlèvement des déchets', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 120.00000000, NULL, 120.00000000, 0.00000000, 0.00000000, 0.00000000, 120.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(68, 46, NULL, NULL, NULL, 'Découpe du mur et enlèvement des des briques 2m /2,5m', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 420.00000000, NULL, 420.00000000, 0.00000000, 0.00000000, 0.00000000, 420.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 4, NULL, 100, NULL, NULL),
(69, 46, NULL, NULL, NULL, 'TVA auto liquidation', 0.000, 0.000, '0', 0.000, '0', 0, 0, 0, NULL, 0.00000000, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 5, NULL, 100, NULL, NULL),
(70, 47, NULL, NULL, NULL, 'Réparation porte du depot de Gent\r\npiece et MO', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 165.00000000, NULL, 165.00000000, 34.65000000, 0.00000000, 0.00000000, 199.65000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(71, 47, NULL, NULL, NULL, 'réparation armoires et placement de serrures', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 555.00000000, NULL, 555.00000000, 116.55000000, 0.00000000, 0.00000000, 671.55000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(72, 47, NULL, NULL, NULL, 'Réparation portes et remplacement cylindre', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 225.00000000, NULL, 225.00000000, 47.25000000, 0.00000000, 0.00000000, 272.25000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(74, 48, NULL, NULL, NULL, 'Pharmacie Renaix \r\ntravaux et remplacement installation Electrique', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 765.00000000, NULL, 765.00000000, 160.65000000, 0.00000000, 0.00000000, 925.65000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(75, 49, NULL, NULL, NULL, 'vider appartement + cave à Etterbeek, Bld Louis Schmidt 6/8, 8ième étage', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 600.00000000, NULL, 600.00000000, 126.00000000, 0.00000000, 0.00000000, 726.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(76, 50, NULL, NULL, NULL, 'remboursement nettoyage degats sur chantier VEKEMANS', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, -446.60000000, NULL, -446.60000000, 0.00000000, 0.00000000, 0.00000000, -446.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(77, 51, NULL, NULL, NULL, 'Travaux de renovation', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 11000.00000000, NULL, 11000.00000000, 0.00000000, 0.00000000, 0.00000000, 11000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(78, 52, NULL, NULL, NULL, '- verwijderen afval: 8 uur/ 35€ uur  =  280€\r\n\r\n- verplaatsingskosten: 80€\r\n\r\n- afvoeren afvalfracties: 130€', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 490.00000000, NULL, 490.00000000, 102.90000000, 0.00000000, 0.00000000, 592.90000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(79, 53, NULL, NULL, NULL, 'Enlèvement d Objets encombrants  le 25 et le 26 Mars 2019 chaussée d Anvers 286 - 1000 Bruxelles', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2000.00000000, NULL, 2000.00000000, 420.00000000, 0.00000000, 0.00000000, 2420.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(80, 54, NULL, NULL, NULL, 'Travaux et entretien divers', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 6000.00000000, NULL, 6000.00000000, 1260.00000000, 0.00000000, 0.00000000, 7260.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(81, 55, NULL, NULL, NULL, 'Achat et placement d étagère', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1450.00000000, NULL, 1450.00000000, 304.50000000, 0.00000000, 0.00000000, 1754.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(82, 56, NULL, NULL, NULL, 'Enlèvement objets encombrants + placements d étagères', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 460.00000000, NULL, 460.00000000, 96.60000000, 0.00000000, 0.00000000, 556.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(83, 57, NULL, NULL, NULL, 'remplacement serrure', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 50.00000000, NULL, 50.00000000, 10.50000000, 0.00000000, 0.00000000, 60.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(84, 58, NULL, NULL, NULL, 'PRIX D\'ACHAT RENDU BREST   10639.00\r\nFRAIS DOUANE  222.20\r\nFORMALITES TRANSIT 181.20\r\nTRANSPORT PAR CAMION 378.00', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 11420.40000000, NULL, 11420.40000000, 2398.28000000, 0.00000000, 0.00000000, 13818.68000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(85, 59, NULL, NULL, NULL, 'Reparation porte balcon', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 220.00000000, NULL, 220.00000000, 46.20000000, 0.00000000, 0.00000000, 266.20000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(87, 61, NULL, NULL, NULL, 'Réparation porte - fermeture Avenue Dailly 208 - 1030 Bruxelles', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 180.00000000, NULL, 180.00000000, 37.80000000, 0.00000000, 0.00000000, 217.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(88, 62, NULL, NULL, NULL, 'Placement système manuel ouvre-fenêtre pour 5 châssis:\r\n3 grands châssis', 21.000, 0.000, '0', 0.000, '0', 3, 0, 0, NULL, 425.00000000, NULL, 1275.00000000, 267.75000000, 0.00000000, 0.00000000, 1542.75000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(89, 62, NULL, NULL, NULL, '2 petits châssis', 21.000, 0.000, '0', 0.000, '0', 2, 0, 0, NULL, 370.00000000, NULL, 740.00000000, 155.40000000, 0.00000000, 0.00000000, 895.40000000, 0, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(90, 62, NULL, NULL, NULL, 'Installation pour les 5 châssis', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 300.00000000, NULL, 300.00000000, 63.00000000, 0.00000000, 0.00000000, 363.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 3, NULL, 100, NULL, NULL),
(91, 62, NULL, NULL, NULL, 'Application silicones à l\'extérieur + peinture hydrofuge sur les 5 châssis', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 600.00000000, NULL, 600.00000000, 126.00000000, 0.00000000, 0.00000000, 726.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 4, NULL, 100, NULL, NULL),
(92, 62, NULL, NULL, NULL, 'Installation pour les 5 châssis', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 300.00000000, NULL, 300.00000000, 63.00000000, 0.00000000, 0.00000000, 363.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 5, NULL, 100, NULL, NULL),
(93, 62, NULL, NULL, NULL, 'Acompte déjà réglé le 23/06/2020 (à déduire de la somme totale) : 2 204€', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 0.00000000, NULL, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 0.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 6, NULL, 100, NULL, NULL),
(94, 63, NULL, NULL, NULL, 'Projectnummer 7006\r\nWerfadres: Désiré Boucherystraat 5, 2800 Mechelen\r\nHet leegmaken van de woning, inclusief transport, personeel, af- en aanvoer containers, afvalverwijdering & verwerking en laatste borstelveeg \r\nUitgevoerd tussen 21/10/2020 en 30/10/2020', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 4500.00000000, NULL, 4500.00000000, 945.00000000, 0.00000000, 0.00000000, 5445.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(96, 65, NULL, NULL, NULL, 'Frais Maritimes pour export Tunisie\r\n\r\nAUTO CONTRACTANT', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2925.00000000, NULL, 2925.00000000, 0.00000000, 0.00000000, 0.00000000, 2925.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(97, 66, NULL, NULL, NULL, 'Frais Maritimes Export Tunisie\r\n\r\nAuto Contractant', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2925.00000000, NULL, 2925.00000000, 0.00000000, 0.00000000, 0.00000000, 2925.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(98, 67, NULL, NULL, NULL, 'Frais Maritimes pour export Tunisie\r\n\r\nAUto contractant', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2975.00000000, NULL, 2975.00000000, 0.00000000, 0.00000000, 0.00000000, 2975.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(99, 68, NULL, NULL, NULL, 'Frais Maritimes pour export Tunisie\r\n\r\nAUTO LIQUIDATION', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2900.00000000, NULL, 2900.00000000, 0.00000000, 0.00000000, 0.00000000, 2900.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(100, 69, NULL, NULL, NULL, 'Avance Travaux\r\n\r\nAUTO LIQUIDATION', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 20000.00000000, NULL, 20000.00000000, 0.00000000, 0.00000000, 0.00000000, 20000.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(101, 70, NULL, NULL, NULL, 'Frais Maritimes pour Export Tunisie\r\n\r\nAUTO LIQUIDATION', 0.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2900.00000000, NULL, 2900.00000000, 0.00000000, 0.00000000, 0.00000000, 2900.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(102, 71, NULL, NULL, NULL, 'Réparation chassis', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 324.79000000, NULL, 324.79000000, 68.21000000, 0.00000000, 0.00000000, 393.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(103, 72, NULL, NULL, NULL, 'Travaux de vide maison, à 3800 Tervuren, Jagerslaan 3', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 2500.00000000, NULL, 2500.00000000, 525.00000000, 0.00000000, 0.00000000, 3025.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(105, 73, NULL, NULL, NULL, 'Opruimen inboedel - werken gestart op datum van 23/06/2021', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 750.00000000, NULL, 750.00000000, 157.50000000, 0.00000000, 0.00000000, 907.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(106, 74, NULL, NULL, NULL, 'Vide habitation à 3360 Bierbeek, Résidence Service Ter Korbeke, Oude Baan 106, Appartement 81, travaux effectués le 03/07/2021', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1650.00000000, NULL, 1650.00000000, 346.50000000, 0.00000000, 0.00000000, 1996.50000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(107, 75, NULL, NULL, NULL, 'Travaux de vide maison rue du Chien Marin 20 - 1000 Bruxelles, effectués le 18/8/2021', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1700.00000000, NULL, 1700.00000000, 357.00000000, 0.00000000, 0.00000000, 2057.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(108, 76, NULL, NULL, NULL, 'Ledigen appartement van volledige inboedel - te 1060 St. Gilles, rue de la Victoire194A', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 800.00000000, NULL, 800.00000000, 168.00000000, 0.00000000, 0.00000000, 968.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL),
(109, 76, NULL, NULL, NULL, 'Schoonmaak / reiniging vloeren en kasten', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 100.00000000, NULL, 100.00000000, 21.00000000, 0.00000000, 0.00000000, 121.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 2, NULL, 100, NULL, NULL),
(110, 77, NULL, NULL, NULL, 'Leegmaken huis Oostendelaan 206, Middelkerke op 18/11/2021', 21.000, 0.000, '0', 0.000, '0', 1, 0, 0, NULL, 1800.00000000, NULL, 1800.00000000, 378.00000000, 0.00000000, 0.00000000, 2178.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 0, 1, NULL, 100, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `llx_facturedet_extrafields`
--

