-- Table structure for table `vtiger_crmentity_seq` 
--

CREATE TABLE `vtiger_crmentity_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_crmentity_seq` 
--

INSERT INTO `vtiger_crmentity_seq` VALUES('823');

--
-- Table structure for table `vtiger_crmentitynotesrel` 
--

CREATE TABLE `vtiger_crmentitynotesrel` (
  `crmid` int(19) NOT NULL default '0',
  `notesid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`crmid`,`notesid`),
  KEY `crmentitynotesrel_notesid_idx` (`notesid`),
  KEY `crmentitynotesrel_crmid_idx` (`crmid`),
  CONSTRAINT `fk_2_vtiger_crmentitynotesrel` FOREIGN KEY (`notesid`) REFERENCES `vtiger_notes` (`notesid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_crmentitynotesrel` 
--


--
-- Table structure for table `vtiger_currency` 
--

CREATE TABLE `vtiger_currency` (
  `currencyid` int(19) NOT NULL auto_increment,
  `currency` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`currencyid`),
  UNIQUE KEY `currency_currency_idx` (`currency`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_currency` 
--

INSERT INTO `vtiger_currency` VALUES('1', 'Rupees', '0', '1');
INSERT INTO `vtiger_currency` VALUES('2', 'Dollar', '1', '1');
INSERT INTO `vtiger_currency` VALUES('3', 'Euro', '2', '1');

--
-- Table structure for table `vtiger_currency_info` 
--

CREATE TABLE `vtiger_currency_info` (
  `id` int(11) NOT NULL auto_increment,
  `currency_name` varchar(100) default NULL,
  `currency_code` varchar(100) default NULL,
  `currency_symbol` varchar(30) default NULL,
  `conversion_rate` decimal(10,3) default NULL,
  `currency_status` varchar(25) default NULL,
  `defaultid` varchar(10) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_currency_info` 
--

INSERT INTO `vtiger_currency_info` VALUES('1', 'EURO', 'EUR', 'EUR', '1.000', 'Active', '-11');

--
-- Table structure for table `vtiger_currency_info_seq` 
--

CREATE TABLE `vtiger_currency_info_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_currency_info_seq` 
--

INSERT INTO `vtiger_currency_info_seq` VALUES('1');

--
-- Table structure for table `vtiger_currency_seq` 
--

CREATE TABLE `vtiger_currency_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_currency_seq` 
--

INSERT INTO `vtiger_currency_seq` VALUES('3');

--
-- Table structure for table `vtiger_customaction` 
--

CREATE TABLE `vtiger_customaction` (
  `cvid` int(19) NOT NULL,
  `subject` varchar(250) NOT NULL,
  `module` varchar(50) NOT NULL,
  `content` text,
  KEY `customaction_cvid_idx` (`cvid`),
  CONSTRAINT `fk_1_vtiger_customaction` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_customaction` 
--


--
-- Table structure for table `vtiger_customerdetails` 
--

CREATE TABLE `vtiger_customerdetails` (
  `customerid` int(19) NOT NULL,
  `portal` varchar(3) default NULL,
  `support_start_date` date default NULL,
  `support_end_date` date default NULL,
  PRIMARY KEY  (`customerid`),
  CONSTRAINT `fk_1_vtiger_customerdetails` FOREIGN KEY (`customerid`) REFERENCES `vtiger_contactdetails` (`contactid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_customerdetails` 
--

INSERT INTO `vtiger_customerdetails` VALUES('11', '0', '2009-03-07', '2010-03-07');
INSERT INTO `vtiger_customerdetails` VALUES('12', '0', '2009-03-07', '2010-03-07');
INSERT INTO `vtiger_customerdetails` VALUES('133', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('134', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('135', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('136', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('137', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('138', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('139', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('140', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('141', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('142', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('143', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('144', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('145', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('146', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('147', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('148', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('149', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('150', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('151', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('152', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('153', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('154', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('155', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('156', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('157', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('158', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('159', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('160', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('161', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('162', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('163', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('164', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('165', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('166', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('167', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('168', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('169', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('170', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('171', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('172', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('173', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('174', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('175', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('176', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('177', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('178', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('179', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('180', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('181', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('182', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('183', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('184', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('185', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('186', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('187', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('188', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('189', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('190', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('191', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('192', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('193', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('194', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('195', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('196', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('197', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('198', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('199', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('200', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('201', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('202', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('203', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('204', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('205', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('206', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('207', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('208', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('209', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('210', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('211', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('212', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('213', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('214', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('215', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('216', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('217', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('218', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('219', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('220', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('221', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('222', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('223', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('224', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('225', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('226', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('227', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('228', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('229', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('230', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('231', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('232', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('233', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('234', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('235', '0', '2009-03-08', '2010-03-08');
INSERT INTO `vtiger_customerdetails` VALUES('236', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('237', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('238', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('239', '0', '2009-03-08', '2010-03-08');
INSERT INTO `vtiger_customerdetails` VALUES('240', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('241', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('242', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('243', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('244', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('245', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('246', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('247', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('248', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('249', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('250', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('251', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('252', '0', '2009-03-08', '2010-03-08');
INSERT INTO `vtiger_customerdetails` VALUES('253', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('254', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('255', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('256', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('257', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('258', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('259', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('260', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('261', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('262', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('263', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('264', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('265', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('266', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('267', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('268', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('269', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('270', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('271', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('272', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('273', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('274', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('275', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('276', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('277', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('278', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('279', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('280', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('281', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('282', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('283', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('284', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('285', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('287', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('288', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('289', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('290', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('291', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('292', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('293', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('294', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('295', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('296', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('297', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('298', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('299', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('300', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('301', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('302', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('303', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('304', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('305', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('306', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('307', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('309', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('310', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('311', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('312', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('313', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('314', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('315', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('316', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('317', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('318', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('319', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('320', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('321', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('322', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('323', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('324', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('325', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('326', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('327', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('395', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('396', '0', '2009-03-16', '2010-03-16');
INSERT INTO `vtiger_customerdetails` VALUES('397', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('398', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('399', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('400', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('401', '0', '2009-03-20', '2010-03-20');
INSERT INTO `vtiger_customerdetails` VALUES('402', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('403', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('404', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('405', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('406', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('407', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('408', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('409', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('410', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('411', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('412', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('413', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('414', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('415', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('416', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('417', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('418', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('419', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('420', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('421', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('422', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('423', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('424', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('425', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('426', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('427', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('428', '0', '2009-04-03', '2010-04-03');
INSERT INTO `vtiger_customerdetails` VALUES('429', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('430', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('431', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('432', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('433', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('434', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('435', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('436', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('437', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('438', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('439', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('440', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('441', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('442', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('443', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('444', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('445', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('446', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('448', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('449', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('450', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('451', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('452', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('453', '0', '2009-03-19', '2010-03-19');
INSERT INTO `vtiger_customerdetails` VALUES('454', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('455', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('456', '0', '2009-04-07', '2010-04-07');
INSERT INTO `vtiger_customerdetails` VALUES('457', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('458', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('459', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('460', '0', '2009-05-26', '2010-05-26');
INSERT INTO `vtiger_customerdetails` VALUES('461', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('462', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('463', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('464', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('465', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('466', '', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('467', '0', '', '');
INSERT INTO `vtiger_customerdetails` VALUES('514', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('515', '0', '2009-03-18', '2010-03-18');
INSERT INTO `vtiger_customerdetails` VALUES('672', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('674', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('676', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('677', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('679', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('681', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('683', '0', '2009-03-24', '2010-03-24');
INSERT INTO `vtiger_customerdetails` VALUES('685', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('687', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('689', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('691', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('693', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('695', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('696', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('697', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('698', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('700', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('702', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('704', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('706', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('708', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('709', '0', '2009-03-25', '2010-03-25');
INSERT INTO `vtiger_customerdetails` VALUES('716', '0', '2009-03-27', '2010-03-27');
INSERT INTO `vtiger_customerdetails` VALUES('722', '0', '2009-03-28', '2010-03-28');
INSERT INTO `vtiger_customerdetails` VALUES('728', '0', '2009-04-01', '2010-04-01');
INSERT INTO `vtiger_customerdetails` VALUES('730', '0', '2009-04-01', '2010-04-01');
INSERT INTO `vtiger_customerdetails` VALUES('731', '0', '2009-04-01', '2010-04-01');
INSERT INTO `vtiger_customerdetails` VALUES('733', '0', '2009-04-02', '2010-04-02');
INSERT INTO `vtiger_customerdetails` VALUES('734', '0', '2009-04-02', '2010-04-02');
INSERT INTO `vtiger_customerdetails` VALUES('735', '0', '2009-04-07', '2010-04-07');
INSERT INTO `vtiger_customerdetails` VALUES('736', '0', '2009-04-07', '2010-04-07');
INSERT INTO `vtiger_customerdetails` VALUES('738', '0', '2009-04-07', '2010-04-07');
INSERT INTO `vtiger_customerdetails` VALUES('740', '0', '2009-04-07', '2010-04-07');
INSERT INTO `vtiger_customerdetails` VALUES('741', '0', '2009-04-09', '2010-04-09');
INSERT INTO `vtiger_customerdetails` VALUES('742', '0', '2009-04-14', '2010-04-14');
INSERT INTO `vtiger_customerdetails` VALUES('744', '0', '2009-04-14', '2010-04-14');
INSERT INTO `vtiger_customerdetails` VALUES('745', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('747', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('748', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('750', '0', '2009-04-15', '2010-04-15');
INSERT INTO `vtiger_customerdetails` VALUES('752', '0', '2009-04-21', '2010-04-21');
INSERT INTO `vtiger_customerdetails` VALUES('754', '0', '2009-04-29', '2010-04-29');
INSERT INTO `vtiger_customerdetails` VALUES('755', '0', '2009-04-29', '2010-04-29');
INSERT INTO `vtiger_customerdetails` VALUES('756', '0', '2009-04-29', '2010-04-29');
INSERT INTO `vtiger_customerdetails` VALUES('758', '0', '2009-04-29', '2010-04-29');
INSERT INTO `vtiger_customerdetails` VALUES('760', '0', '2009-04-30', '2010-04-30');
INSERT INTO `vtiger_customerdetails` VALUES('762', '0', '2009-04-30', '2010-04-30');
INSERT INTO `vtiger_customerdetails` VALUES('764', '0', '2009-04-30', '2010-04-30');
INSERT INTO `vtiger_customerdetails` VALUES('765', '0', '2009-05-11', '2010-05-11');
INSERT INTO `vtiger_customerdetails` VALUES('766', '0', '2009-05-11', '2010-05-11');
INSERT INTO `vtiger_customerdetails` VALUES('768', '0', '2009-05-13', '2010-05-13');
INSERT INTO `vtiger_customerdetails` VALUES('770', '0', '2009-05-13', '2010-05-13');
INSERT INTO `vtiger_customerdetails` VALUES('771', '0', '2009-05-13', '2010-05-13');
INSERT INTO `vtiger_customerdetails` VALUES('773', '0', '2009-05-13', '2010-05-13');
INSERT INTO `vtiger_customerdetails` VALUES('775', '0', '2009-05-14', '2010-05-14');
INSERT INTO `vtiger_customerdetails` VALUES('777', '0', '2009-05-15', '2010-05-15');
INSERT INTO `vtiger_customerdetails` VALUES('778', '0', '2009-05-25', '2010-05-25');
INSERT INTO `vtiger_customerdetails` VALUES('780', '0', '2009-06-02', '2010-06-02');
INSERT INTO `vtiger_customerdetails` VALUES('782', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('783', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('785', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('787', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('788', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('790', '0', '2009-06-03', '2010-06-03');
INSERT INTO `vtiger_customerdetails` VALUES('791', '0', '2009-06-09', '2010-06-09');
INSERT INTO `vtiger_customerdetails` VALUES('792', '0', '2009-06-23', '2010-06-23');
INSERT INTO `vtiger_customerdetails` VALUES('795', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('797', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('799', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('800', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('801', '0', '2009-07-30', '2010-07-30');
INSERT INTO `vtiger_customerdetails` VALUES('802', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('803', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('804', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('806', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('808', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('809', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('810', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('812', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('813', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('815', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('817', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('819', '0', '2009-07-31', '2010-07-31');
INSERT INTO `vtiger_customerdetails` VALUES('821', '0', '2009-07-31', '2010-07-31');

--
-- Table structure for table `vtiger_customview` 
--

CREATE TABLE `vtiger_customview` (
  `cvid` int(19) NOT NULL,
  `viewname` varchar(100) NOT NULL,
  `setdefault` int(1) default '0',
  `setmetrics` int(1) default '0',
  `entitytype` varchar(25) NOT NULL,
  PRIMARY KEY  (`cvid`),
  KEY `customview_entitytype_idx` (`entitytype`),
  CONSTRAINT `fk_1_vtiger_customview` FOREIGN KEY (`entitytype`) REFERENCES `vtiger_tab` (`name`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_customview` 
--

INSERT INTO `vtiger_customview` VALUES('1', 'All', '1', '0', 'Leads');
INSERT INTO `vtiger_customview` VALUES('2', 'Hot Leads', '0', '1', 'Leads');
INSERT INTO `vtiger_customview` VALUES('3', 'This Month Leads', '0', '0', 'Leads');
INSERT INTO `vtiger_customview` VALUES('4', 'All', '1', '0', 'Accounts');
INSERT INTO `vtiger_customview` VALUES('6', 'New This Week', '0', '0', 'Accounts');
INSERT INTO `vtiger_customview` VALUES('7', 'All', '1', '0', 'Contacts');
INSERT INTO `vtiger_customview` VALUES('8', 'Contacts Address', '0', '0', 'Contacts');
INSERT INTO `vtiger_customview` VALUES('9', 'Todays Birthday', '0', '0', 'Contacts');
INSERT INTO `vtiger_customview` VALUES('10', 'All', '1', '0', 'Potentials');
INSERT INTO `vtiger_customview` VALUES('11', 'Potentials Won', '0', '1', 'Potentials');
INSERT INTO `vtiger_customview` VALUES('12', 'Prospecting', '0', '0', 'Potentials');
INSERT INTO `vtiger_customview` VALUES('13', 'All', '1', '0', 'HelpDesk');
INSERT INTO `vtiger_customview` VALUES('14', 'Open Tickets', '0', '1', 'HelpDesk');
INSERT INTO `vtiger_customview` VALUES('15', 'High Prioriy Tickets', '0', '0', 'HelpDesk');
INSERT INTO `vtiger_customview` VALUES('16', 'All', '1', '0', 'Quotes');
INSERT INTO `vtiger_customview` VALUES('17', 'Open Quotes', '0', '1', 'Quotes');
INSERT INTO `vtiger_customview` VALUES('18', 'Rejected Quotes', '0', '0', 'Quotes');
INSERT INTO `vtiger_customview` VALUES('19', 'All', '1', '0', 'Calendar');
INSERT INTO `vtiger_customview` VALUES('20', 'All', '1', '0', 'Emails');
INSERT INTO `vtiger_customview` VALUES('21', 'All', '1', '0', 'Invoice');
INSERT INTO `vtiger_customview` VALUES('22', 'All', '1', '0', 'Notes');
INSERT INTO `vtiger_customview` VALUES('23', 'All', '1', '0', 'PriceBooks');
INSERT INTO `vtiger_customview` VALUES('24', 'All', '1', '0', 'Products');
INSERT INTO `vtiger_customview` VALUES('25', 'All', '1', '0', 'PurchaseOrder');
INSERT INTO `vtiger_customview` VALUES('26', 'All', '1', '0', 'SalesOrder');
INSERT INTO `vtiger_customview` VALUES('27', 'All', '1', '0', 'Vendors');
INSERT INTO `vtiger_customview` VALUES('28', 'All', '1', '0', 'Faq');
INSERT INTO `vtiger_customview` VALUES('29', 'All', '1', '0', 'Campaigns');
INSERT INTO `vtiger_customview` VALUES('30', 'All', '1', '0', 'Webmails');
INSERT INTO `vtiger_customview` VALUES('31', 'Drafted FAQ', '0', '0', 'Faq');
INSERT INTO `vtiger_customview` VALUES('32', 'Published FAQ', '0', '0', 'Faq');
INSERT INTO `vtiger_customview` VALUES('33', 'Open Purchase Orders', '0', '0', 'PurchaseOrder');
INSERT INTO `vtiger_customview` VALUES('34', 'Received Purchase Orders', '0', '0', 'PurchaseOrder');
INSERT INTO `vtiger_customview` VALUES('35', 'Open Invoices', '0', '0', 'Invoice');
INSERT INTO `vtiger_customview` VALUES('36', 'Paid Invoices', '0', '0', 'Invoice');
INSERT INTO `vtiger_customview` VALUES('37', 'Pending Sales Orders', '0', '0', 'SalesOrder');
INSERT INTO `vtiger_customview` VALUES('38', 'Mécènes uniquement', '0', '0', 'Accounts');
INSERT INTO `vtiger_customview` VALUES('39', 'Partenaires uniquement', '0', '0', 'Accounts');
INSERT INTO `vtiger_customview` VALUES('40', 'Contact (mobile)', '0', '0', 'Contacts');

--
-- Table structure for table `vtiger_customview_seq` 
--

CREATE TABLE `vtiger_customview_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_customview_seq` 
--

INSERT INTO `vtiger_customview_seq` VALUES('40');

--
-- Table structure for table `vtiger_cvadvfilter` 
--

CREATE TABLE `vtiger_cvadvfilter` (
  `cvid` int(19) NOT NULL,
  `columnindex` int(11) NOT NULL,
  `columnname` varchar(250) default '',
  `comparator` varchar(10) default '',
  `value` varchar(200) default '',
  PRIMARY KEY  (`cvid`,`columnindex`),
  KEY `cvadvfilter_cvid_idx` (`cvid`),
  CONSTRAINT `fk_1_vtiger_cvadvfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_cvadvfilter` 
--

INSERT INTO `vtiger_cvadvfilter` VALUES('2', '0', 'vtiger_leaddetails:leadstatus:leadstatus:Leads_Lead_Status:V', 'e', 'Hot');
INSERT INTO `vtiger_cvadvfilter` VALUES('11', '0', 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V', 'e', 'Closed Won');
INSERT INTO `vtiger_cvadvfilter` VALUES('12', '0', 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V', 'e', 'Prospecting');
INSERT INTO `vtiger_cvadvfilter` VALUES('14', '0', 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V', 'n', 'Closed');
INSERT INTO `vtiger_cvadvfilter` VALUES('15', '0', 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V', 'e', 'High');
INSERT INTO `vtiger_cvadvfilter` VALUES('17', '0', 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'n', 'Accepted');
INSERT INTO `vtiger_cvadvfilter` VALUES('17', '1', 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'n', 'Rejected');
INSERT INTO `vtiger_cvadvfilter` VALUES('18', '0', 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V', 'e', 'Rejected');
INSERT INTO `vtiger_cvadvfilter` VALUES('31', '0', 'vtiger_faq:status:faqstatus:Faq_Status:V', 'e', 'Draft');
INSERT INTO `vtiger_cvadvfilter` VALUES('32', '0', 'vtiger_faq:status:faqstatus:Faq_Status:V', 'e', 'Published');
INSERT INTO `vtiger_cvadvfilter` VALUES('33', '0', 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V', 'e', 'Created, Approved, Delivered');
INSERT INTO `vtiger_cvadvfilter` VALUES('34', '0', 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V', 'e', 'Received Shipment');
INSERT INTO `vtiger_cvadvfilter` VALUES('35', '0', 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V', 'e', 'Created, Approved, Sent');
INSERT INTO `vtiger_cvadvfilter` VALUES('36', '0', 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V', 'e', 'Paid');
INSERT INTO `vtiger_cvadvfilter` VALUES('37', '0', 'vtiger_salesorder:sostatus:sostatus:SalesOrder_Status:V', 'e', 'Created, Approved');
INSERT INTO `vtiger_cvadvfilter` VALUES('38', '0', 'vtiger_account:account_type:accounttype:Accounts_Type:V', 'e', 'Mécène');
INSERT INTO `vtiger_cvadvfilter` VALUES('38', '1', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('38', '2', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('38', '3', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('38', '4', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('39', '0', 'vtiger_account:account_type:accounttype:Accounts_Type:V', 'e', 'Partenaire');
INSERT INTO `vtiger_cvadvfilter` VALUES('39', '1', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('39', '2', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('39', '3', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('39', '4', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('40', '0', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('40', '1', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('40', '2', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('40', '3', '', '', '');
INSERT INTO `vtiger_cvadvfilter` VALUES('40', '4', '', '', '');

--
-- Table structure for table `vtiger_cvcolumnlist` 
--

CREATE TABLE `vtiger_cvcolumnlist` (
  `cvid` int(19) NOT NULL,
  `columnindex` int(11) NOT NULL,
  `columnname` varchar(250) default '',
  PRIMARY KEY  (`cvid`,`columnindex`),
  KEY `cvcolumnlist_columnindex_idx` (`columnindex`),
  KEY `cvcolumnlist_cvid_idx` (`cvid`),
  CONSTRAINT `fk_1_vtiger_cvcolumnlist` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_cvcolumnlist` 
--

INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '0', 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '1', 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '2', 'vtiger_leaddetails:company:company:Leads_Company:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '3', 'vtiger_leadaddress:phone:phone:Leads_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '4', 'vtiger_leadsubdetails:website:website:Leads_Website:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '5', 'vtiger_leaddetails:email:email:Leads_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('1', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Leads_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '0', 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '1', 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '2', 'vtiger_leaddetails:company:company:Leads_Company:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '3', 'vtiger_leaddetails:leadsource:leadsource:Leads_Lead_Source:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '4', 'vtiger_leadsubdetails:website:website:Leads_Website:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('2', '5', 'vtiger_leaddetails:email:email:Leads_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '0', 'vtiger_leaddetails:firstname:firstname:Leads_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '1', 'vtiger_leaddetails:lastname:lastname:Leads_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '2', 'vtiger_leaddetails:company:company:Leads_Company:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '3', 'vtiger_leaddetails:leadsource:leadsource:Leads_Lead_Source:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '4', 'vtiger_leadsubdetails:website:website:Leads_Website:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('3', '5', 'vtiger_leaddetails:email:email:Leads_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('4', '0', 'vtiger_account:accountname:accountname:Accounts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('4', '1', 'vtiger_accountbillads:bill_city:bill_city:Accounts_City:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('4', '2', 'vtiger_account:website:website:Accounts_Website:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('4', '3', 'vtiger_account:phone:phone:Accounts_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('4', '4', 'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('6', '0', 'vtiger_account:accountname:accountname:Accounts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('6', '1', 'vtiger_account:phone:phone:Accounts_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('6', '2', 'vtiger_account:website:website:Accounts_Website:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('6', '3', 'vtiger_accountbillads:bill_city:bill_city:Accounts_City:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('6', '4', 'vtiger_crmentity:smownerid:assigned_user_id:Accounts_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '0', 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '1', 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '2', 'vtiger_contactdetails:title:title:Contacts_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '3', 'vtiger_account:accountname:accountname:Contacts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '4', 'vtiger_contactdetails:email:email:Contacts_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '5', 'vtiger_contactdetails:phone:phone:Contacts_Office_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('7', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '0', 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '1', 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '2', 'vtiger_contactaddress:mailingstreet:mailingstreet:Contacts_Mailing_Street:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '3', 'vtiger_contactaddress:mailingcity:mailingcity:Contacts_Mailing_City:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '4', 'vtiger_contactaddress:mailingstate:mailingstate:Contacts_Mailing_State:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '5', 'vtiger_contactaddress:mailingzip:mailingzip:Contacts_Mailing_Zip:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('8', '6', 'vtiger_contactaddress:mailingcountry:mailingcountry:Contacts_Mailing_Country:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '0', 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '1', 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '2', 'vtiger_contactdetails:title:title:Contacts_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '3', 'vtiger_account:accountname:accountname:Contacts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '4', 'vtiger_contactdetails:email:email:Contacts_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '5', 'vtiger_contactsubdetails:otherphone:otherphone:Contacts_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('9', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '0', 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '1', 'vtiger_account:accountname:accountname:Potentials_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '2', 'vtiger_potential:sales_stage:sales_stage:Potentials_Sales_Stage:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '3', 'vtiger_potential:leadsource:leadsource:Potentials_Lead_Source:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '4', 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('10', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('11', '0', 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('11', '1', 'vtiger_account:accountname:accountname:Potentials_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('11', '2', 'vtiger_potential:amount:amount:Potentials_Amount:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('11', '3', 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('11', '4', 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '0', 'vtiger_potential:potentialname:potentialname:Potentials_Potential_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '1', 'vtiger_account:accountname:accountname:Potentials_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '2', 'vtiger_potential:amount:amount:Potentials_Amount:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '3', 'vtiger_potential:leadsource:leadsource:Potentials_Lead_Source:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '4', 'vtiger_potential:closingdate:closingdate:Potentials_Expected_Close_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('12', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Potentials_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '0', 'vtiger_crmentity:crmid::HelpDesk_Ticket_ID:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '1', 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '2', 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '3', 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '4', 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('13', '5', 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('14', '0', 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('14', '1', 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('14', '2', 'vtiger_troubletickets:priority:ticketpriorities:HelpDesk_Priority:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('14', '3', 'vtiger_troubletickets:product_id:product_id:HelpDesk_Product_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('14', '4', 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('15', '0', 'vtiger_troubletickets:title:ticket_title:HelpDesk_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('15', '1', 'vtiger_troubletickets:parent_id:parent_id:HelpDesk_Related_to:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('15', '2', 'vtiger_troubletickets:status:ticketstatus:HelpDesk_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('15', '3', 'vtiger_troubletickets:product_id:product_id:HelpDesk_Product_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('15', '4', 'vtiger_crmentity:smownerid:assigned_user_id:HelpDesk_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '0', 'vtiger_crmentity:crmid::Quotes_Quote_No:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '1', 'vtiger_quotes:subject:subject:Quotes_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '2', 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '3', 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '4', 'vtiger_account:accountname:accountname:Quotes_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '5', 'vtiger_quotes:total:hdnGrandTotal:Quotes_Total:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('16', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '0', 'vtiger_quotes:subject:subject:Quotes_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '1', 'vtiger_quotes:quotestage:quotestage:Quotes_Quote_Stage:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '2', 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '3', 'vtiger_account:accountname:accountname:Quotes_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '4', 'vtiger_quotes:validtill:validtill:Quotes_Valid_Till:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('17', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('18', '0', 'vtiger_quotes:subject:subject:Quotes_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('18', '1', 'vtiger_quotes:potentialid:potential_id:Quotes_Potential_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('18', '2', 'vtiger_account:accountname:accountname:Quotes_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('18', '3', 'vtiger_quotes:validtill:validtill:Quotes_Valid_Till:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('18', '4', 'vtiger_crmentity:smownerid:assigned_user_id:Quotes_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '0', 'vtiger_activity:status:taskstatus:Calendar_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '1', 'vtiger_activity:activitytype:activitytype:Calendar_Type:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '2', 'vtiger_activity:subject:subject:Calendar_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '3', 'vtiger_seactivityrel:crmid:parent_id:Calendar_Related_to:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '4', 'vtiger_activity:date_start:date_start:Calendar_Start_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '5', 'vtiger_activity:due_date:due_date:Calendar_End_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('19', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Calendar_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('20', '0', 'vtiger_activity:subject:subject:Emails_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('20', '1', 'vtiger_crmentity:smownerid:assigned_user_id:Emails_Sender:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('20', '2', 'vtiger_activity:date_start:date_start:Emails_Date_Sent:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '0', 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '1', 'vtiger_invoice:subject:subject:Invoice_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '2', 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '3', 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '4', 'vtiger_invoice:total:hdnGrandTotal:Invoice_Total:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('21', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('22', '0', 'vtiger_notes:title:notes_title:Notes_Title:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('22', '1', 'vtiger_contactdetails:lastname:lastname:Notes_Contact_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('22', '2', 'vtiger_senotesrel:crmid:parent_id:Notes_Related_to:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('22', '3', 'vtiger_notes:filename:filename:Notes_File:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('22', '4', 'vtiger_crmentity:modifiedtime:modifiedtime:Notes_Modified_Time:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('23', '0', 'vtiger_pricebook:bookname:bookname:PriceBooks_Price_Book_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('23', '1', 'vtiger_pricebook:active:active:PriceBooks_Active:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '0', 'vtiger_products:productname:productname:Products_Product_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '1', 'vtiger_products:productcode:productcode:Products_Product_Code:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '2', 'vtiger_products:commissionrate:commissionrate:Products_Commission_Rate:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '3', 'vtiger_products:qtyinstock:qtyinstock:Products_Quantity_In_Stock:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '4', 'vtiger_products:qty_per_unit:qty_per_unit:Products_Qty/Unit:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('24', '5', 'vtiger_products:unit_price:unit_price:Products_Unit_Price:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('25', '0', 'vtiger_crmentity:crmid::PurchaseOrder_Order_No:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('25', '1', 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('25', '2', 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('25', '3', 'vtiger_purchaseorder:tracking_no:tracking_no:PurchaseOrder_Tracking_Number:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('25', '4', 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '0', 'vtiger_crmentity:crmid::SalesOrder_Order_No:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '1', 'vtiger_salesorder:subject:subject:SalesOrder_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '2', 'vtiger_account:accountname:accountname:SalesOrder_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '3', 'vtiger_quotes:quoteid:quote_id:SalesOrder_Quote_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '4', 'vtiger_salesorder:total:hdnGrandTotal:SalesOrder_Total:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('26', '5', 'vtiger_crmentity:smownerid:assigned_user_id:SalesOrder_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('27', '0', 'vtiger_vendor:vendorname:vendorname:Vendors_Vendor_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('27', '1', 'vtiger_vendor:phone:phone:Vendors_Phone:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('27', '2', 'vtiger_vendor:email:email:Vendors_Email:E');
INSERT INTO `vtiger_cvcolumnlist` VALUES('27', '3', 'vtiger_vendor:category:category:Vendors_Category:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '0', 'vtiger_faq:id::Faq_FAQ_Id:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '1', 'vtiger_faq:question:question:Faq_Question:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '2', 'vtiger_faq:category:faqcategories:Faq_Category:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '3', 'vtiger_faq:product_id:product_id:Faq_Product_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '4', 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('28', '5', 'vtiger_crmentity:modifiedtime:modifiedtime:Faq_Modified_Time:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '0', 'vtiger_campaign:campaignname:campaignname:Campaigns_Campaign_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '1', 'vtiger_campaign:campaigntype:campaigntype:Campaigns_Campaign_Type:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '2', 'vtiger_campaign:campaignstatus:campaignstatus:Campaigns_Campaign_Status:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '3', 'vtiger_campaign:expectedrevenue:expectedrevenue:Campaigns_Expected_Revenue:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '4', 'vtiger_campaign:closingdate:closingdate:Campaigns_Expected_Close_Date:D');
INSERT INTO `vtiger_cvcolumnlist` VALUES('29', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Campaigns_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('30', '0', 'subject:subject:subject:Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('30', '1', 'from:fromname:fromname:From:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('30', '2', 'to:tpname:toname:To:N');
INSERT INTO `vtiger_cvcolumnlist` VALUES('30', '3', 'body:body:body:Body:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('31', '0', 'vtiger_faq:question:question:Faq_Question:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('31', '1', 'vtiger_faq:status:faqstatus:Faq_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('31', '2', 'vtiger_faq:product_id:product_id:Faq_Product_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('31', '3', 'vtiger_faq:category:faqcategories:Faq_Category:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('31', '4', 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:T');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '0', 'vtiger_faq:question:question:Faq_Question:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '1', 'vtiger_faq:answer:faq_answer:Faq_Answer:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '2', 'vtiger_faq:status:faqstatus:Faq_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '3', 'vtiger_faq:product_id:product_id:Faq_Product_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '4', 'vtiger_faq:category:faqcategories:Faq_Category:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('32', '5', 'vtiger_crmentity:createdtime:createdtime:Faq_Created_Time:T');
INSERT INTO `vtiger_cvcolumnlist` VALUES('33', '0', 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('33', '1', 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('33', '2', 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('33', '3', 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('33', '4', 'vtiger_purchaseorder:duedate:duedate:PurchaseOrder_Due_Date:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '0', 'vtiger_purchaseorder:subject:subject:PurchaseOrder_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '1', 'vtiger_purchaseorder:vendorid:vendor_id:PurchaseOrder_Vendor_Name:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '2', 'vtiger_crmentity:smownerid:assigned_user_id:PurchaseOrder_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '3', 'vtiger_purchaseorder:postatus:postatus:PurchaseOrder_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '4', 'vtiger_purchaseorder:carrier:carrier:PurchaseOrder_Carrier:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('34', '5', 'vtiger_poshipads:ship_street:ship_street:PurchaseOrder_Shipping_Address:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '0', 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '1', 'vtiger_invoice:subject:subject:Invoice_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '2', 'vtiger_account:accountname:accountname:Invoice_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '3', 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '4', 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('35', '6', 'vtiger_crmentity:createdtime:createdtime:Invoice_Created_Time:T');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '0', 'vtiger_invoice:invoice_no:invoice_no:Invoice_Invoice_No:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '1', 'vtiger_invoice:subject:subject:Invoice_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '2', 'vtiger_account:accountname:accountname:Invoice_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '3', 'vtiger_invoice:salesorderid:salesorder_id:Invoice_Sales_Order:I');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '4', 'vtiger_invoice:invoicestatus:invoicestatus:Invoice_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '5', 'vtiger_invoiceshipads:ship_street:ship_street:Invoice_Shipping_Address:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('36', '6', 'vtiger_crmentity:smownerid:assigned_user_id:Invoice_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '0', 'vtiger_salesorder:subject:subject:SalesOrder_Subject:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '1', 'vtiger_account:accountname:accountname:SalesOrder_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '2', 'vtiger_salesorder:sostatus:sostatus:SalesOrder_Status:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '3', 'vtiger_crmentity:smownerid:assigned_user_id:SalesOrder_Assigned_To:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '4', 'vtiger_soshipads:ship_street:ship_street:SalesOrder_Shipping_Address:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('37', '5', 'vtiger_salesorder:carrier:carrier:SalesOrder_Carrier:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('38', '0', 'vtiger_account:accountname:accountname:Accounts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('38', '1', 'vtiger_accountbillads:bill_street:bill_street:Accounts_Billing_Address:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('38', '2', 'vtiger_accountbillads:bill_code:bill_code:Accounts_Billing_Code:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('38', '3', 'vtiger_accountbillads:bill_city:bill_city:Accounts_Billing_City:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('39', '0', 'vtiger_account:accountname:accountname:Accounts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('39', '1', 'vtiger_accountbillads:bill_street:bill_street:Accounts_Billing_Address:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('39', '2', 'vtiger_accountbillads:bill_code:bill_code:Accounts_Billing_Code:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('39', '3', 'vtiger_accountbillads:bill_city:bill_city:Accounts_Billing_City:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '0', 'vtiger_contactdetails:lastname:lastname:Contacts_Last_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '1', 'vtiger_contactdetails:firstname:firstname:Contacts_First_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '2', 'vtiger_account:accountname:accountname:Contacts_Account_Name:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '3', 'vtiger_contactdetails:mobile:mobile:Contacts_Mobile:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '4', 'vtiger_contactdetails:email:email:Contacts_Email:V');
INSERT INTO `vtiger_cvcolumnlist` VALUES('40', '5', 'vtiger_crmentity:smownerid:assigned_user_id:Contacts_Assigned_To:V');

--
-- Table structure for table `vtiger_cvstdfilter` 
--

CREATE TABLE `vtiger_cvstdfilter` (
  `cvid` int(19) NOT NULL,
  `columnname` varchar(250) default '',
  `stdfilter` varchar(250) default '',
  `startdate` date default NULL,
  `enddate` date default NULL,
  PRIMARY KEY  (`cvid`),
  KEY `cvstdfilter_cvid_idx` (`cvid`),
  CONSTRAINT `fk_1_vtiger_cvstdfilter` FOREIGN KEY (`cvid`) REFERENCES `vtiger_customview` (`cvid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_cvstdfilter` 
--

INSERT INTO `vtiger_cvstdfilter` VALUES('3', 'vtiger_crmentity:modifiedtime:modifiedtime:Leads_Modified_Time', 'thismonth', '2005-06-01', '2005-06-30');
INSERT INTO `vtiger_cvstdfilter` VALUES('6', 'vtiger_crmentity:createdtime:createdtime:Accounts_Created_Time', 'thisweek', '2005-06-19', '2005-06-25');
INSERT INTO `vtiger_cvstdfilter` VALUES('9', 'vtiger_contactsubdetails:birthday:birthday:Contacts_Birthdate', 'today', '2005-06-25', '2005-06-25');

--
-- Table structure for table `vtiger_datashare_grp2grp` 
--

CREATE TABLE `vtiger_datashare_grp2grp` (
  `shareid` int(19) NOT NULL,
  `share_groupid` int(19) default NULL,
  `to_groupid` int(19) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_grp2grp_share_groupid_idx` (`share_groupid`),
  KEY `datashare_grp2grp_to_groupid_idx` (`to_groupid`),
  CONSTRAINT `fk_3_vtiger_datashare_grp2grp` FOREIGN KEY (`to_groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_grp2grp` 
--


--
-- Table structure for table `vtiger_datashare_grp2role` 
--

CREATE TABLE `vtiger_datashare_grp2role` (
  `shareid` int(19) NOT NULL,
  `share_groupid` int(19) default NULL,
  `to_roleid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `idx_datashare_grp2role_share_groupid` (`share_groupid`),
  KEY `idx_datashare_grp2role_to_roleid` (`to_roleid`),
  CONSTRAINT `fk_3_vtiger_datashare_grp2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_grp2role` 
--

INSERT INTO `vtiger_datashare_grp2role` VALUES('11', '1', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('12', '4', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('14', '5', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('15', '6', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('16', '1', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('17', '1', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('18', '1', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('19', '1', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('20', '5', 'H9', '0');
INSERT INTO `vtiger_datashare_grp2role` VALUES('21', '6', 'H9', '0');

--
-- Table structure for table `vtiger_datashare_grp2rs` 
--

CREATE TABLE `vtiger_datashare_grp2rs` (
  `shareid` int(19) NOT NULL,
  `share_groupid` int(19) default NULL,
  `to_roleandsubid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_grp2rs_share_groupid_idx` (`share_groupid`),
  KEY `datashare_grp2rs_to_roleandsubid_idx` (`to_roleandsubid`),
  CONSTRAINT `fk_3_vtiger_datashare_grp2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_grp2rs` 
--


--
-- Table structure for table `vtiger_datashare_module_rel` 
--

CREATE TABLE `vtiger_datashare_module_rel` (
  `shareid` int(19) NOT NULL,
  `tabid` int(19) NOT NULL,
  `relationtype` varchar(200) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `idx_datashare_module_rel_tabid` (`tabid`),
  CONSTRAINT `fk_1_vtiger_datashare_module_rel` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_module_rel` 
--

INSERT INTO `vtiger_datashare_module_rel` VALUES('11', '6', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('12', '6', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('14', '6', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('15', '6', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('16', '23', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('17', '22', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('18', '20', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('19', '26', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('20', '26', 'GRP::ROLE');
INSERT INTO `vtiger_datashare_module_rel` VALUES('21', '26', 'GRP::ROLE');

--
-- Table structure for table `vtiger_datashare_module_rel_seq` 
--

CREATE TABLE `vtiger_datashare_module_rel_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_module_rel_seq` 
--

INSERT INTO `vtiger_datashare_module_rel_seq` VALUES('21');

--
-- Table structure for table `vtiger_datashare_relatedmodule_permission` 
--

CREATE TABLE `vtiger_datashare_relatedmodule_permission` (
  `shareid` int(19) NOT NULL,
  `datashare_relatedmodule_id` int(19) NOT NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`,`datashare_relatedmodule_id`),
  KEY `datashare_relatedmodule_permission_shareid_permissions_idx` (`shareid`,`permission`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_relatedmodule_permission` 
--

INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('11', '1', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('11', '2', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('11', '3', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('11', '4', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('11', '5', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('12', '1', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('12', '2', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('12', '3', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('12', '4', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('12', '5', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('14', '1', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('14', '2', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('14', '3', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('14', '4', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('14', '5', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('15', '1', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('15', '2', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('15', '3', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('15', '4', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('15', '5', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('17', '9', '0');
INSERT INTO `vtiger_datashare_relatedmodule_permission` VALUES('18', '8', '0');

--
-- Table structure for table `vtiger_datashare_relatedmodules` 
--

CREATE TABLE `vtiger_datashare_relatedmodules` (
  `datashare_relatedmodule_id` int(19) NOT NULL,
  `tabid` int(19) default NULL,
  `relatedto_tabid` int(19) default NULL,
  PRIMARY KEY  (`datashare_relatedmodule_id`),
  KEY `datashare_relatedmodules_tabid_idx` (`tabid`),
  KEY `datashare_relatedmodules_relatedto_tabid_idx` (`relatedto_tabid`),
  CONSTRAINT `fk_2_vtiger_datashare_relatedmodules` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_relatedmodules` 
--

INSERT INTO `vtiger_datashare_relatedmodules` VALUES('1', '6', '2');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('2', '6', '13');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('3', '6', '20');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('4', '6', '22');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('5', '6', '23');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('6', '2', '20');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('7', '2', '22');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('8', '20', '22');
INSERT INTO `vtiger_datashare_relatedmodules` VALUES('9', '22', '23');

--
-- Table structure for table `vtiger_datashare_relatedmodules_seq` 
--

CREATE TABLE `vtiger_datashare_relatedmodules_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_relatedmodules_seq` 
--

INSERT INTO `vtiger_datashare_relatedmodules_seq` VALUES('9');

--
-- Table structure for table `vtiger_datashare_role2group` 
--

CREATE TABLE `vtiger_datashare_role2group` (
  `shareid` int(19) NOT NULL,
  `share_roleid` varchar(255) default NULL,
  `to_groupid` int(19) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `idx_datashare_role2group_share_roleid` (`share_roleid`),
  KEY `idx_datashare_role2group_to_groupid` (`to_groupid`),
  CONSTRAINT `fk_3_vtiger_datashare_role2group` FOREIGN KEY (`share_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_role2group` 
--


--
-- Table structure for table `vtiger_datashare_role2role` 
--

CREATE TABLE `vtiger_datashare_role2role` (
  `shareid` int(19) NOT NULL,
  `share_roleid` varchar(255) default NULL,
  `to_roleid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_role2role_share_roleid_idx` (`share_roleid`),
  KEY `datashare_role2role_to_roleid_idx` (`to_roleid`),
  CONSTRAINT `fk_3_vtiger_datashare_role2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_role2role` 
--


--
-- Table structure for table `vtiger_datashare_role2rs` 
--

CREATE TABLE `vtiger_datashare_role2rs` (
  `shareid` int(19) NOT NULL,
  `share_roleid` varchar(255) default NULL,
  `to_roleandsubid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_role2s_share_roleid_idx` (`share_roleid`),
  KEY `datashare_role2s_to_roleandsubid_idx` (`to_roleandsubid`),
  CONSTRAINT `fk_3_vtiger_datashare_role2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_role2rs` 
--


--
-- Table structure for table `vtiger_datashare_rs2grp` 
--

CREATE TABLE `vtiger_datashare_rs2grp` (
  `shareid` int(19) NOT NULL,
  `share_roleandsubid` varchar(255) default NULL,
  `to_groupid` int(19) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_rs2grp_share_roleandsubid_idx` (`share_roleandsubid`),
  KEY `datashare_rs2grp_to_groupid_idx` (`to_groupid`),
  CONSTRAINT `fk_3_vtiger_datashare_rs2grp` FOREIGN KEY (`share_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_rs2grp` 
--


--
-- Table structure for table `vtiger_datashare_rs2role` 
--

CREATE TABLE `vtiger_datashare_rs2role` (
  `shareid` int(19) NOT NULL,
  `share_roleandsubid` varchar(255) default NULL,
  `to_roleid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_rs2role_share_roleandsubid_idx` (`share_roleandsubid`),
  KEY `datashare_rs2role_to_roleid_idx` (`to_roleid`),
  CONSTRAINT `fk_3_vtiger_datashare_rs2role` FOREIGN KEY (`to_roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_rs2role` 
--


--
-- Table structure for table `vtiger_datashare_rs2rs` 
--

CREATE TABLE `vtiger_datashare_rs2rs` (
  `shareid` int(19) NOT NULL,
  `share_roleandsubid` varchar(255) default NULL,
  `to_roleandsubid` varchar(255) default NULL,
  `permission` int(19) default NULL,
  PRIMARY KEY  (`shareid`),
  KEY `datashare_rs2rs_share_roleandsubid_idx` (`share_roleandsubid`),
  KEY `idx_datashare_rs2rs_to_roleandsubid_idx` (`to_roleandsubid`),
  CONSTRAINT `fk_3_vtiger_datashare_rs2rs` FOREIGN KEY (`to_roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_datashare_rs2rs` 
--


--
-- Table structure for table `vtiger_date_format` 
--

CREATE TABLE `vtiger_date_format` (
  `date_formatid` int(19) NOT NULL auto_increment,
  `date_format` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`date_formatid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_date_format` 
--

INSERT INTO `vtiger_date_format` VALUES('1', 'dd-mm-yyyy', '0', '1');
INSERT INTO `vtiger_date_format` VALUES('2', 'mm-dd-yyyy', '1', '1');
INSERT INTO `vtiger_date_format` VALUES('3', 'yyyy-mm-dd', '2', '1');

--
-- Table structure for table `vtiger_date_format_seq` 
--

CREATE TABLE `vtiger_date_format_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_date_format_seq` 
--

INSERT INTO `vtiger_date_format_seq` VALUES('3');

--
-- Table structure for table `vtiger_dealintimation` 
--

CREATE TABLE `vtiger_dealintimation` (
  `dealintimationid` int(19) NOT NULL default '0',
  `dealname` varchar(100) NOT NULL,
  `intimationamount` int(19) NOT NULL default '0',
  `dealprobability` decimal(3,2) NOT NULL default '0.00',
  `dealintimationactive` int(1) default NULL,
  `fromname` varchar(120) NOT NULL,
  `fromemailid` varchar(100) NOT NULL,
  `notifyemails` varchar(50) NOT NULL,
  `notifybccemails` varchar(50) NOT NULL,
  `notifyccmails` varchar(50) NOT NULL,
  `notifypotentialowner` int(1) default NULL,
  PRIMARY KEY  (`dealintimationid`),
  UNIQUE KEY `dealintimation_dealname_idx` (`dealname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_dealintimation` 
--


--
-- Table structure for table `vtiger_def_org_field` 
--

CREATE TABLE `vtiger_def_org_field` (
  `tabid` int(10) default NULL,
  `fieldid` int(19) NOT NULL,
  `visible` int(19) default NULL,
  `readonly` int(19) default NULL,
  PRIMARY KEY  (`fieldid`),
  KEY `def_org_field_tabid_fieldid_idx` (`tabid`,`fieldid`),
  KEY `def_org_field_tabid_idx` (`tabid`),
  KEY `def_org_field_visible_fieldid_idx` (`visible`,`fieldid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_def_org_field` 
--

INSERT INTO `vtiger_def_org_field` VALUES('6', '1', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '2', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '3', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '4', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '5', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '6', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '7', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '8', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '9', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '10', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '11', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '12', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '13', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '14', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '15', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '16', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '17', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '18', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '19', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '20', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '21', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '22', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '23', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '24', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '25', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '26', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '27', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '28', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '29', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '30', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '31', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '32', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '33', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('6', '34', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '35', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '36', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '37', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '38', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '39', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '40', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '41', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '42', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '43', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '44', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '45', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '46', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '47', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '48', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '49', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '50', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '51', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '52', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '53', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '54', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '55', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '56', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '57', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '58', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '59', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '60', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('7', '61', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '62', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '63', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '64', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '65', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '66', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '67', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '68', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '69', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '70', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '71', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '72', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '73', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '74', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '75', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '76', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '77', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '78', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '79', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '80', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '81', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '82', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '83', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '84', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '85', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '86', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '87', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '88', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '89', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '90', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '91', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '92', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '93', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '94', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '95', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '96', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '97', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '98', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '99', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '100', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '101', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '102', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('4', '103', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '104', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '105', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '106', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '107', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '108', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '109', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '110', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '111', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '112', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '113', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '114', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '115', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '116', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('2', '117', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '118', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '119', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '120', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '121', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '122', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '123', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '124', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '125', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '126', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '127', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '128', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '129', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '130', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '131', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '132', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '133', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '134', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '135', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '136', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '137', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '138', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '139', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('26', '140', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '141', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '142', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '143', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '144', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '145', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '146', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '147', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '148', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '149', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '150', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '151', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '152', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '153', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '154', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('13', '155', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '156', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '157', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '158', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '159', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '160', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '161', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '162', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '163', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '164', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '165', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '166', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '167', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '168', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '169', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '170', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '171', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '172', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '173', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '174', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '175', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '176', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '177', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '178', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '179', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '180', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '181', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '182', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '183', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('14', '184', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '185', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '186', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '187', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '188', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '189', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '190', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('8', '191', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '192', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '193', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '194', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '195', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '196', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '197', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '198', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '199', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '200', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '201', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('10', '202', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '203', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '204', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '205', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '206', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '207', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '208', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '209', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '210', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '211', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '212', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '213', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '214', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '215', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '216', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '217', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '218', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '219', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '220', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '221', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '222', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '223', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '224', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('9', '225', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '226', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '227', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '228', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '229', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '230', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '231', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '232', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '233', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '234', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '235', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '236', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '237', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '238', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '239', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '240', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '241', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '242', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '243', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '244', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '245', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('16', '246', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '247', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '248', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '249', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '250', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '251', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '252', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '253', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('15', '254', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '255', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '256', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '257', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '258', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '259', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '260', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '261', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '262', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '263', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '264', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '265', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '266', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '267', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '268', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('18', '269', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('19', '270', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('19', '271', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('19', '272', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('19', '273', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('19', '274', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '275', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '276', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '277', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '278', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '279', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '280', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '281', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '282', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '283', '1', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '284', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '285', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '286', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '287', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '288', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '289', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '290', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '291', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '292', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '293', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '294', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '295', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '296', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '297', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '298', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '299', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '300', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '301', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '302', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '303', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '304', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '305', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '306', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('20', '307', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '308', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '309', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '310', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '311', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '312', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '313', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '314', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '315', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '316', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '317', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '318', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '319', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '320', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '321', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '322', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '323', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '324', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '325', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '326', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '327', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '328', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '329', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '330', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '331', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '332', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '333', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '334', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '335', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '336', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '337', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '338', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '339', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '340', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('21', '341', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '342', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '343', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '344', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '345', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '346', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '347', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '348', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '349', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '350', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '351', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '352', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '353', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '354', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '355', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '356', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '357', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '358', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '359', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '360', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '361', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '362', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '363', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '364', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '365', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '366', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '367', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '368', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '369', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '370', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '371', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '372', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '373', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '374', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '375', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '376', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '377', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('22', '378', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '379', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '380', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '381', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '382', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '383', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '384', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '385', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '386', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '387', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '388', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '389', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '390', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '391', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '392', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '393', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '394', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '395', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '396', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '397', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '398', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '399', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '400', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '401', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '402', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '403', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '404', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '405', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '406', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '407', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '408', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '409', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '410', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '411', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '412', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '413', '0', '1');
INSERT INTO `vtiger_def_org_field` VALUES('23', '414', '0', '1');

--
-- Table structure for table `vtiger_def_org_share` 
--

CREATE TABLE `vtiger_def_org_share` (
  `ruleid` int(11) NOT NULL auto_increment,
  `tabid` int(11) NOT NULL,
  `permission` int(19) default NULL,
  `editstatus` int(19) default NULL,
  PRIMARY KEY  (`ruleid`),
  KEY `fk_1_vtiger_def_org_share` (`permission`),
  CONSTRAINT `fk_1_vtiger_def_org_share` FOREIGN KEY (`permission`) REFERENCES `vtiger_org_share_action_mapping` (`share_action_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_def_org_share` 
--

INSERT INTO `vtiger_def_org_share` VALUES('1', '2', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('2', '4', '3', '2');
INSERT INTO `vtiger_def_org_share` VALUES('3', '6', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('4', '7', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('5', '9', '3', '1');
INSERT INTO `vtiger_def_org_share` VALUES('6', '13', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('7', '16', '3', '2');
INSERT INTO `vtiger_def_org_share` VALUES('8', '20', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('9', '21', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('10', '22', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('11', '23', '3', '0');
INSERT INTO `vtiger_def_org_share` VALUES('12', '26', '3', '0');

--
-- Table structure for table `vtiger_def_org_share_seq` 
--

CREATE TABLE `vtiger_def_org_share_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_def_org_share_seq` 
--

INSERT INTO `vtiger_def_org_share_seq` VALUES('12');

--
-- Table structure for table `vtiger_defaultcv` 
--

CREATE TABLE `vtiger_defaultcv` (
  `tabid` int(19) NOT NULL,
  `defaultviewname` varchar(50) NOT NULL,
  `query` text,
  PRIMARY KEY  (`tabid`),
  CONSTRAINT `fk_1_vtiger_defaultcv` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_defaultcv` 
--


--
-- Table structure for table `vtiger_downloadpurpose` 
--

CREATE TABLE `vtiger_downloadpurpose` (
  `downloadpurposeid` int(19) NOT NULL auto_increment,
  `purpose` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`downloadpurposeid`),
  UNIQUE KEY `downloadpurpose_purpose_idx` (`purpose`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_downloadpurpose` 
--


--
-- Table structure for table `vtiger_duration_minutes` 
--

CREATE TABLE `vtiger_duration_minutes` (
  `minutesid` int(19) NOT NULL auto_increment,
  `duration_minutes` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`minutesid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_duration_minutes` 
--

INSERT INTO `vtiger_duration_minutes` VALUES('1', '00', '0', '1');
INSERT INTO `vtiger_duration_minutes` VALUES('2', '15', '1', '1');
INSERT INTO `vtiger_duration_minutes` VALUES('3', '30', '2', '1');
INSERT INTO `vtiger_duration_minutes` VALUES('4', '45', '3', '1');

--
-- Table structure for table `vtiger_duration_minutes_seq` 
--

CREATE TABLE `vtiger_duration_minutes_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_duration_minutes_seq` 
--

INSERT INTO `vtiger_duration_minutes_seq` VALUES('4');

--
-- Table structure for table `vtiger_durationhrs` 
--

CREATE TABLE `vtiger_durationhrs` (
  `hrsid` int(19) NOT NULL auto_increment,
  `hrs` varchar(50) default NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`hrsid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_durationhrs` 
--


--
-- Table structure for table `vtiger_durationmins` 
--

CREATE TABLE `vtiger_durationmins` (
  `minsid` int(19) NOT NULL auto_increment,
  `mins` varchar(50) default NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`minsid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_durationmins` 
--


--
-- Table structure for table `vtiger_emaildetails` 
--

CREATE TABLE `vtiger_emaildetails` (
  `emailid` int(19) NOT NULL,
  `from_email` varchar(50) NOT NULL default '',
  `to_email` text,
  `cc_email` text,
  `bcc_email` text,
  `assigned_user_email` varchar(50) NOT NULL default '',
  `idlists` varchar(50) NOT NULL default '',
  `email_flag` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`emailid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_emaildetails` 
--

INSERT INTO `vtiger_emaildetails` VALUES('8', 'loick@vieillescharrues.asso.fr', 'HIGELIN Pierre&lt;lroyant@yahoo.fr&gt;###', '', '', '', '5@43|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('9', 'helene@vieillescharrues.asso.fr', 'HIGELIN Pierre&lt;lroyant@yahoo.fr&gt;###', '', '', '', '5@43|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('13', 'helene@vieillescharrues.asso.fr', 'lroyant@yahoo.fr###lroyant@yahoo.fr###', '', '', '', '12@75|11@75|', 'SAVED');
INSERT INTO `vtiger_emaildetails` VALUES('25', 'helene@vieillescharrues.asso.fr', 'lroyant@yahoo.fr###', '', '', '', '12@75|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('29', 'helene@vieillescharrues.asso.fr', 'TETAZ Pierre-Emmanuel&lt;lroyant@yahoo.fr&gt;###', '', '', '', '11@75|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('331', 'loick@vieillescharrues.asso.fr', 'CZERKIEWICZ Cyril&lt;lroyant@yahoo.fr&gt;###BOITEL Christian&lt;lroyant@yahoo.fr&gt;###ARTIGUE Jérome&lt;lroyant@yahoo.fr&gt;###', '', '', '', '235@75|239@75|252@75|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('332', 'yvescolin@vieillescharrues.asso.fr', 'CZERKIEWICZ Cyril&lt;lroyant@yahoo.fr&gt;###BOITEL Christian&lt;lroyant@yahoo.fr&gt;###ARTIGUE Jérome&lt;lroyant@yahoo.fr&gt;###', '', '', '', '235@75|239@75|252@75|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('723', 'loick@vieillescharrues.asso.fr', 'ROYANT Loïck&lt;lroyant@gmail.com&gt;###', '', '', '', '722@75|', 'SENT');
INSERT INTO `vtiger_emaildetails` VALUES('724', 'loick@vieillescharrues.asso.fr', 'ROYANT Loïck&lt;lroyant@gmail.com&gt;###', '', '', '', '722@75|', 'SAVED');

--
-- Table structure for table `vtiger_emailtemplates` 
--

CREATE TABLE `vtiger_emailtemplates` (
  `foldername` varchar(100) default NULL,
  `templatename` varchar(100) default NULL,
  `subject` varchar(100) default NULL,
  `description` text,
  `body` text,
  `deleted` int(1) NOT NULL default '0',
  `templateid` int(19) NOT NULL auto_increment,
  PRIMARY KEY  (`templateid`),
  KEY `emailtemplates_foldernamd_templatename_subject_idx` (`foldername`,`templatename`,`subject`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_emailtemplates` 
--

INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Announcement for Release', 'Announcement for Release', 'Announcement of a release', 'Hello!   <br />\r\n	<br />\r\n	On behalf of the vtiger team,  I am pleased to announce the release of vtiger crm4.2 . This is a feature packed release including the mass email template handling, custom view feature, vtiger_reports feature and a host of other utilities. vtiger runs on all platforms.    <br />\r\n        <br />\r\n	Notable Features of vtiger are :   <br />\r\n	<br />\r\n	-Email Client Integration    <br />\r\n	-Trouble Ticket Integration   <br />\r\n	-Invoice Management Integration   <br />\r\n	-Reports Integration   <br />\r\n	-Portal Integration   <br />\r\n	-Enhanced Word Plugin Support   <br />\r\n	-Custom View Integration   <br />\r\n	<br />\r\n	Known Issues:   <br />\r\n	-ABCD   <br />\r\n	-EFGH   <br />\r\n	-IJKL   <br />\r\n	-MNOP   <br />\r\n	-QRST', '0', '1');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Pending Invoices', 'Invoices Pending', 'Payment Due', 'name <br />\r\nstreet, <br />\r\ncity, <br />\r\nstate, <br />\r\n zip) <br />\r\n  <br />\r\n Dear <br />\r\n <br />\r\n Please check the following invoices that are yet to be paid by you: <br />\r\n <br />\r\n No. Date      Amount <br />\r\n 1   1/1/01    $4000 <br />\r\n 2   2/2//01   $5000 <br />\r\n 3   3/3/01    $10000 <br />\r\n 4   7/4/01    $23560 <br />\r\n <br />\r\n Kindly let us know if there are any issues that you feel are pending to be discussed. <br />\r\n We will be more than happy to give you a call. <br />\r\n We would like to continue our business with you.', '0', '2');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Acceptance Proposal', 'Acceptance Proposal', 'Acceptance of Proposal', ' Dear <br />\r\n <br />\r\nYour proposal on the project XYZW has been reviewed by us <br />\r\nand is acceptable in its entirety. <br />\r\n <br />\r\nWe are eagerly looking forward to this project <br />\r\nand are pleased about having the opportunity to work <br />\r\ntogether. We look forward to a long standing relationship <br />\r\nwith your esteemed firm. <br />\r\n<br />\r\nI would like to take this opportunity to invite you <br />\r\nto a game of golf on Wednesday morning 9am at the <br />\r\nCuff Links Ground. We will be waiting for you in the <br />\r\nExecutive Lounge. <br />\r\n<br />\r\nLooking forward to seeing you there.', '0', '3');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Goods received acknowledgement', 'Goods received acknowledgement', 'Acknowledged Receipt of Goods', ' The undersigned hereby acknowledges receipt and delivery of the goods. <br />\r\nThe undersigned will release the payment subject to the goods being discovered not satisfactory. <br />\r\n<br />\r\nSigned under seal this <date>', '0', '4');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Accept Order', 'Accept Order', 'Acknowledgement/Acceptance of Order', ' Dear <br />\r\n         We are in receipt of your order as contained in the <br />\r\n   purchase order form.We consider this to be final and binding on both sides. <br />\r\nIf there be any exceptions noted, we shall consider them <br />\r\nonly if the objection is received within ten days of receipt of <br />\r\nthis notice. <br />\r\n <br />\r\nThank you for your patronage.', '0', '5');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Address Change', 'Change of Address', 'Address Change', 'Dear <br />\r\n <br />\r\nWe are relocating our office to <br />\r\n11111,XYZDEF Cross, <br />\r\nUVWWX Circle <br />\r\nThe telephone number for this new location is (101) 1212-1328. <br />\r\n<br />\r\nOur Manufacturing Division will continue operations <br />\r\nat 3250 Lovedale Square Avenue, in Frankfurt. <br />\r\n<br />\r\nWe hope to keep in touch with you all. <br />\r\nPlease update your addressbooks.', '0', '6');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Follow Up', 'Follow Up', 'Follow Up of meeting', 'Dear <br />\r\n<br />\r\nThank you for extending us the opportunity to meet with <br />\r\nyou and members of your staff. <br />\r\n<br />\r\nI know that John Doe serviced your account <br />\r\nfor many years and made many friends at your firm. He has personally <br />\r\ndiscussed with me the deep relationship that he had with your firm. <br />\r\nWhile his presence will be missed, I can promise that we will <br />\r\ncontinue to provide the fine service that was accorded by <br />\r\nJohn to your firm. <br />\r\n<br />\r\nI was genuinely touched to receive such fine hospitality. <br />\r\n<br />\r\nThank you once again.', '0', '7');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Target Crossed!', 'Target Crossed!', 'Fantastic Sales Spree!', 'Congratulations! <br />\r\n<br />\r\nThe numbers are in and I am proud to inform you that our <br />\r\ntotal sales for the previous quarter <br />\r\namounts to $100,000,00.00!. This is the first time <br />\r\nwe have exceeded the target by almost 30%. <br />\r\nWe have also beat the previous quarter record by a <br />\r\nwhopping 75%! <br />\r\n<br />\r\nLet us meet at Smoking Joe for a drink in the evening! <br />\r\n\r\nC you all there guys!', '0', '8');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Thanks Note', 'Thanks Note', 'Note of thanks', 'Dear <br />\r\n<br />\r\nThank you for your confidence in our ability to serve you. <br />\r\nWe are glad to be given the chance to serve you.I look <br />\r\nforward to establishing a long term partnership with you. <br />\r\nConsider me as a friend. <br />\r\nShould any need arise,please do give us a call.', '0', '9');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Customer Login Details', 'Customer Portal Login Details', 'Send Portal login details to customer', '<table width="700" cellspacing="0" cellpadding="0" border="0" align="center" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; background-color: rgb(122, 122, 254);">\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50"> </td>\r\n            <td>\r\n            <table width="100%" cellspacing="0" cellpadding="0" border="0">\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(255, 255, 255); font-weight: normal; line-height: 25px;">\r\n                                <tr>\r\n                                    <td align="center" rowspan="4">$logo$</td>\r\n                                    <td align="center"> </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="left" style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 24px; color: rgb(255, 255, 255); font-weight: bolder; line-height: 35px;">vtiger CRM<br /> </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="right" style="padding-right: 100px;">The honest Open Source CRM </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td> </td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">\r\n                                <tr>\r\n                                    <td valign="top">\r\n                                    <table width="100%" cellspacing="0" cellpadding="5" border="0">\r\n                                            <tr>\r\n                                                <td align="right" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);"> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(22, 72, 134); font-weight: bolder; line-height: 15px;">Dear $contact_name$, </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;"> Thank you very much for subscribing to the vtiger CRM - annual support service.<br />Here is your self service portal login details:</td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="center">\r\n                                                <table width="75%" cellspacing="0" cellpadding="10" border="0" style="border: 2px solid rgb(180, 180, 179); background-color: rgb(226, 226, 225); font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal;">\r\n                                                        <tr>\r\n                                                            <td><br />User ID     : <font color="#990000"><strong> $login_name$</strong></font> </td>\r\n                                                        </tr>\r\n                                                        <tr>\r\n                                                            <td>Password: <font color="#990000"><strong> $password$</strong></font> </td>\r\n                                                        </tr>\r\n                                                        <tr>\r\n                                                            <td align="center"> <strong>  $URL$<br /> </strong> </td>\r\n                                                        </tr>\r\n                                                </table>\r\n                                                </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;"><strong>NOTE:</strong> We suggest you to change your password after logging in first time. <br /><br /> <strong><u>Help Documentation</u></strong><br />  <br /> After logging in to vtiger Self-service Portal first time, you can access the vtiger CRM documents from the <strong>Documents</strong> tab. Following documents are available for your reference:<br />\r\n                                                <ul>\r\n                                                    <li>Installation Manual (Windows &amp; Linux OS)<br /> </li>\r\n                                                    <li>User &amp; Administrator Manual<br /> </li>\r\n                                                    <li>vtiger Customer Portal - User Manual<br /> </li>\r\n                                                    <li>vtiger Outlook Plugin - User Manual<br /> </li>\r\n                                                    <li>vtiger Office Plug-in - User Manual<br /> </li>\r\n                                                    <li>vtiger Thunderbird Extension - User Manual<br /> </li>\r\n                                                    <li>vtiger Web Forms - User Manual<br /> </li>\r\n                                                    <li>vtiger Firefox Tool bar - User Manual<br /> </li>\r\n                                                </ul>\r\n                                                <br />  <br /> <strong><u>Knowledge Base</u></strong><br /> <br /> Periodically we update frequently asked question based on our customer experiences. You can access the latest articles from the <strong>FAQ</strong> tab.<br /> <br /> <strong><u>vtiger CRM - Details</u></strong><br /> <br /> Kindly let us know your current vtiger CRM version and system specification so that we can provide you necessary guidelines to enhance your vtiger CRM system performance. Based on your system specification we alert you about the latest security &amp; upgrade patches.<br />  <br />			 Thank you once again and wish you a wonderful experience with vtiger CRM.<br /> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right"><strong style="padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: bold;"><br /><br />Best Regards</strong></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; line-height: 20px;">$support_team$ </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right"><a style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);" href="http://www.vtiger.com">www.vtiger.com</a></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                    </table>\r\n                                    </td>\r\n                                    <td width="1%" valign="top"> </td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="5" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(255, 255, 255); font-weight: normal; line-height: 15px; background-color: rgb(51, 51, 51);">\r\n                                <tr>\r\n                                    <td align="center">Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center">Telephone No: +91 - 44 - 4202 - 1990     Toll Free No: +1 877 788 4437</td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center">Email Id: <a style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(255, 255, 255);" href="mailto:support@vtiger.com">support@vtiger.com</a></td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n            </table>\r\n            </td>\r\n            <td width="50"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n</table>', '0', '10');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Template Mail Vieilles Charrues', 'Festival des Vieilles Charrues : Information Partenaires et Mécènes', 'Info partenaires / Patron des mails à destination des partenaires', '<table width="700" cellspacing="0" cellpadding="0" border="0" align="center" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; background-color: rgb(122, 122, 254);">\r\n    <tbody>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td>\r\n            <table width="100%" cellspacing="0" cellpadding="0" border="0">\r\n                <tbody>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(255, 255, 255); font-weight: normal; line-height: 25px;">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td bgcolor="#a5d6d9" style="vertical-align: top;" colspan="2"><br /></td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td style="vertical-align: top;">&nbsp;</td>\r\n                                    <td style="vertical-align: top;">&nbsp;</td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center" rowspan="4">$logo$</td>\r\n                                    <td style="text-align: center;"> <font size="5">Festival des Vieilles Charrues</font></td>\r\n                                </tr>\r\n                                <tr align="center">\r\n                                    <td style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 24px; color: rgb(255, 255, 255); font-weight: bolder; line-height: 35px;"><font size="3">16 / 17 / 18 / 19 Juillet 2009<br /></font></td>\r\n                                </tr>\r\n                                <tr align="center">\r\n                                    <td style="padding-right: 100px; text-align: right;">Information aux Partenaires et M&eacute;c&egrave;nes du Festival</td>\r\n                                </tr>\r\n                                <tr align="center">\r\n                                    <td> </td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td valign="top">\r\n                                    <table width="100%" cellspacing="0" cellpadding="5" border="0">\r\n                                        <tbody>\r\n                                            <tr>\r\n                                                <td align="right" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);"> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(22, 72, 134); font-weight: bolder; line-height: 15px;">Cher $contacts-lastname$, </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;">Chers amis,<br />&nbsp; <br />Je tiens tout d&rsquo;abord &agrave; vous remercier de votre fid&eacute;lit&eacute; et de votre collaboration avec le Festival des Vieilles Charrues, et nous nous r&eacute;jouissons de votre participation &agrave; nos c&ocirc;t&eacute;s cette ann&eacute;e encore.<br />&nbsp;<br />A l&rsquo;occasion d&rsquo;une r&eacute;organisation interne au sein de l&rsquo;&eacute;quipe du festival, je souhaite vous pr&eacute;senter la nouvelle &eacute;quipe en charge des partenariats et m&eacute;c&eacute;nat. Notre nouvelle &eacute;quipe est d&eacute;sormais compos&eacute;e de:<br />&nbsp;<br />- J&eacute;r&ocirc;me TREHOREL, qui remplace L&eacute;na Corre en tant que responsable des partenariats et m&eacute;c&eacute;nat. Il sera accompagn&eacute; d\'H&eacute;l&egrave;ne ROYANT, charg&eacute;e des relations partenaires - m&eacute;c&egrave;nes.<br />&nbsp;<br />Ils sont &agrave; votre disposition pour r&eacute;pondre &agrave; vos attentes.<br />&middot; J&eacute;r&ocirc;me TREHOREL: 02 98 99 30 34 - 06 88 67 60 03 - jerome@vieillescharrues.asso.fr<br />&middot; H&eacute;l&egrave;ne ROYANT: 02 98 99 43 18 - 06 63 09 94 68 - partenaires@vieillescharrues.asso.fr<br /><br />- Pascal GUENAN, membre du CA, responsable des invitations VIP : vip@vieillescharrues.asso.fr<br />- Lo&iuml;ck ROYANT, nouveau directeur des Vieilles Charrues : loickroyant@vieillescharrues.asso.fr<br />&nbsp;<br /><br />Ce renouvellement s&rsquo;accompagne d&rsquo;un certain nombre de nouveaut&eacute;s en mati&egrave;re de partenariats pour l&lsquo;&eacute;dition 2009 du festival, que je souhaite vous communiquer.<br />&nbsp;<br />Pour simplifier les cat&eacute;gories VIP, il n\'y aura d&eacute;sormais plus que deux formules, &agrave; savoir:<br />&nbsp;<br />&middot; Club VIP Vieilles Charrues, qui comprend l\'ensemble des prestations VIP: parking proche du site, acc&egrave;s backstage, gradins, ap&eacute;ritif, repas gastronomique au restaurant Glenmor.<br />&nbsp;<br />&middot; Backstage, qui comprend le parking invit&eacute;s et l\'acc&egrave;s backstage.<br />&nbsp; <br />Par ailleurs, je souhaite vous rappeler un fait important li&eacute; &agrave; la programmation de cette ann&eacute;e: le concert de Bruce Springsteen le jeudi 16 juillet 2009.<br />&nbsp;<br />La venue de Bruce Springsteen sur le site des Vieilles Charrues est conditionn&eacute;e par un contrat de production exclusif qui entra&icirc;ne une r&eacute;duction de la capacit&eacute; d\'accueil sur le site de 12 000 places. L\'acc&egrave;s pour le jeudi est de ce fait tr&egrave;s limit&eacute;. Cette limitation des places se r&eacute;percute sur l\'ensemble des cat&eacute;gories de personnes participant &agrave; l\'&eacute;v&eacute;nement, que ce soit festivaliers, backstage, VIP, ou accr&eacute;ditation pro presse. <br />Compte tenu de cette limitation, nous avons d&ucirc; mettre en place des dispositifs particuliers pour l\'acc&egrave;s au jeudi.<br />&nbsp;<br />Ainsi, il n\'y a aucune exon&eacute;ration possible sur le jeudi.<br /><br />Dans le cadre des places qui vous sont accord&eacute;es, la r&eacute;partition et les tarifs pour le jeudi se fera de la fa&ccedil;on suivante:<br /><br />&middot; Places VIP: elles sont disponibles sur la base d\'1/6 du total de places accord&eacute;es par partenaire ou m&eacute;c&egrave;ne en 2008.&nbsp; <br />&middot; Places backstage: 500 places propos&eacute;es, &agrave; r&eacute;server dans la limite des places disponibles et en fonction des demandes des ann&eacute;es pass&eacute;es.<br />&nbsp;<br />Concernant les tarifs de l\'&eacute;dition 2009, voici les premi&egrave;res estimations du jeudi:<br /><br />&middot; Places VIP jeudi: 145&euro; la place.<br />&middot; Places backstage jeudi: 63&euro; la place.<br />&nbsp;<br />Je vous conseille de faire vite pour vos achats de places du jeudi.<br />&nbsp;<br />Pour les r&eacute;servations, veuillez contacter Sylvie POULICHET au 02.98.99.43.01 ou par mail &agrave;: billetterie@vieillescharrues.asso.fr,&nbsp; ou Pascal GUENAN &agrave;: vip@vieillescharrues.asso.fr.<br />&nbsp;<br />&nbsp;<br />En pi&egrave;ces jointes vous retrouverez le r&eacute;capitulatif des diff&eacute;rentes cat&eacute;gories et l\'ensemble des tarifs pour l&rsquo;&eacute;dition 2009.<br />&nbsp;<br />Veuillez ne pas h&eacute;siter &agrave; nous contacter pour avoir plus de pr&eacute;cisions &agrave; ce sujet, nous nous ferons un plaisir de r&eacute;pondre &agrave; vos attentes.<br />&nbsp;<br />Bien &agrave; vous,<br /></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="text-align: left;"><font size="2">Lo&iuml;ck ROYANT<br /><font size="1" style="color: rgb(128, 128, 128);">Directeur du Festival des Vieilles Charrues</font></font><br /></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                        </tbody>\r\n                                    </table>\r\n                                    </td>\r\n                                    <td width="1%" valign="top"> </td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="5" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(255, 255, 255); font-weight: normal; line-height: 15px; background-color: rgb(51, 51, 51);">\r\n                            <tbody>\r\n                                <tr>\r\n                                    <td align="center"><font size="2">Festival des Vieilles Charrues<br /> 17, Place de la Mairie<br /> BP 204 - 29834 Carhaix cedex </font></td>\r\n                                </tr>\r\n                                <tr align="center">\r\n                                    <td style="vertical-align: top;"><font size="2">Tel : 02.98.99.30.34 / Fax : 02.98.99.25.46</font></td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center"><font size="2"> www.vieillescharrues.asso.fr</font></td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center"><font size="2">e-mail : <span style="color: rgb(0, 0, 255);">partenaires@vieillescharrues.asso.fr</span></font><br /></td>\r\n                                </tr>\r\n                            </tbody>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n            <td bgcolor="#a5d6d9"> </td>\r\n            <td width="50" bgcolor="#a5d6d9"> </td>\r\n        </tr>\r\n    </tbody>\r\n</table>', '0', '11');
INSERT INTO `vtiger_emailtemplates` VALUES('Public', 'Support end notification before a month', 'VtigerCRM Support Notification', 'Send Notification mail to customer before a month of support end date', '<table width="700" cellspacing="0" cellpadding="0" border="0" align="center" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; background-color: rgb(122, 122, 254);">\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td width="50"> </td>\r\n            <td>\r\n            <table width="100%" cellspacing="0" cellpadding="0" border="0">\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(255, 255, 255); font-weight: normal; line-height: 25px;">\r\n                                <tr>\r\n                                    <td align="center" rowspan="4">$logo$</td>\r\n                                    <td align="center"> </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="left" style="background-color: rgb(27, 77, 140); font-family: Arial,Helvetica,sans-serif; font-size: 24px; color: rgb(255, 255, 255); font-weight: bolder; line-height: 35px;">vtiger CRM </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="right" style="padding-right: 100px;">The honest Open Source CRM </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td> </td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="0" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: normal; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">\r\n                                <tr>\r\n                                    <td valign="top">\r\n                                    <table width="100%" cellspacing="0" cellpadding="5" border="0">\r\n                                            <tr>\r\n                                                <td align="right" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);"> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; color: rgb(22, 72, 134); font-weight: bolder; line-height: 15px;">Dear $contacts-lastname$, </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; text-align: justify; line-height: 20px;">This is just a notification mail regarding your support end.<br /><span style="font-weight: bold;">Priority:</span> Normal<br />Your Support is going to expire on next month.<br />Please contact support@vtiger.com<br /><br /><br /></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="center"><br /></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right"><strong style="padding: 2px; font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: bold;"><br /><br />Sincerly</strong></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(0, 0, 0); font-weight: normal; line-height: 20px;">Support Team </td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td align="right"><a href="http://www.vtiger.com" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(66, 66, 253);">www.vtiger.com</a></td>\r\n                                            </tr>\r\n                                            <tr>\r\n                                                <td> </td>\r\n                                            </tr>\r\n                                    </table>\r\n                                    </td>\r\n                                    <td width="1%" valign="top"> </td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>\r\n                        <table width="100%" cellspacing="0" cellpadding="5" border="0" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(255, 255, 255); font-weight: normal; line-height: 15px; background-color: rgb(51, 51, 51);">\r\n                                <tr>\r\n                                    <td align="center">Shree Narayana Complex, No 11 Sarathy Nagar, Vijaya Nagar , Velachery, Chennai - 600 042 India </td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center">Telephone No: +91 - 44 - 4202 - 1990     Toll Free No: +1 877 788 4437</td>\r\n                                </tr>\r\n                                <tr>\r\n                                    <td align="center">Email Id: <a href="mailto:info@vtiger.com" style="font-family: Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bolder; text-decoration: none; color: rgb(255, 255, 255);">info@vtiger.com</a></td>\r\n                                </tr>\r\n                        </table>\r\n                        </td>\r\n                    </tr>\r\n            </table>\r\n            </td>\r\n            <td width="50"> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n        <tr>\r\n            <td> </td>\r\n            <td> </td>\r\n            <td> </td>\r\n        </tr>\r\n</table>', '0', '12');

--
-- Table structure for table `vtiger_emailtemplates_seq` 
--

CREATE TABLE `vtiger_emailtemplates_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_emailtemplates_seq` 
--

INSERT INTO `vtiger_emailtemplates_seq` VALUES('13');

--
-- Table structure for table `vtiger_entityname` 
--

CREATE TABLE `vtiger_entityname` (
  `tabid` int(19) NOT NULL default '0',
  `modulename` varchar(50) NOT NULL,
  `tablename` varchar(100) NOT NULL,
  `fieldname` varchar(150) NOT NULL,
  `entityidfield` varchar(150) NOT NULL,
  `entityidcolumn` varchar(150) NOT NULL,
  PRIMARY KEY  (`tabid`),
  KEY `entityname_tabid_idx` (`tabid`),
  CONSTRAINT `fk_1_vtiger_entityname` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_entityname` 
--

INSERT INTO `vtiger_entityname` VALUES('2', 'Potentials', 'vtiger_potential', 'potentialname', 'potentialid', 'potential_id');
INSERT INTO `vtiger_entityname` VALUES('4', 'Contacts', 'vtiger_contactdetails', 'lastname,firstname', 'contactid', 'contact_id');
INSERT INTO `vtiger_entityname` VALUES('6', 'Accounts', 'vtiger_account', 'accountname', 'accountid', 'account_id');
INSERT INTO `vtiger_entityname` VALUES('7', 'Leads', 'vtiger_leaddetails', 'lastname,firstname', 'leadid', 'leadid');
INSERT INTO `vtiger_entityname` VALUES('8', 'Notes', 'vtiger_notes', 'title', 'notesid', 'notesid');
INSERT INTO `vtiger_entityname` VALUES('9', 'Calendar', 'vtiger_activity', 'subject', 'activityid', 'activityid');
INSERT INTO `vtiger_entityname` VALUES('10', 'Emails', 'vtiger_activity', 'subject', 'activityid', 'activityid');
INSERT INTO `vtiger_entityname` VALUES('13', 'HelpDesk', 'vtiger_troubletickets', 'title', 'ticketid', 'ticketid');
INSERT INTO `vtiger_entityname` VALUES('14', 'Products', 'vtiger_products', 'productname', 'productid', 'product_id');
INSERT INTO `vtiger_entityname` VALUES('15', 'Faq', 'vtiger_faq', 'question', 'id', 'id');
INSERT INTO `vtiger_entityname` VALUES('18', 'Vendors', 'vtiger_vendor', 'vendorname', 'vendorid', 'vendor_id');
INSERT INTO `vtiger_entityname` VALUES('19', 'PriceBooks', 'vtiger_pricebook', 'bookname', 'pricebookid', 'pricebookid');
INSERT INTO `vtiger_entityname` VALUES('20', 'Quotes', 'vtiger_quotes', 'subject', 'quoteid', 'quote_id');
INSERT INTO `vtiger_entityname` VALUES('21', 'PurchaseOrder', 'vtiger_purchaseorder', 'subject', 'purchaseorderid', 'purchaseorderid');
INSERT INTO `vtiger_entityname` VALUES('22', 'SalesOrder', 'vtiger_salesorder', 'subject', 'salesorderid', 'salesorder_id');
INSERT INTO `vtiger_entityname` VALUES('23', 'Invoice', 'vtiger_invoice', 'subject', 'invoiceid', 'invoiceid');
INSERT INTO `vtiger_entityname` VALUES('26', 'Campaigns', 'vtiger_campaign', 'campaignname', 'campaignid', 'campaignid');
INSERT INTO `vtiger_entityname` VALUES('29', 'Users', 'vtiger_users', 'last_name,first_name', 'id', 'id');

--
-- Table structure for table `vtiger_evaluationstatus` 
--

CREATE TABLE `vtiger_evaluationstatus` (
  `evalstatusid` int(19) NOT NULL auto_increment,
  `status` varchar(200) NOT NULL,
  `sortorderid` int(19) NOT NULL default '0',
  `presence` int(1) NOT NULL default '1',
  PRIMARY KEY  (`evalstatusid`),
  UNIQUE KEY `evaluationstatus_status_idx` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_evaluationstatus` 
--


--
-- Table structure for table `vtiger_eventstatus` 
--

CREATE TABLE `vtiger_eventstatus` (
  `eventstatusid` int(19) NOT NULL auto_increment,
  `eventstatus` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`eventstatusid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_eventstatus` 
--

INSERT INTO `vtiger_eventstatus` VALUES('1', 'Planned', '0', '110');
INSERT INTO `vtiger_eventstatus` VALUES('2', 'Held', '0', '111');
INSERT INTO `vtiger_eventstatus` VALUES('3', 'Not Held', '0', '112');

--
-- Table structure for table `vtiger_eventstatus_seq` 
--

CREATE TABLE `vtiger_eventstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_eventstatus_seq` 
--

INSERT INTO `vtiger_eventstatus_seq` VALUES('3');

--
-- Table structure for table `vtiger_expectedresponse` 
--

CREATE TABLE `vtiger_expectedresponse` (
  `expectedresponseid` int(19) NOT NULL auto_increment,
  `expectedresponse` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`expectedresponseid`),
  UNIQUE KEY `CampaignExpRes_UK01` (`expectedresponse`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_expectedresponse` 
--

INSERT INTO `vtiger_expectedresponse` VALUES('1', '--None--', '1', '203');
INSERT INTO `vtiger_expectedresponse` VALUES('2', 'Excellent', '1', '204');
INSERT INTO `vtiger_expectedresponse` VALUES('3', 'Good', '1', '205');
INSERT INTO `vtiger_expectedresponse` VALUES('4', 'Average', '1', '206');
INSERT INTO `vtiger_expectedresponse` VALUES('5', 'Poor', '1', '207');

--
-- Table structure for table `vtiger_expectedresponse_seq` 
--

CREATE TABLE `vtiger_expectedresponse_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_expectedresponse_seq` 
--

INSERT INTO `vtiger_expectedresponse_seq` VALUES('5');

--
-- Table structure for table `vtiger_faq` 
--

CREATE TABLE `vtiger_faq` (
  `id` int(11) NOT NULL auto_increment,
  `product_id` varchar(100) default NULL,
  `question` text,
  `answer` text,
  `category` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `faq_id_idx` (`id`),
  CONSTRAINT `fk_1_vtiger_faq` FOREIGN KEY (`id`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faq` 
--


--
-- Table structure for table `vtiger_faqcategories` 
--

CREATE TABLE `vtiger_faqcategories` (
  `faqcategories_id` int(19) NOT NULL auto_increment,
  `faqcategories` varchar(200) default NULL,
  `PRESENCE` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`faqcategories_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faqcategories` 
--

INSERT INTO `vtiger_faqcategories` VALUES('1', 'General', '1', '130');

--
-- Table structure for table `vtiger_faqcategories_seq` 
--

CREATE TABLE `vtiger_faqcategories_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faqcategories_seq` 
--

INSERT INTO `vtiger_faqcategories_seq` VALUES('1');

--
-- Table structure for table `vtiger_faqcomments` 
--

CREATE TABLE `vtiger_faqcomments` (
  `commentid` int(19) NOT NULL auto_increment,
  `faqid` int(19) default NULL,
  `comments` text,
  `createdtime` datetime NOT NULL,
  PRIMARY KEY  (`commentid`),
  KEY `faqcomments_faqid_idx` (`faqid`),
  CONSTRAINT `fk_1_vtiger_faqcomments` FOREIGN KEY (`faqid`) REFERENCES `vtiger_faq` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faqcomments` 
--


--
-- Table structure for table `vtiger_faqstatus` 
--

CREATE TABLE `vtiger_faqstatus` (
  `faqstatus_id` int(19) NOT NULL auto_increment,
  `faqstatus` varchar(200) default NULL,
  `PRESENCE` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`faqstatus_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faqstatus` 
--

INSERT INTO `vtiger_faqstatus` VALUES('1', 'Draft', '0', '166');
INSERT INTO `vtiger_faqstatus` VALUES('2', 'Reviewed', '0', '167');
INSERT INTO `vtiger_faqstatus` VALUES('3', 'Published', '0', '168');
INSERT INTO `vtiger_faqstatus` VALUES('4', 'Obsolete', '0', '169');

--
-- Table structure for table `vtiger_faqstatus_seq` 
--

CREATE TABLE `vtiger_faqstatus_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_faqstatus_seq` 
--

INSERT INTO `vtiger_faqstatus_seq` VALUES('4');

--
-- Table structure for table `vtiger_field` 
--

CREATE TABLE `vtiger_field` (
  `tabid` int(19) NOT NULL,
  `fieldid` int(19) NOT NULL auto_increment,
  `columnname` varchar(30) NOT NULL,
  `tablename` varchar(50) NOT NULL,
  `generatedtype` int(19) NOT NULL default '0',
  `uitype` varchar(30) NOT NULL,
  `fieldname` varchar(50) NOT NULL,
  `fieldlabel` varchar(50) NOT NULL,
  `readonly` int(1) NOT NULL,
  `presence` int(19) NOT NULL default '1',
  `selected` int(1) NOT NULL,
  `maximumlength` int(19) default NULL,
  `sequence` int(19) default NULL,
  `block` int(19) default NULL,
  `displaytype` int(19) default NULL,
  `typeofdata` varchar(100) default NULL,
  `quickcreate` int(10) NOT NULL default '1',
  `quickcreatesequence` int(19) default NULL,
  `info_type` varchar(20) default NULL,
  PRIMARY KEY  (`fieldid`),
  KEY `field_tabid_idx` (`tabid`),
  KEY `field_fieldname_idx` (`fieldname`),
  KEY `field_block_idx` (`block`),
  KEY `field_displaytype_idx` (`displaytype`),
  CONSTRAINT `fk_1_vtiger_field` FOREIGN KEY (`tabid`) REFERENCES `vtiger_tab` (`tabid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_field` 
--

INSERT INTO `vtiger_field` VALUES('6', '1', 'accountname', 'vtiger_account', '1', '2', 'accountname', 'Account Name', '1', '0', '0', '100', '1', '9', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '2', 'phone', 'vtiger_account', '1', '11', 'phone', 'Phone', '1', '0', '0', '100', '2', '9', '1', 'V~O', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '3', 'website', 'vtiger_account', '1', '17', 'website', 'Website', '1', '0', '0', '100', '3', '9', '1', 'V~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '4', 'fax', 'vtiger_account', '1', '1', 'fax', 'Fax', '1', '0', '0', '100', '4', '9', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '5', 'tickersymbol', 'vtiger_account', '1', '1', 'tickersymbol', 'Ticker Symbol', '1', '0', '0', '100', '5', '9', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '6', 'otherphone', 'vtiger_account', '1', '11', 'otherphone', 'Other Phone', '1', '0', '0', '100', '6', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '7', 'parentid', 'vtiger_account', '1', '51', 'account_id', 'Member Of', '1', '0', '0', '100', '7', '9', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '8', 'email1', 'vtiger_account', '1', '13', 'email1', 'Email', '1', '0', '0', '100', '8', '9', '1', 'E~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '9', 'employees', 'vtiger_account', '1', '7', 'employees', 'Employees', '1', '0', '0', '100', '9', '9', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '10', 'email2', 'vtiger_account', '1', '13', 'email2', 'Other Email', '1', '0', '0', '100', '10', '9', '1', 'E~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '11', 'ownership', 'vtiger_account', '1', '1', 'ownership', 'Ownership', '1', '0', '0', '100', '11', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '12', 'rating', 'vtiger_account', '1', '15', 'rating', 'Rating', '1', '0', '0', '100', '12', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '13', 'industry', 'vtiger_account', '1', '15', 'industry', 'industry', '1', '0', '0', '100', '13', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '14', 'siccode', 'vtiger_account', '1', '1', 'siccode', 'SIC Code', '1', '0', '0', '100', '14', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '15', 'account_type', 'vtiger_account', '1', '15', 'accounttype', 'Type', '1', '0', '0', '100', '15', '9', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '16', 'annualrevenue', 'vtiger_account', '1', '71', 'annual_revenue', 'Annual Revenue', '1', '0', '0', '100', '16', '9', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '17', 'emailoptout', 'vtiger_account', '1', '56', 'emailoptout', 'Email Opt Out', '1', '0', '0', '100', '17', '9', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '18', 'notify_owner', 'vtiger_account', '1', '56', 'notify_owner', 'Notify Owner', '1', '0', '0', '10', '18', '9', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('6', '19', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '19', '9', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '20', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '20', '9', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '21', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '21', '9', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '22', 'bill_street', 'vtiger_accountbillads', '1', '21', 'bill_street', 'Billing Address', '1', '0', '0', '100', '1', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '23', 'ship_street', 'vtiger_accountshipads', '1', '21', 'ship_street', 'Shipping Address', '1', '0', '0', '100', '2', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '24', 'bill_city', 'vtiger_accountbillads', '1', '1', 'bill_city', 'Billing City', '1', '0', '0', '100', '5', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '25', 'ship_city', 'vtiger_accountshipads', '1', '1', 'ship_city', 'Shipping City', '1', '0', '0', '100', '6', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '26', 'bill_state', 'vtiger_accountbillads', '1', '1', 'bill_state', 'Billing State', '1', '0', '0', '100', '7', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '27', 'ship_state', 'vtiger_accountshipads', '1', '1', 'ship_state', 'Shipping State', '1', '0', '0', '100', '8', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '28', 'bill_code', 'vtiger_accountbillads', '1', '1', 'bill_code', 'Billing Code', '1', '0', '0', '100', '9', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '29', 'ship_code', 'vtiger_accountshipads', '1', '1', 'ship_code', 'Shipping Code', '1', '0', '0', '100', '10', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '30', 'bill_country', 'vtiger_accountbillads', '1', '1', 'bill_country', 'Billing Country', '1', '0', '0', '100', '11', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '31', 'ship_country', 'vtiger_accountshipads', '1', '1', 'ship_country', 'Shipping Country', '1', '0', '0', '100', '12', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '32', 'bill_pobox', 'vtiger_accountbillads', '1', '1', 'bill_pobox', 'Billing Po Box', '1', '0', '0', '100', '3', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '33', 'ship_pobox', 'vtiger_accountshipads', '1', '1', 'ship_pobox', 'Shipping Po Box', '1', '0', '0', '100', '4', '11', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('6', '34', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '12', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '35', 'salutation', 'vtiger_leaddetails', '1', '55', 'salutationtype', 'Salutation', '1', '0', '0', '100', '1', '13', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '36', 'firstname', 'vtiger_leaddetails', '1', '55', 'firstname', 'First Name', '1', '0', '0', '100', '2', '13', '1', 'V~O', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '37', 'phone', 'vtiger_leadaddress', '1', '11', 'phone', 'Phone', '1', '0', '0', '100', '3', '13', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '38', 'lastname', 'vtiger_leaddetails', '1', '255', 'lastname', 'Last Name', '1', '0', '0', '100', '4', '13', '1', 'V~M', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '39', 'mobile', 'vtiger_leadaddress', '1', '1', 'mobile', 'Mobile', '1', '0', '0', '100', '5', '13', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '40', 'company', 'vtiger_leaddetails', '1', '2', 'company', 'Company', '1', '0', '0', '100', '6', '13', '1', 'V~M', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '41', 'fax', 'vtiger_leadaddress', '1', '1', 'fax', 'Fax', '1', '0', '0', '100', '7', '13', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '42', 'designation', 'vtiger_leaddetails', '1', '1', 'designation', 'Designation', '1', '0', '0', '100', '8', '13', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '43', 'email', 'vtiger_leaddetails', '1', '13', 'email', 'Email', '1', '0', '0', '100', '9', '13', '1', 'E~O', '0', '5', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '44', 'leadsource', 'vtiger_leaddetails', '1', '15', 'leadsource', 'Lead Source', '1', '0', '0', '100', '10', '13', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '45', 'website', 'vtiger_leadsubdetails', '1', '17', 'website', 'Website', '1', '0', '0', '100', '11', '13', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '46', 'industry', 'vtiger_leaddetails', '1', '15', 'industry', 'Industry', '1', '0', '0', '100', '12', '13', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '47', 'leadstatus', 'vtiger_leaddetails', '1', '15', 'leadstatus', 'Lead Status', '1', '0', '0', '100', '13', '13', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '48', 'annualrevenue', 'vtiger_leaddetails', '1', '71', 'annualrevenue', 'Annual Revenue', '1', '0', '0', '100', '14', '13', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '49', 'rating', 'vtiger_leaddetails', '1', '15', 'rating', 'Rating', '1', '0', '0', '100', '15', '13', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '50', 'noofemployees', 'vtiger_leaddetails', '1', '1', 'noofemployees', 'No Of Employees', '1', '0', '0', '100', '16', '13', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '51', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '17', '13', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '52', 'yahooid', 'vtiger_leaddetails', '1', '13', 'yahooid', 'Yahoo Id', '1', '0', '0', '100', '18', '13', '1', 'E~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('7', '53', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '19', '13', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '54', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '20', '13', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '55', 'lane', 'vtiger_leadaddress', '1', '21', 'lane', 'Street', '1', '0', '0', '100', '1', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '56', 'code', 'vtiger_leadaddress', '1', '1', 'code', 'Postal Code', '1', '0', '0', '100', '3', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '57', 'city', 'vtiger_leadaddress', '1', '1', 'city', 'City', '1', '0', '0', '100', '4', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '58', 'country', 'vtiger_leadaddress', '1', '1', 'country', 'Country', '1', '0', '0', '100', '5', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '59', 'state', 'vtiger_leadaddress', '1', '1', 'state', 'State', '1', '0', '0', '100', '6', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '60', 'pobox', 'vtiger_leadaddress', '1', '1', 'pobox', 'Po Box', '1', '0', '0', '100', '2', '15', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('7', '61', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '16', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '62', 'salutation', 'vtiger_contactdetails', '1', '55', 'salutationtype', 'Salutation', '1', '0', '0', '100', '1', '4', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '63', 'firstname', 'vtiger_contactdetails', '1', '55', 'firstname', 'First Name', '1', '0', '0', '100', '2', '4', '1', 'V~O', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '64', 'phone', 'vtiger_contactdetails', '1', '11', 'phone', 'Office Phone', '1', '0', '0', '100', '3', '4', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '65', 'lastname', 'vtiger_contactdetails', '1', '255', 'lastname', 'Last Name', '1', '0', '0', '100', '4', '4', '1', 'V~M', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '66', 'mobile', 'vtiger_contactdetails', '1', '1', 'mobile', 'Mobile', '1', '0', '0', '100', '5', '4', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '67', 'accountid', 'vtiger_contactdetails', '1', '51', 'account_id', 'Account Name', '1', '0', '0', '100', '6', '4', '1', 'I~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '68', 'homephone', 'vtiger_contactsubdetails', '1', '11', 'homephone', 'Home Phone', '1', '0', '0', '100', '7', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '69', 'leadsource', 'vtiger_contactsubdetails', '1', '15', 'leadsource', 'Lead Source', '1', '0', '0', '100', '8', '4', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '70', 'otherphone', 'vtiger_contactsubdetails', '1', '11', 'otherphone', 'Other Phone', '1', '0', '0', '100', '9', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '71', 'title', 'vtiger_contactdetails', '1', '1', 'title', 'Title', '1', '0', '0', '100', '10', '4', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '72', 'fax', 'vtiger_contactdetails', '1', '1', 'fax', 'Fax', '1', '0', '0', '100', '11', '4', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '73', 'department', 'vtiger_contactdetails', '1', '1', 'department', 'Department', '1', '0', '0', '100', '12', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '74', 'birthday', 'vtiger_contactsubdetails', '1', '5', 'birthday', 'Birthdate', '1', '0', '0', '100', '14', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '75', 'email', 'vtiger_contactdetails', '1', '13', 'email', 'Email', '1', '0', '0', '100', '15', '4', '1', 'E~O', '0', '5', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '76', 'reportsto', 'vtiger_contactdetails', '1', '57', 'contact_id', 'Reports To', '1', '0', '0', '100', '16', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '77', 'assistant', 'vtiger_contactsubdetails', '1', '1', 'assistant', 'Assistant', '1', '0', '0', '100', '17', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '78', 'yahooid', 'vtiger_contactdetails', '1', '13', 'yahooid', 'Yahoo Id', '1', '0', '0', '100', '18', '4', '1', 'E~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '79', 'assistantphone', 'vtiger_contactsubdetails', '1', '11', 'assistantphone', 'Assistant Phone', '1', '0', '0', '100', '19', '4', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '80', 'donotcall', 'vtiger_contactdetails', '1', '56', 'donotcall', 'Do Not Call', '1', '0', '0', '100', '20', '4', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '81', 'emailoptout', 'vtiger_contactdetails', '1', '56', 'emailoptout', 'Email Opt Out', '1', '0', '0', '100', '21', '4', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '82', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '22', '4', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '83', 'reference', 'vtiger_contactdetails', '1', '56', 'reference', 'Reference', '1', '0', '0', '10', '23', '4', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '84', 'notify_owner', 'vtiger_contactdetails', '1', '56', 'notify_owner', 'Notify Owner', '1', '0', '0', '10', '24', '4', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '85', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '25', '4', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '86', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '26', '4', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '87', 'portal', 'vtiger_customerdetails', '1', '56', 'portal', 'Portal User', '1', '0', '0', '100', '1', '6', '1', 'C~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '88', 'support_start_date', 'vtiger_customerdetails', '1', '5', 'support_start_date', 'Support Start Date', '1', '0', '0', '100', '2', '6', '1', 'D~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '89', 'support_end_date', 'vtiger_customerdetails', '1', '5', 'support_end_date', 'Support End Date', '1', '0', '0', '100', '3', '6', '1', 'D~O~OTH~GE~support_start_date~Support Start Date', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '90', 'mailingstreet', 'vtiger_contactaddress', '1', '21', 'mailingstreet', 'Mailing Street', '1', '0', '0', '100', '1', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '91', 'otherstreet', 'vtiger_contactaddress', '1', '21', 'otherstreet', 'Other Street', '1', '0', '0', '100', '2', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '92', 'mailingcity', 'vtiger_contactaddress', '1', '1', 'mailingcity', 'Mailing City', '1', '0', '0', '100', '5', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '93', 'othercity', 'vtiger_contactaddress', '1', '1', 'othercity', 'Other City', '1', '0', '0', '100', '6', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '94', 'mailingstate', 'vtiger_contactaddress', '1', '1', 'mailingstate', 'Mailing State', '1', '0', '0', '100', '7', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '95', 'otherstate', 'vtiger_contactaddress', '1', '1', 'otherstate', 'Other State', '1', '0', '0', '100', '8', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '96', 'mailingzip', 'vtiger_contactaddress', '1', '1', 'mailingzip', 'Mailing Zip', '1', '0', '0', '100', '9', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '97', 'otherzip', 'vtiger_contactaddress', '1', '1', 'otherzip', 'Other Zip', '1', '0', '0', '100', '10', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '98', 'mailingcountry', 'vtiger_contactaddress', '1', '1', 'mailingcountry', 'Mailing Country', '1', '0', '0', '100', '11', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '99', 'othercountry', 'vtiger_contactaddress', '1', '1', 'othercountry', 'Other Country', '1', '0', '0', '100', '12', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '100', 'mailingpobox', 'vtiger_contactaddress', '1', '1', 'mailingpobox', 'Mailing Po Box', '1', '0', '0', '100', '3', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '101', 'otherpobox', 'vtiger_contactaddress', '1', '1', 'otherpobox', 'Other Po Box', '1', '0', '0', '100', '4', '7', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('4', '102', 'imagename', 'vtiger_contactdetails', '1', '69', 'imagename', 'Contact Image', '1', '0', '0', '100', '1', '75', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('4', '103', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '8', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '104', 'potentialname', 'vtiger_potential', '1', '2', 'potentialname', 'Potential Name', '1', '0', '0', '100', '1', '1', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '105', 'amount', 'vtiger_potential', '1', '71', 'amount', 'Amount', '1', '0', '0', '100', '2', '1', '1', 'N~O', '0', '5', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '106', 'accountid', 'vtiger_potential', '1', '50', 'account_id', 'Account Name', '1', '0', '0', '100', '3', '1', '1', 'V~M', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '107', 'closingdate', 'vtiger_potential', '1', '23', 'closingdate', 'Expected Close Date', '1', '0', '0', '100', '5', '1', '1', 'D~M', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '108', 'potentialtype', 'vtiger_potential', '1', '15', 'opportunity_type', 'Type', '1', '0', '0', '100', '6', '1', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '109', 'nextstep', 'vtiger_potential', '1', '1', 'nextstep', 'Next Step', '1', '0', '0', '100', '7', '1', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '110', 'leadsource', 'vtiger_potential', '1', '15', 'leadsource', 'Lead Source', '1', '0', '0', '100', '8', '1', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '111', 'sales_stage', 'vtiger_potential', '1', '16', 'sales_stage', 'Sales Stage', '1', '0', '0', '100', '9', '1', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '112', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '10', '1', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '113', 'probability', 'vtiger_potential', '1', '9', 'probability', 'Probability', '1', '0', '0', '100', '11', '1', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '114', 'campaignid', 'vtiger_potential', '1', '58', 'campaignid', 'Campaign Source', '1', '0', '0', '100', '12', '1', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '115', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '13', '1', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '116', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '14', '1', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('2', '117', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '3', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '118', 'campaignname', 'vtiger_campaign', '1', '2', 'campaignname', 'Campaign Name', '1', '0', '0', '100', '1', '76', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '119', 'campaigntype', 'vtiger_campaign', '1', '15', 'campaigntype', 'Campaign Type', '1', '0', '0', '100', '5', '76', '1', 'V~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '120', 'product_id', 'vtiger_campaign', '1', '59', 'product_id', 'Product', '1', '0', '0', '100', '4', '76', '1', 'I~O', '0', '5', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '121', 'campaignstatus', 'vtiger_campaign', '1', '15', 'campaignstatus', 'Campaign Status', '1', '0', '0', '100', '2', '76', '1', 'V~O', '0', '6', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '122', 'closingdate', 'vtiger_campaign', '1', '23', 'closingdate', 'Expected Close Date', '1', '0', '0', '100', '6', '76', '1', 'D~M', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '123', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '3', '76', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '124', 'numsent', 'vtiger_campaign', '1', '9', 'numsent', 'Num Sent', '1', '0', '0', '100', '10', '76', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '125', 'sponsor', 'vtiger_campaign', '1', '1', 'sponsor', 'Sponsor', '1', '0', '0', '100', '9', '76', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '126', 'targetaudience', 'vtiger_campaign', '1', '1', 'targetaudience', 'Target Audience', '1', '0', '0', '100', '7', '76', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '127', 'targetsize', 'vtiger_campaign', '1', '1', 'targetsize', 'TargetSize', '1', '0', '0', '100', '8', '76', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '128', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '11', '76', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '129', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '12', '76', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '130', 'expectedresponse', 'vtiger_campaign', '1', '15', 'expectedresponse', 'Expected Response', '1', '0', '0', '100', '3', '78', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '131', 'expectedrevenue', 'vtiger_campaign', '1', '1', 'expectedrevenue', 'Expected Revenue', '1', '0', '0', '100', '4', '78', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '132', 'budgetcost', 'vtiger_campaign', '1', '1', 'budgetcost', 'Budget Cost', '1', '0', '0', '100', '1', '78', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '133', 'actualcost', 'vtiger_campaign', '1', '1', 'actualcost', 'Actual Cost', '1', '0', '0', '100', '2', '78', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '134', 'expectedresponsecount', 'vtiger_campaign', '1', '1', 'expectedresponsecount', 'Expected Response Count', '1', '0', '0', '100', '7', '78', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '135', 'expectedsalescount', 'vtiger_campaign', '1', '1', 'expectedsalescount', 'Expected Sales Count', '1', '0', '0', '100', '5', '78', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '136', 'expectedroi', 'vtiger_campaign', '1', '1', 'expectedroi', 'Expected ROI', '1', '0', '0', '100', '9', '78', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '137', 'actualresponsecount', 'vtiger_campaign', '1', '1', 'actualresponsecount', 'Actual Response Count', '1', '0', '0', '100', '8', '78', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '138', 'actualsalescount', 'vtiger_campaign', '1', '1', 'actualsalescount', 'Actual Sales Count', '1', '0', '0', '100', '6', '78', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '139', 'actualroi', 'vtiger_campaign', '1', '1', 'actualroi', 'Actual ROI', '1', '0', '0', '100', '10', '78', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('26', '140', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '82', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '141', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '2', '25', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '142', 'parent_id', 'vtiger_troubletickets', '1', '68', 'parent_id', 'Related To', '1', '0', '0', '100', '4', '25', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '143', 'priority', 'vtiger_troubletickets', '1', '15', 'ticketpriorities', 'Priority', '1', '0', '0', '100', '5', '25', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '144', 'product_id', 'vtiger_troubletickets', '1', '59', 'product_id', 'Product Name', '1', '0', '0', '100', '6', '25', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '145', 'severity', 'vtiger_troubletickets', '1', '15', 'ticketseverities', 'Severity', '1', '0', '0', '100', '7', '25', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '146', 'status', 'vtiger_troubletickets', '1', '111', 'ticketstatus', 'Status', '1', '0', '0', '100', '8', '25', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '147', 'category', 'vtiger_troubletickets', '1', '15', 'ticketcategories', 'Category', '1', '0', '0', '100', '9', '25', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '148', 'update_log', 'vtiger_troubletickets', '1', '19', 'update_log', 'Update History', '1', '0', '0', '100', '9', '25', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '149', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '10', '25', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '150', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '11', '25', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '151', 'filename', 'vtiger_attachments', '1', '61', 'filename', 'Attachment', '1', '0', '0', '100', '12', '25', '1', 'V~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '152', 'title', 'vtiger_troubletickets', '1', '22', 'ticket_title', 'Title', '1', '0', '0', '100', '1', '26', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '153', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '28', '1', 'V~O', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '154', 'solution', 'vtiger_troubletickets', '1', '19', 'solution', 'Solution', '1', '0', '0', '100', '1', '29', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('13', '155', 'comments', 'vtiger_ticketcomments', '1', '19', 'comments', 'Add Comment', '1', '0', '0', '100', '1', '30', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '156', 'productname', 'vtiger_products', '1', '2', 'productname', 'Product Name', '1', '0', '0', '100', '1', '31', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '157', 'productcode', 'vtiger_products', '1', '1', 'productcode', 'Part Number', '1', '0', '0', '100', '2', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '158', 'discontinued', 'vtiger_products', '1', '56', 'discontinued', 'Product Active', '1', '0', '0', '100', '3', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '159', 'manufacturer', 'vtiger_products', '1', '15', 'manufacturer', 'Manufacturer', '1', '0', '0', '100', '4', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '160', 'productcategory', 'vtiger_products', '1', '15', 'productcategory', 'Product Category', '1', '0', '0', '100', '4', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '161', 'sales_start_date', 'vtiger_products', '1', '5', 'sales_start_date', 'Sales Start Date', '1', '0', '0', '100', '5', '31', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '162', 'sales_end_date', 'vtiger_products', '1', '5', 'sales_end_date', 'Sales End Date', '1', '0', '0', '100', '6', '31', '1', 'D~O~OTH~GE~sales_start_date~Sales Start Date', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '163', 'start_date', 'vtiger_products', '1', '5', 'start_date', 'Support Start Date', '1', '0', '0', '100', '7', '31', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '164', 'expiry_date', 'vtiger_products', '1', '5', 'expiry_date', 'Support Expiry Date', '1', '0', '0', '100', '8', '31', '1', 'D~O~OTH~GE~start_date~Start Date', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '165', 'website', 'vtiger_products', '1', '17', 'website', 'Website', '1', '0', '0', '100', '12', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '166', 'vendor_id', 'vtiger_products', '1', '75', 'vendor_id', 'Vendor Name', '1', '0', '0', '100', '13', '31', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '167', 'mfr_part_no', 'vtiger_products', '1', '1', 'mfr_part_no', 'Mfr PartNo', '1', '0', '0', '100', '14', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '168', 'vendor_part_no', 'vtiger_products', '1', '1', 'vendor_part_no', 'Vendor PartNo', '1', '0', '0', '100', '15', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '169', 'serialno', 'vtiger_products', '1', '1', 'serial_no', 'Serial No', '1', '0', '0', '100', '16', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '170', 'productsheet', 'vtiger_products', '1', '1', 'productsheet', 'Product Sheet', '1', '0', '0', '100', '17', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '171', 'glacct', 'vtiger_products', '1', '15', 'glacct', 'GL Account', '1', '0', '0', '100', '18', '31', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '172', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '19', '31', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '173', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '20', '31', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '174', 'unit_price', 'vtiger_products', '1', '71', 'unit_price', 'Unit Price', '1', '0', '0', '100', '1', '32', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '175', 'commissionrate', 'vtiger_products', '1', '9', 'commissionrate', 'Commission Rate', '1', '0', '0', '100', '2', '32', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '176', 'taxclass', 'vtiger_products', '1', '83', 'taxclass', 'Tax Class', '1', '0', '0', '100', '4', '32', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('14', '177', 'usageunit', 'vtiger_products', '1', '15', 'usageunit', 'Usage Unit', '1', '0', '0', '100', '1', '33', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '178', 'qty_per_unit', 'vtiger_products', '1', '1', 'qty_per_unit', 'Qty/Unit', '1', '0', '0', '100', '2', '33', '1', 'N~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '179', 'qtyinstock', 'vtiger_products', '1', '1', 'qtyinstock', 'Qty In Stock', '1', '0', '0', '100', '3', '33', '1', 'NN~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '180', 'reorderlevel', 'vtiger_products', '1', '1', 'reorderlevel', 'Reorder Level', '1', '0', '0', '100', '4', '33', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '181', 'handler', 'vtiger_products', '1', '52', 'assigned_user_id', 'Handler', '1', '0', '0', '100', '5', '33', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '182', 'qtyindemand', 'vtiger_products', '1', '1', 'qtyindemand', 'Qty In Demand', '1', '0', '0', '100', '6', '33', '1', 'I~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '183', 'imagename', 'vtiger_products', '1', '69', 'imagename', 'Product Image', '1', '0', '0', '100', '1', '35', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('14', '184', 'product_description', 'vtiger_products', '1', '19', 'product_description', 'Description', '1', '0', '0', '100', '1', '36', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '185', 'contact_id', 'vtiger_notes', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '1', '17', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '186', 'crmid', 'vtiger_senotesrel', '1', '62', 'parent_id', 'Related To', '1', '0', '0', '100', '2', '17', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '187', 'title', 'vtiger_notes', '1', '2', 'notes_title', 'Title', '1', '0', '0', '100', '3', '17', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '188', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '4', '17', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '189', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '5', '17', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '190', 'filename', 'vtiger_notes', '1', '61', 'filename', 'File', '1', '0', '0', '100', '4', '17', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('8', '191', 'notecontent', 'vtiger_notes', '1', '19', 'notecontent', 'Note', '1', '0', '0', '100', '5', '18', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '192', 'date_start', 'vtiger_activity', '1', '6', 'date_start', 'Date & Time Sent', '1', '0', '0', '100', '1', '21', '1', 'DT~M~time_start~Time Start', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '193', 'semodule', 'vtiger_activity', '1', '2', 'parent_type', 'Sales Enity Module', '1', '0', '0', '100', '2', '21', '3', '', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '194', 'activitytype', 'vtiger_activity', '1', '2', 'activitytype', 'Activtiy Type', '1', '0', '0', '100', '3', '21', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '195', 'crmid', 'vtiger_seactivityrel', '1', '357', 'parent_id', 'Related To', '1', '0', '0', '100', '1', '22', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '196', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '5', '21', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '197', 'subject', 'vtiger_activity', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '23', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '198', 'filename', 'vtiger_attachments', '1', '61', 'filename', 'Attachment', '1', '0', '0', '100', '2', '23', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '199', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '24', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '200', 'time_start', 'vtiger_activity', '1', '2', 'time_start', 'Time Start', '1', '0', '0', '100', '9', '23', '1', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '201', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '10', '22', '1', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('10', '202', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '11', '21', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '203', 'subject', 'vtiger_activity', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '19', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '204', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '2', '19', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '205', 'date_start', 'vtiger_activity', '1', '6', 'date_start', 'Start Date & Time', '1', '0', '0', '100', '3', '19', '1', 'DT~M~time_start', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '206', 'time_start', 'vtiger_activity', '1', '2', 'time_start', 'Time Start', '1', '0', '0', '100', '4', '19', '3', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '207', 'time_end', 'vtiger_activity', '1', '2', 'time_end', 'End Time', '1', '0', '0', '100', '4', '19', '3', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '208', 'due_date', 'vtiger_activity', '1', '23', 'due_date', 'Due Date', '1', '0', '0', '100', '5', '19', '1', 'D~M~OTH~GE~date_start~Start Date & Time', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '209', 'crmid', 'vtiger_seactivityrel', '1', '66', 'parent_id', 'Related To', '1', '0', '0', '100', '7', '19', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '210', 'contactid', 'vtiger_cntactivityrel', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '8', '19', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '211', 'status', 'vtiger_activity', '1', '111', 'taskstatus', 'Status', '1', '0', '0', '100', '8', '19', '1', 'V~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '212', 'eventstatus', 'vtiger_activity', '1', '111', 'eventstatus', 'Status', '1', '0', '0', '100', '9', '19', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '213', 'priority', 'vtiger_activity', '1', '15', 'taskpriority', 'Priority', '1', '0', '0', '100', '10', '19', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '214', 'sendnotification', 'vtiger_activity', '1', '56', 'sendnotification', 'Send Notification', '1', '0', '0', '100', '11', '19', '1', 'C~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '215', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '14', '19', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '216', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '15', '19', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '217', 'activitytype', 'vtiger_activity', '1', '15', 'activitytype', 'Activity Type', '1', '0', '0', '100', '16', '19', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '218', 'visibility', 'vtiger_activity', '1', '15', 'visibility', 'Visibility', '1', '0', '0', '100', '17', '19', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '219', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '20', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '220', 'duration_hours', 'vtiger_activity', '1', '63', 'duration_hours', 'Duration', '1', '0', '0', '100', '17', '19', '3', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '221', 'duration_minutes', 'vtiger_activity', '1', '15', 'duration_minutes', 'Duration Minutes', '1', '0', '0', '100', '18', '19', '3', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '222', 'location', 'vtiger_activity', '1', '1', 'location', 'Location', '1', '0', '0', '100', '19', '19', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '223', 'reminder_time', 'vtiger_activity_reminder', '1', '30', 'reminder_time', 'Send Reminder', '1', '0', '0', '100', '1', '19', '3', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '224', 'recurringtype', 'vtiger_activity', '1', '15', 'recurringtype', 'Recurrence', '1', '0', '0', '100', '6', '19', '3', 'O~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('9', '225', 'notime', 'vtiger_activity', '1', '56', 'notime', 'No Time', '1', '0', '0', '100', '20', '19', '3', 'C~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '226', 'subject', 'vtiger_activity', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '41', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '227', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '2', '41', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '228', 'date_start', 'vtiger_activity', '1', '6', 'date_start', 'Start Date & Time', '1', '0', '0', '100', '3', '41', '1', 'DT~M~time_start', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '229', 'time_start', 'vtiger_activity', '1', '2', 'time_start', 'Time Start', '1', '0', '0', '100', '4', '41', '3', 'T~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '230', 'due_date', 'vtiger_activity', '1', '23', 'due_date', 'End Date', '1', '0', '0', '100', '5', '41', '1', 'D~M~OTH~GE~date_start~Start Date & Time', '0', '5', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '231', 'time_end', 'vtiger_activity', '1', '2', 'time_end', 'End Time', '1', '0', '0', '100', '5', '41', '3', 'T~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '232', 'recurringtype', 'vtiger_activity', '1', '15', 'recurringtype', 'Recurrence', '1', '0', '0', '100', '6', '41', '1', 'O~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '233', 'duration_hours', 'vtiger_activity', '1', '63', 'duration_hours', 'Duration', '1', '0', '0', '100', '7', '41', '1', 'I~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '234', 'duration_minutes', 'vtiger_activity', '1', '15', 'duration_minutes', 'Duration Minutes', '1', '0', '0', '100', '8', '41', '3', 'O~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '235', 'crmid', 'vtiger_seactivityrel', '1', '66', 'parent_id', 'Related To', '1', '0', '0', '100', '9', '41', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '236', 'eventstatus', 'vtiger_activity', '1', '111', 'eventstatus', 'Status', '1', '0', '0', '100', '10', '41', '1', 'V~M', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '237', 'sendnotification', 'vtiger_activity', '1', '56', 'sendnotification', 'Send Notification', '1', '0', '0', '100', '11', '41', '1', 'C~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '238', 'activitytype', 'vtiger_activity', '1', '15', 'activitytype', 'Activity Type', '1', '0', '0', '100', '12', '41', '1', 'V~O', '0', '4', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '239', 'location', 'vtiger_activity', '1', '1', 'location', 'Location', '1', '0', '0', '100', '13', '41', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '240', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '14', '41', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '241', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '15', '41', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '242', 'priority', 'vtiger_activity', '1', '15', 'taskpriority', 'Priority', '1', '0', '0', '100', '16', '41', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '243', 'notime', 'vtiger_activity', '1', '56', 'notime', 'No Time', '1', '0', '0', '100', '17', '41', '1', 'C~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '244', 'visibility', 'vtiger_activity', '1', '15', 'visibility', 'Visibility', '1', '0', '0', '100', '18', '41', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '245', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '43', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('16', '246', 'reminder_time', 'vtiger_activity_reminder', '1', '30', 'reminder_time', 'Send Reminder', '1', '0', '0', '100', '1', '42', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '247', 'product_id', 'vtiger_faq', '1', '59', 'product_id', 'Product Name', '1', '0', '0', '100', '1', '37', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '248', 'category', 'vtiger_faq', '1', '15', 'faqcategories', 'Category', '1', '0', '0', '100', '2', '37', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '249', 'status', 'vtiger_faq', '1', '111', 'faqstatus', 'Status', '1', '0', '0', '100', '3', '37', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '250', 'question', 'vtiger_faq', '1', '20', 'question', 'Question', '1', '0', '0', '100', '1', '38', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '251', 'answer', 'vtiger_faq', '1', '20', 'faq_answer', 'Answer', '1', '0', '0', '100', '1', '39', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '252', 'comments', 'vtiger_faqcomments', '1', '19', 'comments', 'Add Comment', '1', '0', '0', '100', '1', '40', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '253', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '3', '37', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('15', '254', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '4', '37', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '255', 'vendorname', 'vtiger_vendor', '1', '2', 'vendorname', 'Vendor Name', '1', '0', '0', '100', '1', '44', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '256', 'phone', 'vtiger_vendor', '1', '1', 'phone', 'Phone', '1', '0', '0', '100', '3', '44', '1', 'V~O', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '257', 'email', 'vtiger_vendor', '1', '13', 'email', 'Email', '1', '0', '0', '100', '4', '44', '1', 'E~O', '0', '3', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '258', 'website', 'vtiger_vendor', '1', '17', 'website', 'Website', '1', '0', '0', '100', '5', '44', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '259', 'glacct', 'vtiger_vendor', '1', '15', 'glacct', 'GL Account', '1', '0', '0', '100', '6', '44', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '260', 'category', 'vtiger_vendor', '1', '1', 'category', 'Category', '1', '0', '0', '100', '7', '44', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '261', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '8', '44', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '262', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '9', '44', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('18', '263', 'street', 'vtiger_vendor', '1', '21', 'street', 'Street', '1', '0', '0', '100', '1', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '264', 'pobox', 'vtiger_vendor', '1', '1', 'pobox', 'Po Box', '1', '0', '0', '100', '2', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '265', 'city', 'vtiger_vendor', '1', '1', 'city', 'City', '1', '0', '0', '100', '3', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '266', 'state', 'vtiger_vendor', '1', '1', 'state', 'State', '1', '0', '0', '100', '4', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '267', 'postalcode', 'vtiger_vendor', '1', '1', 'postalcode', 'Postal Code', '1', '0', '0', '100', '5', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '268', 'country', 'vtiger_vendor', '1', '1', 'country', 'Country', '1', '0', '0', '100', '6', '46', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('18', '269', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '47', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('19', '270', 'bookname', 'vtiger_pricebook', '1', '2', 'bookname', 'Price Book Name', '1', '0', '0', '100', '1', '48', '1', 'V~M', '0', '1', 'BAS');
INSERT INTO `vtiger_field` VALUES('19', '271', 'active', 'vtiger_pricebook', '1', '56', 'active', 'Active', '1', '0', '0', '100', '3', '48', '1', 'C~O', '0', '2', 'BAS');
INSERT INTO `vtiger_field` VALUES('19', '272', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '4', '48', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('19', '273', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '5', '48', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('19', '274', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '50', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '275', 'subject', 'vtiger_quotes', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '51', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '276', 'potentialid', 'vtiger_quotes', '1', '76', 'potential_id', 'Potential Name', '1', '0', '0', '100', '2', '51', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '277', 'quotestage', 'vtiger_quotes', '1', '111', 'quotestage', 'Quote Stage', '1', '0', '0', '100', '3', '51', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '278', 'validtill', 'vtiger_quotes', '1', '5', 'validtill', 'Valid Till', '1', '0', '0', '100', '4', '51', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '279', 'contactid', 'vtiger_quotes', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '6', '51', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '280', 'carrier', 'vtiger_quotes', '1', '15', 'carrier', 'Carrier', '1', '0', '0', '100', '8', '51', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '281', 'subtotal', 'vtiger_quotes', '1', '1', 'hdnSubTotal', 'Sub Total', '1', '0', '0', '100', '9', '51', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '282', 'shipping', 'vtiger_quotes', '1', '1', 'shipping', 'Shipping', '1', '0', '0', '100', '10', '51', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '283', 'inventorymanager', 'vtiger_quotes', '1', '77', 'assigned_user_id1', 'Inventory Manager', '1', '0', '0', '100', '11', '51', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '284', 'adjustment', 'vtiger_quotes', '1', '1', 'txtAdjustment', 'Adjustment', '1', '0', '0', '100', '20', '51', '3', 'NN~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '285', 'total', 'vtiger_quotes', '1', '1', 'hdnGrandTotal', 'Total', '1', '0', '0', '100', '14', '51', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '286', 'taxtype', 'vtiger_quotes', '1', '15', 'hdnTaxType', 'Tax Type', '1', '0', '0', '100', '14', '51', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '287', 'discount_percent', 'vtiger_quotes', '1', '1', 'hdnDiscountPercent', 'Discount Percent', '1', '0', '0', '100', '14', '51', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '288', 'discount_amount', 'vtiger_quotes', '1', '1', 'hdnDiscountAmount', 'Discount Amount', '1', '0', '0', '100', '14', '51', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '289', 's_h_amount', 'vtiger_quotes', '1', '1', 'hdnS_H_Amount', 'S&H Amount', '1', '0', '0', '100', '14', '51', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '290', 'accountid', 'vtiger_quotes', '1', '73', 'account_id', 'Account Name', '1', '0', '0', '100', '16', '51', '1', 'I~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '291', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '17', '51', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '292', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '18', '51', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '293', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '19', '51', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '294', 'bill_street', 'vtiger_quotesbillads', '1', '24', 'bill_street', 'Billing Address', '1', '0', '0', '100', '1', '53', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '295', 'ship_street', 'vtiger_quotesshipads', '1', '24', 'ship_street', 'Shipping Address', '1', '0', '0', '100', '2', '53', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '296', 'bill_city', 'vtiger_quotesbillads', '1', '1', 'bill_city', 'Billing City', '1', '0', '0', '100', '5', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '297', 'ship_city', 'vtiger_quotesshipads', '1', '1', 'ship_city', 'Shipping City', '1', '0', '0', '100', '6', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '298', 'bill_state', 'vtiger_quotesbillads', '1', '1', 'bill_state', 'Billing State', '1', '0', '0', '100', '7', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '299', 'ship_state', 'vtiger_quotesshipads', '1', '1', 'ship_state', 'Shipping State', '1', '0', '0', '100', '8', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '300', 'bill_code', 'vtiger_quotesbillads', '1', '1', 'bill_code', 'Billing Code', '1', '0', '0', '100', '9', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '301', 'ship_code', 'vtiger_quotesshipads', '1', '1', 'ship_code', 'Shipping Code', '1', '0', '0', '100', '10', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '302', 'bill_country', 'vtiger_quotesbillads', '1', '1', 'bill_country', 'Billing Country', '1', '0', '0', '100', '11', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '303', 'ship_country', 'vtiger_quotesshipads', '1', '1', 'ship_country', 'Shipping Country', '1', '0', '0', '100', '12', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '304', 'bill_pobox', 'vtiger_quotesbillads', '1', '1', 'bill_pobox', 'Billing Po Box', '1', '0', '0', '100', '3', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '305', 'ship_pobox', 'vtiger_quotesshipads', '1', '1', 'ship_pobox', 'Shipping Po Box', '1', '0', '0', '100', '4', '53', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('20', '306', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '56', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('20', '307', 'terms_conditions', 'vtiger_quotes', '1', '19', 'terms_conditions', 'Terms & Conditions', '1', '0', '0', '100', '1', '55', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('21', '308', 'subject', 'vtiger_purchaseorder', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '57', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '309', 'vendorid', 'vtiger_purchaseorder', '1', '81', 'vendor_id', 'Vendor Name', '1', '0', '0', '100', '3', '57', '1', 'I~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '310', 'requisition_no', 'vtiger_purchaseorder', '1', '1', 'requisition_no', 'Requisition No', '1', '0', '0', '100', '4', '57', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '311', 'tracking_no', 'vtiger_purchaseorder', '1', '1', 'tracking_no', 'Tracking Number', '1', '0', '0', '100', '5', '57', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '312', 'contactid', 'vtiger_purchaseorder', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '6', '57', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '313', 'duedate', 'vtiger_purchaseorder', '1', '5', 'duedate', 'Due Date', '1', '0', '0', '100', '7', '57', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '314', 'carrier', 'vtiger_purchaseorder', '1', '15', 'carrier', 'Carrier', '1', '0', '0', '100', '8', '57', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '315', 'adjustment', 'vtiger_purchaseorder', '1', '1', 'txtAdjustment', 'Adjustment', '1', '0', '0', '100', '10', '57', '3', 'NN~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '316', 'salescommission', 'vtiger_purchaseorder', '1', '1', 'salescommission', 'Sales Commission', '1', '0', '0', '100', '11', '57', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '317', 'exciseduty', 'vtiger_purchaseorder', '1', '1', 'exciseduty', 'Excise Duty', '1', '0', '0', '100', '12', '57', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '318', 'total', 'vtiger_purchaseorder', '1', '1', 'hdnGrandTotal', 'Total', '1', '0', '0', '100', '13', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '319', 'subtotal', 'vtiger_purchaseorder', '1', '1', 'hdnSubTotal', 'Sub Total', '1', '0', '0', '100', '14', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '320', 'taxtype', 'vtiger_purchaseorder', '1', '15', 'hdnTaxType', 'Tax Type', '1', '0', '0', '100', '14', '57', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '321', 'discount_percent', 'vtiger_purchaseorder', '1', '1', 'hdnDiscountPercent', 'Discount Percent', '1', '0', '0', '100', '14', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '322', 'discount_amount', 'vtiger_purchaseorder', '1', '1', 'hdnDiscountAmount', 'Discount Amount', '1', '0', '0', '100', '14', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '323', 's_h_amount', 'vtiger_purchaseorder', '1', '1', 'hdnS_H_Amount', 'S&H Amount', '1', '0', '0', '100', '14', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '324', 'postatus', 'vtiger_purchaseorder', '1', '111', 'postatus', 'Status', '1', '0', '0', '100', '15', '57', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '325', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '16', '57', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '326', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '17', '57', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '327', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '18', '57', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '328', 'bill_street', 'vtiger_pobillads', '1', '24', 'bill_street', 'Billing Address', '1', '0', '0', '100', '1', '59', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '329', 'ship_street', 'vtiger_poshipads', '1', '24', 'ship_street', 'Shipping Address', '1', '0', '0', '100', '2', '59', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '330', 'bill_city', 'vtiger_pobillads', '1', '1', 'bill_city', 'Billing City', '1', '0', '0', '100', '5', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '331', 'ship_city', 'vtiger_poshipads', '1', '1', 'ship_city', 'Shipping City', '1', '0', '0', '100', '6', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '332', 'bill_state', 'vtiger_pobillads', '1', '1', 'bill_state', 'Billing State', '1', '0', '0', '100', '7', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '333', 'ship_state', 'vtiger_poshipads', '1', '1', 'ship_state', 'Shipping State', '1', '0', '0', '100', '8', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '334', 'bill_code', 'vtiger_pobillads', '1', '1', 'bill_code', 'Billing Code', '1', '0', '0', '100', '9', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '335', 'ship_code', 'vtiger_poshipads', '1', '1', 'ship_code', 'Shipping Code', '1', '0', '0', '100', '10', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '336', 'bill_country', 'vtiger_pobillads', '1', '1', 'bill_country', 'Billing Country', '1', '0', '0', '100', '11', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '337', 'ship_country', 'vtiger_poshipads', '1', '1', 'ship_country', 'Shipping Country', '1', '0', '0', '100', '12', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '338', 'bill_pobox', 'vtiger_pobillads', '1', '1', 'bill_pobox', 'Billing Po Box', '1', '0', '0', '100', '3', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '339', 'ship_pobox', 'vtiger_poshipads', '1', '1', 'ship_pobox', 'Shipping Po Box', '1', '0', '0', '100', '4', '59', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('21', '340', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '62', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('21', '341', 'terms_conditions', 'vtiger_purchaseorder', '1', '19', 'terms_conditions', 'Terms & Conditions', '1', '0', '0', '100', '1', '61', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('22', '342', 'subject', 'vtiger_salesorder', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '63', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '343', 'potentialid', 'vtiger_salesorder', '1', '76', 'potential_id', 'Potential Name', '1', '0', '0', '100', '2', '63', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '344', 'customerno', 'vtiger_salesorder', '1', '1', 'customerno', 'Customer No', '1', '0', '0', '100', '3', '63', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '345', 'quoteid', 'vtiger_salesorder', '1', '78', 'quote_id', 'Quote Name', '1', '0', '0', '100', '4', '63', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '346', 'purchaseorder', 'vtiger_salesorder', '1', '1', 'vtiger_purchaseorder', 'Purchase Order', '1', '0', '0', '100', '5', '63', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '347', 'contactid', 'vtiger_salesorder', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '6', '63', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '348', 'duedate', 'vtiger_salesorder', '1', '5', 'duedate', 'Due Date', '1', '0', '0', '100', '8', '63', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '349', 'carrier', 'vtiger_salesorder', '1', '15', 'carrier', 'Carrier', '1', '0', '0', '100', '9', '63', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '350', 'pending', 'vtiger_salesorder', '1', '1', 'pending', 'Pending', '1', '0', '0', '100', '10', '63', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '351', 'sostatus', 'vtiger_salesorder', '1', '111', 'sostatus', 'Status', '1', '0', '0', '100', '11', '63', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '352', 'adjustment', 'vtiger_salesorder', '1', '1', 'txtAdjustment', 'Adjustment', '1', '0', '0', '100', '12', '63', '3', 'NN~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '353', 'salescommission', 'vtiger_salesorder', '1', '1', 'salescommission', 'Sales Commission', '1', '0', '0', '100', '13', '63', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '354', 'exciseduty', 'vtiger_salesorder', '1', '1', 'exciseduty', 'Excise Duty', '1', '0', '0', '100', '13', '63', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '355', 'total', 'vtiger_salesorder', '1', '1', 'hdnGrandTotal', 'Total', '1', '0', '0', '100', '14', '63', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '356', 'subtotal', 'vtiger_salesorder', '1', '1', 'hdnSubTotal', 'Sub Total', '1', '0', '0', '100', '15', '63', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '357', 'taxtype', 'vtiger_salesorder', '1', '15', 'hdnTaxType', 'Tax Type', '1', '0', '0', '100', '15', '63', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '358', 'discount_percent', 'vtiger_salesorder', '1', '1', 'hdnDiscountPercent', 'Discount Percent', '1', '0', '0', '100', '15', '63', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '359', 'discount_amount', 'vtiger_salesorder', '1', '1', 'hdnDiscountAmount', 'Discount Amount', '1', '0', '0', '100', '15', '63', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '360', 's_h_amount', 'vtiger_salesorder', '1', '1', 'hdnS_H_Amount', 'S&H Amount', '1', '0', '0', '100', '15', '63', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '361', 'accountid', 'vtiger_salesorder', '1', '73', 'account_id', 'Account Name', '1', '0', '0', '100', '16', '63', '1', 'I~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '362', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '17', '63', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '363', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '18', '63', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '364', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '19', '63', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '365', 'bill_street', 'vtiger_sobillads', '1', '24', 'bill_street', 'Billing Address', '1', '0', '0', '100', '1', '65', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '366', 'ship_street', 'vtiger_soshipads', '1', '24', 'ship_street', 'Shipping Address', '1', '0', '0', '100', '2', '65', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '367', 'bill_city', 'vtiger_sobillads', '1', '1', 'bill_city', 'Billing City', '1', '0', '0', '100', '5', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '368', 'ship_city', 'vtiger_soshipads', '1', '1', 'ship_city', 'Shipping City', '1', '0', '0', '100', '6', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '369', 'bill_state', 'vtiger_sobillads', '1', '1', 'bill_state', 'Billing State', '1', '0', '0', '100', '7', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '370', 'ship_state', 'vtiger_soshipads', '1', '1', 'ship_state', 'Shipping State', '1', '0', '0', '100', '8', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '371', 'bill_code', 'vtiger_sobillads', '1', '1', 'bill_code', 'Billing Code', '1', '0', '0', '100', '9', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '372', 'ship_code', 'vtiger_soshipads', '1', '1', 'ship_code', 'Shipping Code', '1', '0', '0', '100', '10', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '373', 'bill_country', 'vtiger_sobillads', '1', '1', 'bill_country', 'Billing Country', '1', '0', '0', '100', '11', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '374', 'ship_country', 'vtiger_soshipads', '1', '1', 'ship_country', 'Shipping Country', '1', '0', '0', '100', '12', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '375', 'bill_pobox', 'vtiger_sobillads', '1', '1', 'bill_pobox', 'Billing Po Box', '1', '0', '0', '100', '3', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '376', 'ship_pobox', 'vtiger_soshipads', '1', '1', 'ship_pobox', 'Shipping Po Box', '1', '0', '0', '100', '4', '65', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('22', '377', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '68', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('22', '378', 'terms_conditions', 'vtiger_salesorder', '1', '19', 'terms_conditions', 'Terms & Conditions', '1', '0', '0', '100', '1', '67', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('23', '379', 'subject', 'vtiger_invoice', '1', '2', 'subject', 'Subject', '1', '0', '0', '100', '1', '69', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '380', 'salesorderid', 'vtiger_invoice', '1', '80', 'salesorder_id', 'Sales Order', '1', '0', '0', '100', '2', '69', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '381', 'customerno', 'vtiger_invoice', '1', '1', 'customerno', 'Customer No', '1', '0', '0', '100', '3', '69', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '382', 'contactid', 'vtiger_invoice', '1', '57', 'contact_id', 'Contact Name', '1', '0', '0', '100', '4', '69', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '383', 'invoicedate', 'vtiger_invoice', '1', '5', 'invoicedate', 'Invoice Date', '1', '0', '0', '100', '5', '69', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '384', 'duedate', 'vtiger_invoice', '1', '5', 'duedate', 'Due Date', '1', '0', '0', '100', '6', '69', '1', 'D~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '385', 'purchaseorder', 'vtiger_invoice', '1', '1', 'vtiger_purchaseorder', 'Purchase Order', '1', '0', '0', '100', '8', '69', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '386', 'adjustment', 'vtiger_invoice', '1', '1', 'txtAdjustment', 'Adjustment', '1', '0', '0', '100', '9', '69', '3', 'NN~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '387', 'salescommission', 'vtiger_invoice', '1', '1', 'salescommission', 'Sales Commission', '1', '0', '0', '10', '13', '69', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '388', 'exciseduty', 'vtiger_invoice', '1', '1', 'exciseduty', 'Excise Duty', '1', '0', '0', '100', '11', '69', '1', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '389', 'subtotal', 'vtiger_invoice', '1', '1', 'hdnSubTotal', 'Sub Total', '1', '0', '0', '100', '12', '69', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '390', 'total', 'vtiger_invoice', '1', '1', 'hdnGrandTotal', 'Total', '1', '0', '0', '100', '13', '69', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '391', 'taxtype', 'vtiger_invoice', '1', '15', 'hdnTaxType', 'Tax Type', '1', '0', '0', '100', '13', '69', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '392', 'discount_percent', 'vtiger_invoice', '1', '1', 'hdnDiscountPercent', 'Discount Percent', '1', '0', '0', '100', '13', '69', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '393', 'discount_amount', 'vtiger_invoice', '1', '1', 'hdnDiscountAmount', 'Discount Amount', '1', '0', '0', '100', '13', '69', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '394', 's_h_amount', 'vtiger_invoice', '1', '1', 'hdnS_H_Amount', 'S&H Amount', '1', '0', '0', '100', '14', '57', '3', 'N~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '395', 'accountid', 'vtiger_invoice', '1', '73', 'account_id', 'Account Name', '1', '0', '0', '100', '14', '69', '1', 'I~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '396', 'invoicestatus', 'vtiger_invoice', '1', '111', 'invoicestatus', 'Status', '1', '0', '0', '100', '15', '69', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '397', 'smownerid', 'vtiger_crmentity', '1', '53', 'assigned_user_id', 'Assigned To', '1', '0', '0', '100', '16', '69', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '398', 'createdtime', 'vtiger_crmentity', '1', '70', 'createdtime', 'Created Time', '1', '0', '0', '100', '17', '69', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '399', 'modifiedtime', 'vtiger_crmentity', '1', '70', 'modifiedtime', 'Modified Time', '1', '0', '0', '100', '18', '69', '2', 'T~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '400', 'bill_street', 'vtiger_invoicebillads', '1', '24', 'bill_street', 'Billing Address', '1', '0', '0', '100', '1', '71', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '401', 'ship_street', 'vtiger_invoiceshipads', '1', '24', 'ship_street', 'Shipping Address', '1', '0', '0', '100', '2', '71', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '402', 'bill_city', 'vtiger_invoicebillads', '1', '1', 'bill_city', 'Billing City', '1', '0', '0', '100', '5', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '403', 'ship_city', 'vtiger_invoiceshipads', '1', '1', 'ship_city', 'Shipping City', '1', '0', '0', '100', '6', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '404', 'bill_state', 'vtiger_invoicebillads', '1', '1', 'bill_state', 'Billing State', '1', '0', '0', '100', '7', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '405', 'ship_state', 'vtiger_invoiceshipads', '1', '1', 'ship_state', 'Shipping State', '1', '0', '0', '100', '8', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '406', 'bill_code', 'vtiger_invoicebillads', '1', '1', 'bill_code', 'Billing Code', '1', '0', '0', '100', '9', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '407', 'ship_code', 'vtiger_invoiceshipads', '1', '1', 'ship_code', 'Shipping Code', '1', '0', '0', '100', '10', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '408', 'bill_country', 'vtiger_invoicebillads', '1', '1', 'bill_country', 'Billing Country', '1', '0', '0', '100', '11', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '409', 'ship_country', 'vtiger_invoiceshipads', '1', '1', 'ship_country', 'Shipping Country', '1', '0', '0', '100', '12', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '410', 'bill_pobox', 'vtiger_invoicebillads', '1', '1', 'bill_pobox', 'Billing Po Box', '1', '0', '0', '100', '3', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '411', 'ship_pobox', 'vtiger_invoiceshipads', '1', '1', 'ship_pobox', 'Shipping Po Box', '1', '0', '0', '100', '4', '71', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('23', '412', 'description', 'vtiger_crmentity', '1', '19', 'description', 'Description', '1', '0', '0', '100', '1', '74', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('23', '413', 'terms_conditions', 'vtiger_invoice', '1', '19', 'terms_conditions', 'Terms & Conditions', '1', '0', '0', '100', '1', '73', '1', 'V~O', '1', '', 'ADV');
INSERT INTO `vtiger_field` VALUES('23', '414', 'invoice_no', 'vtiger_invoice', '1', '3', 'invoice_no', 'Invoice No', '1', '0', '0', '100', '3', '69', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '415', 'user_name', 'vtiger_users', '1', '106', 'user_name', 'User Name', '1', '0', '0', '11', '1', '79', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '416', 'is_admin', 'vtiger_users', '1', '156', 'is_admin', 'Admin', '1', '0', '0', '3', '2', '79', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '417', 'user_password', 'vtiger_users', '1', '99', 'user_password', 'Password', '1', '0', '0', '30', '3', '79', '4', 'P~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '418', 'confirm_password', 'vtiger_users', '1', '99', 'confirm_password', 'Confirm Password', '1', '0', '0', '30', '5', '79', '4', 'P~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '419', 'first_name', 'vtiger_users', '1', '1', 'first_name', 'First Name', '1', '0', '0', '30', '7', '79', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '420', 'last_name', 'vtiger_users', '1', '2', 'last_name', 'Last Name', '1', '0', '0', '30', '9', '79', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '421', 'roleid', 'vtiger_user2role', '1', '98', 'roleid', 'Role', '1', '0', '0', '200', '11', '79', '1', 'V~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '422', 'email1', 'vtiger_users', '1', '104', 'email1', 'Email', '1', '0', '0', '100', '4', '79', '1', 'E~M', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '423', 'status', 'vtiger_users', '1', '115', 'status', 'Status', '1', '0', '0', '100', '6', '79', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '424', 'activity_view', 'vtiger_users', '1', '15', 'activity_view', 'Default Activity View', '1', '0', '0', '100', '12', '79', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '425', 'lead_view', 'vtiger_users', '1', '15', 'lead_view', 'Default Lead View', '1', '0', '0', '100', '10', '79', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '426', 'currency_id', 'vtiger_users', '1', '116', 'currency_id', 'Currency', '1', '0', '0', '100', '8', '79', '1', 'I~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '427', 'hour_format', 'vtiger_users', '1', '116', 'hour_format', 'Calendar Hour Format', '1', '0', '0', '100', '13', '79', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '428', 'end_hour', 'vtiger_users', '1', '116', 'end_hour', 'Day ends at', '1', '0', '0', '100', '15', '79', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '429', 'start_hour', 'vtiger_users', '1', '116', 'start_hour', 'Day starts at', '1', '0', '0', '100', '14', '79', '3', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '430', 'title', 'vtiger_users', '1', '1', 'title', 'Title', '1', '0', '0', '50', '1', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '431', 'phone_work', 'vtiger_users', '1', '1', 'phone_work', 'Office Phone', '1', '0', '0', '50', '5', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '432', 'department', 'vtiger_users', '1', '1', 'department', 'Department', '1', '0', '0', '50', '3', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '433', 'phone_mobile', 'vtiger_users', '1', '1', 'phone_mobile', 'Mobile', '1', '0', '0', '50', '7', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '434', 'reports_to_id', 'vtiger_users', '1', '101', 'reports_to_id', 'Reports To', '1', '0', '0', '50', '8', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '435', 'phone_other', 'vtiger_users', '1', '1', 'phone_other', 'Other Phone', '1', '0', '0', '50', '11', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '436', 'email2', 'vtiger_users', '1', '13', 'email2', 'Other Email', '1', '0', '0', '100', '4', '80', '1', 'E~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '437', 'phone_fax', 'vtiger_users', '1', '1', 'phone_fax', 'Fax', '1', '0', '0', '50', '2', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '438', 'yahoo_id', 'vtiger_users', '1', '13', 'yahoo_id', 'Yahoo id', '1', '0', '0', '100', '6', '80', '1', 'E~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '439', 'phone_home', 'vtiger_users', '1', '1', 'phone_home', 'Home Phone', '1', '0', '0', '50', '9', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '440', 'date_format', 'vtiger_users', '1', '15', 'date_format', 'Date Format', '1', '0', '0', '30', '12', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '441', 'signature', 'vtiger_users', '1', '21', 'signature', 'Signature', '1', '0', '0', '250', '13', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '442', 'description', 'vtiger_users', '1', '21', 'description', 'Notes', '1', '0', '0', '250', '14', '80', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '443', 'address_street', 'vtiger_users', '1', '21', 'address_street', 'Street Address', '1', '0', '0', '250', '1', '81', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '444', 'address_city', 'vtiger_users', '1', '1', 'address_city', 'City', '1', '0', '0', '100', '3', '81', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '445', 'address_state', 'vtiger_users', '1', '1', 'address_state', 'State', '1', '0', '0', '100', '5', '81', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '446', 'address_postalcode', 'vtiger_users', '1', '1', 'address_postalcode', 'Postal Code', '1', '0', '0', '100', '4', '81', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '447', 'address_country', 'vtiger_users', '1', '1', 'address_country', 'Country', '1', '0', '0', '100', '2', '81', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '448', 'imagename', 'vtiger_users', '1', '105', 'imagename', 'User Image', '1', '0', '0', '250', '10', '83', '1', 'V~O', '1', '', 'BAS');
INSERT INTO `vtiger_field` VALUES('29', '449', 'internal_mailer', 'vtiger_users', '1', '56', 'internal_mailer', 'INTERNAL_MAIL_COMPOSER', '1', '0', '0', '50', '15', '80', '1', 'V~O', '1', '', 'BAS');

--
-- Table structure for table `vtiger_field_seq` 
--

CREATE TABLE `vtiger_field_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_field_seq` 
--

INSERT INTO `vtiger_field_seq` VALUES('449');

--
-- Table structure for table `vtiger_files` 
--

CREATE TABLE `vtiger_files` (
  `id` varchar(36) NOT NULL,
  `name` varchar(36) default NULL,
  `content` longblob,
  `deleted` int(1) NOT NULL default '0',
  `date_entered` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `assigned_user_id` varchar(36) default NULL,
  PRIMARY KEY  (`id`),
  KEY `files_assigned_user_id_name_deleted_idx` (`assigned_user_id`,`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_files` 
--


--
-- Table structure for table `vtiger_freetagged_objects` 
--

CREATE TABLE `vtiger_freetagged_objects` (
  `tag_id` int(20) NOT NULL default '0',
  `tagger_id` int(20) NOT NULL default '0',
  `object_id` int(20) NOT NULL default '0',
  `tagged_on` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `module` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`tag_id`,`tagger_id`,`object_id`),
  KEY `freetagged_objects_tag_id_tagger_id_object_id_idx` (`tag_id`,`tagger_id`,`object_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_freetagged_objects` 
--


--
-- Table structure for table `vtiger_freetags` 
--

CREATE TABLE `vtiger_freetags` (
  `id` int(19) NOT NULL,
  `tag` varchar(50) NOT NULL default '',
  `raw_tag` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_freetags` 
--


--
-- Table structure for table `vtiger_freetags_seq` 
--

CREATE TABLE `vtiger_freetags_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_freetags_seq` 
--

INSERT INTO `vtiger_freetags_seq` VALUES('1');

--
-- Table structure for table `vtiger_glacct` 
--

CREATE TABLE `vtiger_glacct` (
  `glacctid` int(19) NOT NULL auto_increment,
  `glacct` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`glacctid`),
  UNIQUE KEY `glacct_glacct_idx` (`glacct`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_glacct` 
--

INSERT INTO `vtiger_glacct` VALUES('1', '300-Sales-Software', '1', '147');
INSERT INTO `vtiger_glacct` VALUES('2', '301-Sales-Hardware', '1', '148');
INSERT INTO `vtiger_glacct` VALUES('3', '302-Rental-Income', '1', '149');
INSERT INTO `vtiger_glacct` VALUES('4', '303-Interest-Income', '1', '150');
INSERT INTO `vtiger_glacct` VALUES('5', '304-Sales-Software-Support', '1', '151');
INSERT INTO `vtiger_glacct` VALUES('6', '305-Sales Other', '1', '152');
INSERT INTO `vtiger_glacct` VALUES('7', '306-Internet Sales', '1', '153');
INSERT INTO `vtiger_glacct` VALUES('8', '307-Service-Hardware Labor', '1', '154');
INSERT INTO `vtiger_glacct` VALUES('9', '308-Sales-Books', '1', '155');
INSERT INTO `vtiger_glacct` VALUES('10', '300- Vente Billetterie', '1', '225');

--
-- Table structure for table `vtiger_glacct_seq` 
--

CREATE TABLE `vtiger_glacct_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_glacct_seq` 
--

INSERT INTO `vtiger_glacct_seq` VALUES('10');

--
-- Table structure for table `vtiger_group2grouprel` 
--

CREATE TABLE `vtiger_group2grouprel` (
  `groupid` int(19) NOT NULL,
  `containsgroupid` int(19) NOT NULL,
  PRIMARY KEY  (`groupid`,`containsgroupid`),
  CONSTRAINT `fk_2_vtiger_group2grouprel` FOREIGN KEY (`groupid`) REFERENCES `vtiger_groups` (`groupid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_group2grouprel` 
--


--
-- Table structure for table `vtiger_group2role` 
--

CREATE TABLE `vtiger_group2role` (
  `groupid` int(19) NOT NULL,
  `roleid` varchar(255) NOT NULL,
  PRIMARY KEY  (`groupid`,`roleid`),
  KEY `fk_2_vtiger_group2role` (`roleid`),
  CONSTRAINT `fk_2_vtiger_group2role` FOREIGN KEY (`roleid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_group2role` 
--

INSERT INTO `vtiger_group2role` VALUES('1', 'H4');
INSERT INTO `vtiger_group2role` VALUES('4', 'H6');
INSERT INTO `vtiger_group2role` VALUES('5', 'H7');
INSERT INTO `vtiger_group2role` VALUES('6', 'H8');

--
-- Table structure for table `vtiger_group2rs` 
--

CREATE TABLE `vtiger_group2rs` (
  `groupid` int(19) NOT NULL,
  `roleandsubid` varchar(255) NOT NULL,
  PRIMARY KEY  (`groupid`,`roleandsubid`),
  KEY `fk_2_vtiger_group2rs` (`roleandsubid`),
  CONSTRAINT `fk_2_vtiger_group2rs` FOREIGN KEY (`roleandsubid`) REFERENCES `vtiger_role` (`roleid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_group2rs` 
--

INSERT INTO `vtiger_group2rs` VALUES('1', 'H5');

--
-- Table structure for table `vtiger_groups` 
--

CREATE TABLE `vtiger_groups` (
  `groupid` int(19) NOT NULL,
  `groupname` varchar(100) default NULL,
  `description` text,
  PRIMARY KEY  (`groupid`),
  UNIQUE KEY `groups_groupname_idx` (`groupname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_groups` 
--

INSERT INTO `vtiger_groups` VALUES('1', 'Equipe Partenaires et Mécènes', 'Equipe composée des membres en charge des Partenaires et Mécènes');
INSERT INTO `vtiger_groups` VALUES('4', 'Equipe Régie Technique', 'Equipe composée des membres de la régie technique');
INSERT INTO `vtiger_groups` VALUES('5', 'Equipe Presse / Communicaton', 'Equipe composée des membres de la Presse et Communication');
INSERT INTO `vtiger_groups` VALUES('6', 'Equipe Bénévoles', 'Equipe composée des membres du service de gestion des Bénévoles');
INSERT INTO `vtiger_groups` VALUES('7', 'Equipe Visualisation', 'Equipe composée de membres non salariés de l\'association');

--
-- Table structure for table `vtiger_groups_seq` 
--

CREATE TABLE `vtiger_groups_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_groups_seq` 
--

INSERT INTO `vtiger_groups_seq` VALUES('7');

--
-- Table structure for table `vtiger_headers` 
--

CREATE TABLE `vtiger_headers` (
  `fileid` int(3) NOT NULL auto_increment,
  `headernames` varchar(30) NOT NULL,
  PRIMARY KEY  (`fileid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_headers` 
--


--
-- Table structure for table `vtiger_import_maps` 
--

CREATE TABLE `vtiger_import_maps` (
  `id` int(19) NOT NULL auto_increment,
  `name` varchar(36) NOT NULL,
  `module` varchar(36) NOT NULL,
  `content` longblob,
  `has_header` int(1) NOT NULL default '1',
  `deleted` int(1) NOT NULL default '0',
  `date_entered` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
  `date_modified` timestamp NOT NULL default '0000-00-00 00:00:00',
  `assigned_user_id` varchar(36) default NULL,
  `is_published` varchar(3) NOT NULL default 'no',
  PRIMARY KEY  (`id`),
  KEY `import_maps_assigned_user_id_module_name_deleted_idx` (`assigned_user_id`,`module`,`name`,`deleted`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_import_maps` 
--

INSERT INTO `vtiger_import_maps` VALUES('164', 'CONTACT_LRO', 'Contacts', '0=account_id&1=title&2=lastname&3=firstname&4=mailingstreet&5=mailingzip&6=mailingcity', '0', '0', '2009-03-08 16:08:28', '2009-03-08 16:08:28', '1', 'no');

--
-- Table structure for table `vtiger_industry` 
--

CREATE TABLE `vtiger_industry` (
  `industryid` int(19) NOT NULL auto_increment,
  `industry` varchar(200) NOT NULL,
  `presence` int(1) NOT NULL default '1',
  `picklist_valueid` int(19) NOT NULL default '0',
  PRIMARY KEY  (`industryid`),
  UNIQUE KEY `industry_industry_idx` (`industry`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_industry` 
--

INSERT INTO `vtiger_industry` VALUES('1', '--None--', '1', '26');
INSERT INTO `vtiger_industry` VALUES('2', 'Apparel', '1', '27');
INSERT INTO `vtiger_industry` VALUES('3', 'Banking', '1', '28');
INSERT INTO `vtiger_industry` VALUES('4', 'Biotechnology', '1', '29');
INSERT INTO `vtiger_industry` VALUES('5', 'Chemicals', '1', '30');
INSERT INTO `vtiger_industry` VALUES('6', 'Communications', '1', '31');
INSERT INTO `vtiger_industry` VALUES('7', 'Construction', '1', '32');
INSERT INTO `vtiger_industry` VALUES('8', 'Consulting', '1', '33');
INSERT INTO `vtiger_industry` VALUES('9', 'Education', '1', '34');
INSERT INTO `vtiger_industry` VALUES('10', 'Electronics', '1', '35');
INSERT INTO `vtiger_industry` VALUES('11', 'Energy', '1', '36');
INSERT INTO `vtiger_industry` VALUES('12', 'Engineering', '1', '37');
INSERT INTO `vtiger_industry` VALUES('13', 'Entertainment', '1', '38');
INSERT INTO `vtiger_industry` VALUES('14', 'Environmental', '1', '39');
INSERT INTO `vtiger_industry` VALUES('15', 'Finance', '1', '40');
INSERT INTO `vtiger_industry` VALUES('16', 'Food & Beverage', '1', '41');
INSERT INTO `vtiger_industry` VALUES('17', 'Government', '1', '42');
INSERT INTO `vtiger_industry` VALUES('18', 'Healthcare', '1', '43');
INSERT INTO `vtiger_industry` VALUES('19', 'Hospitality', '1', '44');
INSERT INTO `vtiger_industry` VALUES('20', 'Insurance', '1', '45');
INSERT INTO `vtiger_industry` VALUES('21', 'Machinery', '1', '46');
INSERT INTO `vtiger_industry` VALUES('22', 'Manufacturing', '1', '47');
INSERT INTO `vtiger_industry` VALUES('23', 'Media', '1', '48');
INSERT INTO `vtiger_industry` VALUES('24', 'Not For Profit', '1', '49');
INSERT INTO `vtiger_industry` VALUES('25', 'Recreation', '1', '50');
INSERT INTO `vtiger_industry` VALUES('26', 'Retail', '1', '51');
INSERT INTO `vtiger_industry` VALUES('27', 'Shipping', '1', '52');
INSERT INTO `vtiger_industry` VALUES('28', 'Technology', '1', '53');
INSERT INTO `vtiger_industry` VALUES('29', 'Telecommunications', '1', '54');
INSERT INTO `vtiger_industry` VALUES('30', 'Transportation', '1', '55');
INSERT INTO `vtiger_industry` VALUES('31', 'Utilities', '1', '56');
INSERT INTO `vtiger_industry` VALUES('32', 'Other', '1', '57');

--
-- Table structure for table `vtiger_industry_seq` 
--

CREATE TABLE `vtiger_industry_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_industry_seq` 
--

INSERT INTO `vtiger_industry_seq` VALUES('32');

--
-- Table structure for table `vtiger_inventory_tandc` 
--

CREATE TABLE `vtiger_inventory_tandc` (
  `id` int(19) NOT NULL,
  `type` varchar(30) NOT NULL,
  `tandc` text,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventory_tandc` 
--

INSERT INTO `vtiger_inventory_tandc` VALUES('1', 'Inventory', '- PAIEMENT COMPTANT A RÉCEPTION DE FACTURE.');

--
-- Table structure for table `vtiger_inventory_tandc_seq` 
--

CREATE TABLE `vtiger_inventory_tandc_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventory_tandc_seq` 
--

INSERT INTO `vtiger_inventory_tandc_seq` VALUES('1');

--
-- Table structure for table `vtiger_inventorynotification` 
--

CREATE TABLE `vtiger_inventorynotification` (
  `notificationid` int(19) NOT NULL auto_increment,
  `notificationname` varchar(200) default NULL,
  `notificationsubject` varchar(200) default NULL,
  `notificationbody` text,
  `label` varchar(50) default NULL,
  PRIMARY KEY  (`notificationid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventorynotification` 
--

INSERT INTO `vtiger_inventorynotification` VALUES('1', 'InvoiceNotification', '{PRODUCTNAME} Stock Level is Low', 'Dear {HANDLER},\r\n\r\nThe current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. Kindly procure required number of units as the stock level is below reorder level {REORDERLEVELVALUE}.\r\n\r\nPlease treat this information as Urgent as the invoice is already sent  to the customer.\r\n\r\nSeverity: Critical\r\n\r\nThanks,\r\n{CURRENTUSER} ', 'InvoiceNotificationDescription');
INSERT INTO `vtiger_inventorynotification` VALUES('2', 'QuoteNotification', 'Quote given for {PRODUCTNAME}', 'Dear {HANDLER},\r\n\r\nQuote is generated for {QUOTEQUANTITY} units of {PRODUCTNAME}. The current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. \r\n\r\nSeverity: Minor\r\n\r\nThanks,\r\n{CURRENTUSER} ', 'QuoteNotificationDescription');
INSERT INTO `vtiger_inventorynotification` VALUES('3', 'SalesOrderNotification', 'Sales Order generated for {PRODUCTNAME}', 'Dear {HANDLER},\r\n\r\nSalesOrder is generated for {SOQUANTITY} units of {PRODUCTNAME}. The current stock of {PRODUCTNAME} in our warehouse is {CURRENTSTOCK}. \r\n\r\nPlease treat this information  with priority as the sales order is already generated.\r\n\r\nSeverity: Major\r\n\r\nThanks,\r\n{CURRENTUSER} ', 'SalesOrderNotificationDescription');

--
-- Table structure for table `vtiger_inventorynotification_seq` 
--

CREATE TABLE `vtiger_inventorynotification_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventorynotification_seq` 
--

INSERT INTO `vtiger_inventorynotification_seq` VALUES('3');

--
-- Table structure for table `vtiger_inventoryproductrel` 
--

CREATE TABLE `vtiger_inventoryproductrel` (
  `id` int(19) default NULL,
  `productid` int(19) default NULL,
  `sequence_no` int(4) default NULL,
  `quantity` decimal(25,3) default NULL,
  `listprice` decimal(25,3) default NULL,
  `discount_percent` decimal(7,3) default NULL,
  `discount_amount` decimal(7,3) default NULL,
  `comment` varchar(250) default NULL,
  `description` text,
  `tax1` decimal(7,3) default NULL,
  `tax2` decimal(7,3) default NULL,
  `tax3` decimal(7,3) default NULL,
  KEY `inventoryproductrel_id_idx` (`id`),
  KEY `inventoryproductrel_productid_idx` (`productid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventoryproductrel` 
--

INSERT INTO `vtiger_inventoryproductrel` VALUES('22', '18', '1', '10.000', '165.000', '', '', '', 'Place VIP pour la soir&eacute;e du Jeudi 16 Juillet 2009', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('22', '19', '2', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Vendredi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('22', '20', '3', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Samedi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('22', '21', '4', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Dimanche', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('23', '18', '1', '10.000', '165.000', '', '', '', 'Place VIP pour la soir&eacute;e du Jeudi 16 Juillet 2009', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('23', '19', '2', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Vendredi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('23', '20', '3', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Samedi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('23', '21', '4', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Dimanche', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('24', '18', '1', '10.000', '165.000', '', '', '', 'Place VIP pour la soir&eacute;e du Jeudi 16 Juillet 2009', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('24', '19', '2', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Vendredi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('24', '20', '3', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Samedi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('24', '21', '4', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Dimanche', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('27', '18', '1', '10.000', '165.000', '', '', '', 'Place VIP pour la soir&eacute;e du Jeudi 16 Juillet 2009', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('27', '19', '2', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Vendredi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('27', '20', '3', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Samedi', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('27', '21', '4', '10.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Dimanche', '19.600', '', '');
INSERT INTO `vtiger_inventoryproductrel` VALUES('328', '19', '1', '14.000', '135.000', '', '', '', 'Place VIP pour la journ&eacute;e du Vendredi', '19.600', '', '');

--
-- Table structure for table `vtiger_inventoryshippingrel` 
--

CREATE TABLE `vtiger_inventoryshippingrel` (
  `id` int(19) default NULL,
  `shtax1` decimal(7,3) default NULL,
  `shtax2` decimal(7,3) default NULL,
  `shtax3` decimal(7,3) default NULL,
  KEY `inventoryishippingrel_id_idx` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventoryshippingrel` 
--

INSERT INTO `vtiger_inventoryshippingrel` VALUES('22', '4.500', '10.000', '12.500');
INSERT INTO `vtiger_inventoryshippingrel` VALUES('23', '4.500', '10.000', '12.500');
INSERT INTO `vtiger_inventoryshippingrel` VALUES('24', '4.500', '10.000', '12.500');
INSERT INTO `vtiger_inventoryshippingrel` VALUES('27', '4.500', '10.000', '12.500');
INSERT INTO `vtiger_inventoryshippingrel` VALUES('328', '19.600', '', '');

--
-- Table structure for table `vtiger_inventorytaxinfo` 
--

CREATE TABLE `vtiger_inventorytaxinfo` (
  `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,
  PRIMARY KEY  (`taxid`),
  KEY `inventorytaxinfo_taxname_idx` (`taxname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventorytaxinfo` 
--

INSERT INTO `vtiger_inventorytaxinfo` VALUES('1', 'tax1', 'TVA', '19.600', '0');
INSERT INTO `vtiger_inventorytaxinfo` VALUES('2', 'tax2', 'Sales', '10.000', '1');
INSERT INTO `vtiger_inventorytaxinfo` VALUES('3', 'tax3', 'Service', '12.500', '1');

--
-- Table structure for table `vtiger_inventorytaxinfo_seq` 
--

CREATE TABLE `vtiger_inventorytaxinfo_seq` (
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_inventorytaxinfo_seq` 
--

INSERT INTO `vtiger_inventorytaxinfo_seq` VALUES('3');

--
-- Table structure for table `vtiger_invitees` 
--

CREATE TABLE `vtiger_invitees` (
  `activityid` int(19) NOT NULL,
  `inviteeid` int(19) NOT NULL,
  PRIMARY KEY  (`activityid`,`inviteeid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vtiger_invitees` 
--

INSERT INTO `vtiger_invitees` VALUES('15', '4');
INSERT INTO `vtiger_invitees` VALUES('16', '3');

--
