CREATE TABLE `vtiger_pdfmaker_breakline` (
  `crmid` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `sequence` int(11) NOT NULL,
  `show_header` tinyint(1) NOT NULL DEFAULT 0,
  `show_subtotal` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_displayed`
--

CREATE TABLE `vtiger_pdfmaker_displayed` (
  `templateid` int(11) NOT NULL,
  `displayed` int(11) NOT NULL,
  `conditions` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_displayed` (`templateid`, `displayed`, `conditions`) VALUES
(9, 0, '[]');

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

--
-- Structure de la table `vtiger_pdfmaker_extensions`
--

CREATE TABLE `vtiger_pdfmaker_extensions` (
  `export_to_rtf` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_ignorepicklistvalues`
--

CREATE TABLE `vtiger_pdfmaker_ignorepicklistvalues` (
  `value` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_ignorepicklistvalues` (`value`) VALUES
('');

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

--
-- Structure de la table `vtiger_pdfmaker_images`
--

CREATE TABLE `vtiger_pdfmaker_images` (
  `crmid` int(11) NOT NULL,
  `productid` int(11) NOT NULL,
  `sequence` int(11) NOT NULL,
  `attachmentid` int(11) NOT NULL,
  `width` int(11) DEFAULT NULL,
  `height` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_label_keys`
--

CREATE TABLE `vtiger_pdfmaker_label_keys` (
  `label_id` int(11) NOT NULL,
  `label_key` varchar(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_label_vals`
--

CREATE TABLE `vtiger_pdfmaker_label_vals` (
  `label_id` int(11) NOT NULL,
  `lang_id` int(11) NOT NULL,
  `label_value` varchar(1024) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_license`
--

CREATE TABLE `vtiger_pdfmaker_license` (
  `version_type` varchar(255) NOT NULL,
  `license_key` varchar(255) NOT NULL,
  `license_info` text DEFAULT NULL,
  `license_due_date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_license` (`version_type`, `license_key`, `license_info`, `license_due_date`) VALUES
('deactivate', '', NULL, NULL);

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

--
-- Structure de la table `vtiger_pdfmaker_productbloc_tpl`
--

CREATE TABLE `vtiger_pdfmaker_productbloc_tpl` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `body` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_productbloc_tpl` (`id`, `name`, `body`) VALUES
(1, 'Product block for group tax', '<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr bgcolor=\"#c0c0c0\">\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>Pos</strong></span></td>\r\n			<td colspan=\"2\" style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_Qty%</strong></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><span style=\"font-weight: bold;\">Text</span></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_LBL_LIST_PRICE%<br />\r\n				</strong></span></td>\r\n			<td style=\"text-align: center;\">\r\n				<strong>%G_Subtotal%</strong></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_Discount%</strong></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%M_Total%</strong></span></td>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"8\">\r\n				#PRODUCTBLOC_START#</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"text-align: center; vertical-align: top;\">\r\n				$PRODUCTPOSITION$</td>\r\n			<td align=\"right\" valign=\"top\">\r\n				$PRODUCTQUANTITY$</td>\r\n			<td align=\"left\" style=\"TEXT-ALIGN: center\" valign=\"top\">\r\n				$PRODUCTUSAGEUNIT$</td>\r\n			<td align=\"left\" valign=\"top\">\r\n				$PRODUCTNAME$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTLISTPRICE$</td>\r\n			<td align=\"right\" style=\"TEXT-ALIGN: right\" valign=\"top\">\r\n				$PRODUCTTOTAL$</td>\r\n			<td align=\"right\" style=\"TEXT-ALIGN: right\" valign=\"top\">\r\n				$PRODUCTDISCOUNT$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTSTOTALAFTERDISCOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"8\">\r\n				#PRODUCTBLOC_END#</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				<span>%G_LBL_NET_PRICE% without TAX</span></td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$TOTALWITHOUTVAT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				%G_Discount%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$TOTALDISCOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				Total without TAX</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$TOTALAFTERDISCOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"text-align: left;\">\r\n				%G_Tax% $VATPERCENT$ % %G_LBL_LIST_OF% $TOTALAFTERDISCOUNT$</td>\r\n			<td style=\"text-align: right;\">\r\n				$VAT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"text-align: left;\">\r\n				Total with TAX</td>\r\n			<td style=\"text-align: right;\">\r\n				$TOTALWITHVAT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"text-align: left;\">\r\n				%G_LBL_SHIPPING_AND_HANDLING_CHARGES%</td>\r\n			<td style=\"text-align: right;\">\r\n				$SHTAXAMOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				%G_LBL_TAX_FOR_SHIPPING_AND_HANDLING%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$SHTAXTOTAL$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				%G_Adjustment%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$ADJUSTMENT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				<span style=\"font-weight: bold;\">%G_LBL_GRAND_TOTAL% </span><strong>($CURRENCYCODE$)</strong></td>\r\n			<td nowrap=\"nowrap\" style=\"TEXT-ALIGN: right\">\r\n				<strong>$TOTAL$</strong></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n'),
(2, 'Product block for individual tax', '<table border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:10px;\" width=\"100%\">\r\n	<thead>\r\n		<tr bgcolor=\"#c0c0c0\">\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>Pos</strong></span></td>\r\n			<td colspan=\"2\" style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_Qty%</strong></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><span style=\"font-weight: bold;\">Text</span></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_LBL_LIST_PRICE%<br />\r\n				</strong></span></td>\r\n			<td style=\"text-align: center;\">\r\n				<strong>%G_Subtotal%</strong></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_Discount%</strong></span></td>\r\n			<td style=\"TEXT-ALIGN: center\">\r\n				<span><strong>%G_LBL_NET_PRICE%<br />\r\n				without TAX<br />\r\n				</strong></span></td>\r\n			<td style=\"text-align: center;\">\r\n				<span><strong>%G_Tax% (%)</strong></span></td>\r\n			<td style=\"text-align: center;\">\r\n				<span><strong>%G_Tax%</strong> (<strong>$CURRENCYCODE$</strong>)</span></td>\r\n			<td style=\"text-align: center;\">\r\n				<span><strong>%M_Total%</strong></span></td>\r\n		</tr>\r\n	</thead>\r\n	<tbody>\r\n		<tr>\r\n			<td colspan=\"11\">\r\n				#PRODUCTBLOC_START#</td>\r\n		</tr>\r\n		<tr>\r\n			<td style=\"text-align: center; vertical-align: top;\">\r\n				$PRODUCTPOSITION$</td>\r\n			<td align=\"right\" valign=\"top\">\r\n				$PRODUCTQUANTITY$</td>\r\n			<td align=\"left\" style=\"TEXT-ALIGN: center\" valign=\"top\">\r\n				$PRODUCTUSAGEUNIT$</td>\r\n			<td align=\"left\" valign=\"top\">\r\n				$PRODUCTNAME$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTLISTPRICE$</td>\r\n			<td align=\"right\" style=\"TEXT-ALIGN: right\" valign=\"top\">\r\n				$PRODUCTTOTAL$</td>\r\n			<td align=\"right\" style=\"TEXT-ALIGN: right\" valign=\"top\">\r\n				$PRODUCTDISCOUNT$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTSTOTALAFTERDISCOUNT$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTVATPERCENT$</td>\r\n			<td align=\"right\" style=\"text-align: right;\" valign=\"top\">\r\n				$PRODUCTVATSUM$</td>\r\n			<td align=\"right\" style=\"TEXT-ALIGN: right\" valign=\"top\">\r\n				$PRODUCTTOTALSUM$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"11\">\r\n				#PRODUCTBLOC_END#</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"7\" style=\"TEXT-ALIGN: left\">\r\n				Subtotals</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				<span style=\"text-align: right; \">$TOTALWITHOUTVAT$</span></td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				&nbsp;</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				<span style=\"text-align: right; \">$VAT$</span></td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$SUBTOTAL$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"TEXT-ALIGN: left\">\r\n				%G_Discount%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$TOTALDISCOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"TEXT-ALIGN: left\">\r\n				Total with TAX</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$TOTALWITHVAT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"text-align: left;\">\r\n				%G_LBL_SHIPPING_AND_HANDLING_CHARGES%</td>\r\n			<td style=\"text-align: right;\">\r\n				$SHTAXAMOUNT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"TEXT-ALIGN: left\">\r\n				%G_LBL_TAX_FOR_SHIPPING_AND_HANDLING%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$SHTAXTOTAL$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"TEXT-ALIGN: left\">\r\n				%G_Adjustment%</td>\r\n			<td style=\"TEXT-ALIGN: right\">\r\n				$ADJUSTMENT$</td>\r\n		</tr>\r\n		<tr>\r\n			<td colspan=\"10\" style=\"TEXT-ALIGN: left\">\r\n				<span style=\"font-weight: bold;\">%G_LBL_GRAND_TOTAL% </span><strong>($CURRENCYCODE$)</strong></td>\r\n			<td nowrap=\"nowrap\" style=\"TEXT-ALIGN: right\">\r\n				<strong>$TOTAL$</strong></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n');

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

--
-- Structure de la table `vtiger_pdfmaker_profilespermissions`
--

CREATE TABLE `vtiger_pdfmaker_profilespermissions` (
  `profileid` int(11) NOT NULL,
  `operation` int(11) NOT NULL,
  `permissions` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_profilespermissions` (`profileid`, `operation`, `permissions`) VALUES
(1, 1, 0),
(1, 2, 0),
(1, 4, 0),
(1, 6, 0),
(2, 1, 1),
(2, 2, 1),
(2, 4, 0),
(2, 6, 0),
(3, 1, 0),
(3, 2, 1),
(3, 4, 0),
(3, 6, 0),
(4, 1, 1),
(4, 2, 1),
(4, 4, 0),
(4, 6, 0),
(5, 1, 1),
(5, 2, 1),
(5, 4, 0),
(5, 6, 0),
(6, 1, 1),
(6, 2, 1),
(6, 4, 0),
(6, 6, 0);

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

--
-- Structure de la table `vtiger_pdfmaker_relblockcol`
--

CREATE TABLE `vtiger_pdfmaker_relblockcol` (
  `colid` int(19) NOT NULL,
  `relblockid` int(19) NOT NULL,
  `columnname` varchar(250) NOT NULL,
  `sortorder` varchar(250) DEFAULT NULL,
  `sortsequence` tinyint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_relblockcriteria`
--

CREATE TABLE `vtiger_pdfmaker_relblockcriteria` (
  `relblockid` int(11) NOT NULL,
  `colid` int(11) NOT NULL,
  `columnname` varchar(250) NOT NULL,
  `comparator` varchar(250) NOT NULL,
  `value` varchar(250) NOT NULL,
  `groupid` int(11) NOT NULL,
  `column_condition` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_relblockcriteria_g`
--

CREATE TABLE `vtiger_pdfmaker_relblockcriteria_g` (
  `groupid` int(11) NOT NULL,
  `relblockid` int(11) NOT NULL,
  `group_condition` varchar(250) DEFAULT NULL,
  `condition_expression` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_relblockdatefilter`
--

CREATE TABLE `vtiger_pdfmaker_relblockdatefilter` (
  `datefilterid` int(11) NOT NULL,
  `datecolumnname` varchar(250) NOT NULL,
  `datefilter` varchar(250) NOT NULL,
  `startdate` date NOT NULL,
  `enddate` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_relblocks`
--

CREATE TABLE `vtiger_pdfmaker_relblocks` (
  `relblockid` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `module` varchar(255) NOT NULL,
  `secmodule` varchar(255) NOT NULL,
  `block` longtext NOT NULL,
  `deleted` tinyint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_relblocksortcol`
--

CREATE TABLE `vtiger_pdfmaker_relblocksortcol` (
  `sortcolid` int(19) NOT NULL,
  `relblockid` int(19) NOT NULL,
  `columnname` varchar(250) DEFAULT '',
  `sortorder` varchar(250) DEFAULT 'Asc'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_releases`
--

CREATE TABLE `vtiger_pdfmaker_releases` (
  `id` int(11) NOT NULL,
  `version` varchar(10) NOT NULL,
  `date` datetime NOT NULL,
  `updated` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_releases` (`id`, `version`, `date`, `updated`) VALUES
(1, '700.8.0', '2019-01-02 21:59:34', 1);

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

--
-- Structure de la table `vtiger_pdfmaker_seq`
--

CREATE TABLE `vtiger_pdfmaker_seq` (
  `id` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_seq` (`id`) VALUES
(17);

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

--
-- Structure de la table `vtiger_pdfmaker_settings`
--

CREATE TABLE `vtiger_pdfmaker_settings` (
  `templateid` int(11) NOT NULL,
  `margin_top` decimal(12,1) DEFAULT NULL,
  `margin_bottom` decimal(12,1) DEFAULT NULL,
  `margin_left` decimal(12,1) DEFAULT NULL,
  `margin_right` decimal(12,1) DEFAULT NULL,
  `format` varchar(255) NOT NULL DEFAULT 'A4',
  `orientation` varchar(255) NOT NULL DEFAULT 'portrait',
  `decimals` tinyint(2) NOT NULL,
  `decimal_point` char(2) NOT NULL,
  `thousands_separator` char(2) NOT NULL,
  `header` text NOT NULL,
  `footer` text NOT NULL,
  `encoding` varchar(20) NOT NULL DEFAULT 'auto',
  `file_name` varchar(255) DEFAULT NULL,
  `is_portal` tinyint(1) NOT NULL DEFAULT 0,
  `is_listview` tinyint(1) NOT NULL DEFAULT 0,
  `owner` int(11) NOT NULL DEFAULT 1,
  `sharingtype` char(7) NOT NULL DEFAULT 'public',
  `disp_header` tinyint(1) NOT NULL DEFAULT 3,
  `disp_footer` tinyint(1) NOT NULL DEFAULT 7,
  `headerid` int(11) DEFAULT NULL,
  `footerid` int(11) DEFAULT NULL,
  `pdf_password` varchar(255) DEFAULT NULL,
  `watermark_type` varchar(255) DEFAULT NULL,
  `watermark_img_id` int(11) DEFAULT NULL,
  `watermark_text` varchar(255) DEFAULT NULL,
  `watermark_alpha` decimal(2,1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_settings` (`templateid`, `margin_top`, `margin_bottom`, `margin_left`, `margin_right`, `format`, `orientation`, `decimals`, `decimal_point`, `thousands_separator`, `header`, `footer`, `encoding`, `file_name`, `is_portal`, `is_listview`, `owner`, `sharingtype`, `disp_header`, `disp_footer`, `headerid`, `footerid`, `pdf_password`, `watermark_type`, `watermark_img_id`, `watermark_text`, `watermark_alpha`) VALUES
(1, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', '.', '<html><head>	<title></title></head><body><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\"><tbody>		<tr><td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td><td align=\"right\" nowrap=\"nowrap\" valign=\"top\"><h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%M_Invoice No% $INVOICE_INVOICE_NO$</span></h1></td></tr></tbody></table></body></html>', '<html><head><title></title></head><body><p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p></body></html>', 'auto', NULL, 0, 0, 1, 'public', 3, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', '', '<html><head><title></title></head><body><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\"><tbody><tr><td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td><td align=\"right\" nowrap=\"nowrap\" valign=\"top\"><h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%SALESORDER_SALESORDER_NO% $SALESORDER_SALESORDER_NO$</span></h1></td></tr></tbody></table></body></html>', '<html><head><title></title></head><body><p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p></body></html>', 'auto', NULL, 0, 0, 1, 'public', 3, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', '', '<html><head><title></title></head><body><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\"><tbody><tr><td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td><td align=\"right\" nowrap=\"nowrap\" valign=\"top\">	<h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%PURCHASEORDER_PURCHASEORDER_NO% $PURCHASEORDER_PURCHASEORDER_NO$</span></h1></td></tr></tbody></table></body></html>', '<html><head><title></title></head><body><p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p></body></html>', 'auto', NULL, 0, 0, 1, 'public', 3, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', '', '<html><head>	<title></title></head><body><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\"><tbody>		<tr><td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td><td align=\"right\" nowrap=\"nowrap\" valign=\"top\"><h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%M_Quote No% $QUOTES_QUOTE_NO$</span></h1></td></tr></tbody></table></body></html>', '<html><head>	<title></title></head><body><p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p></body></html>', 'auto', NULL, 0, 0, 1, 'public', 3, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 0, ',', '.', '<html>\r\n<head>\r\n	<title></title>\r\n	<script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:adab70b2e5abb039debe91ab67f2d8c7428c367b,1555585986\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td align=\"left\" valign=\"top\"><br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			&nbsp;</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\"></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n<br />\r\n<script type=\"text/javascript\">CsrfMagic.end();</script></body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p>\r\n</body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 0, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(6, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 0, ',', '.', '<html>\r\n<head>\r\n	<title></title>\r\n	<script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:adab70b2e5abb039debe91ab67f2d8c7428c367b,1555585986\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%M_Invoice No% $INVOICE_INVOICE_NO$</span></h1>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n<script type=\"text/javascript\">CsrfMagic.end();</script></body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p>\r\n</body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 0, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(7, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 26px;\">$COMPANY_LOGO$</span></span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 28px;\">$COMPANY_NAME$</span></span></h1>\r\n\r\n			<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 14px;\">$COMPANY_ADDRESS$ -&nbsp;<span style=\"text-align: center;\">$COMPANY_CITY$ -&nbsp;</span>$COMPANY_COUNTRY$<br />\r\n			%COMPANY_PHONE%: $COMPANY_PHONE$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<div style=\"text-align: center;\"><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_NAME$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_VATID$</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">&bull;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_ADDRESS$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&bull;&nbsp;</small><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_CITY$</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_COUNTRY$</span></div>\r\n</body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 1, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(8, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			<br />\r\n			&nbsp;</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><br />\r\n			<br />\r\n			<br />\r\n			&nbsp;</h1>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 0, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(9, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:500px;\">\r\n	<tbody>\r\n		<tr>\r\n			<td>%COMPANY_LOGO%</td>\r\n			<td>%CASHFLOW4YOU_CASHFLOW4YOU_NO%</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n', 'auto', '$$$#TEMPLATE_NAME#$', 0, 1, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(10, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-size: 20px;\">$COMPANY_LOGO$</span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<p><span style=\"font-size:12px;\"><span style=\"font-family:tahoma,geneva,sans-serif;\">%CASHFLOW4YOU_CASHFLOW4YOU_NO%<span style=\"text-align: start; white-space: normal;\"> </span>$CASHFLOW4YOU_CASHFLOW4YOU_NO$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n', 'auto', '$R_RELATIONID_SUBJECT$$R_RELATIONID_SUBJECT$$#MM-DD-YYYY#$', 0, 1, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(11, 2.0, 2.0, 2.0, 2.0, 'A5', 'landscape', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 26px;\">$COMPANY_LOGO$</span></span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 28px;\">$COMPANY_NAME$</span></span></h1>\r\n\r\n			<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 14px;\">$COMPANY_ADDRESS$ -&nbsp;<span style=\"text-align: center;\">$COMPANY_CITY$ -&nbsp;</span>$COMPANY_COUNTRY$<br />\r\n			%COMPANY_PHONE%: $COMPANY_PHONE$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<div style=\"text-align: center;\">\r\n<div style=\"text-align: right;\"><span style=\"font-family: &quot;lucida sans unicode&quot;, &quot;lucida grande&quot;, sans-serif;\">____________________________</span></div>\r\n\r\n<div style=\"text-align: right;\"><span style=\"font-family: &quot;lucida sans unicode&quot;, &quot;lucida grande&quot;, sans-serif;\"><span style=\"font-size: 14px;\">Nous vous remercions pour votre confiance</span></span></div>\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_NAME$&nbsp;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_VATID$</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">&bull;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_ADDRESS$&nbsp;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_CITY$</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;&bull;&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_COUNTRY$</span></div>\r\n</body>\r\n</html>\r\n', 'auto', '', 0, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(12, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\n<head>\n	<title></title>\n<script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:ef0f936e8f9567690816e1709d4ad9254f9c9195,1555625489\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script></head>\n<body>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\n	<tbody>\n		<tr>\n			<td align=\"left\" valign=\"top\">$COMPANY_LOGO$</td>\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\n			<h1><span style=\"color: rgb(0, 0, 0); font-family: Verdana; font-size: x-large; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">%PURCHASEORDER_PURCHASEORDER_NO% $PURCHASEORDER_PURCHASEORDER_NO$</span></h1>\n			</td>\n		</tr>\n	</tbody>\n</table>\n<script type=\"text/javascript\">CsrfMagic.end();</script></body>\n</html>\n', '<html>\n<head>\n	<title></title>\n</head>\n<body>\n<p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>• </small>$COMPANY_ADDRESS$ <small>• </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> • </small>$COMPANY_STATE$</span></p>\n</body>\n</html>\n', 'auto', '', 0, 0, 1, 'public', 3, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(13, 2.0, 2.0, 2.0, 2.0, 'A5', 'landscape', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n	<script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:9244c78dd1157ae54fb261daaeca96845c8d66c4,1555627067\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td style=\"text-align: center;\" valign=\"top\">$COMPANY_LOGO$</td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\"></td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n<script type=\"text/javascript\">CsrfMagic.end();</script></body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<p style=\"text-align: center;\"><span style=\"font-size:10px;\">$COMPANY_NAME$ <small>&bull; </small>$COMPANY_ADDRESS$ <small>&bull; </small> $COMPANY_ZIP$<small> </small>$COMPANY_CITY$<small> &bull; </small>$COMPANY_STATE$</span></p>\r\n</body>\r\n</html>\r\n', 'auto', '$PURCHASEORDER_CF_933$-$PURCHASEORDER_CF_937$-$PURCHASEORDER_CONTACT_ID$', 1, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(14, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n	<script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:95d555622c6fbe48bcd6e272a14fec84ecaaa59f,1557517641\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script><script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:d6b89a600156d99ae1c01a56bd9392443a09b836,1557518253\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script><script type=\"text/javascript\">if (top != self) {top.location.href = self.location.href;}</script><script type=\"text/javascript\">var csrfMagicToken = \"sid:be4eab7cf503de4b715cff1eadf79ffc53e12ded,1557518468\";var csrfMagicName = \"__vtrftk\";</script><script src=\"libraries/csrf-magic/csrf-magic.js\" type=\"text/javascript\"></script>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 26px;\">$COMPANY_LOGO$</span></span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 28px;\">$COMPANY_NAME$</span></span></h1>\r\n\r\n			<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 14px;\">$COMPANY_ADDRESS$ -&nbsp;<span style=\"text-align: center;\">$COMPANY_CITY$ -&nbsp;</span>$COMPANY_COUNTRY$<br />\r\n			%COMPANY_PHONE%: $COMPANY_PHONE$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<p style=\"text-align: right;\"><span style=\"font-family: &quot;lucida sans unicode&quot;, &quot;lucida grande&quot;, sans-serif; text-align: center;\">-------------------------------------<br />\r\nNous vous remercions pour votre confiance</span></p>\r\n\r\n<p style=\"text-align: center;\"><br />\r\n<span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_NAME$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_VATID$</span><small style=\"font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">&bull;</span><small style=\"font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_ADDRESS$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><small style=\"font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_CITY$</span><small style=\"font-family: tahoma, geneva, sans-serif;\">&nbsp;&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_COUNTRY$</span></p>\r\n</body>\r\n</html>\r\n', 'auto', '$PURCHASEORDER_CF_933$-$PURCHASEORDER_CF_937$-$PURCHASEORDER_CONTACT_ID$', 0, 0, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(15, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 26px;\">$COMPANY_LOGO$</span></span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 28px;\">$COMPANY_NAME$</span></span></h1>\r\n\r\n			<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 14px;\">$COMPANY_ADDRESS$ -&nbsp;<span style=\"text-align: center;\">$COMPANY_CITY$ -&nbsp;</span>$COMPANY_COUNTRY$<br />\r\n			%COMPANY_PHONE%: $COMPANY_PHONE$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<div style=\"text-align: center;\"><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_NAME$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_VATID$</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">&bull;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_ADDRESS$&nbsp;</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&bull;&nbsp;</small><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_CITY$</span><small style=\"font-family: tahoma, geneva, sans-serif; text-align: center;\">&nbsp;&bull;&nbsp;</small><span style=\"font-family: tahoma, geneva, sans-serif; font-size: 10px; text-align: center;\">$COMPANY_COUNTRY$</span></div>\r\n</body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 0, 1, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(16, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body><br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp;</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body></body>\r\n</html>\r\n', 'auto', '$INVOICE_INVOICE_NO$-$INVOICE_SUBJECT$ - $R_ACCOUNTID_ACCOUNTNAME$ - $R_CONTACTID_LASTNAME$', 0, 1, 1, 'public', 3, 7, NULL, NULL, '', 'none', 0, '', NULL),
(17, 2.0, 2.0, 2.0, 2.0, 'A4', 'portrait', 2, ',', 'sp', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"header\" width=\"100%\">\r\n	<tbody>\r\n		<tr>\r\n			<td valign=\"top\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 26px;\">$COMPANY_LOGO$</span></span></td>\r\n			<td align=\"right\" nowrap=\"nowrap\" valign=\"top\">\r\n			<h1><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 28px;\">$COMPANY_NAME$</span></span></h1>\r\n\r\n			<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-size: 14px;\">$COMPANY_ADDRESS$ -&nbsp;<span style=\"text-align: center;\">$COMPANY_CITY$ -&nbsp;</span>$COMPANY_COUNTRY$<br />\r\n			%COMPANY_PHONE%: $COMPANY_PHONE$</span></span></p>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n', '<html>\r\n<head>\r\n	<title></title>\r\n</head>\r\n<body>\r\n<div style=\"text-align: center;\">\r\n<div style=\"text-align: right;\"><span style=\"font-family: &quot;lucida sans unicode&quot;, &quot;lucida grande&quot;, sans-serif;\">____________________________</span></div>\r\n\r\n<div style=\"text-align: right;\"><span style=\"font-family: &quot;lucida sans unicode&quot;, &quot;lucida grande&quot;, sans-serif;\"><span style=\"font-size: 14px;\">Nous vous remercions pour votre confiance</span></span></div>\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<br style=\"text-align: center;\" />\r\n<span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_NAME$&nbsp;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_VATID$</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">&bull;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_ADDRESS$&nbsp;</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&bull;&nbsp;</small><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_CITY$</span><small style=\"text-align: center; font-family: tahoma, geneva, sans-serif;\">&nbsp;&bull;&nbsp;</small><span style=\"text-align: center; font-family: tahoma, geneva, sans-serif; font-size: 10px;\">$COMPANY_COUNTRY$</span></div>\r\n</body>\r\n</html>\r\n', 'auto', '$CASHFLOW4YOU_RELATEDTO$ - $CASHFLOW4YOU_CASHFLOW4YOUNAME$', 1, 1, 1, 'public', 3, 7, NULL, NULL, '', 'text', 0, 'La comptabilité', NULL);

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

--
-- Structure de la table `vtiger_pdfmaker_sharing`
--

CREATE TABLE `vtiger_pdfmaker_sharing` (
  `templateid` int(11) NOT NULL,
  `shareid` varchar(10) NOT NULL,
  `setype` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pdfmaker_usersettings`
--

CREATE TABLE `vtiger_pdfmaker_usersettings` (
  `userid` int(11) NOT NULL,
  `is_notified` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_usersettings` (`userid`, `is_notified`) VALUES
(1, 1);

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

--
-- Structure de la table `vtiger_pdfmaker_userstatus`
--

CREATE TABLE `vtiger_pdfmaker_userstatus` (
  `templateid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `is_active` tinyint(1) NOT NULL,
  `is_default` tinyint(1) NOT NULL,
  `sequence` int(6) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_userstatus` (`templateid`, `userid`, `is_active`, `is_default`, `sequence`) VALUES
(5, 1, 1, 0, 1),
(6, 1, 1, 0, 1),
(7, 1, 1, 1, 1),
(8, 1, 1, 0, 1),
(9, 1, 1, 0, 1),
(10, 1, 1, 0, 1),
(11, 1, 1, 1, 1),
(13, 1, 1, 0, 1),
(14, 1, 1, 3, 1),
(15, 1, 1, 2, 1),
(16, 1, 1, 0, 1),
(17, 1, 1, 2, 1);

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

--
-- Structure de la table `vtiger_pdfmaker_version`
--

CREATE TABLE `vtiger_pdfmaker_version` (
  `version` varchar(30) NOT NULL,
  `license` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_pdfmaker_version` (`version`, `license`) VALUES
('7', 'deactivated');

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

--
-- Structure de la table `vtiger_picklist`
--

CREATE TABLE `vtiger_picklist` (
  `picklistid` int(11) NOT NULL,
  `name` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_picklist` (`picklistid`, `name`) VALUES
(1, 'accounttype'),
(2, 'activitytype'),
(37, 'assetstatus'),
(3, 'campaignstatus'),
(4, 'campaigntype'),
(5, 'carrier'),
(58, 'cashflow4you_cash'),
(57, 'cashflow4you_category'),
(55, 'cashflow4you_paymethod'),
(56, 'cashflow4you_paytype'),
(60, 'cashflow4you_status'),
(59, 'cashflow4you_subcategory'),
(33, 'contract_priority'),
(32, 'contract_status'),
(34, 'contract_type'),
(48, 'defaultactivitytype'),
(47, 'defaulteventstatus'),
(6, 'eventstatus'),
(7, 'expectedresponse'),
(8, 'faqcategories'),
(9, 'faqstatus'),
(10, 'glacct'),
(11, 'industry'),
(12, 'invoicestatus'),
(13, 'leadsource'),
(14, 'leadstatus'),
(15, 'manufacturer'),
(16, 'opportunity_type'),
(17, 'postatus'),
(18, 'productcategory'),
(45, 'progress'),
(38, 'projectmilestonetype'),
(44, 'projectpriority'),
(42, 'projectstatus'),
(40, 'projecttaskpriority'),
(41, 'projecttaskprogress'),
(46, 'projecttaskstatus'),
(39, 'projecttasktype'),
(43, 'projecttype'),
(19, 'quotestage'),
(20, 'rating'),
(21, 'sales_stage'),
(22, 'salutationtype'),
(36, 'servicecategory'),
(35, 'service_usageunit'),
(23, 'sostatus'),
(24, 'taskpriority'),
(25, 'taskstatus'),
(26, 'ticketcategories'),
(27, 'ticketpriorities'),
(28, 'ticketseverities'),
(29, 'ticketstatus'),
(31, 'tracking_unit'),
(30, 'usageunit');

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

--
-- Structure de la table `vtiger_picklistvalues_seq`
--

CREATE TABLE `vtiger_picklistvalues_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_picklistvalues_seq` (`id`) VALUES
(367);

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

--
-- Structure de la table `vtiger_picklist_dependency`
--

CREATE TABLE `vtiger_picklist_dependency` (
  `id` int(11) NOT NULL,
  `tabid` int(19) NOT NULL,
  `sourcefield` varchar(255) DEFAULT NULL,
  `targetfield` varchar(255) DEFAULT NULL,
  `sourcevalue` varchar(100) DEFAULT NULL,
  `targetvalues` text DEFAULT NULL,
  `criteria` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_picklist_dependency` (`id`, `tabid`, `sourcefield`, `targetfield`, `sourcevalue`, `targetvalues`, `criteria`) VALUES
(12, 51, 'cashflow4you_cash', 'cashflow4you_paymethod', 'Cashflow', '[\"Cash\",\"Other\"]', NULL),
(13, 51, 'cashflow4you_cash', 'cashflow4you_paymethod', 'Cheque', '[\"Bank Transfer\",\"Credit card\",\"Google Checkout\",\"Paypal\",\"Wire transfer\"]', NULL),
(14, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Income for services', '[\"Extensions\"]', NULL),
(15, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Income for products', '[\"Programming\"]', NULL),
(16, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Office cost', '[\"Telephone\"]', NULL),
(17, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Telephone', '[\"none\"]', NULL),
(18, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Salaries', '[\"none\"]', NULL),
(19, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Wages', '[\"none\"]', NULL),
(20, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Rent', '[\"none\"]', NULL),
(21, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Fuel', '[\"Auto\"]', NULL),
(22, 51, 'cashflow4you_category', 'cashflow4you_subcategory', 'Other', '[]', NULL);

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

--
-- Structure de la table `vtiger_picklist_dependency_seq`
--

CREATE TABLE `vtiger_picklist_dependency_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_picklist_dependency_seq` (`id`) VALUES
(22);

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

--
-- Structure de la table `vtiger_picklist_seq`
--

CREATE TABLE `vtiger_picklist_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_picklist_seq` (`id`) VALUES
(60);

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

--
-- Structure de la table `vtiger_picklist_transitions`
--

CREATE TABLE `vtiger_picklist_transitions` (
  `fieldname` varchar(255) NOT NULL,
  `module` varchar(100) NOT NULL,
  `transition_data` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pobillads`
--

CREATE TABLE `vtiger_pobillads` (
  `pobilladdressid` int(19) NOT NULL DEFAULT 0,
  `bill_city` varchar(30) DEFAULT NULL,
  `bill_code` varchar(30) DEFAULT NULL,
  `bill_country` varchar(30) DEFAULT NULL,
  `bill_state` varchar(30) DEFAULT NULL,
  `bill_street` varchar(250) DEFAULT NULL,
  `bill_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_portal`
--

CREATE TABLE `vtiger_portal` (
  `portalid` int(19) NOT NULL,
  `portalname` varchar(200) NOT NULL,
  `portalurl` varchar(255) NOT NULL,
  `sequence` int(3) NOT NULL,
  `setdefault` int(3) NOT NULL DEFAULT 0,
  `createdtime` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_portalinfo`
--

CREATE TABLE `vtiger_portalinfo` (
  `id` int(11) NOT NULL,
  `user_name` varchar(50) DEFAULT NULL,
  `user_password` varchar(255) DEFAULT NULL,
  `type` varchar(5) DEFAULT NULL,
  `cryptmode` varchar(20) DEFAULT NULL,
  `last_login_time` datetime DEFAULT NULL,
  `login_time` datetime DEFAULT NULL,
  `logout_time` datetime DEFAULT NULL,
  `isactive` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_poshipads`
--

CREATE TABLE `vtiger_poshipads` (
  `poshipaddressid` int(19) NOT NULL DEFAULT 0,
  `ship_city` varchar(30) DEFAULT NULL,
  `ship_code` varchar(30) DEFAULT NULL,
  `ship_country` varchar(30) DEFAULT NULL,
  `ship_state` varchar(30) DEFAULT NULL,
  `ship_street` varchar(250) DEFAULT NULL,
  `ship_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_postatus`
--

CREATE TABLE `vtiger_postatus` (
  `postatusid` int(19) NOT NULL,
  `postatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_postatus` (`postatusid`, `postatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Created', 0, 130, 0, NULL),
(2, 'Approved', 0, 131, 1, NULL),
(3, 'Delivered', 0, 132, 2, NULL),
(4, 'Cancelled', 0, 133, 3, NULL),
(5, 'Received Shipment', 0, 134, 4, NULL),
(6, 'void', 1, 363, 5, '#ffffff'),
(7, 'issue', 1, 365, 1, NULL),
(8, 'reissue', 1, 367, 1, NULL);

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

--
-- Structure de la table `vtiger_postatushistory`
--

CREATE TABLE `vtiger_postatushistory` (
  `historyid` int(19) NOT NULL,
  `purchaseorderid` int(19) NOT NULL,
  `vendorname` varchar(100) DEFAULT NULL,
  `total` decimal(10,0) DEFAULT NULL,
  `postatus` varchar(200) DEFAULT NULL,
  `lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_postatus_seq`
--

CREATE TABLE `vtiger_postatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_postatus_seq` (`id`) VALUES
(8);

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

--
-- Structure de la table `vtiger_potential`
--

CREATE TABLE `vtiger_potential` (
  `potentialid` int(19) NOT NULL DEFAULT 0,
  `potential_no` varchar(100) NOT NULL,
  `related_to` int(19) DEFAULT NULL,
  `potentialname` varchar(120) NOT NULL,
  `amount` decimal(25,8) DEFAULT NULL,
  `currency` varchar(20) DEFAULT NULL,
  `closingdate` date DEFAULT NULL,
  `typeofrevenue` varchar(50) DEFAULT NULL,
  `nextstep` varchar(100) DEFAULT NULL,
  `private` int(1) DEFAULT 0,
  `probability` decimal(7,3) DEFAULT 0.000,
  `campaignid` int(19) DEFAULT NULL,
  `sales_stage` varchar(200) DEFAULT NULL,
  `potentialtype` varchar(200) DEFAULT NULL,
  `leadsource` varchar(200) DEFAULT NULL,
  `productid` int(50) DEFAULT NULL,
  `productversion` varchar(50) DEFAULT NULL,
  `quotationref` varchar(50) DEFAULT NULL,
  `partnercontact` varchar(50) DEFAULT NULL,
  `remarks` varchar(50) DEFAULT NULL,
  `runtimefee` int(19) DEFAULT 0,
  `followupdate` date DEFAULT NULL,
  `evaluationstatus` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `forecastcategory` int(19) DEFAULT 0,
  `outcomeanalysis` int(19) DEFAULT 0,
  `forecast_amount` decimal(25,8) DEFAULT NULL,
  `isconvertedfromlead` varchar(3) DEFAULT '0',
  `contact_id` int(19) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `converted` int(1) NOT NULL DEFAULT 0,
  `p_paid_amount` decimal(25,3) DEFAULT NULL,
  `p_open_amount` decimal(25,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_potentialscf`
--

CREATE TABLE `vtiger_potentialscf` (
  `potentialid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_potstagehistory`
--

CREATE TABLE `vtiger_potstagehistory` (
  `historyid` int(19) NOT NULL,
  `potentialid` int(19) NOT NULL,
  `amount` decimal(10,0) DEFAULT NULL,
  `stage` varchar(100) DEFAULT NULL,
  `probability` decimal(7,3) DEFAULT NULL,
  `expectedrevenue` decimal(10,0) DEFAULT NULL,
  `closedate` date DEFAULT NULL,
  `lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pricebook`
--

CREATE TABLE `vtiger_pricebook` (
  `pricebookid` int(19) NOT NULL DEFAULT 0,
  `pricebook_no` varchar(100) NOT NULL,
  `bookname` varchar(100) DEFAULT NULL,
  `active` int(1) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pricebookcf`
--

CREATE TABLE `vtiger_pricebookcf` (
  `pricebookid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_pricebookproductrel`
--

CREATE TABLE `vtiger_pricebookproductrel` (
  `pricebookid` int(19) NOT NULL,
  `productid` int(19) NOT NULL,
  `listprice` decimal(27,8) DEFAULT NULL,
  `usedcurrency` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_priority`
--

CREATE TABLE `vtiger_priority` (
  `priorityid` int(19) NOT NULL,
  `priority` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_productcategory`
--

CREATE TABLE `vtiger_productcategory` (
  `productcategoryid` int(19) NOT NULL,
  `productcategory` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_productcategory` (`productcategoryid`, `productcategory`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Hardware', 1, 136, 1, NULL),
(3, 'Software', 1, 137, 2, NULL),
(4, 'CRM Applications', 1, 138, 3, NULL);

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

--
-- Structure de la table `vtiger_productcategory_seq`
--

CREATE TABLE `vtiger_productcategory_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_productcategory_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_productcf`
--

CREATE TABLE `vtiger_productcf` (
  `productid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_productcurrencyrel`
--

CREATE TABLE `vtiger_productcurrencyrel` (
  `productid` int(11) NOT NULL,
  `currencyid` int(11) NOT NULL,
  `converted_price` decimal(28,8) DEFAULT NULL,
  `actual_price` decimal(28,8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_productcurrencyrel` (`productid`, `currencyid`, `converted_price`, `actual_price`) VALUES
(2, 1, 0.00000000, 0.00000000);

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

--
-- Structure de la table `vtiger_products`
--

CREATE TABLE `vtiger_products` (
  `productid` int(11) NOT NULL,
  `product_no` varchar(100) NOT NULL,
  `productname` varchar(100) DEFAULT NULL,
  `productcode` varchar(40) DEFAULT NULL,
  `productcategory` varchar(200) DEFAULT NULL,
  `manufacturer` varchar(200) DEFAULT NULL,
  `qty_per_unit` decimal(11,2) DEFAULT 0.00,
  `unit_price` decimal(25,8) DEFAULT NULL,
  `weight` decimal(11,3) DEFAULT NULL,
  `pack_size` int(11) DEFAULT NULL,
  `sales_start_date` date DEFAULT NULL,
  `sales_end_date` date DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `cost_factor` int(11) DEFAULT NULL,
  `commissionrate` decimal(7,3) DEFAULT NULL,
  `commissionmethod` varchar(50) DEFAULT NULL,
  `discontinued` int(1) NOT NULL DEFAULT 0,
  `usageunit` varchar(200) DEFAULT NULL,
  `reorderlevel` int(11) DEFAULT NULL,
  `website` varchar(100) DEFAULT NULL,
  `taxclass` varchar(200) DEFAULT NULL,
  `mfr_part_no` varchar(200) DEFAULT NULL,
  `vendor_part_no` varchar(200) DEFAULT NULL,
  `serialno` varchar(200) DEFAULT NULL,
  `qtyinstock` decimal(25,3) DEFAULT NULL,
  `productsheet` varchar(200) DEFAULT NULL,
  `qtyindemand` int(11) DEFAULT NULL,
  `glacct` varchar(200) DEFAULT NULL,
  `vendor_id` int(11) DEFAULT NULL,
  `imagename` text DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `is_subproducts_viewable` int(1) DEFAULT 1,
  `purchase_cost` decimal(27,8) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_producttaxrel`
--

CREATE TABLE `vtiger_producttaxrel` (
  `productid` int(11) NOT NULL,
  `taxid` int(3) NOT NULL,
  `taxpercentage` decimal(7,3) DEFAULT NULL,
  `regions` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_profile`
--

CREATE TABLE `vtiger_profile` (
  `profileid` int(10) NOT NULL,
  `profilename` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `directly_related_to_role` int(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile` (`profileid`, `profilename`, `description`, `directly_related_to_role`) VALUES
(1, 'Super Administrator', 'Super Admin Profile', 0),
(2, 'Sales Profile', 'Profile Related to Sales', 0),
(4, 'Guest Profile', 'Guest Profile for Test Users', 0),
(5, 'Finances Profile', 'Profile Related to Finances', 0),
(6, 'Administrator', 'Admin Profile', 0);

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

--
-- Structure de la table `vtiger_profile2field`
--

CREATE TABLE `vtiger_profile2field` (
  `profileid` int(11) NOT NULL,
  `tabid` int(10) DEFAULT NULL,
  `fieldid` int(19) NOT NULL,
  `visible` int(19) DEFAULT NULL,
  `readonly` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile2field` (`profileid`, `tabid`, `fieldid`, `visible`, `readonly`) VALUES
(1, 6, 1, 0, 0),
(1, 6, 2, 0, 0),
(1, 6, 3, 0, 0),
(1, 6, 4, 0, 0),
(1, 6, 5, 0, 0),
(1, 6, 6, 0, 0),
(1, 6, 7, 0, 0),
(1, 6, 8, 0, 0),
(1, 6, 9, 0, 0),
(1, 6, 10, 0, 0),
(1, 6, 11, 0, 0),
(1, 6, 12, 0, 0),
(1, 6, 13, 0, 0),
(1, 6, 14, 0, 0),
(1, 6, 15, 0, 0),
(1, 6, 16, 0, 0),
(1, 6, 17, 0, 0),
(1, 6, 18, 0, 0),
(1, 6, 19, 0, 0),
(1, 6, 20, 0, 0),
(1, 6, 21, 0, 1),
(1, 6, 22, 0, 1),
(1, 6, 23, 0, 0),
(1, 6, 24, 0, 0),
(1, 6, 25, 0, 0),
(1, 6, 26, 0, 0),
(1, 6, 27, 0, 0),
(1, 6, 28, 0, 0),
(1, 6, 29, 0, 0),
(1, 6, 30, 0, 0),
(1, 6, 31, 0, 0),
(1, 6, 32, 0, 0),
(1, 6, 33, 0, 0),
(1, 6, 34, 0, 0),
(1, 6, 35, 0, 0),
(1, 6, 36, 0, 0),
(1, 7, 37, 0, 0),
(1, 7, 38, 0, 0),
(1, 7, 39, 0, 0),
(1, 7, 40, 0, 0),
(1, 7, 41, 0, 0),
(1, 7, 42, 0, 0),
(1, 7, 43, 0, 0),
(1, 7, 44, 0, 0),
(1, 7, 45, 0, 0),
(1, 7, 46, 0, 0),
(1, 7, 47, 0, 0),
(1, 7, 48, 0, 0),
(1, 7, 49, 0, 0),
(1, 7, 50, 0, 0),
(1, 7, 51, 0, 0),
(1, 7, 52, 0, 0),
(1, 7, 53, 0, 0),
(1, 7, 54, 0, 0),
(1, 7, 55, 0, 0),
(1, 7, 56, 0, 0),
(1, 7, 57, 0, 0),
(1, 7, 58, 0, 0),
(1, 7, 59, 0, 0),
(1, 7, 60, 0, 0),
(1, 7, 61, 0, 0),
(1, 7, 62, 0, 0),
(1, 7, 63, 0, 0),
(1, 7, 64, 0, 0),
(1, 7, 65, 0, 0),
(1, 4, 66, 0, 0),
(1, 4, 67, 0, 0),
(1, 4, 68, 0, 0),
(1, 4, 69, 0, 0),
(1, 4, 70, 0, 0),
(1, 4, 71, 0, 0),
(1, 4, 72, 0, 0),
(1, 4, 73, 0, 0),
(1, 4, 74, 0, 0),
(1, 4, 75, 0, 0),
(1, 4, 76, 0, 0),
(1, 4, 77, 0, 0),
(1, 4, 78, 0, 0),
(1, 4, 79, 0, 0),
(1, 4, 80, 0, 0),
(1, 4, 81, 0, 0),
(1, 4, 82, 0, 0),
(1, 4, 83, 0, 0),
(1, 4, 84, 0, 0),
(1, 4, 85, 0, 0),
(1, 4, 86, 0, 0),
(1, 4, 87, 0, 0),
(1, 4, 88, 0, 0),
(1, 4, 89, 0, 0),
(1, 4, 90, 0, 1),
(1, 4, 91, 0, 1),
(1, 4, 92, 0, 0),
(1, 4, 93, 0, 0),
(1, 4, 94, 0, 0),
(1, 4, 95, 0, 0),
(1, 4, 96, 0, 0),
(1, 4, 97, 0, 0),
(1, 4, 98, 0, 0),
(1, 4, 99, 0, 0),
(1, 4, 100, 0, 0),
(1, 4, 101, 0, 0),
(1, 4, 102, 0, 0),
(1, 4, 103, 0, 0),
(1, 4, 104, 0, 0),
(1, 4, 105, 0, 0),
(1, 4, 106, 0, 0),
(1, 4, 107, 0, 0),
(1, 4, 108, 0, 0),
(1, 4, 109, 0, 0),
(1, 2, 110, 0, 0),
(1, 2, 111, 0, 0),
(1, 2, 112, 0, 0),
(1, 2, 113, 0, 0),
(1, 2, 114, 0, 0),
(1, 2, 115, 0, 0),
(1, 2, 116, 0, 0),
(1, 2, 117, 0, 0),
(1, 2, 118, 0, 0),
(1, 2, 119, 0, 0),
(1, 2, 120, 0, 0),
(1, 2, 121, 0, 0),
(1, 2, 122, 0, 0),
(1, 2, 123, 0, 0),
(1, 2, 124, 0, 0),
(1, 2, 125, 0, 0),
(1, 26, 126, 0, 0),
(1, 26, 127, 0, 0),
(1, 26, 128, 0, 0),
(1, 26, 129, 0, 0),
(1, 26, 130, 0, 0),
(1, 26, 131, 0, 0),
(1, 26, 132, 0, 0),
(1, 26, 133, 0, 0),
(1, 26, 134, 0, 0),
(1, 26, 135, 0, 0),
(1, 26, 136, 0, 0),
(1, 26, 137, 0, 0),
(1, 26, 138, 0, 0),
(1, 26, 139, 0, 0),
(1, 26, 140, 0, 0),
(1, 26, 141, 0, 0),
(1, 26, 142, 0, 0),
(1, 26, 143, 0, 0),
(1, 26, 144, 0, 0),
(1, 26, 145, 0, 0),
(1, 26, 146, 0, 0),
(1, 26, 147, 0, 0),
(1, 26, 148, 0, 0),
(1, 26, 149, 0, 0),
(1, 26, 150, 0, 0),
(1, 4, 151, 0, 0),
(1, 6, 152, 0, 0),
(1, 7, 153, 0, 0),
(1, 26, 154, 0, 0),
(1, 13, 155, 0, 0),
(1, 13, 156, 0, 0),
(1, 13, 157, 0, 0),
(1, 13, 158, 0, 0),
(1, 13, 159, 0, 0),
(1, 13, 160, 0, 0),
(1, 13, 161, 0, 0),
(1, 13, 162, 0, 0),
(1, 13, 163, 0, 0),
(1, 13, 164, 0, 0),
(1, 13, 165, 0, 0),
(1, 13, 166, 0, 0),
(1, 13, 167, 0, 0),
(1, 13, 168, 0, 0),
(1, 13, 169, 0, 0),
(1, 13, 170, 0, 0),
(1, 13, 171, 0, 0),
(1, 13, 172, 0, 0),
(1, 13, 173, 0, 0),
(1, 14, 174, 0, 0),
(1, 14, 175, 0, 0),
(1, 14, 176, 0, 0),
(1, 14, 177, 0, 0),
(1, 14, 178, 0, 0),
(1, 14, 179, 0, 0),
(1, 14, 180, 0, 0),
(1, 14, 181, 0, 0),
(1, 14, 182, 0, 0),
(1, 14, 183, 0, 0),
(1, 14, 184, 0, 0),
(1, 14, 185, 0, 0),
(1, 14, 186, 0, 0),
(1, 14, 187, 0, 0),
(1, 14, 188, 0, 0),
(1, 14, 189, 0, 0),
(1, 14, 190, 0, 0),
(1, 14, 191, 0, 0),
(1, 14, 192, 0, 0),
(1, 14, 193, 0, 0),
(1, 14, 194, 0, 0),
(1, 14, 195, 0, 0),
(1, 14, 196, 0, 0),
(1, 14, 197, 0, 0),
(1, 14, 198, 0, 0),
(1, 14, 199, 0, 0),
(1, 14, 200, 0, 0),
(1, 14, 201, 0, 0),
(1, 14, 202, 0, 0),
(1, 14, 203, 0, 0),
(1, 14, 204, 0, 0),
(1, 8, 205, 0, 0),
(1, 8, 206, 0, 1),
(1, 8, 207, 0, 1),
(1, 8, 208, 0, 0),
(1, 8, 209, 0, 0),
(1, 8, 210, 0, 0),
(1, 8, 211, 0, 1),
(1, 8, 212, 0, 1),
(1, 8, 213, 0, 0),
(1, 8, 214, 0, 0),
(1, 8, 215, 0, 0),
(1, 8, 216, 0, 1),
(1, 8, 217, 0, 0),
(1, 8, 218, 0, 0),
(1, 8, 219, 0, 0),
(1, 10, 220, 0, 0),
(1, 10, 221, 0, 0),
(1, 10, 222, 0, 0),
(1, 10, 223, 0, 0),
(1, 10, 224, 0, 0),
(1, 10, 225, 0, 0),
(1, 10, 226, 0, 0),
(1, 10, 227, 0, 0),
(1, 10, 228, 0, 0),
(1, 10, 229, 0, 1),
(1, 10, 230, 0, 0),
(1, 10, 231, 0, 0),
(1, 9, 232, 0, 0),
(1, 9, 233, 0, 0),
(1, 9, 234, 0, 0),
(1, 9, 235, 0, 0),
(1, 9, 236, 0, 0),
(1, 9, 237, 0, 0),
(1, 9, 238, 0, 0),
(1, 9, 239, 0, 0),
(1, 9, 240, 0, 0),
(1, 9, 241, 0, 0),
(1, 9, 242, 0, 0),
(1, 9, 243, 0, 0),
(1, 9, 244, 0, 1),
(1, 9, 245, 0, 1),
(1, 9, 246, 0, 0),
(1, 9, 247, 0, 0),
(1, 9, 248, 0, 0),
(1, 9, 249, 0, 0),
(1, 9, 250, 0, 0),
(1, 9, 251, 0, 0),
(1, 9, 252, 0, 0),
(1, 9, 253, 0, 0),
(1, 9, 254, 0, 0),
(1, 9, 255, 0, 0),
(1, 16, 256, 0, 0),
(1, 16, 257, 0, 0),
(1, 16, 258, 0, 0),
(1, 16, 259, 0, 0),
(1, 16, 260, 0, 0),
(1, 16, 261, 0, 0),
(1, 16, 262, 0, 0),
(1, 16, 263, 0, 0),
(1, 16, 264, 0, 0),
(1, 16, 265, 0, 0),
(1, 16, 266, 0, 0),
(1, 16, 267, 0, 0),
(1, 16, 268, 0, 0),
(1, 16, 269, 0, 0),
(1, 16, 270, 0, 1),
(1, 16, 271, 0, 1),
(1, 16, 272, 0, 0),
(1, 16, 273, 0, 0),
(1, 16, 274, 0, 0),
(1, 16, 275, 0, 0),
(1, 16, 276, 0, 0),
(1, 16, 277, 0, 0),
(1, 16, 278, 0, 0),
(1, 15, 279, 0, 0),
(1, 15, 280, 0, 0),
(1, 15, 281, 0, 0),
(1, 15, 282, 0, 0),
(1, 15, 283, 0, 0),
(1, 15, 284, 0, 0),
(1, 15, 285, 0, 0),
(1, 15, 286, 0, 1),
(1, 15, 287, 0, 1),
(1, 15, 288, 0, 0),
(1, 18, 289, 0, 0),
(1, 18, 290, 0, 0),
(1, 18, 291, 0, 0),
(1, 18, 292, 0, 0),
(1, 18, 293, 0, 0),
(1, 18, 294, 0, 0),
(1, 18, 295, 0, 0),
(1, 18, 296, 0, 1),
(1, 18, 297, 0, 1),
(1, 18, 298, 0, 0),
(1, 18, 299, 0, 0),
(1, 18, 300, 0, 0),
(1, 18, 301, 0, 0),
(1, 18, 302, 0, 0),
(1, 18, 303, 0, 0),
(1, 18, 304, 0, 0),
(1, 18, 305, 0, 0),
(1, 19, 306, 0, 0),
(1, 19, 307, 0, 0),
(1, 19, 308, 0, 0),
(1, 19, 309, 0, 0),
(1, 19, 310, 0, 0),
(1, 19, 311, 0, 0),
(1, 19, 312, 0, 0),
(1, 19, 313, 0, 0),
(1, 20, 314, 0, 0),
(1, 20, 315, 0, 0),
(1, 20, 316, 0, 0),
(1, 20, 317, 0, 0),
(1, 20, 318, 0, 0),
(1, 20, 319, 0, 0),
(1, 20, 320, 0, 0),
(1, 20, 321, 0, 0),
(1, 20, 322, 0, 0),
(1, 20, 323, 0, 0),
(1, 20, 324, 0, 0),
(1, 20, 325, 0, 0),
(1, 20, 326, 0, 0),
(1, 20, 327, 0, 0),
(1, 20, 328, 0, 0),
(1, 20, 329, 0, 0),
(1, 20, 330, 0, 0),
(1, 20, 331, 0, 0),
(1, 20, 332, 0, 1),
(1, 20, 333, 0, 1),
(1, 20, 334, 0, 0),
(1, 20, 335, 0, 0),
(1, 20, 336, 0, 0),
(1, 20, 337, 0, 0),
(1, 20, 338, 0, 0),
(1, 20, 339, 0, 0),
(1, 20, 340, 0, 0),
(1, 20, 341, 0, 0),
(1, 20, 342, 0, 0),
(1, 20, 343, 0, 0),
(1, 20, 344, 0, 0),
(1, 20, 345, 0, 0),
(1, 20, 346, 0, 0),
(1, 20, 347, 0, 0),
(1, 20, 348, 0, 0),
(1, 20, 349, 0, 0),
(1, 20, 350, 0, 0),
(1, 21, 351, 0, 0),
(1, 21, 352, 0, 0),
(1, 21, 353, 0, 0),
(1, 21, 354, 0, 0),
(1, 21, 355, 0, 0),
(1, 21, 356, 0, 0),
(1, 21, 357, 0, 0),
(1, 21, 358, 0, 0),
(1, 21, 359, 0, 0),
(1, 21, 360, 0, 0),
(1, 21, 361, 0, 0),
(1, 21, 362, 0, 0),
(1, 21, 363, 0, 0),
(1, 21, 364, 0, 0),
(1, 21, 365, 0, 0),
(1, 21, 366, 0, 0),
(1, 21, 367, 0, 0),
(1, 21, 368, 0, 0),
(1, 21, 369, 0, 0),
(1, 21, 370, 0, 1),
(1, 21, 371, 0, 1),
(1, 21, 372, 0, 0),
(1, 21, 373, 0, 0),
(1, 21, 374, 0, 0),
(1, 21, 375, 0, 0),
(1, 21, 376, 0, 0),
(1, 21, 377, 0, 0),
(1, 21, 378, 0, 0),
(1, 21, 379, 0, 0),
(1, 21, 380, 0, 0),
(1, 21, 381, 0, 0),
(1, 21, 382, 0, 0),
(1, 21, 383, 0, 0),
(1, 21, 384, 0, 0),
(1, 21, 385, 0, 0),
(1, 21, 386, 0, 0),
(1, 21, 387, 0, 0),
(1, 21, 388, 0, 0),
(1, 22, 389, 0, 0),
(1, 22, 390, 0, 0),
(1, 22, 391, 0, 0),
(1, 22, 392, 0, 0),
(1, 22, 393, 0, 0),
(1, 22, 394, 0, 0),
(1, 22, 395, 0, 0),
(1, 22, 396, 0, 0),
(1, 22, 397, 0, 0),
(1, 22, 398, 0, 0),
(1, 22, 399, 0, 0),
(1, 22, 400, 0, 0),
(1, 22, 401, 0, 0),
(1, 22, 402, 0, 0),
(1, 22, 403, 0, 0),
(1, 22, 404, 0, 0),
(1, 22, 405, 0, 0),
(1, 22, 406, 0, 0),
(1, 22, 407, 0, 0),
(1, 22, 408, 0, 0),
(1, 22, 409, 0, 0),
(1, 22, 410, 0, 0),
(1, 22, 411, 0, 1),
(1, 22, 412, 0, 1),
(1, 22, 413, 0, 0),
(1, 22, 414, 0, 0),
(1, 22, 415, 0, 0),
(1, 22, 416, 0, 0),
(1, 22, 417, 0, 0),
(1, 22, 418, 0, 0),
(1, 22, 419, 0, 0),
(1, 22, 420, 0, 0),
(1, 22, 421, 0, 0),
(1, 22, 422, 0, 0),
(1, 22, 423, 0, 0),
(1, 22, 424, 0, 0),
(1, 22, 425, 0, 0),
(1, 22, 426, 0, 0),
(1, 22, 427, 0, 0),
(1, 22, 428, 0, 0),
(1, 22, 429, 0, 0),
(1, 22, 430, 0, 0),
(1, 22, 431, 0, 0),
(1, 22, 432, 0, 0),
(1, 22, 433, 0, 0),
(1, 22, 434, 0, 0),
(1, 22, 435, 0, 0),
(1, 23, 436, 0, 0),
(1, 23, 437, 0, 0),
(1, 23, 438, 0, 0),
(1, 23, 439, 0, 0),
(1, 23, 440, 0, 0),
(1, 23, 441, 0, 0),
(1, 23, 442, 0, 0),
(1, 23, 443, 0, 0),
(1, 23, 444, 0, 0),
(1, 23, 445, 0, 0),
(1, 23, 446, 0, 0),
(1, 23, 447, 0, 0),
(1, 23, 448, 0, 0),
(1, 23, 449, 0, 0),
(1, 23, 450, 0, 0),
(1, 23, 451, 0, 0),
(1, 23, 452, 0, 0),
(1, 23, 453, 0, 0),
(1, 23, 454, 0, 0),
(1, 23, 455, 0, 1),
(1, 23, 456, 0, 1),
(1, 23, 457, 0, 0),
(1, 23, 458, 0, 0),
(1, 23, 459, 0, 0),
(1, 23, 460, 0, 0),
(1, 23, 461, 0, 0),
(1, 23, 462, 0, 0),
(1, 23, 463, 0, 0),
(1, 23, 464, 0, 0),
(1, 23, 465, 0, 0),
(1, 23, 466, 0, 0),
(1, 23, 467, 0, 0),
(1, 23, 468, 0, 0),
(1, 23, 469, 0, 0),
(1, 23, 470, 0, 0),
(1, 23, 471, 0, 0),
(1, 23, 472, 0, 0),
(1, 23, 473, 0, 0),
(1, 23, 474, 0, 0),
(1, 29, 475, 0, 0),
(1, 29, 479, 0, 0),
(1, 29, 480, 0, 0),
(1, 29, 482, 0, 0),
(1, 29, 489, 0, 0),
(1, 29, 490, 0, 0),
(1, 29, 491, 0, 0),
(1, 29, 492, 0, 0),
(1, 29, 493, 0, 0),
(1, 29, 495, 0, 0),
(1, 29, 496, 0, 0),
(1, 29, 497, 0, 0),
(1, 29, 498, 0, 0),
(1, 29, 499, 0, 0),
(1, 29, 504, 0, 0),
(1, 29, 505, 0, 0),
(1, 29, 506, 0, 0),
(1, 29, 507, 0, 0),
(1, 29, 515, 0, 0),
(1, 10, 520, 0, 0),
(1, 10, 521, 0, 0),
(1, 10, 522, 0, 0),
(1, 10, 523, 0, 0),
(1, 10, 524, 0, 0),
(1, 10, 525, 0, 0),
(1, 34, 526, 0, 0),
(1, 34, 527, 0, 0),
(1, 34, 528, 0, 0),
(1, 34, 529, 0, 0),
(1, 34, 530, 0, 0),
(1, 34, 531, 0, 0),
(1, 34, 532, 0, 0),
(1, 34, 533, 0, 0),
(1, 34, 534, 0, 0),
(1, 34, 535, 0, 0),
(1, 34, 536, 0, 0),
(1, 34, 537, 0, 0),
(1, 34, 538, 0, 0),
(1, 34, 539, 0, 0),
(1, 34, 540, 0, 0),
(1, 34, 541, 0, 0),
(1, 34, 542, 0, 0),
(1, 29, 543, 0, 0),
(1, 35, 544, 0, 0),
(1, 35, 545, 0, 0),
(1, 35, 546, 0, 0),
(1, 35, 547, 0, 0),
(1, 35, 548, 0, 0),
(1, 35, 549, 0, 0),
(1, 35, 550, 0, 0),
(1, 35, 551, 0, 0),
(1, 35, 552, 0, 0),
(1, 35, 553, 0, 0),
(1, 35, 554, 0, 0),
(1, 35, 555, 0, 0),
(1, 35, 556, 0, 0),
(1, 35, 557, 0, 0),
(1, 35, 558, 0, 0),
(1, 35, 559, 0, 0),
(1, 35, 560, 0, 0),
(1, 35, 561, 0, 0),
(1, 35, 562, 0, 0),
(1, 35, 563, 0, 0),
(1, 35, 564, 0, 0),
(1, 35, 565, 0, 0),
(1, 36, 566, 0, 0),
(1, 36, 567, 0, 0),
(1, 36, 568, 0, 0),
(1, 36, 569, 0, 0),
(1, 36, 570, 0, 0),
(1, 36, 571, 0, 0),
(1, 36, 572, 0, 0),
(1, 36, 573, 0, 0),
(1, 36, 574, 0, 1),
(1, 36, 575, 0, 1),
(1, 36, 576, 0, 0),
(1, 36, 577, 0, 0),
(1, 36, 578, 0, 0),
(1, 36, 579, 0, 0),
(1, 36, 580, 0, 0),
(1, 36, 581, 0, 0),
(1, 36, 582, 0, 0),
(1, 36, 583, 0, 0),
(1, 36, 584, 0, 0),
(1, 36, 585, 0, 1),
(1, 36, 586, 0, 0),
(1, 36, 587, 0, 0),
(1, 38, 588, 0, 0),
(1, 38, 589, 0, 0),
(1, 38, 590, 0, 0),
(1, 38, 591, 0, 0),
(1, 38, 592, 0, 0),
(1, 38, 593, 0, 0),
(1, 38, 594, 0, 0),
(1, 38, 595, 0, 0),
(1, 38, 596, 0, 0),
(1, 38, 597, 0, 0),
(1, 38, 598, 0, 0),
(1, 38, 599, 0, 0),
(1, 38, 600, 0, 0),
(1, 38, 601, 0, 0),
(1, 38, 602, 0, 0),
(1, 38, 603, 0, 0),
(1, 38, 604, 0, 0),
(1, 38, 605, 0, 0),
(1, 38, 606, 0, 0),
(1, 38, 607, 0, 0),
(1, 38, 608, 0, 0),
(1, 42, 609, 0, 0),
(1, 42, 610, 0, 0),
(1, 42, 611, 0, 1),
(1, 42, 612, 0, 1),
(1, 42, 613, 0, 0),
(1, 42, 614, 0, 1),
(1, 42, 615, 0, 0),
(1, 42, 616, 0, 1),
(1, 43, 617, 0, 0),
(1, 43, 618, 0, 0),
(1, 43, 619, 0, 0),
(1, 43, 620, 0, 0),
(1, 43, 621, 0, 0),
(1, 43, 622, 0, 0),
(1, 43, 623, 0, 0),
(1, 43, 624, 0, 0),
(1, 43, 625, 0, 0),
(1, 43, 626, 0, 0),
(1, 43, 627, 0, 0),
(1, 43, 628, 0, 0),
(1, 43, 629, 0, 0),
(1, 44, 630, 0, 0),
(1, 44, 631, 0, 0),
(1, 44, 632, 0, 0),
(1, 44, 633, 0, 0),
(1, 44, 634, 0, 0),
(1, 44, 635, 0, 0),
(1, 44, 636, 0, 0),
(1, 44, 637, 0, 0),
(1, 44, 638, 0, 0),
(1, 44, 639, 0, 0),
(1, 44, 640, 0, 0),
(1, 44, 641, 0, 0),
(1, 44, 642, 0, 0),
(1, 44, 643, 0, 0),
(1, 44, 644, 0, 0),
(1, 44, 645, 0, 0),
(1, 44, 646, 0, 0),
(1, 44, 647, 0, 0),
(1, 45, 648, 0, 0),
(1, 45, 649, 0, 0),
(1, 45, 650, 0, 0),
(1, 45, 651, 0, 0),
(1, 45, 652, 0, 0),
(1, 45, 653, 0, 0),
(1, 45, 654, 0, 0),
(1, 45, 655, 0, 0),
(1, 45, 656, 0, 0),
(1, 45, 657, 0, 0),
(1, 45, 658, 0, 0),
(1, 45, 659, 0, 0),
(1, 45, 660, 0, 0),
(1, 45, 661, 0, 0),
(1, 45, 662, 0, 0),
(1, 45, 663, 0, 0),
(1, 45, 664, 0, 0),
(1, 45, 665, 0, 0),
(1, 45, 666, 0, 0),
(1, 45, 667, 0, 0),
(1, 47, 668, 0, 0),
(1, 47, 669, 0, 0),
(1, 47, 670, 0, 0),
(1, 47, 671, 0, 0),
(1, 47, 672, 0, 0),
(1, 47, 673, 0, 0),
(1, 2, 674, 0, 0),
(1, 29, 675, 0, 0),
(1, 23, 676, 0, 0),
(1, 23, 677, 0, 0),
(1, 23, 678, 0, 0),
(1, 23, 679, 0, 0),
(1, 23, 680, 0, 0),
(1, 23, 681, 0, 0),
(1, 23, 682, 0, 0),
(1, 23, 683, 0, 0),
(1, 23, 684, 0, 0),
(1, 22, 685, 0, 0),
(1, 22, 686, 0, 0),
(1, 22, 687, 0, 0),
(1, 22, 688, 0, 0),
(1, 22, 689, 0, 0),
(1, 22, 690, 0, 0),
(1, 22, 691, 0, 0),
(1, 22, 692, 0, 0),
(1, 22, 693, 0, 0),
(1, 21, 694, 0, 0),
(1, 21, 695, 0, 0),
(1, 21, 696, 0, 0),
(1, 21, 697, 0, 0),
(1, 21, 698, 0, 0),
(1, 21, 699, 0, 0),
(1, 21, 700, 0, 0),
(1, 21, 701, 0, 0),
(1, 21, 702, 0, 0),
(1, 20, 703, 0, 0),
(1, 20, 704, 0, 0),
(1, 20, 705, 0, 0),
(1, 20, 706, 0, 0),
(1, 20, 707, 0, 0),
(1, 20, 708, 0, 0),
(1, 20, 709, 0, 0),
(1, 20, 710, 0, 0),
(1, 20, 711, 0, 0),
(1, 29, 712, 0, 0),
(1, 44, 713, 0, 0),
(1, 42, 714, 0, 0),
(1, 29, 715, 0, 0),
(1, 29, 716, 0, 0),
(1, 29, 717, 0, 0),
(1, 23, 718, 0, 0),
(1, 22, 719, 0, 0),
(1, 21, 720, 0, 0),
(1, 20, 721, 0, 0),
(1, 29, 722, 0, 0),
(1, 6, 723, 0, 1),
(1, 4, 724, 0, 1),
(1, 2, 725, 0, 0),
(1, 29, 726, 0, 0),
(1, 23, 727, 0, 0),
(1, 23, 728, 0, 0),
(1, 21, 729, 0, 0),
(1, 21, 730, 0, 0),
(1, 18, 731, 0, 0),
(1, 7, 732, 0, 0),
(1, 42, 733, 0, 0),
(1, 42, 734, 0, 0),
(1, 23, 735, 0, 0),
(1, 20, 736, 0, 0),
(1, 21, 737, 0, 0),
(1, 22, 738, 0, 0),
(1, 29, 739, 0, 0),
(1, 2, 740, 0, 0),
(1, 13, 741, 0, 0),
(1, 29, 742, 0, 0),
(1, 29, 743, 0, 0),
(1, 29, 744, 0, 0),
(1, 29, 745, 0, 0),
(1, 14, 772, 0, 0),
(1, 36, 773, 0, 0),
(1, 23, 774, 0, 0),
(1, 29, 775, 0, 0),
(1, 23, 776, 0, 0),
(1, 23, 777, 0, 0),
(1, 23, 778, 0, 0),
(1, 20, 779, 0, 0),
(1, 20, 780, 0, 0),
(1, 20, 781, 0, 0),
(1, 21, 782, 0, 0),
(1, 22, 783, 0, 0),
(1, 22, 784, 0, 0),
(1, 22, 785, 0, 0),
(1, 42, 786, 0, 0),
(1, 42, 787, 0, 0),
(1, 42, 788, 0, 0),
(1, 2, 789, 0, 0),
(1, 4, 790, 0, 1),
(1, 6, 791, 0, 1),
(1, 7, 792, 0, 0),
(1, 8, 793, 0, 1),
(1, 9, 794, 0, 1),
(1, 10, 795, 0, 1),
(1, 13, 796, 0, 0),
(1, 14, 797, 0, 0),
(1, 15, 798, 0, 1),
(1, 16, 799, 0, 1),
(1, 18, 800, 0, 1),
(1, 19, 801, 0, 0),
(1, 20, 802, 0, 1),
(1, 21, 803, 0, 1),
(1, 22, 804, 0, 1),
(1, 23, 805, 0, 1),
(1, 26, 806, 0, 0),
(1, 10, 807, 0, 0),
(1, 2, 808, 0, 0),
(1, 4, 809, 0, 0),
(1, 6, 810, 0, 0),
(1, 7, 811, 0, 0),
(1, 8, 812, 0, 0),
(1, 9, 813, 0, 0),
(1, 10, 814, 0, 0),
(1, 13, 815, 0, 0),
(1, 14, 816, 0, 0),
(1, 15, 817, 0, 0),
(1, 16, 818, 0, 1),
(1, 18, 819, 0, 0),
(1, 19, 820, 0, 0),
(1, 20, 821, 0, 0),
(1, 21, 822, 0, 0),
(1, 22, 823, 0, 0),
(1, 23, 824, 0, 0),
(1, 26, 825, 0, 0),
(1, 34, 826, 0, 0),
(1, 2, 827, 0, 0),
(1, 4, 828, 0, 0),
(1, 6, 829, 0, 0),
(1, 7, 830, 0, 0),
(1, 8, 831, 0, 0),
(1, 9, 832, 0, 0),
(1, 10, 833, 0, 0),
(1, 13, 834, 0, 0),
(1, 14, 835, 0, 0),
(1, 15, 836, 0, 0),
(1, 16, 837, 0, 1),
(1, 18, 838, 0, 0),
(1, 19, 839, 0, 0),
(1, 20, 840, 0, 0),
(1, 21, 841, 0, 0),
(1, 22, 842, 0, 0),
(1, 23, 843, 0, 0),
(1, 26, 844, 0, 0),
(1, 34, 845, 0, 0),
(1, 20, 846, 0, 0),
(1, 21, 847, 0, 0),
(1, 22, 848, 0, 0),
(1, 23, 849, 0, 0),
(1, 45, 850, 0, 0),
(1, 45, 851, 0, 0),
(1, 51, 852, 0, 0),
(1, 51, 853, 0, 0),
(1, 51, 854, 0, 0),
(1, 51, 855, 0, 0),
(1, 51, 856, 0, 0),
(1, 51, 857, 0, 0),
(1, 51, 858, 0, 0),
(1, 51, 859, 0, 0),
(1, 51, 860, 0, 0),
(1, 51, 861, 0, 0),
(1, 51, 862, 0, 0),
(1, 51, 863, 0, 0),
(1, 51, 864, 0, 0),
(1, 51, 865, 0, 0),
(1, 51, 866, 0, 0),
(1, 51, 867, 0, 0),
(1, 51, 868, 0, 0),
(1, 51, 869, 0, 0),
(1, 51, 870, 0, 0),
(1, 51, 871, 0, 0),
(1, 51, 872, 0, 0),
(1, 51, 873, 0, 0),
(1, 51, 874, 0, 0),
(1, 51, 875, 0, 0),
(1, 51, 876, 0, 0),
(1, 51, 877, 0, 0),
(1, 51, 878, 0, 0),
(1, 51, 879, 0, 0),
(1, 51, 880, 0, 0),
(1, 6, 882, 0, 0),
(1, 23, 884, 0, 0),
(1, 21, 886, 0, 0),
(1, 21, 888, 0, 0),
(1, 21, 890, 0, 0),
(1, 21, 892, 0, 0),
(1, 21, 894, 0, 0),
(1, 21, 896, 0, 0),
(1, 21, 898, 0, 0),
(1, 21, 900, 0, 0),
(1, 21, 906, 0, 0),
(1, 21, 908, 0, 0),
(1, 21, 910, 0, 0),
(1, 21, 912, 0, 0),
(1, 21, 914, 0, 0),
(1, 21, 916, 0, 0),
(1, 21, 918, 0, 0),
(1, 21, 920, 0, 0),
(1, 21, 922, 0, 0),
(1, 21, 924, 0, 0),
(1, 21, 926, 0, 0),
(1, 21, 930, 0, 0),
(1, 21, 934, 0, 0),
(1, 21, 938, 0, 0),
(1, 21, 944, 0, 0),
(1, 21, 946, 0, 0),
(1, 21, 950, 0, 0),
(1, 21, 952, 0, 0),
(1, 21, 954, 0, 0),
(1, 21, 956, 0, 0),
(1, 21, 958, 0, 0),
(1, 21, 960, 0, 0),
(1, 21, 962, 0, 0),
(1, 21, 964, 0, 0),
(1, 23, 967, 0, 1),
(1, 23, 968, 0, 1),
(1, 22, 969, 0, 1),
(1, 22, 970, 0, 1),
(1, 21, 971, 0, 1),
(1, 21, 972, 0, 1),
(1, 2, 973, 0, 0),
(1, 2, 974, 0, 0),
(1, 51, 977, 0, 0),
(1, 51, 978, 0, 0),
(1, 51, 979, 0, 0),
(1, 51, 980, 0, 0),
(1, 51, 981, 0, 0),
(1, 51, 982, 0, 0),
(1, 51, 983, 0, 0),
(1, 51, 984, 0, 0),
(1, 51, 985, 0, 0),
(1, 51, 986, 0, 0),
(1, 51, 987, 0, 0),
(1, 51, 988, 0, 0),
(1, 51, 989, 0, 1),
(1, 51, 990, 0, 1),
(1, 51, 991, 0, 0),
(1, 51, 992, 0, 0),
(1, 51, 993, 0, 1),
(1, 51, 994, 0, 0),
(1, 51, 995, 0, 1),
(1, 51, 996, 0, 0),
(1, 51, 997, 0, 1),
(1, 51, 998, 0, 0),
(1, 51, 999, 0, 0),
(1, 51, 1000, 0, 0),
(1, 51, 1001, 0, 1),
(1, 51, 1002, 0, 0),
(1, 51, 1003, 0, 1),
(1, 51, 1004, 0, 0),
(1, 51, 1005, 0, 0),
(1, 23, 1007, 0, 0),
(1, 23, 1009, 0, 0),
(1, 23, 1011, 0, 0),
(1, 52, 1012, 0, 0),
(1, 52, 1013, 0, 0),
(1, 52, 1014, 0, 0),
(1, 52, 1015, 0, 0),
(1, 52, 1016, 0, 0),
(1, 52, 1017, 0, 0),
(1, 52, 1018, 0, 0),
(1, 52, 1019, 0, 0),
(1, 52, 1020, 0, 0),
(1, 21, 1022, 0, 0),
(1, 21, 1024, 0, 0),
(1, 21, 1026, 0, 0),
(1, 21, 1028, 0, 0),
(1, 21, 1030, 0, 0),
(1, 21, 1032, 0, 0),
(1, 21, 1034, 0, 0),
(1, 21, 1036, 0, 0),
(1, 21, 1040, 0, 0),
(1, 21, 1042, 0, 0),
(1, 21, 1044, 0, 0),
(2, 6, 1, 0, 0),
(2, 6, 2, 0, 0),
(2, 6, 3, 0, 0),
(2, 6, 4, 0, 0),
(2, 6, 5, 0, 0),
(2, 6, 6, 0, 0),
(2, 6, 7, 0, 0),
(2, 6, 8, 0, 0),
(2, 6, 9, 0, 0),
(2, 6, 10, 0, 0),
(2, 6, 11, 0, 0),
(2, 6, 12, 0, 0),
(2, 6, 13, 0, 0),
(2, 6, 14, 0, 0),
(2, 6, 15, 0, 0),
(2, 6, 16, 0, 0),
(2, 6, 17, 0, 0),
(2, 6, 18, 0, 0),
(2, 6, 19, 0, 0),
(2, 6, 20, 0, 0),
(2, 6, 21, 0, 1),
(2, 6, 22, 0, 1),
(2, 6, 23, 0, 0),
(2, 6, 24, 0, 0),
(2, 6, 25, 0, 0),
(2, 6, 26, 0, 0),
(2, 6, 27, 0, 0),
(2, 6, 28, 0, 0),
(2, 6, 29, 0, 0),
(2, 6, 30, 0, 0),
(2, 6, 31, 0, 0),
(2, 6, 32, 0, 0),
(2, 6, 33, 0, 0),
(2, 6, 34, 0, 0),
(2, 6, 35, 0, 0),
(2, 6, 36, 0, 0),
(2, 7, 37, 0, 0),
(2, 7, 38, 0, 0),
(2, 7, 39, 0, 0),
(2, 7, 40, 0, 0),
(2, 7, 41, 0, 0),
(2, 7, 42, 0, 0),
(2, 7, 43, 0, 0),
(2, 7, 44, 0, 0),
(2, 7, 45, 0, 0),
(2, 7, 46, 0, 0),
(2, 7, 47, 0, 0),
(2, 7, 48, 0, 0),
(2, 7, 49, 0, 0),
(2, 7, 50, 0, 0),
(2, 7, 51, 0, 0),
(2, 7, 52, 0, 0),
(2, 7, 53, 0, 0),
(2, 7, 54, 0, 0),
(2, 7, 55, 0, 0),
(2, 7, 56, 0, 0),
(2, 7, 57, 0, 0),
(2, 7, 58, 0, 0),
(2, 7, 59, 0, 0),
(2, 7, 60, 0, 0),
(2, 7, 61, 0, 0),
(2, 7, 62, 0, 0),
(2, 7, 63, 0, 0),
(2, 7, 64, 0, 0),
(2, 7, 65, 0, 0),
(2, 4, 66, 0, 0),
(2, 4, 67, 0, 0),
(2, 4, 68, 0, 0),
(2, 4, 69, 0, 0),
(2, 4, 70, 0, 0),
(2, 4, 71, 0, 0),
(2, 4, 72, 0, 0),
(2, 4, 73, 0, 0),
(2, 4, 74, 0, 0),
(2, 4, 75, 0, 0),
(2, 4, 76, 0, 0),
(2, 4, 77, 0, 0),
(2, 4, 78, 0, 0),
(2, 4, 79, 0, 0),
(2, 4, 80, 0, 0),
(2, 4, 81, 0, 0),
(2, 4, 82, 0, 0),
(2, 4, 83, 0, 0),
(2, 4, 84, 0, 0),
(2, 4, 85, 0, 0),
(2, 4, 86, 0, 0),
(2, 4, 87, 0, 0),
(2, 4, 88, 0, 0),
(2, 4, 89, 0, 0),
(2, 4, 90, 0, 1),
(2, 4, 91, 0, 1),
(2, 4, 92, 0, 0),
(2, 4, 93, 0, 0),
(2, 4, 94, 0, 0),
(2, 4, 95, 0, 0),
(2, 4, 96, 0, 0),
(2, 4, 97, 0, 0),
(2, 4, 98, 0, 0),
(2, 4, 99, 0, 0),
(2, 4, 100, 0, 0),
(2, 4, 101, 0, 0),
(2, 4, 102, 0, 0),
(2, 4, 103, 0, 0),
(2, 4, 104, 0, 0),
(2, 4, 105, 0, 0),
(2, 4, 106, 0, 0),
(2, 4, 107, 0, 0),
(2, 4, 108, 0, 0),
(2, 4, 109, 0, 0),
(2, 2, 110, 0, 0),
(2, 2, 111, 0, 0),
(2, 2, 112, 0, 0),
(2, 2, 113, 0, 0),
(2, 2, 114, 0, 0),
(2, 2, 115, 0, 0),
(2, 2, 116, 0, 0),
(2, 2, 117, 0, 0),
(2, 2, 118, 0, 0),
(2, 2, 119, 0, 0),
(2, 2, 120, 0, 0),
(2, 2, 121, 0, 0),
(2, 2, 122, 0, 0),
(2, 2, 123, 0, 0),
(2, 2, 124, 0, 0),
(2, 2, 125, 0, 0),
(2, 26, 126, 0, 0),
(2, 26, 127, 0, 0),
(2, 26, 128, 0, 0),
(2, 26, 129, 0, 0),
(2, 26, 130, 0, 0),
(2, 26, 131, 0, 0),
(2, 26, 132, 0, 0),
(2, 26, 133, 0, 0),
(2, 26, 134, 0, 0),
(2, 26, 135, 0, 0),
(2, 26, 136, 0, 0),
(2, 26, 137, 0, 0),
(2, 26, 138, 0, 0),
(2, 26, 139, 0, 0),
(2, 26, 140, 0, 0),
(2, 26, 141, 0, 0),
(2, 26, 142, 0, 0),
(2, 26, 143, 0, 0),
(2, 26, 144, 0, 0),
(2, 26, 145, 0, 0),
(2, 26, 146, 0, 0),
(2, 26, 147, 0, 0),
(2, 26, 148, 0, 0),
(2, 26, 149, 0, 0),
(2, 26, 150, 0, 0),
(2, 4, 151, 0, 0),
(2, 6, 152, 0, 0),
(2, 7, 153, 0, 0),
(2, 26, 154, 0, 0),
(2, 13, 155, 0, 0),
(2, 13, 156, 0, 0),
(2, 13, 157, 0, 0),
(2, 13, 158, 0, 0),
(2, 13, 159, 0, 0),
(2, 13, 160, 0, 0),
(2, 13, 161, 0, 0),
(2, 13, 162, 0, 0),
(2, 13, 163, 0, 0),
(2, 13, 164, 0, 0),
(2, 13, 165, 0, 0),
(2, 13, 166, 0, 0),
(2, 13, 167, 0, 0),
(2, 13, 168, 0, 0),
(2, 13, 169, 0, 0),
(2, 13, 170, 0, 0),
(2, 13, 171, 0, 0),
(2, 13, 172, 0, 0),
(2, 13, 173, 0, 0),
(2, 14, 174, 0, 0),
(2, 14, 175, 0, 0),
(2, 14, 176, 0, 0),
(2, 14, 177, 0, 0),
(2, 14, 178, 0, 0),
(2, 14, 179, 0, 0),
(2, 14, 180, 0, 0),
(2, 14, 181, 0, 0),
(2, 14, 182, 0, 0),
(2, 14, 183, 0, 0),
(2, 14, 184, 0, 0),
(2, 14, 185, 0, 0),
(2, 14, 186, 0, 0),
(2, 14, 187, 0, 0),
(2, 14, 188, 0, 0),
(2, 14, 189, 0, 0),
(2, 14, 190, 0, 0),
(2, 14, 191, 0, 0),
(2, 14, 192, 0, 0),
(2, 14, 193, 0, 0),
(2, 14, 194, 0, 0),
(2, 14, 195, 0, 0),
(2, 14, 196, 0, 0),
(2, 14, 197, 0, 0),
(2, 14, 198, 0, 0),
(2, 14, 199, 0, 0),
(2, 14, 200, 0, 0),
(2, 14, 201, 0, 0),
(2, 14, 202, 0, 0),
(2, 14, 203, 0, 0),
(2, 14, 204, 0, 0),
(2, 8, 205, 0, 0),
(2, 8, 206, 0, 1),
(2, 8, 207, 0, 1),
(2, 8, 208, 0, 0),
(2, 8, 209, 0, 0),
(2, 8, 210, 0, 0),
(2, 8, 211, 0, 1),
(2, 8, 212, 0, 1),
(2, 8, 213, 0, 0),
(2, 8, 214, 0, 0),
(2, 8, 215, 0, 0),
(2, 8, 216, 0, 1),
(2, 8, 217, 0, 0),
(2, 8, 218, 0, 0),
(2, 8, 219, 0, 0),
(2, 10, 220, 0, 0),
(2, 10, 221, 0, 0),
(2, 10, 222, 0, 0),
(2, 10, 223, 0, 0),
(2, 10, 224, 0, 0),
(2, 10, 225, 0, 0),
(2, 10, 226, 0, 0),
(2, 10, 227, 0, 0),
(2, 10, 228, 0, 0),
(2, 10, 229, 0, 1),
(2, 10, 230, 0, 0),
(2, 10, 231, 0, 0),
(2, 9, 232, 0, 0),
(2, 9, 233, 0, 0),
(2, 9, 234, 0, 0),
(2, 9, 235, 0, 0),
(2, 9, 236, 0, 0),
(2, 9, 237, 0, 0),
(2, 9, 238, 0, 0),
(2, 9, 239, 0, 0),
(2, 9, 240, 0, 0),
(2, 9, 241, 0, 0),
(2, 9, 242, 0, 0),
(2, 9, 243, 0, 0),
(2, 9, 244, 0, 1),
(2, 9, 245, 0, 1),
(2, 9, 246, 0, 0),
(2, 9, 247, 0, 0),
(2, 9, 248, 0, 0),
(2, 9, 249, 0, 0),
(2, 9, 250, 0, 0),
(2, 9, 251, 0, 0),
(2, 9, 252, 0, 0),
(2, 9, 253, 0, 0),
(2, 9, 254, 0, 0),
(2, 9, 255, 0, 0),
(2, 16, 256, 0, 0),
(2, 16, 257, 0, 0),
(2, 16, 258, 0, 0),
(2, 16, 259, 0, 0),
(2, 16, 260, 0, 0),
(2, 16, 261, 0, 0),
(2, 16, 262, 0, 0),
(2, 16, 263, 0, 0),
(2, 16, 264, 0, 0),
(2, 16, 265, 0, 0),
(2, 16, 266, 0, 0),
(2, 16, 267, 0, 0),
(2, 16, 268, 0, 0),
(2, 16, 269, 0, 0),
(2, 16, 270, 0, 1),
(2, 16, 271, 0, 1),
(2, 16, 272, 0, 0),
(2, 16, 273, 0, 0),
(2, 16, 274, 0, 0),
(2, 16, 275, 0, 0),
(2, 16, 276, 0, 0),
(2, 16, 277, 0, 0),
(2, 16, 278, 0, 0),
(2, 15, 279, 0, 0),
(2, 15, 280, 0, 0),
(2, 15, 281, 0, 0),
(2, 15, 282, 0, 0),
(2, 15, 283, 0, 0),
(2, 15, 284, 0, 0),
(2, 15, 285, 0, 0),
(2, 15, 286, 0, 1),
(2, 15, 287, 0, 1),
(2, 15, 288, 0, 0),
(2, 18, 289, 0, 0),
(2, 18, 290, 0, 0),
(2, 18, 291, 0, 0),
(2, 18, 292, 0, 0),
(2, 18, 293, 0, 0),
(2, 18, 294, 0, 0),
(2, 18, 295, 0, 0),
(2, 18, 296, 0, 1),
(2, 18, 297, 0, 1),
(2, 18, 298, 0, 0),
(2, 18, 299, 0, 0),
(2, 18, 300, 0, 0),
(2, 18, 301, 0, 0),
(2, 18, 302, 0, 0),
(2, 18, 303, 0, 0),
(2, 18, 304, 0, 0),
(2, 18, 305, 0, 0),
(2, 19, 306, 0, 0),
(2, 19, 307, 0, 0),
(2, 19, 308, 0, 0),
(2, 19, 309, 0, 0),
(2, 19, 310, 0, 0),
(2, 19, 311, 0, 0),
(2, 19, 312, 0, 0),
(2, 19, 313, 0, 0),
(2, 20, 314, 0, 0),
(2, 20, 315, 0, 0),
(2, 20, 316, 0, 0),
(2, 20, 317, 0, 0),
(2, 20, 318, 0, 0),
(2, 20, 319, 0, 0),
(2, 20, 320, 0, 0),
(2, 20, 321, 0, 0),
(2, 20, 322, 0, 0),
(2, 20, 323, 0, 0),
(2, 20, 324, 0, 0),
(2, 20, 325, 0, 0),
(2, 20, 326, 0, 0),
(2, 20, 327, 0, 0),
(2, 20, 328, 0, 0),
(2, 20, 329, 0, 0),
(2, 20, 330, 0, 0),
(2, 20, 331, 0, 0),
(2, 20, 332, 0, 1),
(2, 20, 333, 0, 1),
(2, 20, 334, 0, 0),
(2, 20, 335, 0, 0),
(2, 20, 336, 0, 0),
(2, 20, 337, 0, 0),
(2, 20, 338, 0, 0),
(2, 20, 339, 0, 0),
(2, 20, 340, 0, 0),
(2, 20, 341, 0, 0),
(2, 20, 342, 0, 0),
(2, 20, 343, 0, 0),
(2, 20, 344, 0, 0),
(2, 20, 345, 0, 0),
(2, 20, 346, 0, 0),
(2, 20, 347, 0, 0),
(2, 20, 348, 0, 0),
(2, 20, 349, 0, 0),
(2, 20, 350, 0, 0),
(2, 21, 351, 0, 0),
(2, 21, 352, 0, 0),
(2, 21, 353, 0, 0),
(2, 21, 354, 0, 0),
(2, 21, 355, 0, 0),
(2, 21, 356, 0, 0),
(2, 21, 357, 0, 0),
(2, 21, 358, 0, 0),
(2, 21, 359, 0, 0),
(2, 21, 360, 0, 0),
(2, 21, 361, 0, 0),
(2, 21, 362, 0, 0),
(2, 21, 363, 0, 0),
(2, 21, 364, 0, 0),
(2, 21, 365, 0, 0),
(2, 21, 366, 0, 0),
(2, 21, 367, 0, 0),
(2, 21, 368, 0, 0),
(2, 21, 369, 0, 0),
(2, 21, 370, 0, 1),
(2, 21, 371, 0, 1),
(2, 21, 372, 0, 0),
(2, 21, 373, 0, 0),
(2, 21, 374, 0, 0),
(2, 21, 375, 0, 0),
(2, 21, 376, 0, 0),
(2, 21, 377, 0, 0),
(2, 21, 378, 0, 0),
(2, 21, 379, 0, 0),
(2, 21, 380, 0, 0),
(2, 21, 381, 0, 0),
(2, 21, 382, 0, 0),
(2, 21, 383, 0, 0),
(2, 21, 384, 0, 0),
(2, 21, 385, 0, 0),
(2, 21, 386, 0, 0),
(2, 21, 387, 0, 0),
(2, 21, 388, 0, 0),
(2, 22, 389, 0, 0),
(2, 22, 390, 0, 0),
(2, 22, 391, 0, 0),
(2, 22, 392, 0, 0),
(2, 22, 393, 0, 0),
(2, 22, 394, 0, 0),
(2, 22, 395, 0, 0),
(2, 22, 396, 0, 0),
(2, 22, 397, 0, 0),
(2, 22, 398, 0, 0),
(2, 22, 399, 0, 0),
(2, 22, 400, 0, 0),
(2, 22, 401, 0, 0),
(2, 22, 402, 0, 0),
(2, 22, 403, 0, 0),
(2, 22, 404, 0, 0),
(2, 22, 405, 0, 0),
(2, 22, 406, 0, 0),
(2, 22, 407, 0, 0),
(2, 22, 408, 0, 0),
(2, 22, 409, 0, 0),
(2, 22, 410, 0, 0),
(2, 22, 411, 0, 1),
(2, 22, 412, 0, 1),
(2, 22, 413, 0, 0),
(2, 22, 414, 0, 0),
(2, 22, 415, 0, 0),
(2, 22, 416, 0, 0),
(2, 22, 417, 0, 0),
(2, 22, 418, 0, 0),
(2, 22, 419, 0, 0),
(2, 22, 420, 0, 0),
(2, 22, 421, 0, 0),
(2, 22, 422, 0, 0),
(2, 22, 423, 0, 0),
(2, 22, 424, 0, 0),
(2, 22, 425, 0, 0),
(2, 22, 426, 0, 0),
(2, 22, 427, 0, 0),
(2, 22, 428, 0, 0),
(2, 22, 429, 0, 0),
(2, 22, 430, 0, 0),
(2, 22, 431, 0, 0),
(2, 22, 432, 0, 0),
(2, 22, 433, 0, 0),
(2, 22, 434, 0, 0),
(2, 22, 435, 0, 0),
(2, 23, 436, 0, 0),
(2, 23, 437, 0, 0),
(2, 23, 438, 0, 0),
(2, 23, 439, 0, 0),
(2, 23, 440, 0, 0),
(2, 23, 441, 0, 0),
(2, 23, 442, 0, 0),
(2, 23, 443, 0, 0),
(2, 23, 444, 0, 0),
(2, 23, 445, 0, 0),
(2, 23, 446, 0, 0),
(2, 23, 447, 0, 0),
(2, 23, 448, 0, 0),
(2, 23, 449, 0, 0),
(2, 23, 450, 0, 0),
(2, 23, 451, 0, 0),
(2, 23, 452, 0, 0),
(2, 23, 453, 0, 0),
(2, 23, 454, 0, 0),
(2, 23, 455, 0, 1),
(2, 23, 456, 0, 1),
(2, 23, 457, 0, 0),
(2, 23, 458, 0, 0),
(2, 23, 459, 0, 0),
(2, 23, 460, 0, 0),
(2, 23, 461, 0, 0),
(2, 23, 462, 0, 0),
(2, 23, 463, 0, 0),
(2, 23, 464, 0, 0),
(2, 23, 465, 0, 0),
(2, 23, 466, 0, 0),
(2, 23, 467, 0, 0),
(2, 23, 468, 0, 0),
(2, 23, 469, 0, 0),
(2, 23, 470, 0, 0),
(2, 23, 471, 0, 0),
(2, 23, 472, 0, 0),
(2, 23, 473, 0, 0),
(2, 23, 474, 0, 0),
(2, 29, 475, 0, 0),
(2, 29, 479, 0, 0),
(2, 29, 480, 0, 0),
(2, 29, 482, 0, 0),
(2, 29, 489, 0, 0),
(2, 29, 490, 0, 0),
(2, 29, 491, 0, 0),
(2, 29, 492, 0, 0),
(2, 29, 493, 0, 0),
(2, 29, 495, 0, 0),
(2, 29, 496, 0, 0),
(2, 29, 497, 0, 0),
(2, 29, 498, 0, 0),
(2, 29, 499, 0, 0),
(2, 29, 504, 0, 0),
(2, 29, 505, 0, 0),
(2, 29, 506, 0, 0),
(2, 29, 507, 0, 0),
(2, 29, 515, 0, 0),
(2, 10, 520, 0, 0),
(2, 10, 521, 0, 0),
(2, 10, 522, 0, 0),
(2, 10, 523, 0, 0),
(2, 10, 524, 0, 0),
(2, 10, 525, 0, 0),
(2, 34, 526, 0, 0),
(2, 34, 527, 0, 0),
(2, 34, 528, 0, 0),
(2, 34, 529, 0, 0),
(2, 34, 530, 0, 0),
(2, 34, 531, 0, 0),
(2, 34, 532, 0, 0),
(2, 34, 533, 0, 0),
(2, 34, 534, 0, 0),
(2, 34, 535, 0, 0),
(2, 34, 536, 0, 0),
(2, 34, 537, 0, 0),
(2, 34, 538, 0, 0),
(2, 34, 539, 0, 0),
(2, 34, 540, 0, 0),
(2, 34, 541, 0, 0),
(2, 34, 542, 0, 0),
(2, 29, 543, 0, 0),
(2, 35, 544, 0, 0),
(2, 35, 545, 0, 0),
(2, 35, 546, 0, 0),
(2, 35, 547, 0, 0),
(2, 35, 548, 0, 0),
(2, 35, 549, 0, 0),
(2, 35, 550, 0, 0),
(2, 35, 551, 0, 0),
(2, 35, 552, 0, 0),
(2, 35, 553, 0, 0),
(2, 35, 554, 0, 0),
(2, 35, 555, 0, 0),
(2, 35, 556, 0, 0),
(2, 35, 557, 0, 0),
(2, 35, 558, 0, 0),
(2, 35, 559, 0, 0),
(2, 35, 560, 0, 0),
(2, 35, 561, 0, 0),
(2, 35, 562, 0, 0),
(2, 35, 563, 0, 0),
(2, 35, 564, 0, 0),
(2, 35, 565, 0, 0),
(2, 36, 566, 0, 0),
(2, 36, 567, 0, 0),
(2, 36, 568, 0, 0),
(2, 36, 569, 0, 0),
(2, 36, 570, 0, 0),
(2, 36, 571, 0, 0),
(2, 36, 572, 0, 0),
(2, 36, 573, 0, 0),
(2, 36, 574, 0, 1),
(2, 36, 575, 0, 1),
(2, 36, 576, 0, 0),
(2, 36, 577, 0, 0),
(2, 36, 578, 0, 0),
(2, 36, 579, 0, 0),
(2, 36, 580, 0, 0),
(2, 36, 581, 0, 0),
(2, 36, 582, 0, 0),
(2, 36, 583, 0, 0),
(2, 36, 584, 0, 0),
(2, 36, 585, 0, 1),
(2, 36, 586, 0, 0),
(2, 36, 587, 0, 0),
(2, 38, 588, 0, 0),
(2, 38, 589, 0, 0),
(2, 38, 590, 0, 0),
(2, 38, 591, 0, 0),
(2, 38, 592, 0, 0),
(2, 38, 593, 0, 0),
(2, 38, 594, 0, 0),
(2, 38, 595, 0, 0),
(2, 38, 596, 0, 0),
(2, 38, 597, 0, 0),
(2, 38, 598, 0, 0),
(2, 38, 599, 0, 0),
(2, 38, 600, 0, 0),
(2, 38, 601, 0, 0),
(2, 38, 602, 0, 0),
(2, 38, 603, 0, 0),
(2, 38, 604, 0, 0),
(2, 38, 605, 0, 0),
(2, 38, 606, 0, 0),
(2, 38, 607, 0, 0),
(2, 38, 608, 0, 0),
(2, 42, 609, 0, 0),
(2, 42, 610, 0, 0),
(2, 42, 611, 0, 1),
(2, 42, 612, 0, 1),
(2, 42, 613, 0, 0),
(2, 42, 614, 0, 1),
(2, 42, 615, 0, 0),
(2, 42, 616, 0, 1),
(2, 43, 617, 0, 0),
(2, 43, 618, 0, 0),
(2, 43, 619, 0, 0),
(2, 43, 620, 0, 0),
(2, 43, 621, 0, 0),
(2, 43, 622, 0, 0),
(2, 43, 623, 0, 0),
(2, 43, 624, 0, 0),
(2, 43, 625, 0, 0),
(2, 43, 626, 0, 0),
(2, 43, 627, 0, 0),
(2, 43, 628, 0, 0),
(2, 43, 629, 0, 0),
(2, 44, 630, 0, 0),
(2, 44, 631, 0, 0),
(2, 44, 632, 0, 0),
(2, 44, 633, 0, 0),
(2, 44, 634, 0, 0),
(2, 44, 635, 0, 0),
(2, 44, 636, 0, 0),
(2, 44, 637, 0, 0),
(2, 44, 638, 0, 0),
(2, 44, 639, 0, 0),
(2, 44, 640, 0, 0),
(2, 44, 641, 0, 0),
(2, 44, 642, 0, 0),
(2, 44, 643, 0, 0),
(2, 44, 644, 0, 0),
(2, 44, 645, 0, 0),
(2, 44, 646, 0, 0),
(2, 44, 647, 0, 0),
(2, 45, 648, 0, 0),
(2, 45, 649, 0, 0),
(2, 45, 650, 0, 0),
(2, 45, 651, 0, 0),
(2, 45, 652, 0, 0),
(2, 45, 653, 0, 0),
(2, 45, 654, 0, 0),
(2, 45, 655, 0, 0),
(2, 45, 656, 0, 0),
(2, 45, 657, 0, 0),
(2, 45, 658, 0, 0),
(2, 45, 659, 0, 0),
(2, 45, 660, 0, 0),
(2, 45, 661, 0, 0),
(2, 45, 662, 0, 0),
(2, 45, 663, 0, 0),
(2, 45, 664, 0, 0),
(2, 45, 665, 0, 0),
(2, 45, 666, 0, 0),
(2, 45, 667, 0, 0),
(2, 47, 668, 0, 0),
(2, 47, 669, 0, 0),
(2, 47, 670, 0, 0),
(2, 47, 671, 0, 0),
(2, 47, 672, 0, 0),
(2, 47, 673, 0, 0),
(2, 2, 674, 0, 0),
(2, 29, 675, 0, 0),
(2, 23, 676, 0, 0),
(2, 23, 677, 0, 0),
(2, 23, 678, 0, 0),
(2, 23, 679, 0, 0),
(2, 23, 680, 0, 0),
(2, 23, 681, 0, 0),
(2, 23, 682, 0, 0),
(2, 23, 683, 0, 0),
(2, 23, 684, 0, 0),
(2, 22, 685, 0, 0),
(2, 22, 686, 0, 0),
(2, 22, 687, 0, 0),
(2, 22, 688, 0, 0),
(2, 22, 689, 0, 0),
(2, 22, 690, 0, 0),
(2, 22, 691, 0, 0),
(2, 22, 692, 0, 0),
(2, 22, 693, 0, 0),
(2, 21, 694, 0, 0),
(2, 21, 695, 0, 0),
(2, 21, 696, 0, 0),
(2, 21, 697, 0, 0),
(2, 21, 698, 0, 0),
(2, 21, 699, 0, 0),
(2, 21, 700, 0, 0),
(2, 21, 701, 0, 0),
(2, 21, 702, 0, 0),
(2, 20, 703, 0, 0),
(2, 20, 704, 0, 0),
(2, 20, 705, 0, 0),
(2, 20, 706, 0, 0),
(2, 20, 707, 0, 0),
(2, 20, 708, 0, 0),
(2, 20, 709, 0, 0),
(2, 20, 710, 0, 0),
(2, 20, 711, 0, 0),
(2, 29, 712, 0, 0),
(2, 44, 713, 0, 0),
(2, 42, 714, 0, 0),
(2, 29, 715, 0, 0),
(2, 29, 716, 0, 0),
(2, 29, 717, 0, 0),
(2, 23, 718, 0, 0),
(2, 22, 719, 0, 0),
(2, 21, 720, 0, 0),
(2, 20, 721, 0, 0),
(2, 29, 722, 0, 0),
(2, 6, 723, 0, 1),
(2, 4, 724, 0, 1),
(2, 2, 725, 0, 0),
(2, 29, 726, 0, 0),
(2, 23, 727, 0, 0),
(2, 23, 728, 0, 0),
(2, 21, 729, 0, 0),
(2, 21, 730, 0, 0),
(2, 18, 731, 0, 0),
(2, 7, 732, 0, 0),
(2, 42, 733, 0, 0),
(2, 42, 734, 0, 0),
(2, 23, 735, 0, 0),
(2, 20, 736, 0, 0),
(2, 21, 737, 0, 0),
(2, 22, 738, 0, 0),
(2, 29, 739, 0, 0),
(2, 2, 740, 0, 0),
(2, 13, 741, 0, 0),
(2, 29, 742, 0, 0),
(2, 29, 743, 0, 0),
(2, 29, 744, 0, 0),
(2, 29, 745, 0, 0),
(2, 14, 772, 0, 0),
(2, 36, 773, 0, 0),
(2, 23, 774, 0, 0),
(2, 29, 775, 0, 0),
(2, 23, 776, 0, 0),
(2, 23, 777, 0, 0),
(2, 23, 778, 0, 0),
(2, 20, 779, 0, 0),
(2, 20, 780, 0, 0),
(2, 20, 781, 0, 0),
(2, 21, 782, 0, 0),
(2, 22, 783, 0, 0),
(2, 22, 784, 0, 0),
(2, 22, 785, 0, 0),
(2, 42, 786, 0, 0),
(2, 42, 787, 0, 0),
(2, 42, 788, 0, 0),
(2, 2, 789, 0, 0),
(2, 4, 790, 0, 1),
(2, 6, 791, 0, 1),
(2, 7, 792, 0, 0),
(2, 8, 793, 0, 1),
(2, 9, 794, 0, 1),
(2, 10, 795, 0, 1),
(2, 13, 796, 0, 0),
(2, 14, 797, 0, 0),
(2, 15, 798, 0, 1),
(2, 16, 799, 0, 1),
(2, 18, 800, 0, 1),
(2, 19, 801, 0, 0),
(2, 20, 802, 0, 1),
(2, 21, 803, 0, 1),
(2, 22, 804, 0, 1),
(2, 23, 805, 0, 1),
(2, 26, 806, 0, 0),
(2, 10, 807, 0, 0),
(2, 2, 808, 0, 0),
(2, 4, 809, 0, 0),
(2, 6, 810, 0, 0),
(2, 7, 811, 0, 0),
(2, 8, 812, 0, 0),
(2, 9, 813, 0, 0),
(2, 10, 814, 0, 0),
(2, 13, 815, 0, 0),
(2, 14, 816, 0, 0),
(2, 15, 817, 0, 0),
(2, 16, 818, 0, 1),
(2, 18, 819, 0, 0),
(2, 19, 820, 0, 0),
(2, 20, 821, 0, 0),
(2, 21, 822, 0, 0),
(2, 22, 823, 0, 0),
(2, 23, 824, 0, 0),
(2, 26, 825, 0, 0),
(2, 34, 826, 0, 0),
(2, 2, 827, 0, 0),
(2, 4, 828, 0, 0),
(2, 6, 829, 0, 0),
(2, 7, 830, 0, 0),
(2, 8, 831, 0, 0),
(2, 9, 832, 0, 0),
(2, 10, 833, 0, 0),
(2, 13, 834, 0, 0),
(2, 14, 835, 0, 0),
(2, 15, 836, 0, 0),
(2, 16, 837, 0, 1),
(2, 18, 838, 0, 0),
(2, 19, 839, 0, 0),
(2, 20, 840, 0, 0),
(2, 21, 841, 0, 0),
(2, 22, 842, 0, 0),
(2, 23, 843, 0, 0),
(2, 26, 844, 0, 0),
(2, 34, 845, 0, 0),
(2, 20, 846, 0, 0),
(2, 21, 847, 0, 0),
(2, 22, 848, 0, 0),
(2, 23, 849, 0, 0),
(2, 45, 850, 0, 0),
(2, 45, 851, 0, 0),
(2, 51, 852, 0, 0),
(2, 51, 853, 0, 0),
(2, 51, 854, 0, 0),
(2, 51, 855, 0, 0),
(2, 51, 856, 0, 0),
(2, 51, 857, 0, 0),
(2, 51, 858, 0, 0),
(2, 51, 859, 0, 0),
(2, 51, 860, 0, 0),
(2, 51, 861, 0, 0),
(2, 51, 862, 0, 0),
(2, 51, 863, 0, 0),
(2, 51, 864, 0, 0),
(2, 51, 865, 0, 0),
(2, 51, 866, 0, 0),
(2, 51, 867, 0, 0),
(2, 51, 868, 0, 0),
(2, 51, 869, 0, 0),
(2, 51, 870, 0, 0),
(2, 51, 871, 0, 0),
(2, 51, 872, 0, 0),
(2, 51, 873, 0, 0),
(2, 51, 874, 0, 0),
(2, 51, 875, 0, 0),
(2, 51, 876, 0, 0),
(2, 51, 877, 0, 0),
(2, 51, 878, 0, 0),
(2, 51, 879, 0, 0),
(2, 51, 880, 0, 0),
(2, 6, 882, 0, 0),
(2, 23, 884, 0, 0),
(2, 21, 886, 0, 0),
(2, 21, 888, 0, 0),
(2, 21, 890, 0, 0),
(2, 21, 892, 0, 0),
(2, 21, 894, 0, 0),
(2, 21, 896, 0, 0),
(2, 21, 898, 0, 0),
(2, 21, 900, 0, 0),
(2, 21, 906, 0, 0),
(2, 21, 908, 0, 0),
(2, 21, 910, 0, 0),
(2, 21, 912, 0, 0),
(2, 21, 914, 0, 0),
(2, 21, 916, 0, 0),
(2, 21, 918, 0, 0),
(2, 21, 920, 0, 0),
(2, 21, 922, 0, 0),
(2, 21, 924, 0, 0),
(2, 21, 926, 0, 0),
(2, 21, 930, 0, 0),
(2, 21, 934, 0, 0),
(2, 21, 938, 0, 0),
(2, 21, 944, 0, 0),
(2, 21, 946, 0, 0),
(2, 21, 950, 0, 0),
(2, 21, 952, 0, 0),
(2, 21, 954, 0, 0),
(2, 21, 956, 0, 0),
(2, 21, 958, 0, 0),
(2, 21, 960, 0, 0),
(2, 21, 962, 0, 0),
(2, 21, 964, 0, 0),
(2, 23, 967, 0, 1),
(2, 23, 968, 0, 1),
(2, 22, 969, 0, 1),
(2, 22, 970, 0, 1),
(2, 21, 971, 0, 1),
(2, 21, 972, 0, 1),
(2, 2, 973, 0, 0),
(2, 2, 974, 0, 0),
(2, 51, 977, 0, 0),
(2, 51, 978, 0, 0),
(2, 51, 979, 0, 0),
(2, 51, 980, 0, 0),
(2, 51, 981, 0, 0),
(2, 51, 982, 0, 0),
(2, 51, 983, 0, 0),
(2, 51, 984, 0, 0),
(2, 51, 985, 0, 0),
(2, 51, 986, 0, 0),
(2, 51, 987, 0, 0),
(2, 51, 988, 0, 0),
(2, 51, 989, 0, 1),
(2, 51, 990, 0, 1),
(2, 51, 991, 0, 0),
(2, 51, 992, 0, 0),
(2, 51, 993, 0, 1),
(2, 51, 994, 0, 0),
(2, 51, 995, 0, 1),
(2, 51, 996, 0, 0),
(2, 51, 997, 0, 1),
(2, 51, 998, 0, 0),
(2, 51, 999, 0, 0),
(2, 51, 1000, 0, 0),
(2, 51, 1001, 0, 1),
(2, 51, 1002, 0, 0),
(2, 51, 1003, 0, 1),
(2, 51, 1004, 0, 0),
(2, 51, 1005, 0, 0),
(2, 23, 1007, 0, 0),
(2, 23, 1009, 0, 0),
(2, 23, 1011, 0, 0),
(2, 52, 1012, 0, 0),
(2, 52, 1013, 0, 0),
(2, 52, 1014, 0, 0),
(2, 52, 1015, 0, 0),
(2, 52, 1016, 0, 0),
(2, 52, 1017, 0, 0),
(2, 52, 1018, 0, 0),
(2, 52, 1019, 0, 0),
(2, 52, 1020, 0, 0),
(2, 21, 1022, 0, 0),
(2, 21, 1024, 0, 0),
(2, 21, 1026, 0, 0),
(2, 21, 1028, 0, 0),
(2, 21, 1030, 0, 0),
(2, 21, 1032, 0, 0),
(2, 21, 1034, 0, 0),
(2, 21, 1036, 0, 0),
(2, 21, 1040, 0, 0),
(2, 21, 1042, 0, 0),
(2, 21, 1044, 0, 0),
(4, 6, 1, 0, 0),
(4, 6, 2, 0, 0),
(4, 6, 3, 0, 0),
(4, 6, 4, 0, 0),
(4, 6, 5, 0, 0),
(4, 6, 6, 0, 0),
(4, 6, 7, 0, 0),
(4, 6, 8, 0, 0),
(4, 6, 9, 0, 0),
(4, 6, 10, 0, 0),
(4, 6, 11, 0, 0),
(4, 6, 12, 0, 0),
(4, 6, 13, 0, 0),
(4, 6, 14, 0, 0),
(4, 6, 15, 0, 0),
(4, 6, 16, 0, 0),
(4, 6, 17, 0, 0),
(4, 6, 18, 0, 0),
(4, 6, 19, 0, 0),
(4, 6, 20, 0, 0),
(4, 6, 21, 0, 1),
(4, 6, 22, 0, 1),
(4, 6, 23, 0, 0),
(4, 6, 24, 0, 0),
(4, 6, 25, 0, 0),
(4, 6, 26, 0, 0),
(4, 6, 27, 0, 0),
(4, 6, 28, 0, 0),
(4, 6, 29, 0, 0),
(4, 6, 30, 0, 0),
(4, 6, 31, 0, 0),
(4, 6, 32, 0, 0),
(4, 6, 33, 0, 0),
(4, 6, 34, 0, 0),
(4, 6, 35, 0, 0),
(4, 6, 36, 0, 0),
(4, 7, 37, 0, 0),
(4, 7, 38, 0, 0),
(4, 7, 39, 0, 0),
(4, 7, 40, 0, 0),
(4, 7, 41, 0, 0),
(4, 7, 42, 0, 0),
(4, 7, 43, 0, 0),
(4, 7, 44, 0, 0),
(4, 7, 45, 0, 0),
(4, 7, 46, 0, 0),
(4, 7, 47, 0, 0),
(4, 7, 48, 0, 0),
(4, 7, 49, 0, 0),
(4, 7, 50, 0, 0),
(4, 7, 51, 0, 0),
(4, 7, 52, 0, 0),
(4, 7, 53, 0, 0),
(4, 7, 54, 0, 0),
(4, 7, 55, 0, 0),
(4, 7, 56, 0, 0),
(4, 7, 57, 0, 0),
(4, 7, 58, 0, 0),
(4, 7, 59, 0, 0),
(4, 7, 60, 0, 0),
(4, 7, 61, 0, 0),
(4, 7, 62, 0, 0),
(4, 7, 63, 0, 0),
(4, 7, 64, 0, 0),
(4, 7, 65, 0, 0),
(4, 4, 66, 0, 0),
(4, 4, 67, 0, 0),
(4, 4, 68, 0, 0),
(4, 4, 69, 0, 0),
(4, 4, 70, 0, 0),
(4, 4, 71, 0, 0),
(4, 4, 72, 0, 0),
(4, 4, 73, 0, 0),
(4, 4, 74, 0, 0),
(4, 4, 75, 0, 0),
(4, 4, 76, 0, 0),
(4, 4, 77, 0, 0),
(4, 4, 78, 0, 0),
(4, 4, 79, 0, 0),
(4, 4, 80, 0, 0),
(4, 4, 81, 0, 0),
(4, 4, 82, 0, 0),
(4, 4, 83, 0, 0),
(4, 4, 84, 0, 0),
(4, 4, 85, 0, 0),
(4, 4, 86, 0, 0),
(4, 4, 87, 0, 0),
(4, 4, 88, 0, 0),
(4, 4, 89, 0, 0),
(4, 4, 90, 0, 1),
(4, 4, 91, 0, 1),
(4, 4, 92, 0, 0),
(4, 4, 93, 0, 0),
(4, 4, 94, 0, 0),
(4, 4, 95, 0, 0),
(4, 4, 96, 0, 0),
(4, 4, 97, 0, 0),
(4, 4, 98, 0, 0),
(4, 4, 99, 0, 0),
(4, 4, 100, 0, 0),
(4, 4, 101, 0, 0),
(4, 4, 102, 0, 0),
(4, 4, 103, 0, 0),
(4, 4, 104, 0, 0),
(4, 4, 105, 0, 0),
(4, 4, 106, 0, 0),
(4, 4, 107, 0, 0),
(4, 4, 108, 0, 0),
(4, 4, 109, 0, 0),
(4, 2, 110, 0, 0),
(4, 2, 111, 0, 0),
(4, 2, 112, 0, 0),
(4, 2, 113, 0, 0),
(4, 2, 114, 0, 0),
(4, 2, 115, 0, 0),
(4, 2, 116, 0, 0),
(4, 2, 117, 0, 0),
(4, 2, 118, 0, 0),
(4, 2, 119, 0, 0),
(4, 2, 120, 0, 0),
(4, 2, 121, 0, 0),
(4, 2, 122, 0, 0),
(4, 2, 123, 0, 0),
(4, 2, 124, 0, 0),
(4, 2, 125, 0, 0),
(4, 26, 126, 0, 0),
(4, 26, 127, 0, 0),
(4, 26, 128, 0, 0),
(4, 26, 129, 0, 0),
(4, 26, 130, 0, 0),
(4, 26, 131, 0, 0),
(4, 26, 132, 0, 0),
(4, 26, 133, 0, 0),
(4, 26, 134, 0, 0),
(4, 26, 135, 0, 0),
(4, 26, 136, 0, 0),
(4, 26, 137, 0, 0),
(4, 26, 138, 0, 0),
(4, 26, 139, 0, 0),
(4, 26, 140, 0, 0),
(4, 26, 141, 0, 0),
(4, 26, 142, 0, 0),
(4, 26, 143, 0, 0),
(4, 26, 144, 0, 0),
(4, 26, 145, 0, 0),
(4, 26, 146, 0, 0),
(4, 26, 147, 0, 0),
(4, 26, 148, 0, 0),
(4, 26, 149, 0, 0),
(4, 26, 150, 0, 0),
(4, 4, 151, 0, 0),
(4, 6, 152, 0, 0),
(4, 7, 153, 0, 0),
(4, 26, 154, 0, 0),
(4, 13, 155, 0, 0),
(4, 13, 156, 0, 0),
(4, 13, 157, 0, 0),
(4, 13, 158, 0, 0),
(4, 13, 159, 0, 0),
(4, 13, 160, 0, 0),
(4, 13, 161, 0, 0),
(4, 13, 162, 0, 0),
(4, 13, 163, 0, 0),
(4, 13, 164, 0, 0),
(4, 13, 165, 0, 0),
(4, 13, 166, 0, 0),
(4, 13, 167, 0, 0),
(4, 13, 168, 0, 0),
(4, 13, 169, 0, 0),
(4, 13, 170, 0, 0),
(4, 13, 171, 0, 0),
(4, 13, 172, 0, 0),
(4, 13, 173, 0, 0),
(4, 14, 174, 0, 0),
(4, 14, 175, 0, 0),
(4, 14, 176, 0, 0),
(4, 14, 177, 0, 0),
(4, 14, 178, 0, 0),
(4, 14, 179, 0, 0),
(4, 14, 180, 0, 0),
(4, 14, 181, 0, 0),
(4, 14, 182, 0, 0),
(4, 14, 183, 0, 0),
(4, 14, 184, 0, 0),
(4, 14, 185, 0, 0),
(4, 14, 186, 0, 0),
(4, 14, 187, 0, 0),
(4, 14, 188, 0, 0),
(4, 14, 189, 0, 0),
(4, 14, 190, 0, 0),
(4, 14, 191, 0, 0),
(4, 14, 192, 0, 0),
(4, 14, 193, 0, 0),
(4, 14, 194, 0, 0),
(4, 14, 195, 0, 0),
(4, 14, 196, 0, 0),
(4, 14, 197, 0, 0),
(4, 14, 198, 0, 0),
(4, 14, 199, 0, 0),
(4, 14, 200, 0, 0),
(4, 14, 201, 0, 0),
(4, 14, 202, 0, 0),
(4, 14, 203, 0, 0),
(4, 14, 204, 0, 0),
(4, 8, 205, 0, 0),
(4, 8, 206, 0, 1),
(4, 8, 207, 0, 1),
(4, 8, 208, 0, 0),
(4, 8, 209, 0, 0),
(4, 8, 210, 0, 0),
(4, 8, 211, 0, 1),
(4, 8, 212, 0, 1),
(4, 8, 213, 0, 0),
(4, 8, 214, 0, 0),
(4, 8, 215, 0, 0),
(4, 8, 216, 0, 1),
(4, 8, 217, 0, 0),
(4, 8, 218, 0, 0),
(4, 8, 219, 0, 0),
(4, 10, 220, 0, 0),
(4, 10, 221, 0, 0),
(4, 10, 222, 0, 0),
(4, 10, 223, 0, 0),
(4, 10, 224, 0, 0),
(4, 10, 225, 0, 0),
(4, 10, 226, 0, 0),
(4, 10, 227, 0, 0),
(4, 10, 228, 0, 0),
(4, 10, 229, 0, 1),
(4, 10, 230, 0, 0),
(4, 10, 231, 0, 0),
(4, 9, 232, 0, 0),
(4, 9, 233, 0, 0),
(4, 9, 234, 0, 0),
(4, 9, 235, 0, 0),
(4, 9, 236, 0, 0),
(4, 9, 237, 0, 0),
(4, 9, 238, 0, 0),
(4, 9, 239, 0, 0),
(4, 9, 240, 0, 0),
(4, 9, 241, 0, 0),
(4, 9, 242, 0, 0),
(4, 9, 243, 0, 0),
(4, 9, 244, 0, 1),
(4, 9, 245, 0, 1),
(4, 9, 246, 0, 0),
(4, 9, 247, 0, 0),
(4, 9, 248, 0, 0),
(4, 9, 249, 0, 0),
(4, 9, 250, 0, 0),
(4, 9, 251, 0, 0),
(4, 9, 252, 0, 0),
(4, 9, 253, 0, 0),
(4, 9, 254, 0, 0),
(4, 9, 255, 0, 0),
(4, 16, 256, 0, 0),
(4, 16, 257, 0, 0),
(4, 16, 258, 0, 0),
(4, 16, 259, 0, 0),
(4, 16, 260, 0, 0),
(4, 16, 261, 0, 0),
(4, 16, 262, 0, 0),
(4, 16, 263, 0, 0),
(4, 16, 264, 0, 0),
(4, 16, 265, 0, 0),
(4, 16, 266, 0, 0),
(4, 16, 267, 0, 0),
(4, 16, 268, 0, 0),
(4, 16, 269, 0, 0),
(4, 16, 270, 0, 1),
(4, 16, 271, 0, 1),
(4, 16, 272, 0, 0),
(4, 16, 273, 0, 0),
(4, 16, 274, 0, 0),
(4, 16, 275, 0, 0),
(4, 16, 276, 0, 0),
(4, 16, 277, 0, 0),
(4, 16, 278, 0, 0),
(4, 15, 279, 0, 0),
(4, 15, 280, 0, 0),
(4, 15, 281, 0, 0),
(4, 15, 282, 0, 0),
(4, 15, 283, 0, 0),
(4, 15, 284, 0, 0),
(4, 15, 285, 0, 0),
(4, 15, 286, 0, 1),
(4, 15, 287, 0, 1),
(4, 15, 288, 0, 0),
(4, 18, 289, 0, 0),
(4, 18, 290, 0, 0),
(4, 18, 291, 0, 0),
(4, 18, 292, 0, 0),
(4, 18, 293, 0, 0),
(4, 18, 294, 0, 0),
(4, 18, 295, 0, 0),
(4, 18, 296, 0, 1),
(4, 18, 297, 0, 1),
(4, 18, 298, 0, 0),
(4, 18, 299, 0, 0),
(4, 18, 300, 0, 0),
(4, 18, 301, 0, 0),
(4, 18, 302, 0, 0),
(4, 18, 303, 0, 0),
(4, 18, 304, 0, 0),
(4, 18, 305, 0, 0),
(4, 19, 306, 0, 0),
(4, 19, 307, 0, 0),
(4, 19, 308, 0, 0),
(4, 19, 309, 0, 0),
(4, 19, 310, 0, 0),
(4, 19, 311, 0, 0),
(4, 19, 312, 0, 0),
(4, 19, 313, 0, 0),
(4, 20, 314, 0, 0),
(4, 20, 315, 0, 0),
(4, 20, 316, 0, 0),
(4, 20, 317, 0, 0),
(4, 20, 318, 0, 0),
(4, 20, 319, 0, 0),
(4, 20, 320, 0, 0),
(4, 20, 321, 0, 0),
(4, 20, 322, 0, 0),
(4, 20, 323, 0, 0),
(4, 20, 324, 0, 0),
(4, 20, 325, 0, 0),
(4, 20, 326, 0, 0),
(4, 20, 327, 0, 0),
(4, 20, 328, 0, 0),
(4, 20, 329, 0, 0),
(4, 20, 330, 0, 0),
(4, 20, 331, 0, 0),
(4, 20, 332, 0, 1),
(4, 20, 333, 0, 1),
(4, 20, 334, 0, 0),
(4, 20, 335, 0, 0),
(4, 20, 336, 0, 0),
(4, 20, 337, 0, 0),
(4, 20, 338, 0, 0),
(4, 20, 339, 0, 0),
(4, 20, 340, 0, 0),
(4, 20, 341, 0, 0),
(4, 20, 342, 0, 0),
(4, 20, 343, 0, 0),
(4, 20, 344, 0, 0),
(4, 20, 345, 0, 0),
(4, 20, 346, 0, 0),
(4, 20, 347, 0, 0),
(4, 20, 348, 0, 0),
(4, 20, 349, 0, 0),
(4, 20, 350, 0, 0),
(4, 21, 351, 0, 0),
(4, 21, 352, 0, 0),
(4, 21, 353, 0, 0),
(4, 21, 354, 0, 0),
(4, 21, 355, 0, 0),
(4, 21, 356, 0, 0),
(4, 21, 357, 0, 0),
(4, 21, 358, 0, 0),
(4, 21, 359, 0, 0),
(4, 21, 360, 0, 0),
(4, 21, 361, 0, 0),
(4, 21, 362, 0, 0),
(4, 21, 363, 0, 0),
(4, 21, 364, 0, 0),
(4, 21, 365, 0, 0),
(4, 21, 366, 0, 0),
(4, 21, 367, 0, 0),
(4, 21, 368, 0, 0),
(4, 21, 369, 0, 0),
(4, 21, 370, 0, 1),
(4, 21, 371, 0, 1),
(4, 21, 372, 0, 0),
(4, 21, 373, 0, 0),
(4, 21, 374, 0, 0),
(4, 21, 375, 0, 0),
(4, 21, 376, 0, 0),
(4, 21, 377, 0, 0),
(4, 21, 378, 0, 0),
(4, 21, 379, 0, 0),
(4, 21, 380, 0, 0),
(4, 21, 381, 0, 0),
(4, 21, 382, 0, 0),
(4, 21, 383, 0, 0),
(4, 21, 384, 0, 0),
(4, 21, 385, 0, 0),
(4, 21, 386, 0, 0),
(4, 21, 387, 0, 0),
(4, 21, 388, 0, 0),
(4, 22, 389, 0, 0),
(4, 22, 390, 0, 0),
(4, 22, 391, 0, 0),
(4, 22, 392, 0, 0),
(4, 22, 393, 0, 0),
(4, 22, 394, 0, 0),
(4, 22, 395, 0, 0),
(4, 22, 396, 0, 0),
(4, 22, 397, 0, 0),
(4, 22, 398, 0, 0),
(4, 22, 399, 0, 0),
(4, 22, 400, 0, 0),
(4, 22, 401, 0, 0),
(4, 22, 402, 0, 0),
(4, 22, 403, 0, 0),
(4, 22, 404, 0, 0),
(4, 22, 405, 0, 0),
(4, 22, 406, 0, 0),
(4, 22, 407, 0, 0),
(4, 22, 408, 0, 0),
(4, 22, 409, 0, 0),
(4, 22, 410, 0, 0),
(4, 22, 411, 0, 1),
(4, 22, 412, 0, 1),
(4, 22, 413, 0, 0),
(4, 22, 414, 0, 0),
(4, 22, 415, 0, 0),
(4, 22, 416, 0, 0),
(4, 22, 417, 0, 0),
(4, 22, 418, 0, 0),
(4, 22, 419, 0, 0),
(4, 22, 420, 0, 0),
(4, 22, 421, 0, 0),
(4, 22, 422, 0, 0),
(4, 22, 423, 0, 0),
(4, 22, 424, 0, 0),
(4, 22, 425, 0, 0),
(4, 22, 426, 0, 0),
(4, 22, 427, 0, 0),
(4, 22, 428, 0, 0),
(4, 22, 429, 0, 0),
(4, 22, 430, 0, 0),
(4, 22, 431, 0, 0),
(4, 22, 432, 0, 0),
(4, 22, 433, 0, 0),
(4, 22, 434, 0, 0),
(4, 22, 435, 0, 0),
(4, 23, 436, 0, 0),
(4, 23, 437, 0, 0),
(4, 23, 438, 0, 0),
(4, 23, 439, 0, 0),
(4, 23, 440, 0, 0),
(4, 23, 441, 0, 0),
(4, 23, 442, 0, 0),
(4, 23, 443, 0, 0),
(4, 23, 444, 0, 0),
(4, 23, 445, 0, 0),
(4, 23, 446, 0, 0),
(4, 23, 447, 0, 0),
(4, 23, 448, 0, 0),
(4, 23, 449, 0, 0),
(4, 23, 450, 0, 0),
(4, 23, 451, 0, 0),
(4, 23, 452, 0, 0),
(4, 23, 453, 0, 0),
(4, 23, 454, 0, 0),
(4, 23, 455, 0, 1),
(4, 23, 456, 0, 1),
(4, 23, 457, 0, 0),
(4, 23, 458, 0, 0),
(4, 23, 459, 0, 0),
(4, 23, 460, 0, 0),
(4, 23, 461, 0, 0),
(4, 23, 462, 0, 0),
(4, 23, 463, 0, 0),
(4, 23, 464, 0, 0),
(4, 23, 465, 0, 0),
(4, 23, 466, 0, 0),
(4, 23, 467, 0, 0),
(4, 23, 468, 0, 0),
(4, 23, 469, 0, 0),
(4, 23, 470, 0, 0),
(4, 23, 471, 0, 0),
(4, 23, 472, 0, 0),
(4, 23, 473, 0, 0),
(4, 23, 474, 0, 0),
(4, 29, 475, 0, 0),
(4, 29, 479, 0, 0),
(4, 29, 480, 0, 0),
(4, 29, 482, 0, 0),
(4, 29, 489, 0, 0),
(4, 29, 490, 0, 0),
(4, 29, 491, 0, 0),
(4, 29, 492, 0, 0),
(4, 29, 493, 0, 0),
(4, 29, 495, 0, 0),
(4, 29, 496, 0, 0),
(4, 29, 497, 0, 0),
(4, 29, 498, 0, 0),
(4, 29, 499, 0, 0),
(4, 29, 504, 0, 0),
(4, 29, 505, 0, 0),
(4, 29, 506, 0, 0),
(4, 29, 507, 0, 0),
(4, 29, 515, 0, 0),
(4, 10, 520, 0, 0),
(4, 10, 521, 0, 0),
(4, 10, 522, 0, 0),
(4, 10, 523, 0, 0),
(4, 10, 524, 0, 0),
(4, 10, 525, 0, 0),
(4, 34, 526, 0, 0),
(4, 34, 527, 0, 0),
(4, 34, 528, 0, 0),
(4, 34, 529, 0, 0),
(4, 34, 530, 0, 0),
(4, 34, 531, 0, 0),
(4, 34, 532, 0, 0),
(4, 34, 533, 0, 0),
(4, 34, 534, 0, 0),
(4, 34, 535, 0, 0),
(4, 34, 536, 0, 0),
(4, 34, 537, 0, 0),
(4, 34, 538, 0, 0),
(4, 34, 539, 0, 0),
(4, 34, 540, 0, 0),
(4, 34, 541, 0, 0),
(4, 34, 542, 0, 0),
(4, 29, 543, 0, 0),
(4, 35, 544, 0, 0),
(4, 35, 545, 0, 0),
(4, 35, 546, 0, 0),
(4, 35, 547, 0, 0),
(4, 35, 548, 0, 0),
(4, 35, 549, 0, 0),
(4, 35, 550, 0, 0),
(4, 35, 551, 0, 0),
(4, 35, 552, 0, 0),
(4, 35, 553, 0, 0),
(4, 35, 554, 0, 0),
(4, 35, 555, 0, 0),
(4, 35, 556, 0, 0),
(4, 35, 557, 0, 0),
(4, 35, 558, 0, 0),
(4, 35, 559, 0, 0),
(4, 35, 560, 0, 0),
(4, 35, 561, 0, 0),
(4, 35, 562, 0, 0),
(4, 35, 563, 0, 0),
(4, 35, 564, 0, 0),
(4, 35, 565, 0, 0),
(4, 36, 566, 0, 0),
(4, 36, 567, 0, 0),
(4, 36, 568, 0, 0),
(4, 36, 569, 0, 0),
(4, 36, 570, 0, 0),
(4, 36, 571, 0, 0),
(4, 36, 572, 0, 0),
(4, 36, 573, 0, 0),
(4, 36, 574, 0, 1),
(4, 36, 575, 0, 1),
(4, 36, 576, 0, 0),
(4, 36, 577, 0, 0),
(4, 36, 578, 0, 0),
(4, 36, 579, 0, 0),
(4, 36, 580, 0, 0),
(4, 36, 581, 0, 0),
(4, 36, 582, 0, 0),
(4, 36, 583, 0, 0),
(4, 36, 584, 0, 0),
(4, 36, 585, 0, 1),
(4, 36, 586, 0, 0),
(4, 36, 587, 0, 0),
(4, 38, 588, 0, 0),
(4, 38, 589, 0, 0),
(4, 38, 590, 0, 0),
(4, 38, 591, 0, 0),
(4, 38, 592, 0, 0),
(4, 38, 593, 0, 0),
(4, 38, 594, 0, 0),
(4, 38, 595, 0, 0),
(4, 38, 596, 0, 0),
(4, 38, 597, 0, 0),
(4, 38, 598, 0, 0),
(4, 38, 599, 0, 0),
(4, 38, 600, 0, 0),
(4, 38, 601, 0, 0),
(4, 38, 602, 0, 0),
(4, 38, 603, 0, 0),
(4, 38, 604, 0, 0),
(4, 38, 605, 0, 0),
(4, 38, 606, 0, 0),
(4, 38, 607, 0, 0),
(4, 38, 608, 0, 0),
(4, 42, 609, 0, 0),
(4, 42, 610, 0, 0),
(4, 42, 611, 0, 1),
(4, 42, 612, 0, 1),
(4, 42, 613, 0, 0),
(4, 42, 614, 0, 1),
(4, 42, 615, 0, 0),
(4, 42, 616, 0, 1),
(4, 43, 617, 0, 0),
(4, 43, 618, 0, 0),
(4, 43, 619, 0, 0),
(4, 43, 620, 0, 0),
(4, 43, 621, 0, 0),
(4, 43, 622, 0, 0),
(4, 43, 623, 0, 0),
(4, 43, 624, 0, 0),
(4, 43, 625, 0, 0),
(4, 43, 626, 0, 0),
(4, 43, 627, 0, 0),
(4, 43, 628, 0, 0),
(4, 43, 629, 0, 0),
(4, 44, 630, 0, 0),
(4, 44, 631, 0, 0),
(4, 44, 632, 0, 0),
(4, 44, 633, 0, 0),
(4, 44, 634, 0, 0),
(4, 44, 635, 0, 0),
(4, 44, 636, 0, 0),
(4, 44, 637, 0, 0),
(4, 44, 638, 0, 0),
(4, 44, 639, 0, 0),
(4, 44, 640, 0, 0),
(4, 44, 641, 0, 0),
(4, 44, 642, 0, 0),
(4, 44, 643, 0, 0),
(4, 44, 644, 0, 0),
(4, 44, 645, 0, 0),
(4, 44, 646, 0, 0),
(4, 44, 647, 0, 0),
(4, 45, 648, 0, 0),
(4, 45, 649, 0, 0),
(4, 45, 650, 0, 0),
(4, 45, 651, 0, 0),
(4, 45, 652, 0, 0),
(4, 45, 653, 0, 0),
(4, 45, 654, 0, 0),
(4, 45, 655, 0, 0),
(4, 45, 656, 0, 0),
(4, 45, 657, 0, 0),
(4, 45, 658, 0, 0),
(4, 45, 659, 0, 0),
(4, 45, 660, 0, 0),
(4, 45, 661, 0, 0),
(4, 45, 662, 0, 0),
(4, 45, 663, 0, 0),
(4, 45, 664, 0, 0),
(4, 45, 665, 0, 0),
(4, 45, 666, 0, 0),
(4, 45, 667, 0, 0),
(4, 47, 668, 0, 0),
(4, 47, 669, 0, 0),
(4, 47, 670, 0, 0),
(4, 47, 671, 0, 0),
(4, 47, 672, 0, 0),
(4, 47, 673, 0, 0),
(4, 2, 674, 0, 0),
(4, 29, 675, 0, 0),
(4, 23, 676, 0, 0),
(4, 23, 677, 0, 0),
(4, 23, 678, 0, 0),
(4, 23, 679, 0, 0),
(4, 23, 680, 0, 0),
(4, 23, 681, 0, 0),
(4, 23, 682, 0, 0),
(4, 23, 683, 0, 0),
(4, 23, 684, 0, 0),
(4, 22, 685, 0, 0),
(4, 22, 686, 0, 0),
(4, 22, 687, 0, 0),
(4, 22, 688, 0, 0),
(4, 22, 689, 0, 0),
(4, 22, 690, 0, 0),
(4, 22, 691, 0, 0),
(4, 22, 692, 0, 0),
(4, 22, 693, 0, 0),
(4, 21, 694, 0, 0),
(4, 21, 695, 0, 0),
(4, 21, 696, 0, 0),
(4, 21, 697, 0, 0),
(4, 21, 698, 0, 0),
(4, 21, 699, 0, 0),
(4, 21, 700, 0, 0),
(4, 21, 701, 0, 0),
(4, 21, 702, 0, 0),
(4, 20, 703, 0, 0),
(4, 20, 704, 0, 0),
(4, 20, 705, 0, 0),
(4, 20, 706, 0, 0),
(4, 20, 707, 0, 0),
(4, 20, 708, 0, 0),
(4, 20, 709, 0, 0),
(4, 20, 710, 0, 0),
(4, 20, 711, 0, 0),
(4, 29, 712, 0, 0),
(4, 44, 713, 0, 0),
(4, 42, 714, 0, 0),
(4, 29, 715, 0, 0),
(4, 29, 716, 0, 0),
(4, 29, 717, 0, 0),
(4, 23, 718, 0, 0),
(4, 22, 719, 0, 0),
(4, 21, 720, 0, 0),
(4, 20, 721, 0, 0),
(4, 29, 722, 0, 0),
(4, 6, 723, 0, 1),
(4, 4, 724, 0, 1),
(4, 2, 725, 0, 0),
(4, 29, 726, 0, 0),
(4, 23, 727, 0, 0),
(4, 23, 728, 0, 0),
(4, 21, 729, 0, 0),
(4, 21, 730, 0, 0),
(4, 18, 731, 0, 0),
(4, 7, 732, 0, 0),
(4, 42, 733, 0, 0),
(4, 42, 734, 0, 0),
(4, 23, 735, 0, 0),
(4, 20, 736, 0, 0),
(4, 21, 737, 0, 0),
(4, 22, 738, 0, 0),
(4, 29, 739, 0, 0),
(4, 2, 740, 0, 0),
(4, 13, 741, 0, 0),
(4, 29, 742, 0, 0),
(4, 29, 743, 0, 0),
(4, 29, 744, 0, 0),
(4, 29, 745, 0, 0),
(4, 14, 772, 0, 0),
(4, 36, 773, 0, 0),
(4, 23, 774, 0, 0),
(4, 29, 775, 0, 0),
(4, 23, 776, 0, 0),
(4, 23, 777, 0, 0),
(4, 23, 778, 0, 0),
(4, 20, 779, 0, 0),
(4, 20, 780, 0, 0),
(4, 20, 781, 0, 0),
(4, 21, 782, 0, 0),
(4, 22, 783, 0, 0),
(4, 22, 784, 0, 0),
(4, 22, 785, 0, 0),
(4, 42, 786, 0, 0),
(4, 42, 787, 0, 0),
(4, 42, 788, 0, 0),
(4, 2, 789, 0, 0),
(4, 4, 790, 0, 1),
(4, 6, 791, 0, 1),
(4, 7, 792, 0, 0),
(4, 8, 793, 0, 1),
(4, 9, 794, 0, 1),
(4, 10, 795, 0, 1),
(4, 13, 796, 0, 0),
(4, 14, 797, 0, 0),
(4, 15, 798, 0, 1),
(4, 16, 799, 0, 1),
(4, 18, 800, 0, 1),
(4, 19, 801, 0, 0),
(4, 20, 802, 0, 1),
(4, 21, 803, 0, 1),
(4, 22, 804, 0, 1),
(4, 23, 805, 0, 1),
(4, 26, 806, 0, 0),
(4, 10, 807, 0, 0),
(4, 2, 808, 0, 0),
(4, 4, 809, 0, 0),
(4, 6, 810, 0, 0),
(4, 7, 811, 0, 0),
(4, 8, 812, 0, 0),
(4, 9, 813, 0, 0),
(4, 10, 814, 0, 0),
(4, 13, 815, 0, 0),
(4, 14, 816, 0, 0),
(4, 15, 817, 0, 0),
(4, 16, 818, 0, 1),
(4, 18, 819, 0, 0),
(4, 19, 820, 0, 0),
(4, 20, 821, 0, 0),
(4, 21, 822, 0, 0),
(4, 22, 823, 0, 0),
(4, 23, 824, 0, 0),
(4, 26, 825, 0, 0),
(4, 34, 826, 0, 0),
(4, 2, 827, 0, 0),
(4, 4, 828, 0, 0),
(4, 6, 829, 0, 0),
(4, 7, 830, 0, 0),
(4, 8, 831, 0, 0),
(4, 9, 832, 0, 0),
(4, 10, 833, 0, 0),
(4, 13, 834, 0, 0),
(4, 14, 835, 0, 0),
(4, 15, 836, 0, 0),
(4, 16, 837, 0, 1),
(4, 18, 838, 0, 0),
(4, 19, 839, 0, 0),
(4, 20, 840, 0, 0),
(4, 21, 841, 0, 0),
(4, 22, 842, 0, 0),
(4, 23, 843, 0, 0),
(4, 26, 844, 0, 0),
(4, 34, 845, 0, 0),
(4, 20, 846, 0, 0),
(4, 21, 847, 0, 0),
(4, 22, 848, 0, 0),
(4, 23, 849, 0, 0),
(4, 45, 850, 0, 0),
(4, 45, 851, 0, 0),
(4, 51, 852, 0, 0),
(4, 51, 853, 0, 0),
(4, 51, 854, 0, 0),
(4, 51, 855, 0, 0),
(4, 51, 856, 0, 0),
(4, 51, 857, 0, 0),
(4, 51, 858, 0, 0),
(4, 51, 859, 0, 0),
(4, 51, 860, 0, 0),
(4, 51, 861, 0, 0),
(4, 51, 862, 0, 0),
(4, 51, 863, 0, 0),
(4, 51, 864, 0, 0),
(4, 51, 865, 0, 0),
(4, 51, 866, 0, 0),
(4, 51, 867, 0, 0),
(4, 51, 868, 0, 0),
(4, 51, 869, 0, 0),
(4, 51, 870, 0, 0),
(4, 51, 871, 0, 0),
(4, 51, 872, 0, 0),
(4, 51, 873, 0, 0),
(4, 51, 874, 0, 0),
(4, 51, 875, 0, 0),
(4, 51, 876, 0, 0),
(4, 51, 877, 0, 0),
(4, 51, 878, 0, 0),
(4, 51, 879, 0, 0),
(4, 51, 880, 0, 0),
(4, 6, 882, 0, 0),
(4, 23, 884, 0, 0),
(4, 21, 886, 0, 0),
(4, 21, 888, 0, 0),
(4, 21, 890, 0, 0),
(4, 21, 892, 0, 0),
(4, 21, 894, 0, 0),
(4, 21, 896, 0, 0),
(4, 21, 898, 0, 0),
(4, 21, 900, 0, 0),
(4, 21, 906, 0, 0),
(4, 21, 908, 0, 0),
(4, 21, 910, 0, 0),
(4, 21, 912, 0, 0),
(4, 21, 914, 0, 0),
(4, 21, 916, 0, 0),
(4, 21, 918, 0, 0),
(4, 21, 920, 0, 0),
(4, 21, 922, 0, 0),
(4, 21, 924, 0, 0),
(4, 21, 926, 0, 0),
(4, 21, 930, 0, 0),
(4, 21, 934, 0, 0),
(4, 21, 938, 0, 0),
(4, 21, 944, 0, 0),
(4, 21, 946, 0, 0),
(4, 21, 950, 0, 0),
(4, 21, 952, 0, 0),
(4, 21, 954, 0, 0),
(4, 21, 956, 0, 0),
(4, 21, 958, 0, 0),
(4, 21, 960, 0, 0),
(4, 21, 962, 0, 0),
(4, 21, 964, 0, 0),
(4, 23, 967, 0, 1),
(4, 23, 968, 0, 1),
(4, 22, 969, 0, 0),
(4, 22, 970, 0, 0),
(4, 21, 971, 0, 1),
(4, 21, 972, 0, 1),
(4, 2, 973, 0, 0),
(4, 2, 974, 0, 0),
(4, 51, 977, 0, 0),
(4, 51, 978, 0, 0),
(4, 51, 979, 0, 0),
(4, 51, 980, 0, 0),
(4, 51, 981, 0, 0),
(4, 51, 982, 0, 0),
(4, 51, 983, 0, 0),
(4, 51, 984, 0, 0),
(4, 51, 985, 0, 0),
(4, 51, 986, 0, 0),
(4, 51, 987, 0, 0),
(4, 51, 988, 0, 0),
(4, 51, 989, 0, 1),
(4, 51, 990, 0, 1),
(4, 51, 991, 0, 0),
(4, 51, 992, 0, 0),
(4, 51, 993, 0, 1),
(4, 51, 994, 0, 0),
(4, 51, 995, 0, 1),
(4, 51, 996, 0, 0),
(4, 51, 997, 0, 1),
(4, 51, 998, 0, 0),
(4, 51, 999, 0, 0),
(4, 51, 1000, 0, 0),
(4, 51, 1001, 0, 1),
(4, 51, 1002, 0, 0),
(4, 51, 1003, 0, 1),
(4, 51, 1004, 0, 0),
(4, 51, 1005, 0, 0),
(4, 23, 1007, 0, 0),
(4, 23, 1009, 0, 0),
(4, 23, 1011, 0, 0),
(4, 52, 1012, 0, 0),
(4, 52, 1013, 0, 0),
(4, 52, 1014, 0, 0),
(4, 52, 1015, 0, 0),
(4, 52, 1016, 0, 0),
(4, 52, 1017, 0, 0),
(4, 52, 1018, 0, 0),
(4, 52, 1019, 0, 0),
(4, 52, 1020, 0, 0),
(4, 21, 1022, 0, 0),
(4, 21, 1024, 0, 0),
(4, 21, 1026, 0, 0),
(4, 21, 1028, 0, 0),
(4, 21, 1030, 0, 0),
(4, 21, 1032, 0, 0),
(4, 21, 1034, 0, 0),
(4, 21, 1036, 0, 0),
(4, 21, 1040, 0, 0),
(4, 21, 1042, 0, 0),
(4, 21, 1044, 0, 0),
(5, 6, 1, 0, 0),
(5, 6, 2, 0, 0),
(5, 6, 3, 0, 0),
(5, 6, 4, 0, 0),
(5, 6, 5, 0, 0),
(5, 6, 7, 0, 0),
(5, 6, 8, 0, 0),
(5, 6, 9, 0, 0),
(5, 6, 10, 0, 0),
(5, 6, 11, 0, 0),
(5, 6, 12, 0, 0),
(5, 6, 14, 0, 0),
(5, 6, 16, 0, 0),
(5, 6, 17, 0, 0),
(5, 6, 18, 0, 0),
(5, 6, 19, 0, 0),
(5, 6, 20, 0, 0),
(5, 6, 21, 0, 1),
(5, 6, 22, 0, 1),
(5, 6, 23, 0, 0),
(5, 6, 24, 0, 0),
(5, 6, 26, 0, 0),
(5, 6, 30, 0, 0),
(5, 6, 32, 0, 0),
(5, 6, 36, 0, 0),
(5, 4, 66, 0, 0),
(5, 4, 67, 0, 0),
(5, 4, 68, 0, 0),
(5, 4, 69, 0, 0),
(5, 4, 70, 0, 0),
(5, 4, 71, 0, 0),
(5, 4, 72, 0, 0),
(5, 4, 73, 0, 0),
(5, 4, 74, 0, 0),
(5, 4, 75, 0, 0),
(5, 4, 76, 0, 0),
(5, 4, 77, 0, 0),
(5, 4, 78, 0, 0),
(5, 4, 79, 0, 0),
(5, 4, 80, 0, 0),
(5, 4, 81, 0, 0),
(5, 4, 82, 0, 0),
(5, 4, 83, 0, 0),
(5, 4, 84, 0, 0),
(5, 4, 85, 0, 0),
(5, 4, 86, 0, 0),
(5, 4, 87, 0, 0),
(5, 4, 88, 0, 0),
(5, 4, 89, 0, 0),
(5, 4, 90, 0, 1),
(5, 4, 91, 0, 1),
(5, 4, 92, 0, 0),
(5, 4, 93, 0, 0),
(5, 4, 94, 0, 0),
(5, 4, 95, 0, 0),
(5, 4, 96, 0, 0),
(5, 4, 98, 0, 0),
(5, 4, 102, 0, 0);
INSERT INTO `vtiger_profile2field` (`profileid`, `tabid`, `fieldid`, `visible`, `readonly`) VALUES
(5, 4, 104, 0, 0),
(5, 4, 108, 0, 0),
(5, 4, 109, 0, 0),
(5, 8, 205, 0, 0),
(5, 8, 206, 0, 1),
(5, 8, 207, 0, 1),
(5, 8, 208, 0, 0),
(5, 8, 209, 0, 0),
(5, 8, 210, 0, 0),
(5, 8, 211, 0, 1),
(5, 8, 212, 0, 1),
(5, 8, 213, 0, 0),
(5, 8, 214, 0, 0),
(5, 8, 215, 0, 0),
(5, 8, 216, 0, 1),
(5, 8, 217, 0, 0),
(5, 8, 218, 0, 0),
(5, 8, 219, 0, 0),
(5, 10, 220, 0, 0),
(5, 10, 221, 0, 0),
(5, 10, 222, 0, 0),
(5, 10, 223, 0, 0),
(5, 10, 224, 0, 0),
(5, 10, 225, 0, 0),
(5, 10, 226, 0, 0),
(5, 10, 227, 0, 0),
(5, 10, 228, 0, 0),
(5, 10, 229, 0, 1),
(5, 10, 230, 0, 0),
(5, 10, 231, 0, 0),
(5, 9, 232, 0, 0),
(5, 9, 233, 0, 0),
(5, 9, 234, 0, 0),
(5, 9, 235, 0, 0),
(5, 9, 236, 0, 0),
(5, 9, 237, 0, 0),
(5, 9, 238, 0, 0),
(5, 9, 239, 0, 0),
(5, 9, 240, 0, 0),
(5, 9, 241, 0, 0),
(5, 9, 242, 0, 0),
(5, 9, 243, 0, 0),
(5, 9, 244, 0, 1),
(5, 9, 245, 0, 1),
(5, 9, 246, 0, 0),
(5, 9, 247, 0, 0),
(5, 9, 248, 0, 0),
(5, 9, 249, 0, 0),
(5, 9, 250, 0, 0),
(5, 9, 251, 0, 0),
(5, 9, 252, 0, 0),
(5, 9, 253, 0, 0),
(5, 9, 254, 0, 0),
(5, 9, 255, 0, 0),
(5, 16, 256, 0, 0),
(5, 16, 257, 0, 0),
(5, 16, 258, 0, 0),
(5, 16, 259, 0, 0),
(5, 16, 260, 0, 0),
(5, 16, 261, 0, 0),
(5, 16, 262, 0, 0),
(5, 16, 263, 0, 0),
(5, 16, 264, 0, 0),
(5, 16, 265, 0, 0),
(5, 16, 266, 0, 0),
(5, 16, 267, 0, 0),
(5, 16, 268, 0, 0),
(5, 16, 269, 0, 0),
(5, 16, 270, 0, 1),
(5, 16, 271, 0, 1),
(5, 16, 272, 0, 0),
(5, 16, 273, 0, 0),
(5, 16, 274, 0, 0),
(5, 16, 275, 0, 0),
(5, 16, 276, 0, 0),
(5, 16, 277, 0, 0),
(5, 16, 278, 0, 0),
(5, 15, 279, 0, 0),
(5, 15, 280, 0, 0),
(5, 15, 281, 0, 0),
(5, 15, 282, 0, 0),
(5, 15, 283, 0, 0),
(5, 15, 284, 0, 0),
(5, 15, 286, 0, 1),
(5, 15, 287, 0, 1),
(5, 15, 288, 0, 0),
(5, 18, 289, 0, 0),
(5, 18, 290, 0, 0),
(5, 18, 291, 0, 0),
(5, 18, 292, 0, 0),
(5, 18, 293, 0, 0),
(5, 18, 294, 0, 0),
(5, 18, 295, 0, 0),
(5, 18, 296, 0, 1),
(5, 18, 297, 0, 1),
(5, 18, 298, 0, 0),
(5, 18, 299, 0, 0),
(5, 18, 300, 0, 0),
(5, 18, 301, 0, 0),
(5, 18, 302, 0, 0),
(5, 18, 303, 0, 0),
(5, 18, 304, 0, 0),
(5, 18, 305, 0, 0),
(5, 20, 314, 0, 0),
(5, 20, 315, 0, 0),
(5, 20, 317, 0, 0),
(5, 20, 318, 0, 0),
(5, 20, 319, 0, 0),
(5, 20, 321, 0, 0),
(5, 20, 324, 0, 0),
(5, 20, 325, 0, 0),
(5, 20, 326, 0, 0),
(5, 20, 327, 0, 0),
(5, 20, 328, 0, 0),
(5, 20, 329, 0, 0),
(5, 20, 330, 0, 0),
(5, 20, 331, 0, 0),
(5, 20, 332, 0, 1),
(5, 20, 333, 0, 1),
(5, 20, 334, 0, 0),
(5, 20, 335, 0, 0),
(5, 20, 336, 0, 0),
(5, 20, 337, 0, 0),
(5, 20, 339, 0, 0),
(5, 20, 343, 0, 0),
(5, 20, 345, 0, 0),
(5, 20, 349, 0, 0),
(5, 20, 350, 0, 0),
(5, 21, 351, 0, 0),
(5, 21, 352, 0, 0),
(5, 21, 353, 0, 0),
(5, 21, 356, 0, 0),
(5, 21, 357, 0, 0),
(5, 21, 359, 0, 0),
(5, 21, 362, 0, 0),
(5, 21, 363, 0, 0),
(5, 21, 364, 0, 0),
(5, 21, 366, 0, 0),
(5, 21, 367, 0, 0),
(5, 21, 368, 0, 0),
(5, 21, 369, 0, 0),
(5, 21, 370, 0, 1),
(5, 21, 371, 0, 1),
(5, 21, 372, 0, 0),
(5, 21, 373, 0, 0),
(5, 21, 374, 0, 0),
(5, 21, 375, 0, 0),
(5, 21, 377, 0, 0),
(5, 21, 381, 0, 0),
(5, 21, 383, 0, 0),
(5, 21, 387, 0, 0),
(5, 21, 388, 0, 0),
(5, 22, 389, 0, 0),
(5, 22, 390, 0, 0),
(5, 22, 391, 0, 0),
(5, 22, 392, 0, 0),
(5, 22, 393, 0, 0),
(5, 22, 394, 0, 0),
(5, 22, 395, 0, 0),
(5, 22, 396, 0, 0),
(5, 22, 397, 0, 0),
(5, 22, 398, 0, 0),
(5, 22, 399, 0, 0),
(5, 22, 400, 0, 0),
(5, 22, 401, 0, 0),
(5, 22, 402, 0, 0),
(5, 22, 403, 0, 0),
(5, 22, 404, 0, 0),
(5, 22, 405, 0, 0),
(5, 22, 406, 0, 0),
(5, 22, 407, 0, 0),
(5, 22, 408, 0, 0),
(5, 22, 409, 0, 0),
(5, 22, 410, 0, 0),
(5, 22, 411, 0, 1),
(5, 22, 412, 0, 1),
(5, 22, 413, 0, 0),
(5, 22, 414, 0, 0),
(5, 22, 415, 0, 0),
(5, 22, 416, 0, 0),
(5, 22, 417, 0, 0),
(5, 22, 418, 0, 0),
(5, 22, 419, 0, 0),
(5, 22, 420, 0, 0),
(5, 22, 421, 0, 0),
(5, 22, 422, 0, 0),
(5, 22, 423, 0, 0),
(5, 22, 424, 0, 0),
(5, 22, 425, 0, 0),
(5, 22, 426, 0, 0),
(5, 22, 427, 0, 0),
(5, 22, 428, 0, 0),
(5, 22, 429, 0, 0),
(5, 22, 430, 0, 0),
(5, 22, 431, 0, 0),
(5, 22, 432, 0, 0),
(5, 22, 433, 0, 0),
(5, 22, 434, 0, 0),
(5, 22, 435, 0, 0),
(5, 23, 436, 0, 0),
(5, 23, 439, 0, 0),
(5, 23, 440, 0, 0),
(5, 23, 441, 0, 0),
(5, 23, 443, 0, 0),
(5, 23, 446, 0, 0),
(5, 23, 447, 0, 0),
(5, 23, 448, 0, 0),
(5, 23, 449, 0, 0),
(5, 23, 450, 0, 0),
(5, 23, 451, 0, 0),
(5, 23, 452, 0, 0),
(5, 23, 453, 0, 0),
(5, 23, 454, 0, 0),
(5, 23, 455, 0, 1),
(5, 23, 456, 0, 1),
(5, 23, 457, 0, 0),
(5, 23, 458, 0, 0),
(5, 23, 459, 0, 0),
(5, 23, 460, 0, 0),
(5, 23, 462, 0, 0),
(5, 23, 466, 0, 0),
(5, 23, 468, 0, 0),
(5, 23, 472, 0, 0),
(5, 23, 473, 0, 0),
(5, 23, 474, 0, 0),
(5, 29, 475, 0, 0),
(5, 29, 479, 0, 0),
(5, 29, 480, 0, 0),
(5, 29, 481, 0, 0),
(5, 29, 482, 0, 0),
(5, 29, 489, 0, 0),
(5, 29, 490, 0, 0),
(5, 29, 491, 0, 0),
(5, 29, 492, 0, 0),
(5, 29, 493, 0, 0),
(5, 29, 494, 0, 0),
(5, 29, 495, 0, 0),
(5, 29, 496, 0, 0),
(5, 29, 497, 0, 0),
(5, 29, 498, 0, 0),
(5, 29, 499, 0, 0),
(5, 29, 504, 0, 0),
(5, 29, 505, 0, 0),
(5, 29, 506, 0, 0),
(5, 29, 507, 0, 0),
(5, 29, 510, 0, 0),
(5, 10, 520, 0, 0),
(5, 10, 521, 0, 0),
(5, 10, 522, 0, 0),
(5, 10, 523, 0, 0),
(5, 10, 524, 0, 0),
(5, 10, 525, 0, 0),
(5, 29, 543, 0, 0),
(5, 36, 566, 0, 0),
(5, 36, 567, 0, 0),
(5, 36, 568, 0, 0),
(5, 36, 574, 0, 1),
(5, 36, 575, 0, 1),
(5, 36, 576, 0, 0),
(5, 36, 577, 0, 0),
(5, 36, 578, 0, 0),
(5, 36, 579, 0, 0),
(5, 36, 580, 0, 0),
(5, 36, 581, 0, 0),
(5, 36, 584, 0, 0),
(5, 36, 585, 0, 1),
(5, 36, 586, 0, 0),
(5, 36, 587, 0, 0),
(5, 42, 609, 0, 0),
(5, 42, 610, 0, 0),
(5, 42, 611, 0, 1),
(5, 42, 612, 0, 1),
(5, 42, 613, 0, 0),
(5, 42, 614, 0, 1),
(5, 42, 615, 0, 0),
(5, 42, 616, 0, 1),
(5, 23, 676, 0, 0),
(5, 23, 677, 0, 0),
(5, 23, 678, 0, 0),
(5, 23, 679, 0, 0),
(5, 22, 685, 0, 0),
(5, 22, 686, 0, 0),
(5, 22, 687, 0, 0),
(5, 22, 688, 0, 0),
(5, 22, 689, 0, 0),
(5, 22, 690, 0, 0),
(5, 21, 694, 0, 0),
(5, 21, 695, 0, 0),
(5, 21, 696, 0, 0),
(5, 21, 697, 0, 0),
(5, 20, 703, 0, 0),
(5, 20, 704, 0, 0),
(5, 20, 705, 0, 0),
(5, 20, 706, 0, 0),
(5, 42, 714, 0, 0),
(5, 23, 718, 0, 0),
(5, 22, 719, 0, 0),
(5, 21, 720, 0, 0),
(5, 20, 721, 0, 0),
(5, 6, 723, 0, 1),
(5, 4, 724, 0, 1),
(5, 23, 727, 0, 0),
(5, 23, 728, 0, 0),
(5, 21, 729, 0, 0),
(5, 21, 730, 0, 0),
(5, 18, 731, 0, 0),
(5, 42, 733, 0, 0),
(5, 42, 734, 0, 0),
(5, 23, 735, 0, 0),
(5, 20, 736, 0, 0),
(5, 21, 737, 0, 0),
(5, 22, 738, 0, 0),
(5, 36, 773, 0, 0),
(5, 42, 786, 0, 0),
(5, 42, 787, 0, 0),
(5, 42, 788, 0, 0),
(5, 4, 790, 0, 1),
(5, 6, 791, 0, 1),
(5, 8, 793, 0, 1),
(5, 9, 794, 0, 1),
(5, 10, 795, 0, 1),
(5, 15, 798, 0, 1),
(5, 16, 799, 0, 1),
(5, 18, 800, 0, 1),
(5, 20, 802, 0, 1),
(5, 21, 803, 0, 1),
(5, 22, 804, 0, 1),
(5, 23, 805, 0, 1),
(5, 10, 807, 0, 0),
(5, 4, 809, 0, 0),
(5, 6, 810, 0, 0),
(5, 8, 812, 0, 0),
(5, 9, 813, 0, 0),
(5, 10, 814, 0, 0),
(5, 15, 817, 0, 0),
(5, 16, 818, 0, 1),
(5, 18, 819, 0, 0),
(5, 20, 821, 0, 0),
(5, 21, 822, 0, 0),
(5, 22, 823, 0, 0),
(5, 23, 824, 0, 0),
(5, 4, 828, 0, 0),
(5, 6, 829, 0, 0),
(5, 8, 831, 0, 0),
(5, 9, 832, 0, 0),
(5, 10, 833, 0, 0),
(5, 15, 836, 0, 0),
(5, 16, 837, 0, 1),
(5, 18, 838, 0, 0),
(5, 20, 840, 0, 0),
(5, 21, 841, 0, 0),
(5, 22, 842, 0, 0),
(5, 23, 843, 0, 0),
(5, 22, 848, 0, 0),
(5, 51, 852, 0, 0),
(5, 51, 853, 0, 0),
(5, 51, 854, 0, 0),
(5, 51, 856, 0, 0),
(5, 51, 857, 0, 0),
(5, 51, 859, 0, 0),
(5, 51, 860, 0, 0),
(5, 51, 861, 0, 0),
(5, 51, 863, 0, 0),
(5, 51, 864, 0, 1),
(5, 51, 865, 0, 1),
(5, 51, 866, 0, 0),
(5, 51, 868, 0, 1),
(5, 51, 869, 0, 0),
(5, 51, 870, 0, 1),
(5, 51, 871, 0, 0),
(5, 51, 872, 0, 1),
(5, 51, 873, 0, 0),
(5, 51, 876, 0, 1),
(5, 51, 878, 0, 1),
(5, 51, 879, 0, 0),
(5, 51, 880, 0, 0),
(5, 6, 882, 0, 0),
(5, 23, 884, 0, 0),
(5, 21, 886, 0, 0),
(5, 21, 888, 0, 0),
(5, 21, 890, 0, 0),
(5, 21, 892, 0, 0),
(5, 21, 894, 0, 0),
(5, 21, 896, 0, 0),
(5, 21, 898, 0, 0),
(5, 21, 900, 0, 0),
(5, 21, 906, 0, 0),
(5, 21, 908, 0, 0),
(5, 21, 910, 0, 0),
(5, 21, 912, 0, 0),
(5, 21, 914, 0, 0),
(5, 21, 916, 0, 0),
(5, 21, 918, 0, 0),
(5, 21, 920, 0, 0),
(5, 21, 922, 0, 0),
(5, 21, 924, 0, 0),
(5, 21, 926, 0, 0),
(5, 21, 930, 0, 0),
(5, 21, 934, 0, 0),
(5, 21, 938, 0, 0),
(5, 21, 944, 0, 0),
(5, 21, 946, 0, 0),
(5, 21, 950, 0, 0),
(5, 21, 952, 0, 0),
(5, 21, 954, 0, 0),
(5, 21, 956, 0, 0),
(5, 21, 958, 0, 0),
(5, 21, 960, 0, 0),
(5, 21, 962, 0, 0),
(5, 21, 964, 0, 0),
(5, 23, 967, 0, 1),
(5, 23, 968, 0, 1),
(5, 22, 969, 0, 1),
(5, 22, 970, 0, 1),
(5, 21, 971, 0, 1),
(5, 21, 972, 0, 1),
(5, 51, 977, 0, 0),
(5, 51, 978, 0, 0),
(5, 51, 979, 0, 0),
(5, 51, 980, 0, 0),
(5, 51, 981, 0, 0),
(5, 51, 982, 0, 0),
(5, 51, 983, 0, 0),
(5, 51, 984, 0, 0),
(5, 51, 985, 0, 0),
(5, 51, 986, 0, 0),
(5, 51, 987, 0, 0),
(5, 51, 988, 0, 0),
(5, 51, 989, 0, 1),
(5, 51, 990, 0, 1),
(5, 51, 991, 0, 0),
(5, 51, 992, 0, 0),
(5, 51, 993, 0, 1),
(5, 51, 994, 0, 0),
(5, 51, 995, 0, 1),
(5, 51, 996, 0, 0),
(5, 51, 997, 0, 1),
(5, 51, 998, 0, 0),
(5, 51, 999, 0, 0),
(5, 51, 1000, 0, 0),
(5, 51, 1001, 0, 1),
(5, 51, 1002, 0, 0),
(5, 51, 1003, 0, 1),
(5, 51, 1004, 0, 0),
(5, 51, 1005, 0, 0),
(5, 23, 1007, 0, 0),
(5, 23, 1009, 0, 0),
(5, 23, 1011, 0, 0),
(5, 52, 1012, 0, 0),
(5, 52, 1013, 0, 0),
(5, 52, 1014, 0, 0),
(5, 52, 1015, 0, 0),
(5, 52, 1016, 0, 0),
(5, 52, 1017, 0, 0),
(5, 52, 1018, 0, 0),
(5, 52, 1019, 0, 0),
(5, 52, 1020, 0, 0),
(5, 21, 1022, 0, 0),
(5, 21, 1024, 0, 0),
(5, 21, 1026, 0, 0),
(5, 21, 1028, 0, 0),
(5, 21, 1030, 0, 0),
(5, 21, 1032, 0, 0),
(5, 21, 1034, 0, 0),
(5, 21, 1036, 0, 0),
(5, 21, 1040, 0, 0),
(5, 21, 1042, 0, 0),
(5, 21, 1044, 0, 0),
(6, 6, 1, 0, 0),
(6, 6, 2, 0, 0),
(6, 6, 3, 0, 0),
(6, 6, 4, 0, 0),
(6, 6, 5, 0, 0),
(6, 6, 7, 0, 0),
(6, 6, 8, 0, 0),
(6, 6, 9, 0, 0),
(6, 6, 10, 0, 0),
(6, 6, 11, 0, 0),
(6, 6, 12, 0, 0),
(6, 6, 14, 0, 0),
(6, 6, 16, 0, 0),
(6, 6, 17, 0, 0),
(6, 6, 18, 0, 0),
(6, 6, 19, 0, 0),
(6, 6, 20, 0, 0),
(6, 6, 21, 0, 1),
(6, 6, 22, 0, 1),
(6, 6, 23, 0, 0),
(6, 6, 24, 0, 0),
(6, 6, 26, 0, 0),
(6, 6, 30, 0, 0),
(6, 6, 32, 0, 0),
(6, 6, 36, 0, 0),
(6, 4, 66, 0, 0),
(6, 4, 67, 0, 0),
(6, 4, 68, 0, 0),
(6, 4, 69, 0, 0),
(6, 4, 70, 0, 0),
(6, 4, 71, 0, 0),
(6, 4, 72, 0, 0),
(6, 4, 73, 0, 0),
(6, 4, 74, 0, 0),
(6, 4, 75, 0, 0),
(6, 4, 76, 0, 0),
(6, 4, 77, 0, 0),
(6, 4, 78, 0, 0),
(6, 4, 79, 0, 0),
(6, 4, 80, 0, 0),
(6, 4, 81, 0, 0),
(6, 4, 82, 0, 0),
(6, 4, 83, 0, 0),
(6, 4, 84, 0, 0),
(6, 4, 85, 0, 0),
(6, 4, 86, 0, 0),
(6, 4, 87, 0, 0),
(6, 4, 88, 0, 0),
(6, 4, 89, 0, 0),
(6, 4, 90, 0, 1),
(6, 4, 91, 0, 1),
(6, 4, 92, 0, 0),
(6, 4, 93, 0, 0),
(6, 4, 94, 0, 0),
(6, 4, 95, 0, 0),
(6, 4, 96, 0, 0),
(6, 4, 98, 0, 0),
(6, 4, 102, 0, 0),
(6, 4, 104, 0, 0),
(6, 4, 108, 0, 0),
(6, 4, 109, 0, 0),
(6, 8, 205, 0, 0),
(6, 8, 206, 0, 1),
(6, 8, 207, 0, 1),
(6, 8, 208, 0, 0),
(6, 8, 209, 0, 0),
(6, 8, 210, 0, 0),
(6, 8, 211, 0, 1),
(6, 8, 212, 0, 1),
(6, 8, 213, 0, 0),
(6, 8, 214, 0, 0),
(6, 8, 215, 0, 0),
(6, 8, 216, 0, 1),
(6, 8, 217, 0, 0),
(6, 8, 218, 0, 0),
(6, 8, 219, 0, 0),
(6, 10, 220, 0, 0),
(6, 10, 221, 0, 0),
(6, 10, 222, 0, 0),
(6, 10, 223, 0, 0),
(6, 10, 224, 0, 0),
(6, 10, 225, 0, 0),
(6, 10, 226, 0, 0),
(6, 10, 227, 0, 0),
(6, 10, 228, 0, 0),
(6, 10, 229, 0, 1),
(6, 10, 230, 0, 0),
(6, 10, 231, 0, 0),
(6, 9, 232, 0, 0),
(6, 9, 233, 0, 0),
(6, 9, 234, 0, 0),
(6, 9, 235, 0, 0),
(6, 9, 236, 0, 0),
(6, 9, 237, 0, 0),
(6, 9, 238, 0, 0),
(6, 9, 239, 0, 0),
(6, 9, 240, 0, 0),
(6, 9, 241, 0, 0),
(6, 9, 242, 0, 0),
(6, 9, 243, 0, 0),
(6, 9, 244, 0, 1),
(6, 9, 245, 0, 1),
(6, 9, 246, 0, 0),
(6, 9, 247, 0, 0),
(6, 9, 248, 0, 0),
(6, 9, 249, 0, 0),
(6, 9, 250, 0, 0),
(6, 9, 251, 0, 0),
(6, 9, 252, 0, 0),
(6, 9, 253, 0, 0),
(6, 9, 254, 0, 0),
(6, 9, 255, 0, 0),
(6, 16, 256, 0, 0),
(6, 16, 257, 0, 0),
(6, 16, 258, 0, 0),
(6, 16, 259, 0, 0),
(6, 16, 260, 0, 0),
(6, 16, 261, 0, 0),
(6, 16, 262, 0, 0),
(6, 16, 263, 0, 0),
(6, 16, 264, 0, 0),
(6, 16, 265, 0, 0),
(6, 16, 266, 0, 0),
(6, 16, 267, 0, 0),
(6, 16, 268, 0, 0),
(6, 16, 269, 0, 0),
(6, 16, 270, 0, 1),
(6, 16, 271, 0, 1),
(6, 16, 272, 0, 0),
(6, 16, 273, 0, 0),
(6, 16, 274, 0, 0),
(6, 16, 275, 0, 0),
(6, 16, 276, 0, 0),
(6, 16, 277, 0, 0),
(6, 16, 278, 0, 0),
(6, 15, 279, 0, 0),
(6, 15, 280, 0, 0),
(6, 15, 281, 0, 0),
(6, 15, 282, 0, 0),
(6, 15, 283, 0, 0),
(6, 15, 284, 0, 0),
(6, 15, 286, 0, 1),
(6, 15, 287, 0, 1),
(6, 15, 288, 0, 0),
(6, 18, 289, 0, 0),
(6, 18, 290, 0, 0),
(6, 18, 291, 0, 0),
(6, 18, 292, 0, 0),
(6, 18, 293, 0, 0),
(6, 18, 294, 0, 0),
(6, 18, 295, 0, 0),
(6, 18, 296, 0, 1),
(6, 18, 297, 0, 1),
(6, 18, 298, 0, 0),
(6, 18, 299, 0, 0),
(6, 18, 300, 0, 0),
(6, 18, 301, 0, 0),
(6, 18, 302, 0, 0),
(6, 18, 303, 0, 0),
(6, 18, 304, 0, 0),
(6, 18, 305, 0, 0),
(6, 20, 314, 0, 0),
(6, 20, 315, 0, 0),
(6, 20, 317, 0, 0),
(6, 20, 318, 0, 0),
(6, 20, 319, 0, 0),
(6, 20, 321, 0, 0),
(6, 20, 324, 0, 0),
(6, 20, 325, 0, 0),
(6, 20, 326, 0, 0),
(6, 20, 327, 0, 0),
(6, 20, 328, 0, 0),
(6, 20, 329, 0, 0),
(6, 20, 330, 0, 0),
(6, 20, 331, 0, 0),
(6, 20, 332, 0, 1),
(6, 20, 333, 0, 1),
(6, 20, 334, 0, 0),
(6, 20, 335, 0, 0),
(6, 20, 336, 0, 0),
(6, 20, 337, 0, 0),
(6, 20, 339, 0, 0),
(6, 20, 343, 0, 0),
(6, 20, 345, 0, 0),
(6, 20, 349, 0, 0),
(6, 20, 350, 0, 0),
(6, 21, 351, 0, 0),
(6, 21, 352, 0, 0),
(6, 21, 353, 0, 0),
(6, 21, 356, 0, 0),
(6, 21, 357, 0, 0),
(6, 21, 359, 0, 0),
(6, 21, 362, 0, 0),
(6, 21, 363, 0, 0),
(6, 21, 364, 0, 0),
(6, 21, 366, 0, 0),
(6, 21, 367, 0, 0),
(6, 21, 368, 0, 0),
(6, 21, 369, 0, 0),
(6, 21, 370, 0, 1),
(6, 21, 371, 0, 1),
(6, 21, 372, 0, 0),
(6, 21, 373, 0, 0),
(6, 21, 374, 0, 0),
(6, 21, 375, 0, 0),
(6, 21, 377, 0, 0),
(6, 21, 381, 0, 0),
(6, 21, 383, 0, 0),
(6, 21, 387, 0, 0),
(6, 21, 388, 0, 0),
(6, 22, 389, 0, 0),
(6, 22, 390, 0, 0),
(6, 22, 391, 0, 0),
(6, 22, 392, 0, 0),
(6, 22, 393, 0, 0),
(6, 22, 394, 0, 0),
(6, 22, 395, 0, 0),
(6, 22, 396, 0, 0),
(6, 22, 397, 0, 0),
(6, 22, 398, 0, 0),
(6, 22, 399, 0, 0),
(6, 22, 400, 0, 0),
(6, 22, 401, 0, 0),
(6, 22, 402, 0, 0),
(6, 22, 403, 0, 0),
(6, 22, 404, 0, 0),
(6, 22, 405, 0, 0),
(6, 22, 406, 0, 0),
(6, 22, 407, 0, 0),
(6, 22, 408, 0, 0),
(6, 22, 409, 0, 0),
(6, 22, 410, 0, 0),
(6, 22, 411, 0, 1),
(6, 22, 412, 0, 1),
(6, 22, 413, 0, 0),
(6, 22, 414, 0, 0),
(6, 22, 415, 0, 0),
(6, 22, 416, 0, 0),
(6, 22, 417, 0, 0),
(6, 22, 418, 0, 0),
(6, 22, 419, 0, 0),
(6, 22, 420, 0, 0),
(6, 22, 421, 0, 0),
(6, 22, 422, 0, 0),
(6, 22, 423, 0, 0),
(6, 22, 424, 0, 0),
(6, 22, 425, 0, 0),
(6, 22, 426, 0, 0),
(6, 22, 427, 0, 0),
(6, 22, 428, 0, 0),
(6, 22, 429, 0, 0),
(6, 22, 430, 0, 0),
(6, 22, 431, 0, 0),
(6, 22, 432, 0, 0),
(6, 22, 433, 0, 0),
(6, 22, 434, 0, 0),
(6, 22, 435, 0, 0),
(6, 23, 436, 0, 0),
(6, 23, 439, 0, 0),
(6, 23, 440, 0, 0),
(6, 23, 441, 0, 0),
(6, 23, 443, 0, 0),
(6, 23, 446, 0, 0),
(6, 23, 447, 0, 0),
(6, 23, 448, 0, 0),
(6, 23, 449, 0, 0),
(6, 23, 450, 0, 0),
(6, 23, 451, 0, 0),
(6, 23, 452, 0, 0),
(6, 23, 453, 0, 0),
(6, 23, 454, 0, 0),
(6, 23, 455, 0, 1),
(6, 23, 456, 0, 1),
(6, 23, 457, 0, 0),
(6, 23, 458, 0, 0),
(6, 23, 459, 0, 0),
(6, 23, 460, 0, 0),
(6, 23, 462, 0, 0),
(6, 23, 466, 0, 0),
(6, 23, 468, 0, 0),
(6, 23, 472, 0, 0),
(6, 23, 473, 0, 0),
(6, 23, 474, 0, 0),
(6, 29, 475, 0, 0),
(6, 29, 479, 0, 0),
(6, 29, 480, 0, 0),
(6, 29, 481, 0, 0),
(6, 29, 482, 0, 0),
(6, 29, 489, 0, 0),
(6, 29, 490, 0, 0),
(6, 29, 491, 0, 0),
(6, 29, 492, 0, 0),
(6, 29, 493, 0, 0),
(6, 29, 494, 0, 0),
(6, 29, 495, 0, 0),
(6, 29, 496, 0, 0),
(6, 29, 497, 0, 0),
(6, 29, 498, 0, 0),
(6, 29, 499, 0, 0),
(6, 29, 504, 0, 0),
(6, 29, 505, 0, 0),
(6, 29, 506, 0, 0),
(6, 29, 507, 0, 0),
(6, 29, 510, 0, 0),
(6, 10, 520, 0, 0),
(6, 10, 521, 0, 0),
(6, 10, 522, 0, 0),
(6, 10, 523, 0, 0),
(6, 10, 524, 0, 0),
(6, 10, 525, 0, 0),
(6, 29, 543, 0, 0),
(6, 36, 566, 0, 0),
(6, 36, 567, 0, 0),
(6, 36, 568, 0, 0),
(6, 36, 574, 0, 1),
(6, 36, 575, 0, 1),
(6, 36, 576, 0, 0),
(6, 36, 577, 0, 0),
(6, 36, 578, 0, 0),
(6, 36, 579, 0, 0),
(6, 36, 580, 0, 0),
(6, 36, 581, 0, 0),
(6, 36, 584, 0, 0),
(6, 36, 585, 0, 1),
(6, 36, 586, 0, 0),
(6, 36, 587, 0, 0),
(6, 42, 609, 0, 0),
(6, 42, 610, 0, 0),
(6, 42, 611, 0, 1),
(6, 42, 612, 0, 1),
(6, 42, 613, 0, 0),
(6, 42, 614, 0, 1),
(6, 42, 615, 0, 0),
(6, 42, 616, 0, 1),
(6, 23, 676, 0, 0),
(6, 23, 677, 0, 0),
(6, 23, 678, 0, 0),
(6, 23, 679, 0, 0),
(6, 22, 685, 0, 0),
(6, 22, 686, 0, 0),
(6, 22, 687, 0, 0),
(6, 22, 688, 0, 0),
(6, 22, 689, 0, 0),
(6, 22, 690, 0, 0),
(6, 21, 694, 0, 0),
(6, 21, 695, 0, 0),
(6, 21, 696, 0, 0),
(6, 21, 697, 0, 0),
(6, 20, 703, 0, 0),
(6, 20, 704, 0, 0),
(6, 20, 705, 0, 0),
(6, 20, 706, 0, 0),
(6, 42, 714, 0, 0),
(6, 23, 718, 0, 0),
(6, 22, 719, 0, 0),
(6, 21, 720, 0, 0),
(6, 20, 721, 0, 0),
(6, 6, 723, 0, 1),
(6, 4, 724, 0, 1),
(6, 23, 727, 0, 0),
(6, 23, 728, 0, 0),
(6, 21, 729, 0, 0),
(6, 21, 730, 0, 0),
(6, 18, 731, 0, 0),
(6, 42, 733, 0, 0),
(6, 42, 734, 0, 0),
(6, 23, 735, 0, 0),
(6, 20, 736, 0, 0),
(6, 21, 737, 0, 0),
(6, 22, 738, 0, 0),
(6, 36, 773, 0, 0),
(6, 42, 786, 0, 0),
(6, 42, 787, 0, 0),
(6, 42, 788, 0, 0),
(6, 4, 790, 0, 1),
(6, 6, 791, 0, 1),
(6, 8, 793, 0, 1),
(6, 9, 794, 0, 1),
(6, 10, 795, 0, 1),
(6, 15, 798, 0, 1),
(6, 16, 799, 0, 1),
(6, 18, 800, 0, 1),
(6, 20, 802, 0, 1),
(6, 21, 803, 0, 1),
(6, 22, 804, 0, 1),
(6, 23, 805, 0, 1),
(6, 10, 807, 0, 0),
(6, 4, 809, 0, 0),
(6, 6, 810, 0, 0),
(6, 8, 812, 0, 0),
(6, 9, 813, 0, 0),
(6, 10, 814, 0, 0),
(6, 15, 817, 0, 0),
(6, 16, 818, 0, 1),
(6, 18, 819, 0, 0),
(6, 20, 821, 0, 0),
(6, 21, 822, 0, 0),
(6, 22, 823, 0, 0),
(6, 23, 824, 0, 0),
(6, 4, 828, 0, 0),
(6, 6, 829, 0, 0),
(6, 8, 831, 0, 0),
(6, 9, 832, 0, 0),
(6, 10, 833, 0, 0),
(6, 15, 836, 0, 0),
(6, 16, 837, 0, 1),
(6, 18, 838, 0, 0),
(6, 20, 840, 0, 0),
(6, 21, 841, 0, 0),
(6, 22, 842, 0, 0),
(6, 23, 843, 0, 0),
(6, 22, 848, 0, 0),
(6, 6, 882, 0, 0),
(6, 23, 884, 0, 0),
(6, 21, 886, 0, 0),
(6, 21, 888, 0, 0),
(6, 21, 890, 0, 0),
(6, 21, 892, 0, 0),
(6, 21, 894, 0, 0),
(6, 21, 896, 0, 0),
(6, 21, 898, 0, 0),
(6, 21, 900, 0, 0),
(6, 21, 906, 0, 0),
(6, 21, 908, 0, 0),
(6, 21, 910, 0, 0),
(6, 21, 912, 0, 0),
(6, 21, 914, 0, 0),
(6, 21, 916, 0, 0),
(6, 21, 918, 0, 0),
(6, 21, 920, 0, 0),
(6, 21, 922, 0, 0),
(6, 21, 924, 0, 0),
(6, 21, 926, 0, 0),
(6, 21, 930, 0, 0),
(6, 21, 934, 0, 0),
(6, 21, 938, 0, 0),
(6, 21, 944, 0, 0),
(6, 21, 946, 0, 0),
(6, 21, 950, 0, 0),
(6, 21, 952, 0, 0),
(6, 21, 954, 0, 0),
(6, 21, 956, 0, 0),
(6, 21, 958, 0, 0),
(6, 21, 960, 0, 0),
(6, 21, 962, 0, 0),
(6, 23, 967, 0, 1),
(6, 23, 968, 0, 1),
(6, 22, 969, 0, 1),
(6, 22, 970, 0, 1),
(6, 21, 971, 0, 1),
(6, 21, 972, 0, 1),
(6, 51, 977, 0, 0),
(6, 51, 978, 0, 0),
(6, 51, 979, 0, 0),
(6, 51, 981, 0, 0),
(6, 51, 982, 0, 0),
(6, 51, 984, 0, 0),
(6, 51, 985, 0, 0),
(6, 51, 986, 0, 0),
(6, 51, 988, 0, 0),
(6, 51, 989, 0, 1),
(6, 51, 990, 0, 1),
(6, 51, 991, 0, 0),
(6, 51, 993, 0, 1),
(6, 51, 994, 0, 0),
(6, 51, 995, 0, 1),
(6, 51, 996, 0, 0),
(6, 51, 997, 0, 1),
(6, 51, 998, 0, 0),
(6, 51, 1001, 0, 1),
(6, 51, 1003, 0, 1),
(6, 51, 1004, 0, 0),
(6, 51, 1005, 0, 0),
(6, 23, 1007, 0, 0),
(6, 23, 1009, 0, 0),
(6, 23, 1011, 0, 0),
(6, 52, 1012, 0, 0),
(6, 52, 1013, 0, 0),
(6, 52, 1014, 0, 0),
(6, 52, 1015, 0, 0),
(6, 52, 1016, 0, 0),
(6, 52, 1017, 0, 0),
(6, 52, 1018, 0, 0),
(6, 52, 1019, 0, 0),
(6, 52, 1020, 0, 0),
(6, 21, 1022, 0, 0),
(6, 21, 1024, 0, 0),
(6, 21, 1026, 0, 0),
(6, 21, 1028, 0, 0),
(6, 21, 1030, 0, 0),
(6, 21, 1032, 0, 0),
(6, 21, 1034, 0, 0),
(6, 21, 1036, 0, 0),
(6, 21, 1040, 0, 0),
(6, 21, 1042, 0, 0),
(6, 21, 1044, 0, 0);

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

--
-- Structure de la table `vtiger_profile2globalpermissions`
--

CREATE TABLE `vtiger_profile2globalpermissions` (
  `profileid` int(19) NOT NULL,
  `globalactionid` int(19) NOT NULL,
  `globalactionpermission` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile2globalpermissions` (`profileid`, `globalactionid`, `globalactionpermission`) VALUES
(1, 1, 0),
(1, 2, 0),
(2, 1, 1),
(2, 2, 1),
(4, 1, 1),
(4, 2, 1),
(5, 1, 1),
(5, 2, 1),
(6, 1, 1),
(6, 2, 1);

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

--
-- Structure de la table `vtiger_profile2standardpermissions`
--

CREATE TABLE `vtiger_profile2standardpermissions` (
  `profileid` int(11) NOT NULL,
  `tabid` int(10) NOT NULL,
  `operation` int(10) NOT NULL,
  `permissions` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile2standardpermissions` (`profileid`, `tabid`, `operation`, `permissions`) VALUES
(1, 2, 0, 0),
(1, 2, 1, 0),
(1, 2, 2, 0),
(1, 2, 3, 0),
(1, 2, 4, 0),
(1, 2, 7, 0),
(1, 4, 0, 0),
(1, 4, 1, 0),
(1, 4, 2, 0),
(1, 4, 3, 0),
(1, 4, 4, 0),
(1, 4, 7, 0),
(1, 6, 0, 0),
(1, 6, 1, 0),
(1, 6, 2, 0),
(1, 6, 3, 0),
(1, 6, 4, 0),
(1, 6, 7, 0),
(1, 7, 0, 0),
(1, 7, 1, 0),
(1, 7, 2, 0),
(1, 7, 3, 0),
(1, 7, 4, 0),
(1, 7, 7, 0),
(1, 8, 0, 0),
(1, 8, 1, 0),
(1, 8, 2, 0),
(1, 8, 3, 0),
(1, 8, 4, 0),
(1, 8, 7, 0),
(1, 9, 0, 0),
(1, 9, 1, 0),
(1, 9, 2, 0),
(1, 9, 3, 0),
(1, 9, 4, 0),
(1, 9, 7, 0),
(1, 13, 0, 0),
(1, 13, 1, 0),
(1, 13, 2, 0),
(1, 13, 3, 0),
(1, 13, 4, 0),
(1, 13, 7, 0),
(1, 14, 0, 0),
(1, 14, 1, 0),
(1, 14, 2, 0),
(1, 14, 3, 0),
(1, 14, 4, 0),
(1, 14, 7, 0),
(1, 15, 0, 0),
(1, 15, 1, 0),
(1, 15, 2, 0),
(1, 15, 3, 0),
(1, 15, 4, 0),
(1, 15, 7, 0),
(1, 16, 0, 0),
(1, 16, 1, 0),
(1, 16, 2, 0),
(1, 16, 3, 0),
(1, 16, 4, 0),
(1, 16, 7, 0),
(1, 18, 0, 0),
(1, 18, 1, 0),
(1, 18, 2, 0),
(1, 18, 3, 0),
(1, 18, 4, 0),
(1, 18, 7, 0),
(1, 19, 0, 0),
(1, 19, 1, 0),
(1, 19, 2, 0),
(1, 19, 3, 0),
(1, 19, 4, 0),
(1, 19, 7, 0),
(1, 20, 0, 0),
(1, 20, 1, 0),
(1, 20, 2, 0),
(1, 20, 3, 0),
(1, 20, 4, 0),
(1, 20, 7, 0),
(1, 21, 0, 0),
(1, 21, 1, 0),
(1, 21, 2, 0),
(1, 21, 3, 0),
(1, 21, 4, 0),
(1, 21, 7, 0),
(1, 22, 0, 0),
(1, 22, 1, 0),
(1, 22, 2, 0),
(1, 22, 3, 0),
(1, 22, 4, 0),
(1, 22, 7, 0),
(1, 23, 0, 0),
(1, 23, 1, 0),
(1, 23, 2, 0),
(1, 23, 3, 0),
(1, 23, 4, 0),
(1, 23, 7, 0),
(1, 25, 0, 1),
(1, 25, 1, 0),
(1, 25, 2, 0),
(1, 25, 3, 0),
(1, 25, 4, 0),
(1, 25, 7, 0),
(1, 26, 0, 0),
(1, 26, 1, 0),
(1, 26, 2, 0),
(1, 26, 3, 0),
(1, 26, 4, 0),
(1, 26, 7, 0),
(1, 34, 0, 0),
(1, 34, 1, 0),
(1, 34, 2, 0),
(1, 34, 3, 0),
(1, 34, 4, 0),
(1, 34, 7, 0),
(1, 35, 0, 0),
(1, 35, 1, 0),
(1, 35, 2, 0),
(1, 35, 3, 0),
(1, 35, 4, 0),
(1, 35, 7, 0),
(1, 36, 0, 0),
(1, 36, 1, 0),
(1, 36, 2, 0),
(1, 36, 3, 0),
(1, 36, 4, 0),
(1, 36, 7, 0),
(1, 38, 0, 0),
(1, 38, 1, 0),
(1, 38, 2, 0),
(1, 38, 3, 0),
(1, 38, 4, 0),
(1, 38, 7, 0),
(1, 42, 0, 0),
(1, 42, 1, 0),
(1, 42, 2, 0),
(1, 42, 3, 0),
(1, 42, 4, 0),
(1, 42, 7, 0),
(1, 43, 0, 0),
(1, 43, 1, 0),
(1, 43, 2, 0),
(1, 43, 3, 0),
(1, 43, 4, 0),
(1, 43, 7, 0),
(1, 44, 0, 0),
(1, 44, 1, 0),
(1, 44, 2, 0),
(1, 44, 3, 0),
(1, 44, 4, 0),
(1, 44, 7, 0),
(1, 45, 0, 0),
(1, 45, 1, 0),
(1, 45, 2, 0),
(1, 45, 3, 0),
(1, 45, 4, 0),
(1, 45, 7, 0),
(1, 47, 0, 0),
(1, 47, 1, 0),
(1, 47, 2, 0),
(1, 47, 3, 0),
(1, 47, 4, 0),
(1, 47, 7, 0),
(1, 51, 0, 0),
(1, 51, 1, 0),
(1, 51, 2, 0),
(1, 51, 3, 0),
(1, 51, 4, 0),
(1, 51, 7, 0),
(1, 52, 0, 0),
(1, 52, 1, 0),
(1, 52, 2, 0),
(1, 52, 3, 0),
(1, 52, 4, 0),
(1, 52, 7, 0),
(2, 2, 0, 0),
(2, 2, 1, 0),
(2, 2, 2, 0),
(2, 2, 3, 0),
(2, 2, 4, 0),
(2, 2, 7, 0),
(2, 4, 0, 0),
(2, 4, 1, 1),
(2, 4, 2, 1),
(2, 4, 3, 0),
(2, 4, 4, 0),
(2, 4, 7, 0),
(2, 6, 0, 0),
(2, 6, 1, 1),
(2, 6, 2, 1),
(2, 6, 3, 0),
(2, 6, 4, 0),
(2, 6, 7, 0),
(2, 7, 0, 0),
(2, 7, 1, 0),
(2, 7, 2, 0),
(2, 7, 3, 0),
(2, 7, 4, 0),
(2, 7, 7, 0),
(2, 8, 0, 0),
(2, 8, 1, 0),
(2, 8, 2, 1),
(2, 8, 3, 0),
(2, 8, 4, 0),
(2, 8, 7, 0),
(2, 9, 0, 0),
(2, 9, 1, 0),
(2, 9, 2, 1),
(2, 9, 3, 0),
(2, 9, 4, 0),
(2, 9, 7, 0),
(2, 13, 0, 1),
(2, 13, 1, 1),
(2, 13, 2, 1),
(2, 13, 3, 0),
(2, 13, 4, 0),
(2, 13, 7, 1),
(2, 14, 0, 0),
(2, 14, 1, 0),
(2, 14, 2, 0),
(2, 14, 3, 0),
(2, 14, 4, 0),
(2, 14, 7, 0),
(2, 15, 0, 0),
(2, 15, 1, 1),
(2, 15, 2, 1),
(2, 15, 3, 0),
(2, 15, 4, 0),
(2, 15, 7, 0),
(2, 16, 0, 0),
(2, 16, 1, 0),
(2, 16, 2, 1),
(2, 16, 3, 0),
(2, 16, 4, 0),
(2, 16, 7, 0),
(2, 18, 0, 1),
(2, 18, 1, 1),
(2, 18, 2, 1),
(2, 18, 3, 0),
(2, 18, 4, 0),
(2, 18, 7, 1),
(2, 19, 0, 0),
(2, 19, 1, 0),
(2, 19, 2, 0),
(2, 19, 3, 0),
(2, 19, 4, 0),
(2, 19, 7, 0),
(2, 20, 0, 0),
(2, 20, 1, 1),
(2, 20, 2, 1),
(2, 20, 3, 0),
(2, 20, 4, 0),
(2, 20, 7, 0),
(2, 21, 0, 1),
(2, 21, 1, 1),
(2, 21, 2, 1),
(2, 21, 3, 0),
(2, 21, 4, 0),
(2, 21, 7, 1),
(2, 22, 0, 0),
(2, 22, 1, 1),
(2, 22, 2, 1),
(2, 22, 3, 0),
(2, 22, 4, 0),
(2, 22, 7, 0),
(2, 23, 0, 0),
(2, 23, 1, 0),
(2, 23, 2, 1),
(2, 23, 3, 0),
(2, 23, 4, 0),
(2, 23, 7, 0),
(2, 25, 0, 1),
(2, 25, 1, 0),
(2, 25, 2, 0),
(2, 25, 3, 0),
(2, 25, 4, 0),
(2, 25, 7, 0),
(2, 26, 0, 0),
(2, 26, 1, 0),
(2, 26, 2, 0),
(2, 26, 3, 0),
(2, 26, 4, 0),
(2, 26, 7, 0),
(2, 34, 0, 0),
(2, 34, 1, 0),
(2, 34, 2, 0),
(2, 34, 3, 0),
(2, 34, 4, 0),
(2, 34, 7, 0),
(2, 35, 0, 0),
(2, 35, 1, 0),
(2, 35, 2, 0),
(2, 35, 3, 0),
(2, 35, 4, 0),
(2, 35, 7, 0),
(2, 36, 0, 1),
(2, 36, 1, 1),
(2, 36, 2, 1),
(2, 36, 3, 0),
(2, 36, 4, 0),
(2, 36, 7, 1),
(2, 38, 0, 0),
(2, 38, 1, 0),
(2, 38, 2, 0),
(2, 38, 3, 0),
(2, 38, 4, 0),
(2, 38, 7, 0),
(2, 42, 0, 0),
(2, 42, 1, 0),
(2, 42, 2, 1),
(2, 42, 3, 0),
(2, 42, 4, 0),
(2, 42, 7, 0),
(2, 43, 0, 0),
(2, 43, 1, 0),
(2, 43, 2, 0),
(2, 43, 3, 0),
(2, 43, 4, 0),
(2, 43, 7, 0),
(2, 44, 0, 0),
(2, 44, 1, 0),
(2, 44, 2, 0),
(2, 44, 3, 0),
(2, 44, 4, 0),
(2, 44, 7, 0),
(2, 45, 0, 0),
(2, 45, 1, 0),
(2, 45, 2, 0),
(2, 45, 3, 0),
(2, 45, 4, 0),
(2, 45, 7, 0),
(2, 47, 0, 0),
(2, 47, 1, 0),
(2, 47, 2, 0),
(2, 47, 3, 0),
(2, 47, 4, 0),
(2, 47, 7, 0),
(2, 51, 0, 0),
(2, 51, 1, 0),
(2, 51, 2, 1),
(2, 51, 3, 0),
(2, 51, 4, 0),
(2, 51, 7, 0),
(2, 52, 0, 0),
(2, 52, 1, 0),
(2, 52, 2, 0),
(2, 52, 3, 0),
(2, 52, 4, 0),
(2, 52, 7, 0),
(4, 2, 0, 1),
(4, 2, 1, 1),
(4, 2, 2, 1),
(4, 2, 3, 0),
(4, 2, 4, 0),
(4, 2, 7, 1),
(4, 4, 0, 1),
(4, 4, 1, 1),
(4, 4, 2, 1),
(4, 4, 3, 0),
(4, 4, 4, 0),
(4, 4, 7, 1),
(4, 6, 0, 1),
(4, 6, 1, 1),
(4, 6, 2, 1),
(4, 6, 3, 0),
(4, 6, 4, 0),
(4, 6, 7, 1),
(4, 7, 0, 1),
(4, 7, 1, 1),
(4, 7, 2, 1),
(4, 7, 3, 0),
(4, 7, 4, 0),
(4, 7, 7, 1),
(4, 8, 0, 1),
(4, 8, 1, 1),
(4, 8, 2, 1),
(4, 8, 3, 0),
(4, 8, 4, 0),
(4, 8, 7, 1),
(4, 9, 0, 1),
(4, 9, 1, 1),
(4, 9, 2, 1),
(4, 9, 3, 0),
(4, 9, 4, 0),
(4, 9, 7, 1),
(4, 13, 0, 1),
(4, 13, 1, 1),
(4, 13, 2, 1),
(4, 13, 3, 0),
(4, 13, 4, 0),
(4, 13, 7, 1),
(4, 14, 0, 1),
(4, 14, 1, 1),
(4, 14, 2, 1),
(4, 14, 3, 0),
(4, 14, 4, 0),
(4, 14, 7, 1),
(4, 15, 0, 1),
(4, 15, 1, 1),
(4, 15, 2, 1),
(4, 15, 3, 0),
(4, 15, 4, 0),
(4, 15, 7, 1),
(4, 16, 0, 1),
(4, 16, 1, 1),
(4, 16, 2, 1),
(4, 16, 3, 0),
(4, 16, 4, 0),
(4, 16, 7, 1),
(4, 18, 0, 1),
(4, 18, 1, 1),
(4, 18, 2, 1),
(4, 18, 3, 0),
(4, 18, 4, 0),
(4, 18, 7, 1),
(4, 19, 0, 1),
(4, 19, 1, 1),
(4, 19, 2, 1),
(4, 19, 3, 0),
(4, 19, 4, 0),
(4, 19, 7, 1),
(4, 20, 0, 1),
(4, 20, 1, 1),
(4, 20, 2, 1),
(4, 20, 3, 0),
(4, 20, 4, 0),
(4, 20, 7, 1),
(4, 21, 0, 1),
(4, 21, 1, 1),
(4, 21, 2, 1),
(4, 21, 3, 0),
(4, 21, 4, 0),
(4, 21, 7, 1),
(4, 22, 0, 1),
(4, 22, 1, 1),
(4, 22, 2, 1),
(4, 22, 3, 0),
(4, 22, 4, 0),
(4, 22, 7, 1),
(4, 23, 0, 1),
(4, 23, 1, 1),
(4, 23, 2, 1),
(4, 23, 3, 0),
(4, 23, 4, 0),
(4, 23, 7, 1),
(4, 25, 0, 1),
(4, 25, 1, 0),
(4, 25, 2, 0),
(4, 25, 3, 0),
(4, 25, 4, 0),
(4, 25, 7, 0),
(4, 26, 0, 1),
(4, 26, 1, 1),
(4, 26, 2, 1),
(4, 26, 3, 0),
(4, 26, 4, 0),
(4, 26, 7, 1),
(4, 34, 0, 0),
(4, 34, 1, 0),
(4, 34, 2, 0),
(4, 34, 3, 0),
(4, 34, 4, 0),
(4, 34, 7, 0),
(4, 35, 0, 0),
(4, 35, 1, 0),
(4, 35, 2, 0),
(4, 35, 3, 0),
(4, 35, 4, 0),
(4, 35, 7, 0),
(4, 36, 0, 1),
(4, 36, 1, 1),
(4, 36, 2, 1),
(4, 36, 3, 0),
(4, 36, 4, 0),
(4, 36, 7, 1),
(4, 38, 0, 0),
(4, 38, 1, 0),
(4, 38, 2, 0),
(4, 38, 3, 0),
(4, 38, 4, 0),
(4, 38, 7, 0),
(4, 42, 0, 0),
(4, 42, 1, 1),
(4, 42, 2, 1),
(4, 42, 3, 0),
(4, 42, 4, 0),
(4, 42, 7, 0),
(4, 43, 0, 0),
(4, 43, 1, 0),
(4, 43, 2, 0),
(4, 43, 3, 0),
(4, 43, 4, 0),
(4, 43, 7, 0),
(4, 44, 0, 0),
(4, 44, 1, 0),
(4, 44, 2, 0),
(4, 44, 3, 0),
(4, 44, 4, 0),
(4, 44, 7, 0),
(4, 45, 0, 0),
(4, 45, 1, 0),
(4, 45, 2, 0),
(4, 45, 3, 0),
(4, 45, 4, 0),
(4, 45, 7, 0),
(4, 47, 0, 0),
(4, 47, 1, 0),
(4, 47, 2, 0),
(4, 47, 3, 0),
(4, 47, 4, 0),
(4, 47, 7, 0),
(4, 51, 0, 1),
(4, 51, 1, 1),
(4, 51, 2, 1),
(4, 51, 3, 0),
(4, 51, 4, 0),
(4, 51, 7, 1),
(4, 52, 0, 0),
(4, 52, 1, 0),
(4, 52, 2, 0),
(4, 52, 3, 0),
(4, 52, 4, 0),
(4, 52, 7, 0),
(5, 4, 0, 0),
(5, 4, 1, 1),
(5, 4, 2, 1),
(5, 4, 4, 0),
(5, 4, 7, 0),
(5, 6, 0, 0),
(5, 6, 1, 1),
(5, 6, 2, 1),
(5, 6, 4, 0),
(5, 6, 7, 0),
(5, 8, 0, 0),
(5, 8, 1, 0),
(5, 8, 2, 1),
(5, 8, 4, 0),
(5, 8, 7, 0),
(5, 9, 0, 0),
(5, 9, 1, 0),
(5, 9, 2, 1),
(5, 9, 4, 0),
(5, 9, 7, 0),
(5, 15, 0, 0),
(5, 15, 1, 1),
(5, 15, 2, 1),
(5, 15, 4, 0),
(5, 15, 7, 0),
(5, 16, 0, 0),
(5, 16, 1, 0),
(5, 16, 2, 1),
(5, 16, 4, 0),
(5, 16, 7, 0),
(5, 18, 0, 1),
(5, 18, 1, 1),
(5, 18, 2, 1),
(5, 18, 4, 0),
(5, 18, 7, 1),
(5, 20, 0, 0),
(5, 20, 1, 1),
(5, 20, 2, 1),
(5, 20, 4, 0),
(5, 20, 7, 0),
(5, 21, 0, 1),
(5, 21, 1, 1),
(5, 21, 2, 1),
(5, 21, 4, 0),
(5, 21, 7, 1),
(5, 22, 0, 0),
(5, 22, 1, 1),
(5, 22, 2, 1),
(5, 22, 4, 0),
(5, 22, 7, 0),
(5, 23, 0, 0),
(5, 23, 1, 0),
(5, 23, 2, 1),
(5, 23, 4, 0),
(5, 23, 7, 0),
(5, 25, 0, 1),
(5, 25, 1, 0),
(5, 25, 2, 0),
(5, 25, 4, 0),
(5, 25, 7, 0),
(5, 36, 0, 1),
(5, 36, 1, 1),
(5, 36, 2, 1),
(5, 36, 4, 0),
(5, 36, 7, 1),
(5, 42, 0, 0),
(5, 42, 1, 0),
(5, 42, 2, 1),
(5, 42, 4, 0),
(5, 42, 7, 0),
(5, 51, 0, 0),
(5, 51, 1, 0),
(5, 51, 2, 1),
(5, 51, 3, 0),
(5, 51, 4, 0),
(5, 51, 7, 0),
(5, 52, 0, 0),
(5, 52, 1, 0),
(5, 52, 2, 0),
(5, 52, 3, 0),
(5, 52, 4, 0),
(5, 52, 7, 0),
(6, 4, 0, 0),
(6, 4, 1, 0),
(6, 4, 2, 0),
(6, 4, 4, 0),
(6, 4, 7, 0),
(6, 6, 0, 0),
(6, 6, 1, 0),
(6, 6, 2, 0),
(6, 6, 4, 0),
(6, 6, 7, 0),
(6, 8, 0, 0),
(6, 8, 1, 0),
(6, 8, 2, 0),
(6, 8, 4, 0),
(6, 8, 7, 0),
(6, 9, 0, 0),
(6, 9, 1, 0),
(6, 9, 2, 0),
(6, 9, 4, 0),
(6, 9, 7, 0),
(6, 15, 0, 0),
(6, 15, 1, 0),
(6, 15, 2, 0),
(6, 15, 4, 0),
(6, 15, 7, 0),
(6, 16, 0, 0),
(6, 16, 1, 0),
(6, 16, 2, 0),
(6, 16, 4, 0),
(6, 16, 7, 0),
(6, 18, 0, 1),
(6, 18, 1, 1),
(6, 18, 2, 1),
(6, 18, 4, 0),
(6, 18, 7, 1),
(6, 20, 0, 0),
(6, 20, 1, 0),
(6, 20, 2, 0),
(6, 20, 4, 0),
(6, 20, 7, 0),
(6, 21, 0, 1),
(6, 21, 1, 1),
(6, 21, 2, 1),
(6, 21, 4, 0),
(6, 21, 7, 1),
(6, 22, 0, 0),
(6, 22, 1, 0),
(6, 22, 2, 0),
(6, 22, 4, 0),
(6, 22, 7, 0),
(6, 23, 0, 0),
(6, 23, 1, 0),
(6, 23, 2, 0),
(6, 23, 4, 0),
(6, 23, 7, 0),
(6, 25, 0, 1),
(6, 25, 1, 0),
(6, 25, 2, 0),
(6, 25, 4, 0),
(6, 25, 7, 0),
(6, 36, 0, 1),
(6, 36, 1, 1),
(6, 36, 2, 1),
(6, 36, 4, 0),
(6, 36, 7, 1),
(6, 42, 0, 0),
(6, 42, 1, 0),
(6, 42, 2, 0),
(6, 42, 4, 0),
(6, 42, 7, 0),
(6, 51, 0, 0),
(6, 51, 1, 0),
(6, 51, 2, 0),
(6, 51, 4, 0),
(6, 51, 7, 0),
(6, 52, 0, 0),
(6, 52, 1, 0),
(6, 52, 2, 0),
(6, 52, 3, 0),
(6, 52, 4, 0),
(6, 52, 7, 0);

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

--
-- Structure de la table `vtiger_profile2tab`
--

CREATE TABLE `vtiger_profile2tab` (
  `profileid` int(11) DEFAULT NULL,
  `tabid` int(10) DEFAULT NULL,
  `permissions` int(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile2tab` (`profileid`, `tabid`, `permissions`) VALUES
(1, 2, 0),
(1, 3, 0),
(1, 7, 0),
(1, 13, 0),
(1, 14, 0),
(1, 19, 0),
(1, 24, 0),
(1, 26, 0),
(1, 27, 0),
(2, 2, 0),
(2, 3, 0),
(2, 7, 0),
(2, 13, 0),
(2, 14, 0),
(2, 19, 0),
(2, 24, 0),
(2, 26, 0),
(2, 27, 0),
(4, 2, 0),
(4, 3, 0),
(4, 7, 0),
(4, 13, 0),
(4, 14, 0),
(4, 19, 0),
(4, 24, 0),
(4, 26, 0),
(4, 27, 0),
(1, 30, 0),
(2, 30, 0),
(4, 30, 0),
(1, 32, 0),
(2, 32, 0),
(4, 32, 0),
(1, 33, 0),
(2, 33, 0),
(4, 33, 0),
(1, 34, 0),
(2, 34, 0),
(4, 34, 0),
(1, 35, 0),
(2, 35, 0),
(4, 35, 0),
(1, 37, 0),
(2, 37, 0),
(4, 37, 0),
(1, 38, 0),
(2, 38, 0),
(4, 38, 0),
(1, 39, 0),
(2, 39, 0),
(4, 39, 0),
(1, 43, 0),
(2, 43, 0),
(4, 43, 0),
(1, 44, 0),
(2, 44, 0),
(4, 44, 0),
(1, 45, 0),
(2, 45, 0),
(4, 45, 0),
(1, 47, 0),
(2, 47, 0),
(4, 47, 0),
(1, 49, 0),
(2, 49, 0),
(4, 49, 0),
(6, 15, 0),
(6, 20, 0),
(6, 22, 0),
(6, 41, 0),
(1, 15, 0),
(1, 20, 0),
(1, 22, 0),
(1, 41, 0),
(2, 15, 0),
(2, 20, 0),
(2, 22, 0),
(2, 41, 0),
(4, 15, 0),
(4, 20, 0),
(4, 22, 0),
(4, 41, 0),
(5, 15, 0),
(5, 20, 0),
(5, 22, 0),
(5, 41, 0),
(4, 1, 0),
(4, 4, 0),
(4, 6, 0),
(4, 8, 0),
(4, 9, 0),
(4, 10, 0),
(4, 18, 0),
(4, 21, 0),
(4, 23, 0),
(4, 25, 0),
(4, 31, 0),
(4, 36, 0),
(4, 40, 0),
(4, 42, 0),
(4, 46, 0),
(4, 48, 0),
(4, 50, 0),
(4, 51, 0),
(4, 16, 0),
(6, 1, 0),
(6, 4, 0),
(6, 6, 0),
(6, 8, 0),
(6, 9, 0),
(6, 10, 0),
(6, 18, 0),
(6, 21, 0),
(6, 23, 0),
(6, 25, 0),
(6, 31, 0),
(6, 36, 0),
(6, 40, 0),
(6, 42, 0),
(6, 46, 0),
(6, 48, 0),
(6, 50, 0),
(6, 51, 0),
(6, 16, 0),
(2, 1, 0),
(2, 4, 0),
(2, 6, 0),
(2, 8, 0),
(2, 9, 0),
(2, 10, 0),
(2, 18, 0),
(2, 21, 0),
(2, 23, 0),
(2, 25, 0),
(2, 31, 0),
(2, 36, 0),
(2, 40, 0),
(2, 42, 0),
(2, 46, 0),
(2, 48, 0),
(2, 50, 0),
(2, 51, 0),
(2, 16, 0),
(1, 1, 0),
(1, 4, 0),
(1, 6, 0),
(1, 8, 0),
(1, 9, 0),
(1, 10, 0),
(1, 18, 0),
(1, 21, 0),
(1, 23, 0),
(1, 25, 0),
(1, 31, 0),
(1, 36, 0),
(1, 40, 0),
(1, 42, 0),
(1, 46, 0),
(1, 48, 0),
(1, 50, 0),
(1, 51, 0),
(1, 16, 0),
(5, 1, 0),
(5, 4, 0),
(5, 6, 0),
(5, 8, 0),
(5, 9, 0),
(5, 10, 0),
(5, 18, 0),
(5, 21, 0),
(5, 23, 0),
(5, 25, 0),
(5, 31, 0),
(5, 36, 0),
(5, 40, 0),
(5, 42, 0),
(5, 46, 0),
(5, 48, 0),
(5, 50, 0),
(5, 51, 0),
(5, 16, 0),
(1, 52, 0),
(2, 52, 0),
(4, 52, 0),
(5, 52, 0),
(6, 52, 0),
(1, 53, 0),
(2, 53, 0),
(4, 53, 0),
(5, 53, 0),
(6, 53, 0);

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

--
-- Structure de la table `vtiger_profile2utility`
--

CREATE TABLE `vtiger_profile2utility` (
  `profileid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `activityid` int(11) NOT NULL,
  `permission` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile2utility` (`profileid`, `tabid`, `activityid`, `permission`) VALUES
(1, 2, 5, 0),
(1, 2, 6, 0),
(1, 2, 10, 0),
(1, 4, 5, 0),
(1, 4, 6, 0),
(1, 4, 8, 0),
(1, 4, 10, 0),
(1, 6, 5, 0),
(1, 6, 6, 0),
(1, 6, 8, 0),
(1, 6, 10, 0),
(1, 7, 5, 0),
(1, 7, 6, 0),
(1, 7, 8, 0),
(1, 7, 9, 0),
(1, 7, 10, 0),
(1, 8, 6, 0),
(1, 9, 5, 0),
(1, 9, 6, 0),
(1, 13, 5, 0),
(1, 13, 6, 0),
(1, 13, 8, 0),
(1, 13, 10, 0),
(1, 14, 5, 0),
(1, 14, 6, 0),
(1, 14, 10, 0),
(1, 18, 5, 0),
(1, 18, 6, 0),
(1, 18, 10, 0),
(1, 19, 5, 1),
(1, 19, 6, 1),
(1, 19, 10, 1),
(1, 20, 5, 0),
(1, 20, 6, 0),
(1, 21, 5, 0),
(1, 21, 6, 0),
(1, 22, 5, 0),
(1, 22, 6, 0),
(1, 23, 5, 0),
(1, 23, 6, 0),
(1, 25, 6, 0),
(1, 25, 13, 0),
(1, 34, 11, 1),
(1, 34, 12, 1),
(1, 35, 5, 0),
(1, 35, 6, 0),
(1, 35, 10, 0),
(1, 36, 5, 0),
(1, 36, 6, 0),
(1, 36, 10, 0),
(1, 43, 5, 1),
(1, 43, 6, 1),
(1, 43, 10, 1),
(1, 44, 5, 0),
(1, 44, 6, 0),
(1, 44, 10, 0),
(1, 45, 5, 0),
(1, 45, 6, 0),
(1, 45, 10, 0),
(1, 51, 5, 1),
(1, 51, 6, 1),
(1, 51, 8, 1),
(1, 52, 5, 0),
(1, 52, 6, 0),
(1, 52, 8, 0),
(2, 2, 5, 1),
(2, 2, 6, 1),
(2, 2, 10, 0),
(2, 4, 5, 1),
(2, 4, 6, 1),
(2, 4, 8, 0),
(2, 4, 10, 0),
(2, 6, 5, 1),
(2, 6, 6, 1),
(2, 6, 8, 0),
(2, 6, 10, 0),
(2, 7, 5, 1),
(2, 7, 6, 1),
(2, 7, 8, 0),
(2, 7, 9, 0),
(2, 7, 10, 0),
(2, 8, 6, 1),
(2, 9, 5, 0),
(2, 9, 6, 0),
(2, 13, 5, 1),
(2, 13, 6, 1),
(2, 13, 8, 0),
(2, 13, 10, 0),
(2, 14, 5, 1),
(2, 14, 6, 1),
(2, 14, 10, 0),
(2, 18, 5, 1),
(2, 18, 6, 1),
(2, 18, 10, 0),
(2, 19, 5, 1),
(2, 19, 6, 1),
(2, 19, 10, 1),
(2, 20, 5, 0),
(2, 20, 6, 0),
(2, 21, 5, 0),
(2, 21, 6, 0),
(2, 22, 5, 0),
(2, 22, 6, 0),
(2, 23, 5, 0),
(2, 23, 6, 0),
(2, 25, 6, 0),
(2, 25, 13, 0),
(2, 34, 11, 1),
(2, 34, 12, 1),
(2, 35, 5, 0),
(2, 35, 6, 0),
(2, 35, 10, 0),
(2, 36, 5, 0),
(2, 36, 6, 0),
(2, 36, 10, 0),
(2, 43, 5, 1),
(2, 43, 6, 1),
(2, 43, 10, 1),
(2, 44, 5, 0),
(2, 44, 6, 0),
(2, 44, 10, 0),
(2, 45, 5, 0),
(2, 45, 6, 0),
(2, 45, 10, 0),
(2, 51, 5, 1),
(2, 51, 6, 1),
(2, 51, 8, 1),
(2, 52, 5, 0),
(2, 52, 6, 0),
(2, 52, 8, 0),
(4, 2, 5, 1),
(4, 2, 6, 1),
(4, 2, 10, 0),
(4, 4, 5, 1),
(4, 4, 6, 1),
(4, 4, 8, 1),
(4, 4, 10, 0),
(4, 6, 5, 1),
(4, 6, 6, 1),
(4, 6, 8, 1),
(4, 6, 10, 0),
(4, 7, 5, 1),
(4, 7, 6, 1),
(4, 7, 8, 1),
(4, 7, 9, 0),
(4, 7, 10, 0),
(4, 8, 6, 1),
(4, 9, 5, 0),
(4, 9, 6, 0),
(4, 13, 5, 1),
(4, 13, 6, 1),
(4, 13, 8, 1),
(4, 13, 10, 0),
(4, 14, 5, 1),
(4, 14, 6, 1),
(4, 14, 10, 0),
(4, 18, 5, 1),
(4, 18, 6, 1),
(4, 18, 10, 0),
(4, 19, 5, 1),
(4, 19, 6, 1),
(4, 19, 10, 1),
(4, 20, 5, 0),
(4, 20, 6, 0),
(4, 21, 5, 0),
(4, 21, 6, 0),
(4, 22, 5, 0),
(4, 22, 6, 0),
(4, 23, 5, 0),
(4, 23, 6, 0),
(4, 25, 6, 0),
(4, 25, 13, 0),
(4, 34, 11, 1),
(4, 34, 12, 1),
(4, 35, 5, 0),
(4, 35, 6, 0),
(4, 35, 10, 0),
(4, 36, 5, 0),
(4, 36, 6, 0),
(4, 36, 10, 0),
(4, 43, 5, 1),
(4, 43, 6, 1),
(4, 43, 10, 1),
(4, 44, 5, 0),
(4, 44, 6, 0),
(4, 44, 10, 0),
(4, 45, 5, 0),
(4, 45, 6, 0),
(4, 45, 10, 0),
(4, 51, 5, 1),
(4, 51, 6, 1),
(4, 51, 8, 1),
(4, 52, 5, 0),
(4, 52, 6, 0),
(4, 52, 8, 0),
(5, 4, 5, 1),
(5, 4, 6, 1),
(5, 4, 8, 0),
(5, 4, 10, 0),
(5, 6, 5, 1),
(5, 6, 6, 1),
(5, 6, 8, 0),
(5, 6, 10, 0),
(5, 8, 6, 1),
(5, 9, 5, 0),
(5, 9, 6, 0),
(5, 16, 5, 0),
(5, 16, 6, 0),
(5, 18, 5, 1),
(5, 18, 6, 1),
(5, 18, 10, 0),
(5, 20, 5, 0),
(5, 20, 6, 0),
(5, 21, 5, 0),
(5, 21, 6, 0),
(5, 22, 5, 0),
(5, 22, 6, 0),
(5, 23, 5, 0),
(5, 23, 6, 0),
(5, 25, 6, 0),
(5, 25, 13, 0),
(5, 36, 5, 0),
(5, 36, 6, 0),
(5, 36, 10, 0),
(5, 51, 5, 1),
(5, 51, 6, 1),
(5, 51, 8, 1),
(5, 52, 5, 0),
(5, 52, 6, 0),
(5, 52, 8, 0),
(6, 4, 5, 0),
(6, 4, 6, 0),
(6, 4, 8, 0),
(6, 4, 10, 0),
(6, 6, 5, 0),
(6, 6, 6, 0),
(6, 6, 8, 0),
(6, 6, 10, 0),
(6, 8, 6, 0),
(6, 9, 5, 0),
(6, 9, 6, 0),
(6, 16, 5, 0),
(6, 16, 6, 0),
(6, 18, 5, 0),
(6, 18, 6, 0),
(6, 18, 10, 0),
(6, 20, 5, 0),
(6, 20, 6, 0),
(6, 21, 5, 0),
(6, 21, 6, 0),
(6, 22, 5, 0),
(6, 22, 6, 0),
(6, 23, 5, 0),
(6, 23, 6, 0),
(6, 25, 6, 0),
(6, 25, 13, 0),
(6, 36, 5, 0),
(6, 36, 6, 0),
(6, 36, 10, 0),
(6, 51, 5, 0),
(6, 51, 6, 0),
(6, 51, 8, 0),
(6, 51, 10, 0),
(6, 52, 5, 0),
(6, 52, 6, 0),
(6, 52, 8, 0);

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

--
-- Structure de la table `vtiger_profile_seq`
--

CREATE TABLE `vtiger_profile_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_profile_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_progress`
--

CREATE TABLE `vtiger_progress` (
  `progressid` int(11) NOT NULL,
  `progress` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_progress` (`progressid`, `progress`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, '10%', 1, 278, 2, NULL),
(3, '20%', 1, 279, 3, NULL),
(4, '30%', 1, 280, 4, NULL),
(5, '40%', 1, 281, 5, NULL),
(6, '50%', 1, 282, 6, NULL),
(7, '60%', 1, 283, 7, NULL),
(8, '70%', 1, 284, 8, NULL),
(9, '80%', 1, 285, 9, NULL),
(10, '90%', 1, 286, 10, NULL),
(11, '100%', 1, 287, 11, NULL);

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

--
-- Structure de la table `vtiger_progress_seq`
--

CREATE TABLE `vtiger_progress_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_progress_seq` (`id`) VALUES
(11);

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

--
-- Structure de la table `vtiger_project`
--

CREATE TABLE `vtiger_project` (
  `projectid` int(19) NOT NULL,
  `projectname` varchar(255) DEFAULT NULL,
  `project_no` varchar(100) DEFAULT NULL,
  `startdate` date DEFAULT NULL,
  `targetenddate` date DEFAULT NULL,
  `actualenddate` date DEFAULT NULL,
  `targetbudget` varchar(255) DEFAULT NULL,
  `projecturl` varchar(255) DEFAULT NULL,
  `projectstatus` varchar(100) DEFAULT NULL,
  `projectpriority` varchar(100) DEFAULT NULL,
  `projecttype` varchar(100) DEFAULT NULL,
  `progress` varchar(100) DEFAULT NULL,
  `linktoaccountscontacts` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `isconvertedfrompotential` int(1) NOT NULL DEFAULT 0,
  `potentialid` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projectcf`
--

CREATE TABLE `vtiger_projectcf` (
  `projectid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projectmilestone`
--

CREATE TABLE `vtiger_projectmilestone` (
  `projectmilestoneid` int(11) NOT NULL,
  `projectmilestonename` varchar(255) DEFAULT NULL,
  `projectmilestone_no` varchar(100) DEFAULT NULL,
  `projectmilestonedate` varchar(255) DEFAULT NULL,
  `projectid` varchar(100) DEFAULT NULL,
  `projectmilestonetype` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projectmilestonecf`
--

CREATE TABLE `vtiger_projectmilestonecf` (
  `projectmilestoneid` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projectmilestonetype`
--

CREATE TABLE `vtiger_projectmilestonetype` (
  `projectmilestonetypeid` int(11) NOT NULL,
  `projectmilestonetype` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectmilestonetype` (`projectmilestonetypeid`, `projectmilestonetype`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'administrative', 1, 238, 2, NULL),
(3, 'operative', 1, 239, 3, NULL),
(4, 'other', 1, 240, 4, NULL);

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

--
-- Structure de la table `vtiger_projectmilestonetype_seq`
--

CREATE TABLE `vtiger_projectmilestonetype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectmilestonetype_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_projectpriority`
--

CREATE TABLE `vtiger_projectpriority` (
  `projectpriorityid` int(11) NOT NULL,
  `projectpriority` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectpriority` (`projectpriorityid`, `projectpriority`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'low', 1, 274, 2, NULL),
(3, 'normal', 1, 275, 3, NULL),
(4, 'high', 1, 276, 4, NULL);

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

--
-- Structure de la table `vtiger_projectpriority_seq`
--

CREATE TABLE `vtiger_projectpriority_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectpriority_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_projectstatus`
--

CREATE TABLE `vtiger_projectstatus` (
  `projectstatusid` int(11) NOT NULL,
  `projectstatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectstatus` (`projectstatusid`, `projectstatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'prospecting', 1, 261, 2, NULL),
(3, 'initiated', 1, 262, 3, NULL),
(4, 'in progress', 1, 263, 4, NULL),
(5, 'waiting for feedback', 1, 264, 5, NULL),
(6, 'on hold', 1, 265, 6, NULL),
(7, 'completed', 1, 266, 7, NULL),
(8, 'delivered', 1, 267, 8, NULL),
(9, 'archived', 1, 268, 9, NULL);

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

--
-- Structure de la table `vtiger_projectstatus_seq`
--

CREATE TABLE `vtiger_projectstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projectstatus_seq` (`id`) VALUES
(9);

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

--
-- Structure de la table `vtiger_projecttask`
--

CREATE TABLE `vtiger_projecttask` (
  `projecttaskid` int(11) NOT NULL,
  `projecttaskname` varchar(255) DEFAULT NULL,
  `projecttask_no` varchar(100) DEFAULT NULL,
  `projecttasktype` varchar(100) DEFAULT NULL,
  `projecttaskpriority` varchar(100) DEFAULT NULL,
  `projecttaskprogress` varchar(100) DEFAULT NULL,
  `projecttaskhours` varchar(255) DEFAULT NULL,
  `startdate` date DEFAULT NULL,
  `enddate` date DEFAULT NULL,
  `projectid` varchar(100) DEFAULT NULL,
  `projecttasknumber` int(11) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `projecttaskstatus` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projecttaskcf`
--

CREATE TABLE `vtiger_projecttaskcf` (
  `projecttaskid` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_projecttaskpriority`
--

CREATE TABLE `vtiger_projecttaskpriority` (
  `projecttaskpriorityid` int(11) NOT NULL,
  `projecttaskpriority` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskpriority` (`projecttaskpriorityid`, `projecttaskpriority`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'low', 1, 246, 2, NULL),
(3, 'normal', 1, 247, 3, NULL),
(4, 'high', 1, 248, 4, NULL);

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

--
-- Structure de la table `vtiger_projecttaskpriority_seq`
--

CREATE TABLE `vtiger_projecttaskpriority_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskpriority_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_projecttaskprogress`
--

CREATE TABLE `vtiger_projecttaskprogress` (
  `projecttaskprogressid` int(11) NOT NULL,
  `projecttaskprogress` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskprogress` (`projecttaskprogressid`, `projecttaskprogress`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, '10%', 1, 250, 2, NULL),
(3, '20%', 1, 251, 3, NULL),
(4, '30%', 1, 252, 4, NULL),
(5, '40%', 1, 253, 5, NULL),
(6, '50%', 1, 254, 6, NULL),
(7, '60%', 1, 255, 7, NULL),
(8, '70%', 1, 256, 8, NULL),
(9, '80%', 1, 257, 9, NULL),
(10, '90%', 1, 258, 10, NULL),
(11, '100%', 1, 259, 11, NULL);

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

--
-- Structure de la table `vtiger_projecttaskprogress_seq`
--

CREATE TABLE `vtiger_projecttaskprogress_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskprogress_seq` (`id`) VALUES
(11);

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

--
-- Structure de la table `vtiger_projecttaskstatus`
--

CREATE TABLE `vtiger_projecttaskstatus` (
  `projecttaskstatusid` int(11) NOT NULL,
  `projecttaskstatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskstatus` (`projecttaskstatusid`, `projecttaskstatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Open', 0, 290, 2, NULL),
(3, 'In Progress', 0, 291, 3, NULL),
(4, 'Completed', 0, 292, 4, NULL),
(5, 'Deferred', 0, 293, 5, NULL),
(6, 'Canceled ', 0, 294, 6, NULL);

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

--
-- Structure de la table `vtiger_projecttaskstatus_seq`
--

CREATE TABLE `vtiger_projecttaskstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttaskstatus_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_projecttasktype`
--

CREATE TABLE `vtiger_projecttasktype` (
  `projecttasktypeid` int(11) NOT NULL,
  `projecttasktype` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttasktype` (`projecttasktypeid`, `projecttasktype`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'administrative', 1, 242, 2, NULL),
(3, 'operative', 1, 243, 3, NULL),
(4, 'other', 1, 244, 4, NULL);

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

--
-- Structure de la table `vtiger_projecttasktype_seq`
--

CREATE TABLE `vtiger_projecttasktype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttasktype_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_projecttask_status_color`
--

CREATE TABLE `vtiger_projecttask_status_color` (
  `status` varchar(255) DEFAULT NULL,
  `defaultcolor` varchar(50) DEFAULT NULL,
  `color` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttask_status_color` (`status`, `defaultcolor`, `color`) VALUES
('Open', '#0099ff', NULL),
('In Progress', '#fdff00', NULL),
('Completed', '#3BBF67', NULL),
('Deferred', '#fbb11e', NULL),
('Canceled', '#660066', NULL);

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

--
-- Structure de la table `vtiger_projecttype`
--

CREATE TABLE `vtiger_projecttype` (
  `projecttypeid` int(11) NOT NULL,
  `projecttype` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttype` (`projecttypeid`, `projecttype`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'administrative', 1, 270, 2, NULL),
(3, 'operative', 1, 271, 3, NULL),
(4, 'other', 1, 272, 4, NULL);

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

--
-- Structure de la table `vtiger_projecttype_seq`
--

CREATE TABLE `vtiger_projecttype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_projecttype_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_purchaseorder`
--

CREATE TABLE `vtiger_purchaseorder` (
  `purchaseorderid` int(19) NOT NULL DEFAULT 0,
  `subject` varchar(100) DEFAULT NULL,
  `quoteid` int(19) DEFAULT NULL,
  `vendorid` int(19) DEFAULT NULL,
  `requisition_no` varchar(100) DEFAULT NULL,
  `purchaseorder_no` varchar(100) DEFAULT NULL,
  `tracking_no` varchar(100) DEFAULT NULL,
  `contactid` int(19) DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `carrier` varchar(200) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `adjustment` decimal(25,8) DEFAULT NULL,
  `salescommission` decimal(25,3) DEFAULT NULL,
  `exciseduty` decimal(25,3) DEFAULT NULL,
  `total` decimal(25,8) DEFAULT NULL,
  `subtotal` decimal(25,8) DEFAULT NULL,
  `taxtype` varchar(25) DEFAULT NULL,
  `discount_percent` decimal(25,3) DEFAULT NULL,
  `discount_amount` decimal(25,8) DEFAULT NULL,
  `s_h_amount` decimal(25,8) DEFAULT NULL,
  `terms_conditions` text DEFAULT NULL,
  `postatus` varchar(200) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `conversion_rate` decimal(10,3) NOT NULL DEFAULT 1.000,
  `compound_taxes_info` text DEFAULT NULL,
  `pre_tax_total` decimal(25,8) DEFAULT NULL,
  `paid` decimal(25,8) DEFAULT NULL,
  `balance` decimal(25,8) DEFAULT NULL,
  `s_h_percent` int(11) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `region_id` int(19) DEFAULT NULL,
  `p_paid_amount` decimal(25,3) DEFAULT NULL,
  `p_open_amount` decimal(25,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_purchaseordercf`
--

CREATE TABLE `vtiger_purchaseordercf` (
  `purchaseorderid` int(19) NOT NULL DEFAULT 0,
  `cf_885` date DEFAULT NULL,
  `cf_887` varchar(15) DEFAULT '',
  `cf_889` varchar(10) DEFAULT '',
  `cf_891` varchar(10) DEFAULT '',
  `cf_893` varchar(10) DEFAULT '',
  `cf_895` varchar(10) DEFAULT '',
  `cf_897` varchar(50) DEFAULT '',
  `cf_899` varchar(100) DEFAULT '',
  `cf_905` text DEFAULT NULL,
  `cf_907` text DEFAULT NULL,
  `cf_909` date DEFAULT NULL,
  `cf_911` date DEFAULT NULL,
  `cf_913` int(2) DEFAULT NULL,
  `cf_915` varchar(100) DEFAULT '',
  `cf_917` varchar(50) DEFAULT '',
  `cf_919` varchar(10) DEFAULT '',
  `cf_921` text DEFAULT NULL,
  `cf_923` varchar(100) DEFAULT '',
  `cf_925` varchar(100) DEFAULT '',
  `cf_929` date DEFAULT NULL,
  `cf_933` varchar(4) DEFAULT '',
  `cf_937` bigint(11) DEFAULT NULL,
  `cf_943` text DEFAULT NULL,
  `cf_945` decimal(13,2) DEFAULT NULL,
  `cf_949` decimal(16,8) DEFAULT NULL,
  `cf_951` decimal(16,8) DEFAULT NULL,
  `cf_953` decimal(5,2) DEFAULT NULL,
  `cf_955` decimal(16,8) DEFAULT NULL,
  `cf_957` text DEFAULT NULL,
  `cf_959` decimal(5,2) DEFAULT NULL,
  `cf_961` varchar(50) DEFAULT '',
  `cf_963` decimal(8,8) DEFAULT NULL,
  `cf_1021` varchar(10) DEFAULT '',
  `cf_1023` varchar(10) DEFAULT '',
  `cf_1025` varchar(5) DEFAULT '',
  `cf_1027` varchar(10) DEFAULT '',
  `cf_1029` varchar(10) DEFAULT '',
  `cf_1031` varchar(10) DEFAULT '',
  `cf_1033` varchar(5) DEFAULT '',
  `cf_1035` varchar(10) DEFAULT '',
  `cf_1039` decimal(16,8) DEFAULT NULL,
  `cf_1041` decimal(16,8) DEFAULT NULL,
  `cf_1043` varchar(100) DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotes`
--

CREATE TABLE `vtiger_quotes` (
  `quoteid` int(19) NOT NULL DEFAULT 0,
  `subject` varchar(100) DEFAULT NULL,
  `potentialid` int(19) DEFAULT NULL,
  `quotestage` varchar(200) DEFAULT NULL,
  `validtill` date DEFAULT NULL,
  `contactid` int(19) DEFAULT NULL,
  `quote_no` varchar(100) DEFAULT NULL,
  `subtotal` decimal(25,8) DEFAULT NULL,
  `carrier` varchar(200) DEFAULT NULL,
  `shipping` varchar(100) DEFAULT NULL,
  `inventorymanager` int(19) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `adjustment` decimal(25,8) DEFAULT NULL,
  `total` decimal(25,8) DEFAULT NULL,
  `taxtype` varchar(25) DEFAULT NULL,
  `discount_percent` decimal(25,3) DEFAULT NULL,
  `discount_amount` decimal(25,8) DEFAULT NULL,
  `s_h_amount` decimal(25,8) DEFAULT NULL,
  `accountid` int(19) DEFAULT NULL,
  `terms_conditions` text DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `conversion_rate` decimal(10,3) NOT NULL DEFAULT 1.000,
  `compound_taxes_info` text DEFAULT NULL,
  `pre_tax_total` decimal(25,8) DEFAULT NULL,
  `s_h_percent` int(11) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `region_id` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotesbillads`
--

CREATE TABLE `vtiger_quotesbillads` (
  `quotebilladdressid` int(19) NOT NULL DEFAULT 0,
  `bill_city` varchar(30) DEFAULT NULL,
  `bill_code` varchar(30) DEFAULT NULL,
  `bill_country` varchar(30) DEFAULT NULL,
  `bill_state` varchar(30) DEFAULT NULL,
  `bill_street` varchar(250) DEFAULT NULL,
  `bill_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotescf`
--

CREATE TABLE `vtiger_quotescf` (
  `quoteid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotesshipads`
--

CREATE TABLE `vtiger_quotesshipads` (
  `quoteshipaddressid` int(19) NOT NULL DEFAULT 0,
  `ship_city` varchar(30) DEFAULT NULL,
  `ship_code` varchar(30) DEFAULT NULL,
  `ship_country` varchar(30) DEFAULT NULL,
  `ship_state` varchar(30) DEFAULT NULL,
  `ship_street` varchar(250) DEFAULT NULL,
  `ship_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotestage`
--

CREATE TABLE `vtiger_quotestage` (
  `quotestageid` int(19) NOT NULL,
  `quotestage` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_quotestage` (`quotestageid`, `quotestage`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Created', 0, 139, 0, NULL),
(2, 'Delivered', 0, 140, 1, NULL),
(3, 'Reviewed', 0, 141, 2, NULL),
(4, 'Accepted', 0, 142, 3, NULL),
(5, 'Rejected', 0, 143, 4, NULL);

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

--
-- Structure de la table `vtiger_quotestagehistory`
--

CREATE TABLE `vtiger_quotestagehistory` (
  `historyid` int(19) NOT NULL,
  `quoteid` int(19) NOT NULL,
  `accountname` varchar(100) DEFAULT NULL,
  `total` decimal(10,0) DEFAULT NULL,
  `quotestage` varchar(200) DEFAULT NULL,
  `lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_quotestage_seq`
--

CREATE TABLE `vtiger_quotestage_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_quotestage_seq` (`id`) VALUES
(5);

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

--
-- Structure de la table `vtiger_rating`
--

CREATE TABLE `vtiger_rating` (
  `rating_id` int(19) NOT NULL,
  `rating` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_rating` (`rating_id`, `rating`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Acquired', 1, 145, 1, NULL),
(3, 'Active', 1, 146, 2, NULL),
(4, 'Market Failed', 1, 147, 3, NULL),
(5, 'Project Cancelled', 1, 148, 4, NULL),
(6, 'Shutdown', 1, 149, 5, NULL);

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

--
-- Structure de la table `vtiger_rating_seq`
--

CREATE TABLE `vtiger_rating_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_rating_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_recurringevents`
--

CREATE TABLE `vtiger_recurringevents` (
  `recurringid` int(19) NOT NULL,
  `activityid` int(19) NOT NULL,
  `recurringdate` date DEFAULT NULL,
  `recurringtype` varchar(30) DEFAULT NULL,
  `recurringfreq` int(19) DEFAULT NULL,
  `recurringinfo` varchar(50) DEFAULT NULL,
  `recurringenddate` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_recurringtype`
--

CREATE TABLE `vtiger_recurringtype` (
  `recurringeventid` int(19) NOT NULL,
  `recurringtype` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_recurringtype` (`recurringeventid`, `recurringtype`, `sortorderid`, `presence`, `color`) VALUES
(2, 'Daily', 1, 1, NULL),
(3, 'Weekly', 2, 1, NULL),
(4, 'Monthly', 3, 1, NULL),
(5, 'Yearly', 4, 1, NULL);

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

--
-- Structure de la table `vtiger_recurringtype_seq`
--

CREATE TABLE `vtiger_recurringtype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_recurringtype_seq` (`id`) VALUES
(5);

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

--
-- Structure de la table `vtiger_recurring_frequency`
--

CREATE TABLE `vtiger_recurring_frequency` (
  `recurring_frequency_id` int(11) DEFAULT NULL,
  `recurring_frequency` varchar(200) DEFAULT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_recurring_frequency` (`recurring_frequency_id`, `recurring_frequency`, `sortorderid`, `presence`, `color`) VALUES
(2, 'Daily', 1, 1, NULL),
(3, 'Weekly', 2, 1, NULL),
(4, 'Monthly', 3, 1, NULL),
(5, 'Quarterly', 4, 1, NULL),
(6, 'Yearly', 5, 1, NULL);

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

--
-- Structure de la table `vtiger_recurring_frequency_seq`
--

CREATE TABLE `vtiger_recurring_frequency_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_recurring_frequency_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_relatedlists`
--

CREATE TABLE `vtiger_relatedlists` (
  `relation_id` int(19) NOT NULL,
  `tabid` int(10) DEFAULT NULL,
  `related_tabid` int(10) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `sequence` int(10) DEFAULT NULL,
  `label` varchar(100) DEFAULT NULL,
  `presence` int(10) NOT NULL DEFAULT 0,
  `actions` varchar(50) NOT NULL DEFAULT '',
  `relationfieldid` int(19) DEFAULT NULL,
  `source` varchar(25) DEFAULT NULL,
  `relationtype` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_relatedlists` (`relation_id`, `tabid`, `related_tabid`, `name`, `sequence`, `label`, `presence`, `actions`, `relationfieldid`, `source`, `relationtype`) VALUES
(1, 6, 4, 'get_contacts', 2, 'Contacts', 0, 'add', 72, '', '1:N'),
(2, 6, 2, 'get_opportunities', 3, 'Potentials', 0, 'add', 113, '', '1:N'),
(3, 6, 20, 'get_quotes', 4, 'Quotes', 0, 'add', 330, '', '1:N'),
(4, 6, 22, 'get_salesorder', 5, 'Sales Order', 0, 'add', 409, '', '1:N'),
(5, 6, 23, 'get_invoices', 6, 'Invoice', 0, 'add', 452, '', '1:N'),
(6, 6, 9, 'get_activities', 7, 'Activities', 0, 'add', 238, '', '1:N'),
(7, 6, 10, 'get_emails', 8, 'Emails', 0, 'add', 0, '', '1:N'),
(8, 6, 9, 'get_history', 9, 'Activity History', 0, 'add', 238, '', '1:N'),
(9, 6, 8, 'get_attachments', 10, 'Documents', 0, 'add,select', 0, '', '1:N'),
(10, 6, 13, 'get_tickets', 11, 'HelpDesk', 0, 'add', 157, '', '1:N'),
(11, 6, 14, 'get_products', 12, 'Products', 0, 'select', 0, '', '1:N'),
(12, 7, 9, 'get_activities', 2, 'Activities', 0, 'add', 238, '', '1:N'),
(13, 7, 10, 'get_emails', 3, 'Emails', 0, 'add', 0, '', '1:N'),
(14, 7, 9, 'get_history', 4, 'Activity History', 0, 'add', 238, '', '1:N'),
(15, 7, 8, 'get_attachments', 5, 'Documents', 0, 'add,select', 0, '', '1:N'),
(16, 7, 14, 'get_products', 6, 'Products', 0, 'select', 0, '', '1:N'),
(17, 7, 26, 'get_campaigns', 7, 'Campaigns', 0, 'select', 0, '', '1:N'),
(18, 4, 2, 'get_opportunities', 2, 'Potentials', 0, 'add', 740, '', '1:N'),
(19, 4, 9, 'get_activities', 3, 'Activities', 0, 'add', 239, '', '1:N'),
(20, 4, 10, 'get_emails', 4, 'Emails', 0, 'add', 0, '', '1:N'),
(21, 4, 13, 'get_tickets', 5, 'HelpDesk', 0, 'add', 741, '', '1:N'),
(22, 4, 20, 'get_quotes', 6, 'Quotes', 0, 'add', 319, '', '1:N'),
(23, 4, 21, 'get_purchase_orders', 7, 'Purchase Order', 0, 'add', 356, '', '1:N'),
(24, 4, 22, 'get_salesorder', 8, 'Sales Order', 0, 'add', 395, '', '1:N'),
(25, 4, 14, 'get_products', 9, 'Products', 0, 'select', 0, '', '1:N'),
(26, 4, 9, 'get_history', 10, 'Activity History', 0, 'add', 239, '', '1:N'),
(27, 4, 8, 'get_attachments', 11, 'Documents', 0, 'add,select', 0, '', '1:N'),
(28, 4, 26, 'get_campaigns', 12, 'Campaigns', 0, 'select', 0, '', '1:N'),
(29, 4, 23, 'get_invoices', 13, 'Invoice', 0, 'add', 439, '', '1:N'),
(30, 2, 9, 'get_activities', 2, 'Activities', 0, 'add', 238, '', '1:N'),
(31, 2, 4, 'get_contacts', 3, 'Contacts', 0, 'select', 0, '', '1:N'),
(32, 2, 14, 'get_products', 4, 'Products', 0, 'select', 0, '', '1:N'),
(33, 2, 0, 'get_stage_history', 5, 'Sales Stage History', 0, '', 0, '', '1:N'),
(34, 2, 8, 'get_attachments', 6, 'Documents', 0, 'add,select', 0, '', '1:N'),
(35, 2, 20, 'get_Quotes', 7, 'Quotes', 0, 'add', 316, '', '1:N'),
(36, 2, 22, 'get_salesorder', 8, 'Sales Order', 0, 'add', 391, '', '1:N'),
(37, 2, 9, 'get_history', 9, 'Activity History', 0, '', 238, '', '1:N'),
(38, 14, 13, 'get_tickets', 1, 'HelpDesk', 0, 'add', 159, '', '1:N'),
(39, 14, 8, 'get_attachments', 3, 'Documents', 0, 'add,select', 0, '', '1:N'),
(40, 14, 20, 'get_quotes', 4, 'Quotes', 0, 'add', 703, '', '1:N'),
(41, 14, 21, 'get_purchase_orders', 5, 'Purchase Order', 0, 'add', 694, '', '1:N'),
(42, 14, 22, 'get_salesorder', 6, 'Sales Order', 0, 'add', 685, '', '1:N'),
(43, 14, 23, 'get_invoices', 7, 'Invoice', 0, 'add', 676, '', '1:N'),
(44, 14, 19, 'get_product_pricebooks', 8, 'PriceBooks', 0, 'ADD,SELECT', 0, '', '1:N'),
(45, 14, 7, 'get_leads', 9, 'Leads', 0, 'select', 0, '', '1:N'),
(46, 14, 6, 'get_accounts', 10, 'Accounts', 0, 'select', 0, '', '1:N'),
(47, 14, 4, 'get_contacts', 11, 'Contacts', 0, 'select', 0, '', '1:N'),
(48, 14, 2, 'get_opportunities', 12, 'Potentials', 0, 'select', 0, '', '1:N'),
(49, 14, 14, 'get_products', 13, 'Product Bundles', 0, 'add,select', 0, '', '1:N'),
(50, 14, 14, 'get_parent_products', 14, 'Parent Product', 0, '', 0, '', '1:N'),
(51, 10, 4, 'get_contacts', 1, 'Contacts', 0, 'select,bulkmail', 0, '', '1:N'),
(52, 10, 0, 'get_users', 2, 'Users', 0, '', 0, '', '1:N'),
(53, 10, 8, 'get_attachments', 3, 'Documents', 0, 'add,select', 0, '', '1:N'),
(54, 13, 9, 'get_activities', 2, 'Activities', 0, 'add', 238, '', '1:N'),
(55, 13, 8, 'get_attachments', 3, 'Documents', 0, 'add,select', 0, '', '1:N'),
(56, 13, 0, 'get_ticket_history', 4, 'Ticket History', 0, '', 0, '', '1:N'),
(57, 13, 9, 'get_history', 5, 'Activity History', 0, 'add', 238, '', '1:N'),
(58, 19, 14, 'get_pricebook_products', 2, 'Products', 0, 'select', 0, '', '1:N'),
(59, 18, 14, 'get_products', 1, 'Products', 0, 'add,select', 185, '', '1:N'),
(60, 18, 21, 'get_purchase_orders', 2, 'Purchase Order', 0, 'add', 353, '', '1:N'),
(61, 18, 4, 'get_contacts', 3, 'Contacts', 0, 'select', 0, '', '1:N'),
(62, 18, 10, 'get_emails', 4, 'Emails', 0, 'add', 0, '', '1:N'),
(63, 20, 22, 'get_salesorder', 1, 'Sales Order', 0, '', 393, '', '1:N'),
(64, 20, 9, 'get_activities', 2, 'Activities', 0, 'add', 0, '', '1:N'),
(65, 20, 8, 'get_attachments', 3, 'Documents', 0, 'add,select', 0, '', '1:N'),
(66, 20, 9, 'get_history', 4, 'Activity History', 0, '', 0, '', '1:N'),
(67, 20, 0, 'get_quotestagehistory', 5, 'Quote Stage History', 0, '', 0, '', '1:N'),
(68, 21, 9, 'get_activities', 1, 'Activities', 0, 'add', 0, '', '1:N'),
(69, 21, 8, 'get_attachments', 2, 'Documents', 0, 'add,select', 0, '', '1:N'),
(70, 21, 9, 'get_history', 3, 'Activity History', 0, '', 0, '', '1:N'),
(71, 21, 0, 'get_postatushistory', 4, 'PurchaseOrder Status History', 0, '', 0, '', '1:N'),
(72, 22, 9, 'get_activities', 1, 'Activities', 0, 'add', 0, '', '1:N'),
(73, 22, 8, 'get_attachments', 2, 'Documents', 0, 'add,select', 0, '', '1:N'),
(74, 22, 23, 'get_invoices', 3, 'Invoice', 0, '', 437, '', '1:N'),
(75, 22, 9, 'get_history', 4, 'Activity History', 0, '', 0, '', '1:N'),
(76, 22, 0, 'get_sostatushistory', 5, 'SalesOrder Status History', 0, '', 0, '', '1:N'),
(77, 23, 9, 'get_activities', 1, 'Activities', 0, 'add', 0, '', '1:N'),
(78, 23, 8, 'get_attachments', 2, 'Documents', 0, 'add,select', 0, '', '1:N'),
(79, 23, 9, 'get_history', 3, 'Activity History', 0, '', 0, '', '1:N'),
(80, 23, 0, 'get_invoicestatushistory', 4, 'Invoice Status History', 0, '', 0, '', '1:N'),
(81, 9, 0, 'get_users', 1, 'Users', 0, '', 0, '', '1:N'),
(82, 9, 4, 'get_contacts', 2, 'Contacts', 0, '', 0, '', '1:N'),
(83, 26, 4, 'get_contacts', 1, 'Contacts', 0, 'add,select', 0, '', '1:N'),
(84, 26, 7, 'get_leads', 2, 'Leads', 0, 'add,select', 0, '', '1:N'),
(85, 26, 2, 'get_opportunities', 3, 'Potentials', 0, 'add', 121, '', '1:N'),
(86, 26, 9, 'get_activities', 4, 'Activities', 0, 'add', 238, '', '1:N'),
(87, 6, 26, 'get_campaigns', 14, 'Campaigns', 0, 'select', 0, '', '1:N'),
(88, 26, 6, 'get_accounts', 5, 'Accounts', 0, 'add,select', 0, '', '1:N'),
(89, 15, 8, 'get_attachments', 2, 'Documents', 0, 'add,select', 0, '', '1:N'),
(92, 6, 34, 'get_merged_list', 15, 'PBXManager', 0, '', 535, NULL, '1:N'),
(93, 35, 13, 'get_related_list', 1, 'Service Requests', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(94, 35, 8, 'get_attachments', 2, 'Documents', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(95, 6, 35, 'get_merged_list', 16, 'Service Contracts', 0, 'ADD', 549, NULL, '1:N'),
(96, 4, 35, 'get_dependents_list', 15, 'Service Contracts', 0, 'ADD', 549, NULL, '1:N'),
(97, 13, 35, 'get_related_list', 6, 'Service Contracts', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(98, 36, 13, 'get_related_list', 1, 'HelpDesk', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(99, 36, 20, 'get_quotes', 2, 'Quotes', 0, 'ADD', 703, NULL, '1:N'),
(100, 36, 21, 'get_purchase_orders', 3, 'Purchase Order', 0, 'ADD', 694, NULL, '1:N'),
(101, 36, 22, 'get_salesorder', 4, 'Sales Order', 0, 'ADD', 685, NULL, '1:N'),
(102, 36, 23, 'get_invoices', 5, 'Invoice', 0, 'ADD', 676, NULL, '1:N'),
(103, 36, 19, 'get_service_pricebooks', 6, 'PriceBooks', 0, 'ADD', NULL, NULL, 'N:N'),
(104, 36, 7, 'get_related_list', 7, 'Leads', 0, 'SELECT', NULL, NULL, 'N:N'),
(105, 36, 6, 'get_related_list', 8, 'Accounts', 0, 'SELECT', NULL, NULL, 'N:N'),
(106, 36, 4, 'get_related_list', 9, 'Contacts', 0, 'SELECT', NULL, NULL, 'N:N'),
(107, 36, 2, 'get_related_list', 10, 'Potentials', 0, 'SELECT', NULL, NULL, 'N:N'),
(108, 36, 8, 'get_attachments', 11, 'Documents', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(109, 13, 36, 'get_related_list', 7, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(110, 7, 36, 'get_related_list', 9, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(111, 6, 36, 'get_related_list', 17, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(112, 4, 36, 'get_related_list', 16, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(113, 2, 36, 'get_related_list', 10, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(114, 19, 36, 'get_pricebook_services', 3, 'Services', 0, 'SELECT', NULL, NULL, 'N:N'),
(115, 38, 13, 'get_related_list', 1, 'HelpDesk', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(116, 38, 8, 'get_attachments', 2, 'Documents', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(117, 6, 38, 'get_merged_list', 18, 'Assets', 0, 'ADD', 600, NULL, '1:N'),
(118, 14, 38, 'get_dependents_list', 15, 'Assets', 0, 'ADD', 589, NULL, '1:N'),
(119, 23, 38, 'get_dependents_list', 5, 'Assets', 0, 'ADD', 595, NULL, '1:N'),
(120, 7, 42, 'get_comments', 10, 'ModComments', 0, '', 613, NULL, '1:N'),
(121, 4, 42, 'get_comments', 17, 'ModComments', 0, '', 613, NULL, '1:N'),
(122, 6, 42, 'get_comments', 19, 'ModComments', 0, '', 613, NULL, '1:N'),
(123, 2, 42, 'get_comments', 11, 'ModComments', 0, '', 613, NULL, '1:N'),
(131, 6, 45, 'get_merged_list', 20, 'Projects', 0, 'add', 654, NULL, '1:N'),
(132, 4, 45, 'get_dependents_list', 18, 'Projects', 0, 'add', 654, NULL, '1:N'),
(133, 13, 45, 'get_related_list', 8, 'Projects', 0, 'SELECT', NULL, NULL, 'N:N'),
(135, 47, 6, 'get_related_list', 1, 'Accounts', 0, ' ', NULL, NULL, 'N:N'),
(136, 47, 4, 'get_related_list', 2, 'Contacts', 0, ' ', NULL, NULL, 'N:N'),
(137, 47, 7, 'get_related_list', 3, 'Leads', 0, ' ', NULL, NULL, 'N:N'),
(138, 44, 8, 'get_attachments', 2, 'Documents', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(139, 44, 42, 'get_comments', 3, 'ModComments', 0, '', 613, NULL, '1:N'),
(140, 45, 44, 'get_dependents_list', 2, 'Project Tasks', 0, 'ADD', 633, NULL, '1:N'),
(141, 45, 43, 'get_dependents_list', 3, 'Project Milestones', 0, 'ADD', 619, NULL, '1:N'),
(142, 45, 8, 'get_attachments', 4, 'Documents', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(143, 45, 13, 'get_related_list', 5, 'HelpDesk', 0, 'ADD,SELECT', NULL, NULL, 'N:N'),
(144, 45, 0, 'get_gantt_chart', 6, 'Charts', 0, '', NULL, NULL, 'N:N'),
(145, 45, 42, 'get_comments', 7, 'ModComments', 0, '', 613, NULL, '1:N'),
(146, 13, 42, 'get_comments', 9, 'ModComments', 0, '', 613, NULL, '1:N'),
(147, 15, 42, 'get_comments', 3, 'ModComments', 0, '', 613, NULL, '1:N'),
(148, 4, 38, 'get_dependents_list', 19, 'Assets', 0, 'ADD', 601, NULL, '1:N'),
(149, 4, 18, 'get_vendors', 20, 'Vendors', 0, 'SELECT', 0, '', '1:N'),
(150, 2, 23, 'get_dependents_list', 12, 'Invoice', 0, 'ADD', 774, NULL, '1:N'),
(151, 8, 4, 'get_related_list', 1, 'Contacts', 0, '1', NULL, NULL, 'N:N'),
(152, 8, 6, 'get_related_list', 2, 'Accounts', 0, '1', NULL, NULL, 'N:N'),
(153, 8, 2, 'get_related_list', 3, 'Potentials', 0, '1', NULL, NULL, 'N:N'),
(154, 8, 7, 'get_related_list', 4, 'Leads', 0, '1', NULL, NULL, 'N:N'),
(155, 8, 14, 'get_related_list', 5, 'Products', 0, '1', NULL, NULL, 'N:N'),
(156, 8, 36, 'get_related_list', 6, 'Services', 0, '1', NULL, NULL, 'N:N'),
(157, 8, 45, 'get_related_list', 7, 'Project', 0, '1', NULL, NULL, 'N:N'),
(158, 8, 38, 'get_related_list', 8, 'Assets', 0, '1', NULL, NULL, 'N:N'),
(159, 8, 35, 'get_related_list', 9, 'ServiceContracts', 0, '1', NULL, NULL, 'N:N'),
(160, 8, 20, 'get_related_list', 10, 'Quotes', 0, '1', NULL, NULL, 'N:N'),
(161, 8, 23, 'get_related_list', 11, 'Invoice', 0, '1', NULL, NULL, 'N:N'),
(162, 8, 22, 'get_related_list', 12, 'SalesOrder', 0, '1', NULL, NULL, 'N:N'),
(163, 8, 21, 'get_related_list', 13, 'PurchaseOrder', 0, '1', NULL, NULL, 'N:N'),
(164, 8, 13, 'get_related_list', 14, 'HelpDesk', 0, '1', NULL, NULL, 'N:N'),
(165, 8, 15, 'get_related_list', 15, 'Faq', 0, '1', NULL, NULL, 'N:N'),
(166, 45, 10, 'get_emails', 8, 'Emails', 0, 'ADD', NULL, NULL, 'N:N'),
(167, 44, 10, 'get_emails', 4, 'Emails', 0, 'ADD', NULL, NULL, 'N:N'),
(168, 45, 9, 'get_related_list', 9, 'Activities', 0, 'ADD', NULL, NULL, NULL),
(169, 45, 20, 'get_related_list', 10, 'Quotes', 0, 'SELECT', NULL, NULL, NULL),
(170, 14, 21, 'get_purchase_orders', 16, 'PurchaseOrder', 0, 'ADD', NULL, NULL, NULL),
(180, 51, 23, 'get_invoice', 1, 'Invoice', 0, ' ', NULL, NULL, NULL),
(181, 51, 8, 'get_attachments', 2, 'Documents', 0, 'SELECT,ADD', NULL, NULL, NULL),
(196, 23, 51, 'get_related_list', 6, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(197, 22, 51, 'get_related_list', 6, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(198, 21, 51, 'get_related_list', 5, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(199, 2, 51, 'get_dependents_list', 13, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(200, 18, 51, 'get_dependents_list', 5, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(201, 4, 51, 'get_dependents_list', 21, 'Cashflow4You', 0, '', NULL, NULL, NULL),
(202, 6, 51, 'get_dependents_list', 21, 'Cashflow4You', 0, '', NULL, NULL, NULL);

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

--
-- Structure de la table `vtiger_relatedlists_rb`
--

CREATE TABLE `vtiger_relatedlists_rb` (
  `entityid` int(19) DEFAULT NULL,
  `action` varchar(50) DEFAULT NULL,
  `rel_table` varchar(200) DEFAULT NULL,
  `rel_column` varchar(200) DEFAULT NULL,
  `ref_column` varchar(200) DEFAULT NULL,
  `related_crm_ids` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_relatedlists_seq`
--

CREATE TABLE `vtiger_relatedlists_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_relatedlists_seq` (`id`) VALUES
(202);

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

--
-- Structure de la table `vtiger_relcriteria`
--

CREATE TABLE `vtiger_relcriteria` (
  `queryid` int(19) NOT NULL,
  `columnindex` int(11) NOT NULL,
  `columnname` varchar(250) DEFAULT '',
  `comparator` varchar(20) DEFAULT NULL,
  `value` varchar(512) DEFAULT NULL,
  `groupid` int(11) DEFAULT 1,
  `column_condition` varchar(256) DEFAULT 'and'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_relcriteria` (`queryid`, `columnindex`, `columnname`, `comparator`, `value`, `groupid`, `column_condition`) VALUES
(7, 0, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V', 'e', 'Closed Won', 1, 'and'),
(12, 0, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V', 'n', 'Closed', 1, 'and'),
(24, 0, 'vtiger_email_track:access_count:Emails_Access_Count:access_count:V', 'n', '', 1, 'and'),
(26, 0, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(27, 0, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(28, 0, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(29, 0, 'vtiger_invoicecf:cf_883:Invoice_Etat:cf_883:V', 'n', 'void', 1, ''),
(30, 0, 'vtiger_invoicecf:cf_883:Invoice_Etat:cf_883:V', 'n', 'void', 1, ''),
(31, 0, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(32, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'thisfy', '2019-01-01,2019-12-31', 1, 'and'),
(32, 1, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(33, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'lastmonth', '2019-04-01,2019-04-30', 1, ''),
(34, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'thismonth', '2019-05-01,2019-05-31', 1, 'and'),
(34, 1, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V', 'n', 'void', 1, ''),
(35, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'thismonth', '2019-05-01,2019-05-31', 1, 'and'),
(35, 1, 'vtiger_invoicecf:cf_883:Invoice_Etat:cf_883:V', 'n', 'void', 1, ''),
(36, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'thisfy', '2019-01-01,2019-12-31', 1, 'and'),
(36, 1, 'vtiger_invoicecf:cf_883:Invoice_Etat:cf_883:V', 'n', 'void', 1, ''),
(37, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'lastmonth', '2019-04-01,2019-04-30', 1, ''),
(38, 0, 'vtiger_invoicecf:cf_883:Invoice_Etat:cf_883:V', 'n', 'void', 1, 'and'),
(38, 1, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V', 'n', 'Cancel,Paid', 1, '');

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

--
-- Structure de la table `vtiger_relcriteria_grouping`
--

CREATE TABLE `vtiger_relcriteria_grouping` (
  `groupid` int(11) NOT NULL,
  `queryid` int(19) NOT NULL,
  `group_condition` varchar(256) DEFAULT NULL,
  `condition_expression` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_relcriteria_grouping` (`groupid`, `queryid`, `group_condition`, `condition_expression`) VALUES
(1, 1, '', '0'),
(1, 2, '', '0'),
(1, 3, '', '0'),
(1, 7, '', '0'),
(1, 12, '', '0'),
(1, 15, '', '0 and 1'),
(1, 22, '', '0'),
(1, 23, '', '0'),
(1, 24, '', '0'),
(1, 25, '', '0'),
(1, 26, 'and', ' 0 '),
(1, 27, 'and', ' 0 '),
(1, 28, 'and', ' 0 '),
(1, 29, 'and', ' 0 '),
(1, 30, 'and', ' 0 '),
(1, 31, 'and', ' 0 '),
(1, 32, 'and', ' 0 and 1 '),
(1, 33, 'and', ' 0 '),
(1, 34, 'and', ' 0 and 1 '),
(1, 35, 'and', ' 0 and 1 '),
(1, 36, 'and', ' 0 and 1 '),
(1, 37, 'and', ' 0 '),
(1, 38, 'and', ' 0 and 1 ');

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

--
-- Structure de la table `vtiger_reminder_interval`
--

CREATE TABLE `vtiger_reminder_interval` (
  `reminder_intervalid` int(19) NOT NULL,
  `reminder_interval` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL,
  `presence` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reminder_interval` (`reminder_intervalid`, `reminder_interval`, `sortorderid`, `presence`) VALUES
(2, '1 Minute', 1, 1),
(3, '5 Minutes', 2, 1),
(4, '15 Minutes', 3, 1),
(5, '30 Minutes', 4, 1),
(6, '45 Minutes', 5, 1),
(7, '1 Hour', 6, 1),
(8, '1 Day', 7, 1);

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

--
-- Structure de la table `vtiger_reminder_interval_seq`
--

CREATE TABLE `vtiger_reminder_interval_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reminder_interval_seq` (`id`) VALUES
(8);

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

--
-- Structure de la table `vtiger_report`
--

CREATE TABLE `vtiger_report` (
  `reportid` int(19) NOT NULL,
  `folderid` int(19) NOT NULL,
  `reportname` varchar(100) DEFAULT '',
  `description` varchar(250) DEFAULT '',
  `reporttype` varchar(50) DEFAULT '',
  `queryid` int(19) NOT NULL DEFAULT 0,
  `state` varchar(50) DEFAULT 'SAVED',
  `customizable` int(1) DEFAULT 1,
  `category` int(11) DEFAULT 1,
  `owner` int(11) DEFAULT 1,
  `sharingtype` varchar(200) DEFAULT 'Private'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_report` (`reportid`, `folderid`, `reportname`, `description`, `reporttype`, `queryid`, `state`, `customizable`, `category`, `owner`, `sharingtype`) VALUES
(4, 2, 'Lead by Source', 'Lead by Source', 'summary', 4, 'CUSTOM', 1, 1, 1, 'Public'),
(5, 2, 'Lead Status Report', 'Lead Status Report', 'summary', 5, 'CUSTOM', 1, 1, 1, 'Public'),
(6, 3, 'Potential Pipeline', 'Potential Pipeline', 'summary', 6, 'CUSTOM', 1, 1, 1, 'Public'),
(7, 3, 'Closed Potentials', 'Potential that have Won', 'tabular', 7, 'CUSTOM', 1, 1, 1, 'Public'),
(10, 5, 'Tickets by Products', 'Tickets related to Products', 'tabular', 10, 'CUSTOM', 1, 1, 1, 'Public'),
(11, 5, 'Tickets by Priority', 'Tickets by Priority', 'summary', 11, 'CUSTOM', 1, 1, 1, 'Public'),
(12, 5, 'Open Tickets', 'Tickets that are Open', 'tabular', 12, 'CUSTOM', 1, 1, 1, 'Public'),
(13, 6, 'Product Details', 'Product Detailed Report', 'tabular', 13, 'CUSTOM', 1, 1, 1, 'Public'),
(14, 6, 'Products by Contacts', 'Products related to Contacts', 'tabular', 14, 'CUSTOM', 1, 1, 1, 'Public'),
(21, 11, 'Campaign Expectations and Actuals', 'Campaign Expectations and Actuals', 'tabular', 21, 'CUSTOM', 1, 1, 1, 'Public'),
(24, 12, 'Leads Email Report', 'Emails sent to Leads', 'tabular', 24, 'CUSTOM', 1, 1, 1, 'Public'),
(26, 10, 'Volume Activite', '', 'chart', 26, 'CUSTOM', 1, 1, 1, 'Private'),
(27, 10, 'Emission par Conseiller', '', 'chart', 27, 'CUSTOM', 1, 1, 1, 'Private'),
(28, 10, 'Nombre de Billet par mois', '', 'chart', 28, 'CUSTOM', 1, 1, 1, 'Private'),
(29, 9, 'C.A. par Client', '', 'chart', 29, 'CUSTOM', 1, 1, 1, 'Private'),
(30, 9, 'Volume de Vente par client', '', 'chart', 30, 'CUSTOM', 1, 1, 1, 'Private'),
(31, 8, 'Emissions par Compagnies', '', 'chart', 31, 'CUSTOM', 1, 1, 1, 'Public'),
(32, 4, 'Detail Etat de Vente - Annee en cours', '', 'tabular', 32, 'CUSTOM', 1, 1, 1, 'Private'),
(33, 4, 'Detail Etat de Vente - Mois precedent', '', 'tabular', 33, 'CUSTOM', 1, 1, 1, 'Private'),
(34, 4, 'Detail Etat de Vente - Mois en Cours', '', 'tabular', 34, 'CUSTOM', 1, 1, 1, 'Private'),
(35, 9, 'Detail Facture - Mois en Cours', 'Detail des factures du mois en cours', 'tabular', 35, 'CUSTOM', 1, 1, 1, 'Private'),
(36, 9, 'Detail Facture - Annee en cours', 'Detail des factures du mois en cours', 'tabular', 36, 'CUSTOM', 1, 1, 1, 'Private'),
(37, 9, 'Detail Facture - Mois precedent', 'Detail des factures du mois en cours', 'tabular', 37, 'CUSTOM', 1, 1, 1, 'Private'),
(38, 9, 'Solde du par client', '', 'chart', 38, 'CUSTOM', 1, 1, 1, 'Private');

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

--
-- Structure de la table `vtiger_reportdatefilter`
--

CREATE TABLE `vtiger_reportdatefilter` (
  `datefilterid` int(19) NOT NULL,
  `datecolumnname` varchar(250) DEFAULT '',
  `datefilter` varchar(250) DEFAULT '',
  `startdate` date DEFAULT NULL,
  `enddate` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_reportfilters`
--

CREATE TABLE `vtiger_reportfilters` (
  `filterid` int(19) NOT NULL,
  `name` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportfilters` (`filterid`, `name`) VALUES
(1, 'Private'),
(2, 'Public'),
(3, 'Shared');

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

--
-- Structure de la table `vtiger_reportfolder`
--

CREATE TABLE `vtiger_reportfolder` (
  `folderid` int(19) NOT NULL,
  `foldername` varchar(100) NOT NULL DEFAULT '',
  `description` varchar(250) DEFAULT '',
  `state` varchar(50) DEFAULT 'SAVED'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportfolder` (`folderid`, `foldername`, `description`, `state`) VALUES
(1, 'Organization and Contact Reports', 'Account and Contact Reports', 'SAVED'),
(2, 'Lead Reports', 'Lead Reports', 'SAVED'),
(3, 'Opportunity Reports', 'Potential Reports', 'SAVED'),
(4, 'Activity Reports', 'Activity Reports', 'SAVED'),
(5, 'Tickets Reports', 'HelpDesk Reports', 'SAVED'),
(6, 'Product Reports', 'Product Reports', 'SAVED'),
(7, 'Quote Reports', 'Quote Reports', 'SAVED'),
(8, 'Purchase Order Reports', 'PurchaseOrder Reports', 'SAVED'),
(9, 'Invoice Reports', 'Invoice Reports', 'SAVED'),
(10, 'Sales Order Reports', 'SalesOrder Reports', 'SAVED'),
(11, 'Campaign Reports', 'Campaign Reports', 'SAVED'),
(12, 'Email Reports', 'Email Reports', 'SAVED');

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

--
-- Structure de la table `vtiger_reportgroupbycolumn`
--

CREATE TABLE `vtiger_reportgroupbycolumn` (
  `reportid` int(19) DEFAULT NULL,
  `sortid` int(19) DEFAULT NULL,
  `sortcolname` varchar(250) DEFAULT NULL,
  `dategroupbycriteria` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportgroupbycolumn` (`reportid`, `sortid`, `sortcolname`, `dategroupbycriteria`) VALUES
(32, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'None'),
(33, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'None'),
(34, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'None'),
(35, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'None'),
(36, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'None'),
(37, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'None');

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

--
-- Structure de la table `vtiger_reportmodules`
--

CREATE TABLE `vtiger_reportmodules` (
  `reportmodulesid` int(19) NOT NULL,
  `primarymodule` varchar(100) DEFAULT NULL,
  `secondarymodules` varchar(250) DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportmodules` (`reportmodulesid`, `primarymodule`, `secondarymodules`) VALUES
(4, 'Leads', ''),
(5, 'Leads', ''),
(6, 'Potentials', ''),
(7, 'Potentials', ''),
(10, 'HelpDesk', 'Products'),
(11, 'HelpDesk', ''),
(12, 'HelpDesk', ''),
(13, 'Products', ''),
(14, 'Products', 'Contacts'),
(21, 'Campaigns', ''),
(24, 'Leads', 'Emails'),
(26, 'PurchaseOrder', ''),
(27, 'PurchaseOrder', ''),
(28, 'PurchaseOrder', ''),
(29, 'Invoice', ''),
(30, 'Invoice', ''),
(31, 'PurchaseOrder', ''),
(32, 'PurchaseOrder', ''),
(33, 'PurchaseOrder', ''),
(34, 'PurchaseOrder', ''),
(35, 'Invoice', ''),
(36, 'Invoice', ''),
(37, 'Invoice', ''),
(38, 'Invoice', '');

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

--
-- Structure de la table `vtiger_reportsharing`
--

CREATE TABLE `vtiger_reportsharing` (
  `reportid` int(19) NOT NULL,
  `shareid` int(19) NOT NULL,
  `setype` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_reportsortcol`
--

CREATE TABLE `vtiger_reportsortcol` (
  `sortcolid` int(19) NOT NULL,
  `reportid` int(19) NOT NULL,
  `columnname` varchar(250) DEFAULT '',
  `sortorder` varchar(250) DEFAULT 'Asc'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportsortcol` (`sortcolid`, `reportid`, `columnname`, `sortorder`) VALUES
(0, 32, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'Ascending'),
(0, 33, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'Ascending'),
(0, 34, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D', 'Ascending'),
(0, 35, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'Ascending'),
(0, 36, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'Ascending'),
(0, 37, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D', 'Ascending'),
(1, 4, 'vtiger_leaddetails:leadsource:Leads_Lead_Source:leadsource:V', 'Ascending'),
(1, 5, 'vtiger_leaddetails:leadstatus:Leads_Lead_Status:leadstatus:V', 'Ascending'),
(1, 6, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V', 'Ascending'),
(1, 11, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V', 'Ascending'),
(1, 32, 'none', ''),
(1, 33, 'none', ''),
(1, 34, 'none', ''),
(1, 35, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V', 'Ascending'),
(1, 36, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V', 'Ascending'),
(1, 37, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V', 'Ascending'),
(2, 32, 'none', ''),
(2, 33, 'none', ''),
(2, 34, 'none', ''),
(2, 35, 'none', ''),
(2, 36, 'none', ''),
(2, 37, 'none', '');

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

--
-- Structure de la table `vtiger_reportsummary`
--

CREATE TABLE `vtiger_reportsummary` (
  `reportsummaryid` int(19) NOT NULL,
  `summarytype` int(19) NOT NULL,
  `columnname` varchar(250) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reportsummary` (`reportsummaryid`, `summarytype`, `columnname`) VALUES
(32, 0, 'cb:vtiger_purchaseorder:total:Total_SUM:2'),
(32, 1, 'cb:vtiger_purchaseorder:subtotal:Sub_Total_SUM:2'),
(32, 2, 'cb:vtiger_purchaseordercf:cf_949:Hors_Taxes_SUM:2'),
(32, 3, 'cb:vtiger_purchaseordercf:cf_951:Taxes_SUM:2'),
(33, 0, 'cb:vtiger_purchaseorder:total:Total_SUM:2'),
(33, 1, 'cb:vtiger_purchaseorder:subtotal:Sub_Total_SUM:2'),
(33, 2, 'cb:vtiger_purchaseordercf:cf_949:Hors_Taxes_SUM:2'),
(33, 3, 'cb:vtiger_purchaseordercf:cf_951:Taxes_SUM:2'),
(34, 0, 'cb:vtiger_purchaseorder:total:Total_SUM:2'),
(34, 1, 'cb:vtiger_purchaseorder:subtotal:Sub_Total_SUM:2'),
(34, 2, 'cb:vtiger_purchaseordercf:cf_949:Hors_Taxes_SUM:2'),
(34, 3, 'cb:vtiger_purchaseordercf:cf_951:Taxes_SUM:2'),
(35, 0, 'cb:vtiger_invoice:total:Total_SUM:2'),
(35, 1, 'cb:vtiger_invoicecf:cf_1008:Marge_Globale_SUM:2'),
(36, 0, 'cb:vtiger_invoice:total:Total_SUM:2'),
(36, 1, 'cb:vtiger_invoicecf:cf_1008:Marge_Globale_SUM:2'),
(37, 0, 'cb:vtiger_invoice:total:Total_SUM:2'),
(37, 1, 'cb:vtiger_invoicecf:cf_1008:Marge_Globale_SUM:2');

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

--
-- Structure de la table `vtiger_reporttype`
--

CREATE TABLE `vtiger_reporttype` (
  `reportid` int(10) NOT NULL,
  `data` text DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_reporttype` (`reportid`, `data`) VALUES
(26, '{\"type\":\"lineChart\",\"groupbyfield\":\"vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D:MY\",\"datafields\":[\"vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N:SUM\"]}'),
(27, '{\"type\":\"verticalbarChart\",\"groupbyfield\":\"vtiger_purchaseordercf:cf_895:PurchaseOrder_SignInTicketing:cf_895:V\",\"datafields\":[\"vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N:SUM\"]}'),
(28, '{\"type\":\"lineChart\",\"groupbyfield\":\"vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D:MY\",\"datafields\":[\"count(*)\"]}'),
(29, '{\"type\":\"verticalbarChart\",\"groupbyfield\":\"vtiger_invoice:accountid:Invoice_Account_Name:account_id:V\",\"datafields\":[\"vtiger_invoicecf:cf_1008:Invoice_Marge_Globale:cf_1008:N:SUM\"]}'),
(30, '{\"type\":\"verticalbarChart\",\"groupbyfield\":\"vtiger_invoice:accountid:Invoice_Account_Name:account_id:V\",\"datafields\":[\"vtiger_invoice:total:Invoice_Total:hdnGrandTotal:N:SUM\"]}'),
(31, '{\"type\":\"verticalbarChart\",\"groupbyfield\":\"vtiger_purchaseordercf:cf_1025:PurchaseOrder_Airline:cf_1025:V\",\"datafields\":[\"vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N:SUM\"]}'),
(38, '{\"type\":\"verticalbarChart\",\"groupbyfield\":\"vtiger_invoice:accountid:Invoice_Account_Name:account_id:V\",\"datafields\":[\"vtiger_invoice:balance:Invoice_Balance:balance:N:SUM\"]}');

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

--
-- Structure de la table `vtiger_report_sharegroups`
--

CREATE TABLE `vtiger_report_sharegroups` (
  `reportid` int(25) NOT NULL,
  `groupid` int(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_report_sharegroups` (`reportid`, `groupid`) VALUES
(31, 2),
(31, 3),
(31, 5),
(29, 2),
(29, 5),
(32, 2),
(32, 5),
(33, 2),
(33, 5),
(34, 2),
(34, 5),
(35, 2),
(35, 5),
(36, 2),
(36, 5),
(37, 2),
(37, 5);

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

--
-- Structure de la table `vtiger_report_sharerole`
--

CREATE TABLE `vtiger_report_sharerole` (
  `reportid` int(25) NOT NULL,
  `roleid` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_report_sharers`
--

CREATE TABLE `vtiger_report_sharers` (
  `reportid` int(25) NOT NULL,
  `rsid` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_report_shareusers`
--

CREATE TABLE `vtiger_report_shareusers` (
  `reportid` int(25) NOT NULL,
  `userid` int(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_report_shareusers` (`reportid`, `userid`) VALUES
(26, 6),
(27, 6),
(28, 6),
(30, 6),
(38, 6);

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

--
-- Structure de la table `vtiger_role`
--

CREATE TABLE `vtiger_role` (
  `roleid` varchar(255) NOT NULL,
  `rolename` varchar(200) DEFAULT NULL,
  `parentrole` varchar(255) DEFAULT NULL,
  `depth` int(19) DEFAULT NULL,
  `allowassignedrecordsto` int(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_role` (`roleid`, `rolename`, `parentrole`, `depth`, `allowassignedrecordsto`) VALUES
('H1', 'Organization', 'H1', 0, 1),
('H2', 'Support Estair', 'H1::H2', 1, 1),
('H3', 'DG', 'H1::H2::H3', 2, 1),
('H4', 'Chef Agence', 'H1::H2::H3::H4', 3, 1),
('H5', 'Conseiller Voyage', 'H1::H2::H3::H4::H5', 4, 1),
('H6', 'Comptabilite', 'H1::H2::H3::H6', 3, 1);

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

--
-- Structure de la table `vtiger_role2picklist`
--

CREATE TABLE `vtiger_role2picklist` (
  `roleid` varchar(255) NOT NULL,
  `picklistvalueid` int(11) NOT NULL,
  `picklistid` int(11) NOT NULL,
  `sortid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_role2picklist` (`roleid`, `picklistvalueid`, `picklistid`, `sortid`) VALUES
('H1', 1, 1, 0),
('H1', 2, 1, 1),
('H1', 3, 1, 2),
('H1', 4, 1, 3),
('H1', 5, 1, 4),
('H1', 6, 1, 5),
('H1', 7, 1, 6),
('H1', 8, 1, 7),
('H1', 9, 1, 8),
('H1', 10, 1, 9),
('H1', 11, 1, 10),
('H1', 12, 2, 0),
('H1', 13, 2, 1),
('H1', 14, 3, 0),
('H1', 15, 3, 1),
('H1', 16, 3, 2),
('H1', 17, 3, 3),
('H1', 18, 3, 4),
('H1', 19, 3, 5),
('H1', 20, 4, 0),
('H1', 21, 4, 1),
('H1', 22, 4, 2),
('H1', 23, 4, 3),
('H1', 24, 4, 4),
('H1', 25, 4, 5),
('H1', 26, 4, 6),
('H1', 27, 4, 7),
('H1', 28, 4, 8),
('H1', 29, 4, 9),
('H1', 30, 4, 10),
('H1', 31, 4, 11),
('H1', 32, 4, 12),
('H1', 33, 5, 0),
('H1', 34, 5, 1),
('H1', 35, 5, 2),
('H1', 36, 5, 3),
('H1', 37, 5, 4),
('H1', 38, 6, 0),
('H1', 39, 6, 1),
('H1', 40, 6, 2),
('H1', 41, 7, 0),
('H1', 42, 7, 1),
('H1', 43, 7, 2),
('H1', 44, 7, 3),
('H1', 45, 7, 4),
('H1', 46, 8, 0),
('H1', 47, 9, 0),
('H1', 48, 9, 1),
('H1', 49, 9, 2),
('H1', 50, 9, 3),
('H1', 51, 10, 0),
('H1', 52, 10, 1),
('H1', 53, 10, 2),
('H1', 54, 10, 3),
('H1', 55, 10, 4),
('H1', 56, 10, 5),
('H1', 57, 10, 6),
('H1', 58, 10, 7),
('H1', 59, 10, 8),
('H1', 60, 11, 0),
('H1', 61, 11, 1),
('H1', 62, 11, 2),
('H1', 63, 11, 3),
('H1', 64, 11, 4),
('H1', 65, 11, 5),
('H1', 66, 11, 6),
('H1', 67, 11, 7),
('H1', 68, 11, 8),
('H1', 69, 11, 9),
('H1', 70, 11, 10),
('H1', 71, 11, 11),
('H1', 72, 11, 12),
('H1', 73, 11, 13),
('H1', 74, 11, 14),
('H1', 75, 11, 15),
('H1', 76, 11, 16),
('H1', 77, 11, 17),
('H1', 78, 11, 18),
('H1', 79, 11, 19),
('H1', 80, 11, 20),
('H1', 81, 11, 21),
('H1', 82, 11, 22),
('H1', 83, 11, 23),
('H1', 84, 11, 24),
('H1', 85, 11, 25),
('H1', 86, 11, 26),
('H1', 87, 11, 27),
('H1', 88, 11, 28),
('H1', 89, 11, 29),
('H1', 90, 11, 30),
('H1', 91, 11, 31),
('H1', 92, 12, 0),
('H1', 93, 12, 1),
('H1', 94, 12, 2),
('H1', 95, 12, 3),
('H1', 96, 12, 4),
('H1', 97, 12, 5),
('H1', 98, 13, 0),
('H1', 99, 13, 1),
('H1', 100, 13, 2),
('H1', 101, 13, 3),
('H1', 102, 13, 4),
('H1', 103, 13, 5),
('H1', 104, 13, 6),
('H1', 105, 13, 7),
('H1', 106, 13, 8),
('H1', 107, 13, 9),
('H1', 108, 13, 10),
('H1', 109, 13, 11),
('H1', 110, 13, 12),
('H1', 111, 14, 0),
('H1', 112, 14, 1),
('H1', 113, 14, 2),
('H1', 114, 14, 3),
('H1', 115, 14, 4),
('H1', 116, 14, 5),
('H1', 117, 14, 6),
('H1', 118, 14, 7),
('H1', 119, 14, 8),
('H1', 120, 14, 9),
('H1', 121, 14, 10),
('H1', 122, 14, 11),
('H1', 123, 15, 0),
('H1', 124, 15, 1),
('H1', 125, 15, 2),
('H1', 126, 15, 3),
('H1', 127, 16, 0),
('H1', 128, 16, 1),
('H1', 129, 16, 2),
('H1', 130, 17, 0),
('H1', 131, 17, 1),
('H1', 132, 17, 2),
('H1', 133, 17, 3),
('H1', 134, 17, 4),
('H1', 135, 18, 0),
('H1', 136, 18, 1),
('H1', 137, 18, 2),
('H1', 138, 18, 3),
('H1', 139, 19, 0),
('H1', 140, 19, 1),
('H1', 141, 19, 2),
('H1', 142, 19, 3),
('H1', 143, 19, 4),
('H1', 144, 20, 0),
('H1', 145, 20, 1),
('H1', 146, 20, 2),
('H1', 147, 20, 3),
('H1', 148, 20, 4),
('H1', 149, 20, 5),
('H1', 150, 21, 0),
('H1', 151, 21, 1),
('H1', 152, 21, 2),
('H1', 153, 21, 3),
('H1', 154, 21, 4),
('H1', 155, 21, 5),
('H1', 156, 21, 6),
('H1', 157, 21, 7),
('H1', 158, 21, 8),
('H1', 159, 21, 9),
('H1', 160, 22, 0),
('H1', 161, 22, 1),
('H1', 162, 22, 2),
('H1', 163, 22, 3),
('H1', 164, 22, 4),
('H1', 165, 22, 5),
('H1', 166, 23, 0),
('H1', 167, 23, 1),
('H1', 168, 23, 2),
('H1', 169, 23, 3),
('H1', 170, 24, 0),
('H1', 171, 24, 1),
('H1', 172, 24, 2),
('H1', 173, 25, 0),
('H1', 174, 25, 1),
('H1', 175, 25, 2),
('H1', 176, 25, 3),
('H1', 177, 25, 4),
('H1', 178, 25, 5),
('H1', 179, 26, 0),
('H1', 180, 26, 1),
('H1', 181, 26, 2),
('H1', 182, 27, 0),
('H1', 183, 27, 1),
('H1', 184, 27, 2),
('H1', 185, 27, 3),
('H1', 186, 28, 0),
('H1', 187, 28, 1),
('H1', 188, 28, 2),
('H1', 189, 28, 3),
('H1', 190, 29, 0),
('H1', 191, 29, 1),
('H1', 192, 29, 2),
('H1', 193, 29, 3),
('H1', 194, 30, 0),
('H1', 195, 30, 1),
('H1', 196, 30, 2),
('H1', 197, 30, 3),
('H1', 198, 30, 4),
('H1', 199, 30, 5),
('H1', 200, 30, 6),
('H1', 201, 30, 7),
('H1', 202, 30, 8),
('H1', 203, 30, 9),
('H1', 204, 30, 10),
('H1', 205, 30, 11),
('H1', 206, 30, 12),
('H1', 207, 30, 13),
('H1', 208, 30, 14),
('H1', 209, 30, 15),
('H1', 210, 31, 1),
('H1', 211, 31, 2),
('H1', 212, 31, 3),
('H1', 213, 31, 4),
('H1', 214, 32, 1),
('H1', 215, 32, 2),
('H1', 216, 32, 3),
('H1', 217, 32, 4),
('H1', 218, 32, 5),
('H1', 219, 32, 6),
('H1', 220, 33, 1),
('H1', 221, 33, 2),
('H1', 222, 33, 3),
('H1', 223, 34, 1),
('H1', 224, 34, 2),
('H1', 225, 34, 3),
('H1', 226, 35, 1),
('H1', 227, 35, 2),
('H1', 228, 35, 3),
('H1', 229, 36, 1),
('H1', 230, 36, 2),
('H1', 231, 36, 3),
('H1', 232, 36, 4),
('H1', 233, 36, 5),
('H1', 234, 36, 6),
('H1', 235, 37, 1),
('H1', 236, 37, 2),
('H1', 237, 38, 1),
('H1', 238, 38, 2),
('H1', 239, 38, 3),
('H1', 240, 38, 4),
('H1', 241, 39, 1),
('H1', 242, 39, 2),
('H1', 243, 39, 3),
('H1', 244, 39, 4),
('H1', 245, 40, 1),
('H1', 246, 40, 2),
('H1', 247, 40, 3),
('H1', 248, 40, 4),
('H1', 249, 41, 1),
('H1', 250, 41, 2),
('H1', 251, 41, 3),
('H1', 252, 41, 4),
('H1', 253, 41, 5),
('H1', 254, 41, 6),
('H1', 255, 41, 7),
('H1', 256, 41, 8),
('H1', 257, 41, 9),
('H1', 258, 41, 10),
('H1', 259, 41, 11),
('H1', 260, 42, 1),
('H1', 261, 42, 2),
('H1', 262, 42, 3),
('H1', 263, 42, 4),
('H1', 264, 42, 5),
('H1', 265, 42, 6),
('H1', 266, 42, 7),
('H1', 267, 42, 8),
('H1', 268, 42, 9),
('H1', 269, 43, 1),
('H1', 270, 43, 2),
('H1', 271, 43, 3),
('H1', 272, 43, 4),
('H1', 273, 44, 1),
('H1', 274, 44, 2),
('H1', 275, 44, 3),
('H1', 276, 44, 4),
('H1', 277, 45, 1),
('H1', 278, 45, 2),
('H1', 279, 45, 3),
('H1', 280, 45, 4),
('H1', 281, 45, 5),
('H1', 282, 45, 6),
('H1', 283, 45, 7),
('H1', 284, 45, 8),
('H1', 285, 45, 9),
('H1', 286, 45, 10),
('H1', 287, 45, 11),
('H1', 288, 12, 1),
('H1', 289, 46, 1),
('H1', 290, 46, 2),
('H1', 291, 46, 3),
('H1', 292, 46, 4),
('H1', 293, 46, 5),
('H1', 294, 46, 6),
('H1', 295, 2, 1),
('H1', 296, 47, 1),
('H1', 297, 47, 2),
('H1', 298, 47, 3),
('H1', 299, 48, 1),
('H1', 300, 48, 2),
('H1', 333, 55, 1),
('H1', 334, 55, 2),
('H1', 335, 55, 3),
('H1', 336, 55, 4),
('H1', 337, 55, 5),
('H1', 338, 55, 6),
('H1', 339, 55, 7),
('H1', 340, 56, 1),
('H1', 341, 56, 2),
('H1', 342, 57, 1),
('H1', 343, 57, 2),
('H1', 344, 57, 3),
('H1', 345, 57, 4),
('H1', 346, 57, 5),
('H1', 347, 57, 6),
('H1', 348, 57, 7),
('H1', 349, 57, 8),
('H1', 350, 57, 9),
('H1', 351, 58, 1),
('H1', 352, 58, 2),
('H1', 353, 59, 1),
('H1', 354, 59, 2),
('H1', 355, 59, 3),
('H1', 356, 59, 4),
('H1', 357, 59, 5),
('H1', 358, 60, 1),
('H1', 359, 60, 2),
('H1', 360, 60, 3),
('H1', 361, 60, 4),
('H1', 362, 60, 5),
('H1', 365, 17, 1),
('H1', 367, 17, 1),
('H2', 1, 1, 0),
('H2', 2, 1, 1),
('H2', 3, 1, 2),
('H2', 4, 1, 3),
('H2', 5, 1, 4),
('H2', 6, 1, 5),
('H2', 7, 1, 6),
('H2', 8, 1, 7),
('H2', 9, 1, 8),
('H2', 10, 1, 9),
('H2', 11, 1, 10),
('H2', 12, 2, 0),
('H2', 13, 2, 1),
('H2', 14, 3, 0),
('H2', 15, 3, 1),
('H2', 16, 3, 2),
('H2', 17, 3, 3),
('H2', 18, 3, 4),
('H2', 19, 3, 5),
('H2', 20, 4, 0),
('H2', 21, 4, 1),
('H2', 22, 4, 2),
('H2', 23, 4, 3),
('H2', 24, 4, 4),
('H2', 25, 4, 5),
('H2', 26, 4, 6),
('H2', 27, 4, 7),
('H2', 28, 4, 8),
('H2', 29, 4, 9),
('H2', 30, 4, 10),
('H2', 31, 4, 11),
('H2', 32, 4, 12),
('H2', 33, 5, 0),
('H2', 34, 5, 1),
('H2', 35, 5, 2),
('H2', 36, 5, 3),
('H2', 37, 5, 4),
('H2', 38, 6, 0),
('H2', 39, 6, 1),
('H2', 40, 6, 2),
('H2', 41, 7, 0),
('H2', 42, 7, 1),
('H2', 43, 7, 2),
('H2', 44, 7, 3),
('H2', 45, 7, 4),
('H2', 46, 8, 0),
('H2', 47, 9, 0),
('H2', 48, 9, 1),
('H2', 49, 9, 2),
('H2', 50, 9, 3),
('H2', 51, 10, 0),
('H2', 52, 10, 1),
('H2', 53, 10, 2),
('H2', 54, 10, 3),
('H2', 55, 10, 4),
('H2', 56, 10, 5),
('H2', 57, 10, 6),
('H2', 58, 10, 7),
('H2', 59, 10, 8),
('H2', 60, 11, 0),
('H2', 61, 11, 1),
('H2', 62, 11, 2),
('H2', 63, 11, 3),
('H2', 64, 11, 4),
('H2', 65, 11, 5),
('H2', 66, 11, 6),
('H2', 67, 11, 7),
('H2', 68, 11, 8),
('H2', 69, 11, 9),
('H2', 70, 11, 10),
('H2', 71, 11, 11),
('H2', 72, 11, 12),
('H2', 73, 11, 13),
('H2', 74, 11, 14),
('H2', 75, 11, 15),
('H2', 76, 11, 16),
('H2', 77, 11, 17),
('H2', 78, 11, 18),
('H2', 79, 11, 19),
('H2', 80, 11, 20),
('H2', 81, 11, 21),
('H2', 82, 11, 22),
('H2', 83, 11, 23),
('H2', 84, 11, 24),
('H2', 85, 11, 25),
('H2', 86, 11, 26),
('H2', 87, 11, 27),
('H2', 88, 11, 28),
('H2', 89, 11, 29),
('H2', 90, 11, 30),
('H2', 91, 11, 31),
('H2', 92, 12, 0),
('H2', 93, 12, 1),
('H2', 94, 12, 2),
('H2', 95, 12, 3),
('H2', 96, 12, 4),
('H2', 97, 12, 5),
('H2', 98, 13, 0),
('H2', 99, 13, 1),
('H2', 100, 13, 2),
('H2', 101, 13, 3),
('H2', 102, 13, 4),
('H2', 103, 13, 5),
('H2', 104, 13, 6),
('H2', 105, 13, 7),
('H2', 106, 13, 8),
('H2', 107, 13, 9),
('H2', 108, 13, 10),
('H2', 109, 13, 11),
('H2', 110, 13, 12),
('H2', 111, 14, 0),
('H2', 112, 14, 1),
('H2', 113, 14, 2),
('H2', 114, 14, 3),
('H2', 115, 14, 4),
('H2', 116, 14, 5),
('H2', 117, 14, 6),
('H2', 118, 14, 7),
('H2', 119, 14, 8),
('H2', 120, 14, 9),
('H2', 121, 14, 10),
('H2', 122, 14, 11),
('H2', 123, 15, 0),
('H2', 124, 15, 1),
('H2', 125, 15, 2),
('H2', 126, 15, 3),
('H2', 127, 16, 0),
('H2', 128, 16, 1),
('H2', 129, 16, 2),
('H2', 130, 17, 0),
('H2', 131, 17, 1),
('H2', 132, 17, 2),
('H2', 133, 17, 3),
('H2', 134, 17, 4),
('H2', 135, 18, 0),
('H2', 136, 18, 1),
('H2', 137, 18, 2),
('H2', 138, 18, 3),
('H2', 139, 19, 0),
('H2', 140, 19, 1),
('H2', 141, 19, 2),
('H2', 142, 19, 3),
('H2', 143, 19, 4),
('H2', 144, 20, 0),
('H2', 145, 20, 1),
('H2', 146, 20, 2),
('H2', 147, 20, 3),
('H2', 148, 20, 4),
('H2', 149, 20, 5),
('H2', 150, 21, 0),
('H2', 151, 21, 1),
('H2', 152, 21, 2),
('H2', 153, 21, 3),
('H2', 154, 21, 4),
('H2', 155, 21, 5),
('H2', 156, 21, 6),
('H2', 157, 21, 7),
('H2', 158, 21, 8),
('H2', 159, 21, 9),
('H2', 160, 22, 0),
('H2', 161, 22, 1),
('H2', 162, 22, 2),
('H2', 163, 22, 3),
('H2', 164, 22, 4),
('H2', 165, 22, 5),
('H2', 166, 23, 0),
('H2', 167, 23, 1),
('H2', 168, 23, 2),
('H2', 169, 23, 3),
('H2', 170, 24, 0),
('H2', 171, 24, 1),
('H2', 172, 24, 2),
('H2', 173, 25, 0),
('H2', 174, 25, 1),
('H2', 175, 25, 2),
('H2', 176, 25, 3),
('H2', 177, 25, 4),
('H2', 178, 25, 5),
('H2', 179, 26, 0),
('H2', 180, 26, 1),
('H2', 181, 26, 2),
('H2', 182, 27, 0),
('H2', 183, 27, 1),
('H2', 184, 27, 2),
('H2', 185, 27, 3),
('H2', 186, 28, 0),
('H2', 187, 28, 1),
('H2', 188, 28, 2),
('H2', 189, 28, 3),
('H2', 190, 29, 0),
('H2', 191, 29, 1),
('H2', 192, 29, 2),
('H2', 193, 29, 3),
('H2', 194, 30, 0),
('H2', 195, 30, 1),
('H2', 196, 30, 2),
('H2', 197, 30, 3),
('H2', 198, 30, 4),
('H2', 199, 30, 5),
('H2', 200, 30, 6),
('H2', 201, 30, 7),
('H2', 202, 30, 8),
('H2', 203, 30, 9),
('H2', 204, 30, 10),
('H2', 205, 30, 11),
('H2', 206, 30, 12),
('H2', 207, 30, 13),
('H2', 208, 30, 14),
('H2', 209, 30, 15),
('H2', 210, 31, 1),
('H2', 211, 31, 2),
('H2', 212, 31, 3),
('H2', 213, 31, 4),
('H2', 214, 32, 1),
('H2', 215, 32, 2),
('H2', 216, 32, 3),
('H2', 217, 32, 4),
('H2', 218, 32, 5),
('H2', 219, 32, 6),
('H2', 220, 33, 1),
('H2', 221, 33, 2),
('H2', 222, 33, 3),
('H2', 223, 34, 1),
('H2', 224, 34, 2),
('H2', 225, 34, 3),
('H2', 226, 35, 1),
('H2', 227, 35, 2),
('H2', 228, 35, 3),
('H2', 229, 36, 1),
('H2', 230, 36, 2),
('H2', 231, 36, 3),
('H2', 232, 36, 4),
('H2', 233, 36, 5),
('H2', 234, 36, 6),
('H2', 235, 37, 1),
('H2', 236, 37, 2),
('H2', 237, 38, 1),
('H2', 238, 38, 2),
('H2', 239, 38, 3),
('H2', 240, 38, 4),
('H2', 241, 39, 1),
('H2', 242, 39, 2),
('H2', 243, 39, 3),
('H2', 244, 39, 4),
('H2', 245, 40, 1),
('H2', 246, 40, 2),
('H2', 247, 40, 3),
('H2', 248, 40, 4),
('H2', 249, 41, 1),
('H2', 250, 41, 2),
('H2', 251, 41, 3),
('H2', 252, 41, 4),
('H2', 253, 41, 5),
('H2', 254, 41, 6),
('H2', 255, 41, 7),
('H2', 256, 41, 8),
('H2', 257, 41, 9),
('H2', 258, 41, 10),
('H2', 259, 41, 11),
('H2', 260, 42, 1),
('H2', 261, 42, 2),
('H2', 262, 42, 3),
('H2', 263, 42, 4),
('H2', 264, 42, 5),
('H2', 265, 42, 6),
('H2', 266, 42, 7),
('H2', 267, 42, 8),
('H2', 268, 42, 9),
('H2', 269, 43, 1),
('H2', 270, 43, 2),
('H2', 271, 43, 3),
('H2', 272, 43, 4),
('H2', 273, 44, 1),
('H2', 274, 44, 2),
('H2', 275, 44, 3),
('H2', 276, 44, 4),
('H2', 277, 45, 1),
('H2', 278, 45, 2),
('H2', 279, 45, 3),
('H2', 280, 45, 4),
('H2', 281, 45, 5),
('H2', 282, 45, 6),
('H2', 283, 45, 7),
('H2', 284, 45, 8),
('H2', 285, 45, 9),
('H2', 286, 45, 10),
('H2', 287, 45, 11),
('H2', 288, 12, 1),
('H2', 289, 46, 1),
('H2', 290, 46, 2),
('H2', 291, 46, 3),
('H2', 292, 46, 4),
('H2', 293, 46, 5),
('H2', 294, 46, 6),
('H2', 295, 2, 1),
('H2', 296, 47, 1),
('H2', 297, 47, 2),
('H2', 298, 47, 3),
('H2', 299, 48, 1),
('H2', 300, 48, 2),
('H2', 333, 55, 1),
('H2', 334, 55, 2),
('H2', 335, 55, 3),
('H2', 336, 55, 4),
('H2', 337, 55, 5),
('H2', 338, 55, 6),
('H2', 339, 55, 7),
('H2', 340, 56, 1),
('H2', 341, 56, 2),
('H2', 342, 57, 1),
('H2', 343, 57, 2),
('H2', 344, 57, 3),
('H2', 345, 57, 4),
('H2', 346, 57, 5),
('H2', 347, 57, 6),
('H2', 348, 57, 7),
('H2', 349, 57, 8),
('H2', 350, 57, 9),
('H2', 351, 58, 1),
('H2', 352, 58, 2),
('H2', 353, 59, 1),
('H2', 354, 59, 2),
('H2', 355, 59, 3),
('H2', 356, 59, 4),
('H2', 357, 59, 5),
('H2', 358, 60, 1),
('H2', 359, 60, 2),
('H2', 360, 60, 3),
('H2', 361, 60, 4),
('H2', 362, 60, 5),
('H2', 363, 17, 5),
('H2', 365, 17, 1),
('H2', 366, 58, 3),
('H2', 367, 17, 1),
('H3', 1, 1, 0),
('H3', 2, 1, 1),
('H3', 3, 1, 2),
('H3', 4, 1, 3),
('H3', 5, 1, 4),
('H3', 6, 1, 5),
('H3', 7, 1, 6),
('H3', 8, 1, 7),
('H3', 9, 1, 8),
('H3', 10, 1, 9),
('H3', 11, 1, 10),
('H3', 12, 2, 0),
('H3', 13, 2, 1),
('H3', 14, 3, 0),
('H3', 15, 3, 1),
('H3', 16, 3, 2),
('H3', 17, 3, 3),
('H3', 18, 3, 4),
('H3', 19, 3, 5),
('H3', 20, 4, 0),
('H3', 21, 4, 1),
('H3', 22, 4, 2),
('H3', 23, 4, 3),
('H3', 24, 4, 4),
('H3', 25, 4, 5),
('H3', 26, 4, 6),
('H3', 27, 4, 7),
('H3', 28, 4, 8),
('H3', 29, 4, 9),
('H3', 30, 4, 10),
('H3', 31, 4, 11),
('H3', 32, 4, 12),
('H3', 33, 5, 0),
('H3', 34, 5, 1),
('H3', 35, 5, 2),
('H3', 36, 5, 3),
('H3', 37, 5, 4),
('H3', 38, 6, 0),
('H3', 39, 6, 1),
('H3', 40, 6, 2),
('H3', 41, 7, 0),
('H3', 42, 7, 1),
('H3', 43, 7, 2),
('H3', 44, 7, 3),
('H3', 45, 7, 4),
('H3', 46, 8, 0),
('H3', 47, 9, 0),
('H3', 48, 9, 1),
('H3', 49, 9, 2),
('H3', 50, 9, 3),
('H3', 51, 10, 0),
('H3', 52, 10, 1),
('H3', 53, 10, 2),
('H3', 54, 10, 3),
('H3', 55, 10, 4),
('H3', 56, 10, 5),
('H3', 57, 10, 6),
('H3', 58, 10, 7),
('H3', 59, 10, 8),
('H3', 60, 11, 0),
('H3', 61, 11, 1),
('H3', 62, 11, 2),
('H3', 63, 11, 3),
('H3', 64, 11, 4),
('H3', 65, 11, 5),
('H3', 66, 11, 6),
('H3', 67, 11, 7),
('H3', 68, 11, 8),
('H3', 69, 11, 9),
('H3', 70, 11, 10),
('H3', 71, 11, 11),
('H3', 72, 11, 12),
('H3', 73, 11, 13),
('H3', 74, 11, 14),
('H3', 75, 11, 15),
('H3', 76, 11, 16),
('H3', 77, 11, 17),
('H3', 78, 11, 18),
('H3', 79, 11, 19),
('H3', 80, 11, 20),
('H3', 81, 11, 21),
('H3', 82, 11, 22),
('H3', 83, 11, 23),
('H3', 84, 11, 24),
('H3', 85, 11, 25),
('H3', 86, 11, 26),
('H3', 87, 11, 27),
('H3', 88, 11, 28),
('H3', 89, 11, 29),
('H3', 90, 11, 30),
('H3', 91, 11, 31),
('H3', 92, 12, 0),
('H3', 93, 12, 1),
('H3', 94, 12, 2),
('H3', 95, 12, 3),
('H3', 96, 12, 4),
('H3', 97, 12, 5),
('H3', 98, 13, 0),
('H3', 99, 13, 1),
('H3', 100, 13, 2),
('H3', 101, 13, 3),
('H3', 102, 13, 4),
('H3', 103, 13, 5),
('H3', 104, 13, 6),
('H3', 105, 13, 7),
('H3', 106, 13, 8),
('H3', 107, 13, 9),
('H3', 108, 13, 10),
('H3', 109, 13, 11),
('H3', 110, 13, 12),
('H3', 111, 14, 0),
('H3', 112, 14, 1),
('H3', 113, 14, 2),
('H3', 114, 14, 3),
('H3', 115, 14, 4),
('H3', 116, 14, 5),
('H3', 117, 14, 6),
('H3', 118, 14, 7),
('H3', 119, 14, 8),
('H3', 120, 14, 9),
('H3', 121, 14, 10),
('H3', 122, 14, 11),
('H3', 123, 15, 0),
('H3', 124, 15, 1),
('H3', 125, 15, 2),
('H3', 126, 15, 3),
('H3', 127, 16, 0),
('H3', 128, 16, 1),
('H3', 129, 16, 2),
('H3', 130, 17, 0),
('H3', 131, 17, 1),
('H3', 132, 17, 2),
('H3', 133, 17, 3),
('H3', 134, 17, 4),
('H3', 135, 18, 0),
('H3', 136, 18, 1),
('H3', 137, 18, 2),
('H3', 138, 18, 3),
('H3', 139, 19, 0),
('H3', 140, 19, 1),
('H3', 141, 19, 2),
('H3', 142, 19, 3),
('H3', 143, 19, 4),
('H3', 144, 20, 0),
('H3', 145, 20, 1),
('H3', 146, 20, 2),
('H3', 147, 20, 3),
('H3', 148, 20, 4),
('H3', 149, 20, 5),
('H3', 150, 21, 0),
('H3', 151, 21, 1),
('H3', 152, 21, 2),
('H3', 153, 21, 3),
('H3', 154, 21, 4),
('H3', 155, 21, 5),
('H3', 156, 21, 6),
('H3', 157, 21, 7),
('H3', 158, 21, 8),
('H3', 159, 21, 9),
('H3', 160, 22, 0),
('H3', 161, 22, 1),
('H3', 162, 22, 2),
('H3', 163, 22, 3),
('H3', 164, 22, 4),
('H3', 165, 22, 5),
('H3', 166, 23, 0),
('H3', 167, 23, 1),
('H3', 168, 23, 2),
('H3', 169, 23, 3),
('H3', 170, 24, 0),
('H3', 171, 24, 1),
('H3', 172, 24, 2),
('H3', 173, 25, 0),
('H3', 174, 25, 1),
('H3', 175, 25, 2),
('H3', 176, 25, 3),
('H3', 177, 25, 4),
('H3', 178, 25, 5),
('H3', 179, 26, 0),
('H3', 180, 26, 1),
('H3', 181, 26, 2),
('H3', 182, 27, 0),
('H3', 183, 27, 1),
('H3', 184, 27, 2),
('H3', 185, 27, 3),
('H3', 186, 28, 0),
('H3', 187, 28, 1),
('H3', 188, 28, 2),
('H3', 189, 28, 3),
('H3', 190, 29, 0),
('H3', 191, 29, 1),
('H3', 192, 29, 2),
('H3', 193, 29, 3),
('H3', 194, 30, 0),
('H3', 195, 30, 1),
('H3', 196, 30, 2),
('H3', 197, 30, 3),
('H3', 198, 30, 4),
('H3', 199, 30, 5),
('H3', 200, 30, 6),
('H3', 201, 30, 7),
('H3', 202, 30, 8),
('H3', 203, 30, 9),
('H3', 204, 30, 10),
('H3', 205, 30, 11),
('H3', 206, 30, 12),
('H3', 207, 30, 13),
('H3', 208, 30, 14),
('H3', 209, 30, 15),
('H3', 210, 31, 1),
('H3', 211, 31, 2),
('H3', 212, 31, 3),
('H3', 213, 31, 4),
('H3', 214, 32, 1),
('H3', 215, 32, 2),
('H3', 216, 32, 3),
('H3', 217, 32, 4),
('H3', 218, 32, 5),
('H3', 219, 32, 6),
('H3', 220, 33, 1),
('H3', 221, 33, 2),
('H3', 222, 33, 3),
('H3', 223, 34, 1),
('H3', 224, 34, 2),
('H3', 225, 34, 3),
('H3', 226, 35, 1),
('H3', 227, 35, 2),
('H3', 228, 35, 3),
('H3', 229, 36, 1),
('H3', 230, 36, 2),
('H3', 231, 36, 3),
('H3', 232, 36, 4),
('H3', 233, 36, 5),
('H3', 234, 36, 6),
('H3', 235, 37, 1),
('H3', 236, 37, 2),
('H3', 237, 38, 1),
('H3', 238, 38, 2),
('H3', 239, 38, 3),
('H3', 240, 38, 4),
('H3', 241, 39, 1),
('H3', 242, 39, 2),
('H3', 243, 39, 3),
('H3', 244, 39, 4),
('H3', 245, 40, 1),
('H3', 246, 40, 2),
('H3', 247, 40, 3),
('H3', 248, 40, 4),
('H3', 249, 41, 1),
('H3', 250, 41, 2),
('H3', 251, 41, 3),
('H3', 252, 41, 4),
('H3', 253, 41, 5),
('H3', 254, 41, 6),
('H3', 255, 41, 7),
('H3', 256, 41, 8),
('H3', 257, 41, 9),
('H3', 258, 41, 10),
('H3', 259, 41, 11),
('H3', 260, 42, 1),
('H3', 261, 42, 2),
('H3', 262, 42, 3),
('H3', 263, 42, 4),
('H3', 264, 42, 5),
('H3', 265, 42, 6),
('H3', 266, 42, 7),
('H3', 267, 42, 8),
('H3', 268, 42, 9),
('H3', 269, 43, 1),
('H3', 270, 43, 2),
('H3', 271, 43, 3),
('H3', 272, 43, 4),
('H3', 273, 44, 1),
('H3', 274, 44, 2),
('H3', 275, 44, 3),
('H3', 276, 44, 4),
('H3', 277, 45, 1),
('H3', 278, 45, 2),
('H3', 279, 45, 3),
('H3', 280, 45, 4),
('H3', 281, 45, 5),
('H3', 282, 45, 6),
('H3', 283, 45, 7),
('H3', 284, 45, 8),
('H3', 285, 45, 9),
('H3', 286, 45, 10),
('H3', 287, 45, 11),
('H3', 288, 12, 1),
('H3', 289, 46, 1),
('H3', 290, 46, 2),
('H3', 291, 46, 3),
('H3', 292, 46, 4),
('H3', 293, 46, 5),
('H3', 294, 46, 6),
('H3', 295, 2, 1),
('H3', 296, 47, 1),
('H3', 297, 47, 2),
('H3', 298, 47, 3),
('H3', 299, 48, 1),
('H3', 300, 48, 2),
('H3', 333, 55, 1),
('H3', 334, 55, 2),
('H3', 335, 55, 3),
('H3', 336, 55, 4),
('H3', 337, 55, 5),
('H3', 338, 55, 6),
('H3', 339, 55, 7),
('H3', 340, 56, 1),
('H3', 341, 56, 2),
('H3', 342, 57, 1),
('H3', 343, 57, 2),
('H3', 344, 57, 3),
('H3', 345, 57, 4),
('H3', 346, 57, 5),
('H3', 347, 57, 6),
('H3', 348, 57, 7),
('H3', 349, 57, 8),
('H3', 350, 57, 9),
('H3', 351, 58, 1),
('H3', 352, 58, 2),
('H3', 353, 59, 1),
('H3', 354, 59, 2),
('H3', 355, 59, 3),
('H3', 356, 59, 4),
('H3', 357, 59, 5),
('H3', 358, 60, 1),
('H3', 359, 60, 2),
('H3', 360, 60, 3),
('H3', 361, 60, 4),
('H3', 362, 60, 5),
('H3', 363, 17, 5),
('H3', 365, 17, 1),
('H3', 366, 58, 3),
('H3', 367, 17, 1),
('H4', 1, 1, 0),
('H4', 2, 1, 1),
('H4', 3, 1, 2),
('H4', 4, 1, 3),
('H4', 5, 1, 4),
('H4', 6, 1, 5),
('H4', 7, 1, 6),
('H4', 8, 1, 7),
('H4', 9, 1, 8),
('H4', 10, 1, 9),
('H4', 11, 1, 10),
('H4', 12, 2, 0),
('H4', 13, 2, 1),
('H4', 14, 3, 0),
('H4', 15, 3, 1),
('H4', 16, 3, 2),
('H4', 17, 3, 3),
('H4', 18, 3, 4),
('H4', 19, 3, 5),
('H4', 20, 4, 0),
('H4', 21, 4, 1),
('H4', 22, 4, 2),
('H4', 23, 4, 3),
('H4', 24, 4, 4),
('H4', 25, 4, 5),
('H4', 26, 4, 6),
('H4', 27, 4, 7),
('H4', 28, 4, 8),
('H4', 29, 4, 9),
('H4', 30, 4, 10),
('H4', 31, 4, 11),
('H4', 32, 4, 12),
('H4', 33, 5, 0),
('H4', 34, 5, 1),
('H4', 35, 5, 2),
('H4', 36, 5, 3),
('H4', 37, 5, 4),
('H4', 38, 6, 0),
('H4', 39, 6, 1),
('H4', 40, 6, 2),
('H4', 41, 7, 0),
('H4', 42, 7, 1),
('H4', 43, 7, 2),
('H4', 44, 7, 3),
('H4', 45, 7, 4),
('H4', 46, 8, 0),
('H4', 47, 9, 0),
('H4', 48, 9, 1),
('H4', 49, 9, 2),
('H4', 50, 9, 3),
('H4', 51, 10, 0),
('H4', 52, 10, 1),
('H4', 53, 10, 2),
('H4', 54, 10, 3),
('H4', 55, 10, 4),
('H4', 56, 10, 5),
('H4', 57, 10, 6),
('H4', 58, 10, 7),
('H4', 59, 10, 8),
('H4', 60, 11, 0),
('H4', 61, 11, 1),
('H4', 62, 11, 2),
('H4', 63, 11, 3),
('H4', 64, 11, 4),
('H4', 65, 11, 5),
('H4', 66, 11, 6),
('H4', 67, 11, 7),
('H4', 68, 11, 8),
('H4', 69, 11, 9),
('H4', 70, 11, 10),
('H4', 71, 11, 11),
('H4', 72, 11, 12),
('H4', 73, 11, 13),
('H4', 74, 11, 14),
('H4', 75, 11, 15),
('H4', 76, 11, 16),
('H4', 77, 11, 17),
('H4', 78, 11, 18),
('H4', 79, 11, 19),
('H4', 80, 11, 20),
('H4', 81, 11, 21),
('H4', 82, 11, 22),
('H4', 83, 11, 23),
('H4', 84, 11, 24),
('H4', 85, 11, 25),
('H4', 86, 11, 26),
('H4', 87, 11, 27),
('H4', 88, 11, 28),
('H4', 89, 11, 29),
('H4', 90, 11, 30),
('H4', 91, 11, 31),
('H4', 92, 12, 0),
('H4', 93, 12, 1),
('H4', 94, 12, 2),
('H4', 95, 12, 3),
('H4', 96, 12, 4),
('H4', 97, 12, 5),
('H4', 98, 13, 0),
('H4', 99, 13, 1),
('H4', 100, 13, 2),
('H4', 101, 13, 3),
('H4', 102, 13, 4),
('H4', 103, 13, 5),
('H4', 104, 13, 6),
('H4', 105, 13, 7),
('H4', 106, 13, 8),
('H4', 107, 13, 9),
('H4', 108, 13, 10),
('H4', 109, 13, 11),
('H4', 110, 13, 12),
('H4', 111, 14, 0),
('H4', 112, 14, 1),
('H4', 113, 14, 2),
('H4', 114, 14, 3),
('H4', 115, 14, 4),
('H4', 116, 14, 5),
('H4', 117, 14, 6),
('H4', 118, 14, 7),
('H4', 119, 14, 8),
('H4', 120, 14, 9),
('H4', 121, 14, 10),
('H4', 122, 14, 11),
('H4', 123, 15, 0),
('H4', 124, 15, 1),
('H4', 125, 15, 2),
('H4', 126, 15, 3),
('H4', 127, 16, 0),
('H4', 128, 16, 1),
('H4', 129, 16, 2),
('H4', 130, 17, 0),
('H4', 131, 17, 1),
('H4', 132, 17, 2),
('H4', 133, 17, 3),
('H4', 134, 17, 4),
('H4', 135, 18, 0),
('H4', 136, 18, 1),
('H4', 137, 18, 2),
('H4', 138, 18, 3),
('H4', 139, 19, 0),
('H4', 140, 19, 1),
('H4', 141, 19, 2),
('H4', 142, 19, 3),
('H4', 143, 19, 4),
('H4', 144, 20, 0),
('H4', 145, 20, 1),
('H4', 146, 20, 2),
('H4', 147, 20, 3),
('H4', 148, 20, 4),
('H4', 149, 20, 5),
('H4', 150, 21, 0),
('H4', 151, 21, 1),
('H4', 152, 21, 2),
('H4', 153, 21, 3),
('H4', 154, 21, 4),
('H4', 155, 21, 5),
('H4', 156, 21, 6),
('H4', 157, 21, 7),
('H4', 158, 21, 8),
('H4', 159, 21, 9),
('H4', 160, 22, 0),
('H4', 161, 22, 1),
('H4', 162, 22, 2),
('H4', 163, 22, 3),
('H4', 164, 22, 4),
('H4', 165, 22, 5),
('H4', 166, 23, 0),
('H4', 167, 23, 1),
('H4', 168, 23, 2),
('H4', 169, 23, 3),
('H4', 170, 24, 0),
('H4', 171, 24, 1),
('H4', 172, 24, 2),
('H4', 173, 25, 0),
('H4', 174, 25, 1),
('H4', 175, 25, 2),
('H4', 176, 25, 3),
('H4', 177, 25, 4),
('H4', 178, 25, 5),
('H4', 179, 26, 0),
('H4', 180, 26, 1),
('H4', 181, 26, 2),
('H4', 182, 27, 0),
('H4', 183, 27, 1),
('H4', 184, 27, 2),
('H4', 185, 27, 3),
('H4', 186, 28, 0),
('H4', 187, 28, 1),
('H4', 188, 28, 2),
('H4', 189, 28, 3),
('H4', 190, 29, 0),
('H4', 191, 29, 1),
('H4', 192, 29, 2),
('H4', 193, 29, 3),
('H4', 194, 30, 0),
('H4', 195, 30, 1),
('H4', 196, 30, 2),
('H4', 197, 30, 3),
('H4', 198, 30, 4),
('H4', 199, 30, 5),
('H4', 200, 30, 6),
('H4', 201, 30, 7),
('H4', 202, 30, 8),
('H4', 203, 30, 9),
('H4', 204, 30, 10),
('H4', 205, 30, 11),
('H4', 206, 30, 12),
('H4', 207, 30, 13),
('H4', 208, 30, 14),
('H4', 209, 30, 15),
('H4', 210, 31, 1),
('H4', 211, 31, 2),
('H4', 212, 31, 3),
('H4', 213, 31, 4),
('H4', 214, 32, 1),
('H4', 215, 32, 2),
('H4', 216, 32, 3),
('H4', 217, 32, 4),
('H4', 218, 32, 5),
('H4', 219, 32, 6),
('H4', 220, 33, 1),
('H4', 221, 33, 2),
('H4', 222, 33, 3),
('H4', 223, 34, 1),
('H4', 224, 34, 2),
('H4', 225, 34, 3),
('H4', 226, 35, 1),
('H4', 227, 35, 2),
('H4', 228, 35, 3),
('H4', 229, 36, 1),
('H4', 230, 36, 2),
('H4', 231, 36, 3),
('H4', 232, 36, 4),
('H4', 233, 36, 5),
('H4', 234, 36, 6),
('H4', 235, 37, 1),
('H4', 236, 37, 2),
('H4', 237, 38, 1),
('H4', 238, 38, 2),
('H4', 239, 38, 3),
('H4', 240, 38, 4),
('H4', 241, 39, 1),
('H4', 242, 39, 2),
('H4', 243, 39, 3),
('H4', 244, 39, 4),
('H4', 245, 40, 1),
('H4', 246, 40, 2),
('H4', 247, 40, 3),
('H4', 248, 40, 4),
('H4', 249, 41, 1),
('H4', 250, 41, 2),
('H4', 251, 41, 3),
('H4', 252, 41, 4),
('H4', 253, 41, 5),
('H4', 254, 41, 6),
('H4', 255, 41, 7),
('H4', 256, 41, 8),
('H4', 257, 41, 9),
('H4', 258, 41, 10),
('H4', 259, 41, 11),
('H4', 260, 42, 1),
('H4', 261, 42, 2),
('H4', 262, 42, 3),
('H4', 263, 42, 4),
('H4', 264, 42, 5),
('H4', 265, 42, 6),
('H4', 266, 42, 7),
('H4', 267, 42, 8),
('H4', 268, 42, 9),
('H4', 269, 43, 1),
('H4', 270, 43, 2),
('H4', 271, 43, 3),
('H4', 272, 43, 4),
('H4', 273, 44, 1),
('H4', 274, 44, 2),
('H4', 275, 44, 3),
('H4', 276, 44, 4),
('H4', 277, 45, 1),
('H4', 278, 45, 2),
('H4', 279, 45, 3),
('H4', 280, 45, 4),
('H4', 281, 45, 5),
('H4', 282, 45, 6),
('H4', 283, 45, 7),
('H4', 284, 45, 8),
('H4', 285, 45, 9),
('H4', 286, 45, 10),
('H4', 287, 45, 11),
('H4', 288, 12, 1),
('H4', 289, 46, 1),
('H4', 290, 46, 2),
('H4', 291, 46, 3),
('H4', 292, 46, 4),
('H4', 293, 46, 5),
('H4', 294, 46, 6),
('H4', 295, 2, 1),
('H4', 296, 47, 1),
('H4', 297, 47, 2),
('H4', 298, 47, 3),
('H4', 299, 48, 1),
('H4', 300, 48, 2),
('H4', 333, 55, 1),
('H4', 334, 55, 2),
('H4', 335, 55, 3),
('H4', 336, 55, 4),
('H4', 337, 55, 5),
('H4', 338, 55, 6),
('H4', 339, 55, 7),
('H4', 340, 56, 1),
('H4', 341, 56, 2),
('H4', 342, 57, 1),
('H4', 343, 57, 2),
('H4', 344, 57, 3),
('H4', 345, 57, 4),
('H4', 346, 57, 5),
('H4', 347, 57, 6),
('H4', 348, 57, 7),
('H4', 349, 57, 8),
('H4', 350, 57, 9),
('H4', 351, 58, 1),
('H4', 352, 58, 2),
('H4', 353, 59, 1),
('H4', 354, 59, 2),
('H4', 355, 59, 3),
('H4', 356, 59, 4),
('H4', 357, 59, 5),
('H4', 358, 60, 1),
('H4', 359, 60, 2),
('H4', 360, 60, 3),
('H4', 361, 60, 4),
('H4', 362, 60, 5),
('H4', 363, 17, 5),
('H4', 365, 17, 1),
('H4', 366, 58, 3),
('H4', 367, 17, 1),
('H5', 1, 1, 0),
('H5', 2, 1, 1),
('H5', 3, 1, 2),
('H5', 4, 1, 3),
('H5', 5, 1, 4),
('H5', 6, 1, 5),
('H5', 7, 1, 6),
('H5', 8, 1, 7),
('H5', 9, 1, 8),
('H5', 10, 1, 9),
('H5', 11, 1, 10),
('H5', 12, 2, 0),
('H5', 13, 2, 1),
('H5', 14, 3, 0),
('H5', 15, 3, 1),
('H5', 16, 3, 2),
('H5', 17, 3, 3),
('H5', 18, 3, 4),
('H5', 19, 3, 5),
('H5', 20, 4, 0),
('H5', 21, 4, 1),
('H5', 22, 4, 2),
('H5', 23, 4, 3),
('H5', 24, 4, 4),
('H5', 25, 4, 5),
('H5', 26, 4, 6),
('H5', 27, 4, 7),
('H5', 28, 4, 8),
('H5', 29, 4, 9),
('H5', 30, 4, 10),
('H5', 31, 4, 11),
('H5', 32, 4, 12),
('H5', 33, 5, 0),
('H5', 34, 5, 1),
('H5', 35, 5, 2),
('H5', 36, 5, 3),
('H5', 37, 5, 4),
('H5', 38, 6, 0),
('H5', 39, 6, 1),
('H5', 40, 6, 2),
('H5', 41, 7, 0),
('H5', 42, 7, 1),
('H5', 43, 7, 2),
('H5', 44, 7, 3),
('H5', 45, 7, 4),
('H5', 46, 8, 0),
('H5', 47, 9, 0),
('H5', 48, 9, 1),
('H5', 49, 9, 2),
('H5', 50, 9, 3),
('H5', 51, 10, 0),
('H5', 52, 10, 1),
('H5', 53, 10, 2),
('H5', 54, 10, 3),
('H5', 55, 10, 4),
('H5', 56, 10, 5),
('H5', 57, 10, 6),
('H5', 58, 10, 7),
('H5', 59, 10, 8),
('H5', 60, 11, 0),
('H5', 61, 11, 1),
('H5', 62, 11, 2),
('H5', 63, 11, 3),
('H5', 64, 11, 4),
('H5', 65, 11, 5),
('H5', 66, 11, 6),
('H5', 67, 11, 7),
('H5', 68, 11, 8),
('H5', 69, 11, 9),
('H5', 70, 11, 10),
('H5', 71, 11, 11),
('H5', 72, 11, 12),
('H5', 73, 11, 13),
('H5', 74, 11, 14),
('H5', 75, 11, 15),
('H5', 76, 11, 16),
('H5', 77, 11, 17),
('H5', 78, 11, 18),
('H5', 79, 11, 19),
('H5', 80, 11, 20),
('H5', 81, 11, 21),
('H5', 82, 11, 22),
('H5', 83, 11, 23),
('H5', 84, 11, 24),
('H5', 85, 11, 25),
('H5', 86, 11, 26),
('H5', 87, 11, 27),
('H5', 88, 11, 28),
('H5', 89, 11, 29),
('H5', 90, 11, 30),
('H5', 91, 11, 31),
('H5', 92, 12, 0),
('H5', 93, 12, 1),
('H5', 94, 12, 2),
('H5', 95, 12, 3),
('H5', 96, 12, 4),
('H5', 97, 12, 5),
('H5', 98, 13, 0),
('H5', 99, 13, 1),
('H5', 100, 13, 2),
('H5', 101, 13, 3),
('H5', 102, 13, 4),
('H5', 103, 13, 5),
('H5', 104, 13, 6),
('H5', 105, 13, 7),
('H5', 106, 13, 8),
('H5', 107, 13, 9),
('H5', 108, 13, 10),
('H5', 109, 13, 11),
('H5', 110, 13, 12),
('H5', 111, 14, 0),
('H5', 112, 14, 1),
('H5', 113, 14, 2),
('H5', 114, 14, 3),
('H5', 115, 14, 4),
('H5', 116, 14, 5),
('H5', 117, 14, 6),
('H5', 118, 14, 7),
('H5', 119, 14, 8),
('H5', 120, 14, 9),
('H5', 121, 14, 10),
('H5', 122, 14, 11),
('H5', 123, 15, 0),
('H5', 124, 15, 1),
('H5', 125, 15, 2),
('H5', 126, 15, 3),
('H5', 127, 16, 0),
('H5', 128, 16, 1),
('H5', 129, 16, 2),
('H5', 130, 17, 0),
('H5', 131, 17, 1),
('H5', 132, 17, 2),
('H5', 133, 17, 3),
('H5', 134, 17, 4),
('H5', 135, 18, 0),
('H5', 136, 18, 1),
('H5', 137, 18, 2),
('H5', 138, 18, 3),
('H5', 139, 19, 0),
('H5', 140, 19, 1),
('H5', 141, 19, 2),
('H5', 142, 19, 3),
('H5', 143, 19, 4),
('H5', 144, 20, 0),
('H5', 145, 20, 1),
('H5', 146, 20, 2),
('H5', 147, 20, 3),
('H5', 148, 20, 4),
('H5', 149, 20, 5),
('H5', 150, 21, 0),
('H5', 151, 21, 1),
('H5', 152, 21, 2),
('H5', 153, 21, 3),
('H5', 154, 21, 4),
('H5', 155, 21, 5),
('H5', 156, 21, 6),
('H5', 157, 21, 7),
('H5', 158, 21, 8),
('H5', 159, 21, 9),
('H5', 160, 22, 0),
('H5', 161, 22, 1),
('H5', 162, 22, 2),
('H5', 163, 22, 3),
('H5', 164, 22, 4),
('H5', 165, 22, 5),
('H5', 166, 23, 0),
('H5', 167, 23, 1),
('H5', 168, 23, 2),
('H5', 169, 23, 3),
('H5', 170, 24, 0),
('H5', 171, 24, 1),
('H5', 172, 24, 2),
('H5', 173, 25, 0),
('H5', 174, 25, 1),
('H5', 175, 25, 2),
('H5', 176, 25, 3),
('H5', 177, 25, 4),
('H5', 178, 25, 5),
('H5', 179, 26, 0),
('H5', 180, 26, 1),
('H5', 181, 26, 2),
('H5', 182, 27, 0),
('H5', 183, 27, 1),
('H5', 184, 27, 2),
('H5', 185, 27, 3),
('H5', 186, 28, 0),
('H5', 187, 28, 1),
('H5', 188, 28, 2),
('H5', 189, 28, 3),
('H5', 190, 29, 0),
('H5', 191, 29, 1),
('H5', 192, 29, 2),
('H5', 193, 29, 3),
('H5', 194, 30, 0),
('H5', 195, 30, 1),
('H5', 196, 30, 2),
('H5', 197, 30, 3),
('H5', 198, 30, 4),
('H5', 199, 30, 5),
('H5', 200, 30, 6),
('H5', 201, 30, 7),
('H5', 202, 30, 8),
('H5', 203, 30, 9),
('H5', 204, 30, 10),
('H5', 205, 30, 11),
('H5', 206, 30, 12),
('H5', 207, 30, 13),
('H5', 208, 30, 14),
('H5', 209, 30, 15),
('H5', 210, 31, 1),
('H5', 211, 31, 2),
('H5', 212, 31, 3),
('H5', 213, 31, 4),
('H5', 214, 32, 1),
('H5', 215, 32, 2),
('H5', 216, 32, 3),
('H5', 217, 32, 4),
('H5', 218, 32, 5),
('H5', 219, 32, 6),
('H5', 220, 33, 1),
('H5', 221, 33, 2),
('H5', 222, 33, 3),
('H5', 223, 34, 1),
('H5', 224, 34, 2),
('H5', 225, 34, 3),
('H5', 226, 35, 1),
('H5', 227, 35, 2),
('H5', 228, 35, 3),
('H5', 229, 36, 1),
('H5', 230, 36, 2),
('H5', 231, 36, 3),
('H5', 232, 36, 4),
('H5', 233, 36, 5),
('H5', 234, 36, 6),
('H5', 235, 37, 1),
('H5', 236, 37, 2),
('H5', 237, 38, 1),
('H5', 238, 38, 2),
('H5', 239, 38, 3),
('H5', 240, 38, 4),
('H5', 241, 39, 1),
('H5', 242, 39, 2),
('H5', 243, 39, 3),
('H5', 244, 39, 4),
('H5', 245, 40, 1),
('H5', 246, 40, 2),
('H5', 247, 40, 3),
('H5', 248, 40, 4),
('H5', 249, 41, 1),
('H5', 250, 41, 2),
('H5', 251, 41, 3),
('H5', 252, 41, 4),
('H5', 253, 41, 5),
('H5', 254, 41, 6),
('H5', 255, 41, 7),
('H5', 256, 41, 8),
('H5', 257, 41, 9),
('H5', 258, 41, 10),
('H5', 259, 41, 11),
('H5', 260, 42, 1),
('H5', 261, 42, 2),
('H5', 262, 42, 3),
('H5', 263, 42, 4),
('H5', 264, 42, 5),
('H5', 265, 42, 6),
('H5', 266, 42, 7),
('H5', 267, 42, 8),
('H5', 268, 42, 9),
('H5', 269, 43, 1),
('H5', 270, 43, 2),
('H5', 271, 43, 3),
('H5', 272, 43, 4),
('H5', 273, 44, 1),
('H5', 274, 44, 2),
('H5', 275, 44, 3),
('H5', 276, 44, 4),
('H5', 277, 45, 1),
('H5', 278, 45, 2),
('H5', 279, 45, 3),
('H5', 280, 45, 4),
('H5', 281, 45, 5),
('H5', 282, 45, 6),
('H5', 283, 45, 7),
('H5', 284, 45, 8),
('H5', 285, 45, 9),
('H5', 286, 45, 10),
('H5', 287, 45, 11),
('H5', 288, 12, 1),
('H5', 289, 46, 1),
('H5', 290, 46, 2),
('H5', 291, 46, 3),
('H5', 292, 46, 4),
('H5', 293, 46, 5),
('H5', 294, 46, 6),
('H5', 295, 2, 1),
('H5', 296, 47, 1),
('H5', 297, 47, 2),
('H5', 298, 47, 3),
('H5', 299, 48, 1),
('H5', 300, 48, 2),
('H5', 333, 55, 1),
('H5', 334, 55, 2),
('H5', 335, 55, 3),
('H5', 336, 55, 4),
('H5', 337, 55, 5),
('H5', 338, 55, 6),
('H5', 339, 55, 7),
('H5', 340, 56, 1),
('H5', 341, 56, 2),
('H5', 342, 57, 1),
('H5', 343, 57, 2),
('H5', 344, 57, 3),
('H5', 345, 57, 4),
('H5', 346, 57, 5),
('H5', 347, 57, 6),
('H5', 348, 57, 7),
('H5', 349, 57, 8),
('H5', 350, 57, 9),
('H5', 351, 58, 1),
('H5', 352, 58, 2),
('H5', 353, 59, 1),
('H5', 354, 59, 2),
('H5', 355, 59, 3),
('H5', 356, 59, 4),
('H5', 357, 59, 5),
('H5', 358, 60, 1),
('H5', 359, 60, 2),
('H5', 360, 60, 3),
('H5', 361, 60, 4),
('H5', 362, 60, 5),
('H5', 363, 17, 5),
('H5', 365, 17, 1),
('H5', 366, 58, 3),
('H5', 367, 17, 1),
('H6', 1, 1, 0),
('H6', 2, 1, 1),
('H6', 3, 1, 2),
('H6', 4, 1, 3),
('H6', 5, 1, 4),
('H6', 6, 1, 5),
('H6', 7, 1, 6),
('H6', 8, 1, 7),
('H6', 9, 1, 8),
('H6', 10, 1, 9),
('H6', 11, 1, 10),
('H6', 12, 2, 0),
('H6', 13, 2, 1),
('H6', 14, 3, 0),
('H6', 15, 3, 1),
('H6', 16, 3, 2),
('H6', 17, 3, 3),
('H6', 18, 3, 4),
('H6', 19, 3, 5),
('H6', 20, 4, 0),
('H6', 21, 4, 1),
('H6', 22, 4, 2),
('H6', 23, 4, 3),
('H6', 24, 4, 4),
('H6', 25, 4, 5),
('H6', 26, 4, 6),
('H6', 27, 4, 7),
('H6', 28, 4, 8),
('H6', 29, 4, 9),
('H6', 30, 4, 10),
('H6', 31, 4, 11),
('H6', 32, 4, 12),
('H6', 33, 5, 0),
('H6', 34, 5, 1),
('H6', 35, 5, 2),
('H6', 36, 5, 3),
('H6', 37, 5, 4),
('H6', 38, 6, 0),
('H6', 39, 6, 1),
('H6', 40, 6, 2),
('H6', 41, 7, 0),
('H6', 42, 7, 1),
('H6', 43, 7, 2),
('H6', 44, 7, 3),
('H6', 45, 7, 4),
('H6', 46, 8, 0),
('H6', 47, 9, 0),
('H6', 48, 9, 1),
('H6', 49, 9, 2),
('H6', 50, 9, 3),
('H6', 51, 10, 0),
('H6', 52, 10, 1),
('H6', 53, 10, 2),
('H6', 54, 10, 3),
('H6', 55, 10, 4),
('H6', 56, 10, 5),
('H6', 57, 10, 6),
('H6', 58, 10, 7),
('H6', 59, 10, 8),
('H6', 60, 11, 0),
('H6', 61, 11, 1),
('H6', 62, 11, 2),
('H6', 63, 11, 3),
('H6', 64, 11, 4),
('H6', 65, 11, 5),
('H6', 66, 11, 6),
('H6', 67, 11, 7),
('H6', 68, 11, 8),
('H6', 69, 11, 9),
('H6', 70, 11, 10),
('H6', 71, 11, 11),
('H6', 72, 11, 12),
('H6', 73, 11, 13),
('H6', 74, 11, 14),
('H6', 75, 11, 15),
('H6', 76, 11, 16),
('H6', 77, 11, 17),
('H6', 78, 11, 18),
('H6', 79, 11, 19),
('H6', 80, 11, 20),
('H6', 81, 11, 21),
('H6', 82, 11, 22),
('H6', 83, 11, 23),
('H6', 84, 11, 24),
('H6', 85, 11, 25),
('H6', 86, 11, 26),
('H6', 87, 11, 27),
('H6', 88, 11, 28),
('H6', 89, 11, 29),
('H6', 90, 11, 30),
('H6', 91, 11, 31),
('H6', 92, 12, 0),
('H6', 93, 12, 1),
('H6', 94, 12, 2),
('H6', 95, 12, 3),
('H6', 96, 12, 4),
('H6', 97, 12, 5),
('H6', 98, 13, 0),
('H6', 99, 13, 1),
('H6', 100, 13, 2),
('H6', 101, 13, 3),
('H6', 102, 13, 4),
('H6', 103, 13, 5),
('H6', 104, 13, 6),
('H6', 105, 13, 7),
('H6', 106, 13, 8),
('H6', 107, 13, 9),
('H6', 108, 13, 10),
('H6', 109, 13, 11),
('H6', 110, 13, 12),
('H6', 111, 14, 0),
('H6', 112, 14, 1),
('H6', 113, 14, 2),
('H6', 114, 14, 3),
('H6', 115, 14, 4),
('H6', 116, 14, 5),
('H6', 117, 14, 6),
('H6', 118, 14, 7),
('H6', 119, 14, 8),
('H6', 120, 14, 9),
('H6', 121, 14, 10),
('H6', 122, 14, 11),
('H6', 123, 15, 0),
('H6', 124, 15, 1),
('H6', 125, 15, 2),
('H6', 126, 15, 3),
('H6', 127, 16, 0),
('H6', 128, 16, 1),
('H6', 129, 16, 2),
('H6', 130, 17, 0),
('H6', 131, 17, 1),
('H6', 132, 17, 2),
('H6', 133, 17, 3),
('H6', 134, 17, 4),
('H6', 135, 18, 0),
('H6', 136, 18, 1),
('H6', 137, 18, 2),
('H6', 138, 18, 3),
('H6', 139, 19, 0),
('H6', 140, 19, 1),
('H6', 141, 19, 2),
('H6', 142, 19, 3),
('H6', 143, 19, 4),
('H6', 144, 20, 0),
('H6', 145, 20, 1),
('H6', 146, 20, 2),
('H6', 147, 20, 3),
('H6', 148, 20, 4),
('H6', 149, 20, 5),
('H6', 150, 21, 0),
('H6', 151, 21, 1),
('H6', 152, 21, 2),
('H6', 153, 21, 3),
('H6', 154, 21, 4),
('H6', 155, 21, 5),
('H6', 156, 21, 6),
('H6', 157, 21, 7),
('H6', 158, 21, 8),
('H6', 159, 21, 9),
('H6', 160, 22, 0),
('H6', 161, 22, 1),
('H6', 162, 22, 2),
('H6', 163, 22, 3),
('H6', 164, 22, 4),
('H6', 165, 22, 5),
('H6', 166, 23, 0),
('H6', 167, 23, 1),
('H6', 168, 23, 2),
('H6', 169, 23, 3),
('H6', 170, 24, 0),
('H6', 171, 24, 1),
('H6', 172, 24, 2),
('H6', 173, 25, 0),
('H6', 174, 25, 1),
('H6', 175, 25, 2),
('H6', 176, 25, 3),
('H6', 177, 25, 4),
('H6', 178, 25, 5),
('H6', 179, 26, 0),
('H6', 180, 26, 1),
('H6', 181, 26, 2),
('H6', 182, 27, 0),
('H6', 183, 27, 1),
('H6', 184, 27, 2),
('H6', 185, 27, 3),
('H6', 186, 28, 0),
('H6', 187, 28, 1),
('H6', 188, 28, 2),
('H6', 189, 28, 3),
('H6', 190, 29, 0),
('H6', 191, 29, 1),
('H6', 192, 29, 2),
('H6', 193, 29, 3),
('H6', 194, 30, 0),
('H6', 195, 30, 1),
('H6', 196, 30, 2),
('H6', 197, 30, 3),
('H6', 198, 30, 4),
('H6', 199, 30, 5),
('H6', 200, 30, 6),
('H6', 201, 30, 7),
('H6', 202, 30, 8),
('H6', 203, 30, 9),
('H6', 204, 30, 10),
('H6', 205, 30, 11),
('H6', 206, 30, 12),
('H6', 207, 30, 13),
('H6', 208, 30, 14),
('H6', 209, 30, 15),
('H6', 210, 31, 1),
('H6', 211, 31, 2),
('H6', 212, 31, 3),
('H6', 213, 31, 4),
('H6', 214, 32, 1),
('H6', 215, 32, 2),
('H6', 216, 32, 3),
('H6', 217, 32, 4),
('H6', 218, 32, 5),
('H6', 219, 32, 6),
('H6', 220, 33, 1),
('H6', 221, 33, 2),
('H6', 222, 33, 3),
('H6', 223, 34, 1),
('H6', 224, 34, 2),
('H6', 225, 34, 3),
('H6', 226, 35, 1),
('H6', 227, 35, 2),
('H6', 228, 35, 3),
('H6', 229, 36, 1),
('H6', 230, 36, 2),
('H6', 231, 36, 3),
('H6', 232, 36, 4),
('H6', 233, 36, 5),
('H6', 234, 36, 6),
('H6', 235, 37, 1),
('H6', 236, 37, 2),
('H6', 237, 38, 1),
('H6', 238, 38, 2),
('H6', 239, 38, 3),
('H6', 240, 38, 4),
('H6', 241, 39, 1),
('H6', 242, 39, 2),
('H6', 243, 39, 3),
('H6', 244, 39, 4),
('H6', 245, 40, 1),
('H6', 246, 40, 2),
('H6', 247, 40, 3),
('H6', 248, 40, 4),
('H6', 249, 41, 1),
('H6', 250, 41, 2),
('H6', 251, 41, 3),
('H6', 252, 41, 4),
('H6', 253, 41, 5),
('H6', 254, 41, 6),
('H6', 255, 41, 7),
('H6', 256, 41, 8),
('H6', 257, 41, 9),
('H6', 258, 41, 10),
('H6', 259, 41, 11),
('H6', 260, 42, 1),
('H6', 261, 42, 2),
('H6', 262, 42, 3),
('H6', 263, 42, 4),
('H6', 264, 42, 5),
('H6', 265, 42, 6),
('H6', 266, 42, 7),
('H6', 267, 42, 8),
('H6', 268, 42, 9),
('H6', 269, 43, 1),
('H6', 270, 43, 2),
('H6', 271, 43, 3),
('H6', 272, 43, 4),
('H6', 273, 44, 1),
('H6', 274, 44, 2),
('H6', 275, 44, 3),
('H6', 276, 44, 4),
('H6', 277, 45, 1),
('H6', 278, 45, 2),
('H6', 279, 45, 3),
('H6', 280, 45, 4),
('H6', 281, 45, 5),
('H6', 282, 45, 6),
('H6', 283, 45, 7),
('H6', 284, 45, 8),
('H6', 285, 45, 9),
('H6', 286, 45, 10),
('H6', 287, 45, 11),
('H6', 288, 12, 1),
('H6', 289, 46, 1),
('H6', 290, 46, 2),
('H6', 291, 46, 3),
('H6', 292, 46, 4),
('H6', 293, 46, 5),
('H6', 294, 46, 6),
('H6', 295, 2, 1),
('H6', 296, 47, 1),
('H6', 297, 47, 2),
('H6', 298, 47, 3),
('H6', 299, 48, 1),
('H6', 300, 48, 2),
('H6', 333, 55, 1),
('H6', 334, 55, 2),
('H6', 335, 55, 3),
('H6', 336, 55, 4),
('H6', 337, 55, 5),
('H6', 338, 55, 6),
('H6', 339, 55, 7),
('H6', 340, 56, 1),
('H6', 341, 56, 2),
('H6', 342, 57, 1),
('H6', 343, 57, 2),
('H6', 344, 57, 3),
('H6', 345, 57, 4),
('H6', 346, 57, 5),
('H6', 347, 57, 6),
('H6', 348, 57, 7),
('H6', 349, 57, 8),
('H6', 350, 57, 9),
('H6', 351, 58, 1),
('H6', 352, 58, 2),
('H6', 353, 59, 1),
('H6', 354, 59, 2),
('H6', 355, 59, 3),
('H6', 356, 59, 4),
('H6', 357, 59, 5),
('H6', 358, 60, 1),
('H6', 359, 60, 2),
('H6', 360, 60, 3),
('H6', 361, 60, 4),
('H6', 362, 60, 5),
('H6', 363, 17, 5),
('H6', 365, 17, 1),
('H6', 366, 58, 3),
('H6', 367, 17, 1);

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

--
-- Structure de la table `vtiger_role2profile`
--

CREATE TABLE `vtiger_role2profile` (
  `roleid` varchar(255) NOT NULL,
  `profileid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_role2profile` (`roleid`, `profileid`) VALUES
('H2', 1),
('H3', 6),
('H4', 2),
('H5', 2),
('H6', 5);

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

--
-- Structure de la table `vtiger_role_seq`
--

CREATE TABLE `vtiger_role_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_role_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_rollupcomments_settings`
--

CREATE TABLE `vtiger_rollupcomments_settings` (
  `rollupid` int(19) NOT NULL,
  `userid` int(19) NOT NULL,
  `tabid` int(19) NOT NULL,
  `rollup_status` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_rowheight`
--

CREATE TABLE `vtiger_rowheight` (
  `rowheightid` int(11) NOT NULL,
  `rowheight` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_rowheight` (`rowheightid`, `rowheight`, `sortorderid`, `presence`) VALUES
(1, 'wide', 0, 1),
(2, 'medium', 1, 1),
(3, 'narrow', 2, 1);

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

--
-- Structure de la table `vtiger_rowheight_seq`
--

CREATE TABLE `vtiger_rowheight_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_rowheight_seq` (`id`) VALUES
(3);

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

--
-- Structure de la table `vtiger_rss`
--

CREATE TABLE `vtiger_rss` (
  `rssid` int(19) NOT NULL,
  `rssurl` varchar(200) NOT NULL DEFAULT '',
  `rsstitle` varchar(200) DEFAULT NULL,
  `rsstype` int(10) DEFAULT 0,
  `starred` int(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_salesmanactivityrel`
--

CREATE TABLE `vtiger_salesmanactivityrel` (
  `smid` int(19) NOT NULL DEFAULT 0,
  `activityid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_salesmanattachmentsrel`
--

CREATE TABLE `vtiger_salesmanattachmentsrel` (
  `smid` int(19) NOT NULL DEFAULT 0,
  `attachmentsid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_salesmanticketrel`
--

CREATE TABLE `vtiger_salesmanticketrel` (
  `smid` int(19) NOT NULL DEFAULT 0,
  `id` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_salesorder`
--

CREATE TABLE `vtiger_salesorder` (
  `salesorderid` int(19) NOT NULL DEFAULT 0,
  `subject` varchar(100) DEFAULT NULL,
  `potentialid` int(19) DEFAULT NULL,
  `customerno` varchar(100) DEFAULT NULL,
  `salesorder_no` varchar(100) DEFAULT NULL,
  `quoteid` int(19) DEFAULT NULL,
  `vendorterms` varchar(100) DEFAULT NULL,
  `contactid` int(19) DEFAULT NULL,
  `vendorid` int(19) DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `carrier` varchar(200) DEFAULT NULL,
  `pending` varchar(200) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `adjustment` decimal(25,8) DEFAULT NULL,
  `salescommission` decimal(25,3) DEFAULT NULL,
  `exciseduty` decimal(25,3) DEFAULT NULL,
  `total` decimal(25,8) DEFAULT NULL,
  `subtotal` decimal(25,8) DEFAULT NULL,
  `taxtype` varchar(25) DEFAULT NULL,
  `discount_percent` decimal(25,3) DEFAULT NULL,
  `discount_amount` decimal(25,8) DEFAULT NULL,
  `s_h_amount` decimal(25,8) DEFAULT NULL,
  `accountid` int(19) DEFAULT NULL,
  `terms_conditions` text DEFAULT NULL,
  `purchaseorder` varchar(200) DEFAULT NULL,
  `sostatus` varchar(200) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `conversion_rate` decimal(10,3) NOT NULL DEFAULT 1.000,
  `enable_recurring` int(11) DEFAULT 0,
  `compound_taxes_info` text DEFAULT NULL,
  `pre_tax_total` decimal(25,8) DEFAULT NULL,
  `s_h_percent` int(11) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `region_id` int(19) DEFAULT NULL,
  `p_paid_amount` decimal(25,3) DEFAULT NULL,
  `p_open_amount` decimal(25,3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_salesordercf`
--

CREATE TABLE `vtiger_salesordercf` (
  `salesorderid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_sales_stage`
--

CREATE TABLE `vtiger_sales_stage` (
  `sales_stage_id` int(19) NOT NULL,
  `sales_stage` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_sales_stage` (`sales_stage_id`, `sales_stage`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Prospecting', 1, 150, 0, NULL),
(2, 'Qualification', 1, 151, 1, NULL),
(3, 'Needs Analysis', 1, 152, 2, NULL),
(4, 'Value Proposition', 1, 153, 3, NULL),
(5, 'Id. Decision Makers', 1, 154, 4, NULL),
(6, 'Perception Analysis', 1, 155, 5, NULL),
(7, 'Proposal or Price Quote', 1, 156, 6, NULL),
(8, 'Negotiation or Review', 1, 157, 7, NULL),
(9, 'Closed Won', 0, 158, 8, NULL),
(10, 'Closed Lost', 0, 159, 9, NULL);

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

--
-- Structure de la table `vtiger_sales_stage_seq`
--

CREATE TABLE `vtiger_sales_stage_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_sales_stage_seq` (`id`) VALUES
(10);

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

--
-- Structure de la table `vtiger_salutationtype`
--

CREATE TABLE `vtiger_salutationtype` (
  `salutationid` int(19) NOT NULL,
  `salutationtype` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_salutationtype` (`salutationid`, `salutationtype`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Mr.', 1, 161, 1, NULL),
(3, 'Ms.', 1, 162, 2, NULL),
(4, 'Mrs.', 1, 163, 3, NULL),
(5, 'Dr.', 1, 164, 4, NULL),
(6, 'Prof.', 1, 165, 5, NULL);

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

--
-- Structure de la table `vtiger_salutationtype_seq`
--

CREATE TABLE `vtiger_salutationtype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_salutationtype_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_scheduled_reports`
--

CREATE TABLE `vtiger_scheduled_reports` (
  `reportid` int(11) NOT NULL,
  `recipients` text DEFAULT NULL,
  `schedule` text DEFAULT NULL,
  `format` varchar(10) DEFAULT NULL,
  `next_trigger_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_schedulereports`
--

CREATE TABLE `vtiger_schedulereports` (
  `reportid` int(10) DEFAULT NULL,
  `scheduleid` int(3) DEFAULT NULL,
  `recipients` text DEFAULT NULL,
  `schdate` varchar(20) DEFAULT NULL,
  `schtime` time DEFAULT NULL,
  `schdayoftheweek` varchar(100) DEFAULT NULL,
  `schdayofthemonth` varchar(100) DEFAULT NULL,
  `schannualdates` varchar(500) DEFAULT NULL,
  `specificemails` varchar(500) DEFAULT NULL,
  `next_trigger_time` timestamp NOT NULL DEFAULT current_timestamp(),
  `fileformat` varchar(10) DEFAULT 'CSV'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_seactivityrel`
--

CREATE TABLE `vtiger_seactivityrel` (
  `crmid` int(19) NOT NULL,
  `activityid` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_seactivityrel_seq`
--

CREATE TABLE `vtiger_seactivityrel_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_seactivityrel_seq` (`id`) VALUES
(1);

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

--
-- Structure de la table `vtiger_seattachmentsrel`
--

CREATE TABLE `vtiger_seattachmentsrel` (
  `crmid` int(19) NOT NULL DEFAULT 0,
  `attachmentsid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_seattachmentsrel` (`crmid`, `attachmentsid`) VALUES
(13, 14),
(15, 16),
(17, 18),
(19, 20),
(21, 22),
(23, 24),
(25, 26),
(30, 31),
(32, 33),
(34, 35);

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

--
-- Structure de la table `vtiger_selectcolumn`
--

CREATE TABLE `vtiger_selectcolumn` (
  `queryid` int(19) NOT NULL,
  `columnindex` int(11) NOT NULL DEFAULT 0,
  `columnname` varchar(250) DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_selectcolumn` (`queryid`, `columnindex`, `columnname`) VALUES
(4, 0, 'vtiger_leaddetails:firstname:Leads_First_Name:firstname:V'),
(4, 1, 'vtiger_leaddetails:lastname:Leads_Last_Name:lastname:V'),
(4, 2, 'vtiger_leaddetails:company:Leads_Company:company:V'),
(4, 3, 'vtiger_leaddetails:email:Leads_Email:email:E'),
(4, 4, 'vtiger_leaddetails:leadsource:Leads_Lead_Source:leadsource:V'),
(5, 0, 'vtiger_leaddetails:firstname:Leads_First_Name:firstname:V'),
(5, 1, 'vtiger_leaddetails:lastname:Leads_Last_Name:lastname:V'),
(5, 2, 'vtiger_leaddetails:company:Leads_Company:company:V'),
(5, 3, 'vtiger_leaddetails:email:Leads_Email:email:E'),
(5, 4, 'vtiger_leaddetails:leadsource:Leads_Lead_Source:leadsource:V'),
(5, 5, 'vtiger_leaddetails:leadstatus:Leads_Lead_Status:leadstatus:V'),
(6, 0, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V'),
(6, 1, 'vtiger_potential:amount:Potentials_Amount:amount:N'),
(6, 2, 'vtiger_potential:potentialtype:Potentials_Type:opportunity_type:V'),
(6, 3, 'vtiger_potential:leadsource:Potentials_Lead_Source:leadsource:V'),
(6, 4, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V'),
(7, 0, 'vtiger_potential:potentialname:Potentials_Potential_Name:potentialname:V'),
(7, 1, 'vtiger_potential:amount:Potentials_Amount:amount:N'),
(7, 2, 'vtiger_potential:potentialtype:Potentials_Type:opportunity_type:V'),
(7, 3, 'vtiger_potential:leadsource:Potentials_Lead_Source:leadsource:V'),
(7, 4, 'vtiger_potential:sales_stage:Potentials_Sales_Stage:sales_stage:V'),
(10, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'),
(10, 1, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'),
(10, 2, 'vtiger_products:productname:Products_Product_Name:productname:V'),
(10, 3, 'vtiger_products:discontinued:Products_Product_Active:discontinued:V'),
(10, 4, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'),
(10, 5, 'vtiger_products:manufacturer:Products_Manufacturer:manufacturer:V'),
(11, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'),
(11, 1, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V'),
(11, 2, 'vtiger_troubletickets:severity:HelpDesk_Severity:ticketseverities:V'),
(11, 3, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'),
(11, 4, 'vtiger_troubletickets:category:HelpDesk_Category:ticketcategories:V'),
(11, 5, 'vtiger_usersHelpDesk:user_name:HelpDesk_Assigned_To:assigned_user_id:V'),
(12, 0, 'vtiger_troubletickets:title:HelpDesk_Title:ticket_title:V'),
(12, 1, 'vtiger_troubletickets:priority:HelpDesk_Priority:ticketpriorities:V'),
(12, 2, 'vtiger_troubletickets:severity:HelpDesk_Severity:ticketseverities:V'),
(12, 3, 'vtiger_troubletickets:status:HelpDesk_Status:ticketstatus:V'),
(12, 4, 'vtiger_troubletickets:category:HelpDesk_Category:ticketcategories:V'),
(12, 5, 'vtiger_usersHelpDesk:user_name:HelpDesk_Assigned_To:assigned_user_id:V'),
(13, 0, 'vtiger_products:productname:Products_Product_Name:productname:V'),
(13, 1, 'vtiger_products:productcode:Products_Product_Code:productcode:V'),
(13, 2, 'vtiger_products:discontinued:Products_Product_Active:discontinued:V'),
(13, 3, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'),
(13, 4, 'vtiger_products:website:Products_Website:website:V'),
(13, 5, 'vtiger_vendorRelProducts:vendorname:Products_Vendor_Name:vendor_id:I'),
(13, 6, 'vtiger_products:mfr_part_no:Products_Mfr_PartNo:mfr_part_no:V'),
(14, 0, 'vtiger_products:productname:Products_Product_Name:productname:V'),
(14, 1, 'vtiger_products:manufacturer:Products_Manufacturer:manufacturer:V'),
(14, 2, 'vtiger_products:productcategory:Products_Product_Category:productcategory:V'),
(14, 3, 'vtiger_contactdetails:firstname:Contacts_First_Name:firstname:V'),
(14, 4, 'vtiger_contactdetails:lastname:Contacts_Last_Name:lastname:V'),
(14, 5, 'vtiger_contactsubdetails:leadsource:Contacts_Lead_Source:leadsource:V'),
(21, 0, 'vtiger_campaign:campaignname:Campaigns_Campaign_Name:campaignname:V'),
(21, 1, 'vtiger_campaign:campaigntype:Campaigns_Campaign_Type:campaigntype:V'),
(21, 2, 'vtiger_campaign:targetaudience:Campaigns_Target_Audience:targetaudience:V'),
(21, 3, 'vtiger_campaign:budgetcost:Campaigns_Budget_Cost:budgetcost:I'),
(21, 4, 'vtiger_campaign:actualcost:Campaigns_Actual_Cost:actualcost:I'),
(21, 5, 'vtiger_campaign:expectedrevenue:Campaigns_Expected_Revenue:expectedrevenue:I'),
(21, 6, 'vtiger_campaign:expectedsalescount:Campaigns_Expected_Sales_Count:expectedsalescount:N'),
(21, 7, 'vtiger_campaign:actualsalescount:Campaigns_Actual_Sales_Count:actualsalescount:N'),
(21, 8, 'vtiger_usersCampaigns:user_name:Campaigns_Assigned_To:assigned_user_id:V'),
(24, 0, 'vtiger_leaddetails:lastname:Leads_Last_Name:lastname:V'),
(24, 1, 'vtiger_leaddetails:company:Leads_Company:company:V'),
(24, 2, 'vtiger_leaddetails:email:Leads_Email:email:E'),
(24, 3, 'vtiger_activity:subject:Emails_Subject:subject:V'),
(24, 4, 'vtiger_email_track:access_count:Emails_Access_Count:access_count:V'),
(32, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D'),
(32, 1, 'vtiger_purchaseordercf:cf_933:PurchaseOrder_Airline_Code:cf_933:V'),
(32, 2, 'vtiger_purchaseordercf:cf_937:PurchaseOrder_Number:cf_937:I'),
(32, 3, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V'),
(32, 4, 'vtiger_purchaseorder:contactid:PurchaseOrder_Contact_Name:contact_id:V'),
(32, 5, 'vtiger_purchaseordercf:cf_921:PurchaseOrder_Routing:cf_921:V'),
(32, 6, 'vtiger_purchaseorder:subtotal:PurchaseOrder_Sub_Total:hdnSubTotal:N'),
(32, 7, 'vtiger_purchaseordercf:cf_949:PurchaseOrder_Hors_Taxes:cf_949:N'),
(32, 8, 'vtiger_purchaseordercf:cf_951:PurchaseOrder_Taxes:cf_951:N'),
(32, 9, 'vtiger_purchaseorder:s_h_amount:PurchaseOrder_S&H_Amount:hdnS_H_Amount:N'),
(32, 10, 'vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N'),
(33, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D'),
(33, 1, 'vtiger_purchaseordercf:cf_933:PurchaseOrder_Airline_Code:cf_933:V'),
(33, 2, 'vtiger_purchaseordercf:cf_937:PurchaseOrder_Number:cf_937:I'),
(33, 3, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V'),
(33, 4, 'vtiger_purchaseorder:contactid:PurchaseOrder_Contact_Name:contact_id:V'),
(33, 5, 'vtiger_purchaseordercf:cf_921:PurchaseOrder_Routing:cf_921:V'),
(33, 6, 'vtiger_purchaseorder:subtotal:PurchaseOrder_Sub_Total:hdnSubTotal:N'),
(33, 7, 'vtiger_purchaseordercf:cf_949:PurchaseOrder_Hors_Taxes:cf_949:N'),
(33, 8, 'vtiger_purchaseordercf:cf_951:PurchaseOrder_Taxes:cf_951:N'),
(33, 9, 'vtiger_purchaseorder:s_h_amount:PurchaseOrder_S&H_Amount:hdnS_H_Amount:N'),
(33, 10, 'vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N'),
(34, 0, 'vtiger_purchaseordercf:cf_929:PurchaseOrder_Date_de_facturation:cf_929:D'),
(34, 1, 'vtiger_purchaseordercf:cf_933:PurchaseOrder_Airline_Code:cf_933:V'),
(34, 2, 'vtiger_purchaseordercf:cf_937:PurchaseOrder_Number:cf_937:I'),
(34, 3, 'vtiger_purchaseorder:postatus:PurchaseOrder_Status:postatus:V'),
(34, 4, 'vtiger_purchaseorder:contactid:PurchaseOrder_Contact_Name:contact_id:V'),
(34, 5, 'vtiger_purchaseordercf:cf_921:PurchaseOrder_Routing:cf_921:V'),
(34, 6, 'vtiger_purchaseorder:subtotal:PurchaseOrder_Sub_Total:hdnSubTotal:N'),
(34, 7, 'vtiger_purchaseordercf:cf_949:PurchaseOrder_Hors_Taxes:cf_949:N'),
(34, 8, 'vtiger_purchaseordercf:cf_951:PurchaseOrder_Taxes:cf_951:N'),
(34, 9, 'vtiger_purchaseorder:s_h_amount:PurchaseOrder_S&H_Amount:hdnS_H_Amount:N'),
(34, 10, 'vtiger_purchaseorder:total:PurchaseOrder_Total:hdnGrandTotal:N'),
(35, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D'),
(35, 1, 'vtiger_invoice:subject:Invoice_Subject:subject:V'),
(35, 2, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V'),
(35, 3, 'vtiger_invoice:accountid:Invoice_Account_Name:account_id:V'),
(35, 4, 'vtiger_invoice:contactid:Invoice_Contact_Name:contact_id:V'),
(35, 5, 'vtiger_invoice:total:Invoice_Total:hdnGrandTotal:N'),
(35, 6, 'vtiger_invoicecf:cf_1008:Invoice_Marge_Globale:cf_1008:N'),
(36, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D'),
(36, 1, 'vtiger_invoice:subject:Invoice_Subject:subject:V'),
(36, 2, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V'),
(36, 3, 'vtiger_invoice:accountid:Invoice_Account_Name:account_id:V'),
(36, 4, 'vtiger_invoice:contactid:Invoice_Contact_Name:contact_id:V'),
(36, 5, 'vtiger_invoice:total:Invoice_Total:hdnGrandTotal:N'),
(36, 6, 'vtiger_invoicecf:cf_1008:Invoice_Marge_Globale:cf_1008:N'),
(37, 0, 'vtiger_invoice:invoicedate:Invoice_Invoice_Date:invoicedate:D'),
(37, 1, 'vtiger_invoice:subject:Invoice_Subject:subject:V'),
(37, 2, 'vtiger_invoice:invoicestatus:Invoice_Status:invoicestatus:V'),
(37, 3, 'vtiger_invoice:accountid:Invoice_Account_Name:account_id:V'),
(37, 4, 'vtiger_invoice:contactid:Invoice_Contact_Name:contact_id:V'),
(37, 5, 'vtiger_invoice:total:Invoice_Total:hdnGrandTotal:N'),
(37, 6, 'vtiger_invoicecf:cf_1008:Invoice_Marge_Globale:cf_1008:N');

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

--
-- Structure de la table `vtiger_selectquery`
--

CREATE TABLE `vtiger_selectquery` (
  `queryid` int(19) NOT NULL,
  `startindex` int(19) DEFAULT 0,
  `numofobjects` int(19) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_selectquery` (`queryid`, `startindex`, `numofobjects`) VALUES
(4, 0, 0),
(5, 0, 0),
(6, 0, 0),
(7, 0, 0),
(10, 0, 0),
(11, 0, 0),
(12, 0, 0),
(13, 0, 0),
(14, 0, 0),
(21, 0, 0),
(24, 0, 0),
(26, 0, 0),
(27, 0, 0),
(28, 0, 0),
(29, 0, 0),
(30, 0, 0),
(31, 0, 0),
(32, 0, 0),
(33, 0, 0),
(34, 0, 0),
(35, 0, 0),
(36, 0, 0),
(37, 0, 0),
(38, 0, 0);

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

--
-- Structure de la table `vtiger_selectquery_seq`
--

CREATE TABLE `vtiger_selectquery_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_selectquery_seq` (`id`) VALUES
(38);

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

--
-- Structure de la table `vtiger_senotesrel`
--

CREATE TABLE `vtiger_senotesrel` (
  `crmid` int(19) NOT NULL DEFAULT 0,
  `notesid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_seproductsrel`
--

CREATE TABLE `vtiger_seproductsrel` (
  `crmid` int(19) NOT NULL DEFAULT 0,
  `productid` int(19) NOT NULL DEFAULT 0,
  `setype` varchar(30) NOT NULL,
  `quantity` int(19) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_service`
--

CREATE TABLE `vtiger_service` (
  `serviceid` int(11) NOT NULL,
  `service_no` varchar(100) NOT NULL,
  `servicename` varchar(50) NOT NULL,
  `servicecategory` varchar(200) DEFAULT NULL,
  `qty_per_unit` decimal(11,2) DEFAULT 0.00,
  `unit_price` decimal(25,8) DEFAULT NULL,
  `sales_start_date` date DEFAULT NULL,
  `sales_end_date` date DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `discontinued` int(1) NOT NULL DEFAULT 0,
  `service_usageunit` varchar(200) DEFAULT NULL,
  `website` varchar(100) DEFAULT NULL,
  `taxclass` varchar(200) DEFAULT NULL,
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `commissionrate` decimal(7,3) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL,
  `purchase_cost` decimal(27,8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_service` (`serviceid`, `service_no`, `servicename`, `servicecategory`, `qty_per_unit`, `unit_price`, `sales_start_date`, `sales_end_date`, `start_date`, `expiry_date`, `discontinued`, `service_usageunit`, `website`, `taxclass`, `currency_id`, `commissionrate`, `tags`, `purchase_cost`) VALUES
(2, 'SER1', 'ticket', '', 0.00, 0.00000000, NULL, NULL, NULL, NULL, 1, '', NULL, '', 1, NULL, '', 0.00000000);

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

--
-- Structure de la table `vtiger_servicecategory`
--

CREATE TABLE `vtiger_servicecategory` (
  `servicecategoryid` int(11) NOT NULL,
  `servicecategory` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_servicecategory` (`servicecategoryid`, `servicecategory`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Support', 1, 230, 2, NULL),
(3, 'Installation', 1, 231, 3, NULL),
(4, 'Migration', 1, 232, 4, NULL),
(5, 'Customization', 1, 233, 5, NULL),
(6, 'Training', 1, 234, 6, NULL);

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

--
-- Structure de la table `vtiger_servicecategory_seq`
--

CREATE TABLE `vtiger_servicecategory_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_servicecategory_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_servicecf`
--

CREATE TABLE `vtiger_servicecf` (
  `serviceid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_servicecf` (`serviceid`) VALUES
(2);

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

--
-- Structure de la table `vtiger_servicecontracts`
--

CREATE TABLE `vtiger_servicecontracts` (
  `servicecontractsid` int(11) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `sc_related_to` int(11) DEFAULT NULL,
  `tracking_unit` varchar(100) DEFAULT NULL,
  `total_units` decimal(5,2) DEFAULT NULL,
  `used_units` decimal(5,2) DEFAULT NULL,
  `subject` varchar(100) DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `planned_duration` varchar(256) DEFAULT NULL,
  `actual_duration` varchar(256) DEFAULT NULL,
  `contract_status` varchar(200) DEFAULT NULL,
  `priority` varchar(200) DEFAULT NULL,
  `contract_type` varchar(200) DEFAULT NULL,
  `progress` decimal(5,2) DEFAULT NULL,
  `contract_no` varchar(100) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_servicecontractscf`
--

CREATE TABLE `vtiger_servicecontractscf` (
  `servicecontractsid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_service_usageunit`
--

CREATE TABLE `vtiger_service_usageunit` (
  `service_usageunitid` int(11) NOT NULL,
  `service_usageunit` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_service_usageunit` (`service_usageunitid`, `service_usageunit`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Hours', 1, 226, 1, NULL),
(2, 'Days', 1, 227, 2, NULL),
(3, 'Incidents', 1, 228, 3, NULL);

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

--
-- Structure de la table `vtiger_service_usageunit_seq`
--

CREATE TABLE `vtiger_service_usageunit_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_service_usageunit_seq` (`id`) VALUES
(3);

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

--
-- Structure de la table `vtiger_seticketsrel`
--

CREATE TABLE `vtiger_seticketsrel` (
  `crmid` int(19) NOT NULL DEFAULT 0,
  `ticketid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_settings_blocks`
--

CREATE TABLE `vtiger_settings_blocks` (
  `blockid` int(19) NOT NULL,
  `label` varchar(250) DEFAULT NULL,
  `sequence` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_settings_blocks` (`blockid`, `label`, `sequence`) VALUES
(1, 'LBL_USER_MANAGEMENT', 1),
(4, 'LBL_OTHER_SETTINGS', 10),
(5, 'LBL_MODULE_MANAGER', 2),
(6, 'LBL_INTEGRATION', 8),
(7, 'LBL_AUTOMATION', 3),
(8, 'LBL_CONFIGURATION', 4),
(9, 'LBL_MARKETING_SALES', 5),
(10, 'LBL_INVENTORY', 6),
(11, 'LBL_MY_PREFERENCES', 7),
(12, 'LBL_EXTENSIONS', 9);

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

--
-- Structure de la table `vtiger_settings_blocks_seq`
--

CREATE TABLE `vtiger_settings_blocks_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_settings_blocks_seq` (`id`) VALUES
(12);

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

--
-- Structure de la table `vtiger_settings_field`
--

CREATE TABLE `vtiger_settings_field` (
  `fieldid` int(19) NOT NULL,
  `blockid` int(19) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `iconpath` varchar(300) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `linkto` text DEFAULT NULL,
  `sequence` int(19) DEFAULT NULL,
  `active` int(19) DEFAULT 0,
  `pinned` int(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_settings_field` (`fieldid`, `blockid`, `name`, `iconpath`, `description`, `linkto`, `sequence`, `active`, `pinned`) VALUES
(1, 1, 'LBL_USERS', 'ico-users.gif', 'LBL_USER_DESCRIPTION', 'index.php?module=Users&parent=Settings&view=List', 1, 0, 1),
(2, 1, 'LBL_ROLES', 'ico-roles.gif', 'LBL_ROLE_DESCRIPTION', 'index.php?module=Roles&parent=Settings&view=Index', 2, 0, 0),
(3, 1, 'LBL_PROFILES', 'ico-profile.gif', 'LBL_PROFILE_DESCRIPTION', 'index.php?module=Profiles&parent=Settings&view=List', 3, 0, 0),
(4, 1, 'USERGROUPLIST', 'ico-groups.gif', 'LBL_GROUP_DESCRIPTION', 'index.php?module=Groups&parent=Settings&view=List', 5, 0, 0),
(5, 1, 'LBL_SHARING_ACCESS', 'shareaccess.gif', 'LBL_SHARING_ACCESS_DESCRIPTION', 'index.php?module=SharingAccess&parent=Settings&view=Index', 4, 0, 0),
(7, 1, 'LBL_LOGIN_HISTORY_DETAILS', 'set-IcoLoginHistory.gif', 'LBL_LOGIN_HISTORY_DESCRIPTION', 'index.php?module=LoginHistory&parent=Settings&view=List', 6, 0, 0),
(8, 5, 'VTLIB_LBL_MODULE_MANAGER', 'vtlib_modmng.gif', 'VTLIB_LBL_MODULE_MANAGER_DESCRIPTION', 'index.php?module=ModuleManager&parent=Settings&view=List', 1, 0, 1),
(9, 8, 'LBL_PICKLIST_EDITOR', 'picklist.gif', 'LBL_PICKLIST_DESCRIPTION', 'index.php?parent=Settings&module=Picklist&view=Index', 6, 0, 1),
(10, 8, 'LBL_PICKLIST_DEPENDENCY', 'picklistdependency.gif', 'LBL_PICKLIST_DEPENDENCY_DESCRIPTION', 'index.php?parent=Settings&module=PickListDependency&view=List', 7, 0, 0),
(11, 8, 'LBL_MENU_EDITOR', 'menueditor.png', 'LBL_MENU_DESC', 'index.php?module=MenuEditor&parent=Settings&view=Index', 8, 0, 0),
(14, 8, 'LBL_COMPANY_DETAILS', 'company.gif', 'LBL_COMPANY_DESCRIPTION', 'index.php?parent=Settings&module=Vtiger&view=CompanyDetails', 1, 0, 0),
(15, 8, 'LBL_MAIL_SERVER_SETTINGS', 'ogmailserver.gif', 'LBL_MAIL_SERVER_DESCRIPTION', 'index.php?parent=Settings&module=Vtiger&view=OutgoingServerDetail', 4, 0, 0),
(16, 8, 'LBL_CURRENCY_SETTINGS', 'currency.gif', 'LBL_CURRENCY_DESCRIPTION', 'index.php?parent=Settings&module=Currency&view=List', 3, 0, 0),
(17, 10, 'LBL_TAX_SETTINGS', 'taxConfiguration.gif', 'LBL_TAX_DESCRIPTION', 'index.php?module=Vtiger&parent=Settings&view=TaxIndex', 1, 0, 0),
(18, 4, 'LBL_SYSTEM_INFO', 'system.gif', 'LBL_SYSTEM_DESCRIPTION', 'index.php?module=Settings&submodule=Server&view=ProxyConfig', 6, 1, 0),
(20, 4, 'LBL_DEFAULT_MODULE_VIEW', 'set-IcoTwoTabConfig.gif', 'LBL_DEFAULT_MODULE_VIEW_DESC', 'index.php?module=Settings&action=DefModuleView&parenttab=Settings', 2, 0, 0),
(21, 10, 'INVENTORYTERMSANDCONDITIONS', 'terms.gif', 'LBL_INV_TANDC_DESCRIPTION', 'index.php?parent=Settings&module=Vtiger&view=TermsAndConditionsEdit', 2, 0, 0),
(22, 5, 'LBL_CUSTOMIZE_MODENT_NUMBER', 'settingsInvNumber.gif', 'LBL_CUSTOMIZE_MODENT_NUMBER_DESCRIPTION', 'index.php?module=Vtiger&parent=Settings&view=CustomRecordNumbering', 4, 0, 0),
(23, 4, 'LBL_MAIL_SCANNER', 'mailScanner.gif', 'LBL_MAIL_SCANNER_DESCRIPTION', 'index.php?parent=Settings&module=MailConverter&view=List', 5, 0, 0),
(24, 7, 'LBL_LIST_WORKFLOWS', 'settingsWorkflow.png', 'LBL_LIST_WORKFLOWS_DESCRIPTION', 'index.php?module=Workflows&parent=Settings&view=List', 3, 0, 1),
(25, 8, 'Configuration Editor', 'migrate.gif', 'LBL_CONFIG_EDITOR_DESCRIPTION', 'index.php?module=Vtiger&parent=Settings&view=ConfigEditorDetail', 5, 0, 0),
(26, 7, 'Scheduler', 'Cron.png', 'Allows you to Configure Cron Task', 'index.php?module=CronTasks&parent=Settings&view=List', 2, 0, 0),
(28, 4, 'ModTracker', 'set-IcoLoginHistory.gif', 'LBL_MODTRACKER_DESCRIPTION', 'index.php?module=ModTracker&action=BasicSettings&parenttab=Settings&formodule=ModTracker', 9, 0, 0),
(30, 8, 'LBL_CUSTOMER_PORTAL', 'portal_icon.png', 'PORTAL_EXTENSION_DESCRIPTION', 'index.php?module=CustomerPortal&parent=Settings&view=Index', 2, 0, 0),
(31, 7, 'Webforms', 'modules/Webforms/img/Webform.png', 'LBL_WEBFORMS_DESCRIPTION', 'index.php?module=Webforms&parent=Settings&view=List', 1, 0, 0),
(32, 5, 'LBL_EDIT_FIELDS', '', 'LBL_LAYOUT_EDITOR_DESCRIPTION', 'index.php?module=LayoutEditor&parent=Settings&view=Index', 2, 0, 0),
(33, 9, 'LBL_LEAD_MAPPING', 'NULL', 'NULL', 'index.php?parent=Settings&module=Leads&view=MappingDetail', 1, 1, 1),
(34, 9, 'LBL_OPPORTUNITY_MAPPING', 'NULL', 'NULL', 'index.php?parent=Settings&module=Potentials&view=MappingDetail', 2, 1, 1),
(35, 11, 'My Preferences', 'NULL', 'NULL', 'index.php?module=Users&view=PreferenceDetail&parent=Settings&record=1', 1, 0, 1),
(36, 11, 'Calendar Settings', 'NULL', 'NULL', 'index.php?module=Users&parent=Settings&view=Calendar&record=1', 2, 0, 1),
(37, 11, 'LBL_MY_TAGS', 'NULL', 'NULL', 'index.php?module=Tags&parent=Settings&view=List&record=1', 3, 0, 1),
(38, 12, 'LBL_EXTENSION_STORE', 'NULL', 'NULL', 'index.php?module=ExtensionStore&parent=Settings&view=ExtensionStore', 1, 0, 1),
(39, 12, 'LBL_GOOGLE', 'NULL', 'NULL', 'index.php?module=Contacts&parent=Settings&view=Extension&extensionModule=Google&extensionView=Index&mode=settings', 2, 1, 1);

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

--
-- Structure de la table `vtiger_settings_field_seq`
--

CREATE TABLE `vtiger_settings_field_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_settings_field_seq` (`id`) VALUES
(39);

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

--
-- Structure de la table `vtiger_sharedcalendar`
--

CREATE TABLE `vtiger_sharedcalendar` (
  `userid` int(19) NOT NULL,
  `sharedid` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_shareduserinfo`
--

CREATE TABLE `vtiger_shareduserinfo` (
  `userid` int(19) NOT NULL DEFAULT 0,
  `shareduserid` int(19) NOT NULL DEFAULT 0,
  `color` varchar(50) DEFAULT NULL,
  `visible` int(19) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_shippingtaxinfo`
--

CREATE TABLE `vtiger_shippingtaxinfo` (
  `taxid` int(3) NOT NULL,
  `taxname` varchar(50) DEFAULT NULL,
  `taxlabel` varchar(50) DEFAULT NULL,
  `percentage` decimal(7,3) DEFAULT NULL,
  `deleted` int(1) DEFAULT NULL,
  `method` varchar(10) DEFAULT NULL,
  `type` varchar(10) DEFAULT NULL,
  `compoundon` varchar(400) DEFAULT NULL,
  `regions` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_shippingtaxinfo` (`taxid`, `taxname`, `taxlabel`, `percentage`, `deleted`, `method`, `type`, `compoundon`, `regions`) VALUES
(1, 'shtax1', 'VAT', 4.500, 1, 'Simple', 'Fixed', '[]', '[]'),
(2, 'shtax2', 'Sales', 10.000, 1, 'Simple', 'Fixed', '[]', '[]'),
(3, 'shtax3', 'Service', 12.500, 1, 'Simple', 'Fixed', '[]', '[]');

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

--
-- Structure de la table `vtiger_shippingtaxinfo_seq`
--

CREATE TABLE `vtiger_shippingtaxinfo_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_shippingtaxinfo_seq` (`id`) VALUES
(3);

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

--
-- Structure de la table `vtiger_shorturls`
--

CREATE TABLE `vtiger_shorturls` (
  `id` int(11) NOT NULL,
  `uid` varchar(50) DEFAULT NULL,
  `handler_path` varchar(400) DEFAULT NULL,
  `handler_class` varchar(100) DEFAULT NULL,
  `handler_function` varchar(100) DEFAULT NULL,
  `handler_data` varchar(255) DEFAULT NULL,
  `onetime` int(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_smsnotifier`
--

CREATE TABLE `vtiger_smsnotifier` (
  `smsnotifierid` int(19) NOT NULL,
  `message` text DEFAULT NULL,
  `status` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_smsnotifiercf`
--

CREATE TABLE `vtiger_smsnotifiercf` (
  `smsnotifierid` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_smsnotifier_servers`
--

CREATE TABLE `vtiger_smsnotifier_servers` (
  `id` int(11) NOT NULL,
  `password` varchar(255) DEFAULT NULL,
  `isactive` int(1) DEFAULT NULL,
  `providertype` varchar(50) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `parameters` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_smsnotifier_status`
--

CREATE TABLE `vtiger_smsnotifier_status` (
  `smsnotifierid` int(19) DEFAULT NULL,
  `tonumber` varchar(20) DEFAULT NULL,
  `status` varchar(10) DEFAULT NULL,
  `smsmessageid` varchar(50) DEFAULT NULL,
  `needlookup` int(1) DEFAULT 1,
  `statusid` int(11) NOT NULL,
  `statusmessage` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_soapservice`
--

CREATE TABLE `vtiger_soapservice` (
  `id` int(19) DEFAULT NULL,
  `type` varchar(25) DEFAULT NULL,
  `sessionid` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_sobillads`
--

CREATE TABLE `vtiger_sobillads` (
  `sobilladdressid` int(19) NOT NULL DEFAULT 0,
  `bill_city` varchar(30) DEFAULT NULL,
  `bill_code` varchar(30) DEFAULT NULL,
  `bill_country` varchar(30) DEFAULT NULL,
  `bill_state` varchar(30) DEFAULT NULL,
  `bill_street` varchar(250) DEFAULT NULL,
  `bill_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_soshipads`
--

CREATE TABLE `vtiger_soshipads` (
  `soshipaddressid` int(19) NOT NULL DEFAULT 0,
  `ship_city` varchar(30) DEFAULT NULL,
  `ship_code` varchar(30) DEFAULT NULL,
  `ship_country` varchar(30) DEFAULT NULL,
  `ship_state` varchar(30) DEFAULT NULL,
  `ship_street` varchar(250) DEFAULT NULL,
  `ship_pobox` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_sostatus`
--

CREATE TABLE `vtiger_sostatus` (
  `sostatusid` int(19) NOT NULL,
  `sostatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_sostatus` (`sostatusid`, `sostatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Created', 0, 166, 0, NULL),
(2, 'Approved', 0, 167, 1, NULL),
(3, 'Delivered', 0, 168, 2, NULL),
(4, 'Cancelled', 0, 169, 3, NULL);

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

--
-- Structure de la table `vtiger_sostatushistory`
--

CREATE TABLE `vtiger_sostatushistory` (
  `historyid` int(19) NOT NULL,
  `salesorderid` int(19) NOT NULL,
  `accountname` varchar(100) DEFAULT NULL,
  `total` decimal(10,0) DEFAULT NULL,
  `sostatus` varchar(200) DEFAULT NULL,
  `lastmodified` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_sostatus_seq`
--

CREATE TABLE `vtiger_sostatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_sostatus_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_sqltimelog`
--

CREATE TABLE `vtiger_sqltimelog` (
  `id` int(11) DEFAULT NULL,
  `type` varchar(10) DEFAULT NULL,
  `data` text DEFAULT NULL,
  `started` decimal(20,6) DEFAULT NULL,
  `ended` decimal(20,6) DEFAULT NULL,
  `loggedon` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_start_hour`
--

CREATE TABLE `vtiger_start_hour` (
  `start_hourid` int(11) NOT NULL,
  `start_hour` varchar(200) NOT NULL,
  `sortorderid` int(11) DEFAULT NULL,
  `presence` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_start_hour` (`start_hourid`, `start_hour`, `sortorderid`, `presence`) VALUES
(1, '00:00', 0, 1),
(2, '01:00', 1, 1),
(3, '02:00', 2, 1),
(4, '03:00', 3, 1),
(5, '04:00', 4, 1),
(6, '05:00', 5, 1),
(7, '06:00', 6, 1),
(8, '07:00', 7, 1),
(9, '08:00', 8, 1),
(10, '09:00', 9, 1),
(11, '10:00', 10, 1),
(12, '11:00', 11, 1),
(13, '12:00', 12, 1),
(14, '13:00', 13, 1),
(15, '14:00', 14, 1),
(16, '15:00', 15, 1),
(17, '16:00', 16, 1),
(18, '17:00', 17, 1),
(19, '18:00', 18, 1),
(20, '19:00', 19, 1),
(21, '20:00', 20, 1),
(22, '21:00', 21, 1),
(23, '22:00', 22, 1),
(24, '23:00', 23, 1);

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

--
-- Structure de la table `vtiger_start_hour_seq`
--

CREATE TABLE `vtiger_start_hour_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_start_hour_seq` (`id`) VALUES
(24);

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

--
-- Structure de la table `vtiger_status`
--

CREATE TABLE `vtiger_status` (
  `statusid` int(19) NOT NULL,
  `status` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_status` (`statusid`, `status`, `presence`, `picklist_valueid`) VALUES
(1, 'Active', 0, 1),
(2, 'Inactive', 1, 1);

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

--
-- Structure de la table `vtiger_status_seq`
--

CREATE TABLE `vtiger_status_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_status_seq` (`id`) VALUES
(2);

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

--
-- Structure de la table `vtiger_systems`
--

CREATE TABLE `vtiger_systems` (
  `id` int(19) NOT NULL,
  `server` varchar(100) DEFAULT NULL,
  `server_port` int(19) DEFAULT NULL,
  `server_username` varchar(100) DEFAULT NULL,
  `server_password` varchar(100) DEFAULT NULL,
  `server_type` varchar(20) DEFAULT NULL,
  `smtp_auth` varchar(5) DEFAULT NULL,
  `server_path` varchar(256) DEFAULT NULL,
  `from_email_field` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_systems` (`id`, `server`, `server_port`, `server_username`, `server_password`, `server_type`, `smtp_auth`, `server_path`, `from_email_field`) VALUES
(1, 'hybrid1641.fr.ns.planethoster.net', 0, 'noreply@estair.travel', 'Est@ir*000', 'email', '1', NULL, '');

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

--
-- Structure de la table `vtiger_systems_seq`
--

CREATE TABLE `vtiger_systems_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_systems_seq` (`id`) VALUES
(1);

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

--
-- Structure de la table `vtiger_tab`
--

CREATE TABLE `vtiger_tab` (
  `tabid` int(19) NOT NULL DEFAULT 0,
  `name` varchar(25) NOT NULL,
  `presence` int(19) NOT NULL DEFAULT 1,
  `tabsequence` int(10) DEFAULT NULL,
  `tablabel` varchar(100) DEFAULT NULL,
  `modifiedby` int(19) DEFAULT NULL,
  `modifiedtime` int(19) DEFAULT NULL,
  `customized` int(19) DEFAULT NULL,
  `ownedby` int(19) DEFAULT NULL,
  `isentitytype` int(11) NOT NULL DEFAULT 1,
  `trial` int(1) NOT NULL DEFAULT 0,
  `version` varchar(10) DEFAULT NULL,
  `parent` varchar(30) DEFAULT NULL,
  `source` varchar(255) DEFAULT 'custom',
  `issyncable` tinyint(1) DEFAULT 0,
  `allowduplicates` tinyint(1) DEFAULT 1,
  `sync_action_for_duplicates` int(1) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_tab` (`tabid`, `name`, `presence`, `tabsequence`, `tablabel`, `modifiedby`, `modifiedtime`, `customized`, `ownedby`, `isentitytype`, `trial`, `version`, `parent`, `source`, `issyncable`, `allowduplicates`, `sync_action_for_duplicates`) VALUES
(1, 'Dashboard', 0, 12, 'Dashboards', NULL, NULL, 0, 1, 0, 0, NULL, 'Analytics', NULL, 1, 1, 1),
(2, 'Potentials', 1, 7, 'Potentials', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(3, 'Home', 0, 1, 'Home', NULL, NULL, 0, 1, 0, 0, NULL, NULL, NULL, 1, 1, 1),
(4, 'Contacts', 0, 6, 'Contacts', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(6, 'Accounts', 0, 5, 'Accounts', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 0, 1),
(7, 'Leads', 1, 4, 'Leads', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(8, 'Documents', 0, 9, 'Documents', NULL, NULL, 0, 0, 1, 0, NULL, 'Tools', NULL, 1, 1, 1),
(9, 'Calendar', 0, 3, 'Calendar', NULL, NULL, 0, 0, 1, 0, NULL, 'Tools', NULL, 1, 1, 1),
(10, 'Emails', 0, 10, 'Emails', NULL, NULL, 0, 1, 1, 0, NULL, 'Tools', NULL, 1, 1, 1),
(13, 'HelpDesk', 1, 11, 'HelpDesk', NULL, NULL, 0, 0, 1, 0, NULL, 'Support', NULL, 1, 1, 1),
(14, 'Products', 1, 8, 'Products', NULL, NULL, 0, 0, 1, 0, NULL, 'Inventory', NULL, 1, 1, 1),
(15, 'Faq', 1, -1, 'Faq', NULL, NULL, 0, 1, 1, 0, NULL, 'Support', NULL, 1, 1, 1),
(16, 'Events', 2, -1, 'Events', NULL, NULL, 0, 0, 1, 0, NULL, NULL, NULL, 1, 1, 1),
(18, 'Vendors', 0, -1, 'Vendors', NULL, NULL, 0, 0, 1, 0, NULL, 'Inventory', NULL, 1, 1, 1),
(19, 'PriceBooks', 1, -1, 'PriceBooks', NULL, NULL, 0, 1, 1, 0, NULL, 'Inventory', NULL, 1, 1, 1),
(20, 'Quotes', 1, -1, 'Quotes', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(21, 'PurchaseOrder', 0, -1, 'PurchaseOrder', NULL, NULL, 0, 0, 1, 0, NULL, 'Inventory', NULL, 1, 1, 1),
(22, 'SalesOrder', 1, -1, 'SalesOrder', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(23, 'Invoice', 0, -1, 'Invoice', NULL, NULL, 0, 0, 1, 0, NULL, 'Sales', NULL, 1, 1, 1),
(24, 'Rss', 1, -1, 'Rss', NULL, NULL, 0, 1, 0, 0, NULL, 'Tools', NULL, 1, 1, 1),
(25, 'Reports', 0, -1, 'Reports', NULL, NULL, 0, 1, 0, 0, NULL, 'Analytics', NULL, 1, 1, 1),
(26, 'Campaigns', 1, -1, 'Campaigns', NULL, NULL, 0, 0, 1, 0, NULL, 'Marketing', NULL, 1, 1, 1),
(27, 'Portal', 1, -1, 'Portal', NULL, NULL, 0, 1, 0, 0, NULL, 'Tools', NULL, 1, 1, 1),
(28, 'Webmails', 0, -1, 'Webmails', NULL, NULL, 0, 1, 1, 0, NULL, NULL, NULL, 1, 1, 1),
(29, 'Users', 0, -1, 'Users', NULL, NULL, 0, 1, 0, 0, NULL, NULL, NULL, 1, 1, 1),
(30, 'Import', 0, -1, 'Import', NULL, NULL, 1, 0, 0, 0, '1.7', '', NULL, 1, 1, 1),
(31, 'MailManager', 1, -1, 'MailManager', NULL, NULL, 1, 0, 0, 0, '1.9', 'Tools', NULL, 1, 1, 1),
(32, 'Mobile', 0, -1, 'Mobile', NULL, NULL, 1, 0, 0, 0, '2.0', '', NULL, 1, 1, 1),
(33, 'ModTracker', 0, -1, 'ModTracker', NULL, NULL, 0, 0, 0, 0, '1.2', '', NULL, 1, 1, 1),
(34, 'PBXManager', 1, -1, 'PBXManager', NULL, NULL, 1, 0, 1, 0, '2.2', 'Tools', NULL, 1, 1, 1),
(35, 'ServiceContracts', 1, -1, 'Service Contracts', NULL, NULL, 0, 0, 1, 0, '2.4', 'Support', NULL, 1, 1, 1),
(36, 'Services', 0, -1, 'Services', NULL, NULL, 0, 0, 1, 0, '2.6', 'Inventory', NULL, 1, 1, 1),
(37, 'WSAPP', 0, -1, 'WSAPP', NULL, NULL, 1, 0, 0, 0, '3.4.4', '', NULL, 1, 1, 1),
(38, 'Assets', 1, -1, 'Assets', NULL, NULL, 0, 0, 1, 0, '2.0', 'Inventory', NULL, 1, 1, 1),
(39, 'CustomerPortal', 0, -1, 'CustomerPortal', NULL, NULL, 0, 0, 0, 0, '1.4', '', NULL, 1, 1, 1),
(40, 'EmailTemplates', 0, -1, 'Email Templates', NULL, NULL, 1, 0, 0, 0, '1.0', 'Tools', NULL, 1, 1, 1),
(41, 'Google', 1, -1, 'Google', NULL, NULL, 0, 0, 0, 0, '1.5', '', NULL, 1, 1, 1),
(42, 'ModComments', 0, -1, 'Comments', NULL, NULL, 0, 0, 1, 0, '2.1', '', NULL, 1, 1, 1),
(43, 'ProjectMilestone', 1, -1, 'ProjectMilestone', NULL, NULL, 0, 0, 1, 0, '3.0', 'Support', NULL, 1, 1, 1),
(44, 'ProjectTask', 1, -1, 'ProjectTask', NULL, NULL, 0, 0, 1, 0, '3.1', 'Support', NULL, 1, 1, 1),
(45, 'Project', 1, -1, 'Project', NULL, NULL, 0, 0, 1, 0, '3.3', 'Support', NULL, 1, 1, 1),
(46, 'RecycleBin', 0, -1, 'Recycle Bin', NULL, NULL, 0, 0, 0, 0, '1.5', 'Tools', NULL, 1, 1, 1),
(47, 'SMSNotifier', 1, -1, 'SMSNotifier', NULL, NULL, 0, 0, 1, 0, '2.1', 'Sales', NULL, 1, 1, 1),
(48, 'Webforms', 0, -1, 'Webforms', NULL, NULL, 0, 0, 0, 0, '1.6', '', NULL, 1, 1, 1),
(49, 'ExtensionStore', 0, -1, 'Extension Store', NULL, NULL, 1, 0, 0, 0, '1.2', NULL, NULL, 1, 1, 1),
(50, 'PDFMaker', 0, -1, 'PDF Maker', NULL, NULL, 1, 0, 0, 0, '700.8.0', 'Tools', 'custom', 0, 1, 1),
(51, 'Cashflow4You', 0, -1, 'Cashflow4You', NULL, NULL, 1, 0, 1, 0, '3.700.2.1', 'Sales', 'custom', 0, 1, 1),
(52, 'ITS4YouStyles', 0, -1, 'Styles 4 You', NULL, NULL, 1, 0, 1, 0, '1.700.0.2', '', 'custom', 0, 1, 1),
(53, 'EMAILMaker', 0, -1, 'EMAIL Maker', NULL, NULL, 1, 0, 0, 0, '700.4.4', 'Tools', 'custom', 0, 1, 1);

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

--
-- Structure de la table `vtiger_tab_info`
--

CREATE TABLE `vtiger_tab_info` (
  `tabid` int(19) DEFAULT NULL,
  `prefname` varchar(256) DEFAULT NULL,
  `prefvalue` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_tab_info` (`tabid`, `prefname`, `prefvalue`) VALUES
(30, 'vtiger_min_version', '6.0.0rc'),
(30, 'vtiger_max_version', '7.*'),
(31, 'vtiger_min_version', '6.0.0RC'),
(32, 'vtiger_min_version', '6.0.0rc'),
(33, 'vtiger_min_version', '6.0.0rc'),
(34, 'vtiger_min_version', '6.0.0'),
(34, 'vtiger_max_version', '7.*'),
(35, 'vtiger_min_version', '6.0.0rc'),
(36, 'vtiger_min_version', '6.0.0rc'),
(36, 'vtiger_max_version', '7.*'),
(37, 'vtiger_min_version', '6.0.0rc'),
(38, 'vtiger_min_version', '6.0.0rc'),
(38, 'vtiger_max_version', '7.*'),
(39, 'vtiger_min_version', '6.0.0rc'),
(39, 'vtiger_max_version', '7.*'),
(40, 'vtiger_min_version', '6.0.0rc'),
(40, 'vtiger_max_version', '7.*'),
(41, 'vtiger_min_version', '6.0.0rc'),
(41, 'vtiger_max_version', '7.*'),
(42, 'vtiger_min_version', '6.0.0rc'),
(42, 'vtiger_max_version', '7.*'),
(43, 'vtiger_min_version', '6.0.0rc'),
(43, 'vtiger_max_version', '7.*'),
(44, 'vtiger_min_version', '6.0.0rc'),
(45, 'vtiger_min_version', '6.0.0rc'),
(46, 'vtiger_min_version', '6.0.0rc'),
(46, 'vtiger_max_version', '7.*'),
(47, 'vtiger_min_version', '6.0.0'),
(47, 'vtiger_max_version', '7.*'),
(48, 'vtiger_min_version', '6.0.0rc'),
(48, 'vtiger_max_version', '7.*'),
(49, 'vtiger_min_version', '6.0.0'),
(49, 'vtiger_max_version', '6.*'),
(50, 'vtiger_min_version', '7.0.0'),
(50, 'vtiger_max_version', '7.*'),
(51, 'vtiger_min_version', '7.0.0'),
(51, 'vtiger_max_version', '7.*'),
(52, 'vtiger_min_version', '7.0.0'),
(52, 'vtiger_max_version', '7.*'),
(53, 'vtiger_min_version', '7.0.0'),
(53, 'vtiger_max_version', '7.*');

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

--
-- Structure de la table `vtiger_taskpriority`
--

CREATE TABLE `vtiger_taskpriority` (
  `taskpriorityid` int(19) NOT NULL,
  `taskpriority` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taskpriority` (`taskpriorityid`, `taskpriority`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'High', 1, 170, 0, NULL),
(2, 'Medium', 1, 171, 1, NULL),
(3, 'Low', 1, 172, 2, NULL);

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

--
-- Structure de la table `vtiger_taskpriority_seq`
--

CREATE TABLE `vtiger_taskpriority_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taskpriority_seq` (`id`) VALUES
(3);

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

--
-- Structure de la table `vtiger_taskstatus`
--

CREATE TABLE `vtiger_taskstatus` (
  `taskstatusid` int(19) NOT NULL,
  `taskstatus` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taskstatus` (`taskstatusid`, `taskstatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Not Started', 0, 173, 0, NULL),
(2, 'In Progress', 0, 174, 1, NULL),
(3, 'Completed', 0, 175, 2, NULL),
(4, 'Pending Input', 0, 176, 3, NULL),
(5, 'Deferred', 0, 177, 4, NULL),
(6, 'Planned', 0, 178, 5, NULL);

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

--
-- Structure de la table `vtiger_taskstatus_seq`
--

CREATE TABLE `vtiger_taskstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taskstatus_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_taxclass`
--

CREATE TABLE `vtiger_taxclass` (
  `taxclassid` int(19) NOT NULL,
  `taxclass` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taxclass` (`taxclassid`, `taxclass`, `sortorderid`, `presence`) VALUES
(1, 'SalesTax', 0, 1),
(2, 'Vat', 1, 1);

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

--
-- Structure de la table `vtiger_taxclass_seq`
--

CREATE TABLE `vtiger_taxclass_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_taxclass_seq` (`id`) VALUES
(2);

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

--
-- Structure de la table `vtiger_taxregions`
--

CREATE TABLE `vtiger_taxregions` (
  `regionid` int(10) NOT NULL,
  `name` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_ticketcategories`
--

CREATE TABLE `vtiger_ticketcategories` (
  `ticketcategories_id` int(19) NOT NULL,
  `ticketcategories` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 0,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketcategories` (`ticketcategories_id`, `ticketcategories`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Big Problem', 1, 179, 0, NULL),
(2, 'Small Problem', 1, 180, 1, NULL),
(3, 'Other Problem', 1, 181, 2, NULL);

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

--
-- Structure de la table `vtiger_ticketcategories_seq`
--

CREATE TABLE `vtiger_ticketcategories_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketcategories_seq` (`id`) VALUES
(3);

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

--
-- Structure de la table `vtiger_ticketcf`
--

CREATE TABLE `vtiger_ticketcf` (
  `ticketid` int(19) NOT NULL DEFAULT 0,
  `from_portal` varchar(3) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_ticketcomments`
--

CREATE TABLE `vtiger_ticketcomments` (
  `commentid` int(19) NOT NULL,
  `ticketid` int(19) DEFAULT NULL,
  `comments` text DEFAULT NULL,
  `ownerid` int(19) NOT NULL DEFAULT 0,
  `ownertype` varchar(10) DEFAULT NULL,
  `createdtime` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_ticketpriorities`
--

CREATE TABLE `vtiger_ticketpriorities` (
  `ticketpriorities_id` int(19) NOT NULL,
  `ticketpriorities` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 0,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketpriorities` (`ticketpriorities_id`, `ticketpriorities`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Low', 1, 182, 0, NULL),
(2, 'Normal', 1, 183, 1, NULL),
(3, 'High', 1, 184, 2, NULL),
(4, 'Urgent', 1, 185, 3, NULL);

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

--
-- Structure de la table `vtiger_ticketpriorities_seq`
--

CREATE TABLE `vtiger_ticketpriorities_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketpriorities_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_ticketseverities`
--

CREATE TABLE `vtiger_ticketseverities` (
  `ticketseverities_id` int(19) NOT NULL,
  `ticketseverities` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 0,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketseverities` (`ticketseverities_id`, `ticketseverities`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Minor', 1, 186, 0, NULL),
(2, 'Major', 1, 187, 1, NULL),
(3, 'Feature', 1, 188, 2, NULL),
(4, 'Critical', 1, 189, 3, NULL);

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

--
-- Structure de la table `vtiger_ticketseverities_seq`
--

CREATE TABLE `vtiger_ticketseverities_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketseverities_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_ticketstatus`
--

CREATE TABLE `vtiger_ticketstatus` (
  `ticketstatus_id` int(19) NOT NULL,
  `ticketstatus` varchar(200) DEFAULT NULL,
  `presence` int(1) NOT NULL DEFAULT 0,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketstatus` (`ticketstatus_id`, `ticketstatus`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Open', 0, 190, 0, NULL),
(2, 'In Progress', 0, 191, 1, NULL),
(3, 'Wait For Response', 0, 192, 2, NULL),
(4, 'Closed', 0, 193, 3, NULL);

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

--
-- Structure de la table `vtiger_ticketstatus_seq`
--

CREATE TABLE `vtiger_ticketstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ticketstatus_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_time_zone`
--

CREATE TABLE `vtiger_time_zone` (
  `time_zoneid` int(19) NOT NULL,
  `time_zone` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_time_zone` (`time_zoneid`, `time_zone`, `sortorderid`, `presence`) VALUES
(1, 'Pacific/Midway', 1, 1),
(2, 'Pacific/Samoa', 0, 1),
(3, 'Pacific/Honolulu', 2, 1),
(4, 'America/Anchorage', 3, 1),
(5, 'America/Los_Angeles', 5, 1),
(6, 'America/Tijuana', 4, 1),
(7, 'America/Denver', 6, 1),
(8, 'America/Chihuahua', 8, 1),
(9, 'America/Mazatlan', 7, 1),
(10, 'America/Phoenix', 9, 1),
(11, 'America/Regina', 10, 1),
(12, 'America/Tegucigalpa', 14, 1),
(13, 'America/Chicago', 13, 1),
(14, 'America/Mexico_City', 12, 1),
(15, 'America/Monterrey', 11, 1),
(16, 'America/New_York', 18, 1),
(17, 'America/Bogota', 19, 1),
(18, 'America/Lima', 16, 1),
(19, 'America/Rio_Branco', 15, 1),
(20, 'America/Indiana/Indianapolis', 17, 1),
(21, 'America/Caracas', 20, 1),
(22, 'America/Halifax', 25, 1),
(23, 'America/Manaus', 22, 1),
(24, 'America/Santiago', 21, 1),
(25, 'America/La_Paz', 23, 1),
(26, 'America/Cuiaba', 24, 1),
(27, 'America/Asuncion', 26, 1),
(28, 'America/St_Johns', 27, 1),
(29, 'America/Argentina/Buenos_Aires', 30, 1),
(30, 'America/Sao_Paulo', 31, 1),
(31, 'America/Godthab', 29, 1),
(32, 'America/Montevideo', 28, 1),
(33, 'Atlantic/South_Georgia', 32, 1),
(34, 'Atlantic/Azores', 34, 1),
(35, 'Atlantic/Cape_Verde', 33, 1),
(36, 'Europe/London', 37, 1),
(37, 'UTC', 36, 1),
(38, 'Africa/Monrovia', 38, 1),
(39, 'Africa/Casablanca', 35, 1),
(40, 'Europe/Belgrade', 40, 1),
(41, 'Europe/Sarajevo', 42, 1),
(42, 'Europe/Brussels', 41, 1),
(43, 'Africa/Algiers', 43, 1),
(44, 'Europe/Amsterdam', 39, 1),
(45, 'Europe/Minsk', 52, 1),
(46, 'Africa/Cairo', 47, 1),
(47, 'Europe/Helsinki', 49, 1),
(48, 'Europe/Athens', 45, 1),
(49, 'Europe/Istanbul', 50, 1),
(50, 'Asia/Jerusalem', 51, 1),
(51, 'Asia/Amman', 44, 1),
(52, 'Asia/Beirut', 46, 1),
(53, 'Africa/Windhoek', 53, 1),
(54, 'Africa/Harare', 48, 1),
(55, 'Asia/Kuwait', 55, 1),
(56, 'Asia/Baghdad', 54, 1),
(57, 'Africa/Nairobi', 57, 1),
(58, 'Asia/Tehran', 58, 1),
(59, 'Asia/Tbilisi', 61, 1),
(60, 'Europe/Moscow', 56, 1),
(61, 'Asia/Muscat', 59, 1),
(62, 'Asia/Baku', 60, 1),
(63, 'Asia/Yerevan', 62, 1),
(64, 'Asia/Karachi', 63, 1),
(65, 'Asia/Tashkent', 64, 1),
(66, 'Asia/Kolkata', 65, 1),
(67, 'Asia/Colombo', 66, 1),
(68, 'Asia/Katmandu', 67, 1),
(69, 'Asia/Dhaka', 69, 1),
(70, 'Asia/Almaty', 68, 1),
(71, 'Asia/Yekaterinburg', 70, 1),
(72, 'Asia/Rangoon', 71, 1),
(73, 'Asia/Novosibirsk', 73, 1),
(74, 'Asia/Bangkok', 72, 1),
(75, 'Asia/Brunei', 74, 1),
(76, 'Asia/Krasnoyarsk', 75, 1),
(77, 'Asia/Ulaanbaatar', 79, 1),
(78, 'Asia/Kuala_Lumpur', 76, 1),
(79, 'Asia/Taipei', 78, 1),
(80, 'Australia/Perth', 77, 1),
(81, 'Asia/Irkutsk', 80, 1),
(82, 'Asia/Seoul', 81, 1),
(83, 'Asia/Tokyo', 82, 1),
(84, 'Australia/Darwin', 84, 1),
(85, 'Australia/Adelaide', 83, 1),
(86, 'Australia/Canberra', 86, 1),
(87, 'Australia/Brisbane', 85, 1),
(88, 'Australia/Hobart', 88, 1),
(89, 'Asia/Vladivostok', 89, 1),
(90, 'Pacific/Guam', 87, 1),
(91, 'Asia/Yakutsk', 90, 1),
(92, 'Pacific/Fiji', 93, 1),
(93, 'Asia/Kamchatka', 94, 1),
(94, 'Pacific/Auckland', 92, 1),
(95, 'Asia/Magadan', 95, 1),
(96, 'Pacific/Tongatapu', 96, 1),
(97, 'Etc/GMT-11', 91, 1);

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

--
-- Structure de la table `vtiger_time_zone_seq`
--

CREATE TABLE `vtiger_time_zone_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_time_zone_seq` (`id`) VALUES
(96);

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

--
-- Structure de la table `vtiger_tmp_read_group_rel_sharing_per`
--

CREATE TABLE `vtiger_tmp_read_group_rel_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `relatedtabid` int(11) NOT NULL,
  `sharedgroupid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_read_group_sharing_per`
--

CREATE TABLE `vtiger_tmp_read_group_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `sharedgroupid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_read_user_rel_sharing_per`
--

CREATE TABLE `vtiger_tmp_read_user_rel_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `relatedtabid` int(11) NOT NULL,
  `shareduserid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_read_user_sharing_per`
--

CREATE TABLE `vtiger_tmp_read_user_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `shareduserid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_write_group_rel_sharing_per`
--

CREATE TABLE `vtiger_tmp_write_group_rel_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `relatedtabid` int(11) NOT NULL,
  `sharedgroupid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_write_group_sharing_per`
--

CREATE TABLE `vtiger_tmp_write_group_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `sharedgroupid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_write_user_rel_sharing_per`
--

CREATE TABLE `vtiger_tmp_write_user_rel_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `relatedtabid` int(11) NOT NULL,
  `shareduserid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tmp_write_user_sharing_per`
--

CREATE TABLE `vtiger_tmp_write_user_sharing_per` (
  `userid` int(11) NOT NULL,
  `tabid` int(11) NOT NULL,
  `shareduserid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tracker`
--

CREATE TABLE `vtiger_tracker` (
  `id` int(11) NOT NULL,
  `user_id` varchar(36) DEFAULT NULL,
  `module_name` varchar(25) DEFAULT NULL,
  `item_id` varchar(36) DEFAULT NULL,
  `item_summary` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_tracking_unit`
--

CREATE TABLE `vtiger_tracking_unit` (
  `tracking_unitid` int(11) NOT NULL,
  `tracking_unit` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(11) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT 0,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_tracking_unit` (`tracking_unitid`, `tracking_unit`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(2, 'Hours', 1, 211, 2, NULL),
(3, 'Days', 1, 212, 3, NULL),
(4, 'Incidents', 1, 213, 4, NULL);

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

--
-- Structure de la table `vtiger_tracking_unit_seq`
--

CREATE TABLE `vtiger_tracking_unit_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_tracking_unit_seq` (`id`) VALUES
(4);

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

--
-- Structure de la table `vtiger_troubletickets`
--

CREATE TABLE `vtiger_troubletickets` (
  `ticketid` int(19) NOT NULL,
  `ticket_no` varchar(100) NOT NULL,
  `groupname` varchar(100) DEFAULT NULL,
  `parent_id` varchar(100) DEFAULT NULL,
  `product_id` varchar(100) DEFAULT NULL,
  `priority` varchar(200) DEFAULT NULL,
  `severity` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `category` varchar(200) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `solution` text DEFAULT NULL,
  `update_log` text DEFAULT NULL,
  `version_id` int(11) DEFAULT NULL,
  `hours` decimal(25,8) DEFAULT NULL,
  `days` decimal(25,8) DEFAULT NULL,
  `contact_id` int(19) DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_usageunit`
--

CREATE TABLE `vtiger_usageunit` (
  `usageunitid` int(19) NOT NULL,
  `usageunit` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL DEFAULT 1,
  `picklist_valueid` int(19) NOT NULL DEFAULT 0,
  `sortorderid` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_usageunit` (`usageunitid`, `usageunit`, `presence`, `picklist_valueid`, `sortorderid`, `color`) VALUES
(1, 'Box', 1, 194, 0, NULL),
(2, 'Carton', 1, 195, 1, NULL),
(3, 'Dozen', 1, 196, 2, NULL),
(4, 'Each', 1, 197, 3, NULL),
(5, 'Hours', 1, 198, 4, NULL),
(6, 'Impressions', 1, 199, 5, NULL),
(7, 'Lb', 1, 200, 6, NULL),
(8, 'M', 1, 201, 7, NULL),
(9, 'Pack', 1, 202, 8, NULL),
(10, 'Pages', 1, 203, 9, NULL),
(11, 'Pieces', 1, 204, 10, NULL),
(12, 'Quantity', 1, 205, 11, NULL),
(13, 'Reams', 1, 206, 12, NULL),
(14, 'Sheet', 1, 207, 13, NULL),
(15, 'Spiral Binder', 1, 208, 14, NULL),
(16, 'Sq Ft', 1, 209, 15, NULL);

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

--
-- Structure de la table `vtiger_usageunit_seq`
--

CREATE TABLE `vtiger_usageunit_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_usageunit_seq` (`id`) VALUES
(16);

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

--
-- Structure de la table `vtiger_user2mergefields`
--

CREATE TABLE `vtiger_user2mergefields` (
  `userid` int(11) DEFAULT NULL,
  `tabid` int(19) DEFAULT NULL,
  `fieldid` int(19) DEFAULT NULL,
  `visible` int(2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_user2role`
--

CREATE TABLE `vtiger_user2role` (
  `userid` int(11) NOT NULL,
  `roleid` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_user2role` (`userid`, `roleid`) VALUES
(1, 'H2'),
(6, 'H3');

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

--
-- Structure de la table `vtiger_users`
--

CREATE TABLE `vtiger_users` (
  `id` int(11) NOT NULL,
  `user_name` varchar(255) DEFAULT NULL,
  `user_password` varchar(200) DEFAULT NULL,
  `user_hash` varchar(32) DEFAULT NULL,
  `cal_color` varchar(25) DEFAULT '#E6FAD8',
  `first_name` varchar(30) DEFAULT NULL,
  `last_name` varchar(30) DEFAULT NULL,
  `reports_to_id` varchar(36) DEFAULT NULL,
  `is_admin` varchar(3) DEFAULT '0',
  `currency_id` int(19) NOT NULL DEFAULT 1,
  `description` text DEFAULT NULL,
  `date_entered` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `date_modified` datetime DEFAULT NULL,
  `modified_user_id` varchar(36) DEFAULT NULL,
  `title` varchar(50) DEFAULT NULL,
  `department` varchar(50) DEFAULT NULL,
  `phone_home` varchar(50) DEFAULT NULL,
  `phone_mobile` varchar(50) DEFAULT NULL,
  `phone_work` varchar(50) DEFAULT NULL,
  `phone_other` varchar(50) DEFAULT NULL,
  `phone_fax` varchar(50) DEFAULT NULL,
  `email1` varchar(100) DEFAULT NULL,
  `email2` varchar(100) DEFAULT NULL,
  `secondaryemail` varchar(100) DEFAULT NULL,
  `status` varchar(25) DEFAULT NULL,
  `signature` text DEFAULT NULL,
  `address_street` varchar(150) DEFAULT NULL,
  `address_city` varchar(100) DEFAULT NULL,
  `address_state` varchar(100) DEFAULT NULL,
  `address_country` varchar(25) DEFAULT NULL,
  `address_postalcode` varchar(9) DEFAULT NULL,
  `user_preferences` text DEFAULT NULL,
  `tz` varchar(30) DEFAULT NULL,
  `holidays` varchar(60) DEFAULT NULL,
  `namedays` varchar(60) DEFAULT NULL,
  `workdays` varchar(30) DEFAULT NULL,
  `weekstart` int(11) DEFAULT NULL,
  `date_format` varchar(200) DEFAULT NULL,
  `hour_format` varchar(30) DEFAULT 'am/pm',
  `start_hour` varchar(30) DEFAULT '10:00',
  `end_hour` varchar(30) DEFAULT '23:00',
  `is_owner` varchar(100) DEFAULT '0',
  `activity_view` varchar(200) DEFAULT 'Today',
  `lead_view` varchar(200) DEFAULT 'Today',
  `imagename` varchar(250) DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0,
  `confirm_password` varchar(300) DEFAULT NULL,
  `internal_mailer` varchar(3) NOT NULL DEFAULT '1',
  `reminder_interval` varchar(100) DEFAULT NULL,
  `reminder_next_time` varchar(100) DEFAULT NULL,
  `crypt_type` varchar(20) NOT NULL DEFAULT 'MD5',
  `accesskey` varchar(36) DEFAULT NULL,
  `theme` varchar(100) DEFAULT NULL,
  `language` varchar(36) DEFAULT NULL,
  `time_zone` varchar(200) DEFAULT NULL,
  `currency_grouping_pattern` varchar(100) DEFAULT NULL,
  `currency_decimal_separator` varchar(2) DEFAULT NULL,
  `currency_grouping_separator` varchar(2) DEFAULT NULL,
  `currency_symbol_placement` varchar(20) DEFAULT NULL,
  `phone_crm_extension` varchar(100) DEFAULT NULL,
  `no_of_currency_decimals` varchar(2) DEFAULT NULL,
  `truncate_trailing_zeros` varchar(3) DEFAULT NULL,
  `dayoftheweek` varchar(100) DEFAULT NULL,
  `callduration` varchar(100) DEFAULT NULL,
  `othereventduration` varchar(100) DEFAULT NULL,
  `calendarsharedtype` varchar(100) DEFAULT NULL,
  `default_record_view` varchar(10) DEFAULT NULL,
  `leftpanelhide` varchar(3) DEFAULT NULL,
  `rowheight` varchar(10) DEFAULT NULL,
  `defaulteventstatus` varchar(50) DEFAULT NULL,
  `defaultactivitytype` varchar(50) DEFAULT NULL,
  `hidecompletedevents` int(11) DEFAULT NULL,
  `defaultcalendarview` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_users` (`id`, `user_name`, `user_password`, `user_hash`, `cal_color`, `first_name`, `last_name`, `reports_to_id`, `is_admin`, `currency_id`, `description`, `date_entered`, `date_modified`, `modified_user_id`, `title`, `department`, `phone_home`, `phone_mobile`, `phone_work`, `phone_other`, `phone_fax`, `email1`, `email2`, `secondaryemail`, `status`, `signature`, `address_street`, `address_city`, `address_state`, `address_country`, `address_postalcode`, `user_preferences`, `tz`, `holidays`, `namedays`, `workdays`, `weekstart`, `date_format`, `hour_format`, `start_hour`, `end_hour`, `is_owner`, `activity_view`, `lead_view`, `imagename`, `deleted`, `confirm_password`, `internal_mailer`, `reminder_interval`, `reminder_next_time`, `crypt_type`, `accesskey`, `theme`, `language`, `time_zone`, `currency_grouping_pattern`, `currency_decimal_separator`, `currency_grouping_separator`, `currency_symbol_placement`, `phone_crm_extension`, `no_of_currency_decimals`, `truncate_trailing_zeros`, `dayoftheweek`, `callduration`, `othereventduration`, `calendarsharedtype`, `default_record_view`, `leftpanelhide`, `rowheight`, `defaulteventstatus`, `defaultactivitytype`, `hidecompletedevents`, `defaultcalendarview`) VALUES
(1, 'admin', '$1$ad000000$ufdHMqdkxAu6ImBUuUNIO.', 'd41d8cd98f00b204e9800998ecf8427e', '#E6FAD8', '', 'Support Estair', '', 'on', 1, '', '2019-04-18 19:10:31', NULL, NULL, '', '', '', '', '', '', '', 'info@estair.travel', '', '', 'Active', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 'dd-mm-yyyy', '24', '08:00', '23:00', '1', 'This Week', 'Today', '', 0, '$1$ad000000$nYTnfhTZRmUP.wQT9y1AE.', '1', '1 Minute', NULL, 'PHP5.3MD5', 'ZMxEFcoIgZvlVTrY', 'alphagrey', 'fr_fr', 'UTC', '123,456,789', ',', ' ', '1.0$', '', '2', '1', 'Monday', '5', '5', 'public', 'Summary', '0', '', 'Planned', 'Call', 0, 'MyCalendar'),
(6, 'Directeur', '$1$Di000000$E9/8sHuSmJszLiQ0J70GO0', 'fcec5a4574d3dc3beb0de173cb9e4a9b', '#E6FAD8', '', 'NOMXXX', '', 'off', 1, '', '2019-04-18 11:06:11', NULL, NULL, 'Directeur Général', '', '', '', '', '', '', 'ange.gbehi@ceteristours.com', '', '', 'Active', '', '', '', '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, 'dd-mm-yyyy', '24', '08:00', '', '', 'This Week', 'Today', '', 0, '$1$Di000000$E9/8sHuSmJszLiQ0J70GO0', '0', '', NULL, 'PHP5.3MD5', '76Z9QpcOvk5ZodtT', 'softed', 'fr_fr', 'UTC', '123,456,789', ',', ' ', '1.0$', '', '2', '0', 'Monday', '10', '10', 'public', 'Summary', '0', 'medium', 'Planned', 'Call', 0, 'MyCalendar');

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

--
-- Structure de la table `vtiger_users2group`
--

CREATE TABLE `vtiger_users2group` (
  `groupid` int(19) NOT NULL,
  `userid` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_users_last_import`
--

CREATE TABLE `vtiger_users_last_import` (
  `id` int(36) NOT NULL,
  `assigned_user_id` varchar(36) DEFAULT NULL,
  `bean_type` varchar(36) DEFAULT NULL,
  `bean_id` varchar(36) DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_users_seq`
--

CREATE TABLE `vtiger_users_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_users_seq` (`id`) VALUES
(6);

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

--
-- Structure de la table `vtiger_user_module_preferences`
--

CREATE TABLE `vtiger_user_module_preferences` (
  `userid` int(19) NOT NULL,
  `tabid` int(19) NOT NULL,
  `default_cvid` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_user_module_preferences` (`userid`, `tabid`, `default_cvid`) VALUES
(1, 4, 53),
(1, 6, 54),
(1, 21, 51),
(1, 23, 56),
(6, 4, 53),
(6, 6, 54),
(6, 21, 51),
(6, 23, 56);

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

--
-- Structure de la table `vtiger_vendor`
--

CREATE TABLE `vtiger_vendor` (
  `vendorid` int(19) NOT NULL DEFAULT 0,
  `vendor_no` varchar(100) NOT NULL,
  `vendorname` varchar(100) DEFAULT NULL,
  `phone` varchar(100) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `website` varchar(100) DEFAULT NULL,
  `glacct` varchar(200) DEFAULT NULL,
  `category` varchar(50) DEFAULT NULL,
  `street` text DEFAULT NULL,
  `city` varchar(30) DEFAULT NULL,
  `state` varchar(30) DEFAULT NULL,
  `pobox` varchar(30) DEFAULT NULL,
  `postalcode` varchar(100) DEFAULT NULL,
  `country` varchar(100) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `tags` varchar(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_vendor` (`vendorid`, `vendor_no`, `vendorname`, `phone`, `email`, `website`, `glacct`, `category`, `street`, `city`, `state`, `pobox`, `postalcode`, `country`, `description`, `tags`) VALUES
(4, 'VEN1', 'CETERIS TOURS', '+22521748814', 'info@ceteristours.com', '', '', '', '', 'Abidjan', '', '', '', 'Côte d\'Ivoire', NULL, ''),
(75, 'VEN2', 'BSP IATA', '', '', '', NULL, '', '', '', '', '', '', '', NULL, '');

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

--
-- Structure de la table `vtiger_vendorcf`
--

CREATE TABLE `vtiger_vendorcf` (
  `vendorid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_vendorcf` (`vendorid`) VALUES
(4),
(75);

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

--
-- Structure de la table `vtiger_vendorcontactrel`
--

CREATE TABLE `vtiger_vendorcontactrel` (
  `vendorid` int(19) NOT NULL DEFAULT 0,
  `contactid` int(19) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_version`
--

CREATE TABLE `vtiger_version` (
  `id` int(11) NOT NULL,
  `old_version` varchar(30) DEFAULT NULL,
  `current_version` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_version` (`id`, `old_version`, `current_version`) VALUES
(1, '7.1.0', '7.1.0');

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

--
-- Structure de la table `vtiger_version_seq`
--

CREATE TABLE `vtiger_version_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_version_seq` (`id`) VALUES
(1);

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

--
-- Structure de la table `vtiger_visibility`
--

CREATE TABLE `vtiger_visibility` (
  `visibilityid` int(19) NOT NULL,
  `visibility` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL DEFAULT 0,
  `presence` int(1) NOT NULL DEFAULT 1,
  `color` varchar(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_visibility` (`visibilityid`, `visibility`, `sortorderid`, `presence`, `color`) VALUES
(1, 'Private', 0, 1, NULL),
(2, 'Public', 1, 1, NULL);

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

--
-- Structure de la table `vtiger_visibility_seq`
--

CREATE TABLE `vtiger_visibility_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_visibility_seq` (`id`) VALUES
(2);

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

--
-- Structure de la table `vtiger_webforms`
--

CREATE TABLE `vtiger_webforms` (
  `id` int(19) NOT NULL,
  `name` varchar(100) NOT NULL,
  `publicid` varchar(100) NOT NULL,
  `enabled` int(1) NOT NULL DEFAULT 1,
  `targetmodule` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `ownerid` int(19) NOT NULL,
  `returnurl` varchar(250) DEFAULT NULL,
  `captcha` int(1) NOT NULL DEFAULT 0,
  `roundrobin` int(1) NOT NULL DEFAULT 0,
  `roundrobin_userid` varchar(256) DEFAULT NULL,
  `roundrobin_logic` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_webforms_field`
--

CREATE TABLE `vtiger_webforms_field` (
  `id` int(19) NOT NULL,
  `webformid` int(19) NOT NULL,
  `fieldname` varchar(50) NOT NULL,
  `neutralizedfield` varchar(50) NOT NULL,
  `defaultvalue` text DEFAULT NULL,
  `required` int(10) NOT NULL DEFAULT 0,
  `sequence` int(10) DEFAULT NULL,
  `hidden` int(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_webform_file_fields`
--

CREATE TABLE `vtiger_webform_file_fields` (
  `id` int(19) NOT NULL,
  `webformid` int(19) NOT NULL,
  `fieldname` varchar(100) NOT NULL,
  `fieldlabel` varchar(100) NOT NULL,
  `required` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wordtemplates`
--

CREATE TABLE `vtiger_wordtemplates` (
  `templateid` int(19) NOT NULL,
  `filename` varchar(100) NOT NULL,
  `module` varchar(30) NOT NULL,
  `date_entered` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `parent_type` varchar(50) NOT NULL,
  `data` longblob DEFAULT NULL,
  `description` text DEFAULT NULL,
  `filesize` varchar(50) NOT NULL,
  `filetype` varchar(20) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wsapp`
--

CREATE TABLE `vtiger_wsapp` (
  `appid` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `appkey` varchar(255) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_wsapp` (`appid`, `name`, `appkey`, `type`) VALUES
(1, 'vtigerCRM', '5c2bbb09ecbe2', 'user');

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

--
-- Structure de la table `vtiger_wsapp_handlerdetails`
--

CREATE TABLE `vtiger_wsapp_handlerdetails` (
  `type` varchar(200) NOT NULL,
  `handlerclass` varchar(100) DEFAULT NULL,
  `handlerpath` varchar(300) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_wsapp_handlerdetails` (`type`, `handlerclass`, `handlerpath`) VALUES
('Outlook', 'OutlookHandler', 'modules/WSAPP/Handlers/OutlookHandler.php'),
('vtigerCRM', 'vtigerCRMHandler', 'modules/WSAPP/Handlers/vtigerCRMHandler.php'),
('vtigerSyncLib', 'WSAPP_VtigerSyncEventHandler', 'modules/WSAPP/synclib/handlers/VtigerSyncEventHandler.php'),
('Google_vtigerHandler', 'Google_Vtiger_Handler', 'modules/Google/handlers/Vtiger.php'),
('Google_vtigerSyncHandler', 'Google_VtigerSync_Handler', 'modules/Google/handlers/VtigerSync.php');

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

--
-- Structure de la table `vtiger_wsapp_logs_basic`
--

CREATE TABLE `vtiger_wsapp_logs_basic` (
  `id` int(25) NOT NULL,
  `extensiontabid` int(19) DEFAULT NULL,
  `module` varchar(50) NOT NULL,
  `sync_datetime` datetime NOT NULL,
  `app_create_count` int(11) DEFAULT NULL,
  `app_update_count` int(11) DEFAULT NULL,
  `app_delete_count` int(11) DEFAULT NULL,
  `app_skip_count` int(11) DEFAULT NULL,
  `vt_create_count` int(11) DEFAULT NULL,
  `vt_update_count` int(11) DEFAULT NULL,
  `vt_delete_count` int(11) DEFAULT NULL,
  `vt_skip_count` int(11) DEFAULT NULL,
  `userid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wsapp_logs_details`
--

CREATE TABLE `vtiger_wsapp_logs_details` (
  `id` int(25) NOT NULL,
  `app_create_ids` mediumtext DEFAULT NULL,
  `app_update_ids` mediumtext DEFAULT NULL,
  `app_delete_ids` mediumtext DEFAULT NULL,
  `app_skip_info` mediumtext DEFAULT NULL,
  `vt_create_ids` mediumtext DEFAULT NULL,
  `vt_update_ids` mediumtext DEFAULT NULL,
  `vt_delete_ids` mediumtext DEFAULT NULL,
  `vt_skip_info` mediumtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wsapp_queuerecords`
--

CREATE TABLE `vtiger_wsapp_queuerecords` (
  `syncserverid` int(19) DEFAULT NULL,
  `details` varchar(300) DEFAULT NULL,
  `flag` varchar(100) DEFAULT NULL,
  `appid` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wsapp_recordmapping`
--

CREATE TABLE `vtiger_wsapp_recordmapping` (
  `id` int(19) NOT NULL,
  `serverid` varchar(10) DEFAULT NULL,
  `clientid` varchar(255) DEFAULT NULL,
  `clientmodifiedtime` datetime DEFAULT NULL,
  `appid` int(11) DEFAULT NULL,
  `servermodifiedtime` datetime DEFAULT NULL,
  `serverappid` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_wsapp_sync_state`
--

CREATE TABLE `vtiger_wsapp_sync_state` (
  `id` int(19) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `stateencodedvalues` varchar(300) NOT NULL,
  `userid` int(19) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Structure de la table `vtiger_ws_entity`
--

CREATE TABLE `vtiger_ws_entity` (
  `id` int(11) NOT NULL,
  `name` varchar(25) NOT NULL,
  `handler_path` varchar(255) NOT NULL,
  `handler_class` varchar(64) NOT NULL,
  `ismodule` int(3) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity` (`id`, `name`, `handler_path`, `handler_class`, `ismodule`) VALUES
(1, 'Campaigns', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(2, 'Vendors', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(3, 'Faq', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(4, 'Quotes', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', 1),
(5, 'PurchaseOrder', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', 1),
(6, 'SalesOrder', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', 1),
(7, 'Invoice', 'include/Webservices/LineItem/VtigerInventoryOperation.php', 'VtigerInventoryOperation', 1),
(8, 'PriceBooks', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(9, 'Calendar', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(10, 'Leads', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(11, 'Accounts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(12, 'Contacts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(13, 'Potentials', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(14, 'Products', 'include/Webservices/VtigerProductOperation.php', 'VtigerProductOperation', 1),
(15, 'Documents', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(16, 'Emails', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(17, 'HelpDesk', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(18, 'Events', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(19, 'Users', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(20, 'Groups', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', 0),
(21, 'Currency', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', 0),
(22, 'DocumentFolders', 'include/Webservices/VtigerActorOperation.php', 'VtigerActorOperation', 0),
(23, 'CompanyDetails', 'include/Webservices/VtigerCompanyDetails.php', 'VtigerCompanyDetails', 0),
(24, 'PBXManager', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(25, 'ServiceContracts', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(26, 'Services', 'include/Webservices/VtigerProductOperation.php', 'VtigerProductOperation', 1),
(27, 'Assets', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(28, 'ModComments', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(29, 'ProjectMilestone', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(30, 'ProjectTask', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(31, 'Project', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(32, 'SMSNotifier', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(33, 'LineItem', 'include/Webservices/LineItem/VtigerLineItemOperation.php', 'VtigerLineItemOperation', 0),
(34, 'Tax', 'include/Webservices/LineItem/VtigerTaxOperation.php', 'VtigerTaxOperation', 0),
(35, 'ProductTaxes', 'include/Webservices/LineItem/VtigerProductTaxesOperation.php', 'VtigerProductTaxesOperation', 0),
(37, 'Cashflow4You', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1),
(38, 'ITS4YouStyles', 'include/Webservices/VtigerModuleOperation.php', 'VtigerModuleOperation', 1);

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

--
-- Structure de la table `vtiger_ws_entity_fieldtype`
--

CREATE TABLE `vtiger_ws_entity_fieldtype` (
  `fieldtypeid` int(19) NOT NULL,
  `table_name` varchar(50) NOT NULL,
  `field_name` varchar(50) NOT NULL,
  `fieldtype` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_fieldtype` (`fieldtypeid`, `table_name`, `field_name`, `fieldtype`) VALUES
(1, 'vtiger_attachmentsfolder', 'createdby', 'reference'),
(2, 'vtiger_organizationdetails', 'logoname', 'file'),
(3, 'vtiger_organizationdetails', 'phone', 'phone'),
(4, 'vtiger_organizationdetails', 'fax', 'phone'),
(5, 'vtiger_organizationdetails', 'website', 'url'),
(6, 'vtiger_inventoryproductrel', 'productid', 'reference'),
(7, 'vtiger_inventoryproductrel', 'id', 'reference'),
(8, 'vtiger_inventoryproductrel', 'incrementondel', 'autogenerated'),
(9, 'vtiger_producttaxrel', 'productid', 'reference'),
(10, 'vtiger_producttaxrel', 'taxid', 'reference');

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

--
-- Structure de la table `vtiger_ws_entity_fieldtype_seq`
--

CREATE TABLE `vtiger_ws_entity_fieldtype_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_fieldtype_seq` (`id`) VALUES
(10);

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

--
-- Structure de la table `vtiger_ws_entity_name`
--

CREATE TABLE `vtiger_ws_entity_name` (
  `entity_id` int(11) NOT NULL,
  `name_fields` varchar(50) NOT NULL,
  `index_field` varchar(50) NOT NULL,
  `table_name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_name` (`entity_id`, `name_fields`, `index_field`, `table_name`) VALUES
(20, 'groupname', 'groupid', 'vtiger_groups'),
(21, 'currency_name', 'id', 'vtiger_currency_info'),
(22, 'foldername', 'folderid', 'vtiger_attachmentsfolder'),
(23, 'organizationname', 'groupid', 'vtiger_organizationdetails'),
(34, 'taxlabel', 'taxid', 'vtiger_inventorytaxinfo');

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

--
-- Structure de la table `vtiger_ws_entity_referencetype`
--

CREATE TABLE `vtiger_ws_entity_referencetype` (
  `fieldtypeid` int(19) NOT NULL,
  `type` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_referencetype` (`fieldtypeid`, `type`) VALUES
(5, 'Users'),
(6, 'Products'),
(7, 'Invoice'),
(7, 'PurchaseOrder'),
(7, 'Quotes'),
(7, 'SalesOrder'),
(9, 'Products'),
(10, 'Tax');

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

--
-- Structure de la table `vtiger_ws_entity_seq`
--

CREATE TABLE `vtiger_ws_entity_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_seq` (`id`) VALUES
(38);

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

--
-- Structure de la table `vtiger_ws_entity_tables`
--

CREATE TABLE `vtiger_ws_entity_tables` (
  `webservice_entity_id` int(11) NOT NULL,
  `table_name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_entity_tables` (`webservice_entity_id`, `table_name`) VALUES
(20, 'vtiger_groups'),
(21, 'vtiger_currency_info'),
(22, 'vtiger_attachmentsfolder'),
(23, 'vtiger_organizationdetails'),
(33, 'vtiger_inventoryproductrel'),
(34, 'vtiger_inventorytaxinfo'),
(35, 'vtiger_producttaxrel');

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

--
-- Structure de la table `vtiger_ws_fieldinfo`
--

CREATE TABLE `vtiger_ws_fieldinfo` (
  `id` varchar(64) NOT NULL,
  `property_name` varchar(32) DEFAULT NULL,
  `property_value` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_fieldinfo` (`id`, `property_name`, `property_value`) VALUES
('vtiger_organizationdetails.organization_id', 'upload.path', '1');

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

--
-- Structure de la table `vtiger_ws_fieldtype`
--

CREATE TABLE `vtiger_ws_fieldtype` (
  `fieldtypeid` int(19) NOT NULL,
  `uitype` varchar(30) NOT NULL,
  `fieldtype` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_fieldtype` (`fieldtypeid`, `uitype`, `fieldtype`) VALUES
(1, '15', 'picklist'),
(2, '16', 'picklist'),
(3, '19', 'text'),
(4, '20', 'text'),
(5, '21', 'text'),
(6, '24', 'text'),
(7, '3', 'autogenerated'),
(8, '11', 'phone'),
(9, '33', 'multipicklist'),
(10, '17', 'url'),
(11, '85', 'skype'),
(12, '56', 'boolean'),
(13, '156', 'boolean'),
(14, '53', 'owner'),
(15, '61', 'file'),
(16, '28', 'file'),
(17, '13', 'email'),
(18, '71', 'currency'),
(19, '72', 'currency'),
(20, '50', 'reference'),
(21, '51', 'reference'),
(22, '57', 'reference'),
(23, '58', 'reference'),
(24, '73', 'reference'),
(25, '75', 'reference'),
(26, '76', 'reference'),
(27, '78', 'reference'),
(28, '80', 'reference'),
(29, '81', 'reference'),
(30, '101', 'reference'),
(31, '52', 'reference'),
(32, '357', 'reference'),
(33, '59', 'reference'),
(34, '66', 'reference'),
(35, '77', 'reference'),
(36, '68', 'reference'),
(37, '117', 'reference'),
(38, '26', 'reference'),
(39, '10', 'reference'),
(40, '98', 'reference');

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

--
-- Structure de la table `vtiger_ws_operation`
--

CREATE TABLE `vtiger_ws_operation` (
  `operationid` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `handler_path` varchar(255) NOT NULL,
  `handler_method` varchar(64) NOT NULL,
  `type` varchar(8) NOT NULL,
  `prelogin` int(3) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_operation` (`operationid`, `name`, `handler_path`, `handler_method`, `type`, `prelogin`) VALUES
(1, 'login', 'include/Webservices/Login.php', 'vtws_login', 'POST', 1),
(2, 'retrieve', 'include/Webservices/Retrieve.php', 'vtws_retrieve', 'GET', 0),
(3, 'create', 'include/Webservices/Create.php', 'vtws_create', 'POST', 0),
(4, 'update', 'include/Webservices/Update.php', 'vtws_update', 'POST', 0),
(5, 'delete', 'include/Webservices/Delete.php', 'vtws_delete', 'POST', 0),
(6, 'sync', 'include/Webservices/GetUpdates.php', 'vtws_sync', 'GET', 0),
(7, 'query', 'include/Webservices/Query.php', 'vtws_query', 'GET', 0),
(8, 'logout', 'include/Webservices/Logout.php', 'vtws_logout', 'POST', 0),
(9, 'listtypes', 'include/Webservices/ModuleTypes.php', 'vtws_listtypes', 'GET', 0),
(10, 'getchallenge', 'include/Webservices/AuthToken.php', 'vtws_getchallenge', 'GET', 1),
(11, 'describe', 'include/Webservices/DescribeObject.php', 'vtws_describe', 'GET', 0),
(12, 'extendsession', 'include/Webservices/ExtendSession.php', 'vtws_extendSession', 'POST', 1),
(13, 'convertlead', 'include/Webservices/ConvertLead.php', 'vtws_convertlead', 'POST', 0),
(14, 'revise', 'include/Webservices/Revise.php', 'vtws_revise', 'POST', 0),
(15, 'changePassword', 'include/Webservices/ChangePassword.php', 'vtws_changePassword', 'POST', 0),
(16, 'deleteUser', 'include/Webservices/DeleteUser.php', 'vtws_deleteUser', 'POST', 0),
(17, 'mobile.fetchallalerts', 'modules/Mobile/api/wsapi.php', 'mobile_ws_fetchAllAlerts', 'POST', 0),
(18, 'mobile.alertdetailswithmessage', 'modules/Mobile/api/wsapi.php', 'mobile_ws_alertDetailsWithMessage', 'POST', 0),
(19, 'mobile.fetchmodulefilters', 'modules/Mobile/api/wsapi.php', 'mobile_ws_fetchModuleFilters', 'POST', 0),
(20, 'mobile.fetchrecord', 'modules/Mobile/api/wsapi.php', 'mobile_ws_fetchRecord', 'POST', 0),
(21, 'mobile.fetchrecordwithgrouping', 'modules/Mobile/api/wsapi.php', 'mobile_ws_fetchRecordWithGrouping', 'POST', 0),
(22, 'mobile.filterdetailswithcount', 'modules/Mobile/api/wsapi.php', 'mobile_ws_filterDetailsWithCount', 'POST', 0),
(23, 'mobile.listmodulerecords', 'modules/Mobile/api/wsapi.php', 'mobile_ws_listModuleRecords', 'POST', 0),
(24, 'mobile.saverecord', 'modules/Mobile/api/wsapi.php', 'mobile_ws_saveRecord', 'POST', 0),
(25, 'mobile.syncModuleRecords', 'modules/Mobile/api/wsapi.php', 'mobile_ws_syncModuleRecords', 'POST', 0),
(26, 'mobile.query', 'modules/Mobile/api/wsapi.php', 'mobile_ws_query', 'POST', 0),
(27, 'mobile.querywithgrouping', 'modules/Mobile/api/wsapi.php', 'mobile_ws_queryWithGrouping', 'POST', 0),
(28, 'wsapp_register', 'modules/WSAPP/api/ws/Register.php', 'wsapp_register', 'POST', 0),
(29, 'wsapp_deregister', 'modules/WSAPP/api/ws/DeRegister.php', 'wsapp_deregister', 'POST', 0),
(30, 'wsapp_get', 'modules/WSAPP/api/ws/Get.php', 'wsapp_get', 'POST', 0),
(31, 'wsapp_put', 'modules/WSAPP/api/ws/Put.php', 'wsapp_put', 'POST', 0),
(32, 'wsapp_map', 'modules/WSAPP/api/ws/Map.php', 'wsapp_map', 'POST', 0),
(33, 'retrieve_inventory', 'include/Webservices/LineItem/RetrieveInventory.php', 'vtws_retrieve_inventory', 'GET', 0),
(34, 'relatedtypes', 'include/Webservices/RelatedTypes.php', 'vtws_relatedtypes', 'GET', 0),
(35, 'retrieve_related', 'include/Webservices/RetrieveRelated.php', 'vtws_retrieve_related', 'GET', 0),
(36, 'query_related', 'include/Webservices/QueryRelated.php', 'vtws_query_related', 'GET', 0),
(37, 'add_related', 'include/Webservices/AddRelated.php', 'vtws_add_related', 'POST', 0);

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

--
-- Structure de la table `vtiger_ws_operation_parameters`
--

CREATE TABLE `vtiger_ws_operation_parameters` (
  `operationid` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `type` varchar(64) NOT NULL,
  `sequence` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_operation_parameters` (`operationid`, `name`, `type`, `sequence`) VALUES
(1, 'accessKey', 'String', 2),
(1, 'username', 'String', 1),
(2, 'id', 'String', 1),
(3, 'element', 'encoded', 2),
(3, 'elementType', 'String', 1),
(4, 'element', 'encoded', 1),
(5, 'id', 'String', 1),
(6, 'elementType', 'String', 2),
(6, 'modifiedTime', 'DateTime', 1),
(7, 'query', 'String', 1),
(8, 'sessionName', 'String', 1),
(9, 'fieldTypeList', 'encoded', 1),
(10, 'username', 'String', 1),
(11, 'elementType', 'String', 1),
(13, 'accountName', 'String', 3),
(13, 'assignedTo', 'String', 2),
(13, 'avoidPotential', 'Boolean', 4),
(13, 'leadId', 'String', 1),
(13, 'potential', 'Encoded', 5),
(14, 'element', 'Encoded', 1),
(15, 'confirmPassword', 'String', 4),
(15, 'id', 'String', 1),
(15, 'newPassword', 'String', 3),
(15, 'oldPassword', 'String', 2),
(16, 'id', 'String', 1),
(16, 'newOwnerId', 'String', 2),
(18, 'alertid', 'string', 1),
(19, 'module', 'string', 1),
(20, 'record', 'string', 1),
(21, 'record', 'string', 1),
(22, 'filterid', 'string', 1),
(23, 'elements', 'encoded', 1),
(24, 'module', 'string', 1),
(24, 'record', 'string', 2),
(24, 'values', 'encoded', 3),
(25, 'module', 'string', 1),
(25, 'page', 'string', 3),
(25, 'syncToken', 'string', 2),
(26, 'module', 'string', 1),
(26, 'page', 'string', 3),
(26, 'query', 'string', 2),
(27, 'module', 'string', 1),
(27, 'page', 'string', 3),
(27, 'query', 'string', 2),
(28, 'synctype', 'string', 2),
(28, 'type', 'string', 1),
(29, 'key', 'string', 2),
(29, 'type', 'string', 1),
(30, 'key', 'string', 1),
(30, 'module', 'string', 2),
(30, 'token', 'string', 3),
(31, 'element', 'encoded', 2),
(31, 'key', 'string', 1),
(32, 'element', 'encoded', 2),
(32, 'key', 'string', 1),
(33, 'id', 'String', 1),
(34, 'elementType', 'string', 1),
(35, 'id', 'string', 1),
(35, 'relatedLabel', 'string', 3),
(35, 'relatedType', 'string', 2),
(36, 'id', 'string', 2),
(36, 'query', 'string', 1),
(36, 'relatedLabel', 'string', 3),
(37, 'relatedRecordId', 'string', 2),
(37, 'relationIdLabel', 'string', 3),
(37, 'sourceRecordId', 'string', 1);

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

--
-- Structure de la table `vtiger_ws_operation_seq`
--

CREATE TABLE `vtiger_ws_operation_seq` (
  `id` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_operation_seq` (`id`) VALUES
(37);

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

--
-- Structure de la table `vtiger_ws_referencetype`
--

CREATE TABLE `vtiger_ws_referencetype` (
  `fieldtypeid` int(19) NOT NULL,
  `type` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_referencetype` (`fieldtypeid`, `type`) VALUES
(20, 'Accounts'),
(21, 'Accounts'),
(22, 'Contacts'),
(23, 'Campaigns'),
(24, 'Accounts'),
(25, 'Vendors'),
(26, 'Potentials'),
(27, 'Quotes'),
(28, 'SalesOrder'),
(29, 'Vendors'),
(30, 'Users'),
(31, 'Users'),
(32, 'Accounts'),
(32, 'Contacts'),
(32, 'Leads'),
(32, 'Users'),
(32, 'Vendors'),
(33, 'Products'),
(34, 'Accounts'),
(34, 'Campaigns'),
(34, 'HelpDesk'),
(34, 'Leads'),
(34, 'Potentials'),
(35, 'Users'),
(36, 'Accounts'),
(36, 'Contacts'),
(37, 'Currency'),
(38, 'DocumentFolders');

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

--
-- Structure de la table `vtiger_ws_userauthtoken`
--

CREATE TABLE `vtiger_ws_userauthtoken` (
  `userid` int(19) NOT NULL,
  `token` varchar(36) NOT NULL,
  `expiretime` int(19) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `vtiger_ws_userauthtoken` (`userid`, `token`, `expiretime`) VALUES
(1, '5cc2560a6076a', 1556240182);

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `com_vtiger_workflows`
--
ALTER TABLE `com_vtiger_workflows`
  ADD PRIMARY KEY (`workflow_id`),
  ADD UNIQUE KEY `com_vtiger_workflows_idx` (`workflow_id`);

--
-- Index pour la table `com_vtiger_workflowtasks`
--
ALTER TABLE `com_vtiger_workflowtasks`
  ADD PRIMARY KEY (`task_id`),
  ADD UNIQUE KEY `com_vtiger_workflowtasks_idx` (`task_id`);

--
-- Index pour la table `com_vtiger_workflowtasks_entitymethod`
--
ALTER TABLE `com_vtiger_workflowtasks_entitymethod`
  ADD PRIMARY KEY (`workflowtasks_entitymethod_id`),
  ADD UNIQUE KEY `com_vtiger_workflowtasks_entitymethod_idx` (`workflowtasks_entitymethod_id`);

--
-- Index pour la table `com_vtiger_workflowtemplates`
--
ALTER TABLE `com_vtiger_workflowtemplates`
  ADD PRIMARY KEY (`template_id`);

--
-- Index pour la table `com_vtiger_workflow_activatedonce`
--
ALTER TABLE `com_vtiger_workflow_activatedonce`
  ADD PRIMARY KEY (`workflow_id`,`entity_id`);

--
-- Index pour la table `its4you_cashflow4you`
--
ALTER TABLE `its4you_cashflow4you`
  ADD PRIMARY KEY (`cashflow4youid`),
  ADD KEY `relationid` (`relationid`),
  ADD KEY `relation_no` (`relation_no`),
  ADD KEY `currency_id` (`currency_id`),
  ADD KEY `cashflow4you_paytype` (`cashflow4you_paytype`),
  ADD KEY `cashflow4you_category` (`cashflow4you_category`),
  ADD KEY `relatedto` (`relatedto`),
  ADD KEY `cashflow4you_subcategory` (`cashflow4you_subcategory`),
  ADD KEY `cashflow4you_status` (`cashflow4you_status`),
  ADD KEY `cashflow4you_associated_no` (`cashflow4you_associated_no`),
  ADD KEY `cashflow4you_no` (`cashflow4you_no`),
  ADD KEY `contactid` (`contactid`);

--
-- Index pour la table `its4you_cashflow4youcf`
--
ALTER TABLE `its4you_cashflow4youcf`
  ADD PRIMARY KEY (`cashflow4youid`);

--
-- Index pour la table `its4you_cashflow4you_license`
--
ALTER TABLE `its4you_cashflow4you_license`
  ADD UNIQUE KEY `version_type` (`version_type`);

--
-- Index pour la table `its4you_cashflow4you_version`
--
ALTER TABLE `its4you_cashflow4you_version`
  ADD UNIQUE KEY `version` (`version`);

--
-- Index pour la table `its4you_styles`
--
ALTER TABLE `its4you_styles`
  ADD PRIMARY KEY (`styleid`);

--
-- Index pour la table `its4you_stylescf`
--
ALTER TABLE `its4you_stylescf`
  ADD PRIMARY KEY (`styleid`);

--
-- Index pour la table `its4you_stylesrel`
--
ALTER TABLE `its4you_stylesrel`
  ADD KEY `styleid` (`styleid`,`parentid`);

--
-- Index pour la table `old_vtiger_modtracker_basic`
--
ALTER TABLE `old_vtiger_modtracker_basic`
  ADD PRIMARY KEY (`id`),
  ADD KEY `crmidx` (`crmid`),
  ADD KEY `idx` (`id`);

--
-- Index pour la table `old_vtiger_modtracker_detail`
--
ALTER TABLE `old_vtiger_modtracker_detail`
  ADD KEY `idx` (`id`);

--
-- Index pour la table `vtiger_account`
--
ALTER TABLE `vtiger_account`
  ADD PRIMARY KEY (`accountid`),
  ADD KEY `account_account_type_idx` (`account_type`),
  ADD KEY `email_idx` (`email1`,`email2`);

--
-- Index pour la table `vtiger_accountbillads`
--
ALTER TABLE `vtiger_accountbillads`
  ADD PRIMARY KEY (`accountaddressid`);

--
-- Index pour la table `vtiger_accountrating`
--
ALTER TABLE `vtiger_accountrating`
  ADD PRIMARY KEY (`accountratingid`),
  ADD UNIQUE KEY `accountrating_rating_idx` (`rating`);

--
-- Index pour la table `vtiger_accountscf`
--
ALTER TABLE `vtiger_accountscf`
  ADD PRIMARY KEY (`accountid`);

--
-- Index pour la table `vtiger_accountshipads`
--
ALTER TABLE `vtiger_accountshipads`
  ADD PRIMARY KEY (`accountaddressid`);

--
-- Index pour la table `vtiger_accounttype`
--
ALTER TABLE `vtiger_accounttype`
  ADD PRIMARY KEY (`accounttypeid`),
  ADD UNIQUE KEY `accounttype_accounttype_idx` (`accounttype`);

--
-- Index pour la table `vtiger_actionmapping`
--
ALTER TABLE `vtiger_actionmapping`
  ADD PRIMARY KEY (`actionid`,`actionname`);

--
-- Index pour la table `vtiger_activity`
--
ALTER TABLE `vtiger_activity`
  ADD PRIMARY KEY (`activityid`),
  ADD KEY `activity_activityid_subject_idx` (`activityid`,`subject`),
  ADD KEY `activity_activitytype_date_start_idx` (`activitytype`,`date_start`),
  ADD KEY `activity_date_start_due_date_idx` (`date_start`,`due_date`),
  ADD KEY `activity_date_start_time_start_idx` (`date_start`,`time_start`),
  ADD KEY `activity_eventstatus_idx` (`eventstatus`),
  ADD KEY `activity_status_idx` (`status`);

--
-- Index pour la table `vtiger_activitycf`
--
ALTER TABLE `vtiger_activitycf`
  ADD PRIMARY KEY (`activityid`);

--
-- Index pour la table `vtiger_activityproductrel`
--
ALTER TABLE `vtiger_activityproductrel`
  ADD PRIMARY KEY (`activityid`,`productid`),
  ADD KEY `activityproductrel_activityid_idx` (`activityid`),
  ADD KEY `activityproductrel_productid_idx` (`productid`);

--
-- Index pour la table `vtiger_activitytype`
--
ALTER TABLE `vtiger_activitytype`
  ADD PRIMARY KEY (`activitytypeid`),
  ADD UNIQUE KEY `activitytype_activitytype_idx` (`activitytype`);

--
-- Index pour la table `vtiger_activity_reminder`
--
ALTER TABLE `vtiger_activity_reminder`
  ADD PRIMARY KEY (`activity_id`,`recurringid`);

--
-- Index pour la table `vtiger_activity_reminder_popup`
--
ALTER TABLE `vtiger_activity_reminder_popup`
  ADD PRIMARY KEY (`reminderid`);

--
-- Index pour la table `vtiger_activity_view`
--
ALTER TABLE `vtiger_activity_view`
  ADD PRIMARY KEY (`activity_viewid`);

--
-- Index pour la table `vtiger_announcement`
--
ALTER TABLE `vtiger_announcement`
  ADD PRIMARY KEY (`creatorid`),
  ADD KEY `announcement_creatorid_idx` (`creatorid`);

--
-- Index pour la table `vtiger_app2tab`
--
ALTER TABLE `vtiger_app2tab`
  ADD KEY `vtiger_app2tab_fk_tab` (`tabid`);

--
-- Index pour la table `vtiger_assets`
--
ALTER TABLE `vtiger_assets`
  ADD PRIMARY KEY (`assetsid`);

--
-- Index pour la table `vtiger_assetscf`
--
ALTER TABLE `vtiger_assetscf`
  ADD PRIMARY KEY (`assetsid`);

--
-- Index pour la table `vtiger_assetstatus`
--
ALTER TABLE `vtiger_assetstatus`
  ADD PRIMARY KEY (`assetstatusid`);

--
-- Index pour la table `vtiger_asteriskincomingevents`
--
ALTER TABLE `vtiger_asteriskincomingevents`
  ADD PRIMARY KEY (`uid`);

--
-- Index pour la table `vtiger_attachments`
--
ALTER TABLE `vtiger_attachments`
  ADD PRIMARY KEY (`attachmentsid`),
  ADD KEY `attachments_attachmentsid_idx` (`attachmentsid`);

--
-- Index pour la table `vtiger_attachmentsfolder`
--
ALTER TABLE `vtiger_attachmentsfolder`
  ADD PRIMARY KEY (`folderid`);

--
-- Index pour la table `vtiger_audit_trial`
--
ALTER TABLE `vtiger_audit_trial`
  ADD PRIMARY KEY (`auditid`);

--
-- Index pour la table `vtiger_blocks`
--
ALTER TABLE `vtiger_blocks`
  ADD PRIMARY KEY (`blockid`),
  ADD KEY `block_tabid_idx` (`tabid`);

--
-- Index pour la table `vtiger_calendarsharedtype`
--
ALTER TABLE `vtiger_calendarsharedtype`
  ADD PRIMARY KEY (`calendarsharedtypeid`);

--
-- Index pour la table `vtiger_calendar_default_activitytypes`
--
ALTER TABLE `vtiger_calendar_default_activitytypes`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_calendar_user_activitytypes`
--
ALTER TABLE `vtiger_calendar_user_activitytypes`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_callduration`
--
ALTER TABLE `vtiger_callduration`
  ADD PRIMARY KEY (`calldurationid`);

--
-- Index pour la table `vtiger_campaign`
--
ALTER TABLE `vtiger_campaign`
  ADD PRIMARY KEY (`campaignid`),
  ADD KEY `campaign_campaignstatus_idx` (`campaignstatus`),
  ADD KEY `campaign_campaignname_idx` (`campaignname`),
  ADD KEY `campaign_campaignid_idx` (`campaignid`);

--
-- Index pour la table `vtiger_campaigncontrel`
--
ALTER TABLE `vtiger_campaigncontrel`
  ADD PRIMARY KEY (`campaignid`,`contactid`,`campaignrelstatusid`),
  ADD KEY `campaigncontrel_contractid_idx` (`contactid`);

--
-- Index pour la table `vtiger_campaignleadrel`
--
ALTER TABLE `vtiger_campaignleadrel`
  ADD PRIMARY KEY (`campaignid`,`leadid`,`campaignrelstatusid`),
  ADD KEY `campaignleadrel_leadid_campaignid_idx` (`leadid`,`campaignid`);

--
-- Index pour la table `vtiger_campaignscf`
--
ALTER TABLE `vtiger_campaignscf`
  ADD PRIMARY KEY (`campaignid`);

--
-- Index pour la table `vtiger_campaignstatus`
--
ALTER TABLE `vtiger_campaignstatus`
  ADD PRIMARY KEY (`campaignstatusid`),
  ADD KEY `campaignstatus_campaignstatus_idx` (`campaignstatus`);

--
-- Index pour la table `vtiger_campaigntype`
--
ALTER TABLE `vtiger_campaigntype`
  ADD PRIMARY KEY (`campaigntypeid`),
  ADD UNIQUE KEY `campaigntype_campaigntype_idx` (`campaigntype`);

--
-- Index pour la table `vtiger_carrier`
--
ALTER TABLE `vtiger_carrier`
  ADD PRIMARY KEY (`carrierid`),
  ADD UNIQUE KEY `carrier_carrier_idx` (`carrier`);

--
-- Index pour la table `vtiger_cashflow4you_cash`
--
ALTER TABLE `vtiger_cashflow4you_cash`
  ADD PRIMARY KEY (`cashflow4you_cashid`);

--
-- Index pour la table `vtiger_cashflow4you_category`
--
ALTER TABLE `vtiger_cashflow4you_category`
  ADD PRIMARY KEY (`cashflow4you_categoryid`);

--
-- Index pour la table `vtiger_cashflow4you_paymethod`
--
ALTER TABLE `vtiger_cashflow4you_paymethod`
  ADD PRIMARY KEY (`cashflow4you_paymethodid`);

--
-- Index pour la table `vtiger_cashflow4you_paytype`
--
ALTER TABLE `vtiger_cashflow4you_paytype`
  ADD PRIMARY KEY (`cashflow4you_paytypeid`);

--
-- Index pour la table `vtiger_cashflow4you_status`
--
ALTER TABLE `vtiger_cashflow4you_status`
  ADD PRIMARY KEY (`cashflow4you_statusid`);

--
-- Index pour la table `vtiger_cashflow4you_subcategory`
--
ALTER TABLE `vtiger_cashflow4you_subcategory`
  ADD PRIMARY KEY (`cashflow4you_subcategoryid`);

--
-- Index pour la table `vtiger_cashflow4you_user_field`
--
ALTER TABLE `vtiger_cashflow4you_user_field`
  ADD KEY `fk_cashflow4youid_vtiger_cashflow4you_user_field` (`recordid`);

--
-- Index pour la table `vtiger_cf_883`
--
ALTER TABLE `vtiger_cf_883`
  ADD PRIMARY KEY (`cf_883id`);

--
-- Index pour la table `vtiger_cntactivityrel`
--
ALTER TABLE `vtiger_cntactivityrel`
  ADD PRIMARY KEY (`contactid`,`activityid`),
  ADD KEY `cntactivityrel_contactid_idx` (`contactid`),
  ADD KEY `cntactivityrel_activityid_idx` (`activityid`);

--
-- Index pour la table `vtiger_contactaddress`
--
ALTER TABLE `vtiger_contactaddress`
  ADD PRIMARY KEY (`contactaddressid`);

--
-- Index pour la table `vtiger_contactdetails`
--
ALTER TABLE `vtiger_contactdetails`
  ADD PRIMARY KEY (`contactid`),
  ADD KEY `contactdetails_accountid_idx` (`accountid`),
  ADD KEY `email_idx` (`email`);

--
-- Index pour la table `vtiger_contactscf`
--
ALTER TABLE `vtiger_contactscf`
  ADD PRIMARY KEY (`contactid`);

--
-- Index pour la table `vtiger_contactsubdetails`
--
ALTER TABLE `vtiger_contactsubdetails`
  ADD PRIMARY KEY (`contactsubscriptionid`);

--
-- Index pour la table `vtiger_contpotentialrel`
--
ALTER TABLE `vtiger_contpotentialrel`
  ADD PRIMARY KEY (`contactid`,`potentialid`),
  ADD KEY `contpotentialrel_potentialid_idx` (`potentialid`),
  ADD KEY `contpotentialrel_contactid_idx` (`contactid`);

--
-- Index pour la table `vtiger_contract_priority`
--
ALTER TABLE `vtiger_contract_priority`
  ADD PRIMARY KEY (`contract_priorityid`);

--
-- Index pour la table `vtiger_contract_status`
--
ALTER TABLE `vtiger_contract_status`
  ADD PRIMARY KEY (`contract_statusid`);

--
-- Index pour la table `vtiger_contract_type`
--
ALTER TABLE `vtiger_contract_type`
  ADD PRIMARY KEY (`contract_typeid`);

--
-- Index pour la table `vtiger_convertleadmapping`
--
ALTER TABLE `vtiger_convertleadmapping`
  ADD PRIMARY KEY (`cfmid`);

--
-- Index pour la table `vtiger_convertpotentialmapping`
--
ALTER TABLE `vtiger_convertpotentialmapping`
  ADD PRIMARY KEY (`cfmid`);

--
-- Index pour la table `vtiger_crmentity`
--
ALTER TABLE `vtiger_crmentity`
  ADD PRIMARY KEY (`crmid`),
  ADD KEY `crmentity_smcreatorid_idx` (`smcreatorid`),
  ADD KEY `crmentity_modifiedby_idx` (`modifiedby`),
  ADD KEY `crmentity_deleted_idx` (`deleted`),
  ADD KEY `crm_ownerid_del_setype_idx` (`smownerid`,`deleted`,`setype`),
  ADD KEY `vtiger_crmentity_labelidx` (`label`);

--
-- Index pour la table `vtiger_crmentityrel`
--
ALTER TABLE `vtiger_crmentityrel`
  ADD KEY `crmid_idx` (`crmid`),
  ADD KEY `relcrmid_idx` (`relcrmid`);

--
-- Index pour la table `vtiger_crmentity_user_field`
--
ALTER TABLE `vtiger_crmentity_user_field`
  ADD KEY `record_user_idx` (`recordid`,`userid`);

--
-- Index pour la table `vtiger_cron_task`
--
ALTER TABLE `vtiger_cron_task`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `name` (`name`),
  ADD UNIQUE KEY `handler_file` (`handler_file`);

--
-- Index pour la table `vtiger_currencies`
--
ALTER TABLE `vtiger_currencies`
  ADD PRIMARY KEY (`currencyid`);

--
-- Index pour la table `vtiger_currency`
--
ALTER TABLE `vtiger_currency`
  ADD PRIMARY KEY (`currencyid`),
  ADD UNIQUE KEY `currency_currency_idx` (`currency`);

--
-- Index pour la table `vtiger_currency_decimal_separator`
--
ALTER TABLE `vtiger_currency_decimal_separator`
  ADD PRIMARY KEY (`currency_decimal_separatorid`);

--
-- Index pour la table `vtiger_currency_grouping_pattern`
--
ALTER TABLE `vtiger_currency_grouping_pattern`
  ADD PRIMARY KEY (`currency_grouping_patternid`);

--
-- Index pour la table `vtiger_currency_grouping_separator`
--
ALTER TABLE `vtiger_currency_grouping_separator`
  ADD PRIMARY KEY (`currency_grouping_separatorid`);

--
-- Index pour la table `vtiger_currency_info`
--
ALTER TABLE `vtiger_currency_info`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_currency_symbol_placement`
--
ALTER TABLE `vtiger_currency_symbol_placement`
  ADD PRIMARY KEY (`currency_symbol_placementid`);

--
-- Index pour la table `vtiger_customaction`
--
ALTER TABLE `vtiger_customaction`
  ADD KEY `customaction_cvid_idx` (`cvid`);

--
-- Index pour la table `vtiger_customerdetails`
--
ALTER TABLE `vtiger_customerdetails`
  ADD PRIMARY KEY (`customerid`);

--
-- Index pour la table `vtiger_customerportal_fields`
--
ALTER TABLE `vtiger_customerportal_fields`
  ADD PRIMARY KEY (`tabid`);

--
-- Index pour la table `vtiger_customerportal_prefs`
--
ALTER TABLE `vtiger_customerportal_prefs`
  ADD PRIMARY KEY (`tabid`,`prefkey`);

--
-- Index pour la table `vtiger_customerportal_relatedmoduleinfo`
--
ALTER TABLE `vtiger_customerportal_relatedmoduleinfo`
  ADD PRIMARY KEY (`tabid`);

--
-- Index pour la table `vtiger_customerportal_tabs`
--
ALTER TABLE `vtiger_customerportal_tabs`
  ADD PRIMARY KEY (`tabid`);

--
-- Index pour la table `vtiger_customview`
--
ALTER TABLE `vtiger_customview`
  ADD PRIMARY KEY (`cvid`),
  ADD KEY `customview_entitytype_idx` (`entitytype`);

--
-- Index pour la table `vtiger_cv2group`
--
ALTER TABLE `vtiger_cv2group`
  ADD KEY `vtiger_cv2group_ibfk_1` (`cvid`),
  ADD KEY `vtiger_groups_ibfk_1` (`groupid`);

--
-- Index pour la table `vtiger_cv2role`
--
ALTER TABLE `vtiger_cv2role`
  ADD KEY `vtiger_cv2role_ibfk_1` (`cvid`),
  ADD KEY `vtiger_role_ibfk_1` (`roleid`);

--
-- Index pour la table `vtiger_cv2rs`
--
ALTER TABLE `vtiger_cv2rs`
  ADD KEY `vtiger_cv2role_ibfk_1` (`cvid`),
  ADD KEY `vtiger_rolesd_ibfk_1` (`rsid`);

--
-- Index pour la table `vtiger_cv2users`
--
ALTER TABLE `vtiger_cv2users`
  ADD KEY `vtiger_cv2users_ibfk_1` (`cvid`),
  ADD KEY `vtiger_users_ibfk_1` (`userid`);

--
-- Index pour la table `vtiger_cvadvfilter`
--
ALTER TABLE `vtiger_cvadvfilter`
  ADD PRIMARY KEY (`cvid`,`columnindex`),
  ADD KEY `cvadvfilter_cvid_idx` (`cvid`);

--
-- Index pour la table `vtiger_cvadvfilter_grouping`
--
ALTER TABLE `vtiger_cvadvfilter_grouping`
  ADD PRIMARY KEY (`groupid`,`cvid`);

--
-- Index pour la table `vtiger_cvcolumnlist`
--
ALTER TABLE `vtiger_cvcolumnlist`
  ADD PRIMARY KEY (`cvid`,`columnindex`),
  ADD KEY `cvcolumnlist_columnindex_idx` (`columnindex`),
  ADD KEY `cvcolumnlist_cvid_idx` (`cvid`);

--
-- Index pour la table `vtiger_cvstdfilter`
--
ALTER TABLE `vtiger_cvstdfilter`
  ADD KEY `cvstdfilter_cvid_idx` (`cvid`);

--
-- Index pour la table `vtiger_dashboard_tabs`
--
ALTER TABLE `vtiger_dashboard_tabs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tabname` (`tabname`,`userid`),
  ADD KEY `vtiger_dashboard_tabs_ibfk_1` (`userid`);

--
-- Index pour la table `vtiger_datashare_grp2grp`
--
ALTER TABLE `vtiger_datashare_grp2grp`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_grp2grp_share_groupid_idx` (`share_groupid`),
  ADD KEY `datashare_grp2grp_to_groupid_idx` (`to_groupid`);

--
-- Index pour la table `vtiger_datashare_grp2role`
--
ALTER TABLE `vtiger_datashare_grp2role`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `idx_datashare_grp2role_share_groupid` (`share_groupid`),
  ADD KEY `idx_datashare_grp2role_to_roleid` (`to_roleid`);

--
-- Index pour la table `vtiger_datashare_grp2rs`
--
ALTER TABLE `vtiger_datashare_grp2rs`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_grp2rs_share_groupid_idx` (`share_groupid`),
  ADD KEY `datashare_grp2rs_to_roleandsubid_idx` (`to_roleandsubid`);

--
-- Index pour la table `vtiger_datashare_module_rel`
--
ALTER TABLE `vtiger_datashare_module_rel`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `idx_datashare_module_rel_tabid` (`tabid`);

--
-- Index pour la table `vtiger_datashare_relatedmodules`
--
ALTER TABLE `vtiger_datashare_relatedmodules`
  ADD PRIMARY KEY (`datashare_relatedmodule_id`),
  ADD KEY `datashare_relatedmodules_tabid_idx` (`tabid`),
  ADD KEY `datashare_relatedmodules_relatedto_tabid_idx` (`relatedto_tabid`);

--
-- Index pour la table `vtiger_datashare_relatedmodule_permission`
--
ALTER TABLE `vtiger_datashare_relatedmodule_permission`
  ADD PRIMARY KEY (`shareid`,`datashare_relatedmodule_id`),
  ADD KEY `datashare_relatedmodule_permission_shareid_permissions_idx` (`shareid`,`permission`);

--
-- Index pour la table `vtiger_datashare_role2group`
--
ALTER TABLE `vtiger_datashare_role2group`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `idx_datashare_role2group_share_roleid` (`share_roleid`),
  ADD KEY `idx_datashare_role2group_to_groupid` (`to_groupid`);

--
-- Index pour la table `vtiger_datashare_role2role`
--
ALTER TABLE `vtiger_datashare_role2role`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_role2role_share_roleid_idx` (`share_roleid`),
  ADD KEY `datashare_role2role_to_roleid_idx` (`to_roleid`);

--
-- Index pour la table `vtiger_datashare_role2rs`
--
ALTER TABLE `vtiger_datashare_role2rs`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_role2s_share_roleid_idx` (`share_roleid`),
  ADD KEY `datashare_role2s_to_roleandsubid_idx` (`to_roleandsubid`);

--
-- Index pour la table `vtiger_datashare_rs2grp`
--
ALTER TABLE `vtiger_datashare_rs2grp`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_rs2grp_share_roleandsubid_idx` (`share_roleandsubid`),
  ADD KEY `datashare_rs2grp_to_groupid_idx` (`to_groupid`);

--
-- Index pour la table `vtiger_datashare_rs2role`
--
ALTER TABLE `vtiger_datashare_rs2role`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_rs2role_share_roleandsubid_idx` (`share_roleandsubid`),
  ADD KEY `datashare_rs2role_to_roleid_idx` (`to_roleid`);

--
-- Index pour la table `vtiger_datashare_rs2rs`
--
ALTER TABLE `vtiger_datashare_rs2rs`
  ADD PRIMARY KEY (`shareid`),
  ADD KEY `datashare_rs2rs_share_roleandsubid_idx` (`share_roleandsubid`),
  ADD KEY `idx_datashare_rs2rs_to_roleandsubid_idx` (`to_roleandsubid`);

--
-- Index pour la table `vtiger_date_format`
--
ALTER TABLE `vtiger_date_format`
  ADD PRIMARY KEY (`date_formatid`);

--
-- Index pour la table `vtiger_dayoftheweek`
--
ALTER TABLE `vtiger_dayoftheweek`
  ADD PRIMARY KEY (`dayoftheweekid`);

--
-- Index pour la table `vtiger_defaultactivitytype`
--
ALTER TABLE `vtiger_defaultactivitytype`
  ADD PRIMARY KEY (`defaultactivitytypeid`);

--
-- Index pour la table `vtiger_defaultcalendarview`
--
ALTER TABLE `vtiger_defaultcalendarview`
  ADD PRIMARY KEY (`defaultcalendarviewid`);

--
-- Index pour la table `vtiger_defaultcv`
--
ALTER TABLE `vtiger_defaultcv`
  ADD PRIMARY KEY (`tabid`);

--
-- Index pour la table `vtiger_defaulteventstatus`
--
ALTER TABLE `vtiger_defaulteventstatus`
  ADD PRIMARY KEY (`defaulteventstatusid`);

--
-- Index pour la table `vtiger_default_record_view`
--
ALTER TABLE `vtiger_default_record_view`
  ADD PRIMARY KEY (`default_record_viewid`);

--
-- Index pour la table `vtiger_def_org_field`
--
ALTER TABLE `vtiger_def_org_field`
  ADD PRIMARY KEY (`fieldid`),
  ADD KEY `def_org_field_tabid_fieldid_idx` (`tabid`,`fieldid`),
  ADD KEY `def_org_field_tabid_idx` (`tabid`),
  ADD KEY `def_org_field_visible_fieldid_idx` (`visible`,`fieldid`);

--
-- Index pour la table `vtiger_def_org_share`
--
ALTER TABLE `vtiger_def_org_share`
  ADD PRIMARY KEY (`ruleid`),
  ADD KEY `fk_1_vtiger_def_org_share` (`permission`);

--
-- Index pour la table `vtiger_durationhrs`
--
ALTER TABLE `vtiger_durationhrs`
  ADD PRIMARY KEY (`hrsid`);

--
-- Index pour la table `vtiger_durationmins`
--
ALTER TABLE `vtiger_durationmins`
  ADD PRIMARY KEY (`minsid`);

--
-- Index pour la table `vtiger_duration_minutes`
--
ALTER TABLE `vtiger_duration_minutes`
  ADD PRIMARY KEY (`minutesid`);

--
-- Index pour la table `vtiger_emaildetails`
--
ALTER TABLE `vtiger_emaildetails`
  ADD PRIMARY KEY (`emailid`);

--
-- Index pour la table `vtiger_emailslookup`
--
ALTER TABLE `vtiger_emailslookup`
  ADD UNIQUE KEY `emailslookup_crmid_setype_fieldname_uk` (`crmid`,`setype`,`fieldid`),
  ADD KEY `emailslookup_fieldid_setype_idx` (`fieldid`,`setype`);

--
-- Index pour la table `vtiger_emails_recipientprefs`
--
ALTER TABLE `vtiger_emails_recipientprefs`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_emailtemplates`
--
ALTER TABLE `vtiger_emailtemplates`
  ADD PRIMARY KEY (`templateid`),
  ADD KEY `emailtemplates_foldernamd_templatename_subject_idx` (`foldername`,`templatename`,`subject`);

--
-- Index pour la table `vtiger_email_track`
--
ALTER TABLE `vtiger_email_track`
  ADD UNIQUE KEY `link_tabidtype_idx` (`crmid`,`mailid`);

--
-- Index pour la table `vtiger_emakertemplates`
--
ALTER TABLE `vtiger_emakertemplates`
  ADD PRIMARY KEY (`templateid`),
  ADD KEY `emakertemplates_foldernamd_templatename_subject_idx` (`foldername`,`templatename`,`subject`),
  ADD KEY `deleted` (`deleted`),
  ADD KEY `is_listview` (`is_listview`),
  ADD KEY `is_theme` (`is_theme`);

--
-- Index pour la table `vtiger_emakertemplates_attch`
--
ALTER TABLE `vtiger_emakertemplates_attch`
  ADD PRIMARY KEY (`attid`),
  ADD KEY `attid` (`attid`);

--
-- Index pour la table `vtiger_emakertemplates_contents`
--
ALTER TABLE `vtiger_emakertemplates_contents`
  ADD PRIMARY KEY (`contentid`),
  ADD KEY `activityid` (`activityid`),
  ADD KEY `emailid` (`emailid`);

--
-- Index pour la table `vtiger_emakertemplates_default_from`
--
ALTER TABLE `vtiger_emakertemplates_default_from`
  ADD UNIQUE KEY `templateid` (`templateid`,`userid`);

--
-- Index pour la table `vtiger_emakertemplates_delay`
--
ALTER TABLE `vtiger_emakertemplates_delay`
  ADD PRIMARY KEY (`delay_active`);

--
-- Index pour la table `vtiger_emakertemplates_displayed`
--
ALTER TABLE `vtiger_emakertemplates_displayed`
  ADD PRIMARY KEY (`templateid`),
  ADD KEY `displayed` (`displayed`);

--
-- Index pour la table `vtiger_emakertemplates_documents`
--
ALTER TABLE `vtiger_emakertemplates_documents`
  ADD UNIQUE KEY `templateid_2` (`templateid`,`documentid`),
  ADD KEY `templateid` (`templateid`),
  ADD KEY `documentid` (`documentid`);

--
-- Index pour la table `vtiger_emakertemplates_drips`
--
ALTER TABLE `vtiger_emakertemplates_drips`
  ADD PRIMARY KEY (`dripid`);

--
-- Index pour la table `vtiger_emakertemplates_drip_groups`
--
ALTER TABLE `vtiger_emakertemplates_drip_groups`
  ADD PRIMARY KEY (`drip_group_id`);

--
-- Index pour la table `vtiger_emakertemplates_drip_groups_seq`
--
ALTER TABLE `vtiger_emakertemplates_drip_groups_seq`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_emakertemplates_drip_tpls`
--
ALTER TABLE `vtiger_emakertemplates_drip_tpls`
  ADD PRIMARY KEY (`driptplid`),
  ADD KEY `templateid` (`templateid`),
  ADD KEY `dripid` (`dripid`);

--
-- Index pour la table `vtiger_emakertemplates_emails`
--
ALTER TABLE `vtiger_emakertemplates_emails`
  ADD PRIMARY KEY (`emailid`),
  ADD KEY `esentid` (`esentid`),
  ADD KEY `pid` (`pid`),
  ADD KEY `status` (`status`),
  ADD KEY `deleted` (`deleted`),
  ADD KEY `parent_id` (`parent_id`),
  ADD KEY `esentid_2` (`esentid`,`status`,`deleted`);

--
-- Index pour la table `vtiger_emakertemplates_ignorepicklistvalues`
--
ALTER TABLE `vtiger_emakertemplates_ignorepicklistvalues`
  ADD PRIMARY KEY (`value`);

--
-- Index pour la table `vtiger_emakertemplates_images`
--
ALTER TABLE `vtiger_emakertemplates_images`
  ADD PRIMARY KEY (`crmid`,`productid`,`sequence`);

--
-- Index pour la table `vtiger_emakertemplates_label_keys`
--
ALTER TABLE `vtiger_emakertemplates_label_keys`
  ADD PRIMARY KEY (`label_id`),
  ADD UNIQUE KEY `label_key` (`label_key`);

--
-- Index pour la table `vtiger_emakertemplates_label_vals`
--
ALTER TABLE `vtiger_emakertemplates_label_vals`
  ADD PRIMARY KEY (`label_id`,`lang_id`);

--
-- Index pour la table `vtiger_emakertemplates_license`
--
ALTER TABLE `vtiger_emakertemplates_license`
  ADD UNIQUE KEY `version_type` (`version_type`);

--
-- Index pour la table `vtiger_emakertemplates_me`
--
ALTER TABLE `vtiger_emakertemplates_me`
  ADD PRIMARY KEY (`meid`),
  ADD KEY `templateid` (`templateid`),
  ADD KEY `listid` (`listid`),
  ADD KEY `start_of` (`start_of`),
  ADD KEY `status` (`status`),
  ADD KEY `userid` (`userid`),
  ADD KEY `deleted` (`deleted`),
  ADD KEY `esentid` (`esentid`),
  ADD KEY `unsubscribes` (`unsubscribes`),
  ADD KEY `total_entries` (`total_entries`),
  ADD KEY `max_limit` (`max_limit`);

--
-- Index pour la table `vtiger_emakertemplates_picklists`
--
ALTER TABLE `vtiger_emakertemplates_picklists`
  ADD KEY `tabid` (`tabid`),
  ADD KEY `count` (`count`);

--
-- Index pour la table `vtiger_emakertemplates_productbloc_tpl`
--
ALTER TABLE `vtiger_emakertemplates_productbloc_tpl`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_emakertemplates_profilespermissions`
--
ALTER TABLE `vtiger_emakertemplates_profilespermissions`
  ADD PRIMARY KEY (`profileid`,`operation`);

--
-- Index pour la table `vtiger_emakertemplates_relblockcol`
--
ALTER TABLE `vtiger_emakertemplates_relblockcol`
  ADD PRIMARY KEY (`relblockid`,`colid`);

--
-- Index pour la table `vtiger_emakertemplates_relblockcriteria`
--
ALTER TABLE `vtiger_emakertemplates_relblockcriteria`
  ADD PRIMARY KEY (`relblockid`,`colid`);

--
-- Index pour la table `vtiger_emakertemplates_relblockcriteria_g`
--
ALTER TABLE `vtiger_emakertemplates_relblockcriteria_g`
  ADD PRIMARY KEY (`groupid`,`relblockid`);

--
-- Index pour la table `vtiger_emakertemplates_relblockdatefilter`
--
ALTER TABLE `vtiger_emakertemplates_relblockdatefilter`
  ADD PRIMARY KEY (`datefilterid`);

--
-- Index pour la table `vtiger_emakertemplates_relblocks`
--
ALTER TABLE `vtiger_emakertemplates_relblocks`
  ADD PRIMARY KEY (`relblockid`);

--
-- Index pour la table `vtiger_emakertemplates_relblocksortcol`
--
ALTER TABLE `vtiger_emakertemplates_relblocksortcol`
  ADD PRIMARY KEY (`sortcolid`,`relblockid`),
  ADD KEY `fk_1_vtiger_emakertemplates_relblocksortcol` (`relblockid`);

--
-- Index pour la table `vtiger_emakertemplates_sent`
--
ALTER TABLE `vtiger_emakertemplates_sent`
  ADD PRIMARY KEY (`esentid`),
  ADD KEY `userid` (`userid`),
  ADD KEY `related_to` (`related_to`);

--
-- Index pour la table `vtiger_emakertemplates_sharing`
--
ALTER TABLE `vtiger_emakertemplates_sharing`
  ADD PRIMARY KEY (`templateid`,`shareid`,`setype`);

--
-- Index pour la table `vtiger_emakertemplates_sharing_drip`
--
ALTER TABLE `vtiger_emakertemplates_sharing_drip`
  ADD PRIMARY KEY (`dripid`,`shareid`,`setype`);

--
-- Index pour la table `vtiger_emakertemplates_userstatus`
--
ALTER TABLE `vtiger_emakertemplates_userstatus`
  ADD PRIMARY KEY (`templateid`,`userid`);

--
-- Index pour la table `vtiger_emakertemplates_version`
--
ALTER TABLE `vtiger_emakertemplates_version`
  ADD UNIQUE KEY `version` (`version`);

--
-- Index pour la table `vtiger_entityname`
--
ALTER TABLE `vtiger_entityname`
  ADD PRIMARY KEY (`tabid`),
  ADD KEY `entityname_tabid_idx` (`tabid`);

--
-- Index pour la table `vtiger_eventhandlers`
--
ALTER TABLE `vtiger_eventhandlers`
  ADD PRIMARY KEY (`eventhandler_id`,`event_name`,`handler_class`),
  ADD UNIQUE KEY `eventhandler_idx` (`eventhandler_id`);

--
-- Index pour la table `vtiger_eventhandler_module`
--
ALTER TABLE `vtiger_eventhandler_module`
  ADD PRIMARY KEY (`eventhandler_module_id`);

--
-- Index pour la table `vtiger_eventstatus`
--
ALTER TABLE `vtiger_eventstatus`
  ADD PRIMARY KEY (`eventstatusid`);

--
-- Index pour la table `vtiger_expectedresponse`
--
ALTER TABLE `vtiger_expectedresponse`
  ADD PRIMARY KEY (`expectedresponseid`),
  ADD UNIQUE KEY `CampaignExpRes_UK01` (`expectedresponse`);

--
-- Index pour la table `vtiger_extnstore_users`
--
ALTER TABLE `vtiger_extnstore_users`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_faq`
--
ALTER TABLE `vtiger_faq`
  ADD PRIMARY KEY (`id`),
  ADD KEY `faq_id_idx` (`id`);

--
-- Index pour la table `vtiger_faqcategories`
--
ALTER TABLE `vtiger_faqcategories`
  ADD PRIMARY KEY (`faqcategories_id`);

--
-- Index pour la table `vtiger_faqcf`
--
ALTER TABLE `vtiger_faqcf`
  ADD PRIMARY KEY (`faqid`);

--
-- Index pour la table `vtiger_faqcomments`
--
ALTER TABLE `vtiger_faqcomments`
  ADD PRIMARY KEY (`commentid`),
  ADD KEY `faqcomments_faqid_idx` (`faqid`);

--
-- Index pour la table `vtiger_faqstatus`
--
ALTER TABLE `vtiger_faqstatus`
  ADD PRIMARY KEY (`faqstatus_id`);

--
-- Index pour la table `vtiger_field`
--
ALTER TABLE `vtiger_field`
  ADD PRIMARY KEY (`fieldid`),
  ADD KEY `field_tabid_idx` (`tabid`),
  ADD KEY `field_fieldname_idx` (`fieldname`),
  ADD KEY `field_block_idx` (`block`),
  ADD KEY `field_displaytype_idx` (`displaytype`);

--
-- Index pour la table `vtiger_freetagged_objects`
--
ALTER TABLE `vtiger_freetagged_objects`
  ADD PRIMARY KEY (`tag_id`,`tagger_id`,`object_id`),
  ADD KEY `freetagged_objects_tag_id_tagger_id_object_id_idx` (`tag_id`,`tagger_id`,`object_id`);

--
-- Index pour la table `vtiger_freetags`
--
ALTER TABLE `vtiger_freetags`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_glacct`
--
ALTER TABLE `vtiger_glacct`
  ADD PRIMARY KEY (`glacctid`),
  ADD UNIQUE KEY `glacct_glacct_idx` (`glacct`);

--
-- Index pour la table `vtiger_group2grouprel`
--
ALTER TABLE `vtiger_group2grouprel`
  ADD PRIMARY KEY (`groupid`,`containsgroupid`);

--
-- Index pour la table `vtiger_group2role`
--
ALTER TABLE `vtiger_group2role`
  ADD PRIMARY KEY (`groupid`,`roleid`),
  ADD KEY `fk_2_vtiger_group2role` (`roleid`);

--
-- Index pour la table `vtiger_group2rs`
--
ALTER TABLE `vtiger_group2rs`
  ADD PRIMARY KEY (`groupid`,`roleandsubid`),
  ADD KEY `fk_2_vtiger_group2rs` (`roleandsubid`);

--
-- Index pour la table `vtiger_groups`
--
ALTER TABLE `vtiger_groups`
  ADD PRIMARY KEY (`groupid`),
  ADD UNIQUE KEY `groups_groupname_idx` (`groupname`);

--
-- Index pour la table `vtiger_homedashbd`
--
ALTER TABLE `vtiger_homedashbd`
  ADD PRIMARY KEY (`stuffid`),
  ADD KEY `stuff_stuffid_idx` (`stuffid`);

--
-- Index pour la table `vtiger_homedefault`
--
ALTER TABLE `vtiger_homedefault`
  ADD PRIMARY KEY (`stuffid`),
  ADD KEY `stuff_stuffid_idx` (`stuffid`);

--
-- Index pour la table `vtiger_homemodule`
--
ALTER TABLE `vtiger_homemodule`
  ADD PRIMARY KEY (`stuffid`),
  ADD KEY `stuff_stuffid_idx` (`stuffid`);

--
-- Index pour la table `vtiger_homemoduleflds`
--
ALTER TABLE `vtiger_homemoduleflds`
  ADD KEY `stuff_stuffid_idx` (`stuffid`);

--
-- Index pour la table `vtiger_homereportchart`
--
ALTER TABLE `vtiger_homereportchart`
  ADD PRIMARY KEY (`stuffid`);

--
-- Index pour la table `vtiger_homerss`
--
ALTER TABLE `vtiger_homerss`
  ADD PRIMARY KEY (`stuffid`),
  ADD KEY `stuff_stuffid_idx` (`stuffid`);

--
-- Index pour la table `vtiger_homestuff`
--
ALTER TABLE `vtiger_homestuff`
  ADD PRIMARY KEY (`stuffid`),
  ADD KEY `stuff_stuffid_idx` (`stuffid`),
  ADD KEY `fk_1_vtiger_homestuff` (`userid`);

--
-- Index pour la table `vtiger_home_layout`
--
ALTER TABLE `vtiger_home_layout`
  ADD PRIMARY KEY (`userid`);

--
-- Index pour la table `vtiger_hour_format`
--
ALTER TABLE `vtiger_hour_format`
  ADD PRIMARY KEY (`hour_formatid`);

--
-- Index pour la table `vtiger_import_1`
--
ALTER TABLE `vtiger_import_1`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_import_locks`
--
ALTER TABLE `vtiger_import_locks`
  ADD PRIMARY KEY (`vtiger_import_lock_id`);

--
-- Index pour la table `vtiger_import_maps`
--
ALTER TABLE `vtiger_import_maps`
  ADD PRIMARY KEY (`id`),
  ADD KEY `import_maps_assigned_user_id_module_name_deleted_idx` (`assigned_user_id`,`module`,`name`,`deleted`);

--
-- Index pour la table `vtiger_import_queue`
--
ALTER TABLE `vtiger_import_queue`
  ADD PRIMARY KEY (`importid`);

--
-- Index pour la table `vtiger_industry`
--
ALTER TABLE `vtiger_industry`
  ADD PRIMARY KEY (`industryid`),
  ADD UNIQUE KEY `industry_industry_idx` (`industry`);

--
-- Index pour la table `vtiger_inventorycharges`
--
ALTER TABLE `vtiger_inventorycharges`
  ADD PRIMARY KEY (`chargeid`);

--
-- Index pour la table `vtiger_inventorynotification`
--
ALTER TABLE `vtiger_inventorynotification`
  ADD PRIMARY KEY (`notificationid`);

--
-- Index pour la table `vtiger_inventoryproductrel`
--
ALTER TABLE `vtiger_inventoryproductrel`
  ADD PRIMARY KEY (`lineitem_id`),
  ADD KEY `inventoryproductrel_id_idx` (`id`),
  ADD KEY `inventoryproductrel_productid_idx` (`productid`);

--
-- Index pour la table `vtiger_inventoryshippingrel`
--
ALTER TABLE `vtiger_inventoryshippingrel`
  ADD KEY `inventoryishippingrel_id_idx` (`id`);

--
-- Index pour la table `vtiger_inventorytaxinfo`
--
ALTER TABLE `vtiger_inventorytaxinfo`
  ADD PRIMARY KEY (`taxid`),
  ADD KEY `inventorytaxinfo_taxname_idx` (`taxname`);

--
-- Index pour la table `vtiger_inventory_tandc`
--
ALTER TABLE `vtiger_inventory_tandc`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_invitees`
--
ALTER TABLE `vtiger_invitees`
  ADD PRIMARY KEY (`activityid`,`inviteeid`);

--
-- Index pour la table `vtiger_invoice`
--
ALTER TABLE `vtiger_invoice`
  ADD PRIMARY KEY (`invoiceid`),
  ADD KEY `invoice_purchaseorderid_idx` (`invoiceid`),
  ADD KEY `fk_2_vtiger_invoice` (`salesorderid`);

--
-- Index pour la table `vtiger_invoicebillads`
--
ALTER TABLE `vtiger_invoicebillads`
  ADD PRIMARY KEY (`invoicebilladdressid`);

--
-- Index pour la table `vtiger_invoicecf`
--
ALTER TABLE `vtiger_invoicecf`
  ADD PRIMARY KEY (`invoiceid`);

--
-- Index pour la table `vtiger_invoiceshipads`
--
ALTER TABLE `vtiger_invoiceshipads`
  ADD PRIMARY KEY (`invoiceshipaddressid`);

--
-- Index pour la table `vtiger_invoicestatus`
--
ALTER TABLE `vtiger_invoicestatus`
  ADD PRIMARY KEY (`invoicestatusid`),
  ADD UNIQUE KEY `invoicestatus_invoiestatus_idx` (`invoicestatus`);

--
-- Index pour la table `vtiger_invoicestatushistory`
--
ALTER TABLE `vtiger_invoicestatushistory`
  ADD PRIMARY KEY (`historyid`),
  ADD KEY `invoicestatushistory_invoiceid_idx` (`invoiceid`);

--
-- Index pour la table `vtiger_invoice_recurring_info`
--
ALTER TABLE `vtiger_invoice_recurring_info`
  ADD PRIMARY KEY (`salesorderid`);

--
-- Index pour la table `vtiger_its4youstyles_user_field`
--
ALTER TABLE `vtiger_its4youstyles_user_field`
  ADD KEY `recordid` (`recordid`);

--
-- Index pour la table `vtiger_language`
--
ALTER TABLE `vtiger_language`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_leadaddress`
--
ALTER TABLE `vtiger_leadaddress`
  ADD PRIMARY KEY (`leadaddressid`);

--
-- Index pour la table `vtiger_leaddetails`
--
ALTER TABLE `vtiger_leaddetails`
  ADD PRIMARY KEY (`leadid`),
  ADD KEY `leaddetails_converted_leadstatus_idx` (`converted`,`leadstatus`),
  ADD KEY `email_idx` (`email`);

--
-- Index pour la table `vtiger_leadscf`
--
ALTER TABLE `vtiger_leadscf`
  ADD PRIMARY KEY (`leadid`);

--
-- Index pour la table `vtiger_leadsource`
--
ALTER TABLE `vtiger_leadsource`
  ADD PRIMARY KEY (`leadsourceid`);

--
-- Index pour la table `vtiger_leadstage`
--
ALTER TABLE `vtiger_leadstage`
  ADD PRIMARY KEY (`leadstageid`),
  ADD UNIQUE KEY `leadstage_stage_idx` (`stage`);

--
-- Index pour la table `vtiger_leadstatus`
--
ALTER TABLE `vtiger_leadstatus`
  ADD PRIMARY KEY (`leadstatusid`);

--
-- Index pour la table `vtiger_leadsubdetails`
--
ALTER TABLE `vtiger_leadsubdetails`
  ADD PRIMARY KEY (`leadsubscriptionid`);

--
-- Index pour la table `vtiger_lead_view`
--
ALTER TABLE `vtiger_lead_view`
  ADD PRIMARY KEY (`lead_viewid`);

--
-- Index pour la table `vtiger_links`
--
ALTER TABLE `vtiger_links`
  ADD PRIMARY KEY (`linkid`),
  ADD KEY `link_tabidtype_idx` (`tabid`,`linktype`);

--
-- Index pour la table `vtiger_loginhistory`
--
ALTER TABLE `vtiger_loginhistory`
  ADD PRIMARY KEY (`login_id`);

--
-- Index pour la table `vtiger_mailer_queue`
--
ALTER TABLE `vtiger_mailer_queue`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_mailmanager_mailattachments`
--
ALTER TABLE `vtiger_mailmanager_mailattachments`
  ADD KEY `userid_muid_idx` (`userid`,`muid`);

--
-- Index pour la table `vtiger_mailmanager_mailrecord`
--
ALTER TABLE `vtiger_mailmanager_mailrecord`
  ADD KEY `userid_lastsavedtime_idx` (`userid`,`lastsavedtime`),
  ADD KEY `userid_muid_idx` (`userid`,`muid`);

--
-- Index pour la table `vtiger_mailscanner`
--
ALTER TABLE `vtiger_mailscanner`
  ADD PRIMARY KEY (`scannerid`);

--
-- Index pour la table `vtiger_mailscanner_actions`
--
ALTER TABLE `vtiger_mailscanner_actions`
  ADD PRIMARY KEY (`actionid`);

--
-- Index pour la table `vtiger_mailscanner_folders`
--
ALTER TABLE `vtiger_mailscanner_folders`
  ADD PRIMARY KEY (`folderid`),
  ADD KEY `folderid_idx` (`folderid`);

--
-- Index pour la table `vtiger_mailscanner_ids`
--
ALTER TABLE `vtiger_mailscanner_ids`
  ADD KEY `scanner_message_ids_idx` (`scannerid`,`messageid`(255)),
  ADD KEY `messageids_crmid_idx` (`crmid`);

--
-- Index pour la table `vtiger_mailscanner_rules`
--
ALTER TABLE `vtiger_mailscanner_rules`
  ADD PRIMARY KEY (`ruleid`);

--
-- Index pour la table `vtiger_mail_accounts`
--
ALTER TABLE `vtiger_mail_accounts`
  ADD PRIMARY KEY (`account_id`);

--
-- Index pour la table `vtiger_manufacturer`
--
ALTER TABLE `vtiger_manufacturer`
  ADD PRIMARY KEY (`manufacturerid`),
  ADD UNIQUE KEY `manufacturer_manufacturer_idx` (`manufacturer`);

--
-- Index pour la table `vtiger_mobile_alerts`
--
ALTER TABLE `vtiger_mobile_alerts`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_modcomments`
--
ALTER TABLE `vtiger_modcomments`
  ADD KEY `relatedto_idx` (`related_to`),
  ADD KEY `fk_crmid_vtiger_modcomments` (`modcommentsid`);

--
-- Index pour la table `vtiger_modcommentscf`
--
ALTER TABLE `vtiger_modcommentscf`
  ADD PRIMARY KEY (`modcommentsid`);

--
-- Index pour la table `vtiger_modentity_num`
--
ALTER TABLE `vtiger_modentity_num`
  ADD PRIMARY KEY (`num_id`),
  ADD UNIQUE KEY `num_idx` (`num_id`),
  ADD KEY `semodule_active_idx` (`semodule`,`active`);

--
-- Index pour la table `vtiger_modtracker_basic`
--
ALTER TABLE `vtiger_modtracker_basic`
  ADD PRIMARY KEY (`id`),
  ADD KEY `crmidx` (`crmid`),
  ADD KEY `idx` (`id`);

--
-- Index pour la table `vtiger_modtracker_detail`
--
ALTER TABLE `vtiger_modtracker_detail`
  ADD KEY `idx` (`id`);

--
-- Index pour la table `vtiger_modtracker_relations`
--
ALTER TABLE `vtiger_modtracker_relations`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_modtracker_tabs`
--
ALTER TABLE `vtiger_modtracker_tabs`
  ADD PRIMARY KEY (`tabid`);

--
-- Index pour la table `vtiger_module_dashboard_widgets`
--
ALTER TABLE `vtiger_module_dashboard_widgets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `dashboardtabid` (`dashboardtabid`);

--
-- Index pour la table `vtiger_notes`
--
ALTER TABLE `vtiger_notes`
  ADD PRIMARY KEY (`notesid`),
  ADD KEY `notes_title_idx` (`title`),
  ADD KEY `notes_notesid_idx` (`notesid`);

--
-- Index pour la table `vtiger_notescf`
--
ALTER TABLE `vtiger_notescf`
  ADD PRIMARY KEY (`notesid`);

--
-- Index pour la table `vtiger_notificationscheduler`
--
ALTER TABLE `vtiger_notificationscheduler`
  ADD PRIMARY KEY (`schedulednotificationid`),
  ADD UNIQUE KEY `notificationscheduler_schedulednotificationname_idx` (`schedulednotificationname`);

--
-- Index pour la table `vtiger_no_of_currency_decimals`
--
ALTER TABLE `vtiger_no_of_currency_decimals`
  ADD PRIMARY KEY (`no_of_currency_decimalsid`);

--
-- Index pour la table `vtiger_opportunitystage`
--
ALTER TABLE `vtiger_opportunitystage`
  ADD PRIMARY KEY (`potstageid`),
  ADD UNIQUE KEY `opportunitystage_stage_idx` (`stage`);

--
-- Index pour la table `vtiger_opportunity_type`
--
ALTER TABLE `vtiger_opportunity_type`
  ADD PRIMARY KEY (`opptypeid`),
  ADD UNIQUE KEY `opportunity_type_opportunity_type_idx` (`opportunity_type`);

--
-- Index pour la table `vtiger_organizationdetails`
--
ALTER TABLE `vtiger_organizationdetails`
  ADD PRIMARY KEY (`organization_id`);

--
-- Index pour la table `vtiger_org_share_action2tab`
--
ALTER TABLE `vtiger_org_share_action2tab`
  ADD PRIMARY KEY (`share_action_id`,`tabid`),
  ADD KEY `fk_2_vtiger_org_share_action2tab` (`tabid`);

--
-- Index pour la table `vtiger_org_share_action_mapping`
--
ALTER TABLE `vtiger_org_share_action_mapping`
  ADD PRIMARY KEY (`share_action_id`);

--
-- Index pour la table `vtiger_othereventduration`
--
ALTER TABLE `vtiger_othereventduration`
  ADD PRIMARY KEY (`othereventdurationid`);

--
-- Index pour la table `vtiger_parenttab`
--
ALTER TABLE `vtiger_parenttab`
  ADD PRIMARY KEY (`parenttabid`),
  ADD KEY `parenttab_parenttabid_parenttabl_label_visible_idx` (`parenttabid`,`parenttab_label`,`visible`);

--
-- Index pour la table `vtiger_parenttabrel`
--
ALTER TABLE `vtiger_parenttabrel`
  ADD KEY `parenttabrel_tabid_parenttabid_idx` (`tabid`,`parenttabid`),
  ADD KEY `fk_2_vtiger_parenttabrel` (`parenttabid`);

--
-- Index pour la table `vtiger_pbxmanager`
--
ALTER TABLE `vtiger_pbxmanager`
  ADD PRIMARY KEY (`pbxmanagerid`),
  ADD KEY `index_sourceuuid` (`sourceuuid`),
  ADD KEY `index_pbxmanager_id` (`pbxmanagerid`);

--
-- Index pour la table `vtiger_pbxmanagercf`
--
ALTER TABLE `vtiger_pbxmanagercf`
  ADD PRIMARY KEY (`pbxmanagerid`);

--
-- Index pour la table `vtiger_pbxmanager_gateway`
--
ALTER TABLE `vtiger_pbxmanager_gateway`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_pbxmanager_phonelookup`
--
ALTER TABLE `vtiger_pbxmanager_phonelookup`
  ADD UNIQUE KEY `unique_key` (`crmid`,`setype`,`fieldname`),
  ADD KEY `index_phone_number` (`fnumber`,`rnumber`);

--
-- Index pour la table `vtiger_pdfmaker`
--
ALTER TABLE `vtiger_pdfmaker`
  ADD PRIMARY KEY (`templateid`);

--
-- Index pour la table `vtiger_pdfmaker_breakline`
--
ALTER TABLE `vtiger_pdfmaker_breakline`
  ADD PRIMARY KEY (`crmid`,`productid`,`sequence`);

--
-- Index pour la table `vtiger_pdfmaker_displayed`
--
ALTER TABLE `vtiger_pdfmaker_displayed`
  ADD PRIMARY KEY (`templateid`),
  ADD KEY `displayed` (`displayed`);

--
-- Index pour la table `vtiger_pdfmaker_ignorepicklistvalues`
--
ALTER TABLE `vtiger_pdfmaker_ignorepicklistvalues`
  ADD PRIMARY KEY (`value`);

--
-- Index pour la table `vtiger_pdfmaker_images`
--
ALTER TABLE `vtiger_pdfmaker_images`
  ADD PRIMARY KEY (`crmid`,`productid`,`sequence`);

--
-- Index pour la table `vtiger_pdfmaker_label_keys`
--
ALTER TABLE `vtiger_pdfmaker_label_keys`
  ADD PRIMARY KEY (`label_id`),
  ADD UNIQUE KEY `label_key` (`label_key`);

--
-- Index pour la table `vtiger_pdfmaker_label_vals`
--
ALTER TABLE `vtiger_pdfmaker_label_vals`
  ADD PRIMARY KEY (`label_id`,`lang_id`);

--
-- Index pour la table `vtiger_pdfmaker_license`
--
ALTER TABLE `vtiger_pdfmaker_license`
  ADD UNIQUE KEY `version_type` (`version_type`);

--
-- Index pour la table `vtiger_pdfmaker_productbloc_tpl`
--
ALTER TABLE `vtiger_pdfmaker_productbloc_tpl`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_pdfmaker_profilespermissions`
--
ALTER TABLE `vtiger_pdfmaker_profilespermissions`
  ADD PRIMARY KEY (`profileid`,`operation`);

--
-- Index pour la table `vtiger_pdfmaker_relblockcol`
--
ALTER TABLE `vtiger_pdfmaker_relblockcol`
  ADD PRIMARY KEY (`relblockid`,`colid`);

--
-- Index pour la table `vtiger_pdfmaker_relblockcriteria`
--
ALTER TABLE `vtiger_pdfmaker_relblockcriteria`
  ADD PRIMARY KEY (`relblockid`,`colid`);

--
-- Index pour la table `vtiger_pdfmaker_relblockcriteria_g`
--
ALTER TABLE `vtiger_pdfmaker_relblockcriteria_g`
  ADD PRIMARY KEY (`groupid`,`relblockid`);

--
-- Index pour la table `vtiger_pdfmaker_relblockdatefilter`
--
ALTER TABLE `vtiger_pdfmaker_relblockdatefilter`
  ADD PRIMARY KEY (`datefilterid`);

--
-- Index pour la table `vtiger_pdfmaker_relblocks`
--
ALTER TABLE `vtiger_pdfmaker_relblocks`
  ADD PRIMARY KEY (`relblockid`);

--
-- Index pour la table `vtiger_pdfmaker_relblocksortcol`
--
ALTER TABLE `vtiger_pdfmaker_relblocksortcol`
  ADD PRIMARY KEY (`sortcolid`,`relblockid`),
  ADD KEY `fk_1_vtiger_pdfmaker_relblocksortcol` (`relblockid`);

--
-- Index pour la table `vtiger_pdfmaker_releases`
--
ALTER TABLE `vtiger_pdfmaker_releases`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_pdfmaker_settings`
--
ALTER TABLE `vtiger_pdfmaker_settings`
  ADD PRIMARY KEY (`templateid`);

--
-- Index pour la table `vtiger_pdfmaker_sharing`
--
ALTER TABLE `vtiger_pdfmaker_sharing`
  ADD PRIMARY KEY (`templateid`,`shareid`,`setype`);

--
-- Index pour la table `vtiger_pdfmaker_usersettings`
--
ALTER TABLE `vtiger_pdfmaker_usersettings`
  ADD PRIMARY KEY (`userid`);

--
-- Index pour la table `vtiger_pdfmaker_userstatus`
--
ALTER TABLE `vtiger_pdfmaker_userstatus`
  ADD PRIMARY KEY (`templateid`,`userid`);

--
-- Index pour la table `vtiger_pdfmaker_version`
--
ALTER TABLE `vtiger_pdfmaker_version`
  ADD UNIQUE KEY `version` (`version`);

--
-- Index pour la table `vtiger_picklist`
--
ALTER TABLE `vtiger_picklist`
  ADD PRIMARY KEY (`picklistid`),
  ADD UNIQUE KEY `picklist_name_idx` (`name`);

--
-- Index pour la table `vtiger_picklist_dependency`
--
ALTER TABLE `vtiger_picklist_dependency`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_picklist_transitions`
--
ALTER TABLE `vtiger_picklist_transitions`
  ADD PRIMARY KEY (`fieldname`);

--
-- Index pour la table `vtiger_pobillads`
--
ALTER TABLE `vtiger_pobillads`
  ADD PRIMARY KEY (`pobilladdressid`);

--
-- Index pour la table `vtiger_portal`
--
ALTER TABLE `vtiger_portal`
  ADD PRIMARY KEY (`portalid`),
  ADD KEY `portal_portalname_idx` (`portalname`);

--
-- Index pour la table `vtiger_portalinfo`
--
ALTER TABLE `vtiger_portalinfo`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_poshipads`
--
ALTER TABLE `vtiger_poshipads`
  ADD PRIMARY KEY (`poshipaddressid`);

--
-- Index pour la table `vtiger_postatus`
--
ALTER TABLE `vtiger_postatus`
  ADD PRIMARY KEY (`postatusid`),
  ADD UNIQUE KEY `postatus_postatus_idx` (`postatus`);

--
-- Index pour la table `vtiger_postatushistory`
--
ALTER TABLE `vtiger_postatushistory`
  ADD PRIMARY KEY (`historyid`),
  ADD KEY `postatushistory_purchaseorderid_idx` (`purchaseorderid`);

--
-- Index pour la table `vtiger_potential`
--
ALTER TABLE `vtiger_potential`
  ADD PRIMARY KEY (`potentialid`),
  ADD KEY `potential_relatedto_idx` (`related_to`),
  ADD KEY `potentail_sales_stage_idx` (`sales_stage`),
  ADD KEY `potentail_sales_stage_amount_idx` (`amount`,`sales_stage`);

--
-- Index pour la table `vtiger_potentialscf`
--
ALTER TABLE `vtiger_potentialscf`
  ADD PRIMARY KEY (`potentialid`);

--
-- Index pour la table `vtiger_potstagehistory`
--
ALTER TABLE `vtiger_potstagehistory`
  ADD PRIMARY KEY (`historyid`),
  ADD KEY `potstagehistory_potentialid_idx` (`potentialid`);

--
-- Index pour la table `vtiger_pricebook`
--
ALTER TABLE `vtiger_pricebook`
  ADD PRIMARY KEY (`pricebookid`);

--
-- Index pour la table `vtiger_pricebookcf`
--
ALTER TABLE `vtiger_pricebookcf`
  ADD PRIMARY KEY (`pricebookid`);

--
-- Index pour la table `vtiger_pricebookproductrel`
--
ALTER TABLE `vtiger_pricebookproductrel`
  ADD PRIMARY KEY (`pricebookid`,`productid`),
  ADD KEY `pricebookproductrel_pricebookid_idx` (`pricebookid`),
  ADD KEY `pricebookproductrel_productid_idx` (`productid`);

--
-- Index pour la table `vtiger_priority`
--
ALTER TABLE `vtiger_priority`
  ADD PRIMARY KEY (`priorityid`),
  ADD UNIQUE KEY `priority_priority_idx` (`priority`);

--
-- Index pour la table `vtiger_productcategory`
--
ALTER TABLE `vtiger_productcategory`
  ADD PRIMARY KEY (`productcategoryid`),
  ADD UNIQUE KEY `productcategory_productcategory_idx` (`productcategory`);

--
-- Index pour la table `vtiger_productcf`
--
ALTER TABLE `vtiger_productcf`
  ADD PRIMARY KEY (`productid`);

--
-- Index pour la table `vtiger_products`
--
ALTER TABLE `vtiger_products`
  ADD PRIMARY KEY (`productid`);

--
-- Index pour la table `vtiger_producttaxrel`
--
ALTER TABLE `vtiger_producttaxrel`
  ADD KEY `producttaxrel_productid_idx` (`productid`),
  ADD KEY `producttaxrel_taxid_idx` (`taxid`);

--
-- Index pour la table `vtiger_profile`
--
ALTER TABLE `vtiger_profile`
  ADD PRIMARY KEY (`profileid`);

--
-- Index pour la table `vtiger_profile2field`
--
ALTER TABLE `vtiger_profile2field`
  ADD PRIMARY KEY (`profileid`,`fieldid`),
  ADD KEY `profile2field_profileid_tabid_fieldname_idx` (`profileid`,`tabid`),
  ADD KEY `profile2field_tabid_profileid_idx` (`tabid`,`profileid`),
  ADD KEY `profile2field_visible_profileid_idx` (`visible`,`profileid`);

--
-- Index pour la table `vtiger_profile2globalpermissions`
--
ALTER TABLE `vtiger_profile2globalpermissions`
  ADD PRIMARY KEY (`profileid`,`globalactionid`),
  ADD KEY `idx_profile2globalpermissions` (`profileid`,`globalactionid`);

--
-- Index pour la table `vtiger_profile2standardpermissions`
--
ALTER TABLE `vtiger_profile2standardpermissions`
  ADD PRIMARY KEY (`profileid`,`tabid`,`operation`),
  ADD KEY `profile2standardpermissions_profileid_tabid_operation_idx` (`profileid`,`tabid`,`operation`);

--
-- Index pour la table `vtiger_profile2tab`
--
ALTER TABLE `vtiger_profile2tab`
  ADD KEY `profile2tab_profileid_tabid_idx` (`profileid`,`tabid`);

--
-- Index pour la table `vtiger_profile2utility`
--
ALTER TABLE `vtiger_profile2utility`
  ADD PRIMARY KEY (`profileid`,`tabid`,`activityid`),
  ADD KEY `profile2utility_profileid_tabid_activityid_idx` (`profileid`,`tabid`,`activityid`);

--
-- Index pour la table `vtiger_progress`
--
ALTER TABLE `vtiger_progress`
  ADD PRIMARY KEY (`progressid`);

--
-- Index pour la table `vtiger_project`
--
ALTER TABLE `vtiger_project`
  ADD PRIMARY KEY (`projectid`);

--
-- Index pour la table `vtiger_projectcf`
--
ALTER TABLE `vtiger_projectcf`
  ADD PRIMARY KEY (`projectid`);

--
-- Index pour la table `vtiger_projectmilestone`
--
ALTER TABLE `vtiger_projectmilestone`
  ADD PRIMARY KEY (`projectmilestoneid`);

--
-- Index pour la table `vtiger_projectmilestonecf`
--
ALTER TABLE `vtiger_projectmilestonecf`
  ADD PRIMARY KEY (`projectmilestoneid`);

--
-- Index pour la table `vtiger_projectmilestonetype`
--
ALTER TABLE `vtiger_projectmilestonetype`
  ADD PRIMARY KEY (`projectmilestonetypeid`);

--
-- Index pour la table `vtiger_projectpriority`
--
ALTER TABLE `vtiger_projectpriority`
  ADD PRIMARY KEY (`projectpriorityid`);

--
-- Index pour la table `vtiger_projectstatus`
--
ALTER TABLE `vtiger_projectstatus`
  ADD PRIMARY KEY (`projectstatusid`);

--
-- Index pour la table `vtiger_projecttask`
--
ALTER TABLE `vtiger_projecttask`
  ADD PRIMARY KEY (`projecttaskid`);

--
-- Index pour la table `vtiger_projecttaskcf`
--
ALTER TABLE `vtiger_projecttaskcf`
  ADD PRIMARY KEY (`projecttaskid`);

--
-- Index pour la table `vtiger_projecttaskpriority`
--
ALTER TABLE `vtiger_projecttaskpriority`
  ADD PRIMARY KEY (`projecttaskpriorityid`);

--
-- Index pour la table `vtiger_projecttaskprogress`
--
ALTER TABLE `vtiger_projecttaskprogress`
  ADD PRIMARY KEY (`projecttaskprogressid`);

--
-- Index pour la table `vtiger_projecttaskstatus`
--
ALTER TABLE `vtiger_projecttaskstatus`
  ADD PRIMARY KEY (`projecttaskstatusid`);

--
-- Index pour la table `vtiger_projecttasktype`
--
ALTER TABLE `vtiger_projecttasktype`
  ADD PRIMARY KEY (`projecttasktypeid`);

--
-- Index pour la table `vtiger_projecttask_status_color`
--
ALTER TABLE `vtiger_projecttask_status_color`
  ADD UNIQUE KEY `status` (`status`);

--
-- Index pour la table `vtiger_projecttype`
--
ALTER TABLE `vtiger_projecttype`
  ADD PRIMARY KEY (`projecttypeid`);

--
-- Index pour la table `vtiger_purchaseorder`
--
ALTER TABLE `vtiger_purchaseorder`
  ADD PRIMARY KEY (`purchaseorderid`),
  ADD KEY `purchaseorder_vendorid_idx` (`vendorid`),
  ADD KEY `purchaseorder_quoteid_idx` (`quoteid`),
  ADD KEY `purchaseorder_contactid_idx` (`contactid`);

--
-- Index pour la table `vtiger_purchaseordercf`
--
ALTER TABLE `vtiger_purchaseordercf`
  ADD PRIMARY KEY (`purchaseorderid`);

--
-- Index pour la table `vtiger_quotes`
--
ALTER TABLE `vtiger_quotes`
  ADD PRIMARY KEY (`quoteid`),
  ADD KEY `quote_quotestage_idx` (`quotestage`),
  ADD KEY `quotes_potentialid_idx` (`potentialid`),
  ADD KEY `quotes_contactid_idx` (`contactid`);

--
-- Index pour la table `vtiger_quotesbillads`
--
ALTER TABLE `vtiger_quotesbillads`
  ADD PRIMARY KEY (`quotebilladdressid`);

--
-- Index pour la table `vtiger_quotescf`
--
ALTER TABLE `vtiger_quotescf`
  ADD PRIMARY KEY (`quoteid`);

--
-- Index pour la table `vtiger_quotesshipads`
--
ALTER TABLE `vtiger_quotesshipads`
  ADD PRIMARY KEY (`quoteshipaddressid`);

--
-- Index pour la table `vtiger_quotestage`
--
ALTER TABLE `vtiger_quotestage`
  ADD PRIMARY KEY (`quotestageid`),
  ADD UNIQUE KEY `quotestage_quotestage_idx` (`quotestage`);

--
-- Index pour la table `vtiger_quotestagehistory`
--
ALTER TABLE `vtiger_quotestagehistory`
  ADD PRIMARY KEY (`historyid`),
  ADD KEY `quotestagehistory_quoteid_idx` (`quoteid`);

--
-- Index pour la table `vtiger_rating`
--
ALTER TABLE `vtiger_rating`
  ADD PRIMARY KEY (`rating_id`);

--
-- Index pour la table `vtiger_recurringevents`
--
ALTER TABLE `vtiger_recurringevents`
  ADD PRIMARY KEY (`recurringid`),
  ADD KEY `fk_1_vtiger_recurringevents` (`activityid`);

--
-- Index pour la table `vtiger_recurringtype`
--
ALTER TABLE `vtiger_recurringtype`
  ADD PRIMARY KEY (`recurringeventid`),
  ADD UNIQUE KEY `recurringtype_status_idx` (`recurringtype`);

--
-- Index pour la table `vtiger_relatedlists`
--
ALTER TABLE `vtiger_relatedlists`
  ADD PRIMARY KEY (`relation_id`),
  ADD KEY `relatedlists_relation_id_idx` (`relation_id`);

--
-- Index pour la table `vtiger_relcriteria`
--
ALTER TABLE `vtiger_relcriteria`
  ADD PRIMARY KEY (`queryid`,`columnindex`),
  ADD KEY `relcriteria_queryid_idx` (`queryid`);

--
-- Index pour la table `vtiger_relcriteria_grouping`
--
ALTER TABLE `vtiger_relcriteria_grouping`
  ADD PRIMARY KEY (`groupid`,`queryid`);

--
-- Index pour la table `vtiger_reminder_interval`
--
ALTER TABLE `vtiger_reminder_interval`
  ADD PRIMARY KEY (`reminder_intervalid`);

--
-- Index pour la table `vtiger_report`
--
ALTER TABLE `vtiger_report`
  ADD PRIMARY KEY (`reportid`),
  ADD KEY `report_queryid_idx` (`queryid`),
  ADD KEY `report_folderid_idx` (`folderid`);

--
-- Index pour la table `vtiger_reportdatefilter`
--
ALTER TABLE `vtiger_reportdatefilter`
  ADD PRIMARY KEY (`datefilterid`),
  ADD KEY `reportdatefilter_datefilterid_idx` (`datefilterid`);

--
-- Index pour la table `vtiger_reportfolder`
--
ALTER TABLE `vtiger_reportfolder`
  ADD PRIMARY KEY (`folderid`);

--
-- Index pour la table `vtiger_reportgroupbycolumn`
--
ALTER TABLE `vtiger_reportgroupbycolumn`
  ADD KEY `fk_1_vtiger_reportgroupbycolumn` (`reportid`);

--
-- Index pour la table `vtiger_reportmodules`
--
ALTER TABLE `vtiger_reportmodules`
  ADD PRIMARY KEY (`reportmodulesid`);

--
-- Index pour la table `vtiger_reportsortcol`
--
ALTER TABLE `vtiger_reportsortcol`
  ADD PRIMARY KEY (`sortcolid`,`reportid`),
  ADD KEY `fk_1_vtiger_reportsortcol` (`reportid`);

--
-- Index pour la table `vtiger_reportsummary`
--
ALTER TABLE `vtiger_reportsummary`
  ADD PRIMARY KEY (`reportsummaryid`,`summarytype`,`columnname`),
  ADD KEY `reportsummary_reportsummaryid_idx` (`reportsummaryid`);

--
-- Index pour la table `vtiger_reporttype`
--
ALTER TABLE `vtiger_reporttype`
  ADD PRIMARY KEY (`reportid`);

--
-- Index pour la table `vtiger_report_sharegroups`
--
ALTER TABLE `vtiger_report_sharegroups`
  ADD KEY `vtiger_report_sharegroups_ibfk_1` (`reportid`),
  ADD KEY `vtiger_groups_groupid_ibfk_1` (`groupid`);

--
-- Index pour la table `vtiger_report_sharerole`
--
ALTER TABLE `vtiger_report_sharerole`
  ADD KEY `vtiger_report_sharerole_ibfk_1` (`reportid`),
  ADD KEY `vtiger_role_roleid_ibfk_1` (`roleid`);

--
-- Index pour la table `vtiger_report_sharers`
--
ALTER TABLE `vtiger_report_sharers`
  ADD KEY `vtiger_report_sharers_ibfk_1` (`reportid`),
  ADD KEY `vtiger_rolesd_rsid_ibfk_1` (`rsid`);

--
-- Index pour la table `vtiger_report_shareusers`
--
ALTER TABLE `vtiger_report_shareusers`
  ADD KEY `vtiger_report_shareusers_ibfk_1` (`reportid`),
  ADD KEY `vtiger_users_userid_ibfk_1` (`userid`);

--
-- Index pour la table `vtiger_role`
--
ALTER TABLE `vtiger_role`
  ADD PRIMARY KEY (`roleid`);

--
-- Index pour la table `vtiger_role2picklist`
--
ALTER TABLE `vtiger_role2picklist`
  ADD PRIMARY KEY (`roleid`,`picklistvalueid`,`picklistid`),
  ADD KEY `role2picklist_roleid_picklistid_idx` (`roleid`,`picklistid`,`picklistvalueid`),
  ADD KEY `fk_2_vtiger_role2picklist` (`picklistid`);

--
-- Index pour la table `vtiger_role2profile`
--
ALTER TABLE `vtiger_role2profile`
  ADD PRIMARY KEY (`roleid`,`profileid`),
  ADD KEY `role2profile_roleid_profileid_idx` (`roleid`,`profileid`);

--
-- Index pour la table `vtiger_rollupcomments_settings`
--
ALTER TABLE `vtiger_rollupcomments_settings`
  ADD PRIMARY KEY (`rollupid`);

--
-- Index pour la table `vtiger_rowheight`
--
ALTER TABLE `vtiger_rowheight`
  ADD PRIMARY KEY (`rowheightid`);

--
-- Index pour la table `vtiger_rss`
--
ALTER TABLE `vtiger_rss`
  ADD PRIMARY KEY (`rssid`);

--
-- Index pour la table `vtiger_salesmanactivityrel`
--
ALTER TABLE `vtiger_salesmanactivityrel`
  ADD PRIMARY KEY (`smid`,`activityid`),
  ADD KEY `salesmanactivityrel_activityid_idx` (`activityid`),
  ADD KEY `salesmanactivityrel_smid_idx` (`smid`);

--
-- Index pour la table `vtiger_salesmanattachmentsrel`
--
ALTER TABLE `vtiger_salesmanattachmentsrel`
  ADD PRIMARY KEY (`smid`,`attachmentsid`),
  ADD KEY `salesmanattachmentsrel_smid_idx` (`smid`),
  ADD KEY `salesmanattachmentsrel_attachmentsid_idx` (`attachmentsid`);

--
-- Index pour la table `vtiger_salesmanticketrel`
--
ALTER TABLE `vtiger_salesmanticketrel`
  ADD PRIMARY KEY (`smid`,`id`),
  ADD KEY `salesmanticketrel_smid_idx` (`smid`),
  ADD KEY `salesmanticketrel_id_idx` (`id`);

--
-- Index pour la table `vtiger_salesorder`
--
ALTER TABLE `vtiger_salesorder`
  ADD PRIMARY KEY (`salesorderid`),
  ADD KEY `salesorder_vendorid_idx` (`vendorid`),
  ADD KEY `salesorder_contactid_idx` (`contactid`);

--
-- Index pour la table `vtiger_salesordercf`
--
ALTER TABLE `vtiger_salesordercf`
  ADD PRIMARY KEY (`salesorderid`);

--
-- Index pour la table `vtiger_sales_stage`
--
ALTER TABLE `vtiger_sales_stage`
  ADD PRIMARY KEY (`sales_stage_id`);

--
-- Index pour la table `vtiger_salutationtype`
--
ALTER TABLE `vtiger_salutationtype`
  ADD PRIMARY KEY (`salutationid`);

--
-- Index pour la table `vtiger_scheduled_reports`
--
ALTER TABLE `vtiger_scheduled_reports`
  ADD PRIMARY KEY (`reportid`);

--
-- Index pour la table `vtiger_seactivityrel`
--
ALTER TABLE `vtiger_seactivityrel`
  ADD PRIMARY KEY (`crmid`,`activityid`),
  ADD KEY `seactivityrel_activityid_idx` (`activityid`),
  ADD KEY `seactivityrel_crmid_idx` (`crmid`);

--
-- Index pour la table `vtiger_seattachmentsrel`
--
ALTER TABLE `vtiger_seattachmentsrel`
  ADD PRIMARY KEY (`crmid`,`attachmentsid`),
  ADD KEY `seattachmentsrel_attachmentsid_idx` (`attachmentsid`),
  ADD KEY `seattachmentsrel_crmid_idx` (`crmid`),
  ADD KEY `seattachmentsrel_attachmentsid_crmid_idx` (`attachmentsid`,`crmid`);

--
-- Index pour la table `vtiger_selectcolumn`
--
ALTER TABLE `vtiger_selectcolumn`
  ADD PRIMARY KEY (`queryid`,`columnindex`),
  ADD KEY `selectcolumn_queryid_idx` (`queryid`);

--
-- Index pour la table `vtiger_selectquery`
--
ALTER TABLE `vtiger_selectquery`
  ADD PRIMARY KEY (`queryid`),
  ADD KEY `selectquery_queryid_idx` (`queryid`);

--
-- Index pour la table `vtiger_senotesrel`
--
ALTER TABLE `vtiger_senotesrel`
  ADD PRIMARY KEY (`crmid`,`notesid`),
  ADD KEY `senotesrel_notesid_idx` (`notesid`),
  ADD KEY `senotesrel_crmid_idx` (`crmid`);

--
-- Index pour la table `vtiger_seproductsrel`
--
ALTER TABLE `vtiger_seproductsrel`
  ADD PRIMARY KEY (`crmid`,`productid`),
  ADD KEY `seproductsrel_productid_idx` (`productid`),
  ADD KEY `seproductrel_crmid_idx` (`crmid`);

--
-- Index pour la table `vtiger_service`
--
ALTER TABLE `vtiger_service`
  ADD PRIMARY KEY (`serviceid`);

--
-- Index pour la table `vtiger_servicecategory`
--
ALTER TABLE `vtiger_servicecategory`
  ADD PRIMARY KEY (`servicecategoryid`);

--
-- Index pour la table `vtiger_servicecf`
--
ALTER TABLE `vtiger_servicecf`
  ADD PRIMARY KEY (`serviceid`);

--
-- Index pour la table `vtiger_servicecontracts`
--
ALTER TABLE `vtiger_servicecontracts`
  ADD KEY `fk_crmid_vtiger_servicecontracts` (`servicecontractsid`);

--
-- Index pour la table `vtiger_servicecontractscf`
--
ALTER TABLE `vtiger_servicecontractscf`
  ADD PRIMARY KEY (`servicecontractsid`);

--
-- Index pour la table `vtiger_service_usageunit`
--
ALTER TABLE `vtiger_service_usageunit`
  ADD PRIMARY KEY (`service_usageunitid`);

--
-- Index pour la table `vtiger_seticketsrel`
--
ALTER TABLE `vtiger_seticketsrel`
  ADD PRIMARY KEY (`crmid`,`ticketid`),
  ADD KEY `seticketsrel_crmid_idx` (`crmid`),
  ADD KEY `seticketsrel_ticketid_idx` (`ticketid`);

--
-- Index pour la table `vtiger_settings_blocks`
--
ALTER TABLE `vtiger_settings_blocks`
  ADD PRIMARY KEY (`blockid`);

--
-- Index pour la table `vtiger_settings_field`
--
ALTER TABLE `vtiger_settings_field`
  ADD PRIMARY KEY (`fieldid`),
  ADD KEY `fk_1_vtiger_settings_field` (`blockid`);

--
-- Index pour la table `vtiger_sharedcalendar`
--
ALTER TABLE `vtiger_sharedcalendar`
  ADD PRIMARY KEY (`userid`,`sharedid`);

--
-- Index pour la table `vtiger_shippingtaxinfo`
--
ALTER TABLE `vtiger_shippingtaxinfo`
  ADD PRIMARY KEY (`taxid`),
  ADD KEY `shippingtaxinfo_taxname_idx` (`taxname`);

--
-- Index pour la table `vtiger_shorturls`
--
ALTER TABLE `vtiger_shorturls`
  ADD PRIMARY KEY (`id`),
  ADD KEY `uid` (`uid`);

--
-- Index pour la table `vtiger_smsnotifier`
--
ALTER TABLE `vtiger_smsnotifier`
  ADD PRIMARY KEY (`smsnotifierid`);

--
-- Index pour la table `vtiger_smsnotifiercf`
--
ALTER TABLE `vtiger_smsnotifiercf`
  ADD PRIMARY KEY (`smsnotifierid`);

--
-- Index pour la table `vtiger_smsnotifier_servers`
--
ALTER TABLE `vtiger_smsnotifier_servers`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_smsnotifier_status`
--
ALTER TABLE `vtiger_smsnotifier_status`
  ADD PRIMARY KEY (`statusid`);

--
-- Index pour la table `vtiger_sobillads`
--
ALTER TABLE `vtiger_sobillads`
  ADD PRIMARY KEY (`sobilladdressid`);

--
-- Index pour la table `vtiger_soshipads`
--
ALTER TABLE `vtiger_soshipads`
  ADD PRIMARY KEY (`soshipaddressid`);

--
-- Index pour la table `vtiger_sostatus`
--
ALTER TABLE `vtiger_sostatus`
  ADD PRIMARY KEY (`sostatusid`),
  ADD UNIQUE KEY `sostatus_sostatus_idx` (`sostatus`);

--
-- Index pour la table `vtiger_sostatushistory`
--
ALTER TABLE `vtiger_sostatushistory`
  ADD PRIMARY KEY (`historyid`),
  ADD KEY `sostatushistory_salesorderid_idx` (`salesorderid`);

--
-- Index pour la table `vtiger_start_hour`
--
ALTER TABLE `vtiger_start_hour`
  ADD PRIMARY KEY (`start_hourid`);

--
-- Index pour la table `vtiger_status`
--
ALTER TABLE `vtiger_status`
  ADD PRIMARY KEY (`statusid`);

--
-- Index pour la table `vtiger_systems`
--
ALTER TABLE `vtiger_systems`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_tab`
--
ALTER TABLE `vtiger_tab`
  ADD PRIMARY KEY (`tabid`),
  ADD UNIQUE KEY `tab_name_idx` (`name`),
  ADD KEY `tab_modifiedby_idx` (`modifiedby`),
  ADD KEY `tab_tabid_idx` (`tabid`);

--
-- Index pour la table `vtiger_tab_info`
--
ALTER TABLE `vtiger_tab_info`
  ADD KEY `fk_1_vtiger_tab_info` (`tabid`);

--
-- Index pour la table `vtiger_taskpriority`
--
ALTER TABLE `vtiger_taskpriority`
  ADD PRIMARY KEY (`taskpriorityid`);

--
-- Index pour la table `vtiger_taskstatus`
--
ALTER TABLE `vtiger_taskstatus`
  ADD PRIMARY KEY (`taskstatusid`);

--
-- Index pour la table `vtiger_taxclass`
--
ALTER TABLE `vtiger_taxclass`
  ADD PRIMARY KEY (`taxclassid`),
  ADD UNIQUE KEY `taxclass_carrier_idx` (`taxclass`);

--
-- Index pour la table `vtiger_taxregions`
--
ALTER TABLE `vtiger_taxregions`
  ADD PRIMARY KEY (`regionid`);

--
-- Index pour la table `vtiger_ticketcategories`
--
ALTER TABLE `vtiger_ticketcategories`
  ADD PRIMARY KEY (`ticketcategories_id`);

--
-- Index pour la table `vtiger_ticketcf`
--
ALTER TABLE `vtiger_ticketcf`
  ADD PRIMARY KEY (`ticketid`);

--
-- Index pour la table `vtiger_ticketcomments`
--
ALTER TABLE `vtiger_ticketcomments`
  ADD PRIMARY KEY (`commentid`),
  ADD KEY `ticketcomments_ticketid_idx` (`ticketid`);

--
-- Index pour la table `vtiger_ticketpriorities`
--
ALTER TABLE `vtiger_ticketpriorities`
  ADD PRIMARY KEY (`ticketpriorities_id`);

--
-- Index pour la table `vtiger_ticketseverities`
--
ALTER TABLE `vtiger_ticketseverities`
  ADD PRIMARY KEY (`ticketseverities_id`);

--
-- Index pour la table `vtiger_ticketstatus`
--
ALTER TABLE `vtiger_ticketstatus`
  ADD PRIMARY KEY (`ticketstatus_id`);

--
-- Index pour la table `vtiger_time_zone`
--
ALTER TABLE `vtiger_time_zone`
  ADD PRIMARY KEY (`time_zoneid`);

--
-- Index pour la table `vtiger_tmp_read_group_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_group_rel_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`sharedgroupid`),
  ADD KEY `tmp_read_group_rel_sharing_per_userid_sharedgroupid_tabid` (`userid`,`sharedgroupid`,`tabid`);

--
-- Index pour la table `vtiger_tmp_read_group_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_group_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`sharedgroupid`),
  ADD KEY `tmp_read_group_sharing_per_userid_sharedgroupid_idx` (`userid`,`sharedgroupid`);

--
-- Index pour la table `vtiger_tmp_read_user_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_user_rel_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`shareduserid`),
  ADD KEY `tmp_read_user_rel_sharing_per_userid_shared_reltabid_idx` (`userid`,`shareduserid`,`relatedtabid`);

--
-- Index pour la table `vtiger_tmp_read_user_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_user_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`shareduserid`),
  ADD KEY `tmp_read_user_sharing_per_userid_shareduserid_idx` (`userid`,`shareduserid`);

--
-- Index pour la table `vtiger_tmp_write_group_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_group_rel_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`sharedgroupid`),
  ADD KEY `tmp_write_group_rel_sharing_per_userid_sharedgroupid_tabid_idx` (`userid`,`sharedgroupid`,`tabid`);

--
-- Index pour la table `vtiger_tmp_write_group_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_group_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`sharedgroupid`),
  ADD KEY `tmp_write_group_sharing_per_UK1` (`userid`,`sharedgroupid`);

--
-- Index pour la table `vtiger_tmp_write_user_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_user_rel_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`relatedtabid`,`shareduserid`),
  ADD KEY `tmp_write_user_rel_sharing_per_userid_sharduserid_tabid_idx` (`userid`,`shareduserid`,`tabid`);

--
-- Index pour la table `vtiger_tmp_write_user_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_user_sharing_per`
  ADD PRIMARY KEY (`userid`,`tabid`,`shareduserid`),
  ADD KEY `tmp_write_user_sharing_per_userid_shareduserid_idx` (`userid`,`shareduserid`);

--
-- Index pour la table `vtiger_tracker`
--
ALTER TABLE `vtiger_tracker`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_tracking_unit`
--
ALTER TABLE `vtiger_tracking_unit`
  ADD PRIMARY KEY (`tracking_unitid`);

--
-- Index pour la table `vtiger_troubletickets`
--
ALTER TABLE `vtiger_troubletickets`
  ADD PRIMARY KEY (`ticketid`),
  ADD KEY `troubletickets_ticketid_idx` (`ticketid`),
  ADD KEY `troubletickets_status_idx` (`status`);

--
-- Index pour la table `vtiger_usageunit`
--
ALTER TABLE `vtiger_usageunit`
  ADD PRIMARY KEY (`usageunitid`),
  ADD UNIQUE KEY `usageunit_usageunit_idx` (`usageunit`);

--
-- Index pour la table `vtiger_user2mergefields`
--
ALTER TABLE `vtiger_user2mergefields`
  ADD KEY `userid_tabid_idx` (`userid`,`tabid`);

--
-- Index pour la table `vtiger_user2role`
--
ALTER TABLE `vtiger_user2role`
  ADD PRIMARY KEY (`userid`),
  ADD KEY `user2role_roleid_idx` (`roleid`);

--
-- Index pour la table `vtiger_users`
--
ALTER TABLE `vtiger_users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_user_name_idx` (`user_name`),
  ADD KEY `user_user_password_idx` (`user_password`);

--
-- Index pour la table `vtiger_users2group`
--
ALTER TABLE `vtiger_users2group`
  ADD PRIMARY KEY (`groupid`,`userid`),
  ADD KEY `users2group_groupname_uerid_idx` (`groupid`,`userid`),
  ADD KEY `fk_2_vtiger_users2group` (`userid`);

--
-- Index pour la table `vtiger_users_last_import`
--
ALTER TABLE `vtiger_users_last_import`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_user_id` (`assigned_user_id`);

--
-- Index pour la table `vtiger_user_module_preferences`
--
ALTER TABLE `vtiger_user_module_preferences`
  ADD PRIMARY KEY (`userid`,`tabid`),
  ADD KEY `fk_2_vtiger_user_module_preferences` (`tabid`);

--
-- Index pour la table `vtiger_vendor`
--
ALTER TABLE `vtiger_vendor`
  ADD PRIMARY KEY (`vendorid`);

--
-- Index pour la table `vtiger_vendorcf`
--
ALTER TABLE `vtiger_vendorcf`
  ADD PRIMARY KEY (`vendorid`);

--
-- Index pour la table `vtiger_vendorcontactrel`
--
ALTER TABLE `vtiger_vendorcontactrel`
  ADD PRIMARY KEY (`vendorid`,`contactid`),
  ADD KEY `vendorcontactrel_vendorid_idx` (`vendorid`),
  ADD KEY `vendorcontactrel_contact_idx` (`contactid`);

--
-- Index pour la table `vtiger_version`
--
ALTER TABLE `vtiger_version`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_visibility`
--
ALTER TABLE `vtiger_visibility`
  ADD PRIMARY KEY (`visibilityid`),
  ADD UNIQUE KEY `visibility_visibility_idx` (`visibility`);

--
-- Index pour la table `vtiger_webforms`
--
ALTER TABLE `vtiger_webforms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `webformname` (`name`),
  ADD UNIQUE KEY `publicid` (`id`),
  ADD KEY `webforms_webforms_id_idx` (`id`);

--
-- Index pour la table `vtiger_webforms_field`
--
ALTER TABLE `vtiger_webforms_field`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webforms_webforms_field_idx` (`id`),
  ADD KEY `fk_1_vtiger_webforms_field` (`webformid`),
  ADD KEY `fk_2_vtiger_webforms_field` (`fieldname`);

--
-- Index pour la table `vtiger_webform_file_fields`
--
ALTER TABLE `vtiger_webform_file_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_vtiger_webforms` (`webformid`);

--
-- Index pour la table `vtiger_wordtemplates`
--
ALTER TABLE `vtiger_wordtemplates`
  ADD PRIMARY KEY (`templateid`);

--
-- Index pour la table `vtiger_wsapp`
--
ALTER TABLE `vtiger_wsapp`
  ADD PRIMARY KEY (`appid`);

--
-- Index pour la table `vtiger_wsapp_logs_basic`
--
ALTER TABLE `vtiger_wsapp_logs_basic`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_wsapp_logs_details`
--
ALTER TABLE `vtiger_wsapp_logs_details`
  ADD KEY `vtiger_wsapp_logs_basic_ibfk_1` (`id`);

--
-- Index pour la table `vtiger_wsapp_recordmapping`
--
ALTER TABLE `vtiger_wsapp_recordmapping`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_wsapp_sync_state`
--
ALTER TABLE `vtiger_wsapp_sync_state`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_ws_entity`
--
ALTER TABLE `vtiger_ws_entity`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_ws_entity_fieldtype`
--
ALTER TABLE `vtiger_ws_entity_fieldtype`
  ADD PRIMARY KEY (`fieldtypeid`),
  ADD UNIQUE KEY `vtiger_idx_1_tablename_fieldname` (`table_name`,`field_name`);

--
-- Index pour la table `vtiger_ws_entity_name`
--
ALTER TABLE `vtiger_ws_entity_name`
  ADD PRIMARY KEY (`entity_id`);

--
-- Index pour la table `vtiger_ws_entity_referencetype`
--
ALTER TABLE `vtiger_ws_entity_referencetype`
  ADD PRIMARY KEY (`fieldtypeid`,`type`);

--
-- Index pour la table `vtiger_ws_entity_tables`
--
ALTER TABLE `vtiger_ws_entity_tables`
  ADD PRIMARY KEY (`webservice_entity_id`,`table_name`);

--
-- Index pour la table `vtiger_ws_fieldinfo`
--
ALTER TABLE `vtiger_ws_fieldinfo`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `vtiger_ws_fieldtype`
--
ALTER TABLE `vtiger_ws_fieldtype`
  ADD PRIMARY KEY (`fieldtypeid`),
  ADD UNIQUE KEY `uitype_idx` (`uitype`);

--
-- Index pour la table `vtiger_ws_operation`
--
ALTER TABLE `vtiger_ws_operation`
  ADD PRIMARY KEY (`operationid`);

--
-- Index pour la table `vtiger_ws_operation_parameters`
--
ALTER TABLE `vtiger_ws_operation_parameters`
  ADD PRIMARY KEY (`operationid`,`name`);

--
-- Index pour la table `vtiger_ws_referencetype`
--
ALTER TABLE `vtiger_ws_referencetype`
  ADD PRIMARY KEY (`fieldtypeid`,`type`);

--
-- Index pour la table `vtiger_ws_userauthtoken`
--
ALTER TABLE `vtiger_ws_userauthtoken`
  ADD PRIMARY KEY (`userid`,`expiretime`),
  ADD UNIQUE KEY `userid_idx` (`userid`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `com_vtiger_workflows`
--
ALTER TABLE `com_vtiger_workflows`
  MODIFY `workflow_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT pour la table `com_vtiger_workflowtasks`
--
ALTER TABLE `com_vtiger_workflowtasks`
  MODIFY `task_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT pour la table `com_vtiger_workflowtemplates`
--
ALTER TABLE `com_vtiger_workflowtemplates`
  MODIFY `template_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_accountrating`
--
ALTER TABLE `vtiger_accountrating`
  MODIFY `accountratingid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_accounttype`
--
ALTER TABLE `vtiger_accounttype`
  MODIFY `accounttypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `vtiger_activitytype`
--
ALTER TABLE `vtiger_activitytype`
  MODIFY `activitytypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_activity_reminder_popup`
--
ALTER TABLE `vtiger_activity_reminder_popup`
  MODIFY `reminderid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_activity_view`
--
ALTER TABLE `vtiger_activity_view`
  MODIFY `activity_viewid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_assetstatus`
--
ALTER TABLE `vtiger_assetstatus`
  MODIFY `assetstatusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_attachmentsfolder`
--
ALTER TABLE `vtiger_attachmentsfolder`
  MODIFY `folderid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_calendarsharedtype`
--
ALTER TABLE `vtiger_calendarsharedtype`
  MODIFY `calendarsharedtypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_callduration`
--
ALTER TABLE `vtiger_callduration`
  MODIFY `calldurationid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_campaignstatus`
--
ALTER TABLE `vtiger_campaignstatus`
  MODIFY `campaignstatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_campaigntype`
--
ALTER TABLE `vtiger_campaigntype`
  MODIFY `campaigntypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT pour la table `vtiger_carrier`
--
ALTER TABLE `vtiger_carrier`
  MODIFY `carrierid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_cash`
--
ALTER TABLE `vtiger_cashflow4you_cash`
  MODIFY `cashflow4you_cashid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_category`
--
ALTER TABLE `vtiger_cashflow4you_category`
  MODIFY `cashflow4you_categoryid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_paymethod`
--
ALTER TABLE `vtiger_cashflow4you_paymethod`
  MODIFY `cashflow4you_paymethodid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_paytype`
--
ALTER TABLE `vtiger_cashflow4you_paytype`
  MODIFY `cashflow4you_paytypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_status`
--
ALTER TABLE `vtiger_cashflow4you_status`
  MODIFY `cashflow4you_statusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_cashflow4you_subcategory`
--
ALTER TABLE `vtiger_cashflow4you_subcategory`
  MODIFY `cashflow4you_subcategoryid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_cf_883`
--
ALTER TABLE `vtiger_cf_883`
  MODIFY `cf_883id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_contract_priority`
--
ALTER TABLE `vtiger_contract_priority`
  MODIFY `contract_priorityid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_contract_status`
--
ALTER TABLE `vtiger_contract_status`
  MODIFY `contract_statusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_contract_type`
--
ALTER TABLE `vtiger_contract_type`
  MODIFY `contract_typeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_convertleadmapping`
--
ALTER TABLE `vtiger_convertleadmapping`
  MODIFY `cfmid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT pour la table `vtiger_convertpotentialmapping`
--
ALTER TABLE `vtiger_convertpotentialmapping`
  MODIFY `cfmid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_cron_task`
--
ALTER TABLE `vtiger_cron_task`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `vtiger_currencies`
--
ALTER TABLE `vtiger_currencies`
  MODIFY `currencyid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=139;

--
-- AUTO_INCREMENT pour la table `vtiger_currency`
--
ALTER TABLE `vtiger_currency`
  MODIFY `currencyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_currency_decimal_separator`
--
ALTER TABLE `vtiger_currency_decimal_separator`
  MODIFY `currency_decimal_separatorid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_currency_grouping_pattern`
--
ALTER TABLE `vtiger_currency_grouping_pattern`
  MODIFY `currency_grouping_patternid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_currency_grouping_separator`
--
ALTER TABLE `vtiger_currency_grouping_separator`
  MODIFY `currency_grouping_separatorid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_currency_info`
--
ALTER TABLE `vtiger_currency_info`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_currency_symbol_placement`
--
ALTER TABLE `vtiger_currency_symbol_placement`
  MODIFY `currency_symbol_placementid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_dashboard_tabs`
--
ALTER TABLE `vtiger_dashboard_tabs`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT pour la table `vtiger_date_format`
--
ALTER TABLE `vtiger_date_format`
  MODIFY `date_formatid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_dayoftheweek`
--
ALTER TABLE `vtiger_dayoftheweek`
  MODIFY `dayoftheweekid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `vtiger_defaultactivitytype`
--
ALTER TABLE `vtiger_defaultactivitytype`
  MODIFY `defaultactivitytypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_defaultcalendarview`
--
ALTER TABLE `vtiger_defaultcalendarview`
  MODIFY `defaultcalendarviewid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_defaulteventstatus`
--
ALTER TABLE `vtiger_defaulteventstatus`
  MODIFY `defaulteventstatusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_default_record_view`
--
ALTER TABLE `vtiger_default_record_view`
  MODIFY `default_record_viewid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_def_org_share`
--
ALTER TABLE `vtiger_def_org_share`
  MODIFY `ruleid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT pour la table `vtiger_durationhrs`
--
ALTER TABLE `vtiger_durationhrs`
  MODIFY `hrsid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_durationmins`
--
ALTER TABLE `vtiger_durationmins`
  MODIFY `minsid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_duration_minutes`
--
ALTER TABLE `vtiger_duration_minutes`
  MODIFY `minutesid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_emails_recipientprefs`
--
ALTER TABLE `vtiger_emails_recipientprefs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emailtemplates`
--
ALTER TABLE `vtiger_emailtemplates`
  MODIFY `templateid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates`
--
ALTER TABLE `vtiger_emakertemplates`
  MODIFY `templateid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_attch`
--
ALTER TABLE `vtiger_emakertemplates_attch`
  MODIFY `attid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_contents`
--
ALTER TABLE `vtiger_emakertemplates_contents`
  MODIFY `contentid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_emails`
--
ALTER TABLE `vtiger_emakertemplates_emails`
  MODIFY `emailid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_label_keys`
--
ALTER TABLE `vtiger_emakertemplates_label_keys`
  MODIFY `label_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_me`
--
ALTER TABLE `vtiger_emakertemplates_me`
  MODIFY `meid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_productbloc_tpl`
--
ALTER TABLE `vtiger_emakertemplates_productbloc_tpl`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_emakertemplates_sent`
--
ALTER TABLE `vtiger_emakertemplates_sent`
  MODIFY `esentid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_eventhandlers`
--
ALTER TABLE `vtiger_eventhandlers`
  MODIFY `eventhandler_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT pour la table `vtiger_eventhandler_module`
--
ALTER TABLE `vtiger_eventhandler_module`
  MODIFY `eventhandler_module_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `vtiger_eventstatus`
--
ALTER TABLE `vtiger_eventstatus`
  MODIFY `eventstatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_expectedresponse`
--
ALTER TABLE `vtiger_expectedresponse`
  MODIFY `expectedresponseid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_extnstore_users`
--
ALTER TABLE `vtiger_extnstore_users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_faq`
--
ALTER TABLE `vtiger_faq`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_faqcategories`
--
ALTER TABLE `vtiger_faqcategories`
  MODIFY `faqcategories_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_faqcomments`
--
ALTER TABLE `vtiger_faqcomments`
  MODIFY `commentid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_faqstatus`
--
ALTER TABLE `vtiger_faqstatus`
  MODIFY `faqstatus_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_field`
--
ALTER TABLE `vtiger_field`
  MODIFY `fieldid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1045;

--
-- AUTO_INCREMENT pour la table `vtiger_glacct`
--
ALTER TABLE `vtiger_glacct`
  MODIFY `glacctid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `vtiger_hour_format`
--
ALTER TABLE `vtiger_hour_format`
  MODIFY `hour_formatid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_import_1`
--
ALTER TABLE `vtiger_import_1`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `vtiger_import_maps`
--
ALTER TABLE `vtiger_import_maps`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_industry`
--
ALTER TABLE `vtiger_industry`
  MODIFY `industryid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT pour la table `vtiger_inventorycharges`
--
ALTER TABLE `vtiger_inventorycharges`
  MODIFY `chargeid` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_inventorynotification`
--
ALTER TABLE `vtiger_inventorynotification`
  MODIFY `notificationid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_inventoryproductrel`
--
ALTER TABLE `vtiger_inventoryproductrel`
  MODIFY `lineitem_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT pour la table `vtiger_invoicestatus`
--
ALTER TABLE `vtiger_invoicestatus`
  MODIFY `invoicestatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `vtiger_invoicestatushistory`
--
ALTER TABLE `vtiger_invoicestatushistory`
  MODIFY `historyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_language`
--
ALTER TABLE `vtiger_language`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT pour la table `vtiger_leadsource`
--
ALTER TABLE `vtiger_leadsource`
  MODIFY `leadsourceid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT pour la table `vtiger_leadstage`
--
ALTER TABLE `vtiger_leadstage`
  MODIFY `leadstageid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_leadstatus`
--
ALTER TABLE `vtiger_leadstatus`
  MODIFY `leadstatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT pour la table `vtiger_lead_view`
--
ALTER TABLE `vtiger_lead_view`
  MODIFY `lead_viewid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_loginhistory`
--
ALTER TABLE `vtiger_loginhistory`
  MODIFY `login_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=92;

--
-- AUTO_INCREMENT pour la table `vtiger_mailscanner`
--
ALTER TABLE `vtiger_mailscanner`
  MODIFY `scannerid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_mailscanner_actions`
--
ALTER TABLE `vtiger_mailscanner_actions`
  MODIFY `actionid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_mailscanner_folders`
--
ALTER TABLE `vtiger_mailscanner_folders`
  MODIFY `folderid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_mailscanner_rules`
--
ALTER TABLE `vtiger_mailscanner_rules`
  MODIFY `ruleid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_manufacturer`
--
ALTER TABLE `vtiger_manufacturer`
  MODIFY `manufacturerid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_mobile_alerts`
--
ALTER TABLE `vtiger_mobile_alerts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `vtiger_module_dashboard_widgets`
--
ALTER TABLE `vtiger_module_dashboard_widgets`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT pour la table `vtiger_notificationscheduler`
--
ALTER TABLE `vtiger_notificationscheduler`
  MODIFY `schedulednotificationid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `vtiger_no_of_currency_decimals`
--
ALTER TABLE `vtiger_no_of_currency_decimals`
  MODIFY `no_of_currency_decimalsid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `vtiger_opportunitystage`
--
ALTER TABLE `vtiger_opportunitystage`
  MODIFY `potstageid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_opportunity_type`
--
ALTER TABLE `vtiger_opportunity_type`
  MODIFY `opptypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_othereventduration`
--
ALTER TABLE `vtiger_othereventduration`
  MODIFY `othereventdurationid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_pbxmanager`
--
ALTER TABLE `vtiger_pbxmanager`
  MODIFY `pbxmanagerid` int(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_pbxmanager_gateway`
--
ALTER TABLE `vtiger_pbxmanager_gateway`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_pdfmaker_label_keys`
--
ALTER TABLE `vtiger_pdfmaker_label_keys`
  MODIFY `label_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_pdfmaker_productbloc_tpl`
--
ALTER TABLE `vtiger_pdfmaker_productbloc_tpl`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_pdfmaker_releases`
--
ALTER TABLE `vtiger_pdfmaker_releases`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_picklist`
--
ALTER TABLE `vtiger_picklist`
  MODIFY `picklistid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=61;

--
-- AUTO_INCREMENT pour la table `vtiger_postatus`
--
ALTER TABLE `vtiger_postatus`
  MODIFY `postatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `vtiger_postatushistory`
--
ALTER TABLE `vtiger_postatushistory`
  MODIFY `historyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_potstagehistory`
--
ALTER TABLE `vtiger_potstagehistory`
  MODIFY `historyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_priority`
--
ALTER TABLE `vtiger_priority`
  MODIFY `priorityid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_productcategory`
--
ALTER TABLE `vtiger_productcategory`
  MODIFY `productcategoryid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_profile`
--
ALTER TABLE `vtiger_profile`
  MODIFY `profileid` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_progress`
--
ALTER TABLE `vtiger_progress`
  MODIFY `progressid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `vtiger_projectmilestonetype`
--
ALTER TABLE `vtiger_projectmilestonetype`
  MODIFY `projectmilestonetypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_projectpriority`
--
ALTER TABLE `vtiger_projectpriority`
  MODIFY `projectpriorityid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_projectstatus`
--
ALTER TABLE `vtiger_projectstatus`
  MODIFY `projectstatusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `vtiger_projecttaskpriority`
--
ALTER TABLE `vtiger_projecttaskpriority`
  MODIFY `projecttaskpriorityid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_projecttaskprogress`
--
ALTER TABLE `vtiger_projecttaskprogress`
  MODIFY `projecttaskprogressid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `vtiger_projecttaskstatus`
--
ALTER TABLE `vtiger_projecttaskstatus`
  MODIFY `projecttaskstatusid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_projecttasktype`
--
ALTER TABLE `vtiger_projecttasktype`
  MODIFY `projecttasktypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_projecttype`
--
ALTER TABLE `vtiger_projecttype`
  MODIFY `projecttypeid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_quotestage`
--
ALTER TABLE `vtiger_quotestage`
  MODIFY `quotestageid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_quotestagehistory`
--
ALTER TABLE `vtiger_quotestagehistory`
  MODIFY `historyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_rating`
--
ALTER TABLE `vtiger_rating`
  MODIFY `rating_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_recurringevents`
--
ALTER TABLE `vtiger_recurringevents`
  MODIFY `recurringid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_recurringtype`
--
ALTER TABLE `vtiger_recurringtype`
  MODIFY `recurringeventid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `vtiger_reminder_interval`
--
ALTER TABLE `vtiger_reminder_interval`
  MODIFY `reminder_intervalid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `vtiger_reportfolder`
--
ALTER TABLE `vtiger_reportfolder`
  MODIFY `folderid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT pour la table `vtiger_rollupcomments_settings`
--
ALTER TABLE `vtiger_rollupcomments_settings`
  MODIFY `rollupid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_rowheight`
--
ALTER TABLE `vtiger_rowheight`
  MODIFY `rowheightid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_sales_stage`
--
ALTER TABLE `vtiger_sales_stage`
  MODIFY `sales_stage_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `vtiger_salutationtype`
--
ALTER TABLE `vtiger_salutationtype`
  MODIFY `salutationid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_servicecategory`
--
ALTER TABLE `vtiger_servicecategory`
  MODIFY `servicecategoryid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_service_usageunit`
--
ALTER TABLE `vtiger_service_usageunit`
  MODIFY `service_usageunitid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_shorturls`
--
ALTER TABLE `vtiger_shorturls`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_smsnotifier_servers`
--
ALTER TABLE `vtiger_smsnotifier_servers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_smsnotifier_status`
--
ALTER TABLE `vtiger_smsnotifier_status`
  MODIFY `statusid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_sostatus`
--
ALTER TABLE `vtiger_sostatus`
  MODIFY `sostatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_sostatushistory`
--
ALTER TABLE `vtiger_sostatushistory`
  MODIFY `historyid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_start_hour`
--
ALTER TABLE `vtiger_start_hour`
  MODIFY `start_hourid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT pour la table `vtiger_status`
--
ALTER TABLE `vtiger_status`
  MODIFY `statusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_taskpriority`
--
ALTER TABLE `vtiger_taskpriority`
  MODIFY `taskpriorityid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_taskstatus`
--
ALTER TABLE `vtiger_taskstatus`
  MODIFY `taskstatusid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_taxclass`
--
ALTER TABLE `vtiger_taxclass`
  MODIFY `taxclassid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_taxregions`
--
ALTER TABLE `vtiger_taxregions`
  MODIFY `regionid` int(10) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_ticketcategories`
--
ALTER TABLE `vtiger_ticketcategories`
  MODIFY `ticketcategories_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `vtiger_ticketcomments`
--
ALTER TABLE `vtiger_ticketcomments`
  MODIFY `commentid` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_ticketpriorities`
--
ALTER TABLE `vtiger_ticketpriorities`
  MODIFY `ticketpriorities_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_ticketseverities`
--
ALTER TABLE `vtiger_ticketseverities`
  MODIFY `ticketseverities_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_ticketstatus`
--
ALTER TABLE `vtiger_ticketstatus`
  MODIFY `ticketstatus_id` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_time_zone`
--
ALTER TABLE `vtiger_time_zone`
  MODIFY `time_zoneid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98;

--
-- AUTO_INCREMENT pour la table `vtiger_tracker`
--
ALTER TABLE `vtiger_tracker`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_tracking_unit`
--
ALTER TABLE `vtiger_tracking_unit`
  MODIFY `tracking_unitid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `vtiger_usageunit`
--
ALTER TABLE `vtiger_usageunit`
  MODIFY `usageunitid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT pour la table `vtiger_users`
--
ALTER TABLE `vtiger_users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `vtiger_users_last_import`
--
ALTER TABLE `vtiger_users_last_import`
  MODIFY `id` int(36) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_version`
--
ALTER TABLE `vtiger_version`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_visibility`
--
ALTER TABLE `vtiger_visibility`
  MODIFY `visibilityid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `vtiger_webforms`
--
ALTER TABLE `vtiger_webforms`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_webforms_field`
--
ALTER TABLE `vtiger_webforms_field`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_webform_file_fields`
--
ALTER TABLE `vtiger_webform_file_fields`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_wsapp`
--
ALTER TABLE `vtiger_wsapp`
  MODIFY `appid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `vtiger_wsapp_logs_basic`
--
ALTER TABLE `vtiger_wsapp_logs_basic`
  MODIFY `id` int(25) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_wsapp_recordmapping`
--
ALTER TABLE `vtiger_wsapp_recordmapping`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_wsapp_sync_state`
--
ALTER TABLE `vtiger_wsapp_sync_state`
  MODIFY `id` int(19) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `vtiger_ws_entity`
--
ALTER TABLE `vtiger_ws_entity`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT pour la table `vtiger_ws_entity_fieldtype`
--
ALTER TABLE `vtiger_ws_entity_fieldtype`
  MODIFY `fieldtypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `vtiger_ws_fieldtype`
--
ALTER TABLE `vtiger_ws_fieldtype`
  MODIFY `fieldtypeid` int(19) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41;

--
-- AUTO_INCREMENT pour la table `vtiger_ws_operation`
--
ALTER TABLE `vtiger_ws_operation`
  MODIFY `operationid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT pour la table `vtiger_ws_operation_parameters`
--
ALTER TABLE `vtiger_ws_operation_parameters`
  MODIFY `operationid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- Contraintes pour les tables déchargées
--

--
-- Contraintes pour la table `vtiger_account`
--
ALTER TABLE `vtiger_account`
  ADD CONSTRAINT `fk_1_vtiger_account` FOREIGN KEY (`accountid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_accountbillads`
--
ALTER TABLE `vtiger_accountbillads`
  ADD CONSTRAINT `fk_1_vtiger_accountbillads` FOREIGN KEY (`accountaddressid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_accountscf`
--
ALTER TABLE `vtiger_accountscf`
  ADD CONSTRAINT `fk_1_vtiger_accountscf` FOREIGN KEY (`accountid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_accountshipads`
--
ALTER TABLE `vtiger_accountshipads`
  ADD CONSTRAINT `fk_1_vtiger_accountshipads` FOREIGN KEY (`accountaddressid`) REFERENCES `vtiger_account` (`accountid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_activity`
--
ALTER TABLE `vtiger_activity`
  ADD CONSTRAINT `fk_1_vtiger_activity` FOREIGN KEY (`activityid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_activitycf`
--
ALTER TABLE `vtiger_activitycf`
  ADD CONSTRAINT `fk_activityid_vtiger_activitycf` FOREIGN KEY (`activityid`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_activityproductrel`
--
ALTER TABLE `vtiger_activityproductrel`
  ADD CONSTRAINT `fk_2_vtiger_activityproductrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_activity_reminder`
--
ALTER TABLE `vtiger_activity_reminder`
  ADD CONSTRAINT `fk_activityid_vtiger_activity_reminder` FOREIGN KEY (`activity_id`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_app2tab`
--
ALTER TABLE `vtiger_app2tab`
  ADD CONSTRAINT `vtiger_app2tab_fk_tab` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_assets`
--
ALTER TABLE `vtiger_assets`
  ADD CONSTRAINT `fk_1_vtiger_assets` FOREIGN KEY (`assetsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_assetscf`
--
ALTER TABLE `vtiger_assetscf`
  ADD CONSTRAINT `fk_assetsid_vtiger_assetscf` FOREIGN KEY (`assetsid`) REFERENCES `vtiger_assets` (`assetsid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_attachments`
--
ALTER TABLE `vtiger_attachments`
  ADD CONSTRAINT `fk_1_vtiger_attachments` FOREIGN KEY (`attachmentsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_blocks`
--
ALTER TABLE `vtiger_blocks`
  ADD CONSTRAINT `fk_1_vtiger_blocks` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_campaign`
--
ALTER TABLE `vtiger_campaign`
  ADD CONSTRAINT `fk_crmid_vtiger_campaign` FOREIGN KEY (`campaignid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_campaigncontrel`
--
ALTER TABLE `vtiger_campaigncontrel`
  ADD CONSTRAINT `fk_2_vtiger_campaigncontrel` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_campaignleadrel`
--
ALTER TABLE `vtiger_campaignleadrel`
  ADD CONSTRAINT `fk_2_vtiger_campaignleadrel` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_campaignscf`
--
ALTER TABLE `vtiger_campaignscf`
  ADD CONSTRAINT `fk_1_vtiger_campaignscf` FOREIGN KEY (`campaignid`) REFERENCES `vtiger_campaign` (`campaignid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cntactivityrel`
--
ALTER TABLE `vtiger_cntactivityrel`
  ADD CONSTRAINT `fk_2_vtiger_cntactivityrel` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_contactaddress`
--
ALTER TABLE `vtiger_contactaddress`
  ADD CONSTRAINT `fk_1_vtiger_contactaddress` FOREIGN KEY (`contactaddressid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_contactdetails`
--
ALTER TABLE `vtiger_contactdetails`
  ADD CONSTRAINT `fk_1_vtiger_contactdetails` FOREIGN KEY (`contactid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_contactscf`
--
ALTER TABLE `vtiger_contactscf`
  ADD CONSTRAINT `fk_1_vtiger_contactscf` FOREIGN KEY (`contactid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_contactsubdetails`
--
ALTER TABLE `vtiger_contactsubdetails`
  ADD CONSTRAINT `fk_1_vtiger_contactsubdetails` FOREIGN KEY (`contactsubscriptionid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_contpotentialrel`
--
ALTER TABLE `vtiger_contpotentialrel`
  ADD CONSTRAINT `fk_2_vtiger_contpotentialrel` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_crmentity_user_field`
--
ALTER TABLE `vtiger_crmentity_user_field`
  ADD CONSTRAINT `fk_vtiger_crmentity_user_field_recordid` FOREIGN KEY (`recordid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_customaction`
--
ALTER TABLE `vtiger_customaction`
  ADD CONSTRAINT `fk_1_vtiger_customaction` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_customerdetails`
--
ALTER TABLE `vtiger_customerdetails`
  ADD CONSTRAINT `fk_1_vtiger_customerdetails` FOREIGN KEY (`customerid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_customview`
--
ALTER TABLE `vtiger_customview`
  ADD CONSTRAINT `fk_1_vtiger_customview` FOREIGN KEY (`entitytype`) REFERENCES `vtiger_tab` (`name`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cv2group`
--
ALTER TABLE `vtiger_cv2group`
  ADD CONSTRAINT `vtiger_customview_ibfk_2` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_groups_ibfk_1` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cv2role`
--
ALTER TABLE `vtiger_cv2role`
  ADD CONSTRAINT `vtiger_customview_ibfk_3` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_role_ibfk_1` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cv2rs`
--
ALTER TABLE `vtiger_cv2rs`
  ADD CONSTRAINT `vtiger_customview_ibfk_4` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_rolesd_ibfk_1` FOREIGN KEY (`rsid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cv2users`
--
ALTER TABLE `vtiger_cv2users`
  ADD CONSTRAINT `vtiger_customview_ibfk_1` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_users_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cvadvfilter`
--
ALTER TABLE `vtiger_cvadvfilter`
  ADD CONSTRAINT `fk_1_vtiger_cvadvfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cvcolumnlist`
--
ALTER TABLE `vtiger_cvcolumnlist`
  ADD CONSTRAINT `fk_1_vtiger_cvcolumnlist` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_cvstdfilter`
--
ALTER TABLE `vtiger_cvstdfilter`
  ADD CONSTRAINT `fk_1_vtiger_cvstdfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_dashboard_tabs`
--
ALTER TABLE `vtiger_dashboard_tabs`
  ADD CONSTRAINT `vtiger_dashboard_tabs_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_grp2grp`
--
ALTER TABLE `vtiger_datashare_grp2grp`
  ADD CONSTRAINT `fk_3_vtiger_datashare_grp2grp` FOREIGN KEY (`to_groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_grp2role`
--
ALTER TABLE `vtiger_datashare_grp2role`
  ADD CONSTRAINT `fk_3_vtiger_datashare_grp2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_grp2rs`
--
ALTER TABLE `vtiger_datashare_grp2rs`
  ADD CONSTRAINT `fk_3_vtiger_datashare_grp2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_module_rel`
--
ALTER TABLE `vtiger_datashare_module_rel`
  ADD CONSTRAINT `fk_1_vtiger_datashare_module_rel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_relatedmodules`
--
ALTER TABLE `vtiger_datashare_relatedmodules`
  ADD CONSTRAINT `fk_2_vtiger_datashare_relatedmodules` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_role2group`
--
ALTER TABLE `vtiger_datashare_role2group`
  ADD CONSTRAINT `fk_3_vtiger_datashare_role2group` FOREIGN KEY (`share_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_role2role`
--
ALTER TABLE `vtiger_datashare_role2role`
  ADD CONSTRAINT `fk_3_vtiger_datashare_role2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_role2rs`
--
ALTER TABLE `vtiger_datashare_role2rs`
  ADD CONSTRAINT `fk_3_vtiger_datashare_role2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_rs2grp`
--
ALTER TABLE `vtiger_datashare_rs2grp`
  ADD CONSTRAINT `fk_3_vtiger_datashare_rs2grp` FOREIGN KEY (`share_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_rs2role`
--
ALTER TABLE `vtiger_datashare_rs2role`
  ADD CONSTRAINT `fk_3_vtiger_datashare_rs2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_datashare_rs2rs`
--
ALTER TABLE `vtiger_datashare_rs2rs`
  ADD CONSTRAINT `fk_3_vtiger_datashare_rs2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_defaultcv`
--
ALTER TABLE `vtiger_defaultcv`
  ADD CONSTRAINT `fk_1_vtiger_defaultcv` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_def_org_share`
--
ALTER TABLE `vtiger_def_org_share`
  ADD CONSTRAINT `fk_1_vtiger_def_org_share` FOREIGN KEY (`permission`) REFERENCES `vtiger_org_share_action_mapping` (`share_action_id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_entityname`
--
ALTER TABLE `vtiger_entityname`
  ADD CONSTRAINT `fk_1_vtiger_entityname` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_faq`
--
ALTER TABLE `vtiger_faq`
  ADD CONSTRAINT `fk_1_vtiger_faq` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_faqcf`
--
ALTER TABLE `vtiger_faqcf`
  ADD CONSTRAINT `fk_1_vtiger_faqcf` FOREIGN KEY (`faqid`) REFERENCES `vtiger_faq` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_faqcomments`
--
ALTER TABLE `vtiger_faqcomments`
  ADD CONSTRAINT `fk_1_vtiger_faqcomments` FOREIGN KEY (`faqid`) REFERENCES `vtiger_faq` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_field`
--
ALTER TABLE `vtiger_field`
  ADD CONSTRAINT `fk_1_vtiger_field` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_group2grouprel`
--
ALTER TABLE `vtiger_group2grouprel`
  ADD CONSTRAINT `fk_2_vtiger_group2grouprel` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `vtiger_group2role`
--
ALTER TABLE `vtiger_group2role`
  ADD CONSTRAINT `fk_2_vtiger_group2role` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_group2rs`
--
ALTER TABLE `vtiger_group2rs`
  ADD CONSTRAINT `fk_2_vtiger_group2rs` FOREIGN KEY (`roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homedashbd`
--
ALTER TABLE `vtiger_homedashbd`
  ADD CONSTRAINT `fk_1_vtiger_homedashbd` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homedefault`
--
ALTER TABLE `vtiger_homedefault`
  ADD CONSTRAINT `fk_1_vtiger_homedefault` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homemodule`
--
ALTER TABLE `vtiger_homemodule`
  ADD CONSTRAINT `fk_1_vtiger_homemodule` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homemoduleflds`
--
ALTER TABLE `vtiger_homemoduleflds`
  ADD CONSTRAINT `fk_1_vtiger_homemoduleflds` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homemodule` (`stuffid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homerss`
--
ALTER TABLE `vtiger_homerss`
  ADD CONSTRAINT `fk_1_vtiger_homerss` FOREIGN KEY (`stuffid`) REFERENCES `vtiger_homestuff` (`stuffid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_homestuff`
--
ALTER TABLE `vtiger_homestuff`
  ADD CONSTRAINT `fk_1_vtiger_homestuff` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_inventoryproductrel`
--
ALTER TABLE `vtiger_inventoryproductrel`
  ADD CONSTRAINT `fk_crmid_vtiger_inventoryproductrel` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoice`
--
ALTER TABLE `vtiger_invoice`
  ADD CONSTRAINT `fk_2_vtiger_invoice` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_crmid_vtiger_invoice` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoicebillads`
--
ALTER TABLE `vtiger_invoicebillads`
  ADD CONSTRAINT `fk_1_vtiger_invoicebillads` FOREIGN KEY (`invoicebilladdressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoicecf`
--
ALTER TABLE `vtiger_invoicecf`
  ADD CONSTRAINT `fk_1_vtiger_invoicecf` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoiceshipads`
--
ALTER TABLE `vtiger_invoiceshipads`
  ADD CONSTRAINT `fk_1_vtiger_invoiceshipads` FOREIGN KEY (`invoiceshipaddressid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoicestatushistory`
--
ALTER TABLE `vtiger_invoicestatushistory`
  ADD CONSTRAINT `fk_1_vtiger_invoicestatushistory` FOREIGN KEY (`invoiceid`) REFERENCES `vtiger_invoice` (`invoiceid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_invoice_recurring_info`
--
ALTER TABLE `vtiger_invoice_recurring_info`
  ADD CONSTRAINT `fk_salesorderid_vtiger_invoice_recurring_info` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_leadaddress`
--
ALTER TABLE `vtiger_leadaddress`
  ADD CONSTRAINT `fk_1_vtiger_leadaddress` FOREIGN KEY (`leadaddressid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_leaddetails`
--
ALTER TABLE `vtiger_leaddetails`
  ADD CONSTRAINT `fk_1_vtiger_leaddetails` FOREIGN KEY (`leadid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_leadscf`
--
ALTER TABLE `vtiger_leadscf`
  ADD CONSTRAINT `fk_1_vtiger_leadscf` FOREIGN KEY (`leadid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_leadsubdetails`
--
ALTER TABLE `vtiger_leadsubdetails`
  ADD CONSTRAINT `fk_1_vtiger_leadsubdetails` FOREIGN KEY (`leadsubscriptionid`) REFERENCES `vtiger_leaddetails` (`leadid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_modcomments`
--
ALTER TABLE `vtiger_modcomments`
  ADD CONSTRAINT `fk_crmid_vtiger_modcomments` FOREIGN KEY (`modcommentsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_modcommentscf`
--
ALTER TABLE `vtiger_modcommentscf`
  ADD CONSTRAINT `fk_modcommentsid_vtiger_modcommentscf` FOREIGN KEY (`modcommentsid`) REFERENCES `vtiger_modcomments` (`modcommentsid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_notes`
--
ALTER TABLE `vtiger_notes`
  ADD CONSTRAINT `fk_1_vtiger_notes` FOREIGN KEY (`notesid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_notescf`
--
ALTER TABLE `vtiger_notescf`
  ADD CONSTRAINT `fk_notesid_vtiger_notescf` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_org_share_action2tab`
--
ALTER TABLE `vtiger_org_share_action2tab`
  ADD CONSTRAINT `fk_2_vtiger_org_share_action2tab` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_parenttabrel`
--
ALTER TABLE `vtiger_parenttabrel`
  ADD CONSTRAINT `fk_1_vtiger_parenttabrel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_2_vtiger_parenttabrel` FOREIGN KEY (`parenttabid`) REFERENCES `vtiger_parenttab` (`parenttabid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pbxmanager`
--
ALTER TABLE `vtiger_pbxmanager`
  ADD CONSTRAINT `fk_crmid_vtiger_pbxmanager` FOREIGN KEY (`pbxmanagerid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pbxmanagercf`
--
ALTER TABLE `vtiger_pbxmanagercf`
  ADD CONSTRAINT `fk_pbxmanagerid_vtiger_pbxmanagercf` FOREIGN KEY (`pbxmanagerid`) REFERENCES `vtiger_pbxmanager` (`pbxmanagerid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pbxmanager_phonelookup`
--
ALTER TABLE `vtiger_pbxmanager_phonelookup`
  ADD CONSTRAINT `vtiger_pbxmanager_phonelookup_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pobillads`
--
ALTER TABLE `vtiger_pobillads`
  ADD CONSTRAINT `fk_1_vtiger_pobillads` FOREIGN KEY (`pobilladdressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_portalinfo`
--
ALTER TABLE `vtiger_portalinfo`
  ADD CONSTRAINT `fk_1_vtiger_portalinfo` FOREIGN KEY (`id`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_poshipads`
--
ALTER TABLE `vtiger_poshipads`
  ADD CONSTRAINT `fk_1_vtiger_poshipads` FOREIGN KEY (`poshipaddressid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_postatushistory`
--
ALTER TABLE `vtiger_postatushistory`
  ADD CONSTRAINT `fk_1_vtiger_postatushistory` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_potential`
--
ALTER TABLE `vtiger_potential`
  ADD CONSTRAINT `fk_1_vtiger_potential` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_potentialscf`
--
ALTER TABLE `vtiger_potentialscf`
  ADD CONSTRAINT `fk_1_vtiger_potentialscf` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_potstagehistory`
--
ALTER TABLE `vtiger_potstagehistory`
  ADD CONSTRAINT `fk_1_vtiger_potstagehistory` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pricebook`
--
ALTER TABLE `vtiger_pricebook`
  ADD CONSTRAINT `fk_1_vtiger_pricebook` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pricebookcf`
--
ALTER TABLE `vtiger_pricebookcf`
  ADD CONSTRAINT `fk_1_vtiger_pricebookcf` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_pricebook` (`pricebookid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_pricebookproductrel`
--
ALTER TABLE `vtiger_pricebookproductrel`
  ADD CONSTRAINT `fk_1_vtiger_pricebookproductrel` FOREIGN KEY (`pricebookid`) REFERENCES `vtiger_pricebook` (`pricebookid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_productcf`
--
ALTER TABLE `vtiger_productcf`
  ADD CONSTRAINT `fk_1_vtiger_productcf` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_products`
--
ALTER TABLE `vtiger_products`
  ADD CONSTRAINT `fk_1_vtiger_products` FOREIGN KEY (`productid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_producttaxrel`
--
ALTER TABLE `vtiger_producttaxrel`
  ADD CONSTRAINT `fk_crmid_vtiger_producttaxrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_profile2globalpermissions`
--
ALTER TABLE `vtiger_profile2globalpermissions`
  ADD CONSTRAINT `fk_1_vtiger_profile2globalpermissions` FOREIGN KEY (`profileid`) REFERENCES `vtiger_profile` (`profileid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_project`
--
ALTER TABLE `vtiger_project`
  ADD CONSTRAINT `fk_crmid_vtiger_project` FOREIGN KEY (`projectid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_projectcf`
--
ALTER TABLE `vtiger_projectcf`
  ADD CONSTRAINT `fk_projectid_vtiger_projectcf` FOREIGN KEY (`projectid`) REFERENCES `vtiger_project` (`projectid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_projectmilestone`
--
ALTER TABLE `vtiger_projectmilestone`
  ADD CONSTRAINT `fk_crmid_vtiger_projectmilestone` FOREIGN KEY (`projectmilestoneid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_projectmilestonecf`
--
ALTER TABLE `vtiger_projectmilestonecf`
  ADD CONSTRAINT `fk_projectmilestoneid_vtiger_projectmilestonecf` FOREIGN KEY (`projectmilestoneid`) REFERENCES `vtiger_projectmilestone` (`projectmilestoneid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_projecttask`
--
ALTER TABLE `vtiger_projecttask`
  ADD CONSTRAINT `fk_crmid_vtiger_projecttask` FOREIGN KEY (`projecttaskid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_projecttaskcf`
--
ALTER TABLE `vtiger_projecttaskcf`
  ADD CONSTRAINT `fk_projecttaskid_vtiger_projecttaskcf` FOREIGN KEY (`projecttaskid`) REFERENCES `vtiger_projecttask` (`projecttaskid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_purchaseorder`
--
ALTER TABLE `vtiger_purchaseorder`
  ADD CONSTRAINT `fk_4_vtiger_purchaseorder` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_crmid_vtiger_purchaseorder` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_purchaseordercf`
--
ALTER TABLE `vtiger_purchaseordercf`
  ADD CONSTRAINT `fk_1_vtiger_purchaseordercf` FOREIGN KEY (`purchaseorderid`) REFERENCES `vtiger_purchaseorder` (`purchaseorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_quotes`
--
ALTER TABLE `vtiger_quotes`
  ADD CONSTRAINT `fk_3_vtiger_quotes` FOREIGN KEY (`potentialid`) REFERENCES `vtiger_potential` (`potentialid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_crmid_vtiger_quotes` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_quotesbillads`
--
ALTER TABLE `vtiger_quotesbillads`
  ADD CONSTRAINT `fk_1_vtiger_quotesbillads` FOREIGN KEY (`quotebilladdressid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_quotescf`
--
ALTER TABLE `vtiger_quotescf`
  ADD CONSTRAINT `fk_1_vtiger_quotescf` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_quotesshipads`
--
ALTER TABLE `vtiger_quotesshipads`
  ADD CONSTRAINT `fk_1_vtiger_quotesshipads` FOREIGN KEY (`quoteshipaddressid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_quotestagehistory`
--
ALTER TABLE `vtiger_quotestagehistory`
  ADD CONSTRAINT `fk_1_vtiger_quotestagehistory` FOREIGN KEY (`quoteid`) REFERENCES `vtiger_quotes` (`quoteid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_recurringevents`
--
ALTER TABLE `vtiger_recurringevents`
  ADD CONSTRAINT `fk_1_vtiger_recurringevents` FOREIGN KEY (`activityid`) REFERENCES `vtiger_activity` (`activityid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_relcriteria`
--
ALTER TABLE `vtiger_relcriteria`
  ADD CONSTRAINT `fk_1_vtiger_relcriteria` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_report`
--
ALTER TABLE `vtiger_report`
  ADD CONSTRAINT `fk_2_vtiger_report` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_reportdatefilter`
--
ALTER TABLE `vtiger_reportdatefilter`
  ADD CONSTRAINT `fk_1_vtiger_reportdatefilter` FOREIGN KEY (`datefilterid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_reportgroupbycolumn`
--
ALTER TABLE `vtiger_reportgroupbycolumn`
  ADD CONSTRAINT `fk_1_vtiger_reportgroupbycolumn` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_reportmodules`
--
ALTER TABLE `vtiger_reportmodules`
  ADD CONSTRAINT `fk_1_vtiger_reportmodules` FOREIGN KEY (`reportmodulesid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_reportsortcol`
--
ALTER TABLE `vtiger_reportsortcol`
  ADD CONSTRAINT `fk_1_vtiger_reportsortcol` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_reportsummary`
--
ALTER TABLE `vtiger_reportsummary`
  ADD CONSTRAINT `fk_1_vtiger_reportsummary` FOREIGN KEY (`reportsummaryid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_report_sharegroups`
--
ALTER TABLE `vtiger_report_sharegroups`
  ADD CONSTRAINT `vtiger_groups_groupid_ibfk_1` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_report_reportid_ibfk_2` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_report_sharerole`
--
ALTER TABLE `vtiger_report_sharerole`
  ADD CONSTRAINT `vtiger_report_reportid_ibfk_3` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_role_roleid_ibfk_1` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_report_sharers`
--
ALTER TABLE `vtiger_report_sharers`
  ADD CONSTRAINT `vtiger_report_reportid_ibfk_4` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_rolesd_rsid_ibfk_1` FOREIGN KEY (`rsid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_report_shareusers`
--
ALTER TABLE `vtiger_report_shareusers`
  ADD CONSTRAINT `vtiger_reports_reportid_ibfk_1` FOREIGN KEY (`reportid`) REFERENCES `vtiger_report` (`reportid`) ON DELETE CASCADE,
  ADD CONSTRAINT `vtiger_users_userid_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_role2picklist`
--
ALTER TABLE `vtiger_role2picklist`
  ADD CONSTRAINT `fk_1_vtiger_role2picklist` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_2_vtiger_role2picklist` FOREIGN KEY (`picklistid`) REFERENCES `vtiger_picklist` (`picklistid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_salesmanactivityrel`
--
ALTER TABLE `vtiger_salesmanactivityrel`
  ADD CONSTRAINT `fk_2_vtiger_salesmanactivityrel` FOREIGN KEY (`smid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_salesmanattachmentsrel`
--
ALTER TABLE `vtiger_salesmanattachmentsrel`
  ADD CONSTRAINT `fk_2_vtiger_salesmanattachmentsrel` FOREIGN KEY (`attachmentsid`) REFERENCES `vtiger_attachments` (`attachmentsid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_salesmanticketrel`
--
ALTER TABLE `vtiger_salesmanticketrel`
  ADD CONSTRAINT `fk_2_vtiger_salesmanticketrel` FOREIGN KEY (`smid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_salesorder`
--
ALTER TABLE `vtiger_salesorder`
  ADD CONSTRAINT `fk_3_vtiger_salesorder` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_crmid_vtiger_salesorder` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_salesordercf`
--
ALTER TABLE `vtiger_salesordercf`
  ADD CONSTRAINT `fk_1_vtiger_salesordercf` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_seactivityrel`
--
ALTER TABLE `vtiger_seactivityrel`
  ADD CONSTRAINT `fk_2_vtiger_seactivityrel` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_seattachmentsrel`
--
ALTER TABLE `vtiger_seattachmentsrel`
  ADD CONSTRAINT `fk_2_vtiger_seattachmentsrel` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_selectcolumn`
--
ALTER TABLE `vtiger_selectcolumn`
  ADD CONSTRAINT `fk_1_vtiger_selectcolumn` FOREIGN KEY (`queryid`) REFERENCES `vtiger_selectquery` (`queryid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_senotesrel`
--
ALTER TABLE `vtiger_senotesrel`
  ADD CONSTRAINT `fk1_crmid` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_2_vtiger_senotesrel` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_seproductsrel`
--
ALTER TABLE `vtiger_seproductsrel`
  ADD CONSTRAINT `fk_2_vtiger_seproductsrel` FOREIGN KEY (`productid`) REFERENCES `vtiger_products` (`productid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_service`
--
ALTER TABLE `vtiger_service`
  ADD CONSTRAINT `fk_1_vtiger_service` FOREIGN KEY (`serviceid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_servicecf`
--
ALTER TABLE `vtiger_servicecf`
  ADD CONSTRAINT `fk_serviceid_vtiger_servicecf` FOREIGN KEY (`serviceid`) REFERENCES `vtiger_service` (`serviceid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_servicecontracts`
--
ALTER TABLE `vtiger_servicecontracts`
  ADD CONSTRAINT `fk_crmid_vtiger_servicecontracts` FOREIGN KEY (`servicecontractsid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_servicecontractscf`
--
ALTER TABLE `vtiger_servicecontractscf`
  ADD CONSTRAINT `fk_servicecontractsid_vtiger_servicecontractscf` FOREIGN KEY (`servicecontractsid`) REFERENCES `vtiger_servicecontracts` (`servicecontractsid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_seticketsrel`
--
ALTER TABLE `vtiger_seticketsrel`
  ADD CONSTRAINT `fk_2_vtiger_seticketsrel` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_settings_field`
--
ALTER TABLE `vtiger_settings_field`
  ADD CONSTRAINT `fk_1_vtiger_settings_field` FOREIGN KEY (`blockid`) REFERENCES `vtiger_settings_blocks` (`blockid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_smsnotifier`
--
ALTER TABLE `vtiger_smsnotifier`
  ADD CONSTRAINT `fk_crmid_vtiger_smsnotifier` FOREIGN KEY (`smsnotifierid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_smsnotifiercf`
--
ALTER TABLE `vtiger_smsnotifiercf`
  ADD CONSTRAINT `fk_smsnotifierid_vtiger_smsnotifiercf` FOREIGN KEY (`smsnotifierid`) REFERENCES `vtiger_smsnotifier` (`smsnotifierid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_sobillads`
--
ALTER TABLE `vtiger_sobillads`
  ADD CONSTRAINT `fk_1_vtiger_sobillads` FOREIGN KEY (`sobilladdressid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_soshipads`
--
ALTER TABLE `vtiger_soshipads`
  ADD CONSTRAINT `fk_1_vtiger_soshipads` FOREIGN KEY (`soshipaddressid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_sostatushistory`
--
ALTER TABLE `vtiger_sostatushistory`
  ADD CONSTRAINT `fk_1_vtiger_sostatushistory` FOREIGN KEY (`salesorderid`) REFERENCES `vtiger_salesorder` (`salesorderid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tab_info`
--
ALTER TABLE `vtiger_tab_info`
  ADD CONSTRAINT `fk_1_vtiger_tab_info` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `vtiger_ticketcf`
--
ALTER TABLE `vtiger_ticketcf`
  ADD CONSTRAINT `fk_1_vtiger_ticketcf` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_ticketcomments`
--
ALTER TABLE `vtiger_ticketcomments`
  ADD CONSTRAINT `fk_1_vtiger_ticketcomments` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_troubletickets` (`ticketid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_read_group_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_group_rel_sharing_per`
  ADD CONSTRAINT `fk_4_vtiger_tmp_read_group_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_read_group_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_group_sharing_per`
  ADD CONSTRAINT `fk_3_vtiger_tmp_read_group_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_read_user_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_user_rel_sharing_per`
  ADD CONSTRAINT `fk_4_vtiger_tmp_read_user_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_read_user_sharing_per`
--
ALTER TABLE `vtiger_tmp_read_user_sharing_per`
  ADD CONSTRAINT `fk_3_vtiger_tmp_read_user_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_write_group_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_group_rel_sharing_per`
  ADD CONSTRAINT `fk_4_vtiger_tmp_write_group_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_write_group_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_group_sharing_per`
  ADD CONSTRAINT `fk_3_vtiger_tmp_write_group_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_write_user_rel_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_user_rel_sharing_per`
  ADD CONSTRAINT `fk_4_vtiger_tmp_write_user_rel_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_tmp_write_user_sharing_per`
--
ALTER TABLE `vtiger_tmp_write_user_sharing_per`
  ADD CONSTRAINT `fk_3_vtiger_tmp_write_user_sharing_per` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_troubletickets`
--
ALTER TABLE `vtiger_troubletickets`
  ADD CONSTRAINT `fk_1_vtiger_troubletickets` FOREIGN KEY (`ticketid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_user2role`
--
ALTER TABLE `vtiger_user2role`
  ADD CONSTRAINT `fk_2_vtiger_user2role` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_users2group`
--
ALTER TABLE `vtiger_users2group`
  ADD CONSTRAINT `fk_2_vtiger_users2group` FOREIGN KEY (`userid`) REFERENCES `vtiger_users` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_user_module_preferences`
--
ALTER TABLE `vtiger_user_module_preferences`
  ADD CONSTRAINT `fk_2_vtiger_user_module_preferences` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `vtiger_vendor`
--
ALTER TABLE `vtiger_vendor`
  ADD CONSTRAINT `fk_1_vtiger_vendor` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_vendorcf`
--
ALTER TABLE `vtiger_vendorcf`
  ADD CONSTRAINT `fk_1_vtiger_vendorcf` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_vendorcontactrel`
--
ALTER TABLE `vtiger_vendorcontactrel`
  ADD CONSTRAINT `fk_2_vtiger_vendorcontactrel` FOREIGN KEY (`vendorid`) REFERENCES `vtiger_vendor` (`vendorid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_webforms_field`
--
ALTER TABLE `vtiger_webforms_field`
  ADD CONSTRAINT `fk_1_vtiger_webforms_field` FOREIGN KEY (`webformid`) REFERENCES `vtiger_webforms` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_3_vtiger_webforms_field` FOREIGN KEY (`fieldname`) REFERENCES `vtiger_field` (`fieldname`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_webform_file_fields`
--
ALTER TABLE `vtiger_webform_file_fields`
  ADD CONSTRAINT `fk_vtiger_webforms` FOREIGN KEY (`webformid`) REFERENCES `vtiger_webforms` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_wsapp_logs_details`
--
ALTER TABLE `vtiger_wsapp_logs_details`
  ADD CONSTRAINT `vtiger_wsapp_logs_basic_ibfk_1` FOREIGN KEY (`id`) REFERENCES `vtiger_wsapp_logs_basic` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_ws_entity_referencetype`
--
ALTER TABLE `vtiger_ws_entity_referencetype`
  ADD CONSTRAINT `vtiger_fk_1_actors_referencetype` FOREIGN KEY (`fieldtypeid`) REFERENCES `vtiger_ws_entity_fieldtype` (`fieldtypeid`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_ws_entity_tables`
--
ALTER TABLE `vtiger_ws_entity_tables`
  ADD CONSTRAINT `fk_1_vtiger_ws_actor_tables` FOREIGN KEY (`webservice_entity_id`) REFERENCES `vtiger_ws_entity` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `vtiger_ws_referencetype`
--
ALTER TABLE `vtiger_ws_referencetype`
  ADD CONSTRAINT `fk_1_vtiger_referencetype` FOREIGN KEY (`fieldtypeid`) REFERENCES `vtiger_ws_fieldtype` (`fieldtypeid`) ON DELETE CASCADE;
COMMIT;

