CREATE TABLE `b67182907_blockedlog` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `action` varchar(50) DEFAULT NULL,
  `amounts` double(24,8) NOT NULL,
  `element` varchar(50) DEFAULT NULL,
  `fk_user` int DEFAULT NULL,
  `user_fullname` varchar(255) DEFAULT NULL,
  `fk_object` int DEFAULT NULL,
  `ref_object` varchar(255) DEFAULT NULL,
  `date_object` datetime DEFAULT NULL,
  `signature` varchar(100) NOT NULL,
  `signature_line` varchar(100) NOT NULL,
  `object_data` text,
  `certified` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_blockedlog_authority`
--

CREATE TABLE `b67182907_blockedlog_authority` (
  `rowid` int NOT NULL,
  `blockchain` longtext NOT NULL,
  `signature` varchar(100) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_bookmark`
--

CREATE TABLE `b67182907_bookmark` (
  `rowid` int NOT NULL,
  `fk_user` int 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 DEFAULT '0',
  `entity` int NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_bordereau_cheque`
--

CREATE TABLE `b67182907_bordereau_cheque` (
  `rowid` int NOT NULL,
  `ref` varchar(30) NOT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `datec` datetime NOT NULL,
  `date_bordereau` date DEFAULT NULL,
  `amount` double(24,8) NOT NULL,
  `nbcheque` smallint NOT NULL,
  `fk_bank_account` int DEFAULT NULL,
  `fk_user_author` int DEFAULT NULL,
  `statut` smallint NOT NULL DEFAULT '0',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `note` text,
  `entity` int NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_boxes`
--

CREATE TABLE `b67182907_boxes` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `box_id` int NOT NULL,
  `position` smallint NOT NULL,
  `box_order` varchar(3) NOT NULL,
  `fk_user` int NOT NULL DEFAULT '0',
  `maxline` int DEFAULT NULL,
  `params` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_boxes`
--

INSERT INTO `b67182907_boxes` (`rowid`, `entity`, `box_id`, `position`, `box_order`, `fk_user`, `maxline`, `params`) VALUES
(1, 1, 1, 0, 'A03', 0, NULL, NULL),
(3, 1, 3, 0, 'A19', 0, NULL, NULL),
(4, 1, 4, 0, 'A27', 0, NULL, NULL),
(5, 1, 5, 0, 'B12', 0, NULL, NULL),
(6, 1, 6, 0, 'A21', 0, NULL, NULL),
(7, 1, 7, 0, 'B06', 0, NULL, NULL),
(8, 1, 8, 0, 'B14', 0, NULL, NULL),
(9, 1, 9, 0, 'B24', 0, NULL, NULL),
(10, 1, 10, 0, 'B08', 0, NULL, NULL),
(11, 1, 11, 0, 'B18', 0, NULL, NULL),
(12, 1, 12, 0, 'B26', 0, NULL, NULL),
(13, 1, 13, 0, 'A11', 0, NULL, NULL),
(14, 1, 14, 0, 'B20', 0, NULL, NULL),
(15, 1, 15, 0, 'A05', 0, NULL, NULL),
(16, 1, 16, 0, 'A13', 0, NULL, NULL),
(17, 1, 17, 0, 'A23', 0, NULL, NULL),
(18, 1, 18, 0, 'A07', 0, NULL, NULL),
(19, 1, 19, 0, 'A25', 0, NULL, NULL),
(281, 1, 20, 0, 'B10', 0, NULL, NULL),
(282, 1, 21, 0, 'A17', 0, NULL, NULL),
(283, 1, 22, 0, 'B22', 0, NULL, NULL),
(284, 1, 23, 0, 'B04', 0, NULL, NULL),
(285, 1, 24, 0, 'A09', 0, NULL, NULL),
(286, 1, 25, 0, 'B16', 0, NULL, NULL),
(551, 1, 26, 0, 'A15', 0, NULL, NULL),
(552, 1, 27, 0, 'B02', 0, NULL, NULL),
(597, 1, 28, 0, 'A01', 0, NULL, NULL),
(1019, 1, 5, 0, 'A01', 1, NULL, NULL),
(1020, 1, 3, 0, 'A02', 1, NULL, NULL),
(1021, 1, 4, 0, 'A03', 1, NULL, NULL),
(1022, 1, 20, 0, 'B01', 1, NULL, NULL),
(1023, 1, 23, 0, 'B02', 1, NULL, NULL),
(1024, 1, 24, 0, 'B03', 1, NULL, NULL),
(1025, 1, 1, 0, 'A01', 2, NULL, NULL),
(1026, 1, 5, 0, 'A02', 2, NULL, NULL),
(1027, 1, 13, 0, 'A03', 2, NULL, NULL),
(1028, 1, 11, 0, 'A04', 2, NULL, NULL),
(1029, 1, 7, 0, 'A05', 2, NULL, NULL),
(1030, 1, 3, 0, 'A06', 2, NULL, NULL),
(1031, 1, 16, 0, 'B01', 2, NULL, NULL),
(1032, 1, 14, 0, 'B02', 2, NULL, NULL),
(1033, 1, 8, 0, 'B03', 2, NULL, NULL),
(1034, 1, 6, 0, 'B04', 2, NULL, NULL),
(1035, 1, 4, 0, 'B05', 2, NULL, NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_boxes_def`
--

CREATE TABLE `b67182907_boxes_def` (
  `rowid` int NOT NULL,
  `file` varchar(200) NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `note` varchar(130) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_boxes_def`
--

INSERT INTO `b67182907_boxes_def` (`rowid`, `file`, `entity`, `tms`, `note`) VALUES
(1, 'box_lastlogin.php', 1, '2018-03-06 15:23:48', NULL),
(3, 'box_factures_imp.php', 1, '2018-03-06 15:29:46', NULL),
(4, 'box_factures.php', 1, '2018-03-06 15:29:46', NULL),
(5, 'box_graph_invoices_permonth.php', 1, '2018-03-06 15:29:46', NULL),
(6, 'box_clients.php', 1, '2018-03-06 15:29:47', NULL),
(7, 'box_prospect.php', 1, '2018-03-06 15:29:47', NULL),
(8, 'box_contacts.php', 1, '2018-03-06 15:29:47', NULL),
(9, 'box_activity.php', 1, '2018-03-06 15:29:47', '(WarningUsingThisBoxSlowDown)'),
(10, 'box_goodcustomers.php', 1, '2018-03-06 15:29:47', '(WarningUsingThisBoxSlowDown)'),
(11, 'box_comptes.php', 1, '2018-03-06 15:29:58', NULL),
(12, 'box_graph_propales_permonth.php', 1, '2018-03-06 15:30:05', NULL),
(13, 'box_propales.php', 1, '2018-03-06 15:30:05', NULL),
(14, 'box_produits.php', 1, '2018-03-06 15:30:05', NULL),
(15, 'box_produits_alerte_stock.php', 1, '2018-03-06 15:30:05', NULL),
(16, 'box_graph_product_distribution.php', 1, '2018-03-06 15:30:05', NULL),
(17, 'box_services_contracts.php', 1, '2018-03-06 15:30:26', NULL),
(18, 'box_project.php', 1, '2018-03-06 15:31:09', NULL),
(19, 'box_task.php', 1, '2018-03-06 15:31:09', NULL),
(20, 'box_graph_invoices_supplier_permonth.php', 1, '2018-03-06 16:36:47', NULL),
(21, 'box_graph_orders_supplier_permonth.php', 1, '2018-03-06 16:36:47', NULL),
(22, 'box_fournisseurs.php', 1, '2018-03-06 16:36:47', NULL),
(23, 'box_factures_fourn_imp.php', 1, '2018-03-06 16:36:47', NULL),
(24, 'box_factures_fourn.php', 1, '2018-03-06 16:36:47', NULL),
(25, 'box_supplier_orders.php', 1, '2018-03-06 16:36:47', NULL),
(26, 'box_commandes.php', 1, '2018-03-14 08:59:08', NULL),
(27, 'box_graph_orders_permonth.php', 1, '2018-03-14 08:59:08', NULL),
(28, 'box_actions.php', 1, '2018-07-02 09:48:44', NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_budget`
--

CREATE TABLE `b67182907_budget` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `label` varchar(255) NOT NULL,
  `status` int DEFAULT NULL,
  `note` text,
  `date_start` date DEFAULT NULL,
  `date_end` date DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int DEFAULT NULL,
  `fk_user_modif` int DEFAULT NULL,
  `import_key` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_budget_lines`
--

CREATE TABLE `b67182907_budget_lines` (
  `rowid` int NOT NULL,
  `fk_budget` int NOT NULL,
  `fk_project_ids` varchar(180) NOT NULL,
  `amount` double(24,8) NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user_creat` int DEFAULT NULL,
  `fk_user_modif` int DEFAULT NULL,
  `import_key` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_categorie`
--

CREATE TABLE `b67182907_categorie` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `fk_parent` int NOT NULL DEFAULT '0',
  `label` varchar(180) NOT NULL,
  `type` tinyint NOT NULL DEFAULT '1',
  `description` text,
  `color` varchar(8) DEFAULT NULL,
  `fk_soc` int DEFAULT NULL,
  `visible` tinyint NOT NULL DEFAULT '1',
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_categories_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_account`
--

CREATE TABLE `b67182907_categorie_account` (
  `fk_categorie` int NOT NULL,
  `fk_account` int NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_contact`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_fournisseur`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_lang`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_member`
--

CREATE TABLE `b67182907_categorie_member` (
  `fk_categorie` int NOT NULL,
  `fk_member` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_product`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_project`
--

CREATE TABLE `b67182907_categorie_project` (
  `fk_categorie` int NOT NULL,
  `fk_project` int NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_societe`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_categorie_user`
--

CREATE TABLE `b67182907_categorie_user` (
  `fk_categorie` int NOT NULL,
  `fk_user` int NOT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_chargesociales`
--

CREATE TABLE `b67182907_chargesociales` (
  `rowid` int NOT NULL,
  `ref` varchar(16) DEFAULT NULL,
  `date_ech` datetime NOT NULL,
  `libelle` varchar(80) NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `date_creation` datetime DEFAULT NULL,
  `date_valid` datetime DEFAULT NULL,
  `fk_user_author` int DEFAULT NULL,
  `fk_user_modif` int DEFAULT NULL,
  `fk_user_valid` int DEFAULT NULL,
  `fk_type` int NOT NULL,
  `fk_account` int DEFAULT NULL,
  `fk_mode_reglement` int DEFAULT NULL,
  `amount` double(24,8) NOT NULL DEFAULT '0.00000000',
  `paye` smallint NOT NULL DEFAULT '0',
  `periode` date DEFAULT NULL,
  `fk_projet` int DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_chargesociales`
--

INSERT INTO `b67182907_chargesociales` (`rowid`, `ref`, `date_ech`, `libelle`, `entity`, `tms`, `date_creation`, `date_valid`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_type`, `fk_account`, `fk_mode_reglement`, `amount`, `paye`, `periode`, `fk_projet`, `import_key`) VALUES
(1, NULL, '2018-03-12 00:00:00', 'Juan Carlos Alonso Álvarez', 1, '2018-04-25 10:03:42', '2018-04-19 17:34:38', NULL, 1, 1, NULL, 4113, 2, 3, 61.20000000, 1, '2018-03-12', 0, NULL),
(2, NULL, '2018-03-13 00:00:00', 'Registro Mercantil de Barcelona', 1, '2018-04-25 10:04:13', '2018-04-19 17:37:20', NULL, 1, NULL, NULL, 4113, 2, 3, 31.34000000, 1, '2018-03-13', NULL, NULL),
(3, NULL, '2018-04-17 00:00:00', 'Registro Mercantil de Barcelona', 1, '2018-07-19 17:45:38', '2018-05-16 13:34:51', NULL, 1, 1, NULL, 4113, 2, 3, 3.76000000, 1, '2018-04-17', 0, NULL),
(4, NULL, '2018-06-26 00:00:00', 'Enrique Viola Tarragona', 1, '2018-10-22 09:55:50', '2018-07-19 20:19:34', NULL, 1, NULL, NULL, 4113, 2, 3, 7.21000000, 1, '2018-06-26', NULL, NULL),
(5, NULL, '2018-08-31 00:00:00', 'Carles Rovira Quintana', 1, '2018-10-22 09:56:13', '2018-10-04 18:06:09', NULL, 1, NULL, NULL, 4112, 2, 3, 18.62000000, 1, '2018-08-31', NULL, NULL),
(6, NULL, '2018-09-30 00:00:00', 'Carles Rovira Quintana', 1, '2018-10-22 09:56:37', '2018-10-04 18:07:34', NULL, 1, 1, NULL, 4112, 2, 3, 22.93000000, 1, '2018-09-30', 0, NULL),
(7, NULL, '2018-09-30 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2018-10-04 15:43:41', '2018-10-04 18:10:01', NULL, 1, NULL, NULL, 4111, 2, 3, 613.54000000, 1, '2018-09-30', NULL, NULL),
(8, NULL, '2018-09-30 00:00:00', 'S.S. Reg. General', 1, '2018-10-04 15:44:09', '2018-10-04 18:11:08', NULL, 1, NULL, NULL, 4110, 2, 3, 361.84000000, 1, '2018-09-30', NULL, NULL),
(9, NULL, '2018-08-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2018-10-04 15:44:31', '2018-10-04 18:12:20', NULL, 1, NULL, NULL, 4111, 2, 3, 613.54000000, 1, '2018-08-31', NULL, NULL),
(10, NULL, '2018-07-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2018-10-04 15:53:06', '2018-10-04 18:27:14', NULL, 1, NULL, NULL, 4111, 2, 3, 605.02000000, 1, '2018-07-31', NULL, NULL),
(11, NULL, '2018-07-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2018-10-04 15:53:27', '2018-10-04 18:27:51', NULL, 1, NULL, NULL, 4111, 2, 3, 342.85000000, 1, '2018-07-31', NULL, NULL),
(12, NULL, '2018-10-31 00:00:00', 'S.S. Reg. General', 1, '2019-01-10 14:20:53', '2019-01-10 15:08:29', NULL, 1, NULL, NULL, 4110, 2, 3, 445.32000000, 1, '2018-10-31', NULL, NULL),
(13, NULL, '2018-10-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2019-01-10 14:21:16', '2019-01-10 15:09:20', NULL, 1, NULL, NULL, 4111, 2, 3, 613.54000000, 1, '2018-10-31', NULL, NULL),
(14, NULL, '2018-11-30 00:00:00', 'S.S. Reg. General', 1, '2019-01-10 14:22:22', '2019-01-10 15:10:34', NULL, 1, NULL, NULL, 4110, 2, 3, 1772.62000000, 1, '2018-11-30', NULL, NULL),
(15, NULL, '2018-11-30 00:00:00', 'José Manuel Valle Llamas', 1, '2019-01-10 14:22:05', '2019-01-10 15:11:20', NULL, 1, NULL, NULL, 4111, 2, 3, 312.46000000, 1, '2018-11-30', NULL, NULL),
(16, NULL, '2018-11-30 00:00:00', 'Sergio García Martínez', 1, '2019-01-10 14:21:49', '2019-01-10 15:11:56', NULL, 1, NULL, NULL, 4111, 2, 3, 278.88000000, 1, '2018-11-30', NULL, NULL),
(17, NULL, '2018-11-30 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2019-01-10 14:21:35', '2019-01-10 15:12:26', NULL, 1, NULL, NULL, 4111, 2, 3, 613.54000000, 1, '2018-11-30', NULL, NULL),
(18, NULL, '2018-12-31 00:00:00', 'S.S. Reg. General', 1, '2019-01-10 14:22:37', '2019-01-10 15:14:23', NULL, 1, NULL, NULL, 4110, 2, 3, 2283.97000000, 1, '2018-12-31', NULL, NULL),
(19, NULL, '2018-12-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2019-01-10 14:22:50', '2019-01-10 15:15:06', NULL, 1, NULL, NULL, 4111, 2, 3, 613.54000000, 1, '2018-12-31', NULL, NULL),
(20, NULL, '2018-12-31 00:00:00', 'José Manuel Valle Llamas', 1, '2019-01-10 14:23:16', '2019-01-10 15:15:32', NULL, 1, NULL, NULL, 4111, 2, 3, 312.46000000, 1, '2018-12-31', NULL, NULL),
(21, NULL, '2018-12-31 00:00:00', 'Sergio García Martínez', 1, '2019-01-10 14:23:03', '2019-01-10 15:16:02', NULL, 1, NULL, NULL, 4111, 2, 3, 278.88000000, 1, '2018-12-31', NULL, NULL),
(22, NULL, '2018-10-31 00:00:00', 'Carles Rovira Quintana', 1, '2019-01-10 16:56:57', '2019-01-10 17:57:04', NULL, 1, NULL, NULL, 4112, 2, 3, 22.93000000, 0, '2018-10-31', NULL, NULL),
(23, NULL, '2018-10-31 00:00:00', 'David Alcalde Repullo', 1, '2019-01-10 17:04:29', '2019-01-10 18:00:01', NULL, 1, 1, NULL, 4112, 2, 3, 201.04000000, 0, '2018-10-31', 0, NULL),
(24, NULL, '2018-10-31 00:00:00', 'Raúl Solórzano Navarro', 1, '2019-01-10 17:06:08', '2019-01-10 18:06:14', NULL, 1, NULL, NULL, 4112, 2, 3, 336.79000000, 0, '2018-10-31', NULL, NULL),
(25, NULL, '2018-10-31 00:00:00', 'Sergio García Martinez', 1, '2019-01-10 17:07:35', '2019-01-10 18:07:42', NULL, 1, NULL, NULL, 4112, 2, 3, 466.76000000, 0, '2018-10-31', NULL, NULL),
(26, NULL, '2018-10-31 00:00:00', 'José Manuel Valle Llamas', 1, '2019-01-10 17:09:00', '2019-01-10 18:09:07', NULL, 1, NULL, NULL, 4112, 2, 3, 473.64000000, 0, '2018-10-31', NULL, NULL),
(27, NULL, '2018-11-30 00:00:00', 'Carles Rovira Quintana', 1, '2019-01-10 17:11:49', '2019-01-10 18:11:55', NULL, 1, NULL, NULL, 4112, 2, 3, 22.93000000, 0, '2018-11-30', NULL, NULL),
(28, NULL, '2018-11-30 00:00:00', 'David Alcalde Repullo', 1, '2019-01-10 17:12:26', '2019-01-10 18:12:33', NULL, 1, NULL, NULL, 4112, 2, 3, 247.05000000, 0, '2018-11-30', NULL, NULL),
(29, NULL, '2018-11-30 00:00:00', 'Raúl Solórzano Navarro', 1, '2019-01-10 17:13:09', '2019-01-10 18:13:15', NULL, 1, NULL, NULL, 4112, 2, 3, 505.18000000, 0, '2018-11-30', NULL, NULL),
(30, NULL, '2018-11-30 00:00:00', 'Sergio García Martínez', 1, '2019-01-10 17:14:30', '2019-01-10 18:14:37', NULL, 1, NULL, NULL, 4112, 2, 3, 466.76000000, 0, '2018-11-30', NULL, NULL),
(31, NULL, '2018-11-30 00:00:00', 'José Manuel Valle Llamas', 1, '2019-01-10 17:15:01', '2019-01-10 18:15:08', NULL, 1, NULL, NULL, 4112, 2, 3, 473.64000000, 0, '2018-11-30', NULL, NULL),
(32, NULL, '2018-12-31 00:00:00', 'Carles Rovira Quintana', 1, '2019-01-10 17:15:58', '2019-01-10 18:16:04', NULL, 1, NULL, NULL, 4112, 2, 3, 22.93000000, 0, '2018-12-31', NULL, NULL),
(33, NULL, '2018-12-31 00:00:00', 'David Alcalde Repullo', 1, '2019-01-10 17:16:25', '2019-01-10 18:16:32', NULL, 1, NULL, NULL, 4112, 2, 3, 247.05000000, 0, '2018-12-31', NULL, NULL),
(34, NULL, '2018-12-31 00:00:00', 'Raúl Solórzano Navarro', 1, '2019-01-10 17:17:02', '2019-01-10 18:17:09', NULL, 1, NULL, NULL, 4112, 2, 3, 505.18000000, 0, '2018-12-31', NULL, NULL),
(35, NULL, '2018-12-31 00:00:00', 'Sergio García Martínez', 1, '2019-01-10 17:17:36', '2019-01-10 18:17:42', NULL, 1, NULL, NULL, 4112, 2, 3, 466.76000000, 0, '2018-12-31', NULL, NULL),
(36, NULL, '2018-12-31 00:00:00', 'José Manuel Valle Llamas', 1, '2019-01-10 17:18:14', '2019-01-10 18:18:21', NULL, 1, NULL, NULL, 4112, 2, 3, 473.64000000, 0, '2018-12-31', NULL, NULL),
(37, NULL, '2018-10-31 00:00:00', 'José Antonio Camacho Martínez', 1, '2019-01-10 17:22:35', '2019-01-10 18:22:05', NULL, 1, 1, NULL, 4113, 2, 3, 422.40000000, 0, '2018-10-31', 0, NULL),
(38, NULL, '2018-11-30 00:00:00', 'José Antonio Camacho Martínez', 1, '2019-01-10 17:24:13', '2019-01-10 18:23:10', NULL, 1, 1, NULL, 4113, 2, 3, 326.40000000, 0, '2018-11-30', 0, NULL),
(39, NULL, '2018-12-31 00:00:00', 'David Alcalde Repullo', 1, '2019-01-15 11:26:37', '2019-01-15 12:26:54', NULL, 1, NULL, NULL, 4112, 2, 3, 239.15000000, 0, '2018-12-31', NULL, NULL),
(40, NULL, '2018-12-31 00:00:00', 'Joan Antón Cárdenas Núñez', 1, '2019-01-17 10:00:17', '2019-01-17 11:00:39', NULL, 1, NULL, NULL, 4112, 2, 3, 1176.00000000, 0, '2018-12-31', NULL, NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_commande`
--

CREATE TABLE `b67182907_commande` (
  `rowid` int NOT NULL,
  `ref` varchar(30) NOT NULL,
  `entity` int 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 NOT NULL,
  `fk_projet` int 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 DEFAULT NULL,
  `fk_user_modif` int DEFAULT NULL,
  `fk_user_valid` int DEFAULT NULL,
  `fk_user_cloture` int DEFAULT NULL,
  `source` smallint DEFAULT NULL,
  `fk_statut` smallint DEFAULT '0',
  `amount_ht` double(24,8) DEFAULT '0.00000000',
  `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,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `facture` tinyint DEFAULT '0',
  `fk_account` int DEFAULT NULL,
  `fk_currency` varchar(3) DEFAULT NULL,
  `fk_cond_reglement` int DEFAULT NULL,
  `fk_mode_reglement` int DEFAULT NULL,
  `date_livraison` date DEFAULT NULL,
  `fk_shipping_method` int DEFAULT NULL,
  `fk_warehouse` int DEFAULT NULL,
  `fk_availability` int DEFAULT NULL,
  `fk_input_reason` int DEFAULT NULL,
  `fk_delivery_address` int DEFAULT NULL,
  `fk_incoterms` int DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_commande`
--

INSERT INTO `b67182907_commande` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_int`, `ref_client`, `fk_soc`, `fk_projet`, `tms`, `date_creation`, `date_valid`, `date_cloture`, `date_commande`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_user_cloture`, `source`, `fk_statut`, `amount_ht`, `remise_percent`, `remise_absolue`, `remise`, `tva`, `localtax1`, `localtax2`, `total_ht`, `total_ttc`, `note_private`, `note_public`, `model_pdf`, `last_main_doc`, `facture`, `fk_account`, `fk_currency`, `fk_cond_reglement`, `fk_mode_reglement`, `date_livraison`, `fk_shipping_method`, `fk_warehouse`, `fk_availability`, `fk_input_reason`, `fk_delivery_address`, `fk_incoterms`, `location_incoterms`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES
(1, 'CO1902-0001', 1, NULL, NULL, '2019-ETI-0003', 394, NULL, '2019-04-28 08:58:42', '2019-02-21 16:11:59', '2019-02-21 16:13:22', '2019-04-28 10:59:06', '2019-02-21', 2, NULL, 2, 2, NULL, 3, 0.00000000, 0, NULL, 0, 1260.00000000, 0.00000000, 0.00000000, 6000.00000000, 7260.00000000, '', '', 'einstein', 'commande/CO1902-0001/CO1902-0001.pdf', 1, NULL, NULL, 13, 7, '2019-03-04', NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 6000.00000000, 1260.00000000, 7260.00000000),
(2, 'CO1904-0003', 1, NULL, NULL, NULL, 392, NULL, '2019-04-30 14:40:37', '2019-04-09 10:49:26', '2019-04-30 16:41:02', NULL, '2019-04-09', 2, NULL, 1, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 308.70000000, 0.00000000, 0.00000000, 1470.00000000, 1778.70000000, '', '', 'einstein', 'commande/CO1904-0003/CO1904-0003.pdf', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 1470.00000000, 308.70000000, 1778.70000000),
(3, 'CO1904-0002', 1, NULL, NULL, NULL, 394, NULL, '2019-04-28 08:57:10', '2019-04-11 10:21:10', '2019-04-28 10:56:58', '2019-04-28 10:57:33', '2019-04-10', 2, NULL, 2, 2, NULL, 3, 0.00000000, 0, NULL, 0, 209.79000000, 0.00000000, 0.00000000, 999.00000000, 1208.79000000, '', '', 'einstein', 'commande/CO1904-0002/CO1904-0002.pdf', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 999.00000000, 209.79000000, 1208.79000000),
(4, 'CO1904-0004', 1, NULL, NULL, NULL, 382, NULL, '2019-04-30 14:57:16', '2019-04-12 21:18:54', '2019-04-30 16:57:41', NULL, '2019-04-12', 2, NULL, 1, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 62.48000000, 0.00000000, 0.00000000, 297.50000000, 359.98000000, '', '', 'einstein', 'commande/CO1904-0004/CO1904-0004.pdf', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 297.50000000, 62.48000000, 359.98000000),
(5, '(PROV5)', 1, NULL, NULL, NULL, 341, NULL, '2019-04-28 08:56:07', '2019-04-15 22:29:00', NULL, NULL, '2019-04-15', 2, NULL, NULL, NULL, NULL, 0, 0.00000000, 0, NULL, 0, 95.55000000, 0.00000000, 0.00000000, 455.00000000, 550.55000000, '', '', 'einstein', 'commande/(PROV5)/(PROV5).pdf', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 455.00000000, 95.55000000, 550.55000000),
(6, 'CO1904-0006', 1, NULL, NULL, NULL, 394, NULL, '2019-05-27 08:47:25', '2019-04-30 17:30:23', '2019-05-27 10:48:07', NULL, '2019-04-30', 2, NULL, 1, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 198.45000000, 0.00000000, 0.00000000, 945.00000000, 1143.45000000, '', '', 'einstein', 'commande/CO1904-0006/CO1904-0006.pdf', 0, NULL, NULL, 13, 7, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 945.00000000, 198.45000000, 1143.45000000),
(7, 'CO1905-0005', 1, NULL, NULL, '2019-ETI-0010', 394, NULL, '2019-05-21 08:35:53', '2019-05-21 10:34:04', '2019-05-21 10:36:31', NULL, '2019-05-21', 2, NULL, 2, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 1680.00000000, 0.00000000, 0.00000000, 8000.00000000, 9680.00000000, '', '', 'einstein', 'commande/CO1905-0005/CO1905-0005.pdf', 0, NULL, NULL, 13, 7, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 8000.00000000, 1680.00000000, 9680.00000000),
(8, 'CO1907-0007', 1, NULL, NULL, NULL, 341, NULL, '2019-08-02 13:23:31', '2019-07-23 14:09:45', '2019-07-23 14:14:39', NULL, '2019-07-23', 2, 2, 2, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 752.85000000, 0.00000000, 0.00000000, 3585.00000000, 4337.85000000, '', 'Nº pedido cliente NN9N0C8981\r\n\r\nFirma Entregado:\r\n\r\n\r\n\r\n\r\n\r\n---', 'einstein', 'commande/CO1907-0007/CO1907-0007.pdf', 1, NULL, NULL, 1, 2, NULL, NULL, NULL, 2, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 3585.00000000, 752.85000000, 4337.85000000),
(9, 'CO1907-0008', 1, NULL, NULL, NULL, 392, NULL, '2019-07-29 21:36:41', '2019-07-29 23:38:43', '2019-07-29 23:41:41', NULL, '2019-07-29', 2, NULL, 2, NULL, NULL, 1, 0.00000000, 0, NULL, 0, 117.60000000, 0.00000000, 0.00000000, 560.00000000, 677.60000000, '', '', 'einstein', 'commande/CO1907-0008/CO1907-0008.pdf', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 560.00000000, 117.60000000, 677.60000000),
(10, 'CO2011-0009', 1, NULL, NULL, 'Pedido Nº PC20 / 803', 355, NULL, '2020-11-30 10:48:01', '2020-11-30 11:43:35', '2020-11-30 11:45:22', '2020-11-30 11:47:14', '2020-11-02', 2, NULL, 2, 2, NULL, 3, 0.00000000, 0, NULL, 0, 2856.00000000, 0.00000000, 0.00000000, 13600.00000000, 16456.00000000, '', '', 'einstein', 'commande/CO2011-0009/CO2011-0009.pdf', 0, NULL, NULL, NULL, NULL, '2020-11-30', NULL, NULL, NULL, NULL, NULL, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 13600.00000000, 2856.00000000, 16456.00000000);

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

--
-- Estructura de tabla para la tabla `b67182907_commandedet`
--

CREATE TABLE `b67182907_commandedet` (
  `rowid` int NOT NULL,
  `fk_commande` int NOT NULL,
  `fk_parent_line` int DEFAULT NULL,
  `fk_product` int DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `vat_src_code` varchar(10) DEFAULT '',
  `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 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 DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT '0.00000000',
  `fk_product_fournisseur_price` int DEFAULT NULL,
  `special_code` int DEFAULT '0',
  `rang` int DEFAULT '0',
  `fk_unit` int DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `fk_commandefourndet` int DEFAULT NULL,
  `fk_multicurrency` int DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_commandedet`
--

INSERT INTO `b67182907_commandedet` (`rowid`, `fk_commande`, `fk_parent_line`, `fk_product`, `label`, `description`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `fk_remise_except`, `price`, `subprice`, `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`, `special_code`, `rang`, `fk_unit`, `import_key`, `fk_commandefourndet`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES
(1, 1, NULL, 8, NULL, '', '', 21.000, 0.000, '3', -15.000, '1', 240, 0, 0, NULL, 25, 25.00000000, 6000.00000000, 1260.00000000, 0.00000000, 0.00000000, 7260.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 25.00000000, 6000.00000000, 1260.00000000, 7260.00000000),
(2, 2, NULL, 3, NULL, 'Montaje de la web B2B en un servidor linux', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 35, 35.00000000, 140.00000000, 29.40000000, 0.00000000, 0.00000000, 169.40000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 140.00000000, 29.40000000, 169.40000000),
(3, 2, NULL, 3, NULL, 'Eliminar de la web de tuanity la oferta: \"Sin gastos de envío\"', '', 21.000, 0.000, '3', -15.000, '1', 2, 0, 0, NULL, 35, 35.00000000, 70.00000000, 14.70000000, 0.00000000, 0.00000000, 84.70000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 70.00000000, 14.70000000, 84.70000000),
(4, 2, NULL, 3, NULL, 'Optimización de las consultas del catálogo B2B', '', 21.000, 0.000, '3', -15.000, '1', 8, 0, 0, NULL, 35, 35.00000000, 280.00000000, 58.80000000, 0.00000000, 0.00000000, 338.80000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 280.00000000, 58.80000000, 338.80000000),
(5, 3, NULL, 3, NULL, 'Montar entorno desarrollo', '', 21.000, 0.000, '3', -15.000, '1', 6, 0, 0, NULL, 27, 27.00000000, 162.00000000, 34.02000000, 0.00000000, 0.00000000, 196.02000000, 1, '2019-04-11 00:00:00', '2019-04-11 00:00:00', 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 162.00000000, 34.02000000, 196.02000000),
(6, 3, NULL, 3, NULL, 'Montar entorno desarrollo', '', 21.000, 0.000, '3', -15.000, '1', 2, 0, 0, NULL, 27, 27.00000000, 54.00000000, 11.34000000, 0.00000000, 0.00000000, 65.34000000, 1, '2019-04-12 00:00:00', '2019-04-12 00:00:00', 0, 0.00000000, NULL, 0, 2, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 54.00000000, 11.34000000, 65.34000000),
(7, 3, NULL, 3, NULL, 'Visualizar iconos pantalla, visualizar iconos ramo.', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 27, 27.00000000, 108.00000000, 22.68000000, 0.00000000, 0.00000000, 130.68000000, 1, '2019-04-12 00:00:00', '2019-04-12 00:00:00', 0, 0.00000000, NULL, 0, 3, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 108.00000000, 22.68000000, 130.68000000),
(8, 4, NULL, 3, NULL, 'Generación de facturas de clientes, agrupadas y ordenadas.\r\nGeneración de facturas proveedores.\r\nMarcando pedidos como facturados.', '', 21.000, 0.000, '3', -15.000, '1', 8, 0, 0, NULL, 35, 35.00000000, 280.00000000, 58.80000000, 0.00000000, 0.00000000, 338.80000000, 1, '2019-04-12 00:00:00', '2019-04-12 00:00:00', 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 280.00000000, 58.80000000, 338.80000000),
(9, 3, NULL, 3, NULL, 'Recuperar enlaces promocionados', '', 21.000, 0.000, '3', -15.000, '1', 6, 0, 0, NULL, 27, 27.00000000, 162.00000000, 34.02000000, 0.00000000, 0.00000000, 196.02000000, 1, '2019-04-15 00:00:00', '2019-04-15 00:00:00', 0, 0.00000000, NULL, 0, 4, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 162.00000000, 34.02000000, 196.02000000),
(10, 5, NULL, 3, NULL, 'Actualizar la tabla de aceptación de presupuesto.', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 35, 35.00000000, 140.00000000, 29.40000000, 0.00000000, 0.00000000, 169.40000000, 1, '2019-04-16 00:00:00', '2019-04-16 00:00:00', 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 140.00000000, 29.40000000, 169.40000000),
(11, 4, NULL, 3, NULL, 'Modificación de firma para los correos de Montse.', '', 21.000, 0.000, '3', -15.000, '1', 0.5, 0, 0, NULL, 35, 35.00000000, 17.50000000, 3.68000000, 0.00000000, 0.00000000, 21.18000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 17.50000000, 3.68000000, 21.18000000),
(13, 3, NULL, 3, NULL, 'Implemantación detalles de la ruta.', '', 21.000, 0.000, '3', -15.000, '1', 6, 0, 0, NULL, 27, 27.00000000, 162.00000000, 34.02000000, 0.00000000, 0.00000000, 196.02000000, 1, '2019-04-16 00:00:00', '2019-04-16 00:00:00', 0, 0.00000000, NULL, 0, 5, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 162.00000000, 34.02000000, 196.02000000),
(14, 3, NULL, 3, NULL, 'Implementación detalle de la ruta', '', 21.000, 0.000, '3', -15.000, '1', 8, 0, 0, NULL, 27, 27.00000000, 216.00000000, 45.36000000, 0.00000000, 0.00000000, 261.36000000, 1, '2019-04-17 00:00:00', '2019-04-17 00:00:00', 0, 0.00000000, NULL, 0, 6, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 216.00000000, 45.36000000, 261.36000000),
(15, 3, NULL, 3, NULL, 'Modificar la ubicación de los contenidos estáticos cumpliendo con arquitectura', '', 21.000, 0.000, '3', -15.000, '1', 3, 0, 0, NULL, 27, 27.00000000, 81.00000000, 17.01000000, 0.00000000, 0.00000000, 98.01000000, 1, '2019-04-18 00:00:00', '2019-04-18 00:00:00', 0, 0.00000000, NULL, 0, 7, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 81.00000000, 17.01000000, 98.01000000),
(16, 3, NULL, 3, NULL, 'Mostrar la pantalla StreetView', '', 21.000, 0.000, '3', -15.000, '1', 2, 0, 0, NULL, 27, 27.00000000, 54.00000000, 11.34000000, 0.00000000, 0.00000000, 65.34000000, 1, '2019-04-18 00:00:00', '2019-04-18 00:00:00', 0, 0.00000000, NULL, 0, 8, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 54.00000000, 11.34000000, 65.34000000),
(17, 2, NULL, 3, NULL, 'Maquetación B2B -> para -> tunaity', '', 21.000, 0.000, '3', -15.000, '1', 16, 0, 0, NULL, 35, 35.00000000, 560.00000000, 117.60000000, 0.00000000, 0.00000000, 677.60000000, 1, '2019-04-17 00:00:00', '2019-04-18 00:00:00', 0, 0.00000000, NULL, 0, 4, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 560.00000000, 117.60000000, 677.60000000),
(18, 2, NULL, 3, NULL, 'Procedimiento de cálculo y refresco de los stocks, planificador y cambio de todas las querys en producción.', '', 21.000, 0.000, '3', -15.000, '1', 8, 0, 0, NULL, 35, 35.00000000, 280.00000000, 58.80000000, 0.00000000, 0.00000000, 338.80000000, 1, '2019-04-24 00:00:00', '2019-04-24 00:00:00', 0, 0.00000000, NULL, 0, 5, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 280.00000000, 58.80000000, 338.80000000),
(19, 2, NULL, 3, NULL, 'Implementar paginación listado de facturas.', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 35, 35.00000000, 140.00000000, 29.40000000, 0.00000000, 0.00000000, 169.40000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 6, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 140.00000000, 29.40000000, 169.40000000),
(20, 5, NULL, 3, NULL, 'Solucionar problemas con las remesas', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 35, 35.00000000, 140.00000000, 29.40000000, 0.00000000, 0.00000000, 169.40000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 140.00000000, 29.40000000, 169.40000000),
(21, 5, NULL, 2, NULL, 'Implementar actualización del estado de aceptación de los presupuestos.', '', 21.000, 0.000, '3', -15.000, '1', 5, 0, 0, NULL, 35, 35.00000000, 175.00000000, 36.75000000, 0.00000000, 0.00000000, 211.75000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 175.00000000, 36.75000000, 211.75000000),
(22, 6, NULL, 3, NULL, 'Maquetación de oficina.', '', 21.000, 0.000, '3', -15.000, '1', 8, 0, 0, NULL, 27, 27.00000000, 216.00000000, 45.36000000, 0.00000000, 0.00000000, 261.36000000, 1, '2019-04-29 00:00:00', '2019-04-30 00:00:00', 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 216.00000000, 45.36000000, 261.36000000),
(23, 6, NULL, 3, NULL, 'Comportamiento ajax de los datos de las oficinas.', '', 21.000, 0.000, '3', -15.000, '1', 6, 0, 0, NULL, 27, 27.00000000, 162.00000000, 34.02000000, 0.00000000, 0.00000000, 196.02000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 2, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 162.00000000, 34.02000000, 196.02000000),
(24, 6, NULL, 3, NULL, 'Texto predictivo buscador.', '', 21.000, 0.000, '3', -15.000, '1', 5, 0, 0, NULL, 27, 27.00000000, 135.00000000, 28.35000000, 0.00000000, 0.00000000, 163.35000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 3, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 135.00000000, 28.35000000, 163.35000000),
(25, 6, NULL, 3, NULL, 'Preview documentos PDF.', '', 21.000, 0.000, '3', -15.000, '1', 7, 0, 0, NULL, 27, 27.00000000, 189.00000000, 39.69000000, 0.00000000, 0.00000000, 228.69000000, 1, '2019-05-09 00:00:00', '2019-05-12 00:00:00', 0, 0.00000000, NULL, 0, 4, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 189.00000000, 39.69000000, 228.69000000),
(26, 6, NULL, 3, NULL, 'Problemas de integración Bootstrap.css', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 27, 27.00000000, 108.00000000, 22.68000000, 0.00000000, 0.00000000, 130.68000000, 1, '2019-05-16 00:00:00', '2019-05-16 00:00:00', 0, 0.00000000, NULL, 0, 5, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 108.00000000, 22.68000000, 130.68000000),
(27, 6, NULL, 3, NULL, 'Problema desaparece buscador principal', '', 21.000, 0.000, '3', -15.000, '1', 1, 0, 0, NULL, 27, 27.00000000, 27.00000000, 5.67000000, 0.00000000, 0.00000000, 32.67000000, 1, '2019-05-18 00:00:00', '2019-05-18 00:00:00', 0, 0.00000000, NULL, 0, 6, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 27.00000000, 5.67000000, 32.67000000),
(28, 6, NULL, 3, NULL, 'Formulario de búsqueda avanzada', '', 21.000, 0.000, '3', -15.000, '1', 4, 0, 0, NULL, 27, 27.00000000, 108.00000000, 22.68000000, 0.00000000, 0.00000000, 130.68000000, 1, '2019-05-19 00:00:00', '2019-05-19 00:00:00', 0, 0.00000000, NULL, 0, 7, NULL, NULL, NULL, 0, 'EUR', 27.00000000, 108.00000000, 22.68000000, 130.68000000),
(29, 7, NULL, 3, NULL, 'Horas desarrollo Java (3 años de experiencia) Jose Camacho', '', 21.000, 0.000, '3', -15.000, '1', 320, 0, 0, NULL, 25, 25.00000000, 8000.00000000, 1680.00000000, 0.00000000, 0.00000000, 9680.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 25.00000000, 8000.00000000, 1680.00000000, 9680.00000000),
(30, 8, NULL, 16, NULL, '', '', 21.000, 0.000, '3', 0.000, '1', 30000, 0, 0, NULL, 0.1195, 0.11950000, 3585.00000000, 752.85000000, 0.00000000, 0.00000000, 4337.85000000, 0, NULL, NULL, 0, 0.09372000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 0.11950000, 3585.00000000, 752.85000000, 4337.85000000),
(31, 9, NULL, 3, NULL, 'Instalación de captcha en los formularios de registro y limpieza de usuarios falsos.', '', 21.000, 0.000, '3', -15.000, '1', 16, 0, 0, NULL, 35, 35.00000000, 560.00000000, 117.60000000, 0.00000000, 0.00000000, 677.60000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 35.00000000, 560.00000000, 117.60000000, 677.60000000),
(32, 10, NULL, 4, NULL, 'Proyecto desarrollo RFID Pedido Nº PC20 / 803', '', 21.000, 0.000, '3', -15.000, '1', 1, 0, 0, NULL, 13600, 13600.00000000, 13600.00000000, 2856.00000000, 0.00000000, 0.00000000, 16456.00000000, 1, NULL, NULL, 0, 0.00000000, NULL, 0, 1, NULL, NULL, NULL, 0, 'EUR', 13600.00000000, 13600.00000000, 2856.00000000, 16456.00000000);

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

--
-- Estructura de tabla para la tabla `b67182907_commandedet_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_commande_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseur`
--

CREATE TABLE `b67182907_commande_fournisseur` (
  `rowid` int NOT NULL,
  `ref` varchar(180) NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `ref_ext` varchar(255) DEFAULT NULL,
  `ref_supplier` varchar(255) DEFAULT NULL,
  `fk_soc` int NOT NULL,
  `fk_projet` int 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 DEFAULT NULL,
  `fk_user_modif` int DEFAULT NULL,
  `fk_user_valid` int DEFAULT NULL,
  `fk_user_approve` int DEFAULT NULL,
  `fk_user_approve2` int DEFAULT NULL,
  `source` smallint NOT NULL,
  `fk_statut` smallint DEFAULT '0',
  `billed` smallint DEFAULT '0',
  `amount_ht` double(24,8) DEFAULT '0.00000000',
  `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,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `date_livraison` datetime DEFAULT NULL,
  `fk_account` int DEFAULT NULL,
  `fk_cond_reglement` int DEFAULT NULL,
  `fk_mode_reglement` int DEFAULT NULL,
  `fk_input_method` int DEFAULT '0',
  `fk_incoterms` int DEFAULT NULL,
  `location_incoterms` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL,
  `fk_multicurrency` int DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_tx` double(24,8) DEFAULT '1.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_commande_fournisseur`
--

INSERT INTO `b67182907_commande_fournisseur` (`rowid`, `ref`, `entity`, `ref_ext`, `ref_supplier`, `fk_soc`, `fk_projet`, `tms`, `date_creation`, `date_valid`, `date_approve`, `date_approve2`, `date_commande`, `fk_user_author`, `fk_user_modif`, `fk_user_valid`, `fk_user_approve`, `fk_user_approve2`, `source`, `fk_statut`, `billed`, `amount_ht`, `remise_percent`, `remise`, `tva`, `localtax1`, `localtax2`, `total_ht`, `total_ttc`, `note_private`, `note_public`, `model_pdf`, `last_main_doc`, `date_livraison`, `fk_account`, `fk_cond_reglement`, `fk_mode_reglement`, `fk_input_method`, `fk_incoterms`, `location_incoterms`, `import_key`, `extraparams`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_tx`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES
(1, 'PO1901-0001', 1, NULL, '', 332, 1, '2019-01-16 15:47:09', '2019-01-16 14:14:11', '2019-01-16 16:47:30', '2019-01-16 16:47:30', NULL, NULL, 2, NULL, 2, 2, NULL, 0, 2, 0, 0.00000000, 0, 0, 1874.52000000, 0.00000000, 0.00000000, 8926.24000000, 10800.76000000, '', '', 'muscadet', NULL, '2019-02-06 00:00:00', NULL, 1, 2, 0, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 8926.24000000, 1874.52000000, 10800.76000000),
(2, 'PO1903-0002', 1, NULL, '', 332, NULL, '2019-03-14 09:26:01', '2019-03-14 10:25:43', '2019-03-14 10:26:03', '2019-03-14 10:26:03', NULL, NULL, 2, NULL, 2, 2, NULL, 0, 2, 0, 0.00000000, 0, 0, 393.62000000, 0.00000000, 0.00000000, 1874.40000000, 2268.02000000, '', '', 'muscadet', NULL, NULL, NULL, 1, NULL, 0, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 1874.40000000, 393.62000000, 2268.02000000),
(3, 'PO1907-0003', 1, NULL, '', 332, NULL, '2019-07-19 14:39:00', '2019-07-19 16:42:29', '2019-07-19 16:43:09', '2019-07-19 16:43:10', NULL, NULL, 2, NULL, 2, 2, NULL, 0, 2, 0, 0.00000000, 0, 0, 492.03000000, 0.00000000, -351.45000000, 2343.00000000, 2483.58000000, '', '', 'muscadet', NULL, '2019-07-31 00:00:00', NULL, 1, 2, 0, 0, '', NULL, NULL, 0, 'EUR', 1.00000000, 2343.00000000, 492.03000000, 2483.58000000);

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseurdet`
--

CREATE TABLE `b67182907_commande_fournisseurdet` (
  `rowid` int NOT NULL,
  `fk_commande` int NOT NULL,
  `fk_parent_line` int DEFAULT NULL,
  `fk_product` int DEFAULT NULL,
  `ref` varchar(50) DEFAULT NULL,
  `label` varchar(255) DEFAULT NULL,
  `description` text,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(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 DEFAULT '0',
  `date_start` datetime DEFAULT NULL,
  `date_end` datetime DEFAULT NULL,
  `info_bits` int DEFAULT '0',
  `special_code` int DEFAULT '0',
  `rang` int DEFAULT '0',
  `import_key` varchar(14) DEFAULT NULL,
  `fk_unit` int DEFAULT NULL,
  `fk_multicurrency` int DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_commande_fournisseurdet`
--

INSERT INTO `b67182907_commande_fournisseurdet` (`rowid`, `fk_commande`, `fk_parent_line`, `fk_product`, `ref`, `label`, `description`, `vat_src_code`, `tva_tx`, `localtax1_tx`, `localtax1_type`, `localtax2_tx`, `localtax2_type`, `qty`, `remise_percent`, `remise`, `subprice`, `total_ht`, `total_tva`, `total_localtax1`, `total_localtax2`, `total_ttc`, `product_type`, `date_start`, `date_end`, `info_bits`, `special_code`, `rang`, `import_key`, `fk_unit`, `fk_multicurrency`, `multicurrency_code`, `multicurrency_subprice`, `multicurrency_total_ht`, `multicurrency_total_tva`, `multicurrency_total_ttc`) VALUES
(3, 1, NULL, 16, 'REF145', 'Etiqueta Expedición', '', '', 21.000, 0.000, '3', 0.000, '1', 3000, 0, 0, 0.10604000, 318.12000000, 66.81000000, 0.00000000, 0.00000000, 384.93000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 0.10604000, 318.12000000, 66.81000000, 384.93000000),
(4, 1, NULL, NULL, '', '', 'Reader Impinj R420\r\nReader PS\r\nReader PS Card\r\nImpinj Antena Hub\r\nImpinj GPIO Adapter\r\nAntena P16 (837 mm x 137 mm x 3,3 mm) X 6\r\nCoaxial SMA male straight - Rev TNC male straight (5,2 mm) X 4\r\nCable ethernet X 3', '', 21.000, 0.000, '3', 0.000, '1', 1, 0, 0, 3515.12000000, 3515.12000000, 738.18000000, 0.00000000, 0.00000000, 4253.30000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 3515.12000000, 3515.12000000, 738.18000000, 4253.30000000),
(5, 1, NULL, NULL, '', '', 'Antena P16 (837 mm x 137 mm x 3.3 mm) \r\nCoaxial SMA male straight - Rev TNC Male straight (5.2mm)', '', 21.000, 0.000, '3', 0.000, '1', 1, 0, 0, 311.00000000, 311.00000000, 65.31000000, 0.00000000, 0.00000000, 376.31000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 311.00000000, 311.00000000, 65.31000000, 376.31000000),
(6, 1, NULL, NULL, '', '', 'Impresora ZD500R RFID\r\nLicencia ZBI\r\nCable Ethernet', '', 21.000, 0.000, '3', 0.000, '1', 1, 0, 0, 1782.00000000, 1782.00000000, 374.22000000, 0.00000000, 0.00000000, 2156.22000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 1782.00000000, 1782.00000000, 374.22000000, 2156.22000000),
(7, 1, NULL, NULL, '', '', 'Servicios Portal', '', 21.000, 0.000, '3', 0.000, '1', 1, 0, 0, 2100.00000000, 2100.00000000, 441.00000000, 0.00000000, 0.00000000, 2541.00000000, 1, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 2100.00000000, 2100.00000000, 441.00000000, 2541.00000000),
(8, 1, NULL, NULL, '', '', 'Servicios de entrada', '', 21.000, 0.000, '3', 0.000, '1', 1, 0, 0, 900.00000000, 900.00000000, 189.00000000, 0.00000000, 0.00000000, 1089.00000000, 1, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 900.00000000, 900.00000000, 189.00000000, 1089.00000000),
(9, 2, NULL, 16, 'REF145', 'Etiqueta Expedición', '', '', 21.000, 0.000, '3', 0.000, '1', 20000, 0, 0, 0.09372000, 1874.40000000, 393.62000000, 0.00000000, 0.00000000, 2268.02000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 0.09372000, 1874.40000000, 393.62000000, 2268.02000000),
(10, 3, NULL, 16, 'REF145', 'Etiqueta Expedición', '', '', 21.000, 0.000, '3', -15.000, '1', 25000, 0, 0, 0.09372000, 2343.00000000, 492.03000000, 0.00000000, -351.45000000, 2483.58000000, 0, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, 'EUR', 0.09372000, 2343.00000000, 492.03000000, 2483.58000000);

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseurdet_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseur_dispatch`
--

CREATE TABLE `b67182907_commande_fournisseur_dispatch` (
  `rowid` int NOT NULL,
  `fk_commande` int DEFAULT NULL,
  `fk_product` int DEFAULT NULL,
  `fk_commandefourndet` int DEFAULT NULL,
  `qty` float DEFAULT NULL,
  `fk_entrepot` int DEFAULT NULL,
  `fk_user` int DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `batch` varchar(30) DEFAULT NULL,
  `eatby` date DEFAULT NULL,
  `sellby` date DEFAULT NULL,
  `status` int DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseur_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_commande_fournisseur_log`
--

CREATE TABLE `b67182907_commande_fournisseur_log` (
  `rowid` int NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `datelog` datetime NOT NULL,
  `fk_commande` int NOT NULL,
  `fk_statut` smallint NOT NULL,
  `fk_user` int NOT NULL,
  `comment` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_comment`
--

CREATE TABLE `b67182907_comment` (
  `rowid` int NOT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `description` text NOT NULL,
  `fk_user_author` int DEFAULT NULL,
  `fk_element` int DEFAULT NULL,
  `element_type` varchar(50) DEFAULT NULL,
  `entity` int DEFAULT '1',
  `import_key` varchar(125) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_const`
--

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

--
-- Volcado de datos para la tabla `b67182907_const`
--

INSERT INTO `b67182907_const` (`rowid`, `name`, `entity`, `value`, `type`, `visible`, `note`, `tms`) VALUES
(3, 'MAILING_LIMIT_SENDBYWEB', 0, '25', 'chaine', 1, 'Number of targets to defined packet size when sending mass email', '2018-03-06 15:23:16'),
(4, 'MAIN_ENABLE_LOG_TO_HTML', 0, '0', 'chaine', 1, 'If this option is set to 1, it is possible to see log output at end of HTML sources by adding paramater logtohtml=1 on URL. Module log must also be enabled.', '2018-03-06 15:23:16'),
(5, 'MAIN_SECURITY_CSRF_WITH_TOKEN', 0, '0', 'chaine', 1, 'If this option is set to 1, a CSRF protection using an antiCSRF token is added.', '2018-03-06 15:23:16'),
(6, 'SYSLOG_HANDLERS', 0, '[\"mod_syslog_file\"]', 'chaine', 0, 'Which logger to use', '2018-03-06 15:23:16'),
(7, 'SYSLOG_FILE', 0, 'DOL_DATA_ROOT/dolibarr.log', 'chaine', 0, 'Directory where to write log file', '2018-03-06 15:23:16'),
(9, 'MAIN_UPLOAD_DOC', 0, '2048', 'chaine', 0, 'Max size for file upload (0 means no upload allowed)', '2018-03-06 15:23:16'),
(10, 'MAIN_ENABLE_OVERWRITE_TRANSLATION', 1, '1', 'chaine', 0, 'Enable translation overwrite', '2018-03-06 15:23:16'),
(11, 'MAIN_ENABLE_DEFAULT_VALUES', 1, '1', 'chaine', 0, 'Enable default value overwrite', '2018-03-06 15:23:16'),
(16, 'MAIN_SIZE_LISTE_LIMIT', 0, '25', 'chaine', 0, 'Longueur maximum des listes', '2018-03-06 15:23:16'),
(17, 'MAIN_SIZE_SHORTLIST_LIMIT', 0, '3', 'chaine', 0, 'Longueur maximum des listes courtes (fiche client)', '2018-03-06 15:23:16'),
(18, 'MAIN_MENU_STANDARD', 0, 'eldy_menu.php', 'chaine', 0, 'Menu manager for internal users', '2018-03-06 15:23:16'),
(19, 'MAIN_MENUFRONT_STANDARD', 0, 'eldy_menu.php', 'chaine', 0, 'Menu manager for external users', '2018-03-06 15:23:16'),
(20, 'MAIN_MENU_SMARTPHONE', 0, 'eldy_menu.php', 'chaine', 0, 'Menu manager for internal users using smartphones', '2018-03-06 15:23:16'),
(21, 'MAIN_MENUFRONT_SMARTPHONE', 0, 'eldy_menu.php', 'chaine', 0, 'Menu manager for external users using smartphones', '2018-03-06 15:23:16'),
(22, 'MAIN_DELAY_ACTIONS_TODO', 1, '7', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur actions planifiées non réalisées', '2018-03-06 15:23:16'),
(23, 'MAIN_DELAY_ORDERS_TO_PROCESS', 1, '2', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur commandes clients non traitées', '2018-03-06 15:23:16'),
(24, 'MAIN_DELAY_SUPPLIER_ORDERS_TO_PROCESS', 1, '7', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur commandes fournisseurs non traitées', '2018-03-06 15:23:16'),
(28, 'MAIN_DELAY_SUPPLIER_BILLS_TO_PAY', 1, '2', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur factures fournisseur impayées', '2018-03-06 15:23:16'),
(33, 'MAIN_DELAY_EXPENSEREPORTS_TO_PAY', 1, '31', 'chaine', 0, 'Tolérance de retard avant alerte (en jours) sur les notes de frais impayées', '2018-03-06 15:23:16'),
(34, 'MAIN_FIX_FOR_BUGGED_MTA', 1, '1', 'chaine', 1, 'Set constant to fix email ending from PHP with some linux ike system', '2018-03-06 15:23:16'),
(35, 'MAILING_EMAIL_FROM', 1, 'dolibarr@domain.com', 'chaine', 0, 'EMail emmetteur pour les envois d emailings', '2018-03-06 15:23:16'),
(36, 'PRODUCT_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/products', 'chaine', 0, NULL, '2018-03-06 15:23:16'),
(37, 'CONTRACT_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/contracts', 'chaine', 0, NULL, '2018-03-06 15:23:16'),
(38, 'USERGROUP_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/usergroups', 'chaine', 0, NULL, '2018-03-06 15:23:16'),
(39, 'USER_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/users', 'chaine', 0, NULL, '2018-03-06 15:23:16'),
(40, 'MAIN_MODULE_USER', 0, '1', NULL, 0, '{\"authorid\":0,\"ip\":\"192.168.1.119\"}', '2018-03-06 15:23:48'),
(42, 'MAIN_SECURITY_SALT', 0, '20180306165058', 'chaine', 0, '', '2018-03-06 15:23:48'),
(43, 'MAIN_SECURITY_HASH_ALGO', 0, 'sha1md5', 'chaine', 0, '', '2018-03-06 15:23:48'),
(44, 'MAIN_VERSION_FIRST_INSTALL', 0, '7.0.0', 'chaine', 0, 'Dolibarr version when first install', '2018-03-06 15:23:48'),
(45, 'MAIN_VERSION_LAST_INSTALL', 0, '7.0.0', 'chaine', 0, 'Dolibarr version when last install', '2018-03-06 15:23:48'),
(47, 'MAIN_MODULE_SALARIES', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:27:56'),
(48, 'SALARIES_ACCOUNTING_ACCOUNT_PAYMENT', 1, '421', 'chaine', 0, NULL, '2018-03-06 15:27:56'),
(49, 'SALARIES_ACCOUNTING_ACCOUNT_CHARGE', 1, '641', 'chaine', 0, NULL, '2018-03-06 15:27:56'),
(50, 'MAIN_MODULE_EXPENSEREPORT', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:27:58'),
(51, 'MAIN_MODULE_EXPENSEREPORT_TABS_0', 1, 'user:+expensereport:ExpenseReport:expensereport:$user->rights->expensereport->lire:/expensereport/list.php?mainmenu=hrm&id=__ID__', 'chaine', 0, NULL, '2018-03-06 15:27:58'),
(52, 'EXPENSEREPORT_ADDON_PDF', 1, 'standard', 'chaine', 0, 'Name of manager to build PDF expense reports documents', '2018-03-06 15:27:58'),
(53, 'EXPENSEREPORT_ADDON', 1, 'mod_expensereport_jade', 'chaine', 0, 'Name of manager to generate expense report ref number', '2018-03-06 15:27:58'),
(55, 'MAIN_MODULE_HOLIDAY', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:28:02'),
(56, 'MAIN_MODULE_HOLIDAY_TABS_0', 1, 'user:+paidholidays:CPTitreMenu:holiday:$user->rights->holiday->read:/holiday/list.php?mainmenu=hrm&id=__ID__', 'chaine', 0, NULL, '2018-03-06 15:28:02'),
(58, 'ADHERENT_ADDON_PDF', 1, 'standard', 'chaine', 0, 'Name of PDF model of member', '2018-03-06 15:28:10'),
(59, 'ADHERENT_MAIL_RESIL', 1, 'Votre adhésion vient d\'être résiliée.\r\nNous espérons vous revoir très bientôt', 'texte', 0, 'Mail de résiliation', '2018-03-06 15:28:10'),
(60, 'ADHERENT_MAIL_VALID', 1, 'Votre adhésion vient d\'être validée. \r\nVoici le rappel de vos coordonnées (toute information erronée entrainera la non validation de votre inscription) :\r\n\r\n__INFOS__\r\n\r\n', 'texte', 0, 'Mail de validation', '2018-03-06 15:28:10'),
(61, 'ADHERENT_MAIL_VALID_SUBJECT', 1, 'Votre adhésion a été validée', 'chaine', 0, 'Sujet du mail de validation', '2018-03-06 15:28:10'),
(62, 'ADHERENT_MAIL_RESIL_SUBJECT', 1, 'Résiliation de votre adhésion', 'chaine', 0, 'Sujet du mail de résiliation', '2018-03-06 15:28:10'),
(63, 'ADHERENT_MAIL_FROM', 1, '', 'chaine', 0, 'From des mails', '2018-03-06 15:28:10'),
(64, 'ADHERENT_MAIL_COTIS', 1, 'Bonjour __FIRSTNAME__,\r\nCet email confirme que votre cotisation a été reçue\r\net enregistrée', 'texte', 0, 'Mail de validation de cotisation', '2018-03-06 15:28:10'),
(65, 'ADHERENT_MAIL_COTIS_SUBJECT', 1, 'Reçu de votre cotisation', 'chaine', 0, 'Sujet du mail de validation de cotisation', '2018-03-06 15:28:10'),
(66, 'ADHERENT_CARD_HEADER_TEXT', 1, '__YEAR__', 'chaine', 0, 'Texte imprimé sur le haut de la carte adhérent', '2018-03-06 15:28:10'),
(67, 'ADHERENT_CARD_FOOTER_TEXT', 1, '__COMPANY__', 'chaine', 0, 'Texte imprimé sur le bas de la carte adhérent', '2018-03-06 15:28:10'),
(68, 'ADHERENT_CARD_TEXT', 1, '__FULLNAME__\r\nID: __ID__\r\n__EMAIL__\r\n__ADDRESS__\r\n__ZIP__ __TOWN__\r\n__COUNTRY__', 'texte', 0, 'Text to print on member cards', '2018-03-06 15:28:10'),
(69, 'ADHERENT_MAILMAN_ADMINPW', 1, '', 'chaine', 0, 'Mot de passe Admin des liste mailman', '2018-03-06 15:28:10'),
(70, 'ADHERENT_BANK_ACCOUNT', 1, '', 'chaine', 0, 'ID du Compte banquaire utilise', '2018-03-06 15:28:10'),
(71, 'ADHERENT_BANK_CATEGORIE', 1, '', 'chaine', 0, 'ID de la catégorie bancaire des cotisations', '2018-03-06 15:28:10'),
(72, 'ADHERENT_ETIQUETTE_TYPE', 1, 'L7163', 'chaine', 0, 'Type of address sheets', '2018-03-06 15:28:10'),
(73, 'ADHERENT_ETIQUETTE_TEXT', 1, '__FULLNAME__\n__ADDRESS__\n__ZIP__ __TOWN__\n__COUNTRY%', 'texte', 0, 'Text to print on member address sheets', '2018-03-06 15:28:10'),
(74, 'MAIN_MODULE_FACTURE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:29:46'),
(77, 'FACTURE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/invoices', 'chaine', 0, NULL, '2018-03-06 15:29:46'),
(78, 'MAIN_MODULE_SOCIETE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:29:47'),
(79, 'SOCIETE_CODECLIENT_ADDON', 1, 'mod_codeclient_monkey', 'chaine', 0, 'Module to control third parties codes', '2018-03-06 15:29:47'),
(80, 'SOCIETE_CODECOMPTA_ADDON', 1, 'mod_codecompta_panicum', 'chaine', 0, 'Module to control third parties codes', '2018-03-06 15:29:47'),
(82, 'COMPANY_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/thirdparties', 'chaine', 0, NULL, '2018-03-06 15:29:47'),
(83, 'SOCIETE_ADD_REF_IN_LIST', 1, '0', 'yesno', 0, 'Display customer ref into select list', '2018-03-06 15:29:47'),
(84, 'MAIN_MODULE_TAX', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:29:50'),
(85, 'MAIN_MODULE_LOAN', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:29:53'),
(86, 'LOAN_ACCOUNTING_ACCOUNT_CAPITAL', 1, '164', 'chaine', 0, NULL, '2018-03-06 15:29:53'),
(87, 'LOAN_ACCOUNTING_ACCOUNT_INSURANCE', 1, '6162', 'chaine', 0, NULL, '2018-03-06 15:29:53'),
(88, 'MAIN_MODULE_BANQUE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:29:58'),
(89, 'MAIN_MODULE_PRELEVEMENT', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:30:02'),
(90, 'BANK_ADDON_PDF', 1, 'sepamandate', 'chaine', 0, 'Name of manager to generate SEPA mandate', '2018-03-06 15:30:02'),
(91, 'MAIN_MODULE_MARGIN', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:30:05'),
(92, 'MAIN_MODULE_MARGIN_TABS_0', 1, 'product:+margin:Margins:margins:$user->rights->margins->liretous:/margin/tabs/productMargins.php?id=__ID__', 'chaine', 0, NULL, '2018-03-06 15:30:05'),
(93, 'MAIN_MODULE_MARGIN_TABS_1', 1, 'thirdparty:+margin:Margins:margins:empty($user->societe_id) && $user->rights->margins->liretous && ($object->client > 0):/margin/tabs/thirdpartyMargins.php?socid=__ID__', 'chaine', 0, NULL, '2018-03-06 15:30:05'),
(95, 'MAIN_MODULE_PROPALE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:30:05'),
(96, 'PROPALE_ADDON_PDF', 1, 'azur', 'chaine', 0, 'Name of the proposal generation manager in PDF format', '2018-03-06 15:30:05'),
(97, 'PROPALE_ADDON', 1, 'mod_propale_marbre', 'chaine', 0, 'Name of proposal numbering manager', '2018-03-06 15:30:05'),
(98, 'PROPALE_VALIDITY_DURATION', 1, '15', 'chaine', 0, 'Duration of validity of business proposals', '2018-03-06 15:30:05'),
(99, 'PROPALE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/proposals', 'chaine', 0, NULL, '2018-03-06 15:30:05'),
(100, 'MAIN_MODULE_PRODUCT', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:30:05'),
(101, 'PRODUCT_CODEPRODUCT_ADDON', 1, 'mod_codeproduct_leopard', 'chaine', 0, 'Module to control product codes', '2018-03-06 15:30:05'),
(104, 'MAIN_COMPANY_CODE_ALWAYS_REQUIRED', 1, '1', 'chaine', 0, 'With this constants on, third party code is always required whatever is numbering module behaviour', '2018-03-06 15:30:20'),
(105, 'MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED', 1, '1', 'chaine', 0, 'With this constants on, bank account number is always required', '2018-03-06 15:30:20'),
(106, 'ACCOUNTING_ACCOUNT_SUSPENSE', 1, '471', 'chaine', 0, NULL, '2018-03-06 15:30:20'),
(107, 'ACCOUNTING_ACCOUNT_TRANSFER_CASH', 1, '58', 'chaine', 0, NULL, '2018-03-06 15:30:20'),
(109, 'ACCOUNTING_EXPORT_MODELCSV', 1, '1', 'chaine', 0, NULL, '2018-03-06 15:30:20'),
(112, 'ACCOUNTING_LIST_SORT_VENTILATION_TODO', 1, '1', 'yesno', 0, NULL, '2018-03-06 15:30:20'),
(113, 'ACCOUNTING_LIST_SORT_VENTILATION_DONE', 1, '1', 'yesno', 0, NULL, '2018-03-06 15:30:20'),
(114, 'ACCOUNTING_EXPORT_DATE', 1, '%d%m%Y', 'chaine', 0, NULL, '2018-03-06 15:30:20'),
(115, 'ACCOUNTING_EXPORT_SEPARATORCSV', 1, ',', 'string', 0, NULL, '2018-03-06 15:30:20'),
(116, 'ACCOUNTING_EXPORT_FORMAT', 1, 'csv', 'chaine', 0, NULL, '2018-03-06 15:30:20'),
(117, 'MAIN_MODULE_SERVICE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:30:26'),
(119, 'STOCK_ALLOW_NEGATIVE_TRANSFER', 1, '1', 'chaine', 1, NULL, '2018-03-06 15:30:29'),
(120, 'MAIN_MODULE_PROJET', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-06 15:31:09'),
(121, 'PROJECT_ADDON_PDF', 1, 'baleine', 'chaine', 0, 'Name of PDF/ODT project manager class', '2018-03-06 15:31:09'),
(122, 'PROJECT_ADDON', 1, 'mod_project_simple', 'chaine', 0, 'Name of Numbering Rule project manager class', '2018-03-06 15:31:09'),
(123, 'PROJECT_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/projects', 'chaine', 0, NULL, '2018-03-06 15:31:09'),
(124, 'PROJECT_TASK_ADDON_PDF', 1, '', 'chaine', 0, 'Name of PDF/ODT tasks manager class', '2018-03-06 15:31:09'),
(125, 'PROJECT_TASK_ADDON', 1, 'mod_task_simple', 'chaine', 0, 'Name of Numbering Rule task manager class', '2018-03-06 15:31:09'),
(126, 'PROJECT_TASK_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/tasks', 'chaine', 0, NULL, '2018-03-06 15:31:09'),
(127, 'PROJECT_USE_OPPORTUNITIES', 1, '1', 'chaine', 0, NULL, '2018-03-06 15:31:09'),
(225, 'MAIN_DELAY_PROJECT_TO_CLOSE', 1, '7', 'chaine', 0, '', '2018-03-06 16:03:37'),
(226, 'MAIN_DELAY_TASKS_TODO', 1, '7', 'chaine', 0, '', '2018-03-06 16:03:37'),
(227, 'MAIN_DELAY_PROPALS_TO_CLOSE', 1, '31', 'chaine', 0, '', '2018-03-06 16:03:37'),
(228, 'MAIN_DELAY_PROPALS_TO_BILL', 1, '7', 'chaine', 0, '', '2018-03-06 16:03:37'),
(229, 'MAIN_DELAY_CUSTOMER_BILLS_UNPAYED', 1, '10', 'chaine', 0, '', '2018-03-06 16:03:37'),
(230, 'MAIN_DELAY_NOT_ACTIVATED_SERVICES', 1, '0', 'chaine', 0, '', '2018-03-06 16:03:37'),
(231, 'MAIN_DELAY_RUNNING_SERVICES', 1, '0', 'chaine', 0, '', '2018-03-06 16:03:37'),
(232, 'MAIN_DELAY_TRANSACTIONS_TO_CONCILIATE', 1, '62', 'chaine', 0, '', '2018-03-06 16:03:37'),
(233, 'MAIN_DELAY_CHEQUES_TO_DEPOSIT', 1, '0', 'chaine', 0, '', '2018-03-06 16:03:37'),
(234, 'MAIN_DELAY_MEMBERS', 1, '31', 'chaine', 0, '', '2018-03-06 16:03:37'),
(235, 'MAIN_DELAY_EXPENSEREPORTS', 1, '15', 'chaine', 0, '', '2018-03-06 16:03:37'),
(236, 'MAIN_DISABLE_METEO', 1, '1', 'chaine', 0, '', '2018-03-06 16:03:37'),
(237, 'MAIN_METEO_LEVEL0', 1, '0', 'chaine', 0, '', '2018-03-06 16:03:37'),
(238, 'MAIN_METEO_LEVEL1', 1, '10', 'chaine', 0, '', '2018-03-06 16:03:37'),
(239, 'MAIN_METEO_LEVEL2', 1, '20', 'chaine', 0, '', '2018-03-06 16:03:37'),
(240, 'MAIN_METEO_LEVEL3', 1, '30', 'chaine', 0, '', '2018-03-06 16:03:37'),
(367, 'MAIN_MODULE_FOURNISSEUR', 1, '1', NULL, 0, '{\"authorid\":\"2\",\"ip\":\"192.168.1.119\"}', '2018-03-06 16:36:47'),
(368, 'COMMANDE_SUPPLIER_ADDON_PDF', 1, 'muscadet', 'chaine', 0, 'Nom du gestionnaire de generation des bons de commande en PDF', '2018-03-06 16:36:47'),
(369, 'COMMANDE_SUPPLIER_ADDON_NUMBER', 1, 'mod_commande_fournisseur_muguet', 'chaine', 0, 'Nom du gestionnaire de numerotation des commandes fournisseur', '2018-03-06 16:36:47'),
(370, 'INVOICE_SUPPLIER_ADDON_NUMBER', 1, 'mod_facture_fournisseur_cactus', 'chaine', 0, 'Nom du gestionnaire de numerotation des factures fournisseur', '2018-03-06 16:36:47'),
(372, 'ACCOUNTING_MODE', 1, 'CREANCES-DETTES', 'chaine', 0, '', '2018-03-06 16:45:44'),
(467, 'FACTURE_ADDON_PDF', 1, 'addapta', 'chaine', 0, '', '2018-03-07 08:54:37'),
(486, 'MAIN_BOXES_MAXLINES', 1, '5', '', 0, '', '2018-03-09 13:59:18'),
(495, 'MAIN_MENU_STANDARD', 1, 'eldy_menu.php', 'chaine', 0, '', '2018-03-09 14:04:00'),
(496, 'MAIN_MENU_SMARTPHONE', 1, 'eldy_menu.php', 'chaine', 0, '', '2018-03-09 14:04:00'),
(497, 'MAIN_MENUFRONT_STANDARD', 1, 'eldy_menu.php', 'chaine', 0, '', '2018-03-09 14:04:00'),
(498, 'MAIN_MENUFRONT_SMARTPHONE', 1, 'eldy_menu.php', 'chaine', 0, '', '2018-03-09 14:04:00'),
(500, 'MAIN_MENU_HIDE_UNAUTHORIZED', 1, '1', 'chaine', 0, '', '2018-03-09 14:04:53'),
(523, 'USER_PASSWORD_PATTERN', 1, '8;1;1;1;3;1', 'chaine', 0, '', '2018-03-09 14:08:26'),
(592, 'SYSTEMTOOLS_MYSQLDUMP', 1, '/usr/bin/mysqldump', 'chaine', 0, '', '2018-03-13 08:48:34'),
(603, 'MAIN_INFO_SOCIETE_LOGO', 1, 'logo.JPG', 'chaine', 0, '', '2018-03-13 09:43:30'),
(604, 'MAIN_INFO_SOCIETE_LOGO_SMALL', 1, 'logo_small.jpg', 'chaine', 0, '', '2018-03-13 09:43:30'),
(605, 'MAIN_INFO_SOCIETE_LOGO_MINI', 1, 'logo_mini.jpg', 'chaine', 0, '', '2018-03-13 09:43:30'),
(614, 'MAIN_MODULE_COMMANDE', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-03-14 08:59:08'),
(615, 'COMMANDE_ADDON_PDF', 1, 'einstein', 'chaine', 0, 'Name of PDF model of order', '2018-03-14 08:59:08'),
(616, 'COMMANDE_ADDON', 1, 'mod_commande_marbre', 'chaine', 0, 'Name of numbering numerotation rules of order', '2018-03-14 08:59:08'),
(617, 'COMMANDE_ADDON_PDF_ODT_PATH', 1, 'DOL_DATA_ROOT/doctemplates/orders', 'chaine', 0, NULL, '2018-03-14 08:59:08'),
(618, 'FACTURE_ADDON', 1, 'mod_facture_mercure', 'chaine', 0, '', '2018-03-21 10:06:54'),
(619, 'FACTURE_MERCURE_MASK_INVOICE', 1, '{yy}/{0000@0}', 'chaine', 0, '', '2018-03-21 10:07:20'),
(620, 'FACTURE_MERCURE_MASK_REPLACEMENT', 1, '{yy}/{0000@0}', 'chaine', 0, '', '2018-03-21 10:07:20'),
(621, 'FACTURE_MERCURE_MASK_CREDIT', 1, '{yy}/{0000@0}', 'chaine', 0, '', '2018-03-21 10:07:20'),
(622, 'FACTURE_MERCURE_MASK_DEPOSIT', 1, '{yy}/{0000@0}', 'chaine', 0, '', '2018-03-21 10:07:20'),
(641, 'PRELEVEMENT_ID_BANKACCOUNT', 1, '2', 'chaine', 0, '', '2018-03-21 15:16:50'),
(642, 'PRELEVEMENT_ICS', 1, 'B67182907', 'chaine', 0, '', '2018-03-21 15:16:50'),
(643, 'PRELEVEMENT_USER', 1, '1', 'chaine', 0, '', '2018-03-21 15:16:50'),
(645, 'MAIN_MODULE_SYSLOG', 0, '1', NULL, 0, '{\"authorid\":\"2\",\"ip\":\"192.168.1.119\"}', '2018-04-18 12:01:44'),
(646, 'SYSLOG_LEVEL', 0, '3', 'chaine', 0, '', '2018-04-18 12:46:43'),
(649, 'TAX_MODE', 1, '1', 'chaine', 0, '', '2018-04-19 15:11:00'),
(650, 'TAX_MODE_SELL_PRODUCT', 1, 'invoice', 'chaine', 0, '', '2018-04-19 15:11:00'),
(651, 'TAX_MODE_BUY_PRODUCT', 1, 'invoice', 'chaine', 0, '', '2018-04-19 15:11:00'),
(652, 'TAX_MODE_SELL_SERVICE', 1, 'invoice', 'chaine', 0, '', '2018-04-19 15:11:00'),
(653, 'TAX_MODE_BUY_SERVICE', 1, 'invoice', 'chaine', 0, '', '2018-04-19 15:11:00'),
(654, 'MAIN_FEATURES_LEVEL', 0, '2', 'chaine', 1, 'Level of features to show: -1=stable+deprecated, 0=stable only (default), 1=stable+experimental, 2=stable+experimental+development', '2018-04-26 15:09:25'),
(655, 'MAIN_MODULE_ACCOUNTING', 1, '1', NULL, 0, '{\"authorid\":\"1\",\"ip\":\"192.168.1.119\"}', '2018-04-26 15:10:04'),
(660, 'CHARTOFACCOUNTS', 1, '5', 'chaine', 0, '', '2018-05-02 13:32:29'),
(663, 'MARGIN_TYPE', 1, '1', 'chaine', 0, '', '2018-05-04 07:39:02'),
(753, 'MAIN_LANG_DEFAULT', 1, 'es_ES', 'chaine', 0, '', '2018-06-29 07:16:31'),
(754, 'MAIN_MULTILANGS', 1, '0', 'chaine', 0, '', '2018-06-29 07:16:31'),
(755, 'MAIN_THEME', 1, 'md', 'chaine', 0, '', '2018-06-29 07:16:31'),
(756, 'THEME_ELDY_TOPMENU_BACK1', 1, '255,170,86', 'chaine', 0, '', '2018-06-29 07:16:31'),
(757, 'THEME_ELDY_VERMENU_BACK1', 1, '255,227,201', 'chaine', 0, '', '2018-06-29 07:16:31'),
(758, 'THEME_ELDY_LINEIMPAIR1', 1, '255,255,255', 'chaine', 0, '', '2018-06-29 07:16:31'),
(759, 'THEME_ELDY_LINEIMPAIR2', 1, '255,255,255', 'chaine', 0, '', '2018-06-29 07:16:31'),
(760, 'THEME_ELDY_LINEPAIR1', 1, '255,227,201', 'chaine', 0, '', '2018-06-29 07:16:31'),
(761, 'THEME_ELDY_LINEPAIR2', 1, '255,227,201', 'chaine', 0, '', '2018-06-29 07:16:31'),
(762, 'THEME_ELDY_USE_HOVER', 1, 'ff7f00', 'chaine', 0, '', '2018-06-29 07:16:31'),
(763, 'MAIN_SIZE_LISTE_LIMIT', 1, '100', 'chaine', 0, '', '2018-06-29 07:16:31'),
(764, 'MAIN_SIZE_SHORTLIST_LIMIT', 1, '3', 'chaine', 0, '', '2018-06-29 07:16:31'),
(765, 'MAIN_DISABLE_JAVASCRIPT', 1, '0', 'chaine', 0, '', '2018-06-29 07:16:31'),
(766, 'MAIN_BUTTON_HIDE_UNAUTHORIZED', 1, '1', 'chaine', 0, '', '2018-06-29 07:16:31'),
(767, 'MAIN_START_WEEK', 1, '1', 'chaine', 0, '', '2018-06-29 07:16:31'),
(768, 'MAIN_DEFAULT_WORKING_DAYS', 1, '1-5', 'chaine', 0, '', '2018-06-29 07:16:31'),
(769, 'MAIN_DEFAULT_WORKING_HOURS', 1, '9-18', 'chaine', 0, '', '2018-06-29 07:16:31'),
(770, 'MAIN_SHOW_LOGO', 1, '1', 'chaine', 0, '', '2018-06-29 07:16:31'),
(771, 'MAIN_FIRSTNAME_NAME_POSITION', 1, '0', 'chaine', 0, '', '2018-06-29 07:16:31'),
(772, 'MAIN_HELPCENTER_DISABLELINK', 0, '1', 'chaine', 0, '', '2018-06-29 07:16:31'),
(773, 'MAIN_HELP_DISABLELINK', 0, '1', 'chaine', 0, '', '2018-06-29 07:16:31'),
(774, 'MAIN_BUGTRACK_ENABLELINK', 1, '0', 'chaine', 0, '', '2018-06-29 07:16:31'),
(775, 'MAIN_LOGIN_BACKGROUND', 1, 'logogrande.jpg', 'chaine', 0, '', '2018-06-29 07:16:31'),
(778, 'MAIN_APPLICATION_TITLE', 1, 'addapta', 'chaine', 0, '', '2018-06-29 07:20:08'),
(779, 'MAIN_SESSION_TIMEOUT', 1, '259200', 'chaine', 0, '', '2018-06-29 07:20:08'),
(798, 'MAIN_MODULE_AGENDA', 1, '1', NULL, 0, '{\"authorid\":\"2\",\"ip\":\"192.168.1.109\"}', '2018-07-02 09:48:44'),
(799, 'MAIN_AGENDA_ACTIONAUTO_COMPANY_CREATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(800, 'MAIN_AGENDA_ACTIONAUTO_COMPANY_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(801, 'MAIN_AGENDA_ACTIONAUTO_PROPAL_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(802, 'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_SIGNED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(803, 'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLOSE_REFUSED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(804, 'MAIN_AGENDA_ACTIONAUTO_PROPAL_CLASSIFY_BILLED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(805, 'MAIN_AGENDA_ACTIONAUTO_PROPAL_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(806, 'MAIN_AGENDA_ACTIONAUTO_ORDER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(807, 'MAIN_AGENDA_ACTIONAUTO_ORDER_CLOSE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(808, 'MAIN_AGENDA_ACTIONAUTO_ORDER_CLASSIFY_BILLED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(809, 'MAIN_AGENDA_ACTIONAUTO_ORDER_CANCEL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(810, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(811, 'MAIN_AGENDA_ACTIONAUTO_BILL_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(812, 'MAIN_AGENDA_ACTIONAUTO_BILL_PAYED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(813, 'MAIN_AGENDA_ACTIONAUTO_BILL_CANCEL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(814, 'MAIN_AGENDA_ACTIONAUTO_BILL_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(815, 'MAIN_AGENDA_ACTIONAUTO_BILL_UNVALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(816, 'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(817, 'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(818, 'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_SIGNED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(819, 'MAIN_AGENDA_ACTIONAUTO_PROPOSAL_SUPPLIER_CLOSE_REFUSED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(820, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(821, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_APPROVE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(822, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SUBMIT', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(823, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_RECEIVE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(824, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_REFUSE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(825, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(826, 'MAIN_AGENDA_ACTIONAUTO_ORDER_SUPPLIER_CLASSIFY_BILLED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(827, 'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(828, 'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_UNVALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(829, 'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_PAYED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(830, 'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(831, 'MAIN_AGENDA_ACTIONAUTO_BILL_SUPPLIER_CANCELED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(832, 'MAIN_AGENDA_ACTIONAUTO_CONTRACT_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(833, 'MAIN_AGENDA_ACTIONAUTO_CONTRACT_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(834, 'MAIN_AGENDA_ACTIONAUTO_SHIPPING_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(835, 'MAIN_AGENDA_ACTIONAUTO_SHIPPING_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(836, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(837, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(838, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_MODIFY', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(839, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_SUBSCRIPTION', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(840, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_RESILIATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(841, 'MAIN_AGENDA_ACTIONAUTO_MEMBER_DELETE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(842, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(843, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_MODIFY', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(844, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_BILLED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(845, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_CLASSIFY_UNBILLED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(846, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_REOPEN', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(847, 'MAIN_AGENDA_ACTIONAUTO_FICHINTER_SENTBYMAIL', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(848, 'MAIN_AGENDA_ACTIONAUTO_PRODUCT_CREATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(849, 'MAIN_AGENDA_ACTIONAUTO_PRODUCT_MODIFY', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(850, 'MAIN_AGENDA_ACTIONAUTO_PRODUCT_DELETE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(851, 'MAIN_AGENDA_ACTIONAUTO_PROJECT_CREATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(852, 'MAIN_AGENDA_ACTIONAUTO_PROJECT_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(853, 'MAIN_AGENDA_ACTIONAUTO_PROJECT_MODIFY', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(854, 'MAIN_AGENDA_ACTIONAUTO_PROJECT_DELETE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(855, 'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_CREATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(856, 'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_VALIDATE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(857, 'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_APPROVE', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(858, 'MAIN_AGENDA_ACTIONAUTO_EXPENSE_REPORT_PAYED', 1, '1', 'chaine', 0, NULL, '2018-07-02 09:48:44'),
(991, 'MAIN_INFO_VALUE_LOCALTAX2', 1, '0', 'chaine', 0, '', '2018-07-18 13:19:06'),
(992, 'MAIN_INFO_LOCALTAX_CALC2', 1, '0', 'chaine', 0, '', '2018-07-18 13:19:06'),
(1011, 'FACTURE_RIB_NUMBER', 1, '2', 'chaine', 0, '', '2019-01-04 14:39:13'),
(1012, 'FACTURE_CHQ_NUMBER', 1, '2', 'chaine', 0, '', '2019-01-04 14:39:13'),
(1013, 'FACTURE_USE_PROFORMAT', 1, '1', 'chaine', 1, 'Habilitar facturas proforma', '2019-01-10 11:34:49'),
(1049, 'MAIN_MODULE_NOTIFICATION', 1, '1', NULL, 0, '{\"authorid\":\"2\",\"ip\":\"192.168.1.109\"}', '2019-04-01 13:46:09'),
(1050, 'NOTIFICATION_FIXEDEMAIL_PROPAL_CLOSE_SIGNED_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1051, 'NOTIFICATION_FIXEDEMAIL_PROPAL_VALIDATE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1052, 'NOTIFICATION_FIXEDEMAIL_ORDER_VALIDATE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1053, 'NOTIFICATION_FIXEDEMAIL_BILL_VALIDATE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1054, 'NOTIFICATION_FIXEDEMAIL_BILL_PAYED_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1055, 'NOTIFICATION_FIXEDEMAIL_ORDER_SUPPLIER_VALIDATE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1056, 'NOTIFICATION_FIXEDEMAIL_ORDER_SUPPLIER_APPROVE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1057, 'NOTIFICATION_FIXEDEMAIL_ORDER_SUPPLIER_REFUSE_THRESHOLD_HIGHER_0', 1, 'lluis.aluju@sabadellmicroempresa.es', 'chaine', 0, '', '2019-04-01 13:57:11'),
(1106, 'MAIN_INFO_SOCIETE_COUNTRY', 1, '4:ES:España', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1107, 'MAIN_INFO_SOCIETE_NOM', 1, 'addapta IT Partner S.L.', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1108, 'MAIN_INFO_SOCIETE_ADDRESS', 1, 'Calle Llull, 321', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1109, 'MAIN_INFO_SOCIETE_TOWN', 1, 'Barcelona', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1110, 'MAIN_INFO_SOCIETE_ZIP', 1, '08019', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1111, 'MAIN_INFO_SOCIETE_STATE', 1, '524', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1112, 'MAIN_MONNAIE', 1, 'EUR', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1113, 'MAIN_INFO_SOCIETE_MAIL', 1, 'adm.informacion@addapta.com', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1114, 'MAIN_INFO_SOCIETE_WEB', 1, 'www.addapta.com', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1115, 'MAIN_INFO_CAPITAL', 1, '3000', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1116, 'MAIN_INFO_SOCIETE_FORME_JURIDIQUE', 1, '405', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1117, 'MAIN_INFO_SIREN', 1, 'B67182907', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1118, 'MAIN_INFO_APE', 1, '6202', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1119, 'SOCIETE_FISCAL_MONTH_START', 1, '1', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1120, 'FACTURE_TVAOPTION', 1, '1', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1121, 'FACTURE_LOCAL_TAX1_OPTION', 1, 'localtax1off', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1122, 'FACTURE_LOCAL_TAX2_OPTION', 1, 'localtax2off', 'chaine', 0, '', '2021-01-08 09:09:31'),
(1123, 'MAIN_MODULE_CRON', 1, '1', NULL, 0, '{\"authorid\":\"2\",\"ip\":\"192.168.1.119\"}', '2022-09-03 07:47:49'),
(1125, 'CRON_KEY', 0, 'http://erp.addapta.com/B67182907/htdocs/public/cron/cron_run_jobs.php?userlogin=sergio.garcia', 'chaine', 0, '', '2022-09-03 07:48:38'),
(1126, 'MAIN_DISABLE_ALL_MAILS', 1, '0', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1127, 'MAIN_MAIL_SENDMODE', 1, 'smtps', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1128, 'MAIN_MAIL_SMTP_PORT', 1, '465', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1129, 'MAIN_MAIL_SMTP_SERVER', 1, 'correo.addapta.com', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1130, 'MAIN_MAIL_SMTPS_ID', 1, 'ADM.Informacion@addapta.com', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1131, 'MAIN_MAIL_SMTPS_PW', 1, '4Dd@pt446682755', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1132, 'MAIN_MAIL_EMAIL_TLS', 1, '1', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1133, 'MAIN_MAIL_EMAIL_STARTTLS', 1, '0', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1134, 'MAIN_MAIL_EMAIL_FROM', 1, 'ADM.Informacion@addapta.com', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1135, 'MAIN_MAIL_ERRORS_TO', 1, 'SIS.Arquitectura@addapta.com', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1136, 'MAIN_MAIL_AUTOCOPY_TO', 1, 'ADM.Informacion@addapta.com', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1137, 'MAIN_MAIL_DEFAULT_FROMTYPE', 1, 'company', 'chaine', 0, '', '2023-05-05 11:53:43'),
(1185, 'MAIN_MAX_DECIMALS_UNIT', 1, '5', 'chaine', 0, '', '2024-01-26 13:29:29'),
(1186, 'MAIN_MAX_DECIMALS_TOT', 1, '5', 'chaine', 0, '', '2024-01-26 13:29:29'),
(1187, 'MAIN_MAX_DECIMALS_SHOWN', 1, '2', 'chaine', 0, '', '2024-01-26 13:29:29'),
(1188, 'MAIN_ROUNDING_RULE_TOT', 1, '0.005', 'chaine', 0, '', '2024-01-26 13:29:29');

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

--
-- Estructura de tabla para la tabla `b67182907_contrat`
--

CREATE TABLE `b67182907_contrat` (
  `rowid` int NOT NULL,
  `ref` varchar(255) DEFAULT NULL,
  `ref_customer` varchar(255) DEFAULT NULL,
  `ref_supplier` varchar(255) DEFAULT NULL,
  `ref_ext` varchar(255) DEFAULT NULL,
  `entity` int 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 DEFAULT '0',
  `mise_en_service` datetime DEFAULT NULL,
  `fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `fk_soc` int NOT NULL,
  `fk_projet` int DEFAULT NULL,
  `fk_commercial_signature` int DEFAULT NULL,
  `fk_commercial_suivi` int DEFAULT NULL,
  `fk_user_author` int NOT NULL DEFAULT '0',
  `fk_user_modif` int DEFAULT NULL,
  `fk_user_mise_en_service` int DEFAULT NULL,
  `fk_user_cloture` int DEFAULT NULL,
  `note_private` text,
  `note_public` text,
  `model_pdf` varchar(255) DEFAULT NULL,
  `last_main_doc` varchar(255) DEFAULT NULL,
  `import_key` varchar(14) DEFAULT NULL,
  `extraparams` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_contratdet`
--

CREATE TABLE `b67182907_contratdet` (
  `rowid` int NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_contrat` int NOT NULL,
  `fk_product` int DEFAULT NULL,
  `statut` smallint DEFAULT '0',
  `label` text,
  `description` text,
  `fk_remise_except` int DEFAULT NULL,
  `date_commande` datetime DEFAULT NULL,
  `date_ouverture_prevue` datetime DEFAULT NULL,
  `date_ouverture` datetime DEFAULT NULL,
  `date_fin_validite` datetime DEFAULT NULL,
  `date_cloture` datetime DEFAULT NULL,
  `vat_src_code` varchar(10) DEFAULT '',
  `tva_tx` double(6,3) DEFAULT '0.000',
  `localtax1_tx` double(6,3) DEFAULT '0.000',
  `localtax1_type` varchar(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 DEFAULT '1',
  `info_bits` int DEFAULT '0',
  `buy_price_ht` double(24,8) DEFAULT NULL,
  `fk_product_fournisseur_price` int DEFAULT NULL,
  `fk_user_author` int NOT NULL DEFAULT '0',
  `fk_user_ouverture` int DEFAULT NULL,
  `fk_user_cloture` int DEFAULT NULL,
  `commentaire` text,
  `fk_unit` int DEFAULT NULL,
  `fk_multicurrency` int DEFAULT NULL,
  `multicurrency_code` varchar(255) DEFAULT NULL,
  `multicurrency_subprice` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ht` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_tva` double(24,8) DEFAULT '0.00000000',
  `multicurrency_total_ttc` double(24,8) DEFAULT '0.00000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_contratdet_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_contratdet_log`
--

CREATE TABLE `b67182907_contratdet_log` (
  `rowid` int NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_contratdet` int NOT NULL,
  `date` datetime NOT NULL,
  `statut` smallint NOT NULL,
  `fk_user_author` int NOT NULL,
  `commentaire` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_contrat_extrafields`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_cronjob`
--

CREATE TABLE `b67182907_cronjob` (
  `rowid` int 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 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` varchar(255) NOT NULL DEFAULT '3600',
  `frequency` int NOT NULL DEFAULT '0',
  `maxrun` int NOT NULL DEFAULT '0',
  `nbrun` int DEFAULT NULL,
  `autodelete` int DEFAULT '0',
  `status` int NOT NULL DEFAULT '1',
  `processing` int NOT NULL DEFAULT '0',
  `test` varchar(255) DEFAULT '1',
  `fk_user_author` int DEFAULT NULL,
  `fk_user_mod` int DEFAULT NULL,
  `fk_mailing` int DEFAULT NULL,
  `note` text,
  `libname` varchar(255) DEFAULT NULL,
  `entity` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_cronjob`
--

INSERT INTO `b67182907_cronjob` (`rowid`, `tms`, `datec`, `jobtype`, `label`, `command`, `classesname`, `objectname`, `methodename`, `params`, `md5params`, `module_name`, `priority`, `datelastrun`, `datenextrun`, `datestart`, `dateend`, `datelastresult`, `lastresult`, `lastoutput`, `unitfrequency`, `frequency`, `maxrun`, `nbrun`, `autodelete`, `status`, `processing`, `test`, `fk_user_author`, `fk_user_mod`, `fk_mailing`, `note`, `libname`, `entity`) VALUES
(1, '2018-03-06 15:29:46', '2018-03-06 16:56:57', 'method', 'RecurringInvoices', NULL, 'compta/facture/class/facture-rec.class.php', 'FactureRec', 'createRecurringInvoices', NULL, NULL, 'facture', 50, NULL, NULL, '2018-03-06 16:56:57', NULL, NULL, NULL, NULL, '86400', 1, 0, NULL, 0, 1, 0, '1', NULL, NULL, NULL, 'Generate recurring invoices', NULL, 1),
(2, '2018-07-02 09:48:44', '2018-07-02 12:20:28', 'method', 'SendEmailsReminders', NULL, 'comm/action/class/actioncomm.class.php', 'ActionComm', 'sendEmailsReminder', NULL, NULL, 'agenda', 10, NULL, NULL, '2018-07-02 12:20:28', NULL, NULL, NULL, NULL, '60', 10, 0, NULL, 0, 1, 0, '1', NULL, NULL, NULL, 'SendEMailsReminder', NULL, 1),
(3, '2022-09-03 07:47:49', '2022-09-03 09:47:49', 'method', 'PurgeDeleteTemporaryFilesShort', NULL, 'core/class/utils.class.php', 'Utils', 'purgeFiles', NULL, NULL, 'cron', 50, NULL, NULL, '2022-09-03 09:47:49', NULL, NULL, NULL, NULL, '604800', 2, 0, NULL, 0, 1, 0, '1', NULL, NULL, NULL, 'PurgeDeleteTemporaryFiles', NULL, 1),
(4, '2022-09-03 07:47:49', '2022-09-03 09:47:49', 'method', 'MakeLocalDatabaseDumpShort', NULL, 'core/class/utils.class.php', 'Utils', 'dumpDatabase', 'none,auto,1,auto,10', NULL, 'cron', 90, NULL, NULL, '2022-09-03 09:47:49', NULL, NULL, NULL, NULL, '604800', 1, 0, NULL, 0, 0, 0, '1', NULL, NULL, NULL, 'MakeLocalDatabaseDump', NULL, 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_accounting_category`
--

CREATE TABLE `b67182907_c_accounting_category` (
  `rowid` int NOT NULL,
  `code` varchar(16) NOT NULL,
  `label` varchar(255) NOT NULL,
  `range_account` varchar(255) NOT NULL,
  `sens` tinyint NOT NULL DEFAULT '0',
  `category_type` tinyint NOT NULL DEFAULT '0',
  `formula` varchar(255) NOT NULL,
  `position` int DEFAULT '0',
  `fk_country` int DEFAULT NULL,
  `active` int DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_accounting_category`
--

INSERT INTO `b67182907_c_accounting_category` (`rowid`, `code`, `label`, `range_account`, `sens`, `category_type`, `formula`, `position`, `fk_country`, `active`) VALUES
(1, 'VENTES', 'Income of products/services', 'Example: 7xxxxx', 0, 0, '', 10, 1, 1),
(2, 'DEPENSES', 'Expenses of products/services', 'Example: 6xxxxx', 0, 0, '', 20, 1, 1),
(3, 'PROFIT', 'Balance', '', 0, 1, 'VENTES+DEPENSES', 30, 1, 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_actioncomm`
--

CREATE TABLE `b67182907_c_actioncomm` (
  `id` int NOT NULL,
  `code` varchar(12) NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'system',
  `libelle` varchar(48) NOT NULL,
  `module` varchar(16) DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1',
  `todo` tinyint DEFAULT NULL,
  `color` varchar(9) DEFAULT NULL,
  `picto` varchar(48) DEFAULT NULL,
  `position` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_actioncomm`
--

INSERT INTO `b67182907_c_actioncomm` (`id`, `code`, `type`, `libelle`, `module`, `active`, `todo`, `color`, `picto`, `position`) VALUES
(1, 'AC_TEL', 'system', 'Phone call', NULL, 1, NULL, NULL, NULL, 2),
(2, 'AC_FAX', 'system', 'Send Fax', NULL, 1, NULL, NULL, NULL, 3),
(4, 'AC_EMAIL', 'system', 'Send Email', NULL, 1, NULL, NULL, NULL, 4),
(5, 'AC_RDV', 'system', 'Rendez-vous', NULL, 1, NULL, NULL, NULL, 1),
(11, 'AC_INT', 'system', 'Intervention on site', NULL, 1, NULL, NULL, NULL, 4),
(40, 'AC_OTH_AUTO', 'systemauto', 'Other (automatically inserted events)', NULL, 1, NULL, NULL, NULL, 20),
(50, 'AC_OTH', 'system', 'Other (manually inserted events)', NULL, 1, NULL, NULL, NULL, 5);

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

--
-- Estructura de tabla para la tabla `b67182907_c_action_trigger`
--

CREATE TABLE `b67182907_c_action_trigger` (
  `rowid` int NOT NULL,
  `elementtype` varchar(24) NOT NULL,
  `code` varchar(32) NOT NULL,
  `label` varchar(128) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `rang` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_action_trigger`
--

INSERT INTO `b67182907_c_action_trigger` (`rowid`, `elementtype`, `code`, `label`, `description`, `rang`) VALUES
(1, 'societe', 'COMPANY_CREATE', 'Third party created', 'Executed when a third party is created', 1),
(2, 'societe', 'COMPANY_SENTBYMAIL', 'Mails sent from third party card', 'Executed when you send email from third party card', 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, 'propal', 'PROPAL_CLOSE_SIGNED', 'Customer proposal closed signed', 'Executed when a customer proposal is closed signed', 2),
(6, 'propal', 'PROPAL_CLOSE_REFUSED', 'Customer proposal closed refused', 'Executed when a customer proposal is closed refused', 2),
(7, 'propal', 'PROPAL_CLASSIFY_BILLED', 'Customer proposal set billed', 'Executed when a customer proposal is set to billed', 2),
(8, 'commande', 'ORDER_VALIDATE', 'Customer order validate', 'Executed when a customer order is validated', 4),
(9, 'commande', 'ORDER_CLOSE', 'Customer order classify delivered', 'Executed when a customer order is set delivered', 5),
(10, 'commande', 'ORDER_CLASSIFY_BILLED', 'Customer order classify billed', 'Executed when a customer order is set to billed', 5),
(11, 'commande', 'ORDER_CANCEL', 'Customer order canceled', 'Executed when a customer order is canceled', 5),
(12, 'commande', 'ORDER_SENTBYMAIL', 'Customer order sent by mail', 'Executed when a customer order is sent by mail ', 5),
(13, 'facture', 'BILL_VALIDATE', 'Customer invoice validated', 'Executed when a customer invoice is approved', 6),
(14, 'facture', 'BILL_PAYED', 'Customer invoice payed', 'Executed when a customer invoice is payed', 7),
(15, 'facture', 'BILL_CANCEL', 'Customer invoice canceled', 'Executed when a customer invoice is conceled', 8),
(16, 'facture', 'BILL_SENTBYMAIL', 'Customer invoice sent by mail', 'Executed when a customer invoice is sent by mail', 9),
(17, 'facture', 'BILL_UNVALIDATE', 'Customer invoice unvalidated', 'Executed when a customer invoice status set back to draft', 9),
(18, 'proposal_supplier', 'PROPOSAL_SUPPLIER_VALIDATE', 'Price request validated', 'Executed when a commercial proposal is validated', 10),
(19, 'proposal_supplier', 'PROPOSAL_SUPPLIER_SENTBYMAIL', 'Price request sent by mail', 'Executed when a commercial proposal is sent by mail', 10),
(20, 'proposal_supplier', 'PROPOSAL_SUPPLIER_CLOSE_SIGNED', 'Price request closed signed', 'Executed when a customer proposal is closed signed', 10),
(21, 'proposal_supplier', 'PROPOSAL_SUPPLIER_CLOSE_REFUSED', 'Price request closed refused', 'Executed when a customer proposal is closed refused', 10),
(22, 'order_supplier', 'ORDER_SUPPLIER_VALIDATE', 'Supplier order validated', 'Executed when a supplier order is validated', 12),
(23, 'order_supplier', 'ORDER_SUPPLIER_APPROVE', 'Supplier order request approved', 'Executed when a supplier order is approved', 13),
(24, 'order_supplier', 'ORDER_SUPPLIER_SUBMIT', 'Supplier order request submited', 'Executed when a supplier order is approved', 13),
(25, 'order_supplier', 'ORDER_SUPPLIER_RECEIVE', 'Supplier order request received', 'Executed when a supplier order is received', 13),
(26, 'order_supplier', 'ORDER_SUPPLIER_REFUSE', 'Supplier order request refused', 'Executed when a supplier order is refused', 13),
(27, 'order_supplier', 'ORDER_SUPPLIER_SENTBYMAIL', 'Supplier order sent by mail', 'Executed when a supplier order is sent by mail', 14),
(28, 'order_supplier', 'ORDER_SUPPLIER_CLASSIFY_BILLED', 'Supplier order set billed', 'Executed when a supplier order is set as billed', 14),
(29, 'invoice_supplier', 'BILL_SUPPLIER_VALIDATE', 'Supplier invoice validated', 'Executed when a supplier invoice is validated', 15),
(30, 'invoice_supplier', 'BILL_SUPPLIER_UNVALIDATE', 'Supplier invoice unvalidated', 'Executed when a supplier invoice status is set back to draft', 15),
(31, 'invoice_supplier', 'BILL_SUPPLIER_PAYED', 'Supplier invoice payed', 'Executed when a supplier invoice is payed', 16),
(32, 'invoice_supplier', 'BILL_SUPPLIER_SENTBYMAIL', 'Supplier invoice sent by mail', 'Executed when a supplier invoice is sent by mail', 17),
(33, 'invoice_supplier', 'BILL_SUPPLIER_CANCELED', 'Supplier invoice cancelled', 'Executed when a supplier invoice is cancelled', 17),
(34, 'contrat', 'CONTRACT_VALIDATE', 'Contract validated', 'Executed when a contract is validated', 18),
(35, 'contrat', 'CONTRACT_SENTBYMAIL', 'Contract sent by mail', 'Executed when a contract is sent by mail', 18),
(36, 'shipping', 'SHIPPING_VALIDATE', 'Shipping validated', 'Executed when a shipping is validated', 20),
(37, 'shipping', 'SHIPPING_SENTBYMAIL', 'Shipping sent by mail', 'Executed when a shipping is sent by mail', 21),
(38, 'member', 'MEMBER_VALIDATE', 'Member validated', 'Executed when a member is validated', 22),
(39, 'member', 'MEMBER_SENTBYMAIL', 'Mails sent from member card', 'Executed when you send email from member card', 23),
(40, 'member', 'MEMBER_SUBSCRIPTION', 'Member subscribed', 'Executed when a member is subscribed', 24),
(41, 'member', 'MEMBER_RESILIATE', 'Member resiliated', 'Executed when a member is resiliated', 25),
(42, 'member', 'MEMBER_DELETE', 'Member deleted', 'Executed when a member is deleted', 26),
(43, 'ficheinter', 'FICHINTER_VALIDATE', 'Intervention validated', 'Executed when a intervention is validated', 30),
(44, 'ficheinter', 'FICHINTER_CLASSIFY_BILLED', 'Intervention set billed', 'Executed when a intervention is set to billed (when option FICHINTER_CLASSIFY_BILLED is set)', 32),
(45, 'ficheinter', 'FICHINTER_CLASSIFY_UNBILLED', 'Intervention set unbilled', 'Executed when a intervention is set to unbilled (when option FICHINTER_CLASSIFY_BILLED is set)', 33),
(46, 'ficheinter', 'FICHINTER_REOPEN', 'Intervention opened', 'Executed when a intervention is re-opened', 34),
(47, 'ficheinter', 'FICHINTER_SENTBYMAIL', 'Intervention sent by mail', 'Executed when a intervention is sent by mail', 35),
(48, 'product', 'PRODUCT_CREATE', 'Product or service created', 'Executed when a product or sevice is created', 40),
(49, 'product', 'PRODUCT_DELETE', 'Product or service deleted', 'Executed when a product or sevice is deleted', 42),
(50, 'expensereport', 'EXPENSE_REPORT_CREATE', 'Expense report created', 'Executed when an expense report is created', 201),
(51, 'expensereport', 'EXPENSE_REPORT_VALIDATE', 'Expense report validated', 'Executed when an expense report is validated', 202),
(52, 'expensereport', 'EXPENSE_REPORT_APPROVE', 'Expense report approved', 'Executed when an expense report is approved', 203),
(53, 'expensereport', 'EXPENSE_REPORT_PAYED', 'Expense report billed', 'Executed when an expense report is set as billed', 204),
(54, 'project', 'PROJECT_VALIDATE', 'Project validation', 'Executed when a project is validated', 141),
(55, 'project', 'PROJECT_DELETE', 'Project deleted', 'Executed when a project is deleted', 143),
(56, 'product', 'PRODUCT_MODIFY', 'Product or service modified', 'Executed when a product or sevice is modified', 41),
(57, 'member', 'MEMBER_MODIFY', 'Member modified', 'Executed when a member is modified', 23),
(58, 'ficheinter', 'FICHINTER_MODIFY', 'Intervention modified', 'Executed when a intervention is modified', 31),
(59, 'project', 'PROJECT_CREATE', 'Project creation', 'Executed when a project is created', 140),
(60, 'project', 'PROJECT_MODIFY', 'Project modified', 'Executed when a project is modified', 142),
(61, 'project', 'TASK_CREATE', 'Task created', 'Executed when a project task is created', 150),
(62, 'project', 'TASK_MODIFY', 'Task modified', 'Executed when a project task is modified', 151),
(63, 'project', 'TASK_DELETE', 'Task deleted', 'Executed when a project task is deleted', 152);

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

--
-- Estructura de tabla para la tabla `b67182907_c_availability`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_availability`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_barcode_type`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_chargesociales`
--

CREATE TABLE `b67182907_c_chargesociales` (
  `id` int NOT NULL,
  `libelle` varchar(80) DEFAULT NULL,
  `deductible` smallint NOT NULL DEFAULT '0',
  `active` tinyint NOT NULL DEFAULT '1',
  `code` varchar(12) NOT NULL,
  `accountancy_code` varchar(32) DEFAULT NULL,
  `fk_pays` int NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_chargesociales`
--

INSERT INTO `b67182907_c_chargesociales` (`id`, `libelle`, `deductible`, `active`, `code`, `accountancy_code`, `fk_pays`, `module`) VALUES
(1, 'Allocations familiales', 1, 1, 'TAXFAM', NULL, 1, NULL),
(2, 'CSG Deductible', 1, 1, 'TAXCSGD', NULL, 1, NULL),
(3, 'CSG/CRDS NON Deductible', 0, 1, 'TAXCSGND', NULL, 1, NULL),
(10, 'Taxe apprentissage', 0, 1, 'TAXAPP', NULL, 1, NULL),
(11, 'Taxe professionnelle', 0, 1, 'TAXPRO', NULL, 1, NULL),
(12, 'Cotisation fonciere des entreprises', 0, 1, 'TAXCFE', NULL, 1, NULL),
(13, 'Cotisation sur la valeur ajoutee des entreprises', 0, 1, 'TAXCVAE', NULL, 1, NULL),
(20, 'Impots locaux/fonciers', 0, 1, 'TAXFON', NULL, 1, NULL),
(25, 'Impots revenus', 0, 1, 'TAXREV', NULL, 1, NULL),
(30, 'Assurance Sante', 0, 1, 'TAXSECU', NULL, 1, NULL),
(40, 'Mutuelle', 0, 1, 'TAXMUT', NULL, 1, NULL),
(50, 'Assurance vieillesse', 0, 1, 'TAXRET', NULL, 1, NULL),
(60, 'Assurance Chomage', 0, 1, 'TAXCHOM', NULL, 1, NULL),
(201, 'ONSS', 1, 1, 'TAXBEONSS', NULL, 2, NULL),
(210, 'Precompte professionnel', 1, 1, 'TAXBEPREPRO', NULL, 2, NULL),
(220, 'Prime existence', 1, 1, 'TAXBEPRIEXI', NULL, 2, NULL),
(230, 'Precompte immobilier', 1, 1, 'TAXBEPREIMMO', NULL, 2, NULL),
(4101, 'Krankenversicherung', 1, 1, 'TAXATKV', NULL, 41, NULL),
(4102, 'Unfallversicherung', 1, 1, 'TAXATUV', NULL, 41, NULL),
(4103, 'Pensionsversicherung', 1, 1, 'TAXATPV', NULL, 41, NULL),
(4104, 'Arbeitslosenversicherung', 1, 1, 'TAXATAV', NULL, 41, NULL),
(4105, 'Insolvenzentgeltsicherungsfond', 1, 1, 'TAXATIESG', NULL, 41, NULL),
(4106, 'Wohnbauförderung', 1, 1, 'TAXATWF', NULL, 41, NULL),
(4107, 'Arbeiterkammerumlage', 1, 1, 'TAXATAK', NULL, 41, NULL),
(4108, 'Mitarbeitervorsorgekasse', 1, 1, 'TAXATMVK', NULL, 41, NULL),
(4109, 'Familienlastenausgleichsfond', 1, 1, 'TAXATFLAF', NULL, 41, NULL),
(4110, 'S.S. Reg. General	', 1, 1, 'TAXSS', NULL, 4, NULL),
(4111, 'S.S. Reg. Autónomos	', 1, 1, 'TAXSSAUT', NULL, 4, NULL),
(4112, 'IRPF Reg. General	', 1, 1, 'TAXIRPF', NULL, 4, NULL),
(4113, 'IRPF Reg. Autónomos	', 1, 1, 'TAXIRPFAUT', NULL, 4, NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_c_civility`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_civility`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_country`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_country`
--

INSERT INTO `b67182907_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', 'Nederland', 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', 'Cyprus', 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),
(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', 'United Arab Emirates', 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),
(300, 'CW', 'CUW', 'Curaçao', 1, 0),
(301, 'SX', 'SXM', 'Sint Maarten', 1, 0);

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

--
-- Estructura de tabla para la tabla `b67182907_c_currencies`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_currencies`
--

INSERT INTO `b67182907_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),
('BDT', 'Bangladeshi Taka', '[2547]', 1),
('BEF', 'Francs belges', NULL, 0),
('BGN', 'Bulgaria Lev', '[1083,1074]', 1),
('BHD', 'Bahrain', NULL, 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),
('GNF', 'Franc Guinéen', '[70,71]', 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),
('MGA', 'Ariary', 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 CFP', '[70]', 1),
('YER', 'Yemen Rial', '[65020]', 1),
('ZAR', 'South Africa Rand', '[82]', 1),
('ZWD', 'Zimbabwe Dollar', '[90,36]', 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_departements`
--

CREATE TABLE `b67182907_c_departements` (
  `rowid` int NOT NULL,
  `code_departement` varchar(6) NOT NULL,
  `fk_region` int DEFAULT NULL,
  `cheflieu` varchar(50) DEFAULT NULL,
  `tncc` int DEFAULT NULL,
  `ncc` varchar(50) DEFAULT NULL,
  `nom` varchar(50) DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_departements`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_ecotaxe`
--

CREATE TABLE `b67182907_c_ecotaxe` (
  `rowid` int 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 NOT NULL,
  `active` tinyint NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_ecotaxe`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_effectif`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_effectif`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_email_senderprofile`
--

CREATE TABLE `b67182907_c_email_senderprofile` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `private` smallint NOT NULL DEFAULT '0',
  `date_creation` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `signature` text,
  `position` smallint DEFAULT '0',
  `active` tinyint NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_c_email_templates`
--

CREATE TABLE `b67182907_c_email_templates` (
  `rowid` int NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL,
  `type_template` varchar(32) DEFAULT NULL,
  `lang` varchar(6) DEFAULT '',
  `private` smallint NOT NULL DEFAULT '0',
  `fk_user` int DEFAULT NULL,
  `datec` datetime DEFAULT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `label` varchar(180) DEFAULT NULL,
  `position` smallint DEFAULT NULL,
  `enabled` varchar(255) DEFAULT '1',
  `active` tinyint NOT NULL DEFAULT '1',
  `topic` text,
  `joinfiles` text,
  `content` mediumtext,
  `content_lines` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_email_templates`
--

INSERT INTO `b67182907_c_email_templates` (`rowid`, `entity`, `module`, `type_template`, `lang`, `private`, `fk_user`, `datec`, `tms`, `label`, `position`, `enabled`, `active`, `topic`, `joinfiles`, `content`, `content_lines`) VALUES
(1, 0, 'adherent', 'member', '', 0, NULL, NULL, '2018-03-06 15:23:15', '(SendAnEMailToMember)', 1, '1', 1, '__(CardContent)__', NULL, '__(Hello)__,<br><br>\n\n__(ThisIsContentOfYourCard)__<br>\n__(ID)__ : __ID__<br>\n__(Civiliyty)__ : __MEMBER_CIVILITY__<br>\n__(Firstname)__ : __MEMBER_FIRSTNAME__<br>\n__(Lastname)__ : __MEMBER_LASTNAME__<br>\n__(Fullname)__ : __MEMBER_FULLNAME__<br>\n__(Company)__ : __MEMBER_COMPANY__<br>\n__(Address)__ : __MEMBER_ADDRESS__<br>\n__(Zip)__ : __MEMBER_ZIP__<br>\n__(Town)__ : __MEMBER_TOWN__<br>\n__(Country)__ : __MEMBER_COUNTRY__<br>\n__(Email)__ : __MEMBER_EMAIL__<br>\n__(Birthday)__ : __MEMBER_BIRTH__<br>\n__(Photo)__ : __MEMBER_PHOTO__<br>\n__(Login)__ : __MEMBER_LOGIN__<br>\n__(Password)__ : __MEMBER_PASSWORD__<br>\n__(Phone)__ : __MEMBER_PHONE__<br>\n__(PhonePerso)__ : __MEMBER_PHONEPRO__<br>\n__(PhoneMobile)__ : __MEMBER_PHONEMOBILE__<br><br>\n__(Sincerely)__<br>__USER_SIGNATURE__', NULL),
(2, 0, 'banque', 'thirdparty', '', 0, NULL, NULL, '2018-03-06 15:23:15', '(YourSEPAMandate)', 1, '1', 0, '__(YourSEPAMandate)__', NULL, '__(Hello)__,<br><br>\n\n__(FindYourSEPAMandate)__ :<br>\n__MYCOMPANY_NAME__<br>\n__MYCOMPANY_FULLADDRESS__<br><br>\n__(Sincerely)__<br>\n__USER_SIGNATURE__', NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_c_exp_tax_cat`
--

CREATE TABLE `b67182907_c_exp_tax_cat` (
  `rowid` int NOT NULL,
  `label` varchar(48) NOT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `active` int NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_exp_tax_cat`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_exp_tax_range`
--

CREATE TABLE `b67182907_c_exp_tax_range` (
  `rowid` int NOT NULL,
  `fk_c_exp_tax_cat` int NOT NULL DEFAULT '1',
  `range_ik` double NOT NULL DEFAULT '0',
  `entity` int NOT NULL DEFAULT '1',
  `active` int NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_exp_tax_range`
--

INSERT INTO `b67182907_c_exp_tax_range` (`rowid`, `fk_c_exp_tax_cat`, `range_ik`, `entity`, `active`) VALUES
(1, 4, 0, 1, 1),
(2, 4, 5000, 1, 1),
(3, 4, 20000, 1, 1),
(4, 5, 0, 1, 1),
(5, 5, 5000, 1, 1),
(6, 5, 20000, 1, 1),
(7, 6, 0, 1, 1),
(8, 6, 5000, 1, 1),
(9, 6, 20000, 1, 1),
(10, 7, 0, 1, 1),
(11, 7, 5000, 1, 1),
(12, 7, 20000, 1, 1),
(13, 8, 0, 1, 1),
(14, 8, 5000, 1, 1),
(15, 8, 20000, 1, 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_field_list`
--

CREATE TABLE `b67182907_c_field_list` (
  `rowid` int NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `element` varchar(64) NOT NULL,
  `entity` int 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 NOT NULL DEFAULT '1',
  `search` tinyint NOT NULL DEFAULT '0',
  `enabled` varchar(255) DEFAULT '1',
  `rang` int DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

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

--
-- Estructura de tabla para la tabla `b67182907_c_format_cards`
--

CREATE TABLE `b67182907_c_format_cards` (
  `rowid` int NOT NULL,
  `code` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `paper_size` varchar(20) NOT NULL,
  `orientation` varchar(1) NOT NULL,
  `metric` varchar(5) NOT NULL,
  `leftmargin` double(24,8) NOT NULL,
  `topmargin` double(24,8) NOT NULL,
  `nx` int NOT NULL,
  `ny` int NOT NULL,
  `spacex` double(24,8) NOT NULL,
  `spacey` double(24,8) NOT NULL,
  `width` double(24,8) NOT NULL,
  `height` double(24,8) NOT NULL,
  `font_size` int NOT NULL,
  `custom_x` double(24,8) NOT NULL,
  `custom_y` double(24,8) NOT NULL,
  `active` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_format_cards`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_forme_juridique`
--

CREATE TABLE `b67182907_c_forme_juridique` (
  `rowid` int NOT NULL,
  `code` int NOT NULL,
  `fk_pays` int NOT NULL,
  `libelle` varchar(255) DEFAULT NULL,
  `isvatexempted` tinyint NOT NULL DEFAULT '0',
  `active` tinyint NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL,
  `position` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_forme_juridique`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_holiday_types`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_holiday_types`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_hrm_department`
--

CREATE TABLE `b67182907_c_hrm_department` (
  `rowid` int NOT NULL,
  `pos` tinyint NOT NULL DEFAULT '0',
  `code` varchar(16) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_hrm_department`
--

INSERT INTO `b67182907_c_hrm_department` (`rowid`, `pos`, `code`, `label`, `active`) VALUES
(1, 5, 'MANAGEMENT', 'Management', 1),
(3, 15, 'TRAINING', 'Training', 1),
(4, 20, 'IT', 'Inform. Technology (IT)', 0),
(5, 25, 'MARKETING', 'Marketing', 0),
(6, 30, 'SALES', 'Sales', 1),
(7, 35, 'LEGAL', 'Legal', 0),
(8, 40, 'FINANCIAL', 'Financial accounting', 1),
(9, 45, 'HUMANRES', 'Human resources', 1),
(10, 50, 'PURCHASING', 'Purchasing', 1),
(12, 60, 'CUSTOMSERV', 'Customer service', 0),
(14, 70, 'LOGISTIC', 'Logistics', 1),
(15, 75, 'CONSTRUCT', 'Engineering/design', 0),
(16, 80, 'PRODUCTION', 'Production', 1),
(17, 85, 'QUALITY', 'Quality assurance', 0);

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

--
-- Estructura de tabla para la tabla `b67182907_c_hrm_function`
--

CREATE TABLE `b67182907_c_hrm_function` (
  `rowid` int NOT NULL,
  `pos` tinyint NOT NULL DEFAULT '0',
  `code` varchar(16) NOT NULL,
  `label` varchar(50) DEFAULT NULL,
  `c_level` tinyint NOT NULL DEFAULT '0',
  `active` tinyint NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_hrm_function`
--

INSERT INTO `b67182907_c_hrm_function` (`rowid`, `pos`, `code`, `label`, `c_level`, `active`) VALUES
(1, 5, 'EXECBOARD', 'Executive board', 0, 1),
(2, 10, 'MANAGDIR', 'Managing director', 1, 1),
(3, 15, 'ACCOUNTMANAG', 'Account manager', 0, 1),
(4, 20, 'ENGAGDIR', 'Engagement director', 1, 1),
(5, 25, 'DIRECTOR', 'Director', 1, 1),
(6, 30, 'PROJMANAG', 'Project manager', 0, 1),
(7, 35, 'DEPHEAD', 'Department head', 0, 1),
(8, 40, 'SECRETAR', 'Secretary', 0, 1),
(9, 45, 'EMPLOYEE', 'Department employee', 0, 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_incoterms`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_incoterms`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_input_method`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_input_method`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_input_reason`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_input_reason`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_lead_status`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_lead_status`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_paiement`
--

CREATE TABLE `b67182907_c_paiement` (
  `id` int DEFAULT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `code` varchar(6) NOT NULL,
  `libelle` varchar(62) DEFAULT NULL,
  `type` smallint DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1',
  `accountancy_code` varchar(32) DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL,
  `position` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_paiement`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_paper_format`
--

CREATE TABLE `b67182907_c_paper_format` (
  `rowid` int 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 NOT NULL DEFAULT '1',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_paper_format`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_payment_term`
--

CREATE TABLE `b67182907_c_payment_term` (
  `rowid` int DEFAULT NULL,
  `entity` int NOT NULL DEFAULT '1',
  `code` varchar(16) DEFAULT NULL,
  `sortorder` smallint DEFAULT NULL,
  `active` tinyint DEFAULT '1',
  `libelle` varchar(255) DEFAULT NULL,
  `libelle_facture` text,
  `type_cdr` tinyint DEFAULT NULL,
  `nbjour` smallint DEFAULT NULL,
  `decalage` smallint DEFAULT NULL,
  `module` varchar(32) DEFAULT NULL,
  `position` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_payment_term`
--

INSERT INTO `b67182907_c_payment_term` (`rowid`, `entity`, `code`, `sortorder`, `active`, `libelle`, `libelle_facture`, `type_cdr`, `nbjour`, `decalage`, `module`, `position`) VALUES
(1, 1, 'RECEP', 1, 1, 'Due upon receipt', 'Due upon receipt', 0, 1, NULL, NULL, 0),
(2, 1, '30D', 2, 1, '30 days', 'Due in 30 days', 0, 30, NULL, NULL, 0),
(3, 1, '30DENDMONTH', 3, 1, '30 days end of month', 'Due in 30 days, end of month', 1, 30, NULL, NULL, 0),
(4, 1, '60D', 4, 1, '60 days', 'Due in 60 days, end of month', 0, 60, NULL, NULL, 0),
(5, 1, '60DENDMONTH', 5, 1, '60 days end of month', 'Due in 60 days, end of month', 1, 60, NULL, NULL, 0),
(6, 1, 'PT_ORDER', 6, 1, 'Due on order', 'Due on order', 0, 1, NULL, NULL, 0),
(7, 1, 'PT_DELIVERY', 7, 1, 'Due on delivery', 'Due on delivery', 0, 1, NULL, NULL, 0),
(8, 1, 'PT_5050', 8, 1, '50 and 50', '50% on order, 50% on delivery', 0, 1, NULL, NULL, 0),
(9, 1, '10D', 9, 1, '10 days', 'Due in 10 days', 0, 10, NULL, NULL, 0),
(10, 1, '10DENDMONTH', 10, 1, '10 days end of month', 'Due in 10 days, end of month', 1, 10, NULL, NULL, 0),
(11, 1, '14D', 11, 1, '14 days', 'Due in 14 days', 0, 14, NULL, NULL, 0),
(12, 1, '14DENDMONTH', 12, 1, '14 days end of month', 'Due in 14 days, end of month', 1, 14, NULL, NULL, 0),
(13, 1, '120D', 13, 1, '120 días', 'Pago a 120 días', 0, 120, NULL, NULL, 0);

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

--
-- Estructura de tabla para la tabla `b67182907_c_price_expression`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_price_global_variable`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_price_global_variable_updater`
--

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

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

--
-- Estructura de tabla para la tabla `b67182907_c_propalst`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_propalst`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_prospectlevel`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_prospectlevel`
--

INSERT INTO `b67182907_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);

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

--
-- Estructura de tabla para la tabla `b67182907_c_regions`
--

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

--
-- Volcado de datos para la tabla `b67182907_c_regions`
--

INSERT INTO `b67182907_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, 4101, 41, '', 0, 'Österreich', 1),
(30, 201, 2, '', 1, 'Flandre', 1),
(31, 202, 2, '', 2, 'Wallonie', 1),
(32, 203, 2, '', 3, 'Bruxelles-Capitale', 1),
(33, 301, 3, NULL, 1, 'Abruzzo', 1),
(34, 302, 3, NULL, 1, 'Basilicata', 1),
(35, 303, 3, NULL, 1, 'Calabria', 1),
(36, 304, 3, NULL, 1, 'Campania', 1),
(37, 305, 3, NULL, 1, 'Emilia-Romagna', 1),
(38, 306, 3, NULL, 1, 'Friuli-Venezia Giulia', 1),
(39, 307, 3, NULL, 1, 'Lazio', 1),
(40, 308, 3, NULL, 1, 'Liguria', 1),
(41, 309, 3, NULL, 1, 'Lombardia', 1),
(42, 310, 3, NULL, 1, 'Marche', 1),
(43, 311, 3, NULL, 1, 'Molise', 1),
(44, 312, 3, NULL, 1, 'Piemonte', 1),
(45, 313, 3, NULL, 1, 'Puglia', 1),
(46, 314, 3, NULL, 1, 'Sardegna', 1),
(47, 315, 3, NULL, 1, 'Sicilia', 1),
(48, 316, 3, NULL, 1, 'Toscana', 1),
(49, 317, 3, NULL, 1, 'Trentino-Alto Adige', 1),
(50, 318, 3, NULL, 1, 'Umbria', 1),
(51, 319, 3, NULL, 1, 'Valle d Aosta', 1),
(52, 320, 3, NULL, 1, 'Veneto', 1),
(53, 401, 4, '', 0, 'Andalucia', 1),
(54, 402, 4, '', 0, 'Aragón', 1),
(55, 403, 4, '', 0, 'Castilla y León', 1),
(56, 404, 4, '', 0, 'Castilla la Mancha', 1),
(57, 405, 4, '', 0, 'Canarias', 1),
(58, 406, 4, '', 0, 'Cataluña', 1),
(59, 407, 4, '', 0, 'Comunidad de Ceuta', 1),
(60, 408, 4, '', 0, 'Comunidad Foral de Navarra', 1),
(61, 409, 4, '', 0, 'Comunidad de Melilla', 1),
(62, 410, 4, '', 0, 'Cantabria', 1),
(63, 411, 4, '', 0, 'Comunidad Valenciana', 1),
(64, 412, 4, '', 0, 'Extemadura', 1),
(65, 413, 4, '', 0, 'Galicia', 1),
(66, 414, 4, '', 0, 'Islas Baleares', 1),
(67, 415, 4, '', 0, 'La Rioja', 1),
(68, 416, 4, '', 0, 'Comunidad de Madrid', 1),
(69, 417, 4, '', 0, 'Región de Murcia', 1),
(70, 418, 4, '', 0, 'Principado de Asturias', 1),
(71, 419, 4, '', 0, 'Pais Vasco', 1),
(72, 420, 4, '', 0, 'Otros', 1),
(73, 501, 5, '', 0, 'Deutschland', 1),
(74, 10201, 102, NULL, NULL, 'Αττική', 1),
(75, 10202, 102, NULL, NULL, 'Στερεά Ελλάδα', 1),
(76, 10203, 102, NULL, NULL, 'Κεντρική Μακεδονία', 1),
(77, 10204, 102, NULL, NULL, 'Κρήτη', 1),
(78, 10205, 102, NULL, NULL, 'Ανατολική Μακεδονία και Θράκη', 1),
(79, 10206, 102, NULL, NULL, 'Ήπειρος', 1),
(80, 10207, 102, NULL, NULL, 'Ιόνια νησιά', 1),
(81, 10208, 102, NULL, NULL, 'Βόρειο Αιγαίο', 1),
(82, 10209, 102, NULL, NULL, 'Πελοπόννησος', 1),
(83, 10210, 102, NULL, NULL, 'Νότιο Αιγαίο', 1),
(84, 10211, 102, NULL, NULL, 'Δυτική Ελλάδα', 1),
(85, 10212, 102, NULL, NULL, 'Θεσσαλία', 1),
(86, 10213, 102, NULL, NULL, 'Δυτική Μακεδονία', 1),
(87, 601, 6, '', 1, 'Cantons', 1),
(88, 701, 7, '', 0, 'England', 1),
(89, 702, 7, '', 0, 'Wales', 1),
(90, 703, 7, '', 0, 'Scotland', 1),
(91, 704, 7, '', 0, 'Northern Ireland', 1),
(92, 1001, 10, '', 0, 'Ariana', 1),
(93, 1002, 10, '', 0, 'Béja', 1),
(94, 1003, 10, '', 0, 'Ben Arous', 1),
(95, 1004, 10, '', 0, 'Bizerte', 1),
(96, 1005, 10, '', 0, 'Gabès', 1),
(97, 1006, 10, '', 0, 'Gafsa', 1),
(98, 1007, 10, '', 0, 'Jendouba', 1),
(99, 1008, 10, '', 0, 'Kairouan', 1),
(100, 1009, 10, '', 0, 'Kasserine', 1),
(101, 1010, 10, '', 0, 'Kébili', 1),
(102, 1011, 10, '', 0, 'La Manouba', 1),
(103, 1012, 10, '', 0, 'Le Kef', 1),
(104, 1013, 10, '', 0, 'Mahdia', 1),
(105, 1014, 10, '', 0, 'Médenine', 1),
(106, 1015, 10, '', 0, 'Monastir', 1),
(107, 1016, 10, '', 0, 'Nabeul', 1),
(108, 1017, 10, '', 0, 'Sfax', 1),
(109, 1018, 10, '', 0, 'Sidi Bouzid', 1),
(110, 1019, 10, '', 0, 'Siliana', 1),
(111, 1020, 10, '', 0, 'Sousse', 1),
(112, 1021, 10, '', 0, 'Tataouine', 1),
(113, 1022, 10, '', 0, 'Tozeur', 1),
(114, 1023, 10, '', 0, 'Tunis', 1),
(115, 1024, 10, '', 0, 'Zaghouan', 1),
(116, 1101, 11, '', 0, 'United-States', 1),
(117, 1301, 13, '', 0, 'Algerie', 1),
(118, 1401, 14, '', 0, 'Canada', 1),
(119, 1701, 17, '', 0, 'Provincies van Nederland ', 1),
(120, 2301, 23, '', 0, 'Norte', 1),
(121, 2302, 23, '', 0, 'Litoral', 1),
(122, 2303, 23, '', 0, 'Cuyana', 1),
(123, 2304, 23, '', 0, 'Central', 1),
(124, 2305, 23, '', 0, 'Patagonia', 1),
(125, 2801, 28, '', 0, 'Australia', 1),
(126, 4601, 46, '', 0, 'Barbados', 1),
(127, 5201, 52, '', 0, 'Chuquisaca', 1),
(128, 5202, 52, '', 0, 'La Paz', 1),
(129, 5203, 52, '', 0, 'Cochabamba', 1),
(130, 5204, 52, '', 0, 'Oruro', 1),
(131, 5205, 52, '', 0, 'Potosí', 1),
(132, 5206, 52, '', 0, 'Tarija', 1),
(133, 5207, 52, '', 0, 'Santa Cruz', 1),
(134, 5208, 52, '', 0, 'El Beni', 1),
(135, 5209, 52, '', 0, 'Pando', 1),
(136, 5601, 56, '', 0, 'Brasil', 1),
(137, 7001, 70, '', 0, 'Colombie', 1),
(138, 6701, 67, NULL, NULL, 'Tarapacá', 1),
(139, 6702, 67, NULL, NULL, 'Antofagasta', 1),
(140, 6703, 67, NULL, NULL, 'Atacama', 1),
(141, 6704, 67, NULL, NULL, 'Coquimbo', 1),
(142, 6705, 67, NULL, NULL, 'Valparaíso', 1),
(143, 6706, 67, NULL, NULL, 'General Bernardo O Higgins', 1),
(144, 6707, 67, NULL, NULL, 'Maule', 1),
(145, 6708, 67, NULL, NULL, 'Biobío', 1),
(146, 6709, 67, NULL, NULL, 'Raucanía', 1),
(147, 6710, 67, NULL, NULL, 'Los Lagos', 1),
(148, 6711, 67, NULL, NULL, 'Aysén General Carlos Ibáñez del Campo', 1),
(149, 6712, 67, NULL, NULL, 'Magallanes y Antártica Chilena', 1),
(150, 6713, 67, NULL, NULL, 'Metropolitana de Santiago', 1),
(151, 6714, 67, NULL, NULL, 'Los Ríos', 1),
(152, 6715, 67, NULL, NULL, 'Arica y Parinacota', 1),
(153, 8601, 86, NULL, NULL, 'Central', 1),
(154, 8602, 86, NULL, NULL, 'Oriental', 1),
(155, 8603, 86, NULL, NULL, 'Occidental', 1),
(156, 11401, 114, '', 0, 'Honduras', 1),
(157, 11701, 117, '', 0, 'India', 1),
(158, 1201, 12, '', 0, 'Tanger-Tétouan', 1),
(159, 1202, 12, '', 0, 'Gharb-Chrarda-Beni Hssen', 1),
(160, 1203, 12, '', 0, 'Taza-Al Hoceima-Taounate', 1),
(161, 1204, 12, '', 0, 'L\'Oriental', 1),
(162, 1205, 12, '', 0, 'Fès-Boulemane', 1),
(163, 1206, 12, '', 0, 'Meknès-Tafialet', 1),
(164, 1207, 12, '', 0, 'Rabat-Salé-Zemour-Zaër', 1),
(165, 1208, 12, '', 0, 'Grand Cassablanca', 1),
(166, 1209, 12, '', 0, 'Chaouia-Ouardigha', 1),
(167, 1210, 12, '', 0, 'Doukahla-Adba', 1),
(168, 1211, 12, '', 0, 'Marrakech-Tensift-Al Haouz', 1),
(169, 1212, 12, '', 0, 'Tadla-Azilal', 1),
(170, 1213, 12, '', 0, 'Sous-Massa-Drâa', 1),
(171, 1214, 12, '', 0, 'Guelmim-Es Smara', 1),
(172, 1215, 12, '', 0, 'Laâyoune-Boujdour-Sakia el Hamra', 1),
(173, 1216, 12, '', 0, 'Oued Ed-Dahab Lagouira', 1),
(174, 14001, 140, '', 0, 'Diekirch', 1),
(175, 14002, 140, '', 0, 'Grevenmacher', 1),
(176, 14003, 140, '', 0, 'Luxembourg', 1),
(177, 15201, 152, '', 0, 'Rivière Noire', 1),
(178, 15202, 152, '', 0, 'Flacq', 1),
(179, 15203, 152, '', 0, 'Grand Port', 1),
(180, 15204, 152, '', 0, 'Moka', 1),
(181, 15205, 152, '', 0, 'Pamplemousses', 1),
(182, 15206, 152, '', 0, 'Plaines Wilhems', 1),
(183, 15207, 152, '', 0, 'Port-Louis', 1),
(184, 15208, 152, '', 0, 'Rivière du Rempart', 1),
(185, 15209, 152, '', 0, 'Savanne', 1),
(186, 15210, 152, '', 0, 'Rodrigues', 1),
(187, 15211, 152, '', 0, 'Les îles Agaléga', 1),
(188, 15212, 152, '', 0, 'Les écueils des Cargados Carajos', 1),
(189, 15401, 154, '', 0, 'Mexique', 1),
(190, 18801, 188, '', 0, 'Romania', 1),
(191, 23201, 232, '', 0, 'Los Andes', 1),
(192, 23202, 232, '', 0, 'Capital', 1),
(193, 23203, 232, '', 0, 'Central', 1),
(194, 23204, 232, '', 0, 'Cento Occidental', 1),
(195, 23205, 232, '', 0, 'Guayana', 1),
(196, 23206, 232, '', 0, 'Insular', 1),
(197, 23207, 232, '', 0, 'Los Llanos', 1),
(198, 23208, 232, '', 0, 'Nor-Oriental', 1),
(199, 23209, 232, '', 0, 'Zuliana', 1),
(200, 18101, 181, '', 0, 'Amazonas', 1),
(201, 18102, 181, '', 0, 'Ancash', 1),
(202, 18103, 181, '', 0, 'Apurimac', 1),
(203, 18104, 181, '', 0, 'Arequipa', 1),
(204, 18105, 181, '', 0, 'Ayacucho', 1),
(205, 18106, 181, '', 0, 'Cajamarca', 1),
(206, 18107, 181, '', 0, 'Callao', 1),
(207, 18108, 181, '', 0, 'Cuzco', 1),
(208, 18109, 181, '', 0, 'Huancavelica', 1),
(209, 18110, 181, '', 0, 'Huanuco', 1),
(210, 18111, 181, '', 0, 'Ica', 1),
(211, 18112, 181, '', 0, 'Junin', 1),
(212, 18113, 181, '', 0, 'La Libertad', 1),
(213, 18114, 181, '', 0, 'Lambayeque', 1),
(214, 18115, 181, '', 0, 'Lima Metropolitana', 1),
(215, 18116, 181, '', 0, 'Lima', 1),
(216, 18117, 181, '', 0, 'Loreto', 1),
(217, 18118, 181, '', 0, 'Madre de Dios', 1),
(218, 18119, 181, '', 0, 'Moquegua', 1),
(219, 18120, 181, '', 0, 'Pasco', 1),
(220, 18121, 181, '', 0, 'Piura', 1),
(221, 18122, 181, '', 0, 'Puno', 1),
(222, 18123, 181, '', 0, 'San Martín', 1),
(223, 18124, 181, '', 0, 'Tacna', 1),
(224, 18125, 181, '', 0, 'Tumbes', 1),
(225, 18126, 181, '', 0, 'Ucayali', 1),
(226, 17801, 178, '', 0, 'Panama', 1),
(227, 22701, 227, '', 0, 'United Arab Emirates', 1);

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

--
-- Estructura de tabla para la tabla `b67182907_c_revenuestamp`
--

CREATE TABLE `b67182907_c_revenuestamp` (
  `rowid` int NOT NULL,
  `fk_pays` int NOT NULL,
  `taux` double NOT NULL,
  `revenuestamp_type` varchar(16) NOT NULL DEFAULT 'fixed',
  `note` varchar(128) DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1',
  `accountancy_code_sell` varchar(32) DEFAULT NULL,
  `accountancy_code_buy` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_revenuestamp`
--

INSERT INTO `b67182907_c_revenuestamp` (`rowid`, `fk_pays`, `taux`, `revenuestamp_type`, `note`, `active`, `accountancy_code_sell`, `accountancy_code_buy`) VALUES
(101, 10, 0.4, 'fixed', 'Revenue stamp tunisia', 0, NULL, NULL),
(1541, 154, 1.5, 'percent', 'Revenue stamp mexico', 0, NULL, NULL),
(1542, 154, 3, 'percent', 'Revenue stamp mexico', 0, NULL, NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_c_shipment_mode`
--

CREATE TABLE `b67182907_c_shipment_mode` (
  `rowid` int 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 DEFAULT '0',
  `module` varchar(32) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Volcado de datos para la tabla `b67182907_c_shipment_mode`
--

INSERT INTO `b67182907_c_shipment_mode` (`rowid`, `tms`, `code`, `libelle`, `description`, `tracking`, `active`, `module`) VALUES
(1, '2018-03-06 15:23:15', 'CATCH', 'At-Store Reclamation', 'At-Store Reclamation by the customer', '', 1, NULL),
(2, '2018-03-06 15:23:15', 'TRANS', 'Generic transporter', 'Generic transporter', '', 1, NULL),
(3, '2018-03-06 15:23:15', 'COLSUI', 'Colissimo Suivi', 'Colissimo Suivi', 'http://www.colissimo.fr/portail_colissimo/suivre.do?colispart={TRACKID}', 0, NULL),
(4, '2018-03-06 15:23:15', 'LETTREMAX', 'Lettre Max', 'Courrier Suivi et Lettre Max', '', 0, NULL),
(5, '2018-03-06 15:23:15', '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, '2018-03-06 15:23:15', 'KIALA', 'KIALA', 'Relais Kiala', 'http://www.kiala.fr/tnt/delivery/{TRACKID}', 0, NULL),
(7, '2018-03-06 15:23:15', 'GLS', 'GLS', 'General Logistics Systems', 'https://gls-group.eu/FR/fr/suivi-colis?match={TRACKID}', 0, NULL),
(8, '2018-03-06 15:23:15', 'CHRONO', 'Chronopost', 'Chronopost', 'http://www.chronopost.fr/expedier/inputLTNumbersNoJahia.do?listeNumeros={TRACKID}', 0, NULL);

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

--
-- Estructura de tabla para la tabla `b67182907_c_stcomm`
--

